/* =========================================================
   KROJ · web design studio
   The whole page is one tailor's pattern sheet: margin labels,
   a measuring rule, cut lines between sections, notched corners.
   ========================================================= */

/* Fonts are served from this domain (no request to Google) */
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-italic-math.woff2) format("woff2"); unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-italic-symbols.woff2) format("woff2"); unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-math.woff2) format("woff2"); unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-symbols.woff2) format("woff2"); unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/bodoni-moda-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/schibsted-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/schibsted-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f2ede3;
  --paper-2: #e9e2d4;
  --paper-3: #d8cdb9;
  --card: #f7f3ea;
  --ink: #16140f;
  --ink-2: #3b362d;
  --mute: #7a7162;
  --line: rgba(22, 20, 15, .13);
  --line-2: rgba(22, 20, 15, .28);
  --gold: #b58a2e;
  --gold-hi: #e6c67d;
  --gold-deep: #8a6320;

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --notch: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark { fill: url(#kroj-gold); stroke: url(#kroj-gold); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display em { color: inherit; }
.kicker, .eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow .dash { width: 28px; height: 0; border-top: 1px dashed currentColor; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 46ch; }
.sec-sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 46ch; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--gold-deep); }

.reveal-lines .rl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-lines .rl > span { display: block; }

/* pattern-sheet section head: number + name in the margin, headline in the body */
.sheet-head { display: grid; grid-template-columns: 210px 1fr; gap: 22px 40px; margin-bottom: clamp(44px, 6vw, 84px); }
.sheet-head > :not(.sheet-no) { grid-column: 2; }
.sheet-no { grid-row: span 3; display: flex; align-items: baseline; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-top: .2em; }
.sheet-no b { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: .8; letter-spacing: 0; color: var(--gold-deep); }

/* ---------- buttons: sharp, with one corner cut off ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --hover-bg: var(--gold); --hover-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px 16px 22px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  background: var(--bg); color: var(--fg);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
  transition: color .4s var(--ease);
}
.btn i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover-bg); transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn:hover { color: var(--hover-fg); }
.btn:hover::before { transform: translateX(0); }
.btn:hover i { transform: translateX(4px); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --hover-bg: var(--ink); --hover-fg: var(--paper); }
.btn-paper { --bg: var(--paper); --fg: var(--ink); --hover-bg: var(--gold-hi); --hover-fg: var(--ink); }
.btn-line { --bg: transparent; --fg: var(--ink); clip-path: none; padding: 6px 0; border-bottom: 1px solid currentColor; }
.btn-line::before { display: none; }
.btn-line:hover { color: var(--gold-deep); }
.btn-lg { padding: 20px 30px 20px 26px; font-size: 16px; --notch: 14px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--paper); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s var(--ease), background .4s var(--ease);
}
.nav.is-solid::before { opacity: 1; }
.nav.is-dark { color: var(--paper); }
.nav.is-dark::before { background: var(--ink); border-color: rgba(242, 237, 227, .1); }
.nav.is-dark .nav-cta { --bg: var(--paper); --fg: var(--ink); }
.nav.is-dark .nav-burger { background: var(--paper); }
.nav.is-dark .nav-burger span { background: var(--ink); }
.nav-logo { display: block; width: 100px; }
.nav-logo .mark { width: 100%; height: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; font-size: 14px; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 18px 12px 16px; font-size: 13.5px; --notch: 9px; }
.nav-burger { display: none; width: 44px; height: 44px; background: var(--ink); position: relative; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease); }
.nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-size: 12px; letter-spacing: .1em; }
.lang a, .lang span { padding: 8px 7px; }
.lang span { color: var(--gold-deep); font-weight: 600; }
.lang a { opacity: .55; transition: opacity .3s; }
.lang a:hover { opacity: 1; }
.nav.is-dark .lang span { color: var(--gold-hi); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 36px;
  padding: 100px var(--gutter) 36px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: grid; }
.menu nav a { font-family: var(--serif); font-size: clamp(38px, 10vw, 72px); line-height: 1.08; border-bottom: 1px solid rgba(242,237,227,.14); padding: 8px 0; display: flex; align-items: baseline; gap: 16px; }
.menu nav a small { font-family: var(--sans); font-size: 12px; color: var(--gold-hi); }
.menu-lang { display: flex; gap: 18px; font-size: 13px; letter-spacing: .1em; }
.menu-lang span { color: var(--gold-hi); }
.menu-lang a { color: rgba(242, 237, 227, .6); }
.menu-mail { font-size: 14px; color: var(--gold-hi); }

/* ---------- the measuring rule down the left edge ---------- */
.side-ruler {
  position: fixed; left: 0; top: 0; bottom: 0; width: 30px; z-index: 40; pointer-events: none;
  border-right: 1px solid var(--line);
  background:
    repeating-linear-gradient(180deg, rgba(22,20,15,.55) 0 1px, transparent 1px 50px) right top / 14px 100% no-repeat,
    repeating-linear-gradient(180deg, rgba(22,20,15,.3) 0 1px, transparent 1px 10px) right top / 7px 100% no-repeat;
  opacity: 0; transform: translateX(-100%); transition: opacity .5s var(--ease), transform .5s var(--ease);
  display: none;
}
.side-ruler.is-on { opacity: 1; transform: none; }
.side-label {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
  background: var(--paper); padding: 10px 0;
}
.side-pos { position: absolute; right: -1px; top: 0; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 9px solid var(--gold); transform: translateY(-6px); }
.side-ruler { background-color: var(--paper); }
.side-ruler.on-dark {
  border-color: rgba(242,237,227,.12); background-color: var(--ink);
  background-image:
    repeating-linear-gradient(180deg, rgba(242,237,227,.5) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(180deg, rgba(242,237,227,.25) 0 1px, transparent 1px 10px);
}
.side-ruler.on-dark .side-label { background: var(--ink); color: rgba(242,237,227,.7); }
@media (min-width: 1200px) { .side-ruler { display: block; } }

/* ---------- cut line between sections ---------- */
.cut { position: relative; height: 0; margin: 0 var(--gutter); }
.cut::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; border-top: 1.5px dashed var(--line-2);
  clip-path: inset(-4px calc((1 - var(--p, 1)) * 100%) -4px 0);
}
.cut svg { position: absolute; top: -15px; left: calc(var(--p, 1) * 100%); width: 30px; height: 30px; margin-left: -15px; fill: var(--ink); stroke: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 560vh; }
.hero-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #f8f4ec 0%, var(--paper) 55%, #e9e1d1 100%);
}

