 * { box-sizing: border-box; }
  html { background: var(--ground); }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--paper);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
  h1{
    font-weight: 100;
  }
  p { margin: 0; }
  a { color: inherit; }
  ::selection { background: var(--red); color: var(--paper); }
  :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

  .eyebrow {
    font-family: var(--mono);
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--paper);
  }

  /* ── Nav (removed site-wide — hero covers its job: brand mark,
     and every section is reachable by scrolling the pinned sequence) ── */
  .nav {
    display: none;
    position: relative;
    z-index: 20;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--edge);
    background: var(--ground);
    border-bottom: 1px solid var(--line);
  }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .brand img { width: 38px; height: 38px; display: block; border-radius: 0; }
  .brand span { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: var(--paper); }
  .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
  .nav-links a { text-decoration: none; color: var(--paper-dim); transition: color 0.2s; }
  .nav-links a:hover { color: var(--paper); }
  .nav-cta { border: 1px solid var(--paper-faint); border-radius: 999px; padding: 9px 18px !important; color: var(--paper) !important; }
  .nav-cta:hover { border-color: var(--red); background: var(--red); color: var(--red-ink) !important; }
.nav-toggle {
    display: none;
    width: 36px; height: 36px;
    background: transparent;
    padding: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
        position: relative;
    z-index: 1;
        border: 0;
  }
  .nav-toggle:hover { border-color: var(--red); }
  .nav-toggle svg { width: 32px; height: 32px; display: block; }
  .nav-toggle .icon-close { display: none; }
  .nav.is-open .nav-toggle .icon-open { display: none; }
  .nav.is-open .nav-toggle .icon-close { display: block; }
  main { position: relative; z-index: 1; }
  section { padding: clamp(48px, 7vw, 80px) var(--edge); }

  /* ── Hero (3 static photos on a continuous timer loop, same on every
     breakpoint — not tied to scroll at all; see the Hero script) ── */
  .hero-scrollytell { position: relative; }
  .hero { position: relative; overflow: hidden; height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(30px, 6vmin, 90px); }
  .hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--media-ground); }
  .hero-media-item {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.1s ease;
  }
  .hero-media-item.active { opacity: 1; }
  .hero-media-item.pan { animation: heroPan 5s linear forwards; }
  @keyframes heroPan {
    0% { transform: scale(1.18) translateX(-4%); }
    100% { transform: scale(1.18) translateX(4%); }
  }
  @keyframes heroPanReverse {
    0% { transform: scale(1.18) translateX(4%); }
    100% { transform: scale(1.18) translateX(-4%); }
  }
  #hero-media-photo-1.pan { animation-name: heroPanReverse; }
  #hero-media-photo-2.pan { animation-name: heroPanReverse; }
  /* Crop from the top instead of centering, so more sky shows above the
     house rather than cropping it off evenly top and bottom. */
