/* ═══════════════════════════════════════════════════════════
   PENUMBRA — brand image studio
   Palette sampled from the studio's own frames:
   ink #19150F · bone #E8E2DB · amber #C9914A
   ═══════════════════════════════════════════════════════════ */

:root{
  --ink:        #100D0A;
  --ink-2:      #19150F;
  --ink-3:      #241E17;
  --bone:       #E8E2DB;
  --bone-dim:   #9A938B;
  --amber:      #C9914A;
  --amber-hi:   #E0A85E;

  --pad:  clamp(1.25rem, 4vw, 3.5rem);
  --gap:  clamp(1rem, 1.6vw, 1.6rem);
  --rule: 1px solid rgba(232,226,219,.14);

  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif:"Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.22,1,.36,1);
  --slow: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing:border-box }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100% }

body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--sans);
  font-size:clamp(.95rem,.55vw + .8rem,1.0625rem);
  line-height:1.55;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; height:auto; display:block }
a{ color:inherit; text-decoration:none }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer }
ul,ol,dl,dd{ margin:0; padding:0; list-style:none }
h1,h2,h3,p,figure,blockquote{ margin:0 }

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

.mono{
  font-family:var(--mono);
  font-size:.6875rem;
  font-weight:500;
  letter-spacing:.13em;
  text-transform:uppercase;
  line-height:1.45;
  color:var(--bone-dim);
}

.skip{
  position:fixed; top:.5rem; left:.5rem; z-index:200;
  padding:.6rem 1rem; background:var(--bone); color:var(--ink);
  font-family:var(--mono); font-size:.75rem; transform:translateY(-160%);
}
.skip:focus{ transform:none }

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

/* ── grain: the "matter" over the whole page ─────────────── */
.grain{
  position:fixed; inset:-50%; z-index:90; pointer-events:none;
  opacity:.055;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation:grainShift 6s steps(6) infinite;
}
@keyframes grainShift{
  0%{transform:translate(0,0)}      20%{transform:translate(-3%,2%)}
  40%{transform:translate(2%,-3%)}  60%{transform:translate(-2%,-2%)}
  80%{transform:translate(3%,1%)}   100%{transform:translate(0,0)}
}

/* ── custom cursor ───────────────────────────────────────── */
.cursor,.cursor-media{ display:none }
@media (hover:hover) and (pointer:fine){
  .cursor{
    display:block; position:fixed; top:0; left:0; z-index:120;
    pointer-events:none; mix-blend-mode:difference;
    transform:translate3d(-50%,-50%,0);
  }
  .cursor__dot{
    display:block; width:9px; height:9px; border-radius:50%;
    background:var(--bone);
    transition:width .4s var(--ease), height .4s var(--ease), opacity .3s;
  }
  .cursor.is-wide .cursor__dot{ width:56px; height:56px; opacity:.22 }

  .cursor-media{
    display:block; position:fixed; top:0; left:0; z-index:110;
    width:min(19vw,300px); pointer-events:none;
    transform:translate3d(-50%,-50%,0) scale(.82) rotate(-3deg);
    opacity:0; transition:opacity .4s var(--ease), transform .55s var(--ease);
    filter:grayscale(.15) contrast(1.05);
  }
  .cursor-media.is-on{ opacity:1; transform:translate3d(-50%,-50%,0) scale(1) rotate(-3deg) }
  .cursor-media img{ width:100%; height:auto; aspect-ratio:4/5; object-fit:cover }
}

