/* ==========================================================================
   majesticbuilt.com: landing + Majestic Millwork + Majestic Design & Build
   One layout for both brands. Built by src/majestic.py.
   Feel: Lanserring (video header, quiet serif, warm dark tones) meets NS Builders
   (logo intro, big imagery, things settling into place as you scroll).
   Colours come from the logo: brown #794631, gold #b5a785.
   ========================================================================== */

@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost-var.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'InterVar'; src: url('/assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap; }

:root {
  --ink: #2b1c15;
  --ink-2: #3d2a20;
  --ink-soft: #5f4e44;
  --ink-mute: #8a7a6f;
  --paper: #fbf8f2;
  --paper-2: #f2ece0;
  --paper-3: #e4dac6;
  --brown: #794631;
  --brown-deep: #5e3524;
  --gold: #b5a785;
  --cream: #fbf8f3;
  --line: rgba(43, 28, 21, .14);
  --line-light: rgba(251, 248, 243, .22);

  --sans: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;
  --body: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --gutter: 22px;
  --maxw: 1360px;
  --hdr: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (min-width: 900px) { :root { --gutter: 48px; --hdr: 100px; } }

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--cream);
  padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* --- Type ----------------------------------------------------------------- */
.label { font: 500 .72rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--brown); }
.label--light { color: rgba(251, 248, 243, .82); }
.label--gold { color: var(--gold); }
.tag { font: 500 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.h2 { font: 400 clamp(1.9rem, 3.6vw, 3.1rem)/1.12 var(--serif); letter-spacing: -.01em; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s; }
.link:hover { gap: 16px; color: var(--brown); }

/* --- Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px;
  padding: 14px 26px; font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease); }
.btn:hover { gap: 18px; }
.btn--sm { min-height: 42px; padding: 10px 18px; }
.btn--block { width: 100%; }
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--brown); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--gold); }
.btn--ghost-light { color: var(--cream); border-color: rgba(251, 248, 243, .5); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* --- Logo lockup: horse above MAJESTIC, brand line under it to the right of the J ---- */
/* Everything scales from --w (the width of the MAJESTIC lettering), so the proportions
   match the logo file at any size. */
.lockup { --w: 124px; display: inline-flex; flex-direction: column; align-items: center; gap: calc(var(--w) * .05); }
.lockup__horse { width: calc(var(--w) * .42); }
.lockup__text { position: relative; display: block; width: var(--w); }
.lockup__word { display: block; width: 100%; }
.lockup__sub { position: absolute; left: 41.8%; right: 0; bottom: 0; display: flex; justify-content: space-between;
  font: 500 max(6.5px, calc(var(--w) * .05))/1 var(--sans); color: var(--gold); white-space: nowrap; }
.lockup__sub .sp { width: .5em; }
@media (min-width: 900px) { .lockup { --w: 186px; } }

/* --- Header --------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 90; background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s, color .4s, transform .4s var(--ease); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__brand { position: relative; display: block; }
.hdr__mark--light { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.hdr__mark--dark { transition: opacity .4s; }
.hdr__nav { display: none; }
.hdr__nav ul { display: flex; gap: 40px; }
.hdr__nav a { font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 8px 0;
  border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { border-color: currentColor; }
.hdr__end { display: flex; align-items: center; gap: 22px; }
.hdr__sister { display: none; align-items: center; gap: 8px; font: 500 .72rem/1 var(--sans); letter-spacing: .2em;
  text-transform: uppercase; opacity: .8; transition: opacity .3s, gap .3s; }
.hdr__sister:hover { opacity: 1; gap: 12px; }
.hdr__end .btn { display: none; }
.hdr__menu { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.hdr__menu > span:not(.sr) { display: block; width: 26px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease); }
.hdr__menu[aria-expanded="true"] > span:first-child { transform: translateY(4.25px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
@media (min-width: 1000px) {
  .hdr__nav { display: block; }
  .hdr__sister, .hdr__end .btn { display: inline-flex; }
  .hdr__menu { display: none; }
}
/* Over the video: transparent and light until the visitor scrolls. */
.has-overlay .hdr { position: fixed; left: 0; right: 0; }
.has-overlay .hdr:not(.is-stuck) { background: transparent; border-color: transparent; color: var(--cream); }
.has-overlay .hdr:not(.is-stuck) .hdr__mark--light { opacity: 1; }
.has-overlay .hdr:not(.is-stuck) .hdr__mark--dark { opacity: 0; }
.has-overlay .hdr:not(.is-stuck) .btn--line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.hdr.is-hidden { transform: translateY(-100%); }

.menu { position: fixed; inset: var(--hdr) 0 0; z-index: 89; background: var(--paper); padding: 28px var(--gutter);
  display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu ul { margin-bottom: 20px; }
.menu li a { display: block; padding: 14px 0; font: 400 1.9rem/1.1 var(--serif); border-bottom: 1px solid var(--line); }
.menu-open { overflow: hidden; }
.menu-open .hdr { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.menu-open .hdr .hdr__mark--light { opacity: 0 !important; }
.menu-open .hdr .hdr__mark--dark { opacity: 1 !important; }

/* --- Sections ------------------------------------------------------------- */
.sec { padding: clamp(80px, 12vw, 168px) 0; }
.sec--tight { padding-top: clamp(40px, 6vw, 80px); }
.sec--flush { padding-top: 0; }
.sec--tint { background: var(--paper-2); }
.sec--dark { background: var(--ink); color: var(--cream); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px);
  padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.head--stack { display: block; border: 0; padding: 0; }
.head--stack .label { margin-bottom: 18px; }
.sec--dark .head { border-color: var(--line-light); }

/* --- Hero (video) --------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--ink); color: var(--cream); }
.hero__video, .hero__video + .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .hero__video { transform: none; }
.hero__shade { background: linear-gradient(180deg, rgba(20, 12, 8, .45) 0%, rgba(20, 12, 8, .08) 26%,
  rgba(20, 12, 8, .32) 50%, rgba(20, 12, 8, .8) 100%); }
.hero__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 7vh, 80px); }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { font: 400 clamp(3rem, 9.5vw, 8.4rem)/.98 var(--serif); letter-spacing: -.02em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; }
.hero__foot { display: grid; gap: 26px; margin-top: clamp(26px, 4vh, 44px); }
.hero__lead { max-width: 46ch; color: rgba(251, 248, 243, .86); font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { display: none; }
@media (max-width: 899px) { .hero__in { padding-bottom: calc(58px + 34px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
  .hero__scroll { display: block; position: absolute; z-index: 2; right: var(--gutter); top: 50%; writing-mode: vertical-rl;
    font: 500 .66rem/1 var(--sans); letter-spacing: .36em; text-transform: uppercase; color: rgba(251, 248, 243, .7);
    padding-bottom: 64px; }
  .hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 52px;
    background: rgba(251, 248, 243, .6); transform-origin: top; animation: drip 2.2s var(--ease-io) infinite; }
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* --- Statement ------------------------------------------------------------ */
.statement .wrap { max-width: 1180px; }
.statement .label { margin-bottom: 30px; }
.statement__text { font: 400 clamp(1.7rem, 3.7vw, 3.25rem)/1.22 var(--serif); letter-spacing: -.012em;
  margin-bottom: 40px; }
.statement__text .w { display: inline-block; transition: opacity .9s var(--ease), color .9s; }
.js .statement__text .w { opacity: .14; }
.js .statement__text .w.is-in { opacity: 1; }

/* --- Selected works (NS-style) ------------------------------------------- */
.works { display: grid; gap: clamp(64px, 10vw, 150px); }
.work { display: grid; gap: 22px; align-items: end; }
.work__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04);
  transition: transform 1.4s var(--ease); }
.work:hover .work__media img { transform: scale(1.0); }
.work__meta { display: grid; gap: 12px; }
.work__num { font: 500 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--brown); }
.work__title { font: 400 clamp(1.8rem, 3.4vw, 3rem)/1.08 var(--serif); letter-spacing: -.01em; }
.work__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font: 500 .72rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); transition: gap .3s, color .3s; }
.work:hover .work__go { gap: 16px; color: var(--brown); }
@media (min-width: 900px) {
  .work { grid-template-columns: 1.65fr 1fr; gap: 56px; }
  .work--r { grid-template-columns: 1fr 1.65fr; }
  .work--r .work__media { order: 2; }
  .work__meta { padding-bottom: 12px; }
  .work--r .work__meta { text-align: right; justify-items: end; }
}

