/* Ostoja Compliance — style */

@font-face { font-family: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/fraunces-latin-ext-opsz-normal.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: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/fraunces-latin-opsz-normal.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: "Fraunces Variable"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url(fonts/fraunces-latin-ext-opsz-italic.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: "Fraunces Variable"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url(fonts/fraunces-latin-opsz-italic.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: "Manrope Variable"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/manrope-latin-ext-wght-normal.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: "Manrope Variable"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.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 {
  --navy: #183B66;
  --ruby: #C91842;
  --cream: #FFF9F2;
  --sand: #F2E9DD;
  --slate: #55657A;
  --line: rgba(24, 59, 102, .16);
  --line-strong: rgba(24, 59, 102, .32);

  --serif: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --sans: "Manrope Variable", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section: clamp(88px, 11vw, 152px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ruby); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
section[id] { scroll-margin-top: 72px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

em { font-style: italic; }
h1 em, h2 em { color: var(--ruby); font-style: italic; }

.kicker {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--slate); margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--ruby); }
.kicker-light { color: rgba(255, 249, 242, .78); }

h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 96;
  font-weight: 380;
}

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin-bottom: 20px; }
.section-intro { color: var(--slate); max-width: 520px; }
.section-intro a { color: var(--ruby); text-underline-offset: 3px; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.section-head-split h2 { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--cream);
  border: 1px solid var(--navy); border-radius: 999px;
  padding: 15px 26px; font-weight: 650; font-size: .98rem; text-decoration: none;
  cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #0F2C50; }
.btn:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform .25s var(--ease); width: 18px; height: 18px; }
.btn-ruby { background: var(--ruby); border-color: var(--ruby); }
.btn-ruby:hover { background: #A9123A; border-color: #A9123A; }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--navy);
  border-radius: 999px; padding: 14px 22px; font-weight: 600; cursor: pointer; font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(24, 59, 102, .04); }
.btn-ghost.btn-small { padding: 9px 16px; font-size: .9rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding: 4px 0;
  transition: border-color .2s;
}
.link-arrow:hover { border-color: var(--ruby); }
.link-arrow .ico { width: 18px; height: 18px; color: var(--ruby); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 242, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.01em; font-variation-settings: "opsz" 40; line-height: 1; display: flex; flex-direction: column; }
.brand-name span { font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; margin-top: 4px; color: var(--slate); }
.brand-light { color: var(--cream); }
.brand-light .brand-name span { color: rgba(255, 249, 242, .7); }

.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) {
  text-decoration: none; font-size: .95rem; font-weight: 550; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ruby);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta-li { margin-left: 8px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--navy); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 650; letter-spacing: .04em; color: var(--slate); margin-bottom: 32px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ruby); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -.032em;
  font-weight: 340;
  font-variation-settings: "opsz" 144;
  margin-bottom: 36px;
  max-width: 15ch;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--slate); max-width: 560px; line-height: 1.65; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-bottom: 56px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-tags li { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.hero-tags li + li::before { content: "/"; color: var(--ruby); margin-right: 22px; font-weight: 400; }

.hero-visual { position: relative; padding-bottom: 40px; }
.arches { width: 100%; height: auto; aspect-ratio: 420 / 520; }
.clock-card {
  position: absolute; left: -64px; bottom: 0; width: min(330px, 92%);
  background: var(--cream); border: 1px solid var(--line); padding: 24px 24px 20px;
  box-shadow: 0 24px 48px -28px rgba(24, 59, 102, .35);
}
.clock-title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; font-variation-settings: "opsz" 30; }
.clock-sub { font-size: .78rem; color: var(--slate); margin: 4px 0 18px; letter-spacing: .02em; }
.clock-list li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; font-size: .82rem; font-weight: 650; padding: 7px 0; }
.clock-list .bar { height: 6px; background: var(--sand); position: relative; border-radius: 3px; overflow: hidden; }
.clock-list .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(var(--w), 8px); background: var(--navy); border-radius: 3px; }
.clock-list li:first-child .bar::after { background: var(--ruby); }
.clock-list b { font-weight: 700; font-size: .82rem; min-width: 64px; text-align: right; }
.clock-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.5; color: var(--slate); }

