/* Scalever Media: editorial paper-and-ink system.
   Display: Gloock. Text: Schibsted Grotesk. One accent: vermilion. */

@font-face { font-family: "Gloock"; src: url("/assets/fonts/gloock-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gloock"; src: url("/assets/fonts/gloock-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-latin-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f2ede3;
  --paper-2: #e8e0d0;
  --card: #f8f4ec;
  --ink: #16130f;
  --ink-2: #4a443b;
  --ink-3: #6f675b;
  --rule: rgba(22, 19, 15, .16);
  --rule-strong: rgba(22, 19, 15, .55);
  --accent: #e2461a;
  --accent-ink: #b0330c;
  --night: #17140f;
  --night-2: #221e17;
  --on-night: #efe7d8;
  --on-night-2: #b9ae9b;
  --ok: #2f6b3a;
  --bad: #a3260b;

  --f-display: "Gloock", "Iowan Old Style", "Times New Roman", serif;
  --f-text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(64px, 9vw, 128px);
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  font-feature-settings: "ss01", "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain, kept faint so text stays crisp. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .05 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--f-display); letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; }
h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* Measuring-scale motif: fine ticks every 8px, tall ticks every 64px. */
.ruler {
  height: 16px;
  background:
    repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 64px) left bottom / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 8px) left bottom / 100% 7px no-repeat;
  border-bottom: 1px solid var(--rule-strong);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: .65em;
  min-height: 48px; padding: .8em 1.35em;
  border: 1.5px solid var(--bg); border-radius: var(--r);
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1.1 var(--f-text); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --bg: var(--accent); color: #fff; border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--paper:hover { --bg: var(--accent); border-color: var(--accent); color: #fff; }
.btn--sm { min-height: 40px; padding: .6em 1em; font-size: .9375rem; }
.btn .arr { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.more {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px;
}
.more .arr { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.more:hover .arr { transform: translateX(3px); }

/* ---------- Masthead ---------- */
.mast { position: relative; z-index: 20; border-bottom: 1px solid var(--rule-strong); background: var(--paper); }
.mast__strip { border-bottom: 1px solid var(--rule); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mast__strip .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.mast__strip span:nth-child(2) { display: none; }
@media (min-width: 720px) { .mast__strip span:nth-child(2) { display: inline; } }
.mast__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.01em; }
.brand__sub { font-size: .625rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); margin-top: 5px; }

.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; font-weight: 600; font-size: .9375rem; text-decoration: none; border-radius: var(--r); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.mast__cta { display: none; }
@media (min-width: 900px) { .nav, .mast__cta { display: inline-flex; } .menu-btn { display: none; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink);
  font: 600 .9375rem var(--f-text); cursor: pointer;
}
.menu-btn__icon { position: relative; width: 18px; height: 12px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn__icon::before { top: 1px; }
.menu-btn__icon::after { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 5px; transform: rotate(-45deg); }
@media (min-width: 900px) { .menu-btn { display: none; } }

.drawer { border-top: 1px solid var(--rule); background: var(--paper); }
.drawer ul { display: grid; padding-block: 8px 20px; }
.drawer a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--f-display); font-size: 1.75rem; text-decoration: none; }
.drawer li:last-child { padding-top: 18px; }
@media (min-width: 900px) { .drawer { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(36px, 6vw, 72px); }
.hero__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: end; } }
.hero h1 { font-size: clamp(3.1rem, 1.4rem + 7.4vw, 8.4rem); line-height: .93; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede { max-width: 38em; margin-top: 28px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); }
.hero__lede strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }

.contents { border-top: 2px solid var(--ink); }
.contents__h { font-family: var(--f-text); padding: 12px 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--rule); }
.contents a {
  display: grid; grid-template-columns: 2.4em 1fr auto; align-items: baseline; gap: 8px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.contents a:hover { color: var(--ink); background: linear-gradient(90deg, var(--paper-2), transparent); }
.contents__no { font-family: var(--f-display); color: var(--accent-ink); }
.contents__t { font-weight: 600; }
.contents__go { width: 1em; height: 1em; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.contents a:hover .contents__go { transform: translateX(3px); color: var(--accent); }

/* The lever figure */
.figure { margin: clamp(40px, 6vw, 72px) 0 0; }
.figure__frame { position: relative; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.lever { width: 100%; height: auto; overflow: visible; }
.lever text { font-family: var(--f-text); }
.lever .t-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-2); }
.lever .t-big { font-family: var(--f-display); font-size: 30px; fill: var(--ink); }
.lever .t-dim { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink-3); }
.lever .ground { stroke: var(--ink); stroke-width: 1.5; }
.lever .tick { stroke: var(--rule-strong); stroke-width: 1; }
.lever .tick--long { stroke: var(--ink); }
.lever .dim { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.lever .fulcrum { fill: var(--ink); }
.lever .beam { fill: var(--ink); }
.lever .load { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.lever .effort { fill: var(--accent); }
.lever .arc { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }

.lever__beam { transform-box: view-box; transform-origin: 820px 240px; transform: rotate(4deg); }
.lever--compact .lever__beam { transform-origin: 480px 240px; }
.lever--compact .t-label { font-size: 22px; }
.lever--compact .t-big { font-size: 30px; }
.lever--compact .t-dim { font-size: 19px; }
.lever--compact { display: none; }
@media (max-width: 699px) { .lever--wide { display: none; } .lever--compact { display: block; } }
.lever__weight { transform: translateY(-230px); opacity: 0; }
.lever__arc, .lever__reach { opacity: 0; }
.is-ready .lever__weight { animation: lv-drop .75s cubic-bezier(.55, 0, .85, .35) .35s forwards; }
.is-ready .lever__beam { animation: lv-tip 1.4s cubic-bezier(.25, 1.35, .45, 1) 1.05s forwards; }
.is-ready .lever__arc { animation: lv-fade .6s ease 1.9s forwards; }
.is-ready .lever__reach { animation: lv-fade .6s ease 2.2s forwards; }
@keyframes lv-drop { 0% { transform: translateY(-230px); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes lv-tip { from { transform: rotate(4deg); } to { transform: rotate(-6deg); } }
@keyframes lv-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .lever__beam, .is-ready .lever__beam { animation: none; transform: rotate(-6deg); }
  .lever__weight, .is-ready .lever__weight { animation: none; transform: none; opacity: 1; }
  .lever__arc, .lever__reach { animation: none !important; opacity: 1; }
}
.figure__cap { display: grid; gap: 6px; padding-top: 14px; font-size: .875rem; color: var(--ink-2); }
@media (min-width: 720px) { .figure__cap { grid-template-columns: 8em 1fr; } }
.figure__cap b { font-weight: 700; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; padding-top: 2px; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--paper-2); }
.sec--night { background: var(--night); color: var(--on-night); }
.sec--night .kicker { color: var(--on-night-2); }
.sec--night a { color: var(--on-night); }
.sec--night .ruler { filter: invert(1) brightness(1.4); opacity: .6; }

.sechead { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .sechead { grid-template-columns: 5.5em minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 32px; } }
.sechead__folio { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); color: var(--accent); line-height: 1; }
.sechead h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem); }
.sechead p { color: var(--ink-2); max-width: 34em; }
.sec--night .sechead p { color: var(--on-night-2); }

/* Practice areas (home) */
.areas { display: grid; border-top: 2px solid var(--ink); }
@media (min-width: 820px) { .areas { grid-template-columns: 1fr 1fr; } }
.area { position: relative; display: grid; grid-template-columns: clamp(4.2rem, 3rem + 3vw, 6.2rem) 1fr; gap: 6px 22px; padding: 30px 0 34px; border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 820px) {
  .area { padding: 36px 40px 40px 0; }
  .area:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--rule-strong); }
}
.area__no { grid-row: span 4; font-family: var(--f-display); font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: .8; color: var(--accent); }
.area h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.15rem); line-height: 1.05; }
.area h3 a { text-decoration: none; }
.area h3 a::after { content: ""; position: absolute; inset: 0; }
.area h3 a:hover { color: var(--ink); }
.area p { color: var(--ink-2); max-width: 30em; }
.area__ends { font-size: .875rem; color: var(--ink); }
.area__ends b { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; color: var(--accent-ink); margin-right: .5em; }
.area:hover .area__no { transform: translateY(-3px); }
.area__no { transition: transform .3s var(--ease); }