/* --- Services ------------------------------------------------------------- */
.svcs { display: grid; gap: 48px; }
.svcs__head .label { margin-bottom: 18px; }
.svcs__list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc__num { font: 500 .72rem/2.2 var(--sans); letter-spacing: .18em; color: var(--brown); grid-row: span 2; }
.svc__title { font: 400 1.6rem/1.2 var(--serif); }
.svc__body { color: var(--ink-soft); max-width: 52ch; }
@media (min-width: 900px) {
  .svcs { grid-template-columns: 1fr 1.25fr; gap: 80px; }
  .svcs__head { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; }
}

/* --- Full-bleed band ------------------------------------------------------ */
.band { position: relative; height: 78vh; min-height: 420px; overflow: hidden; background: var(--ink); color: var(--cream);
  display: flex; align-items: flex-end; }
.band__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 8, 0) 40%, rgba(20, 12, 8, .66)); }
.band__text { position: relative; z-index: 2; padding-bottom: clamp(36px, 6vw, 72px); max-width: 980px;
  font: 400 clamp(1.6rem, 3.4vw, 2.8rem)/1.2 var(--serif); margin: 0 auto 0 0; }

/* --- Steps (dark) --------------------------------------------------------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.step { padding: 32px 0; border-bottom: 1px solid var(--line-light); display: grid; gap: 12px; }
.step__num { font: 500 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.step__title { font: 400 2rem/1.1 var(--serif); }
.step p { color: rgba(251, 248, 243, .7); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); border: 0; }
  .step { padding: 8px 40px 8px 0; border: 0; border-left: 1px solid var(--line-light); padding-left: 32px; }
}

/* --- Sister brand --------------------------------------------------------- */
.sister { display: grid; gap: 36px; align-items: center; }
.sister__media { display: block; overflow: hidden; aspect-ratio: 5 / 4; }
.sister__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sister__media:hover img { transform: scale(1.03); }
.sister__body { display: grid; gap: 20px; justify-items: start; max-width: 520px; }
.sister__body p:not(.label) { color: var(--ink-soft); }
@media (min-width: 900px) { .sister { grid-template-columns: 1.15fr 1fr; gap: 80px; } }