/* Strip */
.strip { background: var(--navy); color: var(--cream); padding: clamp(56px, 7vw, 88px) 0; }
.strip-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.strip-lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.22; letter-spacing: -.012em; font-variation-settings: "opsz" 72; font-weight: 340; }
.strip-lead em { color: var(--cream); text-decoration: underline; text-decoration-color: var(--ruby); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.strip-text { color: rgba(255, 249, 242, .8); padding-top: 8px; }

/* Services / tabs */
.tabs { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tablist [role="tab"] {
  display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 16px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 12px 18px 0; cursor: pointer;
  position: relative; transition: padding .3s var(--ease), background .3s;
}
.tablist [role="tab"]::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: var(--ruby);
  transform: scaleY(0); transition: transform .35s var(--ease);
}
.tablist [role="tab"] .ico { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--slate); transition: color .2s; }
.tab-name { font-weight: 700; font-size: 1rem; }
.tab-meta { font-size: .82rem; color: var(--slate); }
.tablist [role="tab"]:hover { padding-left: 8px; }
.tablist [role="tab"][aria-selected="true"] { padding-left: 18px; }
.tablist [role="tab"][aria-selected="true"]::before { transform: scaleY(1); }
.tablist [role="tab"][aria-selected="true"] .ico { color: var(--ruby); }

.panel { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); min-height: 100%; }
.panel:focus-visible { outline-offset: -4px; }
.js .panel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-code { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ruby); margin-bottom: 18px; }
.panel h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.12; letter-spacing: -.015em; font-variation-settings: "opsz" 72; margin-bottom: 18px; max-width: 20ch; }
.panel > p { color: var(--slate); max-width: 60ch; margin-bottom: 36px; }
.panel-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.panel h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; margin-bottom: 14px; }
.checks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px;
  border-left: 1.6px solid var(--ruby); border-bottom: 1.6px solid var(--ruby); transform: rotate(-45deg);
}
.who { background: var(--sand); padding: 24px; border-left: 2px solid var(--navy); align-self: start; }
.who p { font-size: .95rem; line-height: 1.6; }

/* Quiz */
.quiz-section { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.quiz-section::before {
  content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(255, 249, 242, .1); box-shadow: 0 0 0 70px rgba(255,249,242,.025), 0 0 0 71px rgba(255, 249, 242, .08);
  pointer-events: none;
}
.quiz-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; position: relative; }
.quiz-intro h2 { margin-bottom: 24px; }
.quiz-intro h2 em { color: var(--cream); text-decoration: underline; text-decoration-color: var(--ruby); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.quiz-intro > p { color: rgba(255, 249, 242, .8); max-width: 440px; }
.quiz-disclaimer { display: flex; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 249, 242, .18); font-size: .9rem; color: rgba(255, 249, 242, .8); max-width: 440px; }
.quiz-disclaimer .ico { color: var(--cream); width: 22px; height: 22px; margin-top: 2px; }

.quiz-card { background: var(--cream); color: var(--navy); padding: clamp(28px, 4vw, 48px); position: relative; }
.quiz-progress { height: 3px; background: var(--sand); margin: calc(-1 * clamp(28px, 4vw, 48px)) calc(-1 * clamp(28px, 4vw, 48px)) clamp(28px, 4vw, 40px); }
.quiz-progress span { display: block; height: 100%; width: 25%; background: var(--ruby); transition: width .45s var(--ease); }
.q { border: 0; padding: 0; margin: 0; min-width: 0; }
.q legend { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; font-variation-settings: "opsz" 48; margin-bottom: 22px; padding: 0; }
.q-num { display: block; font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ruby); margin-bottom: 12px; }
.q-help { font-size: .9rem; color: var(--slate); margin: -6px 0 20px; }
.opt { display: block; cursor: pointer; margin-bottom: 10px; position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > span {
  display: block; border: 1px solid var(--line-strong); padding: 16px 18px 16px 50px; position: relative;
  transition: border-color .2s, background .2s;
}
.opt > span::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.opt b { display: block; font-weight: 700; font-size: .98rem; }
.opt small { display: block; font-size: .84rem; color: var(--slate); line-height: 1.5; margin-top: 3px; }
.opt:hover > span { border-color: var(--navy); }
.opt input:checked + span { border-color: var(--navy); background: #fff; }
.opt input:checked + span::before { border-color: var(--ruby); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 9px var(--ruby); }
.opt input:focus-visible + span { outline: 2px solid var(--ruby); outline-offset: 2px; }
.opt-inline { display: inline-block; margin-right: 8px; }
.opt-inline > span { padding: 13px 22px 13px 46px; }
.opt-inline > span::before { top: 16px; left: 16px; }
.quiz-error { color: var(--ruby); font-size: .9rem; font-weight: 600; min-height: 1.6em; margin-top: 6px; }
.quiz-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.quiz-nav .btn-ghost { margin-right: auto; }

.quiz-result:focus { outline: none; }
.result-label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ruby); margin-bottom: 14px; }
.quiz-result h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.12; letter-spacing: -.015em; font-variation-settings: "opsz" 72; margin-bottom: 16px; }
.quiz-result > p { color: var(--navy); }
.result-note { font-size: .84rem; color: var(--slate) !important; background: var(--sand); padding: 16px 18px; margin: 24px 0 12px; border-left: 2px solid var(--ruby); line-height: 1.55; }
.js .quiz-result:not([hidden]) { animation: panelIn .5s var(--ease); }

