@layer reset, tokens, base, layout, components, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body, h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg { display: block; max-width: 100%; height: auto; }
  button, input, textarea { font: inherit; color: inherit; }
  button { background: none; border: 0; cursor: pointer; }
  a { color: inherit; }
  [hidden] { display: none !important; }
}

@layer tokens {
  @font-face {
    font-family: "Gambarino";
    src: url("fonts/gambarino.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
  }
  @font-face {
    font-family: "Geist";
    src: url("fonts/geist-300.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Geist";
    src: url("fonts/geist-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Geist";
    src: url("fonts/geist-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Geist";
    src: url("fonts/geist-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  :root {
    --cream: #f3ede1;
    --cream-deep: #e6d7b8;
    --paper: #faf7f1;
    --ivory: #fffcf7;
    --ink: #222222;
    --navy: #262728;
    --ink-soft: #66696b;
    --muted: #66696b;
    --gold: #c8a753;
    --gold-bright: #d4ba79;
    --gold-deep: #b89b5e;
    --steel: #a5a8ae;
    --line: color-mix(in srgb, var(--gold) 32%, transparent);
    --shadow: 0 22px 50px rgb(20 16 8 / 0.14);
    --geo-sheet:
      linear-gradient(color-mix(in srgb, var(--ivory) 48%, transparent), color-mix(in srgb, var(--ivory) 48%, transparent)),
      url("images/card-geo.jpg");
    --display: "Gambarino", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
    --step-0: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
    --step-1: clamp(1.2rem, 1.05rem + 0.7vw, 1.4rem);
    --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
    --step-3: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
    --step-4: clamp(2.75rem, 1.6rem + 5.2vw, 5.25rem);
    --pad: clamp(1.25rem, 4vw, 3.5rem);
    --gutter: clamp(1.25rem, 5vw, 5rem);
    --radius-btn: 2px;
    --radius-photo: 8px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: 4.75rem; overflow-x: clip; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }

  body {
    font-family: var(--sans);
    font-size: var(--step-0);
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--ivory);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
  }

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

  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  .nav.is-hero :focus-visible,
  .btn-ghost:focus-visible,
  .btn-light:focus-visible,
  .explore:focus-visible {
    outline-color: var(--ivory);
  }

  h1, h2, h3 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
  }

  h1 { font-size: var(--step-4); }
  h2 { font-size: var(--step-2); }
  h3 { font-size: var(--step-1); }

  p { text-wrap: pretty; }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip {
    position: absolute;
    left: var(--pad);
    top: 0.5rem;
    z-index: 80;
    background: var(--paper);
    color: var(--ink);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-btn);
    transform: translateY(-150%);
  }
  .skip:focus { transform: none; }

  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--cream-deep); }
  ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 35%, var(--cream)); border-radius: 99px; }

  body.menu-open { overflow: hidden; }

  html.intro-pending,
  html.intro-lock {
    overflow: hidden;
  }
}