/* --- CTA ------------------------------------------------------------------ */
.cta { background: var(--brown-deep); color: var(--cream); padding: clamp(80px, 11vw, 150px) 0; text-align: center; }
.cta__in { display: grid; justify-items: center; gap: 22px; }
.cta .label { color: var(--gold); }
.cta__title { font: 400 clamp(2.3rem, 5.6vw, 4.6rem)/1.05 var(--serif); letter-spacing: -.015em; }
.cta__sub { max-width: 50ch; color: rgba(251, 248, 243, .78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }

/* --- Footer --------------------------------------------------------------- */
.ftr { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 100px) 0 calc(28px + 64px); }
@media (min-width: 900px) { .ftr { padding-bottom: 28px; } }
.ftr__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.ftr__brand { display: grid; gap: 26px; }
.ftr__brand p { color: rgba(251, 248, 243, .6); max-width: 46ch; font-size: .95rem; }
.ftr .lockup { --w: 210px; }
.ftr__cols { display: grid; gap: 32px; }
.ftr h3 { font: 500 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ftr li { margin-bottom: 10px; font-size: .95rem; }
.ftr a { color: rgba(251, 248, 243, .82); transition: color .2s; }
.ftr a:hover { color: var(--gold); }
.ftr__muted { color: rgba(251, 248, 243, .55); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px;
  font-size: .82rem; color: rgba(251, 248, 243, .5); }
@media (min-width: 900px) {
  .ftr__top { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .ftr__cols { grid-template-columns: repeat(3, 1fr); }
}
.mbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 2fr;
  background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px;
  font: 500 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.mbar__go { background: var(--ink); color: var(--cream); }
@media (min-width: 900px) { .mbar { display: none; } }

/* --- Page head ------------------------------------------------------------ */
.phead { padding: calc(var(--hdr) * .5 + clamp(48px, 8vw, 110px)) 0 clamp(40px, 6vw, 80px); }
.phead--tall { min-height: 70vh; }
.phead .label { margin-bottom: 22px; }
.phead__title { font: 400 clamp(2.6rem, 7vw, 6rem)/1.02 var(--serif); letter-spacing: -.02em; max-width: 16ch; }
.phead__lead { margin-top: 26px; max-width: 54ch; color: var(--ink-soft); font-size: 1.06rem; }

/* --- Work grid ------------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; scroll-margin-top: calc(var(--hdr) + 20px); }
.chip { padding: 11px 18px; border: 1px solid var(--line); font: 500 .72rem/1 var(--sans); letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft); transition: all .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.grid { display: grid; gap: 48px 28px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid__cell[hidden] { display: none; }
.card { display: grid; gap: 16px; }
.card__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__meta { display: grid; gap: 8px; }
.card__title { font: 400 1.45rem/1.2 var(--serif); }

/* --- Project page --------------------------------------------------------- */
.proj__cover { height: 78vh; min-height: 420px; overflow: hidden; background: var(--paper-3); }
.proj__cover img { width: 100%; height: 100%; object-fit: cover; }
.proj__head { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.crumbs { font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 22px; }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--brown); }
.proj__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: .9rem; color: var(--ink-mute); }
.shots { columns: 1; column-gap: 24px; }
@media (min-width: 700px) { .shots { columns: 2; } }
.shot { display: block; width: 100%; margin: 0 0 24px; break-inside: avoid; overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.next { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 110px) 0; }
.next__in { display: grid; gap: 18px; }
.next__title { display: inline-flex; align-items: center; gap: 18px; font: 400 clamp(2rem, 5vw, 4rem)/1.05 var(--serif);
  transition: gap .4s var(--ease), color .3s; }