/* Team */
.team-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.person { display: flex; flex-direction: column; }
.person-b { margin-top: clamp(40px, 8vw, 120px); }
.person-c { margin-top: clamp(20px, 4vw, 60px); }
.portrait { border: 1px solid var(--line); overflow: hidden; margin-bottom: 26px; }
.portrait svg { width: 100%; height: auto; aspect-ratio: 240 / 280; transition: transform .8s var(--ease); }
.person:hover .portrait svg { transform: scale(1.025); }
.person h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.012em; font-variation-settings: "opsz" 48; line-height: 1.15; }
.role { font-size: .86rem; font-weight: 650; color: var(--ruby); margin: 6px 0 14px; }
.person-body > p:not(.role) { font-size: .95rem; color: var(--slate); line-height: 1.6; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.certs li { font-size: .75rem; font-weight: 700; letter-spacing: .03em; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; }

/* Process */
.process { background: var(--sand); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.process-aside { position: sticky; top: 120px; }
.process-aside h2 { margin-bottom: 40px; }
.why li { padding: 18px 0; border-top: 1px solid var(--line-strong); color: var(--slate); font-size: .97rem; }
.why b { color: var(--navy); font-weight: 750; display: block; margin-bottom: 4px; font-size: 1.02rem; }
.steps { counter-reset: s; border-left: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 0 0 52px 0; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -5px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); border: 1.5px solid var(--navy); }
.step:first-child::before { background: var(--ruby); border-color: var(--ruby); }
.step-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; line-height: 1; padding-left: 28px; color: var(--navy); font-variation-settings: "opsz" 96; font-variant-numeric: lining-nums; }
.step h3 { font-size: 1.15rem; font-weight: 750; margin: 6px 0 8px; }
.step p { color: var(--slate); font-size: .97rem; max-width: 46ch; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); }
.faq-head h2 { margin-bottom: 20px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start;
  padding: 24px 0; font-weight: 700; font-size: 1.05rem; line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { width: 22px; height: 22px; margin-top: 1px; color: var(--ruby); transition: transform .3s var(--ease); }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list summary:hover { color: #0F2C50; }
.faq-a { padding: 0 48px 26px 0; color: var(--slate); }
.js .faq-list details[open] .faq-a { animation: panelIn .4s var(--ease); }

/* Contact */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 112px); padding-top: var(--section); border-top: 1px solid var(--line); }
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p { color: var(--slate); max-width: 420px; margin-bottom: 40px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list .ico { color: var(--ruby); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 650; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 8px; }
.field label > span[aria-hidden] { color: var(--ruby); }
.opt-label { font-weight: 500; color: var(--slate); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 13px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field textarea::placeholder { color: #7A8798; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(24, 59, 102, .14); }
.field.invalid input, .field.invalid textarea { border-color: var(--ruby); background: #FFF5F6; }
.err { color: var(--ruby); font-size: .82rem; font-weight: 600; min-height: 1.3em; margin-top: 5px; }
.field-consent { margin-top: 8px; }
.consent { display: grid !important; grid-template-columns: 22px 1fr; gap: 14px; font-weight: 500 !important; font-size: .86rem !important; line-height: 1.55; color: var(--slate); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.consent a { color: var(--navy); font-weight: 650; text-underline-offset: 2px; }
.field-consent.invalid .consent { color: var(--navy); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.req-note { font-size: .82rem; color: var(--slate); }
.req-note span { color: var(--ruby); }
.form-success { padding: clamp(8px, 2vw, 24px) 0; }
.form-success:focus { outline: none; }
.success-mark { width: 64px; height: 64px; margin-bottom: 28px; }
.form-success h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.015em; line-height: 1.12; margin-bottom: 14px; font-variation-settings: "opsz" 72; }
.form-success p { color: var(--slate); margin-bottom: 10px; max-width: 46ch; }
.form-success b { color: var(--navy); word-break: break-all; }
.mock-note { font-size: .84rem; padding: 12px 16px; background: var(--sand); display: inline-block; margin: 8px 0 24px !important; }
.js .form-success:not([hidden]) { animation: panelIn .5s var(--ease); }

/* Footer */
.site-footer { background: var(--navy); color: var(--cream); padding: clamp(64px, 8vw, 96px) 0 32px; margin-top: var(--section); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr .9fr .9fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 249, 242, .16); }
.footer-brand p { color: rgba(255, 249, 242, .75); font-size: .92rem; margin-top: 22px; max-width: 300px; }
.footer-h { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255, 249, 242, .7); margin-bottom: 14px; }
.footer-col p, .footer-col li { font-size: .92rem; line-height: 1.75; }
.footer-col a, .footer-col .linklike { color: var(--cream); text-decoration: none; font-weight: 500; }
.footer-col a:hover, .footer-col .linklike:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col .linklike { text-decoration: none; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .84rem; color: rgba(255, 249, 242, .72); }
.site-footer :focus-visible { outline-color: var(--cream); }

/* Modal */
.modal { border: 0; padding: 0; background: var(--cream); color: var(--navy); width: min(680px, calc(100% - 32px)); max-height: min(86vh, 860px); box-shadow: 0 40px 80px -30px rgba(10, 25, 45, .5); }
.modal::backdrop { background: rgba(15, 35, 62, .55); backdrop-filter: blur(3px); }
.modal-inner { padding: clamp(28px, 5vw, 56px); position: relative; }
.modal h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 6px; }
.modal-meta { font-size: .85rem; color: var(--slate); margin-bottom: 28px; }
.modal h3 { font-weight: 750; font-size: 1rem; margin: 22px 0 6px; }
.modal-inner > p:not(.kicker):not(.modal-meta) { color: var(--slate); font-size: .96rem; }
.modal-close { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { border-color: var(--navy); }

/* Cookie banner */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 80; width: min(440px, calc(100% - 32px));
  background: #fff; color: var(--navy); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  padding: 24px; box-shadow: 0 30px 60px -30px rgba(10, 25, 45, .45);
}
.js .cookie:not([hidden]) { animation: cookieIn .5s var(--ease); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.cookie-head .ico { color: var(--ruby); width: 22px; height: 22px; }
.cookie h2 { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.2; font-variation-settings: "opsz" 30; font-weight: 450; }
.cookie > p { font-size: .88rem; color: var(--slate); line-height: 1.55; }
.cookie > p a { color: var(--navy); font-weight: 650; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.cookie-actions .linklike { font-size: .9rem; margin-left: 4px; }
.cookie-settings { margin-top: 16px; border-top: 1px solid var(--line); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.toggle-row b { font-size: .9rem; display: block; }
.toggle-row small { font-size: .8rem; color: var(--slate); display: block; line-height: 1.45; }
.switch { position: relative; width: 44px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #C9CFD8; transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { background: #7C8BA0; }
.switch input:disabled { cursor: not-allowed; }
.switch input:focus-visible + span { outline: 2px solid var(--ruby); outline-offset: 2px; }

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; background: var(--navy); color: var(--cream);
  padding: 12px 18px; font-size: .9rem; font-weight: 600; opacity: 0; transform: translateY(10px);
  pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100% - 48px);
}
.toast.show { opacity: 1; transform: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .tabs { grid-template-columns: 260px minmax(0, 1fr); }
  .panel-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .clock-card { left: -32px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 76px); background: var(--cream);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 350; padding: 16px 0; letter-spacing: -.01em; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta-li { margin: 28px 0 0; border: 0 !important; }
  .nav-cta-li .btn { padding: 15px 26px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .cookie { visibility: hidden; }

  .hero-grid, .strip-grid, .quiz-grid, .process-grid, .faq-grid, .contact-grid, .section-head-split { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .hero-visual { max-width: 520px; margin-left: auto; width: 100%; }
  .clock-card { left: -16px; }
  .section-head-split { gap: 20px; }
  .tabs { grid-template-columns: 1fr; }
  .tablist { display: grid; grid-template-columns: 1fr 1fr; border-top: 0; gap: 8px; }
  .tablist [role="tab"] { border: 1px solid var(--line); padding: 14px; grid-template-columns: 22px 1fr; column-gap: 12px; }
  .tablist [role="tab"]:hover, .tablist [role="tab"][aria-selected="true"] { padding-left: 14px; }
  .tablist [role="tab"][aria-selected="true"] { background: #fff; border-color: var(--navy); }
  .tablist [role="tab"]::before { display: none; }
  .process-aside { position: static; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .person-c { margin-top: 0; }
  .person-b { margin-top: 64px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header-inner { height: 68px; }
  .nav { height: calc(100dvh - 68px); }
  section[id] { scroll-margin-top: 64px; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-tags li + li::before { margin-right: 14px; }
  .hero-tags { gap: 8px 14px; }
  .hero-visual { padding-bottom: 150px; }
  .clock-card { left: 0; right: 0; width: auto; }
  .tablist [role="tab"] { grid-template-columns: 1fr; padding: 12px; }
  .tablist [role="tab"]:hover, .tablist [role="tab"][aria-selected="true"] { padding-left: 12px; }
  .tablist [role="tab"] .ico { grid-row: auto; margin: 0 0 8px; }
  .tab-name { font-size: .94rem; }
  .tab-meta { font-size: .76rem; line-height: 1.35; }
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
  .person-b { margin-top: 0; }
  .portrait { max-width: 340px; }
  .step { grid-template-columns: 64px 1fr; }
  .step-num { font-size: 2rem; padding-left: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .faq-a { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; }
  .opt-inline { margin-right: 4px; }
  .form-foot .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
