/* Milena Mining — site stylesheet
   Field-survey dossier: basalt ink, field-notebook paper, brand yellow. */

@font-face { font-family: "Big Shoulders Display"; src: url(../fonts/big-shoulders-display.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #15120f;
  --ink-2: #26211c;
  --ink-3: #3a332c;
  --paper: #f6f2ea;
  --paper-2: #ede7db;
  --paper-3: #e2dacb;
  --line: rgba(21, 18, 15, .14);
  --line-strong: rgba(21, 18, 15, .32);
  --muted: #6c6259;
  --yellow: #ffc500;
  --yellow-deep: #e9a400;
  --copper: #b4582a;
  --chalc: #1d7f99;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--serif);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font: 500 .8rem var(--mono); text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.eyebrow {
  font: 500 .75rem/1.2 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--yellow);
  font: 700 1rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { color: var(--ink); background: #ffd23d; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ghost { background: transparent; border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; transform: none; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); box-shadow: none; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; transform: none; }
.text-link { font: 500 .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.text-link::after { content: " ↓"; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 242, 234, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; font: 800 clamp(1.7rem, 2.4vw, 2.2rem)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; color: var(--ink); text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav a {
  position: relative; display: block; padding: 26px 0;
  font: 700 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
}
.site-nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -1px; height: 4px;
  background: var(--yellow); transition: left .3s var(--ease), right .3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { left: 0; right: 0; }
.site-nav a[aria-current] { color: var(--ink); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 26px; height: 2px; background: var(--ink); margin: 0 auto; position: relative;
  transition: transform .3s var(--ease), background .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); color: var(--paper);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease), visibility 0s .45s;
  }
  .site-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; }
  .site-nav a { color: var(--paper); padding: 16px 0; font-size: 1.35rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current] { color: var(--yellow); }
}

/* ------------------------------------------------------------ hero slider */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(520px, 86vh, 820px);
  background: var(--ink); color: #fff;
}
.hero-slides { list-style: none; margin: 0; padding: 0; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease); z-index: 1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }
.hero-slide.is-active .hero-img { animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(21, 18, 15, .15), rgba(21, 18, 15, .55) 75%),
    linear-gradient(to bottom, rgba(21, 18, 15, .45), rgba(21, 18, 15, 0) 30%, rgba(21, 18, 15, .7));
}
.hero-contours {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .13; mix-blend-mode: overlay;
  background: url(../img/contours-light.svg) center / 900px auto;
}
.hero-caption {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding-top: 40px;
}
.hero-kicker { font: 400 clamp(.72rem, 1.4vw, .9rem)/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; color: rgba(255, 255, 255, .88); }
.hero-title { margin: 0 0 34px; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .94; letter-spacing: .005em; }
.hero-line { display: block; }
.hero-line--1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); text-shadow: 0 2px 40px rgba(0, 0, 0, .35); text-wrap: balance; }
.hero-line--2 { font-size: clamp(1.25rem, 3.1vw, 2.6rem); font-weight: 600; color: var(--yellow); margin-top: .35em; letter-spacing: .06em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 0; }
.hero-actions .btn { box-shadow: none; }
.hero-actions .btn:not(.btn--ghost-light):hover { box-shadow: 0 0 0 6px rgba(255, 197, 0, .25); transform: none; }

/* staggered caption entrance on every slide change */
.hero-slide .hero-kicker, .hero-slide .hero-line, .hero-slide .hero-actions { opacity: 0; }
.hero-slide.is-active .hero-kicker { animation: rise-down .8s .5s var(--ease) both; }
.hero-slide.is-active .hero-line--1 { animation: slide-in .9s .9s var(--ease) both; }
.hero-slide.is-active .hero-line--2 { animation: slide-in .9s 1.15s var(--ease) both; }
.hero-slide.is-active .hero-actions { animation: rise-up .8s 1.6s var(--ease) both; }
@keyframes rise-down { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes rise-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(48px); clip-path: inset(0 0 0 100%); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.hero-hud {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 4;
  display: flex; gap: 28px; pointer-events: none;
  font: 400 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.hero-hud span::before { content: "◆"; color: var(--yellow); margin-right: 10px; font-size: .6rem; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(21, 18, 15, .3); color: #fff;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.hero-arrow svg { width: 26px; height: 26px; fill: currentColor; }
.hero-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }
.hero-dots { position: absolute; right: var(--gutter); bottom: 26px; z-index: 5; display: flex; gap: 10px; }
.hero-dot { width: 56px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero-dot span { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: progress var(--slide-ms, 8000ms) linear both; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 720px) {
  .hero { height: clamp(480px, 78vh, 640px); }
  .hero-arrow { display: none; }
  .hero-hud { display: none; }
  .hero-dots { left: 0; right: 0; justify-content: center; }
}

/* ------------------------------------------------------------ title banner */

.banner { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(21, 18, 15, .92) 10%, rgba(21, 18, 15, .45) 70%, rgba(21, 18, 15, .7));
}
.banner-contours { position: absolute; inset: 0; z-index: -1; opacity: .1; background: url(../img/contours-light.svg) 80% 30% / 700px auto; }
.banner-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(40px, 5vw, 60px); }
.banner h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); margin: 0; max-width: 18ch; line-height: .95; }
.banner-kicker { font: 500 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 16px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--yellow); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* ------------------------------------------------------------ status pages */