@layer layout {
  .handoff {
    position: relative;
    isolation: isolate;
  }

  .hero {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 100svh;
    overflow: hidden;
    background: var(--ivory);
  }

  .hero-pin {
    position: relative;
    height: 100svh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    color: var(--ivory);
  }

  .hero-frame {
    position: relative;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    transform-origin: 50% 42%;
    border-radius: 0;
    will-change: transform, border-radius;
  }

  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    will-change: transform;
  }

  .hero-shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom, rgb(38 39 40 / 0.46) 0%, rgb(38 39 40 / 0.14) 42%, rgb(34 34 34 / 0.62) 100%);
    pointer-events: none;
  }

  .hero-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #fff;
    opacity: 0;
    pointer-events: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 6.5rem var(--gutter) 8rem;
  }

  .hero-copy h1 {
    max-width: 16ch;
    color: var(--ivory);
  }

  .hero-foot {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem 2rem;
    align-items: end;
    padding: 0 var(--gutter) clamp(1.4rem, 3vw, 2.2rem);
  }

  .hero-lede {
    grid-column: 1;
    max-width: 36ch;
    font-size: 0.95rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--ivory) 88%, var(--ink));
  }

  .explore { grid-column: 2; grid-row: 1; align-self: end; }

  .intro-spacer {
    height: 0;
    pointer-events: none;
  }

  html.intro-has-spacer .intro-spacer {
    height: 170vh;
  }

  .manifesto-track {
    position: relative;
    z-index: 2;
    height: 620vh;
    background: #fff;
  }

  .manifesto {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 100svh;
    background: #fff;
    perspective: 1600px;
    overflow: hidden;
  }

  .manifesto-frame {
    --frame-a: 1;
    --bloom-in: 100;
    --bloom-out: 100;
    --wash-a: 0;
    --wash-in: 8;
    --wash-out: 52;
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    align-content: stretch;
    gap: clamp(1.2rem, 3vh, 2.4rem);
    padding: 6.2rem var(--gutter) 2.8rem;
    background:
      radial-gradient(
        circle at 50% 48%,
        rgb(255 255 255 / var(--wash-a)) 0%,
        rgb(255 255 255 / var(--wash-a)) calc(var(--wash-in) * 1%),
        rgb(255 255 255 / 0) calc(var(--wash-out) * 1%)
      ),
      radial-gradient(
        circle at 50% 48%,
        rgb(255 255 255 / var(--frame-a)) 0%,
        rgb(255 255 255 / var(--frame-a)) calc(var(--bloom-in) * 1%),
        rgb(255 255 255 / 0) calc(var(--bloom-out) * 1%)
      ),
      #fff;
    overflow: visible;
    transform-style: preserve-3d;
    will-change: opacity, transform;
  }

  .manifesto-lede,
  .stat-row,
  .manifesto-cta {
    position: relative;
    z-index: 1;
    transform-origin: 50% 48%;
    will-change: transform, opacity, filter;
  }

  .manifesto-lede {
    max-width: 42rem;
    margin: 0;
    text-align: center;
    color: var(--ink);
    font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.12rem);
    line-height: 1.6;
  }

  .stat-row {
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(4.5rem, 1fr) minmax(14rem, 28rem) minmax(9rem, 1fr);
    align-items: center;
    gap: 1.2rem clamp(1.2rem, 3vw, 2.8rem);
    width: min(68rem, 100%);
    min-height: 0;
  }

  .stat-num {
    position: relative;
    justify-self: end;
    min-width: 1.45em;
    height: 1em;
    overflow: hidden;
    font-family: var(--display);
    font-size: clamp(3.2rem, 2rem + 5vw, 5.6rem);
    line-height: 1;
    text-align: right;
    color: var(--gold);
  }

  .stat-num-item {
    display: block;
  }

  .stat-num-item:not(.is-active),
  .stat-photo figure:not(.is-active),
  .stat-copy article:not(.is-active) {
    display: none;
  }

  html.has-motion .stat-num-item {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
  }

  html.has-motion .stat-num-item:not(.is-active),
  html.has-motion .stat-photo figure:not(.is-active),
  html.has-motion .stat-copy article:not(.is-active) {
    display: block;
    opacity: 0;
    visibility: hidden;
  }

  .stat-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-photo);
    background: var(--cream);
  }

  .stat-photo figure {
    margin: 0;
  }

  html.has-motion .stat-photo figure {
    position: absolute;
    inset: 0;
  }



  .stat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .stat-photo figure[data-i="0"] img {
    object-position: 50% 50%;
  }

  .stat-photo figure[data-i="1"] img {
    object-position: 50% 18%;
  }

  .stat-copy {
    position: relative;
    width: min(22rem, 100%);
    min-height: 11.25rem;
    overflow: hidden;
  }

  html.has-motion .stat-copy article {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
  }

  .stat-copy h2 {
    margin: 0 0 0.4rem;
    font-family: var(--sans);
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.28rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--gold-deep);
    line-height: 1.3;
  }

  .stat-copy p {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .manifesto-cta {
    grid-row: 3;
    color: var(--gold);
    border-color: color-mix(in srgb, var(--gold) 42%, transparent);
  }

  .signature {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.45rem;
  }

  .manifesto-tagline {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 1.6rem;
  }

  .manifesto-body {
    max-width: 42rem;
    margin: 1.75rem auto 0;
    color: var(--muted);
  }

  .gallery {
    display: grid;
    gap: clamp(3rem, 8vw, 6.5rem);
    padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem);
    background: var(--ivory);
    overflow-x: clip;
    max-width: 100%;
  }

  .gallery-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .gallery-item--start { justify-self: start; }
  .gallery-item--mid { justify-self: center; }
  .gallery-item--end { justify-self: end; }

  .gallery-frame {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-photo);
    flex: 0 1 32rem;
    min-width: 0;
  }

  .gallery-frame--tall {
    width: 32rem;
    max-width: min(32rem, calc(100% - 17.5rem));
    aspect-ratio: 3 / 4;
  }

  .gallery-frame--wide {
    width: 34rem;
    max-width: min(34rem, calc(100% - 17.5rem));
    aspect-ratio: 4 / 3;
  }

  .gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-info {
    display: grid;
    align-content: center;
    gap: 0.75rem;
    flex: 0 0 16rem;
    width: 16rem;
    max-width: 16rem;
    min-width: 0;
    margin: 0;
    order: 0;
    overflow-wrap: break-word;
  }

  .gallery-info h2 {
    font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  }

  .gallery-info p { color: var(--ink-soft); }
  .gallery-addr { color: var(--muted); }

  .gallery-info dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.1rem;
    margin: 0.25rem 0 0.35rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
  }

  .gallery-info dt {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .gallery-info .btn { justify-self: start; }

  @media (max-width: 1100px) {
    .gallery-item,
    .gallery-item--mid,
    .gallery-item--end {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: left;
    }
    .gallery-info {
      order: 0;
      flex: 1 1 auto;
      width: min(100%, 38rem);
      max-width: 38rem;
    }
    .gallery-frame--tall,
    .gallery-frame--wide {
      width: min(100%, 38rem);
      max-width: min(38rem, 100%);
    }
  }

  .sanctuary {
    padding: clamp(3rem, 8vw, 6rem) var(--gutter);
    background: var(--ivory);
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .sanctuary-copy {
    max-width: 46rem;
  }

  .sanctuary-copy h2 { margin-bottom: 0.9rem; }
  .sanctuary-copy p { color: var(--ink-soft); max-width: 46rem; margin-top: 1rem; }

  .sanctuary-photo {
    overflow: hidden;
    border-radius: var(--radius-photo);
  }

  .sanctuary-photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  section { scroll-margin-top: 4.75rem; }

  .amenities,
  .process,
  .residences,
  .voices,
  .journal,
  .intent,
  .faq {
    padding: clamp(4.5rem, 10vw, 7.5rem) var(--gutter);
  }

  .amenities,
  .residences,
  .journal,
  .faq {
    background: var(--ivory);
  }
  .voices { background: var(--ivory); }

  .section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem 2rem;
    margin-bottom: 2.4rem;
  }

  .section-head h2,
  .process > h2,
  .voices > h2,
  .journal > h2,
  .faq > h2 {
    margin-bottom: 0.35rem;
  }

  .amenities .section-head { margin-bottom: 2.6rem; }

  .note {
    font-size: 0.88rem;
    color: var(--muted);
  }

  .amenity-grid {
    display: grid;
    gap: 1.25rem;
  }

  @media (min-width: 800px) {
    .amenity-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  }

  .amenity-grid figure {
    overflow: hidden;
  }

  .amenity-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .amenity-grid figcaption {
    margin-top: 0.85rem;
  }

  .process-progress {
    margin-top: 2.6rem;
  }

  .process-rail {
    position: relative;
    height: 2px;
    margin-bottom: 2.1rem;
    background: color-mix(in srgb, var(--gold) 24%, transparent);
  }

  .process-fill {
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform-origin: 0 50%;
    will-change: transform;
  }

  .process-list li { position: relative; }

  .process-mark {
    position: relative;
    display: inline-block;
  }

  .process-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 11px;
    height: 11px;
    margin-left: -5.5px;
    margin-top: calc(-2.1rem - 4.5px);
    pointer-events: none;
  }

  .process-dot span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px var(--navy);
    will-change: transform;
  }

  .process-list {
    display: grid;
    gap: 2rem 1.5rem;
    margin-top: 0;
  }

  @media (min-width: 800px) {
    .process-progress {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      column-gap: 1.5rem;
    }

    .process-rail {
      grid-column: 1 / -1;
      grid-row: 2;
      margin: 1.4rem 0;
    }

    .process-list {
      display: contents;
    }

    .process-list li:nth-child(1) { grid-column: 1; }
    .process-list li:nth-child(2) { grid-column: 2; }
    .process-list li:nth-child(3) { grid-column: 3; }
    .process-list li:nth-child(4) { grid-column: 4; }
    .process-list li:nth-child(5) { grid-column: 5; }

    .process-list li:nth-child(odd) {
      grid-row: 3;
    }

    .process-list li:nth-child(even) {
      grid-row: 1;
      align-self: end;
      display: flex;
      flex-direction: column-reverse;
      align-items: flex-start;
    }

    .process-list li:nth-child(even) .process-num {
      margin-bottom: 0;
      margin-top: 0.7rem;
    }

    .process-list li:nth-child(even) h3 {
      margin-bottom: 0;
      margin-top: 0.45rem;
    }

    .process-list li:nth-child(odd) .process-dot {
      margin-top: calc(-1.4rem - 4.5px);
    }

    .process-list li:nth-child(even) .process-dot {
      top: 100%;
      bottom: auto;
      margin-top: calc(1.4rem - 4.5px);
      margin-bottom: 0;
    }
  }

  .process-num {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    margin-bottom: 0.85rem;
  }

  .process h3 {
    color: var(--muted);
    margin-bottom: 0.55rem;
  }

  .process p {
    color: var(--ink-soft);
    font-size: 0.98rem;
  }

  .residence-list {
    display: grid;
    gap: 3.5rem;
  }

  .residence {
    display: grid;
    gap: 1.25rem;
  }

  @media (min-width: 900px) {
    .residence {
      grid-template-columns: 1.4fr 1fr;
      gap: 2rem;
      align-items: center;
    }
  }

  .residence img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .residence-id {
    font-family: var(--display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .residence-meta dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }

  .residence-meta dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .residence-meta dd { font-size: 1rem; }

  .voice-row {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.2rem;
  }

  @media (min-width: 900px) {
    .voice-row { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; }
  }

  .voices blockquote {
    padding: 1.6rem 1.4rem;
    color: var(--ink-soft);
  }

  .voices blockquote.is-featured {
    background: var(--paper);
    box-shadow: 0 18px 40px rgb(20 16 8 / 0.1);
  }

  .voices p { margin-bottom: 1.2rem; }

  .voices footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
  }

  .voices cite {
    font-style: normal;
    font-weight: 500;
    color: var(--ink);
  }

  .voices span { color: var(--muted); }

  .journal-list {
    margin-top: 2.2rem;
    display: grid;
    gap: 0;
  }

  .journal-list li {
    display: grid;
    gap: 0.35rem;
    padding: 1.35rem 0;
    border-top: 1px solid var(--line);
  }

  .journal-list li:last-child { border-bottom: 1px solid var(--line); }

  @media (min-width: 700px) {
    .journal-list li {
      grid-template-columns: 9rem 1fr;
      align-items: baseline;
      gap: 2rem;
    }
  }

  .journal time {
    font-size: 0.88rem;
    color: var(--muted);
  }

  .journal a {
    font-family: var(--display);
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem);
    text-decoration: none;
    letter-spacing: -0.015em;
  }

  .journal a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

  .contact {
    display: grid;
    gap: 2.5rem;
    padding: clamp(4.5rem, 10vw, 7.5rem) var(--gutter);
    background-color: var(--navy);
    background-image:
      linear-gradient(125deg, transparent 46%, rgb(196 154 28 / 0.1) 46.6%, transparent 47.2%),
      linear-gradient(55deg, transparent 72%, rgb(224 192 86 / 0.08) 72.5%, transparent 73%);
    color: var(--ivory);
  }

  @media (min-width: 900px) {
    .contact {
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }
  }

  .contact h2 { color: var(--ivory); }
  .contact-copy p { margin-top: 1rem; max-width: 34rem; color: color-mix(in srgb, var(--ivory) 78%, var(--gold)); }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1.5rem;
  }

  .contact-details a { text-decoration: none; }
  .contact-details a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

  .inquire {
    display: grid;
    gap: 1rem;
  }

  .inquire label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.85rem;
  }

  .inquire input,
  .inquire textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
    padding: 0.55rem 0 0.7rem;
    color: var(--ivory);
    border-radius: 0;
    resize: vertical;
  }

  .inquire input:focus,
  .inquire textarea:focus {
    outline: none;
    border-bottom-color: var(--gold-bright);
  }

  .inquire .btn { margin-top: 0.6rem; justify-self: start; }

  .form-status { min-height: 1.4em; font-size: 0.9rem; }

  .site-foot {
    display: grid;
    gap: 1.5rem;
    padding: 2.4rem var(--gutter) 2rem;
    background-color: var(--navy);
    background-image:
      linear-gradient(125deg, transparent 38%, rgb(196 154 28 / 0.09) 38.5%, transparent 39%);
    color: var(--ivory);
    border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  }

  @media (min-width: 800px) {
    .site-foot {
      grid-template-columns: auto 1fr auto;
      align-items: center;
    }
  }

  .site-foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.6rem;
  }

  .site-foot nav a {
    text-decoration: none;
    font-size: 0.92rem;
  }

  .site-foot nav a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

  .legal {
    font-size: 0.78rem;
    color: var(--muted);
  }

  .broker-mark {
    width: 5.4rem;
    height: auto;
    justify-self: end;
    opacity: 0.92;
  }

  @media (min-width: 800px) {
    .site-foot .legal { grid-column: 1 / -1; }
  }
}

