
:root {
  --bg: #f6f1e8;
  --paper: #fffaf3;
  --dark: #0d0f10;
  --dark-soft: #15191b;
  --gold: #c89a46;
  --gold-deep: #a97822;
  --text: #151718;
  --muted: #6c716f;
  --line: rgba(0,0,0,.08);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0,0,0,.14);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 108px 0; }
.section-dark { background: var(--dark); color: white; }
.section-light { background: #e8e0d4; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  margin-bottom: 18px;
}
.eyebrow.dark { color: rgba(0,0,0,.48); }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(44px, 8vw, 92px); line-height: .94; letter-spacing: -.05em; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.04em; }
h3 { font-size: 24px; line-height: 1.1; }
p { line-height: 1.7; }
.muted { color: var(--muted); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,.08), transparent);
  backdrop-filter: blur(8px);
}
.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 26px;
  min-height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 54px; height: auto; flex: 0 0 auto; }
.brand-name {
  color: white;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav { display: flex; justify-content: center; gap: 28px; }
.site-nav a, .header-cta { color: rgba(255,255,255,.92); font-size: 14px; }
.site-nav a { position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px;
  background: rgba(255,255,255,.65); transform: scaleX(0); transform-origin: left; transition: .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  border: 1px solid rgba(255,255,255,.22);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--dark);
}
.hero-media, .hero-media img, .hero-overlay {
  position: absolute; inset: 0;
}
.hero-media img { height: 100%; object-fit: cover; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.44) 42%, rgba(0,0,0,.16) 100%),
              linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding-bottom: 80px;
  padding-top: 120px;
}
.hero-content p {
  margin-top: 24px;
  max-width: 700px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(180deg, #d8ae60, var(--gold-deep)); color: #101112; }
.btn-dark { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.18); }
.hero-points {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 42px;
}
.hero-points span {
  padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08); font-size: 13px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: end;
}
.intro p + p { margin-top: 14px; }

.process-head { padding-top: 110px; padding-bottom: 22px; }
.process-story { height: 320vh; }
.process-sticky {
  position: sticky; top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) 1.18fr;
  gap: 42px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 50px;
}
.process-copy { max-width: 520px; }
.process-step { opacity: .26; transform: translateY(0); transition: opacity .25s ease, transform .25s ease; padding: 10px 0; }
.process-step.active { opacity: 1; transform: translateX(8px); }
.process-step + .process-step { margin-top: 18px; }
.process-step span {
  display: inline-flex; width: 38px; height: 38px; border-radius: 999px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.76); font-size: 12px; margin-bottom: 16px;
}
.process-step h3 { margin-bottom: 10px; color: white; }
.process-step p { color: rgba(255,255,255,.72); font-size: 15px; }
.process-progress { margin-top: 28px; height: 3px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.process-progress span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #d9b15a, #f1d79d); }
.process-visual {
  position: relative; min-height: 620px; border-radius: 28px;
}
.photo-stage {
  position: absolute; inset: 0; opacity: 0; transform: translateY(26px) scale(.98);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}
.photo-stage.active {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.photo-stage > img, .dual-card, .dual-card figure {
  width: 100%; height: 100%;
}
.photo-stage > img {
  object-fit: cover; border-radius: 28px; box-shadow: var(--shadow);
}
.dual-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.dual-card figure {
  margin: 0; background: #121618; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); position: relative;
}
.dual-card img { height: 100%; object-fit: cover; }
.dual-card figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: white; font-size: 13px;
}

.section-heading { margin-bottom: 40px; }
.section-heading.split {
  display: grid; grid-template-columns: 1fr .8fr; gap: 32px; align-items: end;
}
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,.04);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.project-card img { height: 100%; object-fit: cover; }
.project-card.large img { aspect-ratio: 4 / 3; }
.project-card.tall img { aspect-ratio: 4 / 4.2; }
.project-info { padding: 22px 22px 24px; }
.project-info h3 { margin-bottom: 8px; }
.project-info p { color: var(--muted); font-size: 15px; }