/* ═══ HEADER ══════════════════════════════════════════════ */
.head{
  position:fixed; inset:0 0 auto 0; z-index:100;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  gap:1rem; padding:1.1rem var(--pad);
  transition:background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom:1px solid transparent;
}
.head.is-stuck{
  background:rgba(16,13,10,.86);
  backdrop-filter:blur(14px);
  border-bottom-color:rgba(232,226,219,.12);
  padding-block:.75rem;
}
.head__mark{
  display:inline-flex; align-items:center; gap:.6rem;
  font-weight:700; font-size:.9rem; letter-spacing:.24em;
}
.head__glyph{ width:15px; height:15px; color:var(--amber); transition:transform .8s var(--slow) }
.head__mark:hover .head__glyph{ transform:rotate(180deg) }
.head__meta{ justify-self:center; text-align:center }
@media (max-width:760px){
  .head__meta{ display:none }
  /* the 3-col grid left the button short of the edge once the middle
     cell collapsed; flex is unambiguous here */
  .head{ display:flex; justify-content:space-between }
}
.head .btn{ justify-self:end }

.btn--pill{
  position:relative; display:inline-block; overflow:hidden;
  padding:.72rem 1.4rem; border:1px solid rgba(232,226,219,.42);
  border-radius:999px; font-family:var(--mono); font-size:.6875rem;
  font-weight:500; letter-spacing:.13em; text-transform:uppercase;
  transition:border-color .4s, color .4s;
}
.btn--pill::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--bone); border-radius:999px;
  transform:translateY(101%); transition:transform .5s var(--ease);
}
.btn--pill span{ position:relative; z-index:1 }
.btn--pill:hover{ color:var(--ink); border-color:var(--bone) }
.btn--pill:hover::before{ transform:translateY(0) }
.btn--light{ border-color:rgba(16,13,10,.3); color:var(--ink) }
.btn--light::before{ background:var(--ink) }
.btn--light:hover{ color:var(--bone); border-color:var(--ink) }

/* ═══ SECTION RAIL ════════════════════════════════════════ */
.rail{
  position:fixed; z-index:100; right:var(--pad); top:50%;
  transform:translateY(-50%);
}
.rail ul{ display:flex; flex-direction:column; gap:.85rem; align-items:flex-end }
.rail a{ display:flex; align-items:center; gap:.7rem; padding:.15rem 0 }
.rail em{
  font-family:var(--mono); font-size:.625rem; font-style:normal;
  letter-spacing:.13em; text-transform:uppercase; color:var(--bone-dim);
  opacity:0; transform:translateX(6px);
  transition:opacity .4s var(--ease), transform .4s var(--ease), color .4s;
}
.rail i{
  display:block; width:18px; height:1px; background:var(--bone);
  opacity:.32; transition:width .5s var(--ease), opacity .4s, background .4s;
}
/* Labels appear on hover only — an always-on active label collided
   with the display type running to the right edge. */
.rail a:hover em{ opacity:1; transform:none; color:var(--bone) }
.rail a:hover i{ opacity:1; width:28px }
.rail a.is-on i{ width:38px; opacity:1; background:var(--amber) }
.rail.on-light em{ color:rgba(16,13,10,.55) }
.rail.on-light a:hover em{ color:var(--ink) }
.rail.on-light i{ background:var(--ink) }
@media (max-width:1080px){ .rail{ display:none } }

/* ═══ HERO ════════════════════════════════════════════════ */
.hero{
  position:relative; min-height:100svh;
  display:flex; flex-direction:column; justify-content:space-between;
  padding:8.5rem var(--pad) var(--pad);
  overflow:hidden;
}

.hero__corner{ position:absolute; z-index:2; top:6.5rem }
.hero__corner--tl{ left:var(--pad) }
.hero__corner--tr{ right:var(--pad); text-align:right }
.hero__corner--tm{ left:50%; transform:translateX(-50%) }
@media (max-width:860px){ .hero__corner--tm,.hero__corner--tr{ display:none } }

/* The name, set to span the full measure. Sized in vw against its own
   8 characters — verified against the rendered width, not guessed. */