.mat { position: absolute; inset: 0; pointer-events: none; }
.mat-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(21,19,16,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,19,16,.055) 1px, transparent 1px),
    linear-gradient(to right, rgba(21,19,16,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,19,16,.05) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 45%, #000 30%, transparent 100%);
          mask-image: radial-gradient(90% 80% at 50% 45%, #000 30%, transparent 100%);
}
.ruler { position: absolute; opacity: .5; }
.ruler-x {
  left: 0; right: 0; bottom: 0; height: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(21,19,16,.5) 0 1px, transparent 1px 100px) bottom / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, rgba(21,19,16,.35) 0 1px, transparent 1px 10px) bottom / 100% 7px no-repeat;
}
.ruler-y {
  top: 0; bottom: 0; left: 0; width: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(21,19,16,.5) 0 1px, transparent 1px 100px) left / 18px 100% no-repeat,
    repeating-linear-gradient(0deg, rgba(21,19,16,.35) 0 1px, transparent 1px 10px) left / 7px 100% no-repeat;
}

.hero-logo {
  position: absolute; left: 50%; top: 40%;
  width: min(66vw, 860px);
  z-index: 6;
}
.hero-logo svg { width: 100%; height: auto; overflow: visible; }
.mark-draw .d { stroke: url(#kroj-gold); }
.mark-draw .d-fill { fill: url(#kroj-gold); fill-opacity: 0; stroke-width: 3; }
.mark-draw .d-stroke { fill: none; }
.mark-draw .d { stroke-dasharray: 1; stroke-dashoffset: 1; }

.hero-intro {
  position: absolute; left: 50%; top: 62%; transform: translateX(-50%);
  width: min(92vw, 900px);
  text-align: center; z-index: 6;
  display: grid; gap: 22px; justify-items: center;
}
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.8vw, 58px);
  line-height: 1; letter-spacing: -.015em;
}
.hero-title .line { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.hero-title .line > span { display: inline-block; }

.hero-cue {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 12px; z-index: 6;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.cue-line { position: relative; width: 160px; height: 22px; }
.cue-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line-2); }
.cue-line svg { position: absolute; top: 0; left: 0; width: 22px; height: 22px; fill: var(--ink); stroke: var(--ink); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-10px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(150px); opacity: 0; } }

.hero-define {
  position: absolute; left: calc(var(--gutter) + 8px); bottom: 40px; z-index: 6;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute);
  max-width: 34ch;
}
.hero-define b { color: var(--ink); font-weight: 500; }