/* Engagement route (night band) */
.route { display: grid; gap: 0; counter-reset: stop; }
@media (min-width: 1000px) { .route { grid-template-columns: repeat(5, 1fr); } }
.route__stop { position: relative; padding: 26px 0 30px 34px; border-left: 1px solid rgba(239, 231, 216, .22); }
@media (min-width: 1000px) { .route__stop { padding: 34px 22px 0 0; border-left: 0; border-top: 1px solid rgba(239, 231, 216, .28); } }
.route__stop::before {
  content: ""; position: absolute; left: -7px; top: 32px; width: 13px; height: 13px;
  background: var(--night); border: 2px solid var(--accent); transform: rotate(45deg);
}
@media (min-width: 1000px) { .route__stop::before { left: 0; top: -7px; } }
.route__stop:last-child::before { background: var(--accent); }
.route__when { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.route__stop h3 { margin-top: 10px; font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; color: var(--on-night); }
.route__stop p { margin-top: 10px; color: var(--on-night-2); font-size: .9375rem; }
.route__out { margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(239, 231, 216, .25); font-size: .875rem; color: var(--on-night); }
.route__out b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); margin-bottom: 4px; font-weight: 700; }

.rhythm { display: grid; gap: 20px; margin-top: clamp(40px, 5vw, 64px); padding: 26px 28px; border: 1px solid rgba(239, 231, 216, .28); }
@media (min-width: 820px) { .rhythm { grid-template-columns: auto 1fr; align-items: center; gap: 36px; } }
.rhythm__mark { font-family: var(--f-display); font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; color: var(--accent); }
.rhythm p { color: var(--on-night-2); max-width: 46em; }
.rhythm strong { color: var(--on-night); }

/* Pull statement */
.pull { display: grid; gap: 28px; }
@media (min-width: 1000px) { .pull { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.pull blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.8rem, 1.15rem + 2.1vw, 2.9rem); line-height: 1.08; letter-spacing: -.012em; }
.pull blockquote::before { content: "“"; display: block; height: .55em; color: var(--accent); font-size: 1.6em; line-height: 1; }
.pull__note { color: var(--ink-2); }
.pull__note p + p { margin-top: 1em; }
.vows { margin-top: 28px; border-top: 2px solid var(--ink); counter-reset: vow; }
.vows li { counter-increment: vow; display: grid; grid-template-columns: 2em 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.vows li::before { content: counter(vow, upper-roman) "."; font-family: var(--f-display); color: var(--accent-ink); }
.vows b { display: block; font-weight: 700; color: var(--ink); font-size: 1rem; }
.vows span { color: var(--ink-2); font-size: .9375rem; }

/* FAQ */
.faq { display: grid; gap: 36px; }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.faq__intro h2 { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4rem); margin-top: 14px; }
.faq__intro p { margin-top: 18px; color: var(--ink-2); max-width: 26em; }
.qa { border-bottom: 1px solid var(--rule-strong); counter-increment: qa; }
.faq__list { counter-reset: qa; border-top: 2px solid var(--ink); }
.qa summary {
  display: grid; grid-template-columns: 3em 1fr 24px; align-items: baseline; gap: 6px;
  padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q" counter(qa, decimal-leading-zero); font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--accent-ink); }
.qa summary:hover { color: var(--accent-ink); }
.qa__sign { position: relative; width: 16px; height: 16px; align-self: center; }
.qa__sign::before, .qa__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.qa__sign::after { transform: rotate(90deg); }
.qa[open] .qa__sign::after { transform: rotate(0); }
.qa__a { padding: 0 24px 22px 3em; color: var(--ink-2); }
.qa__a p + p { margin-top: .8em; }

/* Closing call */
.call { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 88px) clamp(22px, 5vw, 64px); background: var(--ink); color: var(--on-night); }
.call h2 { max-width: 13em; font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.8rem); }
.call h2 em { font-style: normal; color: var(--accent); }
.call p { max-width: 36em; margin-top: 20px; color: var(--on-night-2); }
.call__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.call__actions a:not(.btn) { color: var(--on-night); }
.call__glyph { position: absolute; right: -40px; bottom: -36px; width: min(46vw, 460px); opacity: .12; pointer-events: none; }
.wrap > .call { margin-bottom: var(--sec); }