@layer components {
  .nav {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.05rem var(--gutter);
    color: var(--ivory);
    mix-blend-mode: normal;
    pointer-events: none;
  }

  .nav-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--gold-deep);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 18%, transparent);
    transform: scaleY(0);
    transform-origin: 50% 0%;
    opacity: 0;
    pointer-events: none;
  }

  .nav > * { pointer-events: auto; position: relative; z-index: 1; }
  .nav .nav-fill {
    position: absolute;
    z-index: 0;
    pointer-events: none;
  }
  .nav .wordmark { justify-self: center; }
  .nav .btn { justify-self: end; }

  .nav.is-light {
    background: var(--gold-deep);
    color: var(--ink);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 18%, transparent);
  }

  html:not(.has-motion) .nav.is-light {
    color: var(--ink);
  }

  html.has-motion .nav.is-light {
    background: transparent;
    box-shadow: none;
  }

  html.has-motion .nav-fill {
    will-change: transform, opacity;
  }

  .nav.is-on-dark {
    color: var(--ivory);
    background: transparent;
  }

  .wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
  }

  .mark {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
  }

  .mark-ec {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid currentColor;
    font-family: var(--display);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .mark-logo {
    width: 1.85rem;
    height: auto;
    display: block;
    flex: 0 0 auto;
  }

  .nav-menu {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    justify-self: start;
  }

  .nav-menu-bars {
    width: 1.35rem;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .is-close .nav-menu-bars {
    height: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
  }

  .is-close .nav-menu-bars::before,
  .is-close .nav-menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
  }

  .is-close .nav-menu-bars::before { transform: rotate(45deg); }
  .is-close .nav-menu-bars::after { transform: rotate(-45deg); }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-btn);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  }

  .btn:hover { transform: translateY(-1px); }

  .btn-ghost {
    border: 1px solid color-mix(in srgb, currentColor 55%, transparent);
    background: transparent;
  }

  .btn-arrow {
    display: inline-block;
    transition: transform 0.4s var(--ease);
  }

  .btn-ghost:hover .btn-arrow {
    transform: translateX(5px);
  }

  html:not(.has-motion) .nav.is-light .btn-ghost {
    border-color: color-mix(in srgb, var(--ink) 45%, transparent);
  }

  .nav.is-on-dark .btn-ghost {
    border-color: color-mix(in srgb, var(--ivory) 50%, transparent);
  }

  .btn-light,
  .btn-dark,
  .contact .btn-dark {
    background: var(--gold);
    color: var(--ink);
    box-shadow: none;
  }

  .text-link {
    text-decoration: none;
    font-size: 0.95rem;
  }

  .text-link:hover { text-decoration: underline; text-underline-offset: 0.18em; }

  .explore {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--ivory);
  }

  .explore-arrow {
    width: 0.7rem;
    height: 0.7rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    translate: 0 -2px;
  }

  .menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--gold-deep);
    color: var(--ink);
    display: none;
    grid-template-rows: auto 1fr;
    padding: 0 0 3rem;
  }

  .menu:not([hidden]) {
    display: grid;
  }

  .menu-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.05rem var(--gutter);
  }

  .menu-nav {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.35rem;
    padding: 1rem var(--gutter) 3rem;
  }

  .menu-nav a {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .menu-nav a:hover,
  .menu-nav a[aria-current="page"] { color: var(--navy); }
}

@layer motion {
  .intro {
    position: fixed;
    inset: 0;
    z-index: 45;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
    visibility: hidden;
  }

  html.intro-pending .intro,
  html.intro-curtain .intro:not(.is-done) {
    visibility: visible;
  }

  .intro.is-done {
    visibility: hidden;
  }

  .intro-panel {
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: var(--ink);
    will-change: transform;
    backface-visibility: hidden;
  }

  .intro-panel--left { left: 0; }
  .intro-panel--right { right: 0; }

  .intro-edge {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      var(--gold-bright) 18%,
      var(--gold) 50%,
      var(--gold-bright) 82%,
      transparent 100%
    );
    box-shadow: 0 0 18px rgb(200 167 83 / 0.45);
    opacity: 0;
  }

  .intro-panel--left .intro-edge { right: 0; }
  .intro-panel--right .intro-edge { left: 0; }

  .intro-slash {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    pointer-events: none;
  }

  .intro-slash-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(
      to top,
      rgb(196 154 28 / 0) 0%,
      var(--gold) 10%,
      var(--gold-bright) 50%,
      var(--gold) 90%,
      rgb(196 154 28 / 0) 100%
    );
    box-shadow:
      0 0 10px rgb(224 192 86 / 0.9),
      0 0 28px rgb(196 154 28 / 0.5);
    transform: scaleY(0);
    transform-origin: 50% 100%;
    will-change: transform, opacity;
  }

  html.intro-pending .nav-menu,
  html.intro-pending .nav .btn-ghost,
  html.intro-pending .nav .wordmark,
  html.intro-lock .nav-menu,
  html.intro-lock .nav .btn-ghost {
    opacity: 0;
    pointer-events: none;
  }

  html.intro-pending .nav .wordmark,
  html.intro-curtain .nav .wordmark {
    white-space: nowrap;
  }

  @media (prefers-reduced-motion: reduce) {
    .intro { display: none; }
    html.intro-pending .nav-menu,
    html.intro-pending .nav .btn-ghost,
    html.intro-pending .nav .wordmark {
      opacity: 1;
      pointer-events: auto;
    }
  }

  .explore-arrow {
    animation: dip 1.8s var(--ease) infinite;
  }

  @keyframes dip {
    0%, 100% { translate: 0 -2px; }
    50% { translate: 0 4px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .explore-arrow { animation: none; }
    .btn:hover { transform: none; }
    .hero-photo,
    .gallery-frame img { will-change: auto; }
  }
}