/* stage */
/* no will-change here: browsers would rasterize once and stretch the bitmap while it scales */
.stage-move { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.stage-fit {
  position: absolute; left: 50%; top: 47%;
  width: 1000px; height: 620px; margin: -310px 0 0 -500px;
  transform: scale(var(--s, 1));
}
.stage { position: relative; width: 100%; height: 100%; }

.frame {
  position: absolute; inset: 0; border-radius: 4px;
  background: #fbf9f5;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 50px 120px -30px rgba(40,30,15,.35), 0 18px 40px -20px rgba(40,30,15,.25);
  overflow: hidden; opacity: 0;
}
.frame-bar {
  height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 16px;
  background: #efe9df; border-bottom: 1px solid rgba(21,19,16,.08);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8cfbf; }
.frame-url {
  margin: 0 auto; transform: translateX(-24px);
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  background: #f8f5ef; padding: 4px 40px; border-radius: 6px;
}

.piece { position: absolute; }
.piece-shadow { position: absolute; inset: 0; box-shadow: 0 34px 60px -18px rgba(40,30,15,.35); opacity: 0; }
.piece-pattern {
  position: absolute; inset: 0;
  /* flat paper: a fine hatch read as haze on normal (1x) screens */
  background: #faf6ee;
  box-shadow: 0 1px 2px rgba(40,30,15,.08);
}
.piece-label, .piece-size, .piece-cut {
  position: absolute; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.piece-label { left: 14px; top: 12px; }
.piece-cut { right: 14px; top: 12px; color: var(--gold-deep); }
.piece-size { left: 14px; bottom: 10px; color: var(--mute); }
.piece--nav .piece-label { top: 50%; transform: translateY(-50%); }
.piece--nav .piece-cut { top: 50%; transform: translateY(-50%); }
.piece--nav .piece-size { display: none; }
.piece-grain {
  position: absolute; left: 50%; top: 50%; width: 46%; height: 0; border-top: 1.5px solid rgba(21,19,16,.7);
  transform: translate(-50%, -50%);
}
.piece-grain::before, .piece-grain::after {
  content: ""; position: absolute; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid rgba(21,19,16,.75); border-left: 1.5px solid rgba(21,19,16,.75);
}
.piece-grain::before { left: 0; transform: rotate(-45deg); }
.piece-grain::after { right: 0; transform: rotate(135deg); }
.piece--nav .piece-grain { width: 24%; }
.piece-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.piece-line .dash { fill: none; stroke: rgba(21,19,16,.8); stroke-width: 1.6; stroke-dasharray: 8 5; }
.piece-line .cut { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.piece-line .notch { fill: var(--ink); }
.piece-face { position: absolute; inset: 0; overflow: hidden; opacity: 0; }

.piece-scissors { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; z-index: 3; opacity: 0; }
.piece-scissors svg { width: 100%; height: 100%; overflow: visible; }
.piece-scissors .blade path, .piece-scissors circle.pin { fill: var(--ink); }
.piece-scissors .blade circle { fill: none; stroke: var(--ink); stroke-width: 4.5; }
.piece-scissors .blade .handle { stroke: var(--ink); stroke-width: 4.5; }
.piece-scissors .blade { transform-origin: 31.5px 32px; }

.seams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 3; pointer-events: none; }
.seams .seam { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 6 5; }
.seams .seam-mask { fill: none; stroke: #fff; stroke-width: 8; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* each pattern piece shows its cut-out of the real screenshot */
.piece-shot { position: absolute; inset: 0; background-size: 1000px 625px; background-repeat: no-repeat; }
/* the real site recording takes over once the pieces are stitched */
.frame-live { position: absolute; left: 0; top: 36px; width: 1000px; height: 584px; z-index: 4; opacity: 0; visibility: hidden; overflow: hidden; border-radius: 0 0 4px 4px; background: #0b2233; }
.frame-live video { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* rail */
.rail {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: min(1180px, calc(100vw - 2 * var(--gutter)));
  z-index: 7; opacity: 0;
}
.rail::before {
  content: ""; position: absolute; left: -50vw; right: -50vw; bottom: -26px; height: calc(100% + 90px); z-index: -1;
  background: linear-gradient(to top, var(--paper) 35%, rgba(243,238,228,0));
  pointer-events: none;
}
.rail-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 14px; }
.rail-step { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: color .4s; }
.rail-step b { font-weight: 500; margin-right: 8px; }
.rail-step p { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; max-width: 30ch; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rail-step.is-active { color: var(--ink); }
.rail-step.is-active b { color: var(--gold-deep); }
.rail-step.is-active p { opacity: 1; transform: none; }
.rail-bar { height: 1px; background: var(--line-2); position: relative; }
.rail-bar span { position: absolute; inset: -0.5px 0; background: var(--gold); transform-origin: left; transform: scaleX(0); height: 2px; }

.hero-final {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(600px, 40vw); z-index: 7;
  display: grid; gap: 24px; justify-items: start;
  visibility: hidden;
}
.hero-final .display { font-size: clamp(38px, 4.3vw, 72px); }

/* =========================================================
   WORK (horizontal)
   ========================================================= */
.studies { position: relative; background: var(--paper); }
.studies-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 44px); padding-top: 64px; }
.studies-head.sheet-head { margin-bottom: 0; grid-template-columns: 210px 1fr auto; align-items: end; }
.studies-head .sheet-no { grid-row: auto; align-self: end; padding-bottom: .5em; }
.studies-head .display { grid-column: 2; font-size: clamp(38px, 4.4vw, 72px); }
.studies-head .sec-sub { grid-column: 3; justify-self: end; max-width: 38ch; }
.studies-track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.study { width: min(64vw, 820px); flex: none; display: grid; gap: 16px; }
.study-mock { aspect-ratio: 16 / 9.4; overflow: hidden; background: #0b0b0b; display: flex; flex-direction: column; max-height: 56vh; border: 1px solid var(--ink); box-shadow: 14px 14px 0 -1px var(--paper-2), 14px 14px 0 0 var(--line-2); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.study:hover .study-mock { transform: translate(-4px, -4px); box-shadow: 18px 18px 0 -1px var(--paper-2), 18px 18px 0 0 var(--ink); }
.mock-bar { height: 26px; flex: none; display: flex; gap: 6px; align-items: center; padding: 0 12px; background: var(--paper); border-bottom: 1px solid var(--ink); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink-2); }
.mock-url { margin: 0 auto; transform: translateX(-20px); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-2); }
.mock-body { position: relative; flex: 1; overflow: hidden; }
.mock-body .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.study-meta { display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px; padding-top: 6px; }
.study-meta span { font-family: var(--serif); font-size: 20px; color: var(--gold-deep); }
.study-meta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; }
.study-meta p { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
a.study { color: inherit; }
.study-go { grid-column: 2 / -1; font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); transition: transform .4s var(--ease); }
a.study:hover .study-go { transform: translateX(4px); }
.study--next { width: min(46vw, 560px); align-content: center; justify-items: start; gap: 26px; padding: 44px; border: 1px dashed var(--line-2); }
.study--next .display { font-size: clamp(34px, 3.8vw, 60px); }
.studies-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; height: 1px; background: var(--line-2); }
.studies-progress span { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   ANCHOR PRICES: a hang tag
   ========================================================= */
/* the tag is rotated before it animates in; on phones its corner would stick out past the screen and let the page pan sideways */
.anchor { overflow-x: clip; }
.tag {
  --cut: 46px;
  position: relative; max-width: 1180px; margin-left: auto;
  padding: 1.5px; background: var(--ink);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.tag-in {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px;
  padding: clamp(56px, 6vw, 84px) clamp(24px, 4.5vw, 64px) clamp(28px, 4vw, 52px);
  background: var(--card);
  clip-path: polygon(calc(var(--cut) - .6px) 0, calc(100% - var(--cut) + .6px) 0, 100% calc(var(--cut) - .6px), 100% 100%, 0 100%, 0 calc(var(--cut) - .6px));
}
.tag-hole { position: absolute; left: 50%; top: 22px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.tag-top { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line-2); padding-bottom: 16px; }
.tag-top b { color: var(--ink); font-weight: 600; }
.tag-top .tag-new { color: var(--gold-deep); font-weight: 600; }
.tag-copy { display: grid; gap: 22px; align-content: start; justify-items: start; }
.tag-copy .display { font-size: clamp(36px, 4vw, 64px); }
.tag-list { display: grid; border-top: 1px solid var(--ink); }
.tag-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tag-list b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--gold-deep); }
.tag-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; margin-bottom: 3px; }
.tag-list p { color: var(--ink-2); font-size: 15px; }
.tag-note { grid-column: 1 / -1; font-size: 13px; color: var(--mute); }