/* ---------- Footer ---------- */
.foot { border-top: 2px solid var(--ink); padding-top: 56px; overflow: hidden; }
.foot__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.foot__about p { margin-top: 16px; color: var(--ink-2); max-width: 24em; font-size: .9375rem; }
.foot__mail { display: inline-block; margin-top: 16px; font-weight: 600; }
.foot__h { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; font-family: var(--f-text); }
.foot nav a { display: inline-block; padding: 5px 0; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot__word { margin-top: 56px; font-family: var(--f-display); font-size: min(21vw, 15rem); line-height: .78; letter-spacing: -.035em; white-space: nowrap; color: var(--ink); user-select: none; }
.foot__word span { color: var(--accent); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 26px; border-top: 1px solid var(--rule-strong); font-size: .8125rem; color: var(--ink-2); }

/* ---------- Inner page head ---------- */
.phead { padding-block: clamp(40px, 7vw, 96px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--rule-strong); }
.phead__grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .phead__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: end; } }
.phead h1 { font-size: clamp(2.8rem, 1.3rem + 5.8vw, 6.6rem); line-height: .95; letter-spacing: -.022em; margin-top: 16px; }
.phead h1 em { font-style: normal; color: var(--accent); }
.phead__lede { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); max-width: 30em; }
.phead .ruler { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Services ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { padding: 8px 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.practice { display: grid; gap: 28px; padding-block: clamp(52px, 7vw, 96px); border-bottom: 1px solid var(--rule-strong); scroll-margin-top: 16px; }
@media (min-width: 1000px) { .practice { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }
.practice__no { font-family: var(--f-display); font-size: 1.25rem; color: var(--accent); }
.practice h2 { margin-top: 10px; font-size: clamp(2.3rem, 1.3rem + 3.3vw, 4.2rem); }
.practice__tag { margin-top: 16px; font-size: 1.125rem; color: var(--ink-2); max-width: 24em; }
.practice__body > p { font-size: 1.0625rem; }
.incl { margin-top: 26px; display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 640px) { .incl { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.incl li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.incl b { display: block; font-weight: 700; }
.incl span { color: var(--ink-2); font-size: .9375rem; }
.spec { margin: 26px 0 0; display: grid; border: 1px solid var(--rule-strong); background: var(--card); }
.spec div { display: grid; grid-template-columns: minmax(8em, 34%) 1fr; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.spec dd { margin: 0; font-size: .9375rem; }

.models { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model { padding: 28px 0 32px; border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .model { padding: 32px 32px 36px 0; border-bottom: 0; } .model + .model { padding-left: 32px; border-left: 1px solid var(--rule-strong); } }
.model__fit { margin-top: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.model h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; }
.model p:last-child { margin-top: 14px; color: var(--ink-2); }

.kit { display: grid; border-top: 2px solid var(--ink); }
.kit div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 720px) { .kit div { grid-template-columns: 14em 1fr; gap: 24px; } }
.kit dt { font-family: var(--f-display); font-size: 1.35rem; }
.kit dd { margin: 0; color: var(--ink-2); padding-top: 4px; }

/* ---------- About ---------- */
.essay { display: grid; gap: 28px; }
@media (min-width: 1000px) { .essay { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.essay h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.8rem); margin-top: 14px; }
.essay__body { font-size: 1.125rem; }
.essay__body p + p { margin-top: 1.1em; }
.essay__body p:first-child::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .82; padding: .06em .1em 0 0; color: var(--accent); }

.tenets { display: grid; gap: 0; border-top: 2px solid var(--ink); counter-reset: ten; }
@media (min-width: 820px) { .tenets { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.tenets li { counter-increment: ten; display: grid; grid-template-columns: 3.2em 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--rule-strong); }
.tenets li::before { content: counter(ten, decimal-leading-zero); grid-row: span 2; font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: var(--accent); }
.tenets h3 { font-size: 1.1875rem; }
.tenets p { color: var(--ink-2); }

.roles { display: grid; gap: 16px; }
@media (min-width: 700px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .roles { grid-template-columns: repeat(4, 1fr); } }
.role { padding: 22px 22px 26px; background: var(--card); border: 1px solid var(--rule-strong); border-top: 4px solid var(--ink); }
.role__count { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.role h3 { margin-top: 8px; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.role p { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; }

.facts { margin: 0; border: 1px solid var(--rule-strong); background: var(--card); }
.facts div { display: grid; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .facts div { grid-template-columns: 13em 1fr; gap: 20px; } }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.facts dd { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; align-items: start; } }
.form { display: grid; gap: 26px; }
.form__row { display: grid; gap: 26px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; }
.field legend { padding: 0; margin-bottom: 12px; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field__hint { font-size: .875rem; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: var(--card); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: background .2s, border-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2316130f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { background-color: #fffcf6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); background-color: #fffcf6; box-shadow: 0 2px 0 var(--accent); }
.field [aria-invalid="true"] { border-bottom-color: var(--bad); }
.field__error { display: flex; align-items: center; gap: 8px; color: var(--bad); font-size: .875rem; font-weight: 600; }
.field__error[hidden] { display: none; }
.field__error svg { width: 16px; height: 16px; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid var(--rule-strong); border-radius: 999px; background: var(--card);
  font-weight: 600; font-size: .9375rem; cursor: pointer; transition: all .18s var(--ease);
}
.chip span i { font-style: normal; font-family: var(--f-display); color: var(--accent-ink); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span i { color: var(--accent); }
.chip input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__fine { font-size: .875rem; color: var(--ink-2); max-width: 30em; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.status { padding: 16px 18px; border-left: 4px solid var(--ink); background: var(--card); font-size: .9375rem; }
.status[hidden] { display: none; }
.status--ok { border-left-color: var(--ok); }
.status--bad { border-left-color: var(--bad); }
.status a { font-weight: 600; }

.after { padding: 28px; background: var(--night); color: var(--on-night); }
@media (min-width: 1000px) { .after { position: sticky; top: 24px; } }
.after h2 { font-size: 2rem; }
.after ol { margin-top: 20px; counter-reset: aft; }
.after li { counter-increment: aft; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid rgba(239, 231, 216, .18); }
.after li::before { content: counter(aft); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--accent); border-radius: 50%; font-size: .8125rem; font-weight: 700; color: var(--accent); }
.after b { display: block; }
.after span { color: var(--on-night-2); font-size: .9375rem; }
.after__mail { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(239, 231, 216, .18); font-size: .9375rem; color: var(--on-night-2); }
.after__mail a { display: inline-block; margin-top: 4px; color: var(--on-night); font-weight: 600; font-size: 1.0625rem; }

/* ---------- Legal prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-top: 2.2em; padding-top: .9em; border-top: 1px solid var(--rule-strong); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose ul { margin-top: 1em; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; list-style: square; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.legal { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 96px) var(--sec); }
@media (min-width: 1000px) { .legal { grid-template-columns: 15em minmax(0, 1fr); gap: 72px; } }
.legal__aside { font-size: .875rem; color: var(--ink-2); }
@media (min-width: 1000px) { .legal__aside { position: sticky; top: 24px; align-self: start; } }
.legal__aside dl { margin: 0; border-top: 2px solid var(--ink); }
.legal__aside div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.legal__aside dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal__aside dd { margin: 4px 0 0; color: var(--ink); }

/* ---------- Notice pages (thanks, 404) ---------- */
.notice { min-height: 62vh; display: grid; align-content: center; padding-block: clamp(56px, 9vw, 120px); }
.notice .notice__code { margin: 0; font-family: var(--f-display); font-size: clamp(5rem, 2rem + 14vw, 13rem); line-height: .8; color: var(--accent); }
.notice h1 { margin-top: 18px; font-size: clamp(2.4rem, 1.3rem + 4vw, 5rem); max-width: 12em; }
.notice p { margin-top: 20px; color: var(--ink-2); max-width: 34em; font-size: 1.0625rem; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 32px; }
.notice__tilt { width: min(340px, 70vw); margin-top: 40px; }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .hero .rv { transition-duration: .9s; }
.js .hero .rv:nth-child(2) { transition-delay: .08s; }
.js .hero .rv:nth-child(3) { transition-delay: .16s; }
.js .hero .rv:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

@media print {
  body::before, .mast__strip, .menu-btn, .drawer, .call__glyph, .foot__word { display: none !important; }
  body { background: #fff; }
}
