/* Fringe Fence — site styles
   Palette: ink (charcoal), paper (warm off-white), stone (product grey), rust accent.
   Type: Archivo (self-hosted). */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/assets/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("/assets/archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("/assets/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/assets/archivo-700.woff2") format("woff2"); }

:root {
  --ink: #1F2326;
  --ink-2: #2B3136;
  --ink-3: #3A4147;
  --paper: #F4F3F0;
  --paper-2: #EAE8E3;
  --white: #FFFFFF;
  --stone: #8B9096;
  --mute: #5F666D;
  --line: #D8D5CF;
  --line-dark: #3D444B;
  --accent: #C94A1C;
  --accent-hover: #B13F16;
  --accent-soft: #F3E3DB;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 3px;
  --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; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1440px; }

/* ---------- Typography ---------- */
.display { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -0.035em; font-weight: 600; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -0.015em; }
.h4 { font-size: 1.125rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--mute); max-width: 44ch; }
:is(.on-dark, .bg-ink, .bg-ink-2, .hero, .page-hero--image, .band) .lead { color: #B6BCC2; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }
:is(.on-dark, .bg-ink, .bg-ink-2, .hero, .page-hero--image, .band) .eyebrow { color: #A7AEB5; }
.measure { max-width: 62ch; }
.muted { color: var(--mute); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; line-height: 1;
  border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn--outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
:is(.on-dark, .bg-ink, .bg-ink-2, .hero, .page-hero--image, .band) .btn--outline { color: var(--paper); }
:is(.on-dark, .bg-ink, .bg-ink-2, .hero, .page-hero--image, .band) .btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .arrow { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link .arrow { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.site-header[data-theme="dark"] { position: fixed; left: 0; right: 0; background: transparent; color: var(--paper); }
.site-header[data-theme="dark"].is-scrolled { background: rgba(31, 35, 38, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom-color: rgba(255,255,255,.08); }
.site-header[data-theme="light"].is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.site-header__brand { display: inline-flex; color: inherit; }
.site-header__brand .logo { width: 158px; height: auto; }
.site-nav ul { display: flex; gap: 32px; }
.site-nav a { font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .85; padding: 8px 0; border-bottom: 1.5px solid transparent; transition: opacity .2s, border-color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; border-bottom-color: currentColor; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--paper); padding: 32px var(--gutter) 40px; overflow-y: auto; z-index: 99; }
.mobile-menu ul { display: grid; gap: 4px; margin-bottom: 28px; }
.mobile-menu ul a { display: block; padding: 14px 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__contact { margin-top: 28px; color: #A7AEB5; line-height: 1.8; }
.mobile-menu__contact a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--ink); color: var(--paper); }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header__actions .btn { display: none; }
}
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink-2 { background: var(--ink-2); color: var(--paper); }
.bg-white { background: var(--white); }
.bg-paper-2 { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.bg-ink .rule { border-color: var(--line-dark); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper);
  padding-top: var(--header-h); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,35,38,.6) 0%, rgba(31,35,38,.1) 32%),
    linear-gradient(0deg, rgba(31,35,38,.92) 0%, rgba(31,35,38,.7) 40%, rgba(31,35,38,.3) 70%, rgba(31,35,38,.15) 100%),
    linear-gradient(90deg, rgba(31,35,38,.35) 0%, rgba(31,35,38,0) 60%);
}
.hero .eyebrow { color: #D6DADE; }
.hero__content { position: relative; width: 100%; padding-bottom: clamp(40px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero .display { max-width: 12ch; }
.hero__aside { border-left: 2px solid var(--accent); padding-left: 22px; max-width: 42ch; }
.hero__aside p { color: #D6DADE; font-size: 1.05rem; }
.hero__aside .btn-row { margin-top: 22px; }
.hero__note { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #A7AEB5; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroZoom 9s var(--ease) both; }
  @keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
}
@media (max-width: 860px) {
  .hero { min-height: 92svh; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .display { max-width: none; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); }
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero--dark { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.page-hero--image { position: relative; color: var(--paper); min-height: 74vh; display: flex; align-items: flex-end; padding-top: calc(var(--header-h) + 40px); isolation: isolate; }
.page-hero--image .hero__media img { object-position: 50% 55%; }
.page-hero--image .hero__scrim { background: linear-gradient(180deg, rgba(31,35,38,.5) 0%, rgba(31,35,38,.15) 30%, rgba(31,35,38,.6) 60%, rgba(31,35,38,.9) 100%); }
.page-hero--image .container { position: relative; padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.feature { padding-top: 22px; border-top: 1px solid var(--line); }
.bg-ink .feature { border-top-color: var(--line-dark); }
.feature__num { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--accent); margin-bottom: 18px; }
.feature .h3 { margin-bottom: 12px; }
.feature p { color: var(--mute); }
.bg-ink .feature p { color: #B6BCC2; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr .85fr; }
.split__text .h2 { margin-bottom: 20px; }
.split__text p { color: var(--mute); }
.bg-ink .split__text p { color: #B6BCC2; }
.split__text .btn-row, .split__text .text-link { margin-top: 28px; }
@media (max-width: 860px) {
  .split, .split--wide-media { grid-template-columns: 1fr; }
  .split__media--first { order: -1; }
}

.figure { margin: 0; }
.figure img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.figure--4x3 img { aspect-ratio: 4 / 3; }
.figure--3x4 img { aspect-ratio: 3 / 4; }
.figure--16x9 img { aspect-ratio: 16 / 9; }
.figure--21x9 img { aspect-ratio: 21 / 9; }
.figure--tall img { aspect-ratio: 4 / 5; }
.figure figcaption { margin-top: 12px; font-size: .85rem; color: var(--mute); display: flex; gap: 10px; align-items: baseline; }
.figure figcaption::before { content: ""; width: 10px; height: 1.5px; background: var(--accent); flex: none; transform: translateY(-3px); }
.bg-ink .figure figcaption { color: #A7AEB5; }

/* Two-up editorial image block */
.media-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: end; }
@media (max-width: 700px) { .media-pair { grid-template-columns: 1fr; } }

/* Full-bleed band */
.band { position: relative; color: var(--paper); isolation: isolate; padding-block: clamp(96px, 14vw, 200px); }
.band .hero__scrim { background: linear-gradient(90deg, rgba(31,35,38,.9) 0%, rgba(31,35,38,.7) 45%, rgba(31,35,38,.25) 100%); }
.band .h2 { max-width: 16ch; }
.band .lead { color: #D6DADE; }

/* Checklist */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bg-ink .checklist li { border-color: var(--line-dark); }
.checklist li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; background: var(--accent); }
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--mute); font-size: .95rem; }
.bg-ink .checklist span { color: #B6BCC2; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.bg-ink .steps { border-color: var(--line-dark); }
.step { counter-increment: step; padding: 28px 26px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-ink .step { border-color: var(--line-dark); }
.step::before { content: "0" counter(step); display: block; font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); margin-bottom: 24px; line-height: 1; }
.step .h4 { margin-bottom: 8px; }
.step p { color: var(--mute); font-size: .95rem; }
.bg-ink .step p { color: #B6BCC2; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec th, .spec td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 600; width: 38%; padding-right: 24px; }
.spec td { color: var(--mute); }
.placeholder { display: inline-block; padding: 2px 8px; border: 1px dashed var(--accent); border-radius: 2px; color: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.bg-ink .placeholder { border-color: #E48A64; color: #E48A64; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.gallery .figure { grid-column: span 6; display: flex; flex-direction: column; }
.gallery .figure img { flex: 1 1 auto; min-height: 0; }
.gallery .figure--w4 { grid-column: span 4; }
.gallery .figure--w8 { grid-column: span 8; }
.gallery .figure--w12 { grid-column: span 12; }
.gallery .figure img { aspect-ratio: 3 / 2; }
.gallery .figure--tall img { aspect-ratio: 4 / 5; }
.gallery .figure--wide img { aspect-ratio: 21 / 9; }
@media (max-width: 860px) {
  .gallery .figure, .gallery .figure--w4, .gallery .figure--w8 { grid-column: span 6; }
  .gallery .figure--w12 { grid-column: span 12; }
}
@media (max-width: 560px) {
  .gallery .figure, .gallery .figure--w4, .gallery .figure--w8, .gallery .figure--w12 { grid-column: span 12; }
  .gallery .figure--wide img { aspect-ratio: 16 / 9; }
}

/* Panel diagram */
.diagram { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.diagram svg { width: 100%; height: auto; }
.diagram__legend { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; margin-top: 24px; font-size: .92rem; }
.diagram__legend li { display: flex; gap: 12px; align-items: baseline; }
.diagram__legend b { color: var(--accent); font-weight: 700; min-width: 1.4em; }
.diagram__legend span { color: var(--mute); }
@media (max-width: 520px) { .diagram__legend { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; font-weight: 400; font-size: 1.4rem; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); padding-bottom: 22px; max-width: 64ch; }

/* CTA band */
.cta { padding-block: clamp(72px, 10vw, 140px); }
.cta__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cta .h2 { max-width: 18ch; }
.cta__side p { color: #B6BCC2; }
.cta__side .btn-row { margin-top: 24px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 22px; }
.contact-list dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 40px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; padding: 0; margin-bottom: 6px; }
.form__hint { color: var(--mute); font-size: .95rem; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form__grid .field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.field .optional { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F666D' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31,35,38,.08); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent); }
.field__error { display: none; color: var(--accent); font-size: .85rem; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
@media (max-width: 700px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .checks { grid-template-columns: 1fr; } }
.field .check, .check { display: flex; margin: 0; align-items: center; gap: 10px; font-size: .95rem; font-weight: 400; cursor: pointer; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); min-height: 46px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.check:has(input:checked) { border-color: var(--ink); }
.form__footer { display: grid; gap: 18px; padding-top: 8px; }
.form__footer .small { max-width: 60ch; }
.form__status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; }
.form__status.is-error { display: block; background: var(--accent-soft); color: var(--accent-hover); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; padding: clamp(32px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-success.is-visible { display: block; }
.form-success .mark { width: 44px; height: 44px; margin-bottom: 24px; }
.form-success .h2 { margin-bottom: 14px; }
.form-success p { color: var(--mute); max-width: 56ch; }
.form-success .btn-row { margin-top: 28px; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* Apply page layout */
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.apply-aside__box { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.apply-aside__box .h4 { margin-bottom: 10px; }
.apply-aside__box p, .apply-aside__box li { color: var(--mute); font-size: .95rem; }
.apply-aside__box ol { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.apply-aside__box ol li::marker { color: var(--accent); font-weight: 600; }
@media (max-width: 960px) { .apply-layout { grid-template-columns: 1fr; } .apply-aside { position: static; order: -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand .logo { width: 170px; height: auto; margin-bottom: 20px; }
.site-footer__brand p { color: #A7AEB5; max-width: 34ch; font-size: .95rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__heading { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #A7AEB5; margin-bottom: 16px; font-weight: 600; }
.site-footer__cols li { margin-bottom: 10px; font-size: .95rem; color: #D6DADE; }
.site-footer__cols a { text-decoration: none; }
.site-footer__cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: #A7AEB5; }
.site-footer__bottom a { text-decoration: none; }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
  .figure img { transition: transform .8s var(--ease); }
  a .figure:hover img, .figure--hover:hover img { transform: scale(1.02); }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