@media (max-width: 699px) {
  .manifesto-frame {
    padding: 5.1rem var(--gutter) 1.35rem;
    gap: 0.8rem;
  }

  .manifesto-lede {
    font-size: 0.95rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
  }

  .stat-num {
    justify-self: center;
    font-size: clamp(2.6rem, 12vw, 3.6rem);
    text-align: center;
  }

  .stat-photo {
    max-width: 22rem;
    aspect-ratio: 16 / 10;
  }

  .stat-copy {
    width: min(26rem, 100%);
    min-height: 9.6rem;
    text-align: center;
  }

  html.has-motion .stat-copy article {
    left: 0;
    right: 0;
  }

  .hero-foot {
    grid-template-columns: 1fr;
  }

  .explore {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .hero-lede { max-width: 36ch; }

  .nav .btn-ghost { display: none; }
}

/* Expanded sections, hovers, and motion surfaces */

.line-mask {
  display: block;
  overflow: hidden;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-mask > span {
  display: inline-block;
}

.hero-photo {
  animation: facade-drift 22s ease-in-out infinite alternate;
}

html.has-motion .hero-photo {
  animation: none;
}

html.has-motion .explore-arrow {
  animation: none;
}

@keyframes facade-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.6%, -1.2%, 0); }
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.5rem;
  max-width: 46rem;
  margin: 3rem auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.facts dd {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
}

.manifesto-note {
  max-width: 40rem;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-frame {
  position: relative;
}

.gallery-frame img {
  will-change: transform;
}

.gallery-frame figcaption,
.sanctuary-photo figcaption {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.gallery-frame figcaption span:first-child,
.amenity-grid figcaption span:first-child {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
}

.gallery-frame figcaption span,
.amenity-grid figcaption span {
  color: var(--ink-soft);
}

.projects,
.features,
.journey,
.neighborhood,
.team {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--gutter);
}

.features,
.neighborhood {
  background: var(--ivory);
}

.project-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .project-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .project-grid li:first-child { grid-row: span 2; }
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ivory);
  text-decoration: none;
  min-height: 16rem;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  min-height: 16rem;
}

.project-grid li:first-child .project-card img { aspect-ratio: 3 / 4; min-height: 100%; }

.project-card-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem 1.1rem;
  background: linear-gradient(to top, rgb(20 16 8 / 0.78), transparent);
}

.project-card-copy p:first-child {
  font-family: var(--display);
  font-size: 1.45rem;
}

.project-card-copy p:last-child {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--ivory) 80%, var(--ink));
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  margin-top: 1.4rem;
}

.material-list li {
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  background: color-mix(in srgb, var(--gold) 8%, var(--ivory));
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.sanctuary-copy blockquote {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.feature-list {
  display: grid;
  gap: 2rem 2.5rem;
}

@media (min-width: 800px) {
  .feature-list { grid-template-columns: repeat(3, 1fr); }
}

.feature-list h3 { margin-bottom: 0.7rem; color: var(--ink); }
.feature-list p { color: var(--ink-soft); }
.feature-list .text-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--ink);
}

.intent {
  background: var(--cream);
  color: var(--ink);
}

.intent-board {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .intent-board {
    grid-template-columns: 1.2fr 0.95fr;
    grid-template-rows: 1fr 1fr;
    min-height: 38rem;
    gap: 1.1rem;
  }

  .intent-card--buy {
    grid-row: 1 / 3;
  }
}

.intent-card {
  display: grid;
  grid-template-rows: minmax(11rem, 42%) 1fr;
  background: var(--ivory);
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: 0 18px 44px rgb(20 16 8 / 0.1);
  min-height: 0;
}

@media (min-width: 900px) {
  .intent-card--buy {
    grid-template-rows: 1fr auto;
  }
}

.intent-card-media {
  position: relative;
  margin: 0;
  min-height: 11rem;
  overflow: hidden;
  background: var(--navy);
}

@media (min-width: 900px) {
  .intent-card--buy .intent-card-media {
    min-height: 0;
  }
}

.intent-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}

.intent-card:hover .intent-card-media img {
  transform: scale(1.1);
}

.intent-card-media figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  padding: 0.22rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgb(20 16 8 / 0.52);
}

.intent-card-body {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1.25rem 1.3rem 1.4rem;
}

.intent-card-body h3 {
  margin: 0;
  color: var(--ink);
}

.intent-card-body p {
  margin: 0;
  color: var(--ink-soft);
}

.intent-card-body .btn {
  margin-top: 0.35rem;
  justify-self: start;
}

.slot-line {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.amenity-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .amenity-grid { grid-template-columns: 1fr 1fr; }
}

.amenity-grid figcaption {
  display: grid;
  gap: 0.35rem;
}

.zoom-media,
.clip-in {
  overflow: hidden;
}

.amenity-grid .clip-in img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.zoom-media img,
.project-card img,
.journal-card img,
.residence-photo img,
.team-photo img,
.voice-photo img {
  transition: transform 1.15s var(--ease);
  transform: scale(1.02);
}

.zoom-media:hover img,
.project-card:hover img,
.journal-card:hover img,
.residence-photo:hover img,
.team-photo:hover img,
.voice-photo:hover img {
  transform: scale(1.07);
}

.journey-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--cream-deep);
}

.journey-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.journey-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.journey-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-tabs {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

@media (min-width: 700px) {
  .journey-tabs { grid-template-columns: repeat(3, 1fr); }
}

.journey-tabs button {
  text-align: left;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.2rem;
}

.journey-tabs button span:first-child {
  font-family: var(--display);
  font-size: 1.35rem;
}

.journey-tabs button span:last-child {
  font-size: 0.88rem;
  color: var(--muted);
}

.journey-tabs button[aria-selected="true"] {
  border-bottom-color: var(--gold);
}

.neighborhood {
  display: grid;
  gap: 2.4rem;
}

.neighborhood-copy p { margin-top: 1rem; color: var(--ink-soft); max-width: 42rem; }

.walks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 700px) {
  .walks { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .walks { grid-template-columns: repeat(3, 1fr); }
}

.walks li {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 1.15rem 1.4rem 1.3rem 0;
  border-top: 1px solid var(--line);
}

.walks li span:first-child {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
}

.walks li span:last-child {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.residence-line {
  color: var(--ink-soft);
  margin: -0.3rem 0 1rem;
}

.residence-photo { display: block; }

.residence-meta dl {
  grid-template-columns: 1fr 1fr;
}

.team-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .team-list { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
}

.team-card {
  display: grid;
  gap: 0.95rem;
}

.team-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-photo);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-card:first-child .team-photo img {
  object-position: 50% 10%;
}

.team-photo-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 1.3rem 1.15rem 1.15rem;
  background: linear-gradient(to top, rgb(20 16 8 / 0.82), transparent);
  color: var(--ivory);
}

.team-name {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.team-role {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--ivory) 78%, var(--ink));
}

.team-bio {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 36ch;
}

.voices {
  background: var(--paper);
}

.voice-nav { display: flex; gap: 0.4rem; }

.voice-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.voice-btn:hover {
  background: var(--gold);
  color: var(--ink);
}

.voice-viewport {
  overflow: hidden;
  margin-top: 0.4rem;
}

.voice-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.voice-card {
  display: grid;
  width: min(88vw, 52rem);
  flex: 0 0 auto;
  background: var(--ivory);
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .voice-card {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 22rem;
  }
}