/* =========================================================
   SERVICES: an order book, not cards
   ========================================================= */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(240px, 1fr) 1.25fr 110px; gap: 20px 28px; align-items: baseline;
  padding: 30px 14px; border-bottom: 1px solid var(--line-2);
  transition: color .45s var(--ease);
}
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.svc-row:hover { color: var(--paper); }
.svc-row:hover::before { transform: scaleY(1); }
.svc-n { font-family: var(--serif); font-size: 22px; color: var(--gold-deep); }
.svc-row:hover .svc-n { color: var(--gold-hi); }
.svc-row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 48px); line-height: 1; letter-spacing: -.015em; transition: transform .55s var(--ease); }
.svc-row:hover h3 { transform: translateX(10px); font-style: italic; }
.svc-row p { color: var(--ink-2); max-width: 50ch; transition: color .45s var(--ease); }
.svc-row:hover p { color: rgba(242, 237, 227, .78); }
.svc-note { justify-self: end; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.svc-row:hover .svc-note { color: var(--gold-hi); }
.svc-row--core h3 { font-size: clamp(40px, 4.6vw, 74px); }
.svc-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; font-size: 18px; color: var(--ink-2); }

/* =========================================================
   PROCESS: a tape measure that fills as you read
   ========================================================= */
.tape-ruler {
  position: relative; height: 42px; border-top: 1.5px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) left top / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 50px) left top / 100% 18px no-repeat;
}
.tape-fill { position: absolute; left: 0; right: 0; top: -1.5px; height: 5px; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.tape-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.tape-steps li { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px 22px 0 16px; border-left: 1px solid var(--line-2); }
.tape-steps li::before { content: ""; position: absolute; left: -5px; top: -44px; width: 9px; height: 9px; background: var(--paper); border: 1.5px solid var(--ink); transform: rotate(45deg); transition: background .4s; }
.tape-steps li.is-on::before { background: var(--gold); border-color: var(--gold-deep); }
.tape-mark { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--paper-3); transition: color .5s; }
.tape-steps li.is-on .tape-mark { color: var(--gold-deep); }
.step-tag { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.tape-steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; }
.tape-steps p:last-child { color: var(--ink-2); font-size: 15px; }
.process-cta { margin-top: 44px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--paper-2); }
.about-lead { font-family: var(--serif); font-size: clamp(28px, 3vw, 48px); line-height: 1.16; letter-spacing: -.012em; max-width: 26ch; text-wrap: pretty; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; margin-top: 48px; }
.about-text { display: grid; gap: 18px; font-size: 17.5px; color: var(--ink-2); max-width: 50ch; align-content: start; }
.about-facts { display: grid; margin: 0; border-top: 1px solid var(--ink); }
.about-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.about-facts dt { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.about-facts dd { margin: 0; font-family: var(--serif); font-size: 22px; }

/* =========================================================
   QUESTIONS: all answers visible, no accordion
   ========================================================= */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 1px solid var(--ink); }