.next__in:hover .next__title { gap: 28px; color: var(--brown); }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(20, 12, 8, .96); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb button { position: absolute; color: var(--cream); font: 500 .74rem/1 var(--sans); letter-spacing: .2em;
  text-transform: uppercase; padding: 16px; }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(251, 248, 243, .6);
  font: 500 .72rem/1 var(--sans); letter-spacing: .2em; }

/* --- About ---------------------------------------------------------------- */
.about { display: grid; gap: 48px; align-items: start; }
.about__fig { overflow: hidden; }
.about__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__fig figcaption { display: grid; gap: 6px; padding-top: 18px; }
.about__fig strong { font: 400 1.6rem/1.2 var(--serif); }
.about__fig figcaption span:last-child { color: var(--ink-mute); font-size: .92rem; }
.about__body { display: grid; gap: 22px; font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }
.about__closer { font: 400 1.6rem/1.3 var(--serif); color: var(--ink); margin-top: 10px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.2fr; gap: 96px; } }
.vals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.val { padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.val h3 { font: 400 1.8rem/1.1 var(--serif); }
.val p { color: var(--ink-soft); }
@media (min-width: 900px) { .vals { grid-template-columns: repeat(3, 1fr); gap: 48px; border: 0; }
  .val { border-top: 1px solid var(--line); border-bottom: 0; } }


/* --- Team ----------------------------------------------------------------- */
.team { display: grid; gap: 44px 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(5, 1fr); } }
.member { display: grid; gap: 8px; align-content: start; }
.member__pic { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); margin-bottom: 12px; }
.member__pic > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.member__ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--paper-2), var(--paper-3)); }
.member__ph img { position: absolute; width: 58%; opacity: .16; }
.member__ph span { position: relative; font: 400 2.4rem/1 var(--serif); color: var(--brown); letter-spacing: .04em; }
.member__name { font: 400 1.35rem/1.2 var(--serif); }
.member__bio { color: var(--ink-soft); font-size: .92rem; }
.about__fig img { aspect-ratio: 4 / 5; object-fit: cover; }