.voice-photo {
  min-height: 16rem;
}

.voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (min-width: 800px) {
  .voice-photo img { aspect-ratio: auto; min-height: 100%; }
}

.voice-copy {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.5rem 1.5rem;
}

.voice-copy > p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  margin: 0;
}

.voice-copy footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.voices cite {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
}

.voices span { color: var(--muted); }

.journal-cards {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.2rem;
}

@media (min-width: 800px) {
  .journal-cards { grid-template-columns: repeat(3, 1fr); }
}

.journal-card {
  display: grid;
  text-decoration: none;
  color: inherit;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.journal-card-copy {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.9rem;
}

.journal-card time,
.journal-card-copy span {
  font-size: 0.82rem;
  color: var(--muted);
}

.journal-card h3 {
  font-size: 1.35rem;
}

.journal-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-details {
  font-style: normal;
}

.inquire {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .inquire {
    grid-template-columns: 1fr 1fr;
  }
  .inquire label:nth-child(6),
  .inquire .btn,
  .inquire .form-status {
    grid-column: 1 / -1;
  }
}

.stack {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem;
  padding-bottom: 32vh;
}

.stack-card {
  position: sticky;
  top: 5.5rem;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform-origin: 50% 0%;
  will-change: transform;
}

.stack-card:nth-child(1) { top: 5.2rem; z-index: 1; }
.stack-card:nth-child(2) { top: 6rem; z-index: 2; }
.stack-card:nth-child(3) { top: 6.8rem; z-index: 3; }
.stack-card:nth-child(4) { top: 7.6rem; z-index: 4; }

.amenity-grid.stack .stack-card {
  background: var(--cream-deep);
}

.amenity-grid.stack .clip-in img {
  aspect-ratio: 16 / 9;
  height: min(58vh, 640px);
}

.amenity-grid.stack figcaption {
  padding: 1.15rem 1.4rem 1.5rem;
}

.residence.stack-card {
  padding: 1rem;
  background: var(--paper);
}

@media (min-width: 900px) {
  .residence.stack-card {
    grid-template-columns: 1.25fr 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.15rem 1.15rem 1.15rem 1.15rem;
  }
}

.residence.stack-card .residence-photo img {
  border-radius: 16px;
}

.manifesto-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.manifesto-copy .signature { margin-bottom: 1.2rem; }
.manifesto-copy h2 { max-width: 18ch; margin-inline: 0; }
.manifesto-copy .manifesto-body { margin-inline: 0; max-width: 40rem; }
.manifesto-copy .facts { margin-inline: 0; text-align: left; max-width: none; }

.manifesto-photo {
  overflow: hidden;
  border-radius: var(--radius-photo);
}

.manifesto-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.manifesto-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.listing-row {
  display: grid;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .listing-row { grid-template-columns: 1.15fr 1fr; }
  .listing-row.is-flip { grid-template-columns: 1fr 1.15fr; }
  .listing-row.is-flip .listing-row-photo { order: 2; }
}

.listing-row-photo {
  min-height: 22rem;
  overflow: hidden;
}

.listing-row-photo img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.listing-row-info {
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.listing-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-row-info h2 {
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
}

.listing-row-info p { color: var(--ink-soft); }
.listing-addr { color: var(--muted); }

.listing-row-info dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.2rem;
  margin: 0.4rem 0 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.listing-row-info dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-row-info .btn { justify-self: start; }

.feature-photo {
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1.1rem;
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.facts-inline {
  margin-top: 1.6rem;
  max-width: none;
}

.advisor-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.advisor-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0;
  margin-top: 2.2rem;
}

@media (min-width: 900px) {
  .faq-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.2rem;
  }
}

.faq-list > div {
  padding: 1.15rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.faq-list dt {
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.faq-list dd {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    position: relative;
    height: auto;
    min-height: 100svh;
  }
  .intro-spacer,
  html.intro-has-spacer .intro-spacer {
    height: 0;
  }
  .manifesto-track {
    height: auto;
  }
  .manifesto {
    position: relative;
    height: auto;
    min-height: 100svh;
    border-radius: 0;
    box-shadow: none;
  }
  .manifesto-frame {
    transform: none !important;
    opacity: 1 !important;
    --frame-a: 1 !important;
    --bloom-in: 100 !important;
    --bloom-out: 100 !important;
    --wash-a: 0 !important;
    --wash-in: 8 !important;
    --wash-out: 52 !important;
    padding-top: 5.5rem;
  }
  .hero-photo,
  .hero-frame .hero-photo { animation: none; }
  .stack-card { position: relative; top: auto; }
  .gallery-frame img,
  .sanctuary-photo img,
  .zoom-media img,
  .project-card img,
  .journal-card img,
  .residence-photo img,
  .intent-card-media img,
  .zoom-media:hover img,
  .project-card:hover img,
  .intent-card:hover .intent-card-media img {
    transform: none;
    transition: none;
    will-change: auto;
  }
  .journey-slide { transition: none; }
}

.on-dark {
  background-color: var(--navy);
  background-image:
    linear-gradient(125deg, transparent 46%, rgb(196 154 28 / 0.1) 46.6%, transparent 47.2%),
    linear-gradient(55deg, transparent 72%, rgb(224 192 86 / 0.08) 72.5%, transparent 73%);
  color: var(--ivory);
}

.on-dark h2,
.on-dark h3,
.on-dark .section-head h2 {
  color: var(--ivory);
}

.on-dark p,
.on-dark .note,
.on-dark .team-bio,
.on-dark .feature-list p,
.on-dark .intent-list p,
.on-dark .process-list p,
.on-dark .info-lead,
.on-dark .info-grid p,
.on-dark .journey-copy p,
.on-dark .proof-grid p {
  color: color-mix(in srgb, var(--ivory) 82%, var(--gold));
}

.on-dark .info-grid h3,
.on-dark .team-card--copy h3,
.on-dark .journey-copy h3,
.on-dark .proof-grid h3 {
  color: var(--ivory);
}

.on-dark .text-link,
.on-dark a.text-link {
  color: var(--gold-bright);
}

.on-dark dt,
.on-dark .muted,
.on-dark .journey-tabs button span:last-child {
  color: color-mix(in srgb, var(--gold) 45%, var(--ivory));
}

.on-dark .intent-list li,
.on-dark .walks li,
.on-dark .journey-tabs button,
.on-dark .info-grid li {
  border-color: color-mix(in srgb, var(--gold) 38%, transparent);
}

.on-dark .info-grid li {
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
}

.on-dark .process-num {
  color: var(--gold-bright);
}

.on-dark .btn-light,
.on-dark .btn-dark,
.on-dark .contact .btn-dark {
  background: var(--gold);
  color: var(--ink);
}

.gallery {
  display: block;
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--gutter);
}

.info-lead {
  max-width: 46rem;
  margin: 0 0 2.2rem;
  color: var(--ink-soft);
}

.info-grid {
  display: grid;
  gap: 1.75rem 2rem;
  margin-top: 1.8rem;
}

@media (min-width: 800px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-grid h3 { margin-bottom: 0.55rem; }
.info-grid p { color: var(--ink-soft); }

.record-layout {
  display: grid;
  gap: 2.4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .record-layout {
    grid-template-columns: minmax(14rem, 20rem) 1fr;
    gap: 3.2rem;
  }
}

.record-layout .gallery-frame {
  width: 100%;
  max-width: 20rem;
  flex: none;
  aspect-ratio: 3 / 4;
}

.record-layout .gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-list {
  display: grid;
  gap: 0;
}

.record-list li {
  padding: 1.2rem 0 1.3rem;
  border-top: 1px solid var(--line);
}

.record-list h3 { margin-bottom: 0.2rem; }

.record-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.record-list p { color: var(--ink-soft); }

.record-foot {
  margin-top: 1.6rem;
}

.practice-layout {
  display: grid;
  gap: 2.4rem;
}

@media (min-width: 1000px) {
  .practice-layout {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.2rem;
    align-items: start;
  }
}

.practice-copy .info-lead { margin-bottom: 1.1rem; }
.practice-copy p + p { margin-top: 0.95rem; }

.practice-photos {
  display: grid;
  gap: 1rem;
}

.practice-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.practice-photos figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--ivory) 70%, var(--gold));
}

