
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root{
  --navy:#071521;
  --navy-2:#0b1f30;
  --blue:#12344c;
  --blue-soft:#1d4965;
  --gold:#c9aa72;
  --white:#f5f7f8;
  --muted:#9aaab5;
  --line:rgba(255,255,255,.11);
  --card:rgba(255,255,255,.045);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--navy);color:var(--white);
  font-family:"DM Sans",sans-serif;line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:100%;object-fit:cover}
.container{width:min(1450px,calc(100% - 48px));margin:auto}
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:rgba(7,21,33,.72);backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line)
}
.nav-inner{height:78px;display:flex;align-items:center;justify-content:space-between}
.logo{font-family:"Manrope";font-weight:700;letter-spacing:.18em;font-size:14px}
.logo span{color:var(--gold)}
.nav-links{display:flex;gap:30px;font-size:13px;color:#c8d0d5}
.mobile-menu-toggle{display:none}
.nav-links a:hover{color:var(--white)}
.hero{
  min-height:92vh;display:grid;align-items:end;
  padding:150px 0 80px;
  background:
    linear-gradient(180deg,rgba(7,21,33,.15),rgba(7,21,33,.92)),
    radial-gradient(circle at 75% 20%,rgba(39,94,128,.42),transparent 35%),
    linear-gradient(135deg,#0c2435,#071521 65%);
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end}
.eyebrow{text-transform:uppercase;letter-spacing:.25em;font-size:11px;color:var(--gold);font-weight:600}
h1,h2,h3{font-family:"Manrope";margin:0;line-height:1.08}
h1{font-size:clamp(48px,7vw,92px);font-weight:600;letter-spacing:-.055em;max-width:900px}
h2{font-size:clamp(34px,4vw,58px);letter-spacing:-.04em}
h3{font-size:23px}
.hero p{max-width:560px;color:#b5c1c8;font-size:18px;margin:28px 0 34px}
.btn{
  display:inline-flex;align-items:center;gap:10px;padding:14px 21px;
  border:1px solid rgba(201,170,114,.55);color:var(--white);
  font-size:12px;text-transform:uppercase;letter-spacing:.13em;
  transition:.25s
}
.btn:hover{background:var(--gold);color:#09131b;border-color:var(--gold)}
.hero-note{border-left:1px solid var(--gold);padding-left:25px;color:#a9b7bf;font-size:13px}
.section{padding:115px 0}
.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:45px}
.section-head p{max-width:420px;color:var(--muted);margin:0}
.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.project-card{position:relative;min-height:470px;overflow:hidden;background:var(--card)}
.project-card.wide{grid-column:span 2;min-height:580px}
.project-card img{transition:transform .7s cubic-bezier(.2,.65,.2,1)}
.project-card:hover img{transform:scale(1.045)}
.project-overlay{
  position:absolute;inset:0;padding:28px;display:flex;flex-direction:column;justify-content:end;
  background:linear-gradient(180deg,transparent 35%,rgba(4,12,18,.92));
}
.project-meta{color:#bdc8ce;font-size:12px;text-transform:uppercase;letter-spacing:.15em;margin-bottom:8px}
.project-overlay h3{font-size:29px}
.project-overlay p{margin:8px 0 0;color:#b8c3c9;font-size:14px;max-width:520px}
.arrow{position:absolute;right:26px;bottom:29px;width:42px;height:42px;border:1px solid rgba(255,255,255,.25);display:grid;place-items:center}
.about{background:linear-gradient(180deg,#081825,#0a2031)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.about p{color:#adbbc3;font-size:17px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:42px}
.stat{border-top:1px solid var(--line);padding-top:18px}
.stat strong{display:block;font:600 36px "Manrope";color:var(--white)}
.stat span{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.contact{padding:110px 0 130px}
.contact-box{border:1px solid var(--line);padding:55px;display:flex;justify-content:space-between;align-items:center;gap:30px;background:linear-gradient(120deg,rgba(29,73,101,.22),rgba(255,255,255,.025))}
.contact-box p{color:var(--muted);max-width:500px}
footer{border-top:1px solid var(--line);padding:30px 0;color:#7f909b;font-size:12px}
.project-hero{padding:150px 0 70px}
.project-hero .label{color:var(--gold);text-transform:uppercase;letter-spacing:.22em;font-size:11px}
.project-hero h1{font-size:clamp(46px,6vw,78px);max-width:900px;margin:18px 0}
.project-hero .intro{color:#adbbc3;max-width:690px;font-size:18px}
.project-info{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:32px;padding-bottom:90px}
.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.project-gallery .big{grid-column:span 2;height:760px}
.project-gallery .small{height:760px}
.project-gallery > a{display:block;height:760px;min-width:0}
.project-gallery > a:has(img.big){height:760px}
.info-box{border-top:1px solid var(--line);padding-top:20px}
.info-box + .info-box{margin-top:30px}
.info-box small{display:block;color:var(--gold);text-transform:uppercase;letter-spacing:.15em;font-size:10px;margin-bottom:8px}
.info-box p{margin:0;color:#b2bec5}
.back{display:inline-flex;margin-bottom:30px;color:#9fadb5;font-size:13px}
@media(max-width:800px){
 .container{width:min(100% - 30px,1450px)}
 .nav-links{display:none}.hero-grid,.about-grid,.project-info{grid-template-columns:1fr}
 .hero{min-height:auto;padding-top:145px}.hero-note{margin-top:15px}
 .projects{grid-template-columns:1fr}.project-card.wide{grid-column:auto;min-height:470px}
 .section{padding:80px 0}.section-head{display:block}.section-head p{margin-top:18px}
 .stats{grid-template-columns:1fr 1fr}.contact-box{padding:35px;display:block}.contact-box .btn{margin-top:18px}
 .project-gallery{grid-template-columns:1fr;gap:18px}.project-gallery .big{grid-column:auto;height:560px}.project-gallery .small{height:560px}.project-gallery > a,.project-gallery > a:has(img.big){height:560px}
}


/* Fullscreen project image viewer */
body.lightbox-open { overflow: hidden; }
.lux-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 8, 20, 0.96);
  padding: 34px 70px;
}
.lux-lightbox.is-open { display: flex; }
.lux-lightbox-image {
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 25px 90px rgba(0,0,0,.5);
}
.lux-lightbox-close,
.lux-lightbox-prev,
.lux-lightbox-next {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,18,38,.72);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.lux-lightbox-close:hover,
.lux-lightbox-prev:hover,
.lux-lightbox-next:hover {
  transform: scale(1.05);
  background: rgba(20,39,72,.95);
  border-color: rgba(255,255,255,.4);
}
.lux-lightbox-close { top: 24px; right: 24px; }
.lux-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lux-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lux-lightbox-prev:hover,
.lux-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lux-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  letter-spacing: .16em;
}
.project-gallery [data-lightbox-src] { cursor: zoom-in; }
.project-gallery [data-lightbox-src] img { transition: transform .35s ease, filter .35s ease; }
.project-gallery [data-lightbox-src]:hover img { transform: scale(1.015); filter: brightness(1.06); }

@media (max-width: 700px) {
  .lux-lightbox { padding: 65px 12px 55px; }
  .lux-lightbox-image { max-width: 96vw; max-height: 78vh; }
  .lux-lightbox-close { top: 14px; right: 14px; }
  .lux-lightbox-prev { left: 10px; }
  .lux-lightbox-next { right: 10px; }
}


.section--guide { padding-top: 20px; }
.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:28px; }
.guide-card { padding:22px; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.025); border-radius:16px; display:grid; gap:10px; }
.guide-card strong { font-size:14px; letter-spacing:.02em; }
.guide-card span { color:rgba(255,255,255,.62); font-size:13px; line-height:1.65; }
.guide-card code { color:#d7b77a; }
@media (max-width: 850px) { .guide-grid { grid-template-columns:1fr; } }

/* Header navigation — clean, straight alignment */
.nav-inner {
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  line-height: 1;
}

.nav-links > a:not(.client-area-btn) {
  display: inline-flex;
  align-items: center;
  height: 40px;
  white-space: nowrap;
}

.client-area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  margin-left: 2px;
  border: 1px solid rgba(201,170,114,.75);
  border-radius: 999px;
  color: #e7d4aa;
  background: rgba(201,170,114,.06);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.client-area-btn:hover {
  color: #071521;
  background: #c9aa72;
  border-color: #c9aa72;
}

@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .client-area-btn {
    height: 36px;
    padding: 0 13px;
    font-size: 10px;
  }
}

/* How We Work */
.how-work { background: linear-gradient(180deg, #081825 0%, #0a2031 100%); }
.how-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.how-card { position:relative; min-height:270px; padding:30px; border:1px solid var(--line); background:rgba(255,255,255,.025); display:flex; flex-direction:column; transition:transform .25s ease,border-color .25s ease,background .25s ease; }
.how-card:hover { transform:translateY(-4px); border-color:rgba(201,170,114,.45); background:rgba(201,170,114,.035); }
.how-icon { width:34px; height:34px; color:#c9aa72; margin-bottom:34px; }
.how-icon path { fill:currentColor; }
.how-number { color:rgba(201,170,114,.72); font-size:11px; letter-spacing:.14em; margin-bottom:12px; }
.how-card h3 { margin:0 0 10px; font-size:20px; font-weight:500; }
.how-card p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; max-width:340px; }
@media (max-width: 900px) { .how-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { .how-grid { grid-template-columns:1fr; } .how-card { min-height:230px; } }

/* =========================================================
   Mobile refinement — proportional layout and touch-first UI
   ========================================================= */
@media (max-width: 800px) {
  html { overflow-x: hidden; }
  body { overflow-x: hidden; }

  .container { width: min(100% - 32px, 680px); }

  /* Compact mobile header with a proper dropdown navigation. */
  .nav-inner { height: 68px; gap: 14px; position:relative; }
  .logo { flex: 0 0 auto; font-size: 12px; letter-spacing: .15em; }
  .mobile-menu-toggle {
    display:flex;
    margin-left:auto;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid rgba(201,170,114,.42);
    border-radius:50%;
    background:rgba(10,18,27,.72);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    flex:0 0 auto;
  }
  .mobile-menu-toggle span {
    display:block; width:17px; height:1px; background:#e7d4aa;
    transition:transform .25s ease, opacity .2s ease;
  }
  .mobile-menu-open .mobile-menu-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .mobile-menu-open .mobile-menu-toggle span:nth-child(2){opacity:0}
  .mobile-menu-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .nav-links {
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:min(250px, calc(100vw - 30px));
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
    background:rgba(8,15,23,.98);
    border:1px solid rgba(201,170,114,.22);
    border-radius:14px;
    box-shadow:0 18px 45px rgba(0,0,0,.42);
    z-index:1000;
  }
  .mobile-menu-open .nav-links { display:flex; }
  .nav-links > a:not(.client-area-btn) {
    height:44px;
    width:100%;
    padding:0 13px;
    justify-content:flex-start;
    flex:0 0 auto;
    font-size:12px;
    letter-spacing:.04em;
    border-radius:9px;
  }
  .nav-links > a:not(.client-area-btn):hover { background:rgba(201,170,114,.08); }
  .client-area-btn {
    width:100%;
    height:42px;
    margin-top:5px;
    padding:0 14px;
    font-size:10px;
    letter-spacing:.09em;
  }

  /* Language selector stays elegant and comfortably tappable. */
  #alias-language-gate { padding: 16px; }
  .alias-language-gate-inner {
    width: 100%;
    max-width: 430px;
    padding: 34px 22px 28px;
  }
  .alias-language-kicker { margin-bottom: 20px; font-size: 10px; }
  .alias-language-title { font-size: clamp(30px, 9vw, 42px); }
  .alias-language-sub { margin-bottom: 28px; line-height: 1.5; }
  .alias-language-actions { flex-wrap: wrap; gap: 10px; }
  .alias-language-btn { min-width: 105px; padding: 14px 18px; }

  /* Hero: no oversized desktop typography or empty vertical space. */
  .hero {
    min-height: auto;
    padding: 118px 0 58px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .eyebrow { font-size: 9px; letter-spacing: .20em; }
  h1 {
    font-size: clamp(39px, 11vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }
  .hero p {
    font-size: 16px;
    line-height: 1.55;
    margin: 20px 0 26px;
  }
  .btn { min-height: 46px; padding: 13px 18px; font-size: 10px; }
  .hero-note { margin-top: 0; padding-left: 16px; font-size: 12px; line-height: 1.6; }

  /* Sections and project cards scale with the viewport instead of using
     desktop-sized fixed heights. */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(32px, 9vw, 46px); }
  .section-head p { margin-top: 14px; font-size: 14px; line-height: 1.6; }
  .projects { grid-template-columns: 1fr; gap: 14px; }
  .project-card,
  .project-card.wide {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .project-overlay { padding: 20px; }
  .project-meta { font-size: 9px; letter-spacing: .12em; margin-bottom: 6px; }
  .project-overlay h3 { font-size: clamp(20px, 6vw, 27px); line-height: 1.08; padding-right: 42px; }
  .project-overlay p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .arrow { width: 36px; height: 36px; right: 18px; bottom: 18px; }

  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about p { font-size: 15px; line-height: 1.7; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
  .stat strong { font-size: 28px; }
  .stat span { font-size: 9px; letter-spacing: .08em; line-height: 1.4; }

  .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-card { min-height: 0; padding: 24px 20px; }
  .how-icon { width: 28px; height: 28px; margin-bottom: 24px; }
  .how-card h3 { font-size: 18px; }
  .how-card p { font-size: 13px; line-height: 1.6; }

  .contact { padding: 68px 0 78px; }
  .contact-box { padding: 28px 22px; }
  .contact-box h2 { font-size: 30px; }
  .contact-box p { font-size: 14px; line-height: 1.6; }
  .contact-box .btn { width: 100%; justify-content: center; margin-top: 18px; }

  /* Project detail pages. */
  .project-hero { padding: 112px 0 44px; }
  .project-hero h1 {
    font-size: clamp(36px, 10vw, 54px);
    line-height: 1.03;
    margin: 14px 0 16px;
  }
  .project-hero .intro { font-size: 15px; line-height: 1.65; }
  .project-info { grid-template-columns: 1fr; gap: 34px; padding-bottom: 62px; }
  .project-gallery { grid-template-columns: 1fr; gap: 12px; }
  .project-gallery .big,
  .project-gallery .small,
  .project-gallery > a,
  .project-gallery > a:has(img.big) {
    grid-column: auto;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .info-box + .info-box { margin-top: 22px; }
  .info-box p { font-size: 13px; line-height: 1.6; }
  .back { margin-bottom: 20px; font-size: 12px; }

  .guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-card { padding: 19px; }

  footer { padding: 24px 0; font-size: 11px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 26px); }
  .nav-inner { height: 64px; }
  .logo { font-size: 11px; }
  .mobile-menu-toggle { width:42px; height:42px; }
  .hero { padding-top: 106px; }
  h1 { font-size: 38px; }
  .stats { gap: 8px; }
  .stat strong { font-size: 25px; }
  .stat span { font-size: 8px; }
}