.hero__name{
  position:relative; z-index:2;
  margin:auto 0 clamp(.6rem,1.4vh,1.4rem);
  /* Deliberately sized a little under the measure and justified: the
     side padding is a clamp, not a percentage, so no single vw value
     fits at every width — space-between absorbs the remainder and the
     wordmark lands edge to edge everywhere. */
  font-size:clamp(2.6rem,14.6vw,20rem);
  font-weight:800; line-height:.84; letter-spacing:0;
  text-transform:uppercase;
  display:flex; justify-content:space-between; white-space:nowrap;
}
.hero__name .w > span{ transition-delay:calc(var(--wd,0) * 55ms) }

/* The statement carries the sentence under it: one long line of words,
   each its own block so it reveals in sequence and rewraps freely. */
.hero__title{
  position:relative; z-index:2;
  margin:0 0 auto;
  font-size:clamp(1.6rem,3.35vw,3.4rem);
  font-weight:700; line-height:1.02; letter-spacing:-.035em;
  text-transform:uppercase;
  /* Each word is an inline-block, so the newlines between them in the
     markup collapse to a real space on top of the padding below —
     double-spaced words. Cancel the space, keep the padding. */
  word-spacing:-.3em;
}
/* Shared by the name and the statement so both reveal on one cascade. */
.hero .w{ display:inline-block; overflow:hidden; vertical-align:bottom }
.hero__title .w{ padding-right:.2em; word-spacing:normal }

/* One word's worth of the frame, set inline in the sentence. */
.hero__title .w--plate{ padding-right:.24em }
.hero__title .w--plate > span{
  display:inline-block; width:1.7em; height:.74em; vertical-align:baseline;
  transform:none; overflow:hidden;
}
.hero__title .w--plate img{
  width:100%; height:100%; object-fit:cover;
  filter:contrast(1.06) saturate(.92);
  clip-path:inset(0 100% 0 0);
  transition:clip-path 1.2s var(--slow) 1.05s;
}
.is-ready .hero__title .w--plate img{ clip-path:inset(0 0 0 0) }
@media (max-width:620px){ .hero__title .w--plate{ display:none } }
.hero .w > span{
  display:inline-block;
  transform:translateY(105%);
  transition:transform 1.05s var(--slow);
  transition-delay:calc(var(--wd,0) * 85ms);
}
.is-ready .hero .w > span{ transform:translateY(0) }
.hero__title .w--serif{ padding-right:.14em }
.hero__title .w--serif > span{
  font-family:var(--serif); font-style:italic; font-weight:400;
  text-transform:lowercase; letter-spacing:-.01em;
  color:var(--amber); padding-inline:.06em;
}

.hero__foot{
  position:relative; z-index:2;
  display:flex; align-items:flex-end;
  gap:clamp(1.5rem,4vw,4rem); margin-top:clamp(2rem,5vh,3.5rem);
}
.hero__beats{ margin-left:auto }
.hero__lede,.hero__beats{
  opacity:0; transform:translateY(18px);
  transition:opacity .9s var(--ease) 1.25s, transform .9s var(--ease) 1.25s;
}
.is-ready .hero__lede,.is-ready .hero__beats{ opacity:1; transform:none }
.hero__lede{ max-width:46ch; color:var(--bone-dim); font-size:1rem }
.hero__beats{
  flex:none; text-align:right;
  font-size:clamp(1.1rem,1.9vw,1.65rem); font-weight:600;
  letter-spacing:-.02em; line-height:1.15; text-transform:uppercase;
  transition-delay:1.4s;
}
@media (max-width:860px){ .hero__beats{ display:none } }