@media (min-width: 900px) {
  .sanctuary {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 4rem;
  }
}

.sanctuary-photo img { aspect-ratio: 4 / 5; }

.journey-board {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .journey-board {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
  }
}

.journey-board .journey-stage {
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: var(--radius-photo);
}

.journey-copy {
  display: none;
}

.journey-copy.is-active {
  display: grid;
  gap: 0.9rem;
}

.journey-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
}

.team-card--copy {
  padding-top: 0.35rem;
  align-content: start;
}

.team-card--copy h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.team-card--copy .team-role {
  margin: 0.2rem 0 0.9rem;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--ivory) 70%, var(--gold));
}

.proof-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 800px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}

.proof-grid li {
  padding: 1.35rem 1.6rem 1.5rem 0;
  border-top: 1px solid var(--line);
}

.proof-grid h3 { margin-bottom: 0.55rem; }
.proof-grid p { color: var(--ink-soft); }

.journal .info-lead { margin-top: 0.4rem; }

.journal-card {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.journal-card-copy { padding-top: 0; }

/* Foundformed suite — white + gold. Does not style intro / hero / manifesto. */
.formed-label {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1.15;
}

.formed-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  text-decoration: none;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  width: fit-content;
}

.formed-arrow::before {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.4s var(--ease);
}

.formed-arrow:hover {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.formed-arrow:hover::before {
  transform: translateX(5px);
}

.practice-scene {
  position: relative;
  background: #fff;
}

.formed-about {
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding: clamp(4.5rem, 11vh, 8.5rem) var(--gutter) clamp(4.2rem, 9vh, 7.2rem);
  background: #fff;
  color: var(--ink);
  transform-origin: 50% 14%;
  position: sticky;
  top: var(--stick-top, 0px);
  z-index: 1;
}

html.has-motion .formed-about {
  will-change: opacity;
}

.formed-about-main {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.15rem;
  width: min(100%, 38rem);
  text-align: center;
}

.formed-about h2 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 4.4vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--gold-deep);
  max-width: 13ch;
  text-wrap: balance;
  margin: 0;
}

.formed-about-video {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--gold);
  width: min(100%, 18rem);
  cursor: pointer;
}

.formed-about-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #111;
}

.clip-controls {
  position: absolute;
  z-index: 2;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  pointer-events: none;
}

.clip-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(20 16 8 / 0.72);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.clip-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  fill: currentColor;
}

.clip-play {
  width: 2.25rem;
}

.clip-sound {
  padding: 0 0.85rem 0 0.7rem;
}

.clip-btn .icon-pause,
.clip-btn.is-playing .icon-play,
.clip-btn .icon-on,
.clip-btn.is-on .icon-off {
  display: none;
}

.clip-btn.is-playing .icon-pause,
.clip-btn.is-on .icon-on {
  display: block;
}

.clip-btn:hover {
  background: rgb(20 16 8 / 0.88);
}

.clip-sound.is-on {
  background: var(--gold);
  color: var(--ink);
}

.clip-sound.is-on:hover {
  background: var(--gold-bright);
}

.formed-about-copy {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 1rem;
}

.formed-about-copy p {
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
  font-size: var(--step-0);
  line-height: 1.65;
  max-width: 46ch;
}

@media (min-width: 900px) {
  .formed-about {
    grid-template-columns: minmax(11rem, 0.85fr) minmax(20rem, 34rem) minmax(11rem, 0.85fr);
    justify-items: stretch;
    align-items: center;
    column-gap: clamp(1.2rem, 2.6vw, 2.8rem);
  }

  .formed-about-video {
    width: 100%;
  }

  .formed-about-main {
    width: auto;
  }
}

.formed-scatter {
  position: relative;
  z-index: 4;
  background: #fff;
  color: var(--ink);
}

html.has-motion .formed-scatter {
  height: 280vh;
  -webkit-mask-image: linear-gradient(#0000, #0000);
  mask-image: linear-gradient(#0000, #0000);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.scatter-pin {
  position: relative;
  min-height: 100svh;
  padding: clamp(3.5rem, 9vh, 7rem) var(--gutter);
}

html.has-motion .scatter-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  padding: 0;
}

.scatter-copy {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
}

html.has-motion .scatter-copy {
  position: absolute;
  z-index: 2;
  margin: 0;
  top: 50%;
  left: 50%;
  width: min(28rem, 86vw);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.formed-scatter .scatter {
  margin: 0;
  overflow: hidden;
  background: var(--gold);
}

.formed-scatter .scatter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

html.has-motion .formed-scatter .scatter {
  position: absolute;
  margin: 0;
  aspect-ratio: auto;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

html.has-motion .formed-scatter .scatter img {
  aspect-ratio: auto;
}

html.has-motion .scatter--back { z-index: 1; }
html.has-motion .scatter--front { z-index: 3; }

html.has-motion .formed-scatter .scatter img {
  height: auto;
}

html.has-motion .scatter-1 {
  width: min(26vw, 22rem);
  left: 0;
  top: 0;
}
html.has-motion .scatter-1 img { aspect-ratio: 16 / 10; }

html.has-motion .scatter-3 {
  width: min(40vw, 34rem);
  right: 6%;
  top: 10%;
}
html.has-motion .scatter-3 img { aspect-ratio: 16 / 10; }

html.has-motion .scatter-2 {
  width: min(28vw, 24rem);
  left: 10%;
  top: 48%;
}
html.has-motion .scatter-2 img { aspect-ratio: 3 / 4; }

html.has-motion .scatter-6 {
  width: min(32vw, 26rem);
  right: 18%;
  top: 78%;
}
html.has-motion .scatter-6 img { aspect-ratio: 16 / 10; }

html.has-motion .scatter-4 {
  width: min(38vw, 32rem);
  left: 4%;
  top: 112%;
}
html.has-motion .scatter-4 img { aspect-ratio: 4 / 3; }

html.has-motion .scatter-5 {
  width: min(30vw, 25rem);
  right: 8%;
  top: 148%;
}
html.has-motion .scatter-5 img { aspect-ratio: 3 / 4; }

@media (prefers-reduced-motion: reduce) {
  .formed-about {
    position: relative;
  }

  html.has-motion .formed-scatter {
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 799px) {
  html.has-motion .scatter-copy {
    width: min(22rem, 88vw);
  }
  html.has-motion .scatter-1 { width: 58vw; left: 0; top: 0; }
  html.has-motion .scatter-3 { width: 64vw; right: 0; top: 18%; }
  html.has-motion .scatter-2 { width: 52vw; left: 8%; top: 52%; }
  html.has-motion .scatter-6 { width: 56vw; right: 4%; top: 88%; }
  html.has-motion .scatter-4 { width: 62vw; left: 2%; top: 122%; }
  html.has-motion .scatter-5 { width: 50vw; right: 6%; top: 158%; }
}

.formed-work {
  position: relative;
  z-index: 8;
  background: #fff;
}

.formed-work-stage {
  display: contents;
}

.formed-panel {
  position: sticky;
  top: 0;
  display: block;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transform-origin: 50% 80%;
  will-change: transform;
}

.formed-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.formed-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgb(20 16 8 / 0.52) 0%, rgb(20 16 8 / 0.08) 42%, transparent 62%),
    linear-gradient(to right, rgb(20 16 8 / 0.18), transparent 40%);
  pointer-events: none;
}

.formed-panel-num {
  position: absolute;
  z-index: 2;
  top: 5.4rem;
  left: var(--gutter);
  font-family: var(--display);
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--gold-bright);
}

.formed-panel-copy {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.6rem, 4vh, 2.8rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
}

.formed-panel-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: #fff;
}