.status { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.status-grid { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.status-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.status-nav details { border-top: 4px solid var(--ink); }
.status-nav summary { list-style: none; padding: 18px 0 12px; cursor: default; }
.status-nav summary::-webkit-details-marker { display: none; }
.status-nav summary .eyebrow { margin: 0; }
.status-now { display: none; }
.status-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.status-nav li a {
  display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: baseline;
  padding: 9px 0 9px 2px; border-bottom: 1px solid var(--line);
  font-size: .94rem; line-height: 1.35; text-decoration: none; color: var(--ink-3);
  transition: color .2s, padding .3s var(--ease), background .2s;
}
.num { font: 500 .72rem/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.status-nav li a:hover { color: var(--ink); padding-left: 8px; }
.status-nav li a[aria-current] { background: var(--ink); color: var(--paper); padding-left: 12px; font-weight: 600; border-bottom-color: var(--ink); box-shadow: inset 4px 0 0 var(--yellow); }
.status-nav li a[aria-current] .num { color: var(--yellow); }

@media (max-width: 899px) {
  .status-grid { grid-template-columns: 1fr; }
  .status-nav { position: static; }
  .status-nav summary { cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 16px 44px 16px 0; position: relative; }
  .status-nav summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-75%) rotate(45deg); transition: transform .3s; }
  .status-nav details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
  .status-now { display: grid; grid-template-columns: 34px 1fr; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; }
  .status-now .num { align-self: center; color: var(--copper); }
  .status-nav details { border-bottom: 1px solid var(--line); }
}

.prose { max-width: 820px; min-width: 0; }
.prose > p, .prose li { font-size: 1.1rem; }
.prose > p:first-of-type::first-letter {
  float: left; font: 800 4.2em/.8 var(--display); color: var(--copper); margin: .08em .1em 0 0;
}
.prose h2, .prose h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.prose .refs { font: 400 .82rem/1.6 var(--mono); color: var(--muted); border-left: 3px solid var(--yellow); padding-left: 14px; }
.article-head { margin-bottom: 30px; }
.article-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0; }

.prose figure, .plate { margin: 2.2em 0; }
.prose figure { background: var(--paper-2); border: 1px solid var(--line); padding: 12px; }
.prose figure img { margin: 0 auto; }
figcaption { font: 400 .8rem/1.55 var(--mono); color: var(--muted); padding: 12px 4px 2px; letter-spacing: .01em; }
.figure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2.2em 0; }
.figure-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.figure-row figcaption { text-align: center; }

.zoom { position: relative; display: block; cursor: zoom-in; overflow: hidden; text-decoration: none; color: inherit; }
.zoom:hover { color: inherit; }
.zoom img { transition: transform .6s var(--ease), filter .4s; }
.zoom::after {
  content: ""; position: absolute; right: 10px; top: 10px; width: 34px; height: 34px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2315120f' d='M4 4h6v2H7.4l3.3 3.3-1.4 1.4L6 7.4V10H4zm16 16h-6v-2h2.6l-3.3-3.3 1.4-1.4 3.3 3.3V14h2zM20 4v6h-2V7.4l-3.3 3.3-1.4-1.4L16.6 6H14V4zM4 20v-6h2v2.6l3.3-3.3 1.4 1.4L7.4 18H10v2z'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s var(--ease);
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; transform: none; }
.zoom:hover img { transform: scale(1.025); }
.figure-row .zoom::after { width: 26px; height: 26px; right: 4px; top: 4px; background-size: 14px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 4px solid var(--ink); }
.pager a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; text-decoration: none;
  border: 1px solid var(--line-strong); font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.pager a span { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; color: var(--copper); }
.pager a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager a:hover span { color: var(--yellow); }
.pager-next { grid-column: 2; text-align: right; align-items: flex-end; }
.pager-prev span::before { content: "← "; }
.pager-next span::after { content: " →"; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager-next { grid-column: 1; } }

/* ------------------------------------------------------------ home */

.home { padding: clamp(56px, 8vw, 110px) 0 0; counter-reset: feature; }
.summary-head { text-align: center; max-width: 960px; margin: 0 auto; }
.summary-head .eyebrow { justify-content: center; }
.summary-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.summary-head h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 0; }
.summary-head h1 span { display: block; font-size: .5em; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-top: .5em; }