.hero__scroll{
  display:flex; flex-direction:column; align-items:center; gap:.7rem;
  flex:none; opacity:0; transition:opacity .9s ease 1.4s, color .4s;
}
.is-ready .hero__scroll{ opacity:1 }
.hero__scroll:hover{ color:var(--amber) }
.hero__scroll i{
  display:block; width:1px; height:52px; background:currentColor;
  opacity:.35; overflow:hidden; position:relative;
}
.hero__scroll i::after{
  content:""; position:absolute; inset:0; background:var(--amber);
  animation:scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine{
  0%{ transform:translateY(-100%) } 55%,100%{ transform:translateY(100%) }
}
@media (max-width:700px){ .hero__scroll{ display:none } }

/* ═══ MARQUEE ═════════════════════════════════════════════ */
.marquee{
  display:block; position:relative; overflow:hidden;
  padding:clamp(1.4rem,3.4vw,2.6rem) 0;
  border-top:var(--rule); border-bottom:var(--rule);
  background:var(--ink-2);
}
.marquee__track{ display:flex; width:max-content; animation:slide 34s linear infinite }
.marquee__track span{
  display:inline-block; white-space:nowrap; padding-right:.4em;
  font-size:clamp(2rem,6vw,5.2rem); font-weight:600;
  letter-spacing:-.03em; line-height:1;
}
.marquee__track i{
  font-family:var(--serif); font-style:italic; color:var(--amber);
  padding-inline:.14em; font-weight:400;
}
.marquee:hover .marquee__track{ animation-duration:14s }
.marquee:hover{ color:var(--amber-hi) }
@keyframes slide{ to{ transform:translateX(-50%) } }

/* ═══ SHARED SECTION SHELL ════════════════════════════════ */
.sect{ padding:clamp(4.5rem,11vh,9rem) var(--pad) }
.tag{ margin-bottom:1.4rem }
.h2{
  font-size:clamp(2.2rem,6.4vw,5.4rem);
  font-weight:700; line-height:.94; letter-spacing:-.035em;
  text-transform:uppercase;
}
.h2 em{
  font-family:var(--serif); font-style:italic; font-weight:400;
  text-transform:lowercase; letter-spacing:-.01em; color:var(--amber);
}

[data-reveal]{
  opacity:0; transform:translateY(26px);
  transition:opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay:calc(var(--d,0) * 90ms);
}
[data-reveal].is-in{ opacity:1; transform:none }

/* ═══ SERVICES ════════════════════════════════════════════ */
.services .sect__head{
  display:grid; grid-template-columns:1fr; gap:1.6rem;
  margin-bottom:clamp(2.5rem,6vw,4.5rem);
}
@media (min-width:900px){
  .services .sect__head{ grid-template-columns:1.3fr .7fr; align-items:end }
  .services .tag{ grid-column:1/-1; margin:0 }
}
.sect__note{ max-width:42ch; color:var(--bone-dim) }

.svc__row{
  position:relative;
  display:grid; grid-template-columns:auto 1fr; gap:.4rem 1.6rem;
  align-items:baseline;
  padding:clamp(1.1rem,2.4vw,1.9rem) 0;
  border-top:var(--rule);
  transition:padding-left .55s var(--ease), color .45s var(--ease);
}
.svc__row:last-child{ border-bottom:var(--rule) }
.svc__row::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--bone); transform:scaleY(0); transform-origin:bottom;
  transition:transform .55s var(--ease);
}
@media (hover:hover){
  .svc__row:hover{ color:var(--ink); padding-left:clamp(1rem,2.5vw,2.4rem) }
  .svc__row:hover::before{ transform:scaleY(1); transform-origin:top }
  .svc__row:hover .svc__n,.svc__row:hover .svc__desc{ color:rgba(16,13,10,.55) }
  .svc__row:hover .svc__arrow{ opacity:1; transform:none }
}
.svc__n{ align-self:center }
.svc__name{
  font-size:clamp(1.6rem,4.4vw,3.4rem); font-weight:600;
  letter-spacing:-.03em; line-height:1.02;
}
.svc__desc{
  grid-column:2; font-family:var(--mono); font-size:.6875rem;
  letter-spacing:.13em; text-transform:uppercase; color:var(--bone-dim);
  transition:color .45s;
}
.svc__arrow{
  position:absolute; right:0; top:50%; width:34px; height:1px;
  background:currentColor; opacity:0; transform:translateX(-16px);
  transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.svc__arrow::after{
  content:""; position:absolute; right:0; top:-4px;
  width:9px; height:9px; border-top:1px solid currentColor;
  border-right:1px solid currentColor; transform:rotate(45deg);
}

/* ═══ WORK ════════════════════════════════════════════════ */
.work__bar{
  display:flex; flex-wrap:wrap; align-items:flex-end;
  justify-content:space-between; gap:1.5rem;
  margin-bottom:clamp(2rem,4vw,3.2rem);
}
.work__bar .tag{ margin:0 }
.filters{ display:flex; flex-wrap:wrap; gap:.5rem }
.filter{
  padding:.55rem 1rem; border:1px solid rgba(232,226,219,.42);
  border-radius:999px; font-family:var(--mono); font-size:.6875rem;
  letter-spacing:.11em; text-transform:uppercase; color:var(--bone-dim);
  transition:color .35s, border-color .35s, background .35s;
}
.filter sup{ font-size:.55em; opacity:.6; margin-left:.15em; top:-.5em }
.filter:hover{ color:var(--bone); border-color:rgba(232,226,219,.5) }
.filter.is-on{ background:var(--bone); border-color:var(--bone); color:var(--ink) }

.grid{
  display:grid; grid-template-columns:repeat(12,1fr);
  gap:var(--gap); align-items:start;
}
.card{ grid-column:span 12 }

@media (min-width:900px){
  /* Editorial rhythm — explicit column lines, because span-only
     placement lets a card overlap its neighbour and get bumped
     down a row, blowing a hole in the layout. */
  .grid:not(.is-filtered) .card:nth-of-type(1){ grid-column:1 / 6 }
  .grid:not(.is-filtered) .card:nth-of-type(2){ grid-column:8 / 12; margin-top:5rem }
  .grid:not(.is-filtered) .card:nth-of-type(3){ grid-column:1 / 8;  margin-top:3rem }
  .grid:not(.is-filtered) .card:nth-of-type(4){ grid-column:9 / 13; margin-top:7rem }
  .grid:not(.is-filtered) .card:nth-of-type(5){ grid-column:1 / 8 }
  .grid:not(.is-filtered) .card:nth-of-type(6){ grid-column:8 / 13; margin-top:4rem }
  .grid.is-filtered .card{ grid-column:span 6; margin-top:0 }
}

.card.is-out{ display:none }
.card__img{
  position:relative; overflow:hidden; background:var(--ink-2);
  aspect-ratio:4/5;
}
.card--wide .card__img{ aspect-ratio:3/2 }
.card__img img{
  width:100%; height:100%; object-fit:cover;
  filter:contrast(1.05) saturate(.9);
  transition:transform 1.1s var(--slow), filter .7s var(--ease);
}
.card:hover .card__img img{ transform:scale(1.045); filter:contrast(1.1) saturate(1) }
.card__img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(16,13,10,0) 55%,rgba(16,13,10,.55) 100%);
  opacity:0; transition:opacity .6s var(--ease);
}
.card:hover .card__img::after{ opacity:1 }