/*   #hero-media-photo-1 { object-position: center top; } */
  /* Mobile-only: photo 0 starts dead center (rather than already offset
     like the shared heroPan/heroPanReverse both are at 0%) and pans out
     to a side from there -- see the object-position override below too,
     which drops this image's usual "right center" mobile crop bias so
     the centered start actually shows center. */
  @keyframes heroPanFromCenter {
    0% { transform: scale(1.18) translateX(0%); }
    100% { transform: scale(1.18) translateX(8%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-media-item.pan { animation: none; }
  }
  .hero-scrim {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(180deg, rgba(12,10,8,0.28) 0%, rgba(12,10,8,0.32) 45%, rgba(12,10,8,0.65) 100%),
      linear-gradient(90deg, rgba(12,10,8,0.32) 0%, rgba(12,10,8,0.08) 40%, rgba(12,10,8,0.08) 60%, rgba(12,10,8,0.32) 100%);
  }
  .hero-top, .hero h1, .hero-sub { position: relative; z-index: 2; }
  .hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
  .hero-top .eyebrow { padding-top: 18px; color: var(--media-ink-dim); }
  .hero-mark { width: clamp(64px, 9vmin, 120px); height: clamp(64px, 9vmin, 120px); flex-shrink: 0; border-radius: 0; overflow: hidden; }
  .hero-mark img { width: 100%; height: 100%; display: block; }
  .hero h1 {
    font-family: var(--display-black);
    font-weight: 100;
    font-size: clamp(72px, 14vmin, 184px);
    line-height: 0.9;
    margin-top: clamp(10px, 2vmin, 20px);
    max-width: 15ch;
    letter-spacing: 0;
    color: var(--media-ink);
    transform-origin: left bottom;
  }
  .hero h1.reveal { transform: translateY(18px) scale(0.5); }
  .hero h1.reveal.in-view { transform: translateY(0) scale(0.5); }
  .hero h1 em { font-style: normal; color: var(--red); }
  .hero-sub { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-top: clamp(20px, 4vmin, 56px); padding-top: clamp(14px, 2vmin, 26px); border-top: 1px solid var(--media-line); flex-wrap: wrap; }
  .hero-sub > p { max-width: 44ch; font-size: clamp(14px, 1.8vmin, 17px); color: var(--media-ink-dim); }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  /* ── Scroll cue arrows — small red chevrons pinned to the top/bottom
     edge of each pinned section, hinting that scrolling continues in
     that direction. Decorative only, not interactive. ── */
  .scroll-cue { position: absolute; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; z-index: 3; color: var(--red); opacity: 0.5; pointer-events: none; }
  .scroll-cue svg { width: 100%; height: 100%; display: block; }
  .scroll-cue--up { top: 18px; animation: scrollCueUp 1.8s ease-in-out infinite; }
  .scroll-cue--down { bottom: 18px; animation: scrollCueDown 1.8s ease-in-out infinite; }
  @keyframes scrollCueUp { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } }
  @keyframes scrollCueDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(5px); } }
  @media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

  /* ── Focus + Intro (not pinned -- scrolling the section into view fires
     a single timed sequence where the 3 focus items, then the "What we
     deliver" heading, turn red one after another over ~1s and stay lit;
     the copy paragraphs are always visible, ungated. Scrolling is never
     held for it -- see the Focus + Intro script -- so it's always easy
     to scroll straight past mid-reveal.) ── */
  .focus-scrollytell { position: relative; height: calc(1 * 100dvh); }
  .focus {
    position: relative; height: 100dvh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    border-top: 1px solid var(--line); padding-top: clamp(50px, 9vw, 110px);
    will-change: transform;
  }
  .focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 40px); margin-top: clamp(20px, 3vw, 28px); }
  .focus-item { border-top: 1px solid var(--line); padding-top: 16px; }
  .focus-item .num { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: 0.06em; }
  .focus-item h3 { margin-top: 8px; font-size: clamp(18px, 2.2vw, 26px); color: var(--paper-faint); transition: color 0.4s ease; }
  .focus-item.lit h3 { color: var(--red); }

  .intro { border-top: 1px solid var(--line); margin-top: clamp(24px, 4vw, 36px); padding-top: clamp(24px, 4vw, 36px); display: grid; grid-template-columns: minmax(160px, 0.6fr) 1fr; gap: 40px; }
  .intro h2 { font-size: clamp(24px, 2.8vw, 34px); max-width: 20ch; color: var(--paper-faint); transition: color 0.4s ease; }
  .intro-head.lit h2 { color: var(--red); }
  .intro-subhead { margin-top: 10px; }
  .intro-copy { max-width: 62ch; }
  .intro-copy p { font-size: 15px; color: var(--paper-dim); }
  .intro-copy p + p { margin-top: 12px; }
  .intro-copy strong { color: var(--paper); font-weight: 700; }

  /* ── Process (pinned scrollytelling — one stage per scroll) ── */
  .process { background: var(--ground); border-bottom: 1px solid var(--line); padding: 0; }

  /* 6 scroll buckets -- one per Build Path step. Window Packages used to
     be a 7th bucket sharing this same pinned box, but now lives in its
     own unpinned section entirely (#scrollytell-mobile-pkg, shown at
     every width -- see that id's rules below and the Process script). */
  .scrollytell { position: relative; height: calc(6 * 100dvh); }
  .stage-pin {
    position: sticky; top: 0; height: 100dvh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 56px var(--edge);
    overflow: hidden;
  }
  .stage-media-layer {
    position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.9s ease;
  }
  .stage-media-layer.active { opacity: 1; }
  .stage-media-layer canvas { width: 100%; height: 100%; display: block; }
  .stage-scrim {
    position: absolute; inset: 0; z-index: 1;
    background: var(--ground);
  }
  .stage-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    grid-template-areas: "tracker tracker" "text cad";
    column-gap: 56px;
    align-items: center;
  }
  .stage-row { display: contents; }

  .tracker { grid-area: tracker; margin-bottom: clamp(40px, 6vw, 64px); display: grid; }
  /* Both paths' tracker markup share this one grid cell (grid auto-sizes
     to the taller of the two) and crossfade via opacity, the same
     reveal used by .stage-panel below -- so switching from the 6-step
     Build Path to the 4-step Window Packages path reads as one section
     changing outfits, not a layout jump. */
  .path-tracker { grid-row: 1; grid-column: 1; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.5s ease, transform 0.5s ease; }
  .path-tracker.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .tracker-title { font-family: var(--mono); font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); margin-bottom: 22px; }
  .phase-groups { display: grid; grid-template-columns: repeat(2, 1fr) 10px repeat(4, 1fr); gap: 6px; margin-bottom: 4px; }
  .phase-group { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .phase-group .phase-label { margin-bottom: 8px; font-size: 10px; }
  .phase-brace {
    display: block; width: 100%; height: 12px;
    border-top: 1.5px solid var(--phase-color);
    border-left: 1.5px solid var(--phase-color);
    border-right: 1.5px solid var(--phase-color);
  }
  .tracker-row { display: grid; grid-template-columns: repeat(2, 1fr) 10px repeat(4, 1fr); gap: 6px; margin-top: 12px; }
  .tracker-row.cols-4, .tracker-labels.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .tracker-seg { height: 5px; border-radius: 3px; background: var(--paper-faint); transition: background 0.4s ease; }
  .tracker-seg.gap { background: transparent; }
  .tracker-seg.filled { background: var(--red); }
  .tracker-labels { display: grid; grid-template-columns: repeat(2, 1fr) 10px repeat(4, 1fr); gap: 6px; margin-top: 10px; }
  .tracker-labels span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; color: var(--paper-faint); transition: color 0.4s ease; }
  .tracker-labels span.filled { color: var(--paper-dim); }

  /* Stages stack in the same slot and crossfade — one disappears as the
     next appears, instead of scrolling to separate chunks of page. */
  .stage-slot { grid-area: text; position: relative; min-height: 320px; min-width: 0; }

  /* Real CAD linework (4 layers, split in Rhino) building up next to the
     Window Packages stages (7-10) — each layer draws itself in as its
     stage is reached, illustrating growing level of detail; blank
     through the 6 Build Path stages, which instead show the 7-frame
     photo build-up (.build-anim) below. Both share this one slot and
     crossfade the same way .path-tracker does. Sits beside the text on
     desktop; on phones it moves above everything (see the mobile
     breakpoint) since there's no room beside the text. */
  .cad-panel-wrap { grid-area: cad; position: relative; display: flex; justify-content: center; align-items: center; min-width: 0; }
  .cad-panel {
    position: absolute; inset: 0; margin: auto;
    width: 340px; aspect-ratio: 1 / 1;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .cad-panel.visible { opacity: 1; transform: translateY(0); }
  /* Build Path's 7-frame photo build-up (00 slab ... 06 roof) -- each
     frame is a full replacement image, crossfaded like .stage-panel,
     rather than cumulative linework like the CAD layers above. */
  .build-anim {
    /* left/top/transform centering (not inset:0 + margin:auto) because
       the mobile breakout below makes this wider than its container,
       and auto-margin centering doesn't split that overflow evenly. */
    position: absolute; left: 50%; top: 50%;
    width: min(480px, 100%); aspect-ratio: 1729 / 1229;
    opacity: 0; transform: translate(-50%, calc(-50% + 10px));
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .build-anim.visible { opacity: 1; transform: translate(-50%, -50%); }
  .build-anim-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.5s ease; }
  .build-anim-frame.active { opacity: 1; }
  .cad-panel svg { width: 100%; height: 100%; display: block; }
  .cad-layer path {
    fill: none; stroke: var(--red); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0; transition: opacity 0.4s ease, stroke-dashoffset 1.1s ease;
  }
  .cad-layer.active path { opacity: 0.85; stroke-dashoffset: 0 !important; }
  /* Hatch fills (4 layers, matched 1:1 to the linework above in Rhino) --
     sit behind the linework (drawn first in the svg) and, unlike the
     cumulative cad-layer strokes, only ever show one layer at a time:
     each step's fill replaces the previous one instead of stacking. */
  .hatch-layer path { fill: #fff; stroke: none; opacity: 0; transition: opacity 0.4s ease; }
  .hatch-layer.active path { opacity: 0.9; }
  .stage-panel {
    position: absolute; inset: 0;
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .stage-panel.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .tracker-seg.stage-glow { animation: segGlow 0.375s steps(1, end) 1; }
  @keyframes segGlow {
    0% { box-shadow: 0 0 12px 3px rgba(255,36,0,0.85); background: #ff5a38; }
    50% { box-shadow: 0 0 0 rgba(255,36,0,0); background: var(--red); }
    100% { box-shadow: 0 0 12px 3px rgba(255,36,0,0.85); background: #ff5a38; }
  }

  .phase-label { font-family: var(--mono); font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--phase-color); margin-bottom: 18px; }
  .phase-label span { color: var(--paper-dim); text-transform: none; letter-spacing: 0; font-family: var(--body); margin-left: 10px; }

  .stage-content { display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: start; }
  .stage-content .num { font-family: var(--mono); font-size: 16px; color: var(--phase-color); visibility: hidden; }
  .stage-body h3 { font-size: clamp(28px, 4.4vw, 58px); font-weight: 700; color: var(--paper); }
  .stage-body p { margin-top: 16px; font-size: 18px; color: var(--paper-dim); max-width: 58ch; }

  /* ── Work ──────────────────────────────────────────────── */
  /* ── Work (pinned scrollytelling — 1 step: scrolling the section into
     view locks scrolling and fades the 3 project tiles in one after
     another over ~2s, then stays visible/clickable) ── */
  .work-scrollytell { position: relative; height: calc(1 * 100dvh); }
  .work {
    position: sticky; top: 0; height: 100dvh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    border-bottom: 1px solid var(--line);
    will-change: transform;
  }
  .work-head h2 { font-size: clamp(22px, 2.4vw, 36px); margin-top: 14px; }
  .work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
  .work-tile {
    aspect-ratio: 1 / 1; position: relative; overflow: hidden; border-radius: 2px; background: var(--media-ground);
    opacity: 0; pointer-events: none; transition: opacity 0.7s ease;
  }
  .work-tile.shown { opacity: 1; pointer-events: auto; }
  .work-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.5s ease; touch-action: manipulation; }
  .work-tile:hover .work-preview { transform: scale(1.03); }
  .work-slide { display: none; }
  .work-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,0.72), rgba(10,8,6,0) 52%); pointer-events: none; z-index: 1; }
  .work-tile-label { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--media-ink); pointer-events: none; }
  .work-tile-label b { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: none; letter-spacing: 0; margin-top: 2px; transition: color 0.2s ease; }
  .work-tile:hover .work-tile-label b { color: var(--red); }

  /* ── Work lightbox — isolated full-screen photo viewer ──── */
  .lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: #0a0806;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
    touch-action: manipulation;
  }
  .lightbox.open { opacity: 1; visibility: visible; }
  .lightbox-img { max-width: min(88vw, 1400px); max-height: 82vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
  .lightbox-close, .lightbox-nav {
    position: absolute; z-index: 3; padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(23,19,16,0.5); border: 1px solid rgba(247,244,238,0.4); color: var(--media-ink);
    transition: background 0.2s ease, border-color 0.2s ease;
    touch-action: manipulation;
  }
  .lightbox-close:hover, .lightbox-nav:hover { background: var(--red); border-color: var(--red); }
  .lightbox-close { top: 20px; right: 20px; width: 42px; height: 42px; }
  .lightbox-close svg { width: 18px; height: 18px; }
  .lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
  .lightbox-nav svg { width: 20px; height: 20px; }
  .lightbox-nav.prev { left: 20px; }
  .lightbox-nav.next { right: 20px; }
  .lightbox-meta {
    position: absolute; left: 24px; bottom: 20px; z-index: 3;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--media-ink);
  }
  .lightbox-meta b { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: none; letter-spacing: 0; margin-top: 2px; }
  @media (max-width: 640px) {
    .lightbox-img { max-width: 92vw; max-height: 72vh; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-close { top: 12px; right: 12px; }
    .lightbox-meta { left: 16px; bottom: 14px; }
  }

  /* ── CTA + Footer ──────────────────────────────────────── */
  /* ── CTA (pinned scrollytelling — 1 step: the underline draws in,
     then releases to reveal the footer underneath) ── */
  .cta-scrollytell { position: relative; height: calc(1 * 100dvh); }
  .cta { position: sticky; top: 0; height: clamp(480px, 62vh, 680px); max-height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; text-align: center; will-change: transform; }
  .cta h2 { font-family: var(--display-black); font-size: clamp(38px, 6.4vw, 72px); line-height: 0.92; max-width: 16ch; margin: 0 auto; letter-spacing: -0.02em; }
  .cta-highlight {
    position: relative; display: inline-block;
    color: var(--paper); transition: color 0.4s ease;
  }
  .cta-highlight::after {
    content: ""; position: absolute; left: 0; bottom: -0.2em; width: 100%; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left;
    transition: transform 0.7s ease;
  }
  .cta-highlight.line-active::after { transform: scaleX(1); }
  .cta-highlight.text-active { color: var(--red); }
  .cta-mail { display: inline-flex; align-self: center; align-items: center; gap: 10px; margin-top: 32px; font-family: var(--mono); font-size: 16px; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 4px; }
  .cta-mail:hover { color: var(--red); }

  footer { padding: 20px var(--edge) 0; }
  .foot-top { border-top: 1px solid var(--line); padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--paper-dim); }
  footer .brand span { color: var(--paper); }
  footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px;}
  footer nav a { text-decoration: none; color: var(--paper-dim); }
  footer nav a:hover { color: var(--paper); }
  .foot-right { text-align: right; }
  .foot-right a { text-decoration: none; color: var(--paper-dim); }
  .foot-right a:hover { color: var(--red); }
  .foot-sig {
    position: relative;
    font-family: var(--display-black); font-size: clamp(48px, 12vw, 168px); line-height: 0.86; letter-spacing: -0.02em;
    color: var(--ground-raised); padding: 30px 0 20px; user-select: none;
  }
  .foot-sig::after {
    content: "RED FALLS"; position: absolute; inset: 0; padding: 30px 0 20px; margin: 0;
    font: inherit; line-height: inherit; letter-spacing: inherit;
    background-image: linear-gradient(90deg, transparent 30%, rgba(255,36,0,0.55) 50%, transparent 70%);
    background-size: 220% 100%; background-position: 160% 0; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    pointer-events: none;
  }
  .foot-sig.shimmer::after { animation: footShimmer 5s linear forwards; }
  @keyframes footShimmer {
    0% { background-position: 160% 0; }
    100% { background-position: -40% 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .foot-sig::after { display: none; }
  }
  .foot-bottom { border-top: 1px solid var(--line); padding: 18px 0 26px; font-size: 12px; color: var(--paper-faint); font-family: var(--mono); }

  /* Mobile Build Path gets its own separate pinned section, a duplicate
     of desktop's -- the old shared 7-bucket wrapper's fractional
     snap-to-bucket-7 math proved too fragile against real touch/scroll
     timing on iOS (scrolling could get stuck there entirely). It reuses
     the exact same inner markup/classes/CSS as desktop's #scrollytell
     (including this file's other mobile overrides below, which aren't
     scoped to #scrollytell), just inside its own independent wrapper --
     hidden here, shown only on mobile. */
  .scrollytell-mobile-build { display: none; }

  /* Window Packages: its own unpinned section, shown at every width (not
     just mobile, despite the id/class name predating that). Never
     scroll-locked and never sticky -- see the .stage-pin override just
     below -- so it's always easy to scroll straight past into Selected
     Work without waiting for the loop to finish; the CAD linework + 4
     steps just play on their own timer for as long as it's in view (see
     the Mobile Window Packages script). */
  .scrollytell-mobile-pkg { display: block; position: relative; }
  .scrollytell-mobile-pkg .stage-pin { position: relative; border-bottom: 1px solid var(--line); }

  @media (max-width: 860px) {
    .process { display: none; }
    .scrollytell-mobile-build { display: block; position: relative; height: calc(6 * 100dvh); }

    .hero-media-item { object-position: right center; }
    #hero-media-photo-0 { object-position: center center; }
    #hero-media-photo-0.pan { animation-name: heroPanFromCenter; }
    #hero-media-photo-1 { object-position: 20% top; }
    #hero-media-photo-2 { object-position: center center; }

    /* Mobile top-aligns instead of centering (desktop's own choice,
       kept as-is) -- everything else about the Hero loop is identical
       on both breakpoints now, see the Hero script. */
    .hero { justify-content: flex-start; padding-top: 30px; }

    /* Pinned sections: top-align instead of center so overflow (on
       short viewports) clips from the bottom only, never the top —
       same fix Build Path needed. Padding trimmed to match. */
    .focus { justify-content: flex-start; padding-top: 24px; }
    .work { justify-content: flex-start; padding-top: 24px; }
    .cta { padding-bottom: 30px; }

    .focus-grid { gap: 10px; margin-top: 14px; }
    .focus-item { padding-top: 10px; }
    .focus-item h3 { font-size: 14px; margin-top: 4px; }
    .intro {grid-template-columns: 1fr;margin-top: 1.8rem;padding-top: 1.8rem;gap: 8px;}
    /* Only the "One Project, Two Phases" heading moves below the copy on
       mobile -- the "What we deliver" eyebrow stays put above it, so
       .intro-head (which normally wraps both as one block) is unboxed
       here to let its two children take independent grid order.
       Desktop's side-by-side layout is unaffected. */
    .intro-head { display: contents; }
    .intro-head .eyebrow { order: 0; }
    .intro-copy { order: 1; }
    .intro-head .intro-subhead { order: 2; margin-top: 18px; }
    .intro h2 { font-size: 20px; }
    .intro-subhead br { display: none; }
    .intro-copy p { font-size: 15px; }
    .intro-copy p + p { margin-top: 18px; }

    /* Work's sticky, fixed-height (100dvh) + overflow:hidden desktop
       layout assumed its content always fits one screen -- true for 3
       tiles, not the current 4 (or whatever count comes next), so the
       last tile's bottom was getting clipped by overflow:hidden rather
       than scaled or scrolled to. No JS runs for this section on mobile
       any more (see the Work script's isMobile bail-out) so nothing
       depends on it being pinned or a fixed height here -- just let it
       flow normally and grow to fit however many tiles there are. */
    .work-scrollytell { height: auto; }
    .work { position: static; height: auto; overflow: visible; }
    .work-head h2 { font-size: 18px; margin-top: 8px; }
    .work-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
    /* No scroll-triggered fade on mobile (see the Work section script) --
       tiles are just there, visible and clickable, the instant they're
       in the DOM. */
    .work-tile { aspect-ratio: 16 / 9; opacity: 1; pointer-events: auto; transition: none; }
    .work-tile-label { left: 12px; bottom: 10px; right: 12px; font-size: 10px; }
    .work-tile-label b { font-size: 15px; margin-top: 2px; }

    .stage-content { grid-template-columns: 50px 1fr; }
    .stage-slot { min-height: 216px; }
    .stage-inner {
      grid-template-columns: 1fr;
      grid-template-areas: "cad" "tracker" "text";
    }
    .cad-panel-wrap { margin-bottom: 10px; min-height: min(380px, 90vw); }
    .cad-panel { width: min(380px, 90vw); }
    /* Build Path's photo animation breaks out to the full section width
       (beyond the text column's own edge padding) instead of matching
       the CAD panel's narrower box -- both larger and tighter against
       the top of the section than a same-size, padded fit would allow.
       The wrapper's height is matched to it via :has() below so there's
       no leftover blank gap from the CAD panel's taller square shape. */
    .build-anim { width: calc(100% + 2 * var(--edge)); }
    .cad-panel-wrap:has(.build-anim.visible) { min-height: calc(100vw * 1229 / 1729); }
    .foot-top { flex-direction: column; align-items: flex-start; }
    .foot-right { text-align: left; }
    .tracker { margin-bottom: 18px; }
    .tracker-title { margin-bottom: 10px; }
    .phase-group .phase-label { margin-bottom: 4px; }
    .phase-group .phase-label .phase-word { display: block; margin-top: 1px; }
    .phase-group .phase-label .phase-dash { display: none; }
    .phase-group .phase-label .phase-sub { margin-left: 0; }
    .stage-body p { margin-top: 10px; }
    .stage-pin {
      padding: 12px var(--edge);
      justify-content: flex-start;
      overflow: hidden;
    }
  }

  @media (max-width: 860px) and (max-height: 720px) {
    .stage-slot { min-height: 216px; }
    .cad-panel-wrap { margin-bottom: 6px; min-height: min(260px, 62vw); }
    .cad-panel { width: min(260px, 62vw); }
    .build-anim { width: calc(100% + 2 * var(--edge)); }
    .cad-panel-wrap:has(.build-anim.visible) { min-height: calc(100vw * 1229 / 1729); }
    .tracker { margin-bottom: 10px; }
    .tracker-title { margin-bottom: 6px; }
    .stage-pin { padding: 8px var(--edge); }
    .work { padding-top: 16px; }
    .work-head h2 { font-size: 16px; margin-top: 6px; }
    .work-grid { gap: 6px; margin-top: 10px; }
    .work-tile { aspect-ratio: 2 / 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .stage-panel, .stage-media-layer, .tracker-seg, .tracker-labels span, .cad-panel, .cad-layer path, .hatch-layer path, .path-tracker, .build-anim, .build-anim-frame { transition: none; }
    .cta-highlight::after { transition: none; }
    .tracker-seg.stage-glow { animation: none; }
  }
  
   /* Blog Css Start */
 /* ── Nav ───────────────────────────────────────────────── */
  .inner .nav {
    position: relative; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px var(--edge);
    background: var(--ground);
    border-bottom: 1px solid var(--line);
  }
  .inner .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .inner .brand img { width: 38px; height: 38px; display: block; border-radius: 0; }
  .inner .brand span { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; color: var(--paper); }
  .inner .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
  .inner .nav-links a { text-decoration: none; color: var(--paper-dim); transition: color 0.2s; }
  .inner .nav-links a:hover { color: var(--paper); }
  .inner .nav-cta { border: 1px solid var(--paper-faint); border-radius: 999px; padding: 9px 18px !important; color: var(--paper) !important; }
  .inner .nav-cta:hover { border-color: var(--red); background: var(--red); color: var(--red-ink) !important; }

  .inner main { padding: 0 var(--edge); }
  .inner .log-head { padding: clamp(70px, 11vw, 120px) 0 clamp(20px, 4vw, 20px); border-bottom: 1px solid var(--line); }
  .inner .log-head h1 { font-family: var(--display-black); font-size: clamp(44px, 7.6vw, 92px); max-width: 14ch; letter-spacing: -0.02em; }
  .inner .log-head p { margin-top: 20px; font-size: 18px; color: var(--paper-dim); max-width: 56ch; }
  .inner .log-head .tagline { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }

  .draft-note { margin: 28px 0 0; padding: 14px 18px; border: 1px dashed var(--paper-faint); border-radius: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--paper-dim); max-width: 62ch; }

  .log-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: clamp(30px, 3vw, 60px) 0; border-bottom: 1px solid var(--line); align-items: center; }
  .log-featured img { width: 100%; aspect-ratio: 4/3; display: block; border-radius: 2px; object-fit: cover; background: #fff; }
  .log-featured .eyebrow { color: var(--red); }
  .log-featured h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); }
  .log-featured p { margin-top: 14px; color: var(--paper-dim); font-size: 16px; max-width: 52ch; }
  .log-featured a { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 13px; color: var(--red); border-bottom: 1px solid var(--paper-faint); padding-bottom: 3px; text-decoration: none; }
  .log-featured a:hover { color: var(--red); border-color: var(--red); }

  .log-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: clamp(40px, 6vw, 64px) 0; }
  .log-card { background: var(--ground); padding: 26px 24px 28px; display: flex; flex-direction: column; }
  .log-card img { width: 100%; aspect-ratio: 16/10; display: block; border-radius: 2px; margin-bottom: 18px; object-fit: cover; }
  .log-card a.card-link { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--red); text-decoration: none; border-bottom: 1px solid var(--paper-faint); padding-bottom: 2px; align-self: flex-start; }
  .log-card a.card-link:hover { color: var(--red); border-color: var(--red); }
  .log-card .eyebrow { color: var(--red); }
  .log-card h3 { margin-top: 10px; font-size: 19px; font-weight: 700; }
  .log-card p { margin-top: 10px; color: var(--paper-dim); font-size: 14px;}


  @media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      position: absolute;
      top: 100%; left: 0; right: 0;
      background: var(--ground);
      border-bottom: 1px solid var(--line);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease;
    }
    .nav.is-open .nav-links {
    max-height: none;
    background: #fff;
    gap: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 0;
    height: 100%;
    padding-top: 5rem;
}
    .nav-links li {
      border-top: 1px solid var(--line);
      width: 100%;
      text-align: center;
  }
    .nav-links a { display: block; font-size: 20px;padding: 15px;}
    .nav-links .nav-cta { margin: 12px var(--edge) 16px; text-align: center; }
    .log-featured { grid-template-columns: 1fr; }
    .log-grid { grid-template-columns: 1fr; }
    footer { flex-direction: column; align-items: flex-start; }
    footer .foot-right { text-align: left; }
  }
 /* Blog Css End */
  
 /* ===================================================== ARTICLE HEADER ===================================================== */
        .article-header {
            max-width: var(--content-width);
            margin: 0 auto;
            padding: clamp(70px, 9vw, 130px) var(--edge) clamp(30px, 3vw, 50px);
        }

        .article-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 24px;
        }

        .article-meta .separator {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--red);
        }

        .article-title {
            max-width: 1050px;
            font-size: clamp(52px, 8vw, 110px);
            line-height: 0.93;
            letter-spacing: -0.035em;
        }

        .article-dek {
            max-width: 760px;
            margin-top: 30px;
            font-size: clamp(18px, 2vw, 23px);
            line-height: 1.5;
            color: var(--paper-dim);
        }

        /* ===================================================== FEATURED IMAGE ===================================================== */
        .article-feature {
            width: calc(100% - (var(--edge) * 2));
            max-width: 1440px;
            margin: 0 auto;
        }

        .article-feature img {
            width: 100%;
            background: var(--ground-raised);
        }

        /* ===================================================== ARTICLE CONTENT ===================================================== */
        .article-layout {
            display: grid;
            grid-template-columns: minmax(0, var(--article-width));
            justify-content: center;
            padding: clamp(60px, 8vw, 110px) var(--edge);
        }

        .article-content {
            width: 100%;
            color: var(--paper-dim);
        }

        /* .article-content>p:first-child {
            font-size: 21px;
            line-height: 1.65;
        } */

        .article-content p {
            margin-bottom: 26px;
        }

        .article-content h2 {
            margin-top: 65px;
            margin-bottom: 22px;
            font-size: clamp(34px, 4vw, 52px);
        }

        .article-content h3 {
            margin-top: 45px;
            margin-bottom: 18px;
            font-size: clamp(27px, 3vw, 38px);
        }

        .article-content ul,
        .article-content ol {
            margin: 0 0 30px;
            padding-left: 24px;
        }

        .article-content li {
            margin-bottom: 10px;
            padding-left: 5px;
        }

        .article-content blockquote {
            margin: 55px 0;
            padding: 28px 32px;
            border-left: 3px solid var(--red);
            background: var(--ground-raised);
            font-family: var(--display);
            font-size: clamp(25px, 3vw, 38px);
            line-height: 1.15;
        }

        .article-content a {
            text-decoration-thickness: 1px;
            text-underline-offset: 4px;
            text-decoration-color: var(--red);
        }

        .article-content img {
            width: 100%;
            margin: 45px 0;
            background: var(--ground-raised);
        }

        .article-caption {
            margin-top: -32px;
            margin-bottom: 40px;
            font-family: var(--mono);
            font-size: 11px;
            line-height: 1.5;
            color: var(--paper-dim);
        }

        /* ===================================================== ARTICLE FOOTER / TAGS ===================================================== */
        .article-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
            margin-top: 70px;
            padding-top: 25px;
            border-top: 1px solid var(--line);
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag {
            padding: 7px 11px;
            border: 1px solid var(--line);
            font-family: var(--mono);
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .back-link {
            font-family: var(--mono);
            font-size: 11px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            text-decoration: none;
            white-space: nowrap;
        }

        .back-link:hover {
            color: var(--red);
        }

        /* ===================================================== RELATED ARTICLES ===================================================== */
        .related {
            margin-top: 40px;
            padding: 80px var(--edge) 100px;
            background: var(--ground-raised);
            border-top: 1px solid var(--line);
        }

        .related-inner {
            max-width: var(--content-width);
            margin: 0 auto;
        }

        .related-heading {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 20px;
            margin-bottom: 35px;
        }

        .related-heading h2 {
            font-size: clamp(38px, 5vw, 65px);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .related-card {
            border: 1px solid var(--line);
            background: var(--ground);
            text-decoration: none;
            transition: transform 0.2s ease;
        }

        .related-card:hover {
            transform: translateY(-4px);
        }

        .related-card-image {
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: var(--ground-raised);
        }

        .related-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .related-card-body {
            padding: 22px;
        }

        .related-card h3 {
            margin-top: 10px;
            font-size: 30px;
            line-height: 1;
        }

        .related-card p {
            margin-top: 12px;
            color: var(--paper-dim);
            font-size: 14px;
            line-height: 1.55;
        }

        /* ===================================================== RESPONSIVE ===================================================== */
        @media (max-width: 800px) {
            .nav {
                padding-top: 13px;
                padding-bottom: 13px;
            }

            .nav-links {
                gap: 15px;
            }


            .article-title {
                font-size: clamp(48px, 14vw, 76px);
            }

            .article-dek {
                font-size: 18px;
            }

            .article-layout {
                padding-top: 20px;
            }

            .article-content>p:first-child {
                font-size: 18px;
            }

            .article-footer {
                align-items: flex-start;
                flex-direction: column;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 520px) {
            .brand span {
                display: none;
            }

            .nav-links {
                gap: 12px;
                border: 0;
            }

            .nav-links a {
                letter-spacing: 0.06em;
            }

            .article-header {
                padding-top: 55px;
            }

            .article-title {
                font-size: 50px;
            }

            .article-feature {
                width: 100%;
            }

            .article-feature img {
                aspect-ratio: 4 / 3;
            }

            .article-content h2 {
                margin-top: 45px;
            }

            .article-content blockquote {
                margin: 40px 0;
                padding: 22px;
            }

            .related {
                padding-top: 55px;
                padding-bottom: 65px;
            }
        }

/* =========================================
   RED FALLS FAQ
   ========================================= */

.rf-faq {
  width: 100%;
  padding: 0px 24px;
  background: #f5f3ee;
}

.rf-faq-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.rf-faq-header {
  margin-bottom: 55px;
}

.rf-faq-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #77736b;
}

.rf-faq-header h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #24231f;
}

.rf-faq-list {
  width: 100%;
  border-top: 1px solid #bdb9af;
}

.rf-faq-item {
  border-bottom: 1px solid #bdb9af;
}

.rf-faq-question {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #24231f;
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.rf-faq-question:hover {
  color: #68645c;
}

.rf-faq-icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.rf-faq-icon::before,
.rf-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.rf-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rf-faq-question[aria-expanded="true"] .rf-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.rf-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.rf-faq-answer-inner {
  overflow: hidden;
}

.rf-faq-answer-inner p {
  max-width: 700px;
  margin: 0;
  padding: 0 50px 28px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #68645c;
}

.rf-faq-question[aria-expanded="true"] + .rf-faq-answer {
  grid-template-rows: 1fr;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

  .rf-faq {
    padding: 20px 20px;
  }

  .rf-faq-header {
    margin-bottom: 35px;
  }

  .rf-faq-header h2 {
    font-size: 40px;
  }

  .rf-faq-question {
    padding: 21px 0;
    font-size: 16px;
  }

  .rf-faq-answer-inner p {
    padding: 0 35px 24px 0;
    font-size: 14px;
  }

}		

.article-content figure.image > img{
    aspect-ratio: unset;
    width: auto;
    max-width: 100%;
    height: auto;
}