.about-grid {
  display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: start;
}
.about-content .lead { font-size: 22px; line-height: 1.5; margin-bottom: 28px; }
.about-list { display: grid; gap: 16px; }
.about-list div {
  display: grid; gap: 4px; padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.48);
}
.about-list strong { font-size: 18px; }
.about-list span { color: rgba(0,0,0,.62); }

.contact-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; padding: 108px 0;
}
.contact-grid p { color: rgba(255,255,255,.72); max-width: 480px; margin-top: 14px; }
.contact-details { display: grid; gap: 12px; margin-top: 26px; }
.contact-details a, .contact-details span {
  color: rgba(255,255,255,.92); font-size: 16px;
}
.contact-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 24px;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.form-grid label { display: grid; gap: 8px; }
.form-grid span { font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.66); }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: white;
  border-radius: 16px; padding: 14px 16px; outline: none;
}
.form-grid textarea { resize: vertical; min-height: 130px; }
.form-grid .wide { grid-column: 1 / -1; }
.submit-btn { margin-top: 18px; }
.contact-form small { display: block; margin-top: 12px; color: rgba(255,255,255,.52); }

.site-footer { background: #090b0c; color: white; }
.footer-wrap {
  min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 48px; }
.footer-brand span { font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.footer-meta { display: flex; gap: 22px; color: rgba(255,255,255,.62); font-size: 13px; }

@media (max-width: 1100px) {
  .process-sticky, .intro-grid, .about-grid, .contact-grid, .section-heading.split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-nav, .header-cta { display: none; }
  .nav-wrap { grid-template-columns: auto auto; justify-content: space-between; min-height: 74px; }
  .menu-toggle {
    display: inline-flex; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  }
  .menu-toggle span { width: 18px; height: 1.5px; background: white; display: block; }
  .mobile-nav {
    display: grid; gap: 12px; padding: 0 20px 20px; background: rgba(6,7,8,.94); transform-origin: top; max-height: 0; overflow: hidden;
    transition: max-height .25s ease, padding-top .25s ease;
  }
  .mobile-nav.open { max-height: 360px; padding-top: 12px; }
  .mobile-nav a { color: white; padding: 10px 0; }
  .mobile-cta {
    border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 12px 16px; text-align: center; margin-top: 8px; background: rgba(255,255,255,.08);
  }
  .process-story { height: auto; }
  .process-sticky {
    position: static;
    min-height: auto;
    gap: 26px;
    padding: 30px 0 80px;
  }
  .process-visual { min-height: auto; display: grid; gap: 18px; }
  .photo-stage { position: relative; inset: auto; opacity: 1 !important; transform: none !important; }
  .process-step { opacity: 1; }
  .process-step + .process-step { margin-top: 24px; }
  .process-progress { display: none; }
  .project-grid, .service-grid, .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 78px 0; }
  .hero-content { padding-top: 120px; padding-bottom: 40px; }
  .hero-content p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .brand-logo { width: 48px; }
  .brand-name { font-size: 10px; letter-spacing: .15em; }
  .dual-card { grid-template-columns: 1fr; }
  .contact-form { padding: 18px; }
  .footer-wrap, .footer-meta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ===== V7 Mobile-first polish ===== */
.mobile-process,
.mobile-action-bar { display: none; }

.reveal-section {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .site-header {
    background: rgba(9,11,12,.72);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px) saturate(120%);
    transition: background .28s ease, box-shadow .28s ease;
  }
  .site-header.scrolled {
    background: rgba(9,11,12,.92);
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
  }
  .nav-wrap { min-height: 64px; }
  .brand-logo { width: 42px; }
  .brand-name { font-size: 10px; letter-spacing: .15em; }
  .menu-toggle {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.14);
  }
  .mobile-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    gap: 2px;
    padding-left: 20px; padding-right: 20px;
    background: rgba(9,11,12,.97);
    backdrop-filter: blur(18px);
  }
  .mobile-nav.open { padding-top: 18px; padding-bottom: 26px; }
  .mobile-nav a:not(.mobile-cta) {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.035em;
    padding: 10px 0;
  }

  .hero {
    min-height: 88svh;
    align-items: end;
  }
  .hero-media img {
    object-position: 62% center;
    transform: scale(1.015);
  }
  .hero-overlay {
    background:
      linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.16) 80%),
      linear-gradient(90deg, rgba(0,0,0,.18), transparent 70%);
  }
  .hero-content {
    padding-top: 110px;
    padding-bottom: 34px;
  }
  .hero-content .eyebrow { margin-bottom: 12px; }
  .hero-content h1 {
    max-width: 92%;
    font-size: clamp(42px, 13vw, 62px);
    line-height: .94;
    letter-spacing: -.055em;
  }
  .hero-content p {
    max-width: 94%;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.78);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 10px;
    margin-top: 24px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hero-points {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 22px -12px 0;
    padding: 0 12px 4px;
    scrollbar-width: none;
  }
  .hero-points::-webkit-scrollbar { display: none; }
  .hero-points span {
    white-space: nowrap;
    padding: 8px 11px;
    font-size: 11px;
    background: rgba(255,255,255,.09);
  }

  .section { padding: 68px 0; }
  .eyebrow { font-size: 9px; margin-bottom: 12px; }
  h2 { font-size: clamp(34px, 10vw, 46px); line-height: .98; }
  h3 { font-size: 20px; }

  .intro-grid { gap: 24px; }
  .intro-grid p { font-size: 14px; line-height: 1.65; }

  .process-head {
    padding-top: 72px;
    padding-bottom: 26px;
  }
  .process-head h2 { max-width: 90%; }
  .process-story { display: none; }
  .mobile-process { display: block; padding-bottom: 76px; }
  .mobile-process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    letter-spacing: .04em;
  }
  .mobile-process-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 2px 6% 16px 0;
    scrollbar-width: none;
  }
  .mobile-process-track::-webkit-scrollbar { display: none; }
  .mobile-process-card {
    scroll-snap-align: start;
    background: #171a1b;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
  }
  .mobile-process-image,
  .mobile-process-split { height: 54vw; min-height: 210px; max-height: 310px; overflow: hidden; }
  .mobile-process-image img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-process-card:nth-child(1) .mobile-process-image img { object-position: 55% center; }
  .mobile-process-card:nth-child(3) .mobile-process-image img { object-position: center center; }
  .mobile-process-card:nth-child(4) .mobile-process-image img { object-position: 50% 52%; }
  .mobile-process-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #0d0f10; }
  .mobile-process-split img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-process-split img:first-child { object-position: center center; }
  .mobile-process-split img:last-child { object-position: 54% center; }
  .mobile-process-copy {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 17px 17px 19px;
  }
  .mobile-process-copy > span {
    display: grid; place-items: center;
    width: 32px; height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(216,174,96,.34);
    color: #d8ae60;
    font-size: 10px;
  }
  .mobile-process-copy h3 { font-size: 18px; margin: 2px 0 6px; }
  .mobile-process-copy p { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.62); }

  .section-heading { margin-bottom: 24px; }
  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .service-card {
    min-height: 0;
    padding: 18px 15px;
    border-radius: 16px;
    box-shadow: none;
    background: rgba(255,250,243,.84);
  }
  .service-card h3 { font-size: 17px; margin-bottom: 8px; }
  .service-card p { font-size: 12px; line-height: 1.55; }

  .projects .container { width: 100%; }
  .projects .section-heading { padding: 0 20px; }
  .project-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84vw;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 12px;
    padding: 2px 20px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .project-grid::-webkit-scrollbar { display: none; }
  .project-card {
    scroll-snap-align: center;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,.09);
  }
  .project-card img,
  .project-card.large img,
  .project-card.tall img {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
  }
  .project-card:nth-child(1) img,
  .project-card:nth-child(2) img { object-position: center center; }
  .project-card:nth-child(3) img { object-position: 62% center; }
  .project-card:nth-child(4) img { object-position: center center; }
  .project-info { padding: 16px 16px 18px; }
  .project-info h3 { font-size: 18px; }
  .project-info p { font-size: 12px; line-height: 1.55; }

  .about-grid { gap: 26px; }
  .about-content .lead { font-size: 18px; line-height: 1.5; margin-bottom: 20px; }
  .about-list { gap: 9px; }
  .about-list div {
    padding: 15px 16px;
    border-radius: 15px;
    background: rgba(255,255,255,.43);
  }
  .about-list strong { font-size: 15px; }
  .about-list span { font-size: 12px; line-height: 1.5; }

  .contact-grid { padding: 70px 0 56px; gap: 30px; }
  .contact-grid p { font-size: 14px; }
  .contact-details { gap: 8px; margin-top: 18px; }
  .contact-details a, .contact-details span { font-size: 14px; }
  .contact-form {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.035);
  }
  .form-grid { gap: 12px; }
  .form-grid span { font-size: 10px; }
  .form-grid input, .form-grid select, .form-grid textarea {
    border-radius: 12px;
    padding: 12px 13px;
    font-size: 14px;
  }
  .form-grid textarea { min-height: 110px; }
  .submit-btn { width: 100%; min-height: 46px; }

  .footer-wrap {
    min-height: 120px;
    padding-top: 22px;
    padding-bottom: 26px;
  }
  .footer-logo { width: 40px; }

  .mobile-action-bar {
    position: fixed;
    left: 10px; right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 120;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 8px;
    padding: 7px;
    border-radius: 18px;
    background: rgba(9,11,12,.90);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 14px 40px rgba(0,0,0,.30);
  }
  .mobile-action-bar a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
  }
  .mobile-call {
    color: white;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
  }
  .mobile-quote-bar {
    color: #111;
    background: linear-gradient(180deg, #ddb86e, #ae7b2a);
  }

  .reveal-section,
  .service-card,
  .project-card,
  .about-list > div {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
  }
  .reveal-section.in-view,
  .service-card.in-view,
  .project-card.in-view,
  .about-list > div.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .hero { min-height: 86svh; }
  .hero-content h1 { font-size: clamp(40px, 12.4vw, 54px); }
  .hero-content p { font-size: 13px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { font-size: 12px; min-height: 44px; }
  .section { padding: 60px 0; }
  .process-head { padding-top: 64px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 17px 16px; }
  .project-grid { grid-auto-columns: 88vw; padding-left: 12px; padding-right: 12px; }
  .projects .section-heading { padding-left: 12px; padding-right: 12px; }
  .mobile-process-track { grid-auto-columns: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .service-card,
  .project-card,
  .about-list > div {
    opacity: 1 !important;
    transform: none !important;
  }
}



/* ===== V8 mobile redesign: bespoke, compact, no desktop squeeze ===== */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .container { width: min(calc(100% - 28px), var(--max)); }

  .site-header {
    min-height: 58px;
    background: linear-gradient(to bottom, rgba(8,9,10,.82), rgba(8,9,10,.42), rgba(8,9,10,.04));
    border-bottom: 0;
    backdrop-filter: blur(14px) saturate(115%);
  }
  .site-header.scrolled {
    background: rgba(8,9,10,.94);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
  }
  .nav-wrap {
    width: calc(100% - 24px);
    min-height: 58px;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
  }
  .brand { min-width: 0; gap: 9px; }
  .brand-logo { width: 34px; max-height: 38px; object-fit: contain; }
  .brand-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    letter-spacing: .16em;
  }
  .menu-toggle {
    width: 34px; height: 34px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.16);
  }
  .menu-toggle span { width: 15px; }
  .mobile-nav {
    top: 58px;
    padding-left: 18px; padding-right: 18px;
    background: rgba(8,9,10,.985);
  }
  .mobile-nav.open { padding-top: 14px; padding-bottom: 22px; }
  .mobile-nav a:not(.mobile-cta) {
    font-size: 25px;
    line-height: 1.05;
    padding: 8px 0;
  }
  .mobile-cta { min-height: 44px; display:flex; align-items:center; justify-content:center; font-size:13px; }

  /* Hero is composed around the image first, copy second. */
  .hero {
    min-height: 100svh;
    height: auto;
    align-items: end;
    isolation: isolate;
  }
  .hero-media img {
    object-position: 61% 48%;
    transform: scale(1.002);
    animation: mobileHeroDrift 14s ease-in-out infinite alternate;
  }
  .hero-overlay {
    background:
      linear-gradient(to top, rgba(5,6,7,.94) 0%, rgba(5,6,7,.72) 26%, rgba(5,6,7,.30) 54%, rgba(5,6,7,.06) 76%),
      linear-gradient(90deg, rgba(5,6,7,.18), rgba(5,6,7,0) 72%);
  }
  .hero-content {
    width: calc(100% - 28px);
    padding-top: 116px;
    padding-bottom: 24px;
  }
  .hero-content .eyebrow {
    display: block;
    width: 100%;
    max-width: 31ch;
    margin-bottom: 10px;
    font-size: 8.5px;
    line-height: 1.55;
    letter-spacing: .14em;
    white-space: normal;
    color: rgba(255,255,255,.72);
    animation: mobileRise .65s .06s both cubic-bezier(.2,.7,.2,1);
  }
  .hero-content h1 {
    width: 100%;
    max-width: 10.5ch;
    font-size: clamp(40px, 11.4vw, 50px);
    line-height: .94;
    letter-spacing: -.05em;
    text-wrap: balance;
    animation: mobileRise .7s .12s both cubic-bezier(.2,.7,.2,1);
  }
  .hero-content p {
    width: 100%;
    max-width: 36ch;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,.78);
    animation: mobileRise .7s .18s both cubic-bezier(.2,.7,.2,1);
  }
  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 19px;
    animation: mobileRise .7s .24s both cubic-bezier(.2,.7,.2,1);
  }
  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .hero-points {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
    overflow: visible;
    margin: 16px 0 0;
    padding: 0;
    animation: mobileRise .7s .30s both cubic-bezier(.2,.7,.2,1);
  }
  .hero-points span {
    min-width: 0;
    width: 100%;
    padding: 7px 8px;
    border-radius: 999px;
    text-align: center;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
    background: rgba(12,14,15,.34);
    border-color: rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
  }

  /* Global mobile typography and rhythm */
  .section { padding: 58px 0; }
  .eyebrow { font-size: 8.5px; letter-spacing: .15em; margin-bottom: 10px; }
  h2 { font-size: clamp(31px, 9.2vw, 40px); line-height: 1; letter-spacing: -.045em; }
  h3 { font-size: 18px; }
  p { line-height: 1.6; }

  .intro-grid { gap: 18px; }
  .intro-grid h2 { max-width: 12ch; }
  .intro-grid p { font-size: 13px; line-height: 1.62; }
  .intro-grid .muted { font-size: 12.5px; }

  /* Mobile process: cinematic swipe deck */
  .process-head { padding-top: 56px; padding-bottom: 18px; }
  .process-head h2 { max-width: 11ch; }
  .mobile-process { width: 100%; padding: 0 0 60px; }
  .mobile-process-top {
    width: calc(100% - 28px);
    margin: 0 auto 12px;
    font-size: 10px;
  }
  .mobile-process-track {
    width: 100%;
    grid-auto-columns: min(82vw, 330px);
    gap: 10px;
    padding: 2px 14px 14px;
    scroll-padding-left: 14px;
  }
  .mobile-process-card {
    border-radius: 17px;
    box-shadow: 0 14px 32px rgba(0,0,0,.25);
  }
  .mobile-process-image,
  .mobile-process-split {
    height: min(52vw, 230px);
    min-height: 190px;
    max-height: 230px;
  }
  .mobile-process-copy {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 14px 14px 16px;
  }
  .mobile-process-copy > span { width: 28px; height: 28px; font-size: 9px; }
  .mobile-process-copy h3 { font-size: 16px; margin: 1px 0 5px; }
  .mobile-process-copy p { font-size: 11.5px; line-height: 1.5; }

  /* Services should read in one glance, no chunky cards. */
  .section-heading { margin-bottom: 20px; }
  .service-grid { grid-template-columns: 1fr; gap: 8px; }
  .service-card {
    min-height: 0;
    padding: 14px 14px 15px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
    gap: 12px;
    align-items: start;
    background: rgba(255,250,243,.86);
  }
  .service-card h3 { font-size: 15px; line-height: 1.15; margin: 0; }
  .service-card p { font-size: 11.5px; line-height: 1.48; }

  /* Projects: image-led, one card peeking into the next. */
  .projects { padding-bottom: 66px; }
  .projects .section-heading { padding: 0 14px; margin-bottom: 18px; }
  .projects .section-heading .muted { font-size: 12px; line-height: 1.55; margin-top: 10px; max-width: 38ch; }
  .project-grid {
    grid-auto-columns: min(84vw, 340px);
    gap: 10px;
    padding: 2px 14px 14px;
    scroll-padding-left: 14px;
  }
  .project-card { border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,.08); }
  .project-card img,
  .project-card.large img,
  .project-card.tall img {
    aspect-ratio: 4 / 3.25;
    object-fit: cover;
  }
  .project-info { padding: 13px 14px 15px; }
  .project-info h3 { font-size: 16px; margin-bottom: 5px; }
  .project-info p { font-size: 11.5px; line-height: 1.48; }

  /* About: editorial and compact */
  .about-grid { gap: 20px; }
  .about-grid h2 { max-width: 12ch; }
  .about-content .lead { font-size: 16px; line-height: 1.46; margin-bottom: 16px; }
  .about-list { gap: 7px; }
  .about-list div {
    padding: 13px 14px;
    border-radius: 13px;
    background: rgba(255,255,255,.44);
  }
  .about-list strong { font-size: 14px; }
  .about-list span { font-size: 11.5px; line-height: 1.45; }

  /* Contact form: light footprint */
  .contact-grid { padding: 56px 0 48px; gap: 24px; }
  .contact-grid h2 { max-width: 11ch; }
  .contact-grid p { font-size: 13px; line-height: 1.58; }
  .contact-details { gap: 6px; margin-top: 15px; }
  .contact-details a, .contact-details span { font-size: 13px; }
  .contact-form { padding: 14px; border-radius: 16px; }
  .form-grid { gap: 10px; }
  .form-grid input, .form-grid select, .form-grid textarea {
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 13px;
  }
  .form-grid textarea { min-height: 96px; }
  .submit-btn { min-height: 43px; font-size: 12px; }

  .footer-wrap { min-height: 96px; padding: 18px 0 20px; }
  .footer-logo { width: 34px; }
  .footer-brand span { font-size: 10px; }
  .footer-meta { font-size: 11px; gap: 12px; }

  /* Bottom CTA appears only after the hero, so it never covers the opening composition. */
  .mobile-action-bar {
    left: 12px; right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom));
    grid-template-columns: .68fr 1.32fr;
    gap: 6px;
    padding: 5px;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(12px) scale(.98);
    pointer-events: none;
    transition: opacity .26s ease, transform .26s ease;
  }
  .mobile-action-bar.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .mobile-action-bar a {
    min-height: 40px;
    border-radius: 11px;
    font-size: 12px;
  }

  .reveal-section,
  .service-card,
  .project-card,
  .about-list > div {
    transform: translateY(12px);
    transition-duration: .48s;
  }
}