.qa { padding: 28px 0 30px; border-bottom: 1px solid var(--line-2); display: grid; gap: 10px; align-content: start; }
.qa h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; }
.qa p { color: var(--ink-2); max-width: 54ch; }

/* =========================================================
   CONTACT (the one dark sheet)
   ========================================================= */
.contact { position: relative; background: var(--ink); color: var(--paper); padding: clamp(110px, 13vw, 190px) 0 clamp(90px, 10vw, 140px); overflow: hidden; }
.contact .cut { position: absolute; left: 0; right: 0; top: 46px; }
.cut--dark::before { border-top-color: rgba(242,237,227,.3); }
.cut--dark svg { fill: var(--gold-hi); stroke: var(--gold-hi); }
.contact-grid { position: relative; display: grid; grid-template-columns: 210px 1fr 1fr; gap: 50px 56px; align-items: start; }
.contact .sheet-no { grid-row: auto; color: rgba(242,237,227,.55); }
.contact .sheet-no b { color: var(--gold-hi); }
.contact-copy { display: grid; gap: 26px; justify-items: start; }
.contact-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 100px); line-height: .96; letter-spacing: -.025em; }
.contact-title em { color: var(--gold-hi); }
.contact .lead { color: rgba(242,237,227,.72); }
.contact-mail { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); border-bottom: 1px solid rgba(242,237,227,.3); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.contact-mail i { font-style: normal; font-size: .7em; }
.contact-mail:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