.card__meta{
  display:grid; grid-template-columns:1fr auto; gap:.2rem 1rem;
  padding-top:.9rem;
}
.card__meta h3{
  grid-column:1/-1; order:2;
  font-size:clamp(1.05rem,1.6vw,1.35rem); font-weight:500; letter-spacing:-.015em;
}
.card__meta .mono{ order:1 }
.card__meta .mono:last-child{ text-align:right }

/* ═══ APPROACH ════════════════════════════════════════════ */
.approach__intro{ margin-bottom:clamp(2.5rem,6vw,4rem) }
.stack{ display:flex; flex-direction:column; gap:1rem }
.step{
  display:grid; gap:.9rem 1.5rem;
  padding:1.6rem clamp(1.5rem,3vw,2.6rem) clamp(1.8rem,3.5vw,2.6rem);
  background:var(--ink-2);
  border:1px solid rgba(232,226,219,.16);
  border-radius:2px;
}
@media (min-width:820px){
  /* Two rows on purpose: when a card is buried in the stack only its
     top band shows, so that band must hold a whole thought — number,
     title, week — and never half a paragraph. */
  .step{
    grid-template-columns:4.5rem minmax(0,1fr) 6rem;
    column-gap:clamp(1.5rem,3vw,3rem); align-items:baseline;
  }
  .step__n{ grid-area:1/1 }
  .step__t{ grid-area:1/2 }
  .step__d{ grid-area:1/3; text-align:right }
  .step__p{ grid-area:2/2/2/4 }
}
/* Pin only where there is room to pile without crushing the cards. */
@media (min-width:820px) and (min-height:680px){
  .step{ position:sticky; top:calc(5.5rem + var(--i) * 5.6rem) }
}
.step__n{ color:var(--amber) }
.step__t{
  font-size:clamp(1.9rem,4.6vw,3.6rem); font-weight:700;
  letter-spacing:-.035em; line-height:1; text-transform:uppercase;
}
.flip{ display:block; position:relative; overflow:hidden; height:1em }
.flip b{
  display:block; font-weight:inherit;
  transition:transform .6s var(--ease), color .6s var(--ease);
}
.flip b:last-child{
  position:absolute; inset:0; transform:translateY(100%);
  font-family:var(--serif); font-style:italic; font-weight:400;
  text-transform:lowercase; color:var(--amber); letter-spacing:-.01em;
}
.step:hover .flip b{ transform:translateY(-100%) }
.step:hover .flip b:last-child{ transform:translateY(0) }
.step__p{ color:var(--bone-dim); max-width:52ch }
.step__d{ white-space:nowrap }