.formed-panel-note {
  max-width: 22ch;
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--gold-bright) 72%, #fff);
}

@media (max-width: 699px) {
  .formed-panel-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .formed-panel-note { text-align: left; }
}

.do-news-scene {
  position: relative;
  z-index: 8;
  background: #fff;
}

.formed-do {
  position: relative;
  z-index: 8;
  padding: 0;
  background: #fff;
  color: var(--ink);
}

.formed-do-track {
  position: relative;
}

html.has-motion .formed-do-track {
  height: 480vh;
}

.formed-do-pin {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.6rem;
  padding: clamp(4.2rem, 10vh, 6.5rem) var(--gutter) 1.6rem;
  background: #fff;
}

html.has-motion .formed-do-pin {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  overflow: hidden;
  display: block;
}

html.has-motion .formed-do-head {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: clamp(4.8rem, 8vh, 6.2rem);
  pointer-events: none;
}

.formed-do-head {
  display: grid;
  gap: 1rem 3rem;
  position: relative;
  z-index: 2;
}

.formed-do-head h2 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold-deep);
  will-change: transform;
  transform-origin: 50% 50%;
}

.formed-do-lede p {
  color: color-mix(in srgb, var(--gold-deep) 38%, var(--ink));
  max-width: 38rem;
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.32rem);
  line-height: 1.55;
}

.formed-do-lede p + p {
  margin-top: 0.85rem;
  color: var(--gold-deep);
}

@media (min-width: 900px) {
  .formed-do-head {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 2.4rem;
  }

  .formed-do-lede {
    justify-self: center;
    width: min(38rem, 100%);
  }

  html.has-motion .formed-do-head {
    bottom: 12vh;
    align-items: start;
  }

  html.has-motion .formed-do-lede {
    align-self: center;
  }
}

.orbit-stage {
  position: relative;
  min-height: 22rem;
}

html.has-motion .orbit-stage {
  min-height: 0;
  height: 100%;
  transform-origin: 12% 78%;
  will-change: transform;
}

.orbit-item-label p {
  display: none;
  margin: 0.4rem 0 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
}

.orbit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  color: var(--gold-deep);
}

.orbit-item:first-of-type { border-top: 1px solid color-mix(in srgb, var(--gold) 24%, transparent); }

.orbit-item figure {
  margin: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--gold);
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-item-label {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.orbit-item-label span {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}

.orbit-item-label strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

html.has-motion .orbit-item {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}

html.has-motion .orbit-item figure {
  width: 100%;
  height: 100%;
}

html.has-motion .orbit-item.is-orbiting .orbit-item-label {
  position: absolute;
  left: 112%;
  right: auto;
  top: 50%;
  width: min(22rem, 34vw);
  display: block;
  grid-template-columns: none;
  text-align: left;
  transform: translateY(-50%);
  pointer-events: none;
}

html.has-motion .orbit-item.is-orbiting .orbit-item-label span {
  display: block;
  margin-bottom: 0.2rem;
}

html.has-motion .orbit-item.is-orbiting .orbit-item-label strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 0.45rem;
}

html.has-motion .orbit-item.is-orbiting .orbit-item-label p {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .formed-do-track { height: auto; }
  .formed-do-pin {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .orbit-item figure {
    width: 4.5rem;
    height: 4.5rem;
  }
  .orbit-item-label p { display: block; }
  html.has-motion .formed-news {
    height: auto;
    padding: clamp(4rem, 9vh, 7rem) var(--gutter) clamp(4.5rem, 10vh, 8rem);
    background: #fff;
  }
  html.has-motion .news-stage {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.formed-news {
  padding: clamp(4rem, 9vh, 7rem) var(--gutter) clamp(4.5rem, 10vh, 8rem);
  background: #fff;
  color: var(--ink);
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

html.has-motion .formed-news {
  position: relative;
  z-index: 4;
  height: 170vh;
  padding: 0;
  border-top: 0;
  background: transparent;
}

html.has-motion .news-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: auto;
  padding: clamp(4rem, 9vh, 7rem) var(--gutter) clamp(4.5rem, 10vh, 8rem);
  background: #fff;
  -webkit-mask-image: linear-gradient(#0000, #0000);
  mask-image: linear-gradient(#0000, #0000);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
}

.formed-news-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vh, 3.4rem);
}

.formed-news-head .formed-arrow { margin-top: 0; }

.formed-news-grid {
  display: grid;
  gap: 1.6rem 1.25rem;
}

@media (min-width: 700px) {
  .formed-news-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .formed-news-grid { grid-template-columns: repeat(4, 1fr); }
}

.formed-news-grid a {
  display: grid;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.formed-news-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--gold);
  transition: transform 0.7s var(--ease);
}

.formed-news-grid a:hover img { transform: scale(1.035); }

.formed-news-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.formed-news-grid h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--gold-deep);
}

@media (prefers-reduced-motion: reduce) {
  .formed-news-grid a:hover img { transform: none; }
}

.formed-cta {
  display: grid;
  gap: clamp(2.2rem, 5vh, 3.6rem);
  padding: clamp(4.5rem, 11vh, 8.5rem) var(--gutter) clamp(4.2rem, 9vh, 7.2rem);
  background: #fff;
  color: var(--ink);
  scroll-margin-top: 4.75rem;
}

.formed-cta-head {
  display: grid;
  gap: 1.15rem 3.2rem;
}

.formed-cta-head h2 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--gold-deep);
  max-width: 14ch;
  text-wrap: balance;
}

.formed-cta-lede {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  max-width: 38rem;
}

.formed-cta-lede p {
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
  font-size: var(--step-0);
  line-height: 1.65;
  max-width: 52ch;
}

.formed-cta-lede .formed-arrow {
  margin-top: 0.2rem;
}

.formed-cta-rule {
  height: 1px;
  background: color-mix(in srgb, var(--gold) 28%, transparent);
  transform-origin: 0 50%;
}

.formed-cta-body {
  display: grid;
  gap: 1.6rem 3.2rem;
  align-items: start;
  padding-top: clamp(0.4rem, 1vh, 0.8rem);
}

.formed-cta-pic {
  margin: 0;
  overflow: hidden;
  background: var(--gold);
}

.formed-cta-pic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  transform-origin: 50% 42%;
}

.formed-form {
  margin: 0;
  padding: 0;
  border: 0;
}

.formed-cta .inquire {
  grid-template-columns: 1fr;
}

.formed-form.inquire input,
.formed-form.inquire textarea {
  color: var(--ink);
  caret-color: var(--gold);
  border-bottom-color: var(--gold);
}

.formed-form.inquire input::placeholder,
.formed-form.inquire textarea::placeholder {
  color: color-mix(in srgb, var(--gold-deep) 48%, var(--ink));
}

.formed-form.inquire label {
  color: var(--gold-deep);
}

.formed-form-full { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .formed-cta-head {
    grid-template-columns: minmax(18rem, 1.15fr) minmax(16rem, 0.9fr);
    align-items: end;
  }

  .formed-cta-lede {
    justify-self: end;
    width: min(38rem, 100%);
    padding-bottom: 0.2rem;
  }

  .formed-cta-body {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.9fr);
  }
}