/* --- Contact -------------------------------------------------------------- */
.contact { display: grid; gap: 64px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 96px; } }
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 0; background: transparent; border: 0;
  border-bottom: 1px solid var(--ink-mute); border-radius: 0; font-size: 1.02rem; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1c15' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brown); }
.field [aria-invalid="true"] { border-color: #a3342a; }
.field__err { color: #a3342a; font-size: .85rem; min-height: 0; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: .9rem; color: var(--ink-mute); }
.form__note a, .form__status a { border-bottom: 1px solid currentColor; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; background: var(--paper-2); }
.form__status.is-err { background: #f6e3df; }
.contact__side { display: grid; gap: 40px; align-content: start; }
.contact__side .label { margin-bottom: 14px; }
.contact__big { display: block; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.2 var(--serif); margin-bottom: 8px; }
.contact__big:hover, .contact__line:hover { color: var(--brown); }
.contact__line { border-bottom: 1px solid var(--line); }
.next-list { counter-reset: n; display: grid; gap: 10px; color: var(--ink-soft); }
.next-list li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; }
.next-list li::before { content: counter(n, decimal-leading-zero); font: 500 .72rem/1.9 var(--sans); color: var(--brown); }

/* --- Landing: one video behind both halves, Millwork left, Design & Build right ---- */
.is-landing { background: var(--ink); color: var(--cream); }
.landing { position: relative; height: 100vh; height: 100svh; min-height: 540px; display: flex; flex-direction: column;
  overflow: hidden; }
.landing__video, .landing__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.landing__video { object-fit: cover; transform: scale(1.04); transition: transform 2.4s var(--ease); }
.is-ready .landing__video { transform: none; }
.landing__shade { background: linear-gradient(180deg, rgba(20, 12, 8, .6), rgba(20, 12, 8, .25) 38%, rgba(20, 12, 8, .7)); }
.landing__top, .landing__foot { position: absolute; left: 0; right: 0; z-index: 5; display: flex;
  justify-content: center; pointer-events: none; }
.landing__top { top: 0; padding: clamp(22px, 4vh, 40px) var(--gutter) 0; }
.landing__top .lockup { --w: clamp(200px, 22vw, 300px); }
.landing__foot { bottom: 0; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 0 var(--gutter) 18px;
  font: 500 .64rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(251, 248, 243, .62); }
.landing__foot a { pointer-events: auto; }
.landing__foot a:hover { color: var(--gold); }
.split { position: relative; z-index: 3; flex: 1; display: flex; }
.split__panel { position: relative; flex: 1 1 0; display: flex; align-items: flex-end; justify-content: center;
  text-align: center; padding-bottom: clamp(64px, 14vh, 150px); }
.split__panel::before { content: ""; position: absolute; inset: 0; background: rgba(20, 12, 8, 0);
  transition: background .8s var(--ease); }
.split__panel--mm::after { content: ""; position: absolute; top: 22%; bottom: 14%; right: 0; width: 1px;
  background: rgba(251, 248, 243, .35); }
.split__body { position: relative; display: grid; gap: 12px; justify-items: center; padding: 0 12px; }
.split__title { font: 400 clamp(1.7rem, 5.4vw, 5rem)/1 var(--serif); letter-spacing: -.02em; }
.split__list { font: 500 .6rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(251, 248, 243, .78); }
.split__enter { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 18px;
  border: 1px solid rgba(251, 248, 243, .55); font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), gap .4s var(--ease), border-color .4s; }
.split__panel:hover .split__enter, .split__panel:focus-visible .split__enter { background: var(--cream); color: var(--ink);
  border-color: var(--cream); gap: 16px; }
.split:hover .split__panel:not(:hover)::before { background: rgba(20, 12, 8, .5); }
@media (max-width: 599px) {
  .split__list { display: none; }
  .split__enter { padding: 11px 14px; letter-spacing: .18em; }
  .landing__foot { justify-content: center; text-align: center; }
  .landing__foot span:first-child { display: none; }
}
@media (min-width: 600px) { .split__list { font-size: .66rem; letter-spacing: .24em; } }

/* --- Logo intro (landing) ------------------------------------------------- */
.intro { position: fixed; inset: 0; z-index: 500; background: var(--ink); display: none; place-items: center; }
.js .intro { display: grid; }
.intro__mark { display: grid; justify-items: center; gap: 18px; width: min(70vw, 420px); }
.intro__horse { width: 62%; clip-path: inset(0 100% 0 0); }
.intro__word { width: 100%; opacity: 0; transform: translateY(18px); }
.intro__sub { display: flex; align-items: center; gap: 14px; font: 500 .62rem/1 var(--sans); letter-spacing: .42em;
  text-transform: uppercase; color: var(--gold); opacity: 0; white-space: nowrap; }
.intro__sub i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.intro.is-play .intro__horse { animation: gallop 1.25s var(--ease-io) .2s forwards; }
.intro.is-play .intro__word { animation: rise 1s var(--ease) 1.05s forwards; }
.intro.is-play .intro__sub { animation: fade .9s var(--ease) 1.55s forwards; }
.intro.is-out { transform: translateY(-100%); transition: transform 1.1s var(--ease-io); }
.intro.is-skip { display: none; }
@keyframes gallop { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
.is-landing .landing__top, .is-landing .split__body, .is-landing .landing__foot { transition: opacity .9s var(--ease) .1s, transform 1s var(--ease) .1s; }
.js .is-landing:not(.is-ready) .landing__top, .js .is-landing:not(.is-ready) .split__body,
.js .is-landing:not(.is-ready) .landing__foot { opacity: 0; transform: translateY(24px); }

/* --- Scroll reveals ------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* The wipe sits on the picture inside, not on the watched box: a fully clipped box never
   counts as "on screen", so it would never reveal. */
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] > img { clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-io), transform 1.4s var(--ease); }
.js [data-reveal="wipe"].is-in > img { clip-path: inset(0 0 0 0); }
.js .hero .ln > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero .hero__eyebrow, .js .hero .hero__foot { opacity: 0; transform: translateY(20px);
  transition: opacity 1.1s var(--ease) .45s, transform 1.1s var(--ease) .45s; }
.js .is-ready .hero .ln > span { transform: none; }
.js .is-ready .hero .ln:nth-child(2) > span { transition-delay: .12s; }
.js .is-ready .hero .ln:nth-child(3) > span { transition-delay: .24s; }
.js .is-ready .hero .hero__eyebrow, .js .is-ready .hero .hero__foot { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero .ln > span, .js .hero .hero__eyebrow, .js .hero .hero__foot { opacity: 1 !important;
    transform: none !important; clip-path: none !important; }
  .js .statement__text .w { opacity: 1; }
  .intro { display: none !important; }
}