/* ═══ STUDIO ══════════════════════════════════════════════ */
.studio__grid{ display:grid; gap:1.8rem }
@media (min-width:960px){
  .studio__grid{ grid-template-columns:1fr 1fr; column-gap:clamp(3rem,7vw,7rem) }
  .studio .tag{ grid-column:1/-1 }
  .studio__quote{ grid-column:1 }
  .studio__body{ grid-column:2 }
}
.studio__quote{
  font-size:clamp(2rem,5.4vw,4.4rem); font-weight:700;
  line-height:.98; letter-spacing:-.035em; text-transform:uppercase;
}
.studio__quote em{
  font-family:var(--serif); font-style:italic; font-weight:400;
  text-transform:lowercase; color:var(--amber); letter-spacing:-.01em;
}
.studio__body p{ color:var(--bone-dim); max-width:50ch }
.studio__body p + p{ margin-top:1.1rem }
.studio__stats{
  display:grid; grid-template-columns:repeat(2,1fr); gap:1.4rem;
  margin-top:2.4rem; padding-top:1.8rem; border-top:var(--rule);
}
@media (min-width:620px){ .studio__stats{ grid-template-columns:repeat(4,1fr) } }
.studio__stats dt{ margin-bottom:.35rem }
.studio__stats dd{
  font-size:clamp(1.6rem,2.6vw,2.2rem); font-weight:600; letter-spacing:-.03em;
}

.strip{
  margin:clamp(3rem,7vw,6rem) calc(var(--pad) * -1) 0;
  overflow:hidden; touch-action:pan-y;
}
.strip__track{
  display:flex; gap:var(--gap); width:max-content;
  padding-inline:var(--pad);
  will-change:transform;
}
.strip figure{ width:clamp(200px,26vw,380px); flex:none }
.strip img{
  width:100%; height:clamp(240px,32vw,440px); object-fit:cover;
  filter:grayscale(.25) contrast(1.05);
  transition:filter .7s var(--ease);
}
.strip figure:hover img{ filter:grayscale(0) contrast(1.08) }

.clients{ margin-top:clamp(3.5rem,8vw,6rem); padding-top:2rem; border-top:var(--rule) }
.clients ul{
  display:flex; flex-wrap:wrap; gap:.2rem 1.4rem;
  font-size:clamp(1.4rem,3.6vw,2.6rem); font-weight:500; letter-spacing:-.03em;
}
.clients li{ color:var(--bone-dim); transition:color .4s var(--ease) }
.clients li:hover{ color:var(--bone) }
.clients li + li::before{
  content:"·"; color:var(--amber); margin-right:1.4rem; opacity:.55;
}