@media (max-width: 430px) {
  .hero-content h1 { font-size: clamp(38px, 11.2vw, 47px); }
  .hero-content p { font-size: 12.5px; }
  .hero-actions .btn { font-size: 11.5px; }
  .hero-points span { font-size: 9.5px; }
  .mobile-process-track { grid-auto-columns: 84vw; }
  .project-grid { grid-auto-columns: 86vw; }
}

@media (max-width: 360px) {
  .brand-name { font-size: 9px; }
  .hero-content h1 { font-size: 37px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr 1fr; }
}

@keyframes mobileRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mobileHeroDrift {
  from { transform: scale(1.002); }
  to { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-content .eyebrow, .hero-content h1, .hero-content p, .hero-actions, .hero-points {
    animation: none !important;
  }
}

@media (max-width:900px){ html.menu-open, html.menu-open body{overflow:hidden;} }


/* ===== V9: clean mobile header + true scroll-driven process ===== */
@media (max-width: 900px) {
  /* No floating bottom CTA and therefore no artificial bottom gap. */
  body { padding-bottom: 0 !important; }
  .mobile-action-bar { display: none !important; }

  /* Closed menu must occupy literally zero visual space. */
  .mobile-nav {
    display: none !important;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background: rgba(8,9,10,.985);
    backdrop-filter: blur(20px) saturate(115%);
    border-top: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
  }
  .mobile-nav.open {
    display: grid !important;
    gap: 2px;
    padding: 14px 18px 22px !important;
  }

  /* The old swipe version is gone. */
  .mobile-process { display: none !important; }

  /* Keep the section heading concise before the sticky story starts. */
  .process-head {
    padding-top: 54px;
    padding-bottom: 24px;
  }
  .process-head h2 {
    max-width: none;
    font-size: clamp(32px, 9vw, 40px);
    line-height: .98;
  }

  /* Mobile gets the same narrative interaction as desktop. */
  .process-story {
    display: block !important;
    height: 390vh !important;
    position: relative;
  }
  .process-sticky {
    position: sticky !important;
    top: 58px !important;
    min-height: calc(100svh - 58px) !important;
    height: calc(100svh - 58px);
    width: 100%;
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
    align-items: stretch;
    justify-content: center;
    padding-top: 14px !important;
    padding-bottom: 18px !important;
    overflow: hidden;
  }

  /* Photo is the hero of the mobile process. */
  .process-visual {
    order: 1;
    position: relative !important;
    width: 100%;
    min-height: 0 !important;
    height: min(52svh, 500px) !important;
    display: block !important;
    overflow: hidden;
    border-radius: 18px;
    background: #171a1b;
    box-shadow: 0 18px 44px rgba(0,0,0,.30);
  }
  .photo-stage {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    transform: scale(1.025) translateY(8px) !important;
    transition: opacity .42s ease, transform .55s cubic-bezier(.2,.7,.2,1) !important;
    pointer-events: none;
  }
  .photo-stage.active {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    pointer-events: auto;
    z-index: 2;
  }
  .photo-stage > img,
  .dual-card,
  .dual-card figure {
    width: 100%;
    height: 100%;
  }
  .photo-stage > img {
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover;
  }
  .photo-1 > img { object-position: 57% center; }
  .photo-3 > img { object-position: center center; }
  .photo-4 > img { object-position: 50% 52%; }

  .dual-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px !important;
  }
  .dual-card figure {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .dual-card img { width:100%; height:100%; object-fit:cover; }
  .dual-card figure:first-child img { object-position:center center; }
  .dual-card figure:last-child img { object-position:55% center; }
  .dual-card figcaption {
    left: 10px;
    bottom: 10px;
    padding: 6px 9px;
    font-size: 10px;
    background: rgba(0,0,0,.58);
  }

  /* Only the active text stage is visible; no four big paragraphs stacked. */
  .process-copy {
    order: 2;
    position: relative;
    width: 100%;
    max-width: none;
    height: 142px;
    padding-top: 4px;
  }
  .process-step {
    position: absolute;
    inset: 0 0 auto 0;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: opacity .32s ease, transform .38s ease !important;
    pointer-events: none;
  }
  .process-step.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto;
  }
  .process-step + .process-step { margin-top: 0 !important; }
  .process-step span {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    font-size: 9px;
    border-color: rgba(255,255,255,.18);
  }
  .process-step h3 {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.1;
    letter-spacing: -.02em;
  }
  .process-step p {
    max-width: 38ch;
    font-size: 11.5px;
    line-height: 1.48;
    color: rgba(255,255,255,.65);
  }
  .process-progress {
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    margin: 0;
    background: rgba(255,255,255,.11);
  }
  .process-progress span {
    background: linear-gradient(90deg, #c49336, #efd18d);
    transition: width .08s linear;
  }
}

@media (max-width: 430px) {
  .process-sticky {
    padding-top: 10px !important;
    padding-bottom: 14px !important;
  }
  .process-visual { height: 48svh !important; border-radius: 16px; }
  .process-copy { height: 136px; }
  .process-step h3 { font-size: 18px; }
  .process-step p { font-size: 11px; }
}

@media (max-width: 360px) {
  .process-visual { height: 44svh !important; }
  .process-copy { height: 142px; }
}
