  :root {
    --ink: #0A0A0B;
    --ivory: #F3EEE6;
    --muted: #9A938A;
    --bronze: #B08D57;
    --bronze-hi: #C9A76B;
    --hair: rgba(243, 238, 230, .14);
    --glass: rgba(10, 10, 12, .55);
    --pad: clamp(20px, 5vw, 56px);
    --maxw: 1240px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", -apple-system, sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }
  html, body { overflow-x: clip; }

  body {
    background: var(--ink);
    color: var(--ivory);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  ::selection { background: var(--bronze); color: var(--ink); }

  /* ---------- photoreal film layer ---------- */
  #film {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    height: 100lvh; /* large viewport: no gap when the mobile URL bar collapses */
    z-index: 0;
    background: var(--ink);
  }
  #film img.poster,
  #film video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .22s ease;
  }
  #film img.poster { opacity: 1; transition: opacity .5s ease; }
  #film.video-active img.poster { opacity: 0; }
  #film video.is-shown { opacity: 1; }

  /* soft scrim so type stays readable over the bright film */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(to top, rgba(10,10,11,.66) 0%, rgba(10,10,11,.22) 34%, rgba(10,10,11,0) 56%),
      radial-gradient(110% 90% at 12% 78%, rgba(10,10,11,.45) 0%, rgba(10,10,11,0) 55%);
  }

  /* ---------- Loader ---------- */
  #loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity .9s ease;
  }
  #loader.done { opacity: 0; pointer-events: none; }
  .loader-mark {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: .55em;
    text-indent: .55em;
    color: var(--ivory);
  }
  .loader-sub {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .34em;
    text-indent: .34em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .loader-track {
    width: min(220px, 56vw);
    height: 1px;
    background: var(--hair);
    overflow: hidden;
  }
  #loader-bar {
    width: 0%;
    height: 100%;
    background: var(--bronze);
    transition: width .3s ease;
  }

  /* ---------- Fixed nav ---------- */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px var(--pad);
    background: linear-gradient(to bottom, rgba(10,10,11,.5), rgba(10,10,11,0));
    transition: background .5s ease, padding .5s ease;
  }
  nav.scrolled {
    background: rgba(10,10,11,.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .wordmark {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: .5em;
    color: var(--ivory);
    text-decoration: none;
  }
  .wordmark img { height: 20px; display: block; }
  .loader-mark img { height: 36px; display: block; }
  .nav-right { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
  .nav-links { display: flex; gap: clamp(18px, 2.6vw, 36px); }
  .nav-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .3s ease;
  }
  .nav-links a:hover { color: var(--ivory); }
  .nav-burger { display: none; background: none; border: 0; padding: 8px 4px; cursor: pointer; }
  .nav-burger span {
    display: block; width: 20px; height: 2px; background: var(--ivory);
    margin: 4px 0; transition: transform .3s ease, opacity .3s ease;
  }
  nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-cta {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--bronze);
    padding: 10px 22px;
    text-decoration: none;
    transition: background .3s ease;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--bronze-hi); }

  /* ---------- Content layer ---------- */
  main { position: relative; z-index: 1; }

  section {
    min-height: 100svh;
    display: flex;
    align-items: center;
  }
  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(90px, 12vh, 140px) var(--pad);
  }

  .kicker {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: clamp(24px, 4vh, 44px);
  }
  .kicker .num { color: var(--bronze); margin-right: .9em; }

  .display {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: .01em;
  }

  .kicker, .hero-sub, .section-head, .step h3, .step p, .after-keys,
  .contact-left h2, .contact-invite, .contact-lines a {
    text-shadow: 0 1px 12px rgba(10,10,11,.65), 0 1px 3px rgba(10,10,11,.45);
  }

  /* ---------- Hero ---------- */
  #hero { align-items: flex-end; }
  #hero .wrap { padding-bottom: clamp(90px, 16vh, 170px); }
  .hero-inner { max-width: 620px; }
  #hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.7rem, 7.2vw, 5.2rem);
    line-height: 1.06;
    letter-spacing: .005em;
    text-shadow: 0 1px 18px rgba(10,10,11,.55), 0 1px 3px rgba(10,10,11,.4);
  }
  #hero h1 em { font-style: italic; font-weight: 500; }
  .hero-sub {
    margin-top: clamp(18px, 3vh, 28px);
    font-size: clamp(.85rem, 1.1vw, .95rem);
    color: var(--muted);
    max-width: 44ch;
  }
  .hero-actions {
    margin-top: clamp(28px, 5vh, 44px);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    transition: background .3s ease, border-color .3s ease, color .3s ease;
  }
  .btn-primary { background: var(--bronze); color: var(--ink); }
  .btn-primary:hover { background: var(--bronze-hi); }
  .btn-ghost { border: 1px solid var(--hair); color: var(--ivory); }
  .btn-ghost:hover { border-color: var(--bronze); color: var(--bronze-hi); }

  .scroll-hint {
    position: absolute;
    left: var(--pad);
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .scroll-hint::after {
    content: "";
    width: 56px;
    height: 1px;
    background: var(--hair);
  }
  #hero { position: relative; }

  /* ---------- Services ---------- */
  .section-head {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: clamp(40px, 7vh, 72px);
    max-width: 18ch;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
  }
  .service {
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--hair);
    padding: clamp(28px, 3.5vw, 44px);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
  }
  .service .no {
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--bronze);
  }
  .service h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .service p {
    font-size: .82rem;
    color: var(--muted);
    max-width: 30ch;
  }

  /* ---------- Signature ---------- */
  .sig-inner {
    max-width: 520px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--hair);
    padding: clamp(30px, 4vw, 52px);
  }
  .sig-inner .kicker { margin-bottom: 22px; }
  .sig-inner h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.12;
  }
  .sig-place {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .spec-strip {
    display: flex;
    flex-wrap: wrap;
    margin-top: clamp(26px, 4vh, 38px);
    border-top: 1px solid var(--hair);
  }
  .spec {
    flex: 1 1 50%;
    padding: 16px 18px 16px 0;
    border-bottom: 1px solid var(--hair);
  }
  .spec b {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--ivory);
  }
  .spec span {
    font-size: 9px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .sig-quote {
    margin-top: clamp(26px, 4vh, 36px);
  }
  .sig-quote p {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.5;
    color: var(--ivory);
  }
  .sig-quote footer {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* ---------- Process ---------- */
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(28px, 4vw, 56px);
    border-top: 1px solid var(--hair);
    padding-top: clamp(32px, 5vh, 52px);
  }
  .step .no {
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--bronze);
  }
  .step h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin: 14px 0 8px;
  }
  .step p { font-size: .84rem; color: var(--muted); max-width: 32ch; }
  .after-keys {
    margin-top: clamp(36px, 6vh, 56px);
    padding-top: 22px;
    border-top: 1px solid var(--hair);
    font-size: .84rem;
    color: var(--muted);
    max-width: 56ch;
  }
  .after-keys b { font-weight: 400; color: var(--ivory); }

  /* ---------- Contact ---------- */
  #contact { flex-direction: column; justify-content: flex-end; }
  #contact .wrap { padding-top: clamp(110px, 16vh, 180px); }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
  }
  .contact-left h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
  }
  .contact-invite {
    margin-top: 18px;
    font-size: .88rem;
    color: var(--muted);
    max-width: 38ch;
  }
  .contact-lines { margin-top: clamp(28px, 4vh, 40px); display: grid; gap: 8px; }
  .contact-lines a {
    color: var(--ivory);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 300;
    letter-spacing: .04em;
    transition: color .3s ease;
    width: fit-content;
  }
  .contact-lines a:hover { color: var(--bronze-hi); }

  form { display: grid; gap: clamp(24px, 3.5vh, 34px); }
  .field label {
    display: block;
    font-size: 9px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .field input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hair);
    color: var(--ivory);
    font-family: var(--sans);
    font-weight: 300;
    font-size: .95rem;
    padding: 8px 0 12px;
    outline: none;
    border-radius: 0;
    transition: border-color .3s ease;
  }
  .field input:focus { border-bottom-color: var(--bronze); }
  .field input::placeholder { color: rgba(154, 147, 138, .5); }
  form .btn { border: none; cursor: pointer; width: fit-content; }

  /* ---------- Footer ---------- */
  .site-footer {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 26px var(--pad) 30px;
    border-top: 1px solid var(--hair);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
  }
  .foot-nav { display: flex; flex-wrap: wrap; gap: 20px; }
  .site-footer a, .site-footer span {
    font-size: 9px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
  }
  .site-footer a { transition: color .3s ease; }
  .site-footer a:hover { color: var(--ivory); }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .nav-burger { display: block; }
    .nav-links {
      display: none;
      position: absolute; left: 0; right: 0; top: 100%;
      flex-direction: column; gap: 0;
      background: rgba(10,10,11,.96);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      padding: 8px 0 14px;
      border-top: 1px solid rgba(255,255,255,.08);
    }
    nav.menu-open .nav-links { display: flex; }
    /* open menu: the bar matches the panel (residence's nav#nav rules outrank this and stay light) */
    nav.menu-open { background: rgba(10,10,11,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    .nav-links a { padding: 13px var(--pad); }
    nav { padding-top: 20px; padding-bottom: 20px; }
    .spec { flex-basis: 50%; }
    .sig-inner { max-width: 100%; }
  }

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

  /* ---------- overscroll: no rubber-band / pull-to-refresh over the film ---------- */
  html, body { overscroll-behavior: none; }

  /* ---------- inner pages ---------- */
  body.inner { background: var(--ink); }
  body.inner::before { content: none; }

  .page-hero {
    position: relative;
    height: clamp(340px, 52vh, 560px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,11,.92) 0%, rgba(10,10,11,.35) 45%, rgba(10,10,11,.25) 100%);
  }
  .page-hero .wrap {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: clamp(34px, 6vh, 64px);
  }
  .page-hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.08;
  }
  .page-hero .kicker { margin-bottom: 16px; }

  body.inner section { min-height: 0; }
  body.inner .wrap { padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(56px, 9vh, 110px); }

  .lead {
    font-size: clamp(.95rem, 1.3vw, 1.05rem);
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.85;
  }

  .detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 4vw, 56px);
    margin-top: clamp(36px, 6vh, 64px);
  }
  .detail {
    border-top: 1px solid var(--hair);
    padding-top: 26px;
  }
  .detail .no { color: var(--bronze); font-size: 11px; letter-spacing: .3em; }
  .detail h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.5rem;
    margin: 14px 0 10px;
  }
  .detail p { font-size: .88rem; color: var(--muted); line-height: 1.8; }

  .cta-band {
    border-top: 1px solid var(--hair);
    text-align: center;
  }
  .cta-band h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    margin-bottom: 26px;
  }
  @media (max-width: 720px) {
    .detail-grid { grid-template-columns: 1fr; }
  }

  /* ---------- global type: white with black glow ---------- */
  h1, h2, h3, h4, p, a, span, blockquote, label, li, figcaption,
  .kicker, .lead, .detail p, .detail .no, .hero-sub, .contact-invite,
  .res-caption h1, .res-caption p, .res-caption .kick, .res-specs, .res-cta,
  .orbit-label, .hint, .loader-mark, .loader-sub,
  nav .wordmark, nav .nav-links a, .site-footer a, .site-footer span {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0,0,0,.65), 0 0 3px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.55);
  }
  input, textarea { text-shadow: none; }
  .nav-cta { color: #fff !important; text-shadow: 0 0 6px rgba(0,0,0,.5); }