.form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(242,237,227,.22); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(242,237,227,.3);
  color: var(--paper); font: inherit; font-size: 17px; padding: 26px 0 10px; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-hi); }
.field label { position: absolute; left: 0; top: 24px; color: rgba(242,237,227,.55); pointer-events: none; transition: transform .35s var(--ease), color .35s, font-size .35s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px); font-size: 12px; color: var(--gold-hi); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e07a5f; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,237,227,.55); margin-bottom: 12px; padding: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(242,237,227,.25); font-size: 14px; cursor: pointer; transition: all .3s var(--ease); }
.chips label:hover span { border-color: var(--gold-hi); }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { font-size: 13px; color: rgba(242,237,227,.45); }
.form-note a { color: rgba(242,237,227,.7); border-bottom: 1px solid currentColor; }
.form-note a:hover { color: var(--gold-hi); }
.form .btn[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sent > :not(.form-done) { display: none; }
.form-done { display: grid; gap: 14px; align-content: center; min-height: 260px; outline: none; }
.form-done[hidden] { display: none; }
.form-done h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; color: var(--gold-hi); }
.form-done p { color: rgba(242,237,227,.75); max-width: 36ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--paper); padding: 0 0 36px; }
.footer .wrap { border-top: 1px solid rgba(242,237,227,.16); padding-top: 56px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.footer-line { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 54px); line-height: 1; }
.footer-line em { color: var(--gold-hi); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; color: rgba(242,237,227,.7); }
.footer-nav a:hover { color: var(--gold-hi); }
.footer-mark { width: min(300px, 60vw); height: auto; margin: clamp(44px, 6vw, 72px) 0 32px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; color: rgba(242,237,227,.5); }
.footer-bottom a:hover { color: var(--gold-hi); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .sheet-head { grid-template-columns: 1fr; }
  .sheet-head > :not(.sheet-no) { grid-column: 1; }
  .sheet-no { grid-row: auto; }
  .studies-head.sheet-head { grid-template-columns: 1fr; }
  .studies-head .display, .studies-head .sec-sub { grid-column: 1; justify-self: start; }
  .svc-row { grid-template-columns: 52px 1fr; }
  .svc-row p, .svc-row .svc-note { grid-column: 2; justify-self: start; }
  .tape-steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact .sheet-no { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-logo { width: 90px; }
  .hero { height: 480vh; }
  .hero-logo { top: 36%; width: 84vw; }
  .hero-intro { top: 52%; }
  .hero-define { display: none; }
  .hero-cue { white-space: nowrap; bottom: 36px; }
  .rail-steps { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .rail-step { font-size: 10px; letter-spacing: .06em; }
  .rail-step b { display: block; margin: 0 0 2px; }
  .rail-step p { display: none; }
  .hero-final { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 36px; transform: none; gap: 16px; }
  .hero-final .display { font-size: clamp(36px, 10vw, 54px); }
  .hero-final .lead { font-size: 15px; }
  .study { width: 84vw; }
  .study--next { width: 80vw; padding: 30px; }
  .study-meta { grid-template-columns: 34px 1fr; }
  .study-meta p { grid-column: 2; }
  .tag { --cut: 30px; }
  .tag-in { grid-template-columns: 1fr; }
  .svc-row { padding: 24px 6px; }
  .svc-row:hover h3 { transform: none; }
  .tape-ruler { display: none; }
  .tape-steps { grid-template-columns: 1fr; row-gap: 0; }
  .tape-steps li { padding: 20px 0 22px 20px; }
  .tape-steps li::before { top: 26px; }
  .about-cols, .qa-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* scripts unavailable: keep a clean static hero */
.no-motion .hero { height: 100svh; }
.no-motion .hero-logo { transform: translate(-50%, -50%); }
.no-motion .stage-move, .no-motion .rail, .no-motion .hero-final { display: none; }
.no-motion .studies { height: auto; }
.no-motion .studies-track { flex-wrap: wrap; width: auto; }

/* reduced motion: everything is readable and still */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100svh; }
  .cue-line svg { animation: none; }
}

/* body content that sits right of the margin label */
.sheet-body-offset { margin-left: calc(210px + 40px); }
@media (max-width: 1080px) { .sheet-body-offset { margin-left: 0; } }
.contact-base { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,237,227,.6); }
.contact-base b { color: var(--gold-hi); font-weight: 600; }