@media (max-width: 899px) {
  .formed-cta-pic { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .formed-arrow:hover::before { transform: none; }
}

body.inner {
  background: #fff;
}

body.inner .nav-fill {
  transform: scaleY(1);
  opacity: 1;
}

.page {
  padding-top: clamp(6.6rem, 12vh, 8.2rem);
  background: #fff;
}

.ig-feed {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  background: var(--ivory);
  color: var(--ink);
}

.manifesto-track {
  z-index: 4;
  margin-top: -22vh;
  background: transparent;
}

.manifesto-veil {
  height: 22vh;
  margin-bottom: -1px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff 72%, #fff);
  pointer-events: none;
}

.ig-feed-copy {
  position: relative;
  z-index: 4;
  margin-bottom: 0;
  padding: clamp(5.5rem, 11vh, 7rem) var(--gutter) 1.4rem;
  text-align: center;
  background: var(--ivory);
}

.ig-feed-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ig-feed-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.ig-feed-copy h2 span {
  display: block;
}

.ig-feed-em {
  color: var(--gold-deep);
}

.ig-feed-dek {
  max-width: 40rem;
  margin: 1.1rem auto 0;
  color: var(--ink-soft);
}

.ig-feed-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1rem;
  margin-top: 1.4rem;
}

.ig-feed-glow {
  position: absolute;
  z-index: 1;
  top: 28%;
  left: 0;
  width: 100%;
  height: 46vh;
  background: linear-gradient(90deg, var(--gold-deep), var(--cream-deep), var(--gold));
  filter: blur(84px);
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
}

.ig-feed-scroll {
  position: relative;
  z-index: 2;
  height: auto;
}

.ig-feed-sticky {
  position: relative;
  height: auto;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: center center;
}

.ig-feed-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 0.7rem;
  width: min(1760px, calc(100% - 1.5rem));
  height: auto;
  margin-inline: auto;
  padding: 0 0 2.5rem;
  transform-origin: 50% 42%;
  transform-style: preserve-3d;
}

.ig-feed-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  transform-style: preserve-3d;
}

.ig-feed-col a {
  position: relative;
  display: block;
}

.ig-feed-col img,
.ig-feed-col video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgb(20 16 8 / 0.16);
  background: var(--ink);
}

.ig-reel {
  position: absolute;
  z-index: 1;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgb(20 16 8 / 0.72);
  color: var(--ivory);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

html.has-motion .ig-feed-scroll {
  height: 240vh;
  margin-top: -2.5rem;
}

html.has-motion .ig-feed-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  padding-top: 4.4rem;
  overflow: hidden;
}

html.has-motion .ig-feed-grid {
  width: min(1760px, calc(100vw - 1.25rem));
  max-width: none;
  padding-bottom: 0;
}

html.has-motion .ig-feed-col {
  width: auto;
}

@media (max-width: 720px) {
  .ig-feed {
    overflow-x: clip;
  }

  .ig-feed-copy {
    margin-bottom: 0;
    padding-top: 5.6rem;
    padding-bottom: 1rem;
  }

  .ig-feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    width: calc(100% - 0.8rem);
  }

  .ig-feed-col {
    gap: 0.45rem;
  }

  .ig-reel {
    left: 0.4rem;
    bottom: 0.4rem;
    padding: 0.22rem 0.42rem;
    font-size: 0.54rem;
  }

  html.has-motion .ig-feed-scroll {
    height: auto;
    margin-top: 0;
  }

  html.has-motion .ig-feed-sticky {
    position: relative;
    display: block;
    height: auto;
    padding-top: 0;
    overflow: hidden;
  }

  html.has-motion .ig-feed-grid {
    width: calc(100% - 0.8rem);
  }

  html.has-motion .ig-feed-col {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ig-feed-line {
    filter: none;
  }
}

.page-hero {
  display: grid;
  gap: 1.4rem 3rem;
  padding: 0 var(--gutter) clamp(2.4rem, 6vh, 3.8rem);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold-deep);
}

.page-hero .lede {
  max-width: 38rem;
  color: color-mix(in srgb, var(--gold-deep) 38%, var(--ink));
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.32rem);
  line-height: 1.55;
}

.page-hero .lede p + p {
  margin-top: 0.85rem;
  color: var(--gold-deep);
}

@media (min-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-hero .lede {
    justify-self: end;
    width: min(38rem, 100%);
  }
}

.page .formed-about {
  position: relative;
  top: auto;
  padding-top: 0;
}

.page-work .formed-panel {
  position: relative;
  height: min(86svh, 46rem);
}

.page-services {
  padding: 0 var(--gutter) clamp(4rem, 9vh, 7rem);
}

.service-row {
  display: grid;
  gap: 0.85rem 3rem;
  padding: clamp(1.6rem, 4vh, 2.6rem) 0;
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

.service-row:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

.service-row h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--gold-deep);
}

.service-num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--gold) 70%, var(--ivory));
  margin-bottom: 0.35rem;
}

.service-row p {
  max-width: 42rem;
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
  font-size: var(--step-0);
  line-height: 1.65;
}

.service-row p + p { margin-top: 0.75rem; }

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

.page-proof {
  display: grid;
  gap: 1rem 3rem;
  padding: 0 var(--gutter) clamp(3.4rem, 8vh, 5.5rem);
}

.page-proof h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  color: var(--gold-deep);
  letter-spacing: -0.03em;
}

.page-proof p {
  max-width: 42rem;
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
  line-height: 1.65;
}

.page-proof ul {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--gold-deep);
}

@media (min-width: 900px) {
  .page-proof {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
  }
}

.about-hero {
  display: grid;
  min-height: 100svh;
  padding-top: 4.75rem;
  background: var(--ink);
  color: var(--ivory);
}

.about-hero-photo {
  margin: 0;
  min-height: 62svh;
  background: var(--ink);
  overflow: hidden;
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 62svh;
  object-fit: cover;
  object-position: 50% 24%;
}

.about-hero-copy {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  padding: 2.2rem var(--gutter) 3.2rem;
}

.about-hero h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--gold);
}

.about-role {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--ivory) 78%, var(--gold));
}

.about-lede {
  max-width: 36rem;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--ivory) 88%, var(--gold));
}

.about-hero .btn-ghost {
  justify-self: start;
  margin-top: 0.6rem;
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 50%, transparent);
}

.about-hero .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (min-width: 900px) {
  .about-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
    align-items: stretch;
  }

  .about-hero-photo {
    min-height: calc(100svh - 4.75rem);
  }

  .about-hero-photo img {
    min-height: calc(100svh - 4.75rem);
  }

  .about-hero-copy {
    padding: 2.4rem var(--gutter) 4rem 1.5rem;
  }
}

.about-body {
  background: #fff;
  color: var(--ink);
}

.about-split {
  display: grid;
  gap: 1.4rem 3.2rem;
  padding: clamp(3.6rem, 9vh, 6.5rem) var(--gutter) clamp(2.4rem, 6vh, 4rem);
}

.about-split h2,
.about-closes h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--gold-deep);
  max-width: 12ch;
  text-wrap: balance;
}

.about-split-copy {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.about-split-copy p {
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
  font-size: var(--step-0);
  line-height: 1.65;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

.about-closes {
  padding: 0 var(--gutter) clamp(4.5rem, 11vh, 7.5rem);
}

.about-closes ol {
  margin: 1.8rem 0 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

.about-closes li {
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

.about-closes a {
  display: grid;
  gap: 0.25rem 2rem;
  padding: 1.15rem 0;
  text-decoration: none;
  color: inherit;
}

.about-close-city {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--gold-deep);
}

.about-close-note {
  font-size: 0.98rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--gold-deep) 48%, var(--ink));
}

.about-closes a:hover .about-close-city {
  color: var(--gold);
}

.about-closes-foot {
  max-width: 42rem;
  margin-top: 1.6rem;
  color: color-mix(in srgb, var(--gold-deep) 42%, var(--ink));
  line-height: 1.65;
}

@media (min-width: 800px) {
  .about-closes a {
    grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.2fr);
    align-items: baseline;
  }

  .about-close-note { text-align: right; }
}