.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 100px);
  border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line-strong);
}
.stat-band > div { padding: 22px 22px 24px; border-left: 1px solid var(--line); }
.stat-band > div:first-child { border-left: 0; padding-left: 0; }
.stat-band dt { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.stat-band dd { margin: 12px 0 8px; font: 800 clamp(2.4rem, 4.6vw, 3.6rem)/.9 var(--display); }
.stat-band dd small { font-size: .4em; font-weight: 700; margin-left: 4px; color: var(--yellow-deep); letter-spacing: .06em; }
.stat-band p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 860px) {
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat-band > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.feature {
  counter-increment: feature;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line);
  position: relative;
}
.feature::before {
  content: counter(feature, decimal-leading-zero) " / 08";
  position: absolute; top: -1px; left: 0; padding: 8px 10px 0 0; background: var(--paper);
  font: 500 .7rem/1 var(--mono); letter-spacing: .14em; color: var(--muted);
  border-top: 2px solid var(--yellow-deep);
}
.feature-text h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.feature-text p { font-size: 1.05rem; }
.feature-text strong { font-weight: 600; }
.feature-media { margin: 0; position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; position: relative; z-index: 1; }
.feature-media::before {
  content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); z-index: 0;
  background: url(../img/contours-dark.svg) center / 520px auto, var(--paper-2);
  opacity: 1; border: 1px solid var(--line);
}
.feature--flip .feature-media::before { transform: translate(-18px, 18px); }
.feature-media::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 72px; height: 6px; background: var(--yellow); z-index: 2; }
.feature--flip .feature-media::after { left: auto; right: 0; }
@media (max-width: 799px) {
  .feature { grid-template-columns: 1fr; }
  .feature .feature-media { order: -1; margin-right: 18px; }
  .feature--flip .feature-media { margin: 0 0 0 18px; }
}

.plates { padding: clamp(56px, 8vw, 100px) 0; border-top: 4px solid var(--ink); }
.plates-head { text-align: center; margin-bottom: 40px; }
.plates-head .eyebrow { justify-content: center; }
.plates-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0 0 6px; }
.plates-head p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }
.plate { max-width: 780px; margin: 0 auto 56px; }
.plate > .zoom, .plate-pair { border: 1px solid var(--line-strong); background: #fff; padding: 10px; box-shadow: 10px 10px 0 var(--paper-3); }
.plate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.plate figcaption { font-size: .82rem; padding: 16px 0 0; text-align: center; max-width: 64ch; margin: 0 auto; }
.plate figcaption b { display: block; font: 800 1.3rem/1.2 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: .04em; margin-bottom: 4px; }

.home-contact {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--ink); color: var(--paper);
  /* full-bleed background without widening the layout */
  box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax);
}
.home-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: url(../img/contours-light.svg) center / 760px auto; }
.home-contact .eyebrow { justify-content: center; color: var(--yellow); }
.home-contact h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 24px; }
.home-contact .person { font-size: 1.15rem; }
.home-contact .person strong { font-weight: 600; }
.home-contact .channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font: 400 .95rem var(--mono); margin-bottom: 32px; }
.home-contact .channels a { color: var(--yellow); text-decoration: none; }
.home-contact .channels a:hover { text-decoration: underline; }
.home-contact .btn { box-shadow: 4px 4px 0 var(--copper); }

/* ------------------------------------------------------------ simple pages */

.page { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.lede { font-size: 1.2rem; }

.doc-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; max-width: 860px; }
.doc {
  display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 24px; align-items: center;
  padding: 22px 26px; border: 1px solid var(--line-strong); background: #fff; text-decoration: none;
  box-shadow: 6px 6px 0 var(--paper-3); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.doc:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--yellow); border-color: var(--ink); }