/* ═══ CONTACT ═════════════════════════════════════════════ */
.contact{ background:var(--bone); color:var(--ink) }
.contact .tag{ color:rgba(16,13,10,.62) }
.contact .mono{ color:rgba(16,13,10,.62) }
.contact__grid{ display:grid; gap:2.5rem }
@media (min-width:960px){
  .contact__grid{
    grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
    column-gap:clamp(2rem,5vw,5rem); align-items:end;
  }
}
.contact__side{ padding-bottom:.5rem }
.contact__list{ margin-top:2rem; border-top:1px solid rgba(16,13,10,.18) }
.contact__list li{
  display:flex; justify-content:space-between; gap:1.5rem;
  padding:.75rem 0; border-bottom:1px solid rgba(16,13,10,.18);
}
.contact__list li > span:last-child{ text-align:right; font-weight:500 }
.contact__big{
  font-size:clamp(2.6rem,10vw,9rem); font-weight:700;
  line-height:.88; letter-spacing:-.04em; text-transform:uppercase;
}
.contact__big em{
  font-family:var(--serif); font-style:italic; font-weight:400;
  text-transform:lowercase; color:#8A5A22; letter-spacing:-.01em;
}
.contact__mail{
  display:inline-block; position:relative; margin-top:.5rem;
  font-size:clamp(1.1rem,3.4vw,2.4rem); font-weight:500; letter-spacing:-.02em;
}
.contact__mail::after{
  content:""; position:absolute; left:0; right:0; bottom:-.08em; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:right;
  transition:transform .55s var(--ease);
}
.contact__mail:hover::after{ transform:scaleX(1); transform-origin:left }
.contact__note{ max-width:44ch; margin-top:1.4rem; color:rgba(16,13,10,.62) }

.deck{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:1.2rem; margin-top:clamp(3rem,7vw,5rem);
  padding:1.6rem 0; border-top:1px solid rgba(16,13,10,.18);
  border-bottom:1px solid rgba(16,13,10,.18);
}
.deck p{ font-size:clamp(1.05rem,2vw,1.4rem); letter-spacing:-.015em }

.foot{
  display:grid; grid-template-columns:repeat(2,1fr); gap:2rem;
  margin-top:clamp(3rem,6vw,4.5rem);
}
@media (min-width:820px){ .foot{ grid-template-columns:repeat(4,1fr) } }
.foot .mono{ color:rgba(16,13,10,.62); margin-bottom:.6rem }
.foot p{ line-height:1.7 }
.foot a{ transition:color .35s }
.foot a:hover{ color:#8A5A22 }
.foot__col--end{ display:flex; flex-direction:column; justify-content:space-between }
@media (min-width:820px){ .foot__col--end{ align-items:flex-end; text-align:right } }
.foot__top{ position:relative; font-weight:500 }
.foot__top::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background:currentColor; transform:scaleX(1); transform-origin:left;
  transition:transform .45s var(--ease);
}
.foot__top:hover::after{ transform:scaleX(0); transform-origin:right }

/* ═══ RAIL GUTTER ═════════════════════════════════════════
   Last in the cascade on purpose: the section shorthands above
   reset padding-right, so this has to land after them. */
@media (min-width:1081px){
  .hero,.sect{ padding-right:calc(var(--pad) + 4.5rem) }
}

/* ═══ REDUCED MOTION ══════════════════════════════════════ */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto }
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .hero .w > span{ transform:none }
  .hero__plate{ clip-path:none }
  .hero__lede,.hero__scroll{ opacity:1; transform:none }
  [data-reveal]{ opacity:1; transform:none }
  .cursor,.cursor-media,.grain{ display:none }
  .step{ position:static }
}
