/* ============================================================
   LAUREN ENSLIN DESIGN  ·  Chicago
   Editorial design system. Warm ivory and deep umber.
   Display: Instrument Serif   ·   Text: Instrument Sans
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

/* ---------- tokens ---------- */
:root {
  --ink: #262019;
  --ivory: #fcfbf8;
  --mute: rgba(38, 32, 25, 0.58);
  --mute-2: rgba(38, 32, 25, 0.4);
  --line: rgba(38, 32, 25, 0.14);
  --line-dark: rgba(252, 251, 248, 0.18);
  --taupe: #8a7a68;
  --frame-bg: #f1ede6;

  --f-display: "Instrument Serif", "Georgia", "Times New Roman", serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --w-max: 1440px;      /* header / footer / wide sections */
  --w-content: 1180px;  /* galleries + standard content */
  --w-narrow: 760px;    /* prose columns */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --gap: 10px;          /* image grid gap */

  --section: clamp(4.5rem, 9vw, 9rem);
  --section-sm: clamp(3rem, 6vw, 5.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- base ---------- */
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 640px){ body { font-size: 1rem; } }
::selection { background: var(--ink); color: var(--ivory); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--content { max-width: calc(var(--w-content) + 2 * var(--gutter)); }
.container--narrow  { max-width: calc(var(--w-narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--sm { padding-block: var(--section-sm); }
.section--top0 { padding-top: 0; }
.section--bottom0 { padding-bottom: 0; }
.on-dark { background: var(--ink); color: var(--ivory); }
.full-bleed { width: 100vw; margin-left: 50%; transform: translateX(-50%); }

/* ---------- typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}
.h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0.012em;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.14;
}
.statement {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 3.05rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
}
.on-dark .eyebrow { color: rgba(252, 251, 248, 0.62); }
.lede {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.42;
  color: var(--ink);
  text-wrap: pretty;
}
.prose p { margin-bottom: 1.2em; line-height: 1.75; color: rgba(38,32,25,0.82); }
.prose p:last-child { margin-bottom: 0; }
.prose--lg p { font-size: 1.12rem; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }
.text-mute { color: var(--mute); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  border: 1px solid var(--ink);
  padding: 1.05em 2.4em;
  font-family: var(--f-body);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--light { border-color: rgba(252,251,248,0.6); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; }
.link-arrow::after { content: "\2192"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-underline { text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(38,32,25,0.35); transition: text-decoration-color .25s ease; }
.link-underline:hover { text-decoration-color: rgba(38,32,25,0.9); }

/* ---------- hairlines ---------- */
.rule { border: 0; border-top: 1px solid var(--line); }
.on-dark .rule { border-top-color: var(--line-dark); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- image frame + motion ---------- */
.frame { position: relative; overflow: hidden; background: var(--frame-bg); display: block; }
.frame img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease); }
a:hover > .frame img, .hover-zoom:hover .frame img { transform: scale(1.035); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  .frame img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(252,251,248,0.94); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: clamp(1.1rem, 1.6vw, 1.6rem); }

/* text wordmark lockup */
.wordmark { display: block; line-height: 1; }
.wordmark__name {
  display: block;
  font-family: var(--f-body);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark__sub {
  display: block;
  margin-top: 0.42em;
  font-family: var(--f-body);
  font-size: clamp(0.64rem, 0.9vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
}
.on-dark .wordmark__name, .footer-wordmark .wordmark__name { color: var(--ivory); }

.nav { display: none; align-items: center; gap: clamp(1.4rem, 2vw, 2.4rem); }
.nav a { font-family: var(--f-body); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  transition: opacity .25s ease; position: relative; padding-block: 0.35rem; }
.nav a:hover { opacity: 0.5; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); }
@media (min-width: 1000px){ .nav { display: flex; } }

.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 30px; height: 22px; justify-content: center; }
.menu-toggle span { height: 1.4px; width: 26px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s ease; }
body.menu-open .menu-toggle span:nth-child(1){ transform: translateY(6.4px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3){ transform: translateY(-6.4px) rotate(-45deg); }
@media (min-width: 1000px){ .menu-toggle { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 50;
  background: var(--ivory);
  padding: clamp(6rem,18vw,8rem) var(--gutter) 3rem;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .35s ease, visibility 0s .35s;
  overflow-y: auto;
}
body.menu-open { overflow: hidden; }
body.menu-open .drawer { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.drawer nav { display: grid; gap: 0.4rem; }
.drawer a { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.2; padding-block: 0.35rem; }
.drawer .drawer-sub { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.drawer .drawer-sub a { font-family: var(--f-body); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1080px; overflow: hidden; }
.hero .frame, .hero .frame img { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,0.28) 0%, rgba(20,16,12,0.05) 32%, rgba(20,16,12,0.12) 70%, rgba(20,16,12,0.46) 100%); z-index: 1; }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(3rem, 7vh, 6rem); color: var(--ivory); }
.hero__content .eyebrow { color: rgba(252,251,248,0.82); }
.hero__title { font-family: var(--f-display); font-weight: 400; color: #fff;
  font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1.0; letter-spacing: 0.01em; max-width: 18ch; }
.hero__sub { margin-top: 1.2rem; max-width: 40ch; color: rgba(252,251,248,0.9);
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.4; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(252,251,248,0.7); }
@media (max-width: 700px){
  .hero .eyebrow, .hero__sub, .scroll-cue { display: none; }
  .hero__content { padding-bottom: clamp(3rem, 12vh, 5rem); }
  .hero { min-height: 480px; }
}

/* ============================================================
   ROOM TRIPTYCH (portfolio feature blocks)
   ============================================================ */
.triptych { display: grid; gap: 2px; }
.tri {
  position: relative; display: block; overflow: hidden;
  height: 62svh; min-height: 400px;
}
.tri .frame, .tri .frame img { position: absolute; inset: 0; height: 100%; width: 100%; }
.tri::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,0.12), rgba(20,16,12,0.05) 45%, rgba(20,16,12,0.5)); z-index: 1; transition: background .5s ease; }
.tri:hover::after { background: linear-gradient(180deg, rgba(20,16,12,0.2), rgba(20,16,12,0.12) 45%, rgba(20,16,12,0.58)); }
.tri__label { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; gap: 1rem; padding: 1.5rem; }
.tri__word { font-family: var(--f-display); font-size: clamp(2.4rem, 4.5vw, 4rem); letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.tri__word::after { content: ""; display: block; width: 46px; height: 1px; background: rgba(255,255,255,0.75); margin: 1.1rem auto 0;
  transition: width .5s var(--ease); }
.tri:hover .tri__word::after { width: 92px; }
.tri__meta { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.tri__cta { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: #fff;
  display: inline-flex; align-items: center; gap: 0.5em;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tri__cta::after { content: "\2192"; }
.tri:hover .tri__cta { opacity: 1; transform: none; }
@media (min-width: 860px){
  .triptych { grid-template-columns: repeat(3, 1fr); }
  .tri { height: 82vh; min-height: 540px; }
}
@media (max-width: 700px){
  .tri__meta, .tri__cta { display: none; }
}

/* ============================================================
   CREDENTIAL STRIP
   ============================================================ */
.cred-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: clamp(1.2rem, 3vw, 2.4rem) clamp(2rem, 5vw, 4rem); }
.cred-wall span { font-family: var(--f-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
@media (max-width: 420px){ .cred-wall span { white-space: normal; } }

/* ============================================================
   REGIONS / WHERE WE WORK
   ============================================================ */
.regions { display: grid; gap: 2px; grid-template-columns: 1fr; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 800px){ .regions { grid-template-columns: repeat(3, 1fr); } }
.region { background: var(--ivory); padding: clamp(2.2rem,4vw,3.5rem) clamp(1.5rem,3vw,2.8rem); }
.region h3 { font-family: var(--f-display); font-size: clamp(1.5rem,2.2vw,2rem); line-height: 1.1; }
.region p { margin-top: 0.9rem; color: var(--mute); font-size: 0.95rem; line-height: 1.65; }
.region .eyebrow { display: block; margin-bottom: 1.1rem; }

/* ============================================================
   PROJECT HEADER
   ============================================================ */
.page-head { padding-top: var(--section-sm); padding-bottom: var(--section-sm); }
.page-head--tight { padding-bottom: clamp(2rem,4vw,3rem); }
.proj-head { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
.proj-head__main h1 { max-width: 18ch; }
.proj-head__main .lede { margin-top: 1.4rem; max-width: 54ch; }
.proj-head__aside dl { display: grid; gap: 1rem; margin: 0; }
.proj-head__aside dt { font-family: var(--f-body); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.proj-head__aside dd { margin: 0.3rem 0 0; font-size: 0.95rem; }
@media (min-width: 900px){
  .proj-head { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 2.5rem clamp(2rem,6vw,5rem); }
  .proj-head__aside dl { padding-left: 2rem; border-left: 1px solid var(--line); }
}

/* project hero */
.proj-hero { padding-top: clamp(0.5rem,1.5vw,1.25rem); }
.proj-hero__frame { position: relative; overflow: hidden; max-height: 84vh; }
.proj-hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   GALLERY (one-wide / pair / one-tall rows)
   ============================================================ */
.gallery { display: grid; gap: var(--gap); max-width: var(--w-content); margin-inline: auto; }
.g-row { width: 100%; }
.g-row--pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--gap); align-items: start; }
.g-row--one-tall { max-width: min(100%, calc(50% - (var(--gap) / 2))); margin-inline: auto; }
.g-item { margin: 0; }
.g-item .frame { width: 100%; }
.g-item figcaption { margin-top: 0.7rem; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 700px){
  .g-row--pair { grid-template-columns: 1fr; }
  .g-row--one-tall { max-width: 100%; }
}

/* ============================================================
   PORTFOLIO INDEX (cards)
   ============================================================ */
.proj-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem) var(--gap); grid-template-columns: 1fr; }
@media (min-width: 720px){ .proj-grid { grid-template-columns: 1fr 1fr; } }
.proj-card { display: block; }
.proj-card .frame { aspect-ratio: 4 / 3; }
.proj-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; }
.proj-card__title { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; }
.proj-card__cat { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
.proj-card:hover .proj-card__title { opacity: 0.6; transition: opacity .3s ease; }

/* portfolio category intro rows */
.cat-band { display: grid; gap: 1.4rem; align-items: end; grid-template-columns: 1fr; }
@media (min-width:900px){ .cat-band { grid-template-columns: auto 1fr; gap: 3rem; } }

/* ============================================================
   FEATURE SPLIT (image + text)
   ============================================================ */
.split { display: grid; gap: clamp(2rem,4vw,4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px){
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-img { grid-template-columns: 1.25fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media .frame { aspect-ratio: 4 / 5; }

/* ============================================================
   VALUES / SERVICES LIST
   ============================================================ */
.values { display: grid; gap: clamp(2rem,4vw,3rem); grid-template-columns: 1fr; counter-reset: v; }
@media (min-width:680px){ .values { grid-template-columns: 1fr 1fr; } }
.value { padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.value__num { font-family: var(--f-display); font-size: 1rem; color: rgba(252,251,248,0.5); }
.value h3 { margin: 0.6rem 0 0.7rem; }
.value p { color: rgba(252,251,248,0.72); font-size: 0.98rem; line-height: 1.7; }
.values--light .value { border-top-color: var(--line); }
.values--light .value__num { color: var(--taupe); }
.values--light .value p { color: rgba(38,32,25,0.72); }

/* service index list */
.svc-list { display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px){ .svc-list { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem,5vw,5rem); } }
.svc-list li { display: flex; align-items: baseline; gap: 1.2rem; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.svc-list li span:first-child { font-family: var(--f-display); font-size: 0.95rem; color: var(--taupe); min-width: 2ch; }
.svc-list li span:last-child { font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.3; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote { text-align: center; }
.quote blockquote { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.28; max-width: 26ch; margin-inline: auto; text-wrap: balance; }
.quote figcaption { margin-top: 1.6rem; font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); }
.on-dark .quote figcaption { color: rgba(252,251,248,0.55); }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; }
.cta .statement { max-width: 22ch; margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--ivory); }
.site-footer .footer-inner { padding-block: clamp(4rem,7vw,6.5rem) clamp(2.5rem,4vw,3.5rem); }
.footer-top { display: grid; gap: 3rem; grid-template-columns: 1fr; padding-bottom: clamp(3rem,5vw,4.5rem); }
@media (min-width: 900px){ .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; } }
.footer-brand p { color: rgba(252,251,248,0.66); max-width: 34ch; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.35; }
.footer-col h2 { font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(252,251,248,0.5); margin-bottom: 1.2rem; }
.footer-col a, .footer-col li { color: rgba(252,251,248,0.82); font-size: 0.92rem; padding-block: 0.32rem; display: block; transition: opacity .25s ease; }
.footer-col a:hover { opacity: 0.55; }
.footer-wordmark { display: block; color: var(--ivory); padding: clamp(2rem,5vw,4rem) 0 clamp(1.6rem,3.5vw,2.6rem); text-align: center; }
.footer-wordmark .wordmark__name { font-size: clamp(1.35rem, 3.8vw, 2.7rem); letter-spacing: 0.42em; }
.footer-wordmark .wordmark__sub { font-size: clamp(0.7rem, 1.15vw, 0.92rem); letter-spacing: 0.85em; margin-top: 0.7em; color: rgba(252,251,248,0.55); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem;
  font-size: 0.76rem; color: rgba(252,251,248,0.55); letter-spacing: 0.04em; }
@media (min-width: 640px){ .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(16,13,10,0.95);
  display: none; align-items: center; justify-content: center; padding: clamp(1rem,4vw,3rem); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.6rem; color: #fff; font-size: 1.4rem; letter-spacing: 0.1em; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2rem; padding: 1rem; opacity: 0.7; transition: opacity .2s ease; user-select: none; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 0.5rem; } .lightbox__next { right: 0.5rem; }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.7rem; letter-spacing: 0.2em; }

/* ---------- utilities ---------- */
.stack-sm > * + * { margin-top: 1rem; }
.stack > * + * { margin-top: 1.6rem; }
.stack-lg > * + * { margin-top: 2.6rem; }
.mt-1{margin-top:0.6rem}.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}.mt-4{margin-top:3rem}
.maxw-lede{max-width:40ch}
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.6rem 1rem; }
:where(a,button):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :where(a,button):focus-visible, .hero :focus-visible { outline-color: #fff; }