.doc-type { grid-row: span 2; display: grid; place-items: center; height: 84px; background: var(--copper); color: #fff; font: 800 1.5rem/1 var(--display); letter-spacing: .08em; }
.doc-list li:first-child .doc-type { background: var(--chalc); }
.doc-title { font: 800 clamp(1.3rem, 2.4vw, 1.75rem)/1.1 var(--display); text-transform: uppercase; }
.doc-meta { font: 400 .8rem/1.5 var(--mono); color: var(--muted); margin-top: 6px; }

.gallery { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery .zoom { background: #fff; border: 1px solid var(--line); padding: 8px; }
.gallery img { width: 100%; }
.gallery .zoom:has(img[width="77"]) img, .gallery .zoom:has(img[width="75"]) img, .gallery .zoom:has(img[width="84"]) img { width: auto; margin: 0 auto; }
.gallery-cap {
  display: block; font: 400 .72rem/1.45 var(--mono); color: var(--muted); padding: 10px 2px 2px;
}
.gallery-cap:empty { display: none; }

.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 40px 28px; }
.video-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  background: var(--ink); overflow: hidden;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .88; }
.video-frame:hover img { transform: scale(1.04); opacity: 1; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 197, 0, .5); transition: box-shadow .4s var(--ease), transform .3s var(--ease);
}
.video-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--ink); }
.video-frame:hover .video-play { box-shadow: 0 0 0 14px rgba(255, 197, 0, .25); transform: scale(1.05); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { margin: 14px 0 0; display: flex; gap: 14px; font-size: 1.02rem; line-height: 1.4; }
.video-title span { font: 500 .75rem/1.9 var(--mono); color: var(--copper); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.contact-form h2 { grid-column: 1 / -1; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.08; margin: 0 0 8px; text-transform: none; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--name, .field--wide { grid-column: 1 / -1; }
.field--name { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.field--name legend { padding: 0; margin-bottom: 8px; float: left; grid-column: 1 / -1; }
.field--name label { display: flex; flex-direction: column; gap: 6px; }
.field--name label span { font: 400 .7rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.field > span, .field legend { font: 500 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field i { color: var(--copper); font-style: normal; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--serif); color: var(--ink);
  padding: 13px 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2315120f' d='M7 9l5 5 5-5z'/%3E%3C/svg%3E") right 10px center / 22px no-repeat; padding-right: 40px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 197, 0, .6); }
.contact-form :user-invalid { border-color: var(--copper); }
.form-actions { grid-column: 1 / -1; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { background: var(--ink); color: var(--paper); padding: 32px 30px; position: relative; overflow: hidden; isolation: isolate; border-top: 6px solid var(--yellow); }
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: url(../img/contours-light.svg) 40% 30% / 560px auto; }
.contact-card > p { font-size: 1.1rem; margin-bottom: 26px; }
.contact-card dl { margin: 0; display: grid; gap: 22px; }
.contact-card dt { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.contact-card dd { margin: 0; display: flex; }
.contact-card dd a, .contact-card dd { align-items: center; gap: 10px; color: var(--paper); text-decoration: none; word-break: break-word; }
.contact-card dd a { display: flex; }
.contact-card dd a:hover { color: var(--yellow); }
.contact-card svg, .footer-contact svg { width: 18px; height: 18px; fill: var(--yellow); flex: none; }
.map { margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line-strong); background: var(--paper-2); padding: 10px; }
.map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: grayscale(.6) contrast(1.05); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form, .field--name { grid-template-columns: 1fr; } .contact-form > .field { grid-column: 1 / -1; } }

.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks h2 { font-size: clamp(2.6rem, 6vw, 4rem); }
.thanks p { font-size: 1.15rem; }
.thanks .sign { font-style: italic; color: var(--muted); }
.thanks .btn { margin: 8px 6px 0; }

/* ------------------------------------------------------------ footer */

.site-footer { background: var(--ink); color: rgba(246, 242, 234, .78); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background: url(../img/contours-light.svg) 90% 20% / 900px auto; }
.page-home .site-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px 56px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px; }
.footer-brand p { font: 400 .75rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.footer-brand .footer-logo { font: 800 2rem/1 var(--display); letter-spacing: .01em; color: var(--paper); margin: 0 0 22px; }
.footer-brand .footer-note { font: 400 .98rem/1.6 var(--serif); letter-spacing: 0; text-transform: none; color: rgba(246, 242, 234, .6); max-width: 38ch; }
.footer-col h2 { font-size: 1.1rem; letter-spacing: .14em; color: var(--yellow); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: rgba(246, 242, 234, .86); text-decoration: none; }
.footer-col a:hover { color: var(--yellow); }
.footer-contact li span { font: 400 .78rem var(--mono); color: rgba(246, 242, 234, .55); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font: 400 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom p { margin: 0; }
.to-top { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .25s, border-color .25s; }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }
.to-top:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ lightbox */

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(15, 12, 10, .94); padding: 64px 72px 72px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-stage img { max-width: min(1600px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-stage figcaption { color: rgba(246, 242, 234, .8); text-align: center; max-width: 80ch; padding-top: 16px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; font: 300 2rem/1 var(--serif); transition: background .2s, color .2s; }
.lightbox button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lightbox button svg { width: 28px; height: 28px; fill: currentColor; }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; top: 28px; left: 24px; margin: 0; font: 400 .75rem var(--mono); letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-count { display: none; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px 64px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; } }

/* ------------------------------------------------------------ scroll reveal */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-slide.is-active .hero-img { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero, .banner-img, .status-nav, .pager, .site-footer, .lightbox { display: none !important; }
  .banner { background: none; color: var(--ink); }
  body { background: #fff; }
}
