/* archivo-vietnamese-wdth-normal */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/_astro/archivo-vietnamese-wdth-normal.rJmnGBSt.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* archivo-latin-ext-wdth-normal */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/_astro/archivo-latin-ext-wdth-normal.7khWdh9v.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* archivo-latin-wdth-normal */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/_astro/archivo-latin-wdth-normal.DY7AcnAa.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* newsreader-vietnamese-wght-normal */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_astro/newsreader-vietnamese-wght-normal.Czsa-EzN.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* newsreader-latin-ext-wght-normal */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_astro/newsreader-latin-ext-wght-normal.C-3rgBeH.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* newsreader-latin-wght-normal */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/_astro/newsreader-latin-wght-normal.CCVVNp6i.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* Palette sampled from the Sibling Towers renders. */
:root {
  --sand: #f3e9dc;
  --sand-2: #e8d5bd;
  --dusk-1: #cdbcc4;   /* sunset sky */
  --dusk-2: #dfbead;   /* evening light */
  --dusk-3: #d9ac83;   /* lit clay */
  --clay: #bf6925;     /* terracotta in sun */
  --shade: #74441f;    /* façade in shade */
  --umber: #2a180d;    /* deep reveal, darkened for text/ground */
  --umber-2: #482e1d;
  --sky: #2d669b;
  --mute: #6b5646;
  --rule: #cdb79d;
  --on-umber-mute: #d6bfa6;
  --dusk: linear-gradient(180deg, var(--dusk-1) 0%, var(--dusk-2) 30%, var(--dusk-3) 62%, #d39954 100%);
  --tower: linear-gradient(180deg, #e9cdaa 0%, var(--dusk-3) 25%, var(--clay) 62%, var(--shade) 100%);
  --night: linear-gradient(180deg, var(--umber) 0%, #3b2314 55%, #7a4220 100%);
  --display: 'Archivo Variable', 'Archivo', system-ui, sans-serif;
  --text: 'Newsreader Variable', 'Newsreader', Georgia, serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 82rem;
  --header-h: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sand); color: var(--umber);
  font-family: var(--text); font-size: 1.1875rem; line-height: 1.55;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.cta :focus-visible, .material :focus-visible, .explorer :focus-visible { outline-color: var(--sand); }
.skip { position: absolute; left: -999px; top: 0; background: var(--umber); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-header { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); position: relative; z-index: 10; background: var(--sand); }
.wordmark { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; font-size: 1.25rem; text-decoration: none; }
.wordmark.big { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1; margin: 0 0 1rem; }
.primary { display: none; align-items: center; gap: 2.25rem; font-family: var(--display); font-weight: 500; font-size: .95rem; }
.primary ul { display: flex; gap: 2rem; }
.primary a { text-decoration: none; padding: .5rem 0; }
.primary a:hover, .primary a[aria-current='page'] { text-decoration: underline; }
.primary .lang { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.menu summary { font-family: var(--display); font-weight: 600; cursor: pointer; list-style: none; padding: .5rem 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; left: 0; top: var(--header-h); background: var(--umber); color: var(--sand); display: grid; padding: .5rem var(--gutter) 1.5rem; font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.menu-panel a { text-decoration: none; padding: .85rem 0; border-bottom: 1px solid #ffffff26; }
@media (min-width: 760px) { .primary { display: flex; } .menu { display: none; } }

/* 3D explorer link */
.primary .nav-3d { padding: .55rem 1rem; }
.nav-3d { font-family: var(--display); font-weight: 600; font-size: .9rem; text-decoration: none; padding: .55rem 1rem; border: 1px solid currentColor; }
.nav-3d:hover { background: var(--sand); color: var(--umber); border-color: var(--sand); }
.tone-light .nav-3d:hover { background: var(--umber); color: var(--sand); border-color: var(--umber); }
.explorer { background: var(--night); color: var(--sand); padding-block: clamp(3.5rem, 8vw, 7rem); }
.explorer-inner { display: grid; gap: 2.5rem; align-items: center; }
.explorer h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-stretch: 75%; font-weight: 800; margin-bottom: 1.25rem; }
.explorer p { color: var(--on-umber-mute); max-width: 28em; font-size: 1.25rem; }
.explorer p:last-child { margin-top: 2rem; }
.explorer-frame { position: relative; display: block; overflow: hidden; }
.explorer-frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.explorer-frame:hover img { transform: scale(1.04); }
.explorer-badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--sand); color: var(--umber); font-family: var(--display); font-weight: 700; font-size: .9rem; padding: .5rem .9rem; }
@media (min-width: 900px) { .explorer-inner { grid-template-columns: 1fr 1.2fr; gap: 6vw; } }

/* Header over a full-bleed hero */
.site-header.tone-over { position: absolute; inset: 0 0 auto 0; background: linear-gradient(180deg, #2a180db3, transparent); color: var(--sand); height: 5.5rem; }
.tone-over .primary .lang { border-color: #f3e9dc66; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; padding: .95rem 1.5rem; background: var(--umber); color: var(--sand); border: 1px solid var(--umber); }
.btn:hover { background: transparent; color: var(--umber); }
.btn.ghost { background: transparent; color: var(--umber); border-color: var(--umber); }
.btn.ghost:hover { background: var(--umber); color: var(--sand); }
.btn.light { background: var(--sand); color: var(--umber); border-color: var(--sand); }
.btn.light:hover { background: transparent; color: var(--sand); }
.btn.ghost-light { background: transparent; color: var(--sand); border-color: #f3e9dccc; }
.btn.ghost-light:hover { background: var(--sand); color: var(--umber); }
.link { font-family: var(--display); font-weight: 600; }

/* Hero: dusk-gradient panel beside the tall render */
.hero, .proj-hero { display: grid; background: var(--dusk); color: var(--umber); }
.hero-copy, .proj-hero-copy { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5rem; }
.hero h1, .proj-hero h1 { font-size: clamp(3rem, 7vw, 6.25rem); font-weight: 800; font-stretch: 70%; line-height: .9; letter-spacing: -0.025em; }
.hero .lead, .proj-hero .lead { font-size: 1.3rem; max-width: 30em; margin: 0; color: #3b2314; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 0; }
.hero-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--dusk-3); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 50% 20%; }
@media (min-width: 900px) {
  .hero, .proj-hero { grid-template-columns: 1fr minmax(0, 52vw); min-height: calc(100svh - var(--header-h)); }
  .hero-photo { aspect-ratio: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: wipe 1.3s cubic-bezier(.7, 0, .2, 1) both; }
  .hero-photo img { animation: settle 1.8s cubic-bezier(.2, .6, .2, 1) both; }
  @keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
}

/* Full-bleed hero */
.fullhero { background: var(--shade); color: var(--sand); }
.fullhero-stick { position: relative; height: 100svh; min-height: 34rem; overflow: hidden; }
.fullhero picture, .fullhero img { width: 100%; height: 100%; }
.fullhero img { object-fit: cover; object-position: 50% 38%; }
.fullhero-sm .fullhero-stick { height: 78svh; }
.fullhero-sm img { object-position: 50% 68%; }
@media (max-width: 899px) { .fullhero-sm img { object-position: 84% 60%; } }
.fullhero-stick::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #2a180d66 0%, transparent 22%, transparent 45%, #2a180dd9 100%); pointer-events: none; }
.fullhero-copy { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 5vw, 4rem); display: grid; gap: .5rem; justify-items: start; }
.fullhero h1 { font-size: clamp(3.4rem, 14.5vw, 15rem); font-weight: 800; font-stretch: 62%; line-height: .8; letter-spacing: -0.03em; margin-left: -.04em; padding-bottom: .16em; }
.fullhero .tag { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 2rem); margin: .75rem 0 0; max-width: 24em; }
.fullhero .by { margin: 0; color: #ecd9c3; font-size: 1.05rem; }
.fullhero .actions { margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .fullhero img { animation: settle 2.4s cubic-bezier(.2, .6, .2, 1) both; }
  .fullhero h1 { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .fullhero .tag { animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .7s both; }
  .fullhero .by { animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) .85s both; }
  .fullhero .actions { animation: fade-up .9s cubic-bezier(.2, .7, .2, 1) 1s both; }
  @keyframes rise { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fade-up { from { transform: translateY(1.25rem); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Scroll-driven motion: CSS only, progressive enhancement. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Hero pans from the tower tops down to the street, so both towers are seen in full. */
    @media (min-width: 900px) and (min-aspect-ratio: 1/1) {
      .hero-ascent { height: max(100svh, 125vw); }
      .hero-ascent .fullhero-stick { position: sticky; top: 0; }
      .hero-ascent picture { height: auto; }
      .fullhero.hero-ascent .fullhero-stick img {
        height: auto; width: 100%; aspect-ratio: 4 / 5; object-fit: fill;
        animation: pan linear both; animation-timeline: scroll(root block);
        animation-range: 0px max(1px, calc(125vw - 100svh));
      }
      .fullhero.hero-ascent .fullhero-copy { animation: copy-out linear both; animation-timeline: scroll(root block); animation-range: 0px 70svh; }
      @keyframes pan { from { transform: translateY(-20svh); } to { transform: translateY(min(-20svh, calc(100svh - 125vw))); } }
      @keyframes copy-out { to { opacity: 0; transform: translateY(-3rem); } }
    }
    .band img { animation: band-drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes band-drift { from { transform: scale(1.2) translateY(-5%); } to { transform: scale(1.02) translateY(5%); } }
    .band-text, .chapter-copy, .strip > div, .detail-copy, .about-teaser > * {
      animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 10% entry 80%;
    }
    .strip > div:nth-child(2) { animation-range: entry 14% entry 84%; }
    .strip > div:nth-child(3) { animation-range: entry 18% entry 88%; }
    .strip > div:nth-child(4) { animation-range: entry 22% entry 92%; }
    @keyframes reveal-up { from { opacity: 0; transform: translateY(3rem); } to { opacity: 1; transform: none; } }
    .chapter-img { animation: wipe-up linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
    @keyframes wipe-up { from { clip-path: inset(22% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
    .chapter-img img { animation: inner-zoom linear both; animation-timeline: view(); animation-range: entry 0% exit 40%; }
    @keyframes inner-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
    .pin { animation: pop linear both; animation-timeline: view(); animation-range: entry 40% entry 100%; }
    .pin:nth-of-type(2) { animation-range: entry 50% entry 110%; }
    .pin:nth-of-type(3) { animation-range: entry 60% entry 120%; }
    .pin:nth-of-type(4) { animation-range: entry 70% entry 130%; }
    @keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.2); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
  }
}

/* Project facts strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-bottom: 1px solid var(--rule); }
.strip > div { display: grid; grid-template-rows: 1fr auto; align-content: start; gap: .35rem; padding: 1.5rem 1rem 1.5rem 0; border-top: 1px solid var(--rule); }
.strip-v { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(1.5rem, 5.4vw, 4rem); line-height: 1.05; }
.strip-n { font-family: var(--display); font-size: .95rem; color: var(--mute); }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } .strip > div { border-top: 0; border-left: 1px solid var(--rule); padding-left: 1.5rem; } .strip > div:first-child { border-left: 0; padding-left: 0; } }

/* Façade detail with pins */
.detail { display: grid; gap: 2.5rem; padding-block: clamp(4rem, 9vw, 8rem); align-items: center; }
.detail-stage { position: relative; max-width: 34rem; }
.detail-stage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--umber); font-family: var(--display); font-weight: 700; font-size: .9rem; box-shadow: 0 0 0 5px #f3e9dc66; }
.detail-copy h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); font-stretch: 78%; font-weight: 800; margin-bottom: 1rem; }
.detail-copy ol { counter-reset: p; margin-top: 2rem; border-top: 1px solid var(--rule); }
.detail-copy li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.detail-copy li::before { content: counter(p); grid-row: span 2; font-family: var(--display); font-weight: 700; color: var(--clay); }
.detail-copy h3 { font-size: 1.25rem; }
.detail-copy li p { margin: .25rem 0 0; color: var(--mute); max-width: 32em; }
@media (min-width: 900px) { .detail { grid-template-columns: minmax(0, 34rem) 1fr; gap: clamp(2rem, 7vw, 7rem); } }

/* About teaser */
.about-teaser { display: grid; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--rule); }
.about-teaser h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: .75rem; }
.about-teaser li { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.about-teaser li:first-child { padding-top: 0; }
.about-teaser h3 { font-size: 1.3rem; }
.about-teaser li p { margin: .25rem 0 0; color: var(--mute); max-width: 34em; }
@media (min-width: 900px) { .about-teaser { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.band-aerial img { object-position: 50% 42%; }

/* Statement */
.statement { padding-block: clamp(4rem, 9vw, 8rem); }
.statement p { font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.2; letter-spacing: -0.012em; max-width: 26em; margin: 0; }

/* Full-bleed band */
.band { position: relative; height: clamp(26rem, 80vh, 52rem); overflow: hidden; background: var(--shade); }
.band picture, .band img { width: 100%; height: 100%; }
.band img { object-fit: cover; object-position: 50% 55%; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #2a180dcc 100%); }
.band-text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 5vw, 4rem); margin: 0; color: var(--sand); font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(2rem, 6vw, 5.5rem); line-height: .95; max-width: 14em; }

/* Chapters */
.chapters { padding-block: clamp(4rem, 9vw, 8rem); }
.chapters > h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: clamp(2rem, 5vw, 4rem); }
.chapter { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 7vw, 6rem); align-items: center; }
.chapter-img { overflow: hidden; background: var(--dusk-3); }
.chapter-img picture, .chapter-img img { width: 100%; height: 100%; }
.chapter-img img { object-fit: cover; aspect-ratio: 4 / 5; }
.ch-home .chapter-img img { aspect-ratio: 4 / 3; }
.chapter h3 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; font-stretch: 75%; margin-bottom: 1rem; }
.chapter p { font-size: 1.3rem; max-width: 24em; margin: 0; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
  .ch-court { grid-template-columns: 1fr 1.1fr; }
  .ch-court .chapter-img { order: 2; }
}

/* Project */
.project { display: grid; gap: 2.5rem; padding-block: 0 clamp(4rem, 9vw, 8rem); align-items: center; }
.project-side h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-stretch: 75%; font-weight: 800; margin-bottom: 1rem; }
.project-side > p { max-width: 30em; }
.project-aerial img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { margin: 2rem 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.facts dd { margin: 0; }
.facts.on-dark { border-color: #2a180d40; margin: 1rem 0 0; }
.facts.on-dark div { border-color: #2a180d40; }
@media (min-width: 900px) { .project { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } .project-aerial { max-width: 34rem; justify-self: end; } }

/* Gallery */
.gallery { padding-block: clamp(3.5rem, 8vw, 7rem); }
.gallery-head { display: grid; gap: .75rem; margin-bottom: 2rem; }
.gallery-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.gallery-head p { margin: 0; color: var(--mute); }

/* Services */
.services { display: grid; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--rule); }
.services h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.services li { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .5rem; }
.services li:first-child { padding-top: 0; }
.services h3 { font-size: 1.5rem; font-weight: 650; }
.services p { margin: 0; color: var(--mute); max-width: 34em; }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1.6fr; gap: 4rem; }
  .services li { grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: baseline; }
}

/* Material */
.material { background: var(--night); color: var(--sand); padding-block: clamp(3.5rem, 8vw, 7rem); }
.material-inner { display: grid; gap: 2.5rem; align-items: center; }
.material h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-stretch: 80%; font-weight: 800; margin-bottom: 1.25rem; }
.material p { color: var(--on-umber-mute); max-width: 28em; font-size: 1.25rem; }
.material img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .material-inner { grid-template-columns: 1fr minmax(0, 36vw); gap: 6vw; } }

/* CTA */
.cta { background: linear-gradient(180deg, #7a4220 0%, var(--shade) 40%, var(--umber) 100%); color: var(--sand); padding-block: clamp(4rem, 9vw, 8rem); }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 5rem); font-stretch: 75%; font-weight: 800; line-height: .98; max-width: 14em; margin-bottom: 1.25rem; }
.cta p { color: #ecd9c3; max-width: 30em; }
.cta p:last-child { margin: 2rem 0 0; }

/* Interior pages */
.page { padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem); }
.page-title { font-size: clamp(2.8rem, 8vw, 6.5rem); font-stretch: 75%; font-weight: 800; line-height: .95; max-width: 12em; margin-bottom: 2.5rem; }
.prose { max-width: 38em; font-size: 1.3rem; }
.process { margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--rule); padding-top: 2rem; }
.process h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-bottom: 1.5rem; }
.process ol { counter-reset: s; }
.process li { counter-increment: s; display: grid; gap: .3rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.process li::before { content: counter(s); font-family: var(--display); font-weight: 700; color: var(--clay); }
.process h3 { font-size: 1.35rem; }
.process p { margin: 0; color: var(--mute); max-width: 34em; }
@media (min-width: 760px) { .process li { grid-template-columns: 3rem 1fr 1.4fr; gap: 1.5rem; align-items: baseline; } }
.contact-list { margin: 3rem 0 0; border-top: 1px solid var(--rule); max-width: 40rem; }
.contact-list div { display: grid; grid-template-columns: 8rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); gap: 1rem; }
.contact-list dt { font-family: var(--display); font-weight: 600; }
.contact-list dd { margin: 0; font-size: 1.3rem; }
.contact-list dd a { display: inline-block; padding: .4rem 0; }

/* Project page */
.proj-text { padding-block: clamp(3rem, 7vw, 6rem); display: grid; gap: 1.5rem; font-size: 1.35rem; }
.proj-text p { max-width: 32em; margin: 0; }
@media (min-width: 900px) { .proj-text { grid-template-columns: 1fr 1fr; gap: 6vw; } }

/* Footer */
.site-footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; max-width: var(--max); margin-inline: auto; }
.footer-grid li, .footer-grid address span { display: block; }
.footer-grid li a, .footer-grid address a { display: block; padding: .6rem 0; }
.footer-grid address span { padding: .6rem 0; }
.footer-grid address { font-style: normal; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.muted { color: var(--mute); max-width: 22em; margin: 0; }
.legal { max-width: var(--max); margin: 3rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--mute); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* Slideshow */
.show-slide { position: relative; height: 100svh; min-height: 34rem; background: var(--umber); color: var(--sand); overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity .9s ease; }
.slide[data-active] { opacity: 1; z-index: 1; }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: var(--pos); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #2a180dcc 100%); }
.slide figcaption { position: absolute; z-index: 2; left: var(--gutter); bottom: 8rem; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(2rem, 5vw, 4.5rem); line-height: .95; max-width: 14em; }
.slide-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem var(--gutter) 1.25rem; }
.slide-count { margin: 0; font-family: var(--display); font-variant-numeric: tabular-nums; }
.slide-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem; scrollbar-width: none; }
.slide-thumbs button { flex: none; width: 5.5rem; height: 3.6rem; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; }
.slide-thumbs button[aria-selected='true'] { border-color: var(--sand); opacity: 1; }
.slide-thumbs picture, .slide-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.slide-arrows { display: flex; gap: .5rem; }
.slide-arrows button { width: 3rem; height: 3rem; border: 1px solid #f3e9dcaa; background: transparent; color: var(--sand); cursor: pointer; font-size: 1.25rem; }
.slide-arrows button:hover { background: var(--sand); color: var(--umber); }
.show-slide :focus-visible { outline-color: var(--sand); }
@media (max-width: 600px) { .slide-ui { grid-template-columns: 1fr auto; } .slide-count { display: none; } .slide figcaption { bottom: 7rem; } }

/* Expanding panels (CSS only; stacked list on small screens) */
.show-panels { display: flex; gap: .5rem; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.show-panels::-webkit-scrollbar { display: none; }
.panel { position: relative; margin: 0; flex: 0 0 82%; height: min(30rem, 68svh); overflow: hidden; background: var(--shade); outline-offset: -3px; scroll-snap-align: start; }
.panel picture, .panel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel img { object-fit: cover; object-position: var(--pos); }
.panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #2a180dcc 100%); }
.panel figcaption { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; color: var(--sand); font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
@media (min-width: 900px) {
  .show-panels { height: 82svh; min-height: 32rem; overflow: visible; scroll-snap-type: none; }
  .panel { height: auto; flex: 1 1 0; scroll-snap-align: none; transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1); }
  .panel img { width: auto; min-width: 100%; }
  .panel:hover, .panel:focus-visible, .panel:focus-within { flex-grow: 6; }
  .panel figcaption { opacity: 0; transform: translateY(.75rem); transition: opacity .4s .15s, transform .4s .15s; max-width: 26rem; font-size: 1.5rem; }
  .panel:hover figcaption, .panel:focus-visible figcaption { opacity: 1; transform: none; }
  .show-panels:not(:hover):not(:focus-within) .panel:first-child { flex-grow: 6; }
  .show-panels:not(:hover):not(:focus-within) .panel:first-child figcaption { opacity: 1; transform: none; }
}

/* Brand */
.brand { display: block; line-height: 0; }
.brand img { height: 2.6rem; width: auto; }
.footer-logo { height: 7.5rem; width: auto; margin-bottom: 1rem; }



/* Partners (end of footer) */
.partners { max-width: var(--max); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.partners p { margin: 0; font-family: var(--display); font-size: .9rem; color: var(--mute); }
.partners ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 3rem; }
.partners img { height: 3.4rem; width: auto; }
.partners a { display: block; }
.partner-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.01em; }
.partners + .legal { margin-top: 1.5rem; border-top: 0; padding-top: 0; }