/* ---------- 404 ---------- */
.nf-main { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.nf-body { position: relative; display: grid; gap: 26px; justify-items: start; }
.nf-body .display { max-width: 14ch; }
.nf-body .display em { color: var(--gold-deep); }
.nf-body .btn-row { margin-top: 14px; }

/* ---------- privacy page ---------- */
.legal-main { padding: clamp(120px, 14vw, 180px) 0 clamp(70px, 9vw, 120px); }
.legal { max-width: 720px; }
.legal .display { margin: 18px 0 14px; }
.legal .display em { color: var(--gold-deep); }
.legal-date { font-size: 13px; color: var(--mute); margin-bottom: clamp(36px, 5vw, 60px); }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; }
.legal li { padding-left: 22px; position: relative; }
.legal ul + p { margin-top: 14px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; border-top: 1px dashed var(--gold-deep); }
.legal p a, .legal li a { border-bottom: 1px solid currentColor; }
.legal p a:hover, .legal li a:hover { color: var(--gold-deep); }
.legal .legal-back { margin-top: 52px; }
.legal .legal-back a { border-bottom: 0; }
.legal .legal-back a:hover { color: var(--hover-fg); }

/* ---------- SEO subpages (tools/make-pages.mjs) ---------- */
.page-hero { padding: clamp(130px, 15vw, 210px) 0 clamp(50px, 7vw, 90px); }
.page-hero .wrap { display: grid; gap: 24px; justify-items: start; }
.page-hero .display { max-width: 18ch; }
.page-hero .display em { color: var(--gold-deep); }
.page-hero .lead { max-width: 58ch; font-size: clamp(17px, 1.45vw, 20px); }
.page-hero .btn-row { margin-top: 10px; }
.page-crumbs { font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.page-crumbs a { border-bottom: 1px solid var(--line-2); }
.page-crumbs a:hover { color: var(--gold-deep); }
.page-crumbs span { margin: 0 6px; }
.page-sec { padding: clamp(40px, 5.5vw, 76px) 0; }
.page-sec + .page-sec { border-top: 1px solid var(--line); }
.page-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px 40px; }
.page-grid .sheet-no { grid-row: auto; }
.page-text { max-width: 720px; }
.page-text--wide { max-width: none; }
.page-text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 22px; text-wrap: balance; }
.page-text > p { color: var(--ink-2); font-size: 17px; }
.page-text > p + p { margin-top: 14px; }
.page-text > p a, .page-list a, .page-faq .qa a { border-bottom: 1px solid currentColor; }
.page-text > p a:hover, .page-list a:hover, .page-faq .qa a:hover { color: var(--gold-deep); }
.page-list { display: grid; gap: 10px; margin-top: 18px; }
.page-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 17px; }
.page-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; border-top: 1px dashed var(--gold-deep); }
.page-faq .qa-grid { margin-top: 4px; }
.page-sources { margin-top: 26px; font-size: 13px; color: var(--mute); overflow-wrap: anywhere; }
.page-sources a { border-bottom: 1px solid var(--line-2); }
.page-cta { background: var(--ink); color: var(--paper); padding: clamp(70px, 9vw, 130px) 0; }
.page-cta .wrap { display: grid; gap: 24px; justify-items: start; }
.page-cta .contact-title { font-size: clamp(40px, 5vw, 80px); max-width: 16ch; }
.page-cta .lead { color: rgba(242,237,227,.72); }
.page-cta .btn-row { margin-top: 8px; gap: 28px; }
.page-more { padding: clamp(44px, 6vw, 72px) 0; }
.page-more ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; }
.page-more a { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.page-more a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.page-nav .nav-cta { display: inline-flex; }
.footer-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: rgba(242,237,227,.6); }
.footer-more a:hover { color: var(--gold-hi); }
@media (max-width: 1080px) {
  .page-grid { grid-template-columns: 1fr; }
}

.qa p a, .tag-note a, .svc-row p a { border-bottom: 1px solid currentColor; white-space: nowrap; }
.qa p a:hover, .tag-note a:hover, .svc-row p a:hover { color: var(--gold-deep); }
