/* ORC Institute: site styles */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #0E1F36;
  --ink-2: #16294A;
  --text: #33415A;
  --muted: #5B687D;
  --blue: #1D63A8;
  --blue-dark: #164E86;
  --blue-soft: #EAF1F8;
  --blue-line: #C4D6EA;
  --sky: #8FB8E3;
  --sand: #F6F3EE;
  --line: #DFE4EB;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1200px;
  --gutter: 24px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(14, 31, 54, .04), 0 12px 32px -18px rgba(14, 31, 54, .28);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--white); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { text-wrap: pretty; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 em { font-style: normal; color: var(--blue); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { font: 600 .76rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lead { font-size: 1.16rem; line-height: 1.6; color: var(--text); max-width: 64ch; }
.intro { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ink); max-width: 46ch; margin-bottom: 56px; }
.h-small { font-size: 1.35rem; margin-bottom: 24px; }
.h-label { font: 600 .74rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.flip { transform: scaleX(-1); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); }
.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; text-decoration: none; margin-top: 18px; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link.back:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 48px; width: auto; }
.brand-tag { font: 600 .66rem/1.35 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--blue-soft); }
.nav-item.is-active > .nav-link { color: var(--blue); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-item.is-open .chev { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu-wide { min-width: 460px; }
.menu-wide ul { display: grid; grid-template-columns: 1fr 1fr; }
.nav-item.is-open > .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--blue-soft); }
.menu a strong { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); }
.menu a span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.menu .menu-overview { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; color: var(--blue); border-bottom: 1px solid var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 6px; }
.menu .menu-overview span { display: inline; font-size: inherit; color: inherit; margin: 0; }
.menu .menu-overview .icon { width: 16px; height: 16px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font: 600 .78rem/1 var(--sans); color: var(--ink); text-decoration: none; }
.lang-switch:hover { border-color: var(--ink); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); }
.bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .bars span:nth-child(2) { opacity: 0; }
.menu-open .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-extra { display: none; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-top-0 { padding-top: 0; }
.section-sand { background: var(--sand); }
.section-blue { background: var(--blue-soft); }
.section-dark { background: var(--ink); color: #C5D0DF; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--sky); }
.section-dark .lead { color: #C5D0DF; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.head-row .section-head { margin-bottom: 0; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.section-sand .card, .section-blue .card { border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }
.card .num { display: block; font: 600 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--blue); margin-bottom: 18px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; padding-bottom: 64px; }
.card-link:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link p { color: var(--muted); }
.card-arrow { position: absolute; left: 28px; bottom: 26px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); transition: background-color .2s, color .2s; }
.card-arrow .icon { width: 16px; height: 16px; }
.card-link:hover .card-arrow { background: var(--blue); color: #fff; }
.grid-4 .card { padding: 26px 22px 60px; }
.grid-4 .card h3 { font-size: 1.1rem; }
.grid-4 .card-arrow { left: 22px; bottom: 22px; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { margin-top: 4px; color: var(--blue); width: 18px; height: 18px; stroke-width: 2.4; }

/* ---------- home ---------- */
.home-hero { position: relative; padding: 72px 0 0; background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding-bottom: 72px; }
.hero-copy .lead { margin-top: 26px; }
.hero-art { justify-self: end; width: 100%; max-width: 440px; }
.levels-graphic .l1 { fill: var(--blue-soft); }
.levels-graphic .l2 { fill: #CFDFF0; }
.levels-graphic .l3 { fill: var(--blue); }
.levels-graphic text { font: 600 14px/1 var(--sans); letter-spacing: .14em; text-anchor: middle; }
.levels-graphic .t-dark { fill: var(--blue-dark); }
.levels-graphic .t-light { fill: #fff; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof .icon { color: var(--blue); width: 18px; height: 18px; stroke-width: 2.4; }

.level-card { padding-top: 30px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.service-tile { background: var(--ink); padding: 36px 28px 32px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: background-color .2s; }
.service-tile:hover { background: var(--ink-2); }
.service-tile p { font-size: .95rem; }
.tile-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(143, 184, 227, .14); color: var(--sky); }
.tile-icon .icon { width: 22px; height: 22px; }
.tile-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--sky); font-weight: 600; font-size: .9rem; }
.tile-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-tile:hover .tile-more { color: #fff; }
.service-tile:hover .tile-more .icon { transform: translateX(3px); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process li { position: relative; padding-top: 66px; counter-increment: step; }
.process li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 1rem/1 var(--sans); }
.process li::after { content: ""; position: absolute; top: 23px; left: 60px; right: -14px; height: 1px; background: var(--blue-line); }
.process li:last-child::after { display: none; }
.process h3 { font: 600 .84rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.process p { font-size: .97rem; }

.outcome { padding: 40px; }
.outcome h3 { margin-bottom: 24px; }
.workshop-card .tag, .tag { align-self: flex-start; font: 600 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 7px 10px; border-radius: 6px; margin-bottom: 14px; }
.facts { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: #fff; padding: 22px 24px; }
.facts dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-top: 6px; line-height: 1.3; }
.formats { margin-top: 32px; }

.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-teaser .lead { margin-top: 18px; }
.pull-quote { border-left: 3px solid var(--blue); padding-left: 28px; }
.pull-quote p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.4; color: var(--ink); }
.pull-quote footer { margin-top: 16px; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- posts ---------- */
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--radius); }
.post-card-img { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--blue-soft); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card-link:hover img { transform: scale(1.03); }
.post-card-body { padding-top: 18px; }
.post-card .meta { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.post-card h3 { font-size: 1.15rem; margin-top: 8px; transition: color .2s; }
.post-card-link:hover h3 { color: var(--blue); }
.post-card .excerpt { margin-top: 10px; color: var(--muted); font-size: .97rem; }
.lang-badge { font: 600 .65rem/1 var(--sans); letter-spacing: .08em; color: var(--blue); border: 1px solid var(--blue-line); border-radius: 4px; padding: 3px 5px; margin-left: 4px; }
.posts-grid { row-gap: 48px; }
.posts-grid .post-card-lg { grid-column: 1 / -1; }
.posts-grid .post-card-lg .post-card-link { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.posts-grid .post-card-lg h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.list-title { margin-top: 8px; }
.list-title + .posts-grid { margin-bottom: 72px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--sand); padding: 56px 0 80px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 22px; }
.hero-rings { position: absolute; right: -140px; top: -60px; width: 560px; height: 560px; pointer-events: none; }
.hero-rings circle, .login-rings circle { fill: none; stroke: var(--blue); stroke-opacity: .12; stroke-width: 1.5; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 40px; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.numbered .card { padding-top: 30px; }
.inline-cta { margin-top: 48px; padding: 28px 32px; border-radius: var(--radius); background: var(--blue-soft); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.inline-cta p { max-width: 60ch; }
.benefit .benefit-icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); stroke-width: 2.4; margin-bottom: 18px; }
.type-name { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--blue); line-height: 1; margin-bottom: 8px; }

.steps-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.steps-head { position: sticky; top: calc(var(--header-h) + 32px); }
.timeline { counter-reset: tl; position: relative; }
.timeline li { position: relative; counter-increment: tl; padding: 0 0 36px 68px; }
.timeline li::before { content: counter(tl, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue-line); color: var(--blue); display: grid; place-items: center; font: 600 .85rem/1 var(--sans); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1.5px; background: var(--blue-line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.section-sand .timeline li::before { background: var(--sand); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { position: relative; display: block; padding: 22px 56px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.related-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); }
.related-card .kicker { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.related-card strong { color: var(--ink); font-weight: 600; }
.related-card .icon { position: absolute; right: 22px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: var(--blue); transition: transform .2s; }
.related-card:hover .icon { transform: translateX(3px); }

/* services overview */
.service-rows { display: grid; }
.service-row { display: grid; grid-template-columns: 56px 56px 1fr 48px; gap: 24px; align-items: center; padding: 36px 8px; border-top: 1px solid var(--line); text-decoration: none; transition: background-color .2s; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { background: var(--sand); }
.service-row .num { font: 600 .85rem/1 var(--sans); color: var(--blue); letter-spacing: .1em; }
.service-row .tile-icon { background: var(--blue-soft); color: var(--blue); }
.service-row h2 { font-size: 1.6rem; margin-bottom: 6px; }
.service-row p { color: var(--muted); max-width: 70ch; }
.row-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); transition: background-color .2s, color .2s, border-color .2s; }
.service-row:hover .row-arrow { background: var(--blue); border-color: var(--blue); color: #fff; }

.helps { background: var(--blue-soft); border-radius: var(--radius); padding: 32px 36px; margin-bottom: 72px; }
.helps .h-small { margin-bottom: 16px; }
.helps .check-list { grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }

/* about */
.prose-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.levels-detail { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.levels-art { position: sticky; top: calc(var(--header-h) + 32px); }
.level-list { counter-reset: lv; display: grid; gap: 32px; }
.level-list li { counter-increment: lv; background: #fff; border-radius: var(--radius); padding: 32px; }
.level-list h3::before { content: "0" counter(lv); display: block; font: 600 .8rem/1 var(--sans); letter-spacing: .1em; color: var(--blue); margin-bottom: 12px; }
.level-list h3 { margin-bottom: 10px; }
.mvv { border-top: 2px solid var(--sky); padding-top: 24px; }
.mvv h3 { margin-bottom: 12px; }

/* workshops */
.workshop-layout { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
.workshop-main h2 { font-size: 1.6rem; margin: 56px 0 24px; }
.workshop-main h2:first-child { margin-top: 0; }
.why-list { display: grid; gap: 20px; }
.why-list div { padding-left: 20px; border-left: 2px solid var(--blue-line); }
.why-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.workshop-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--sand); border-radius: var(--radius); padding: 30px; }
.aside-card dl { display: grid; gap: 16px; margin-bottom: 26px; }
.aside-card dl > div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.aside-card dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.aside-card dd { color: var(--ink); font-weight: 500; margin-top: 4px; }
.aside-card dd ul { list-style: none; display: grid; gap: 6px; font-size: .93rem; font-weight: 400; color: var(--text); }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: start; }
.contact-form { display: grid; gap: 20px; }
.contact-form .h-small { margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #FBFCFD; font-weight: 400; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B687D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 99, 168, .15); background: #fff; }
.field textarea { resize: vertical; min-height: 150px; }
.field .is-invalid, .check .is-invalid { border-color: #B42318; }
.req { color: var(--blue); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-hint { font-size: .82rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--blue); }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; }
.contact-aside { background: var(--sand); border-radius: var(--radius); padding: 32px; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.contact-list span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.aside-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.aside-note h3 { font-size: 1.05rem; margin-bottom: 6px; }
.aside-note p { font-size: .93rem; }
.aside-note .text-link { margin-top: 10px; }

/* survey login */
.login-section { position: relative; overflow: hidden; background: var(--sand); padding: 96px 0 120px; }
.login-card { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 48px 44px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 2.2rem; }
.login-card .lead { font-size: 1rem; margin: 14px 0 28px; }
.login-card form { display: grid; gap: 18px; margin-bottom: 24px; }
.login-card input { font-size: 1.1rem; letter-spacing: .06em; text-align: center; }
.small { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); margin-top: 12px; }
.small .icon { margin-top: 3px; width: 16px; height: 16px; }
.small a { color: var(--blue); }
.login-rings { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); pointer-events: none; }

/* article & legal prose */
.article-head { background: var(--sand); padding: 56px 0 120px; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.article-head .meta { margin-top: 20px; color: var(--muted); font-size: .92rem; }
.translation-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; }
.translation-note a { color: var(--blue); font-weight: 600; }
.translation-note .icon { color: var(--blue); width: 18px; height: 18px; }
.article-cover { max-width: 1000px; margin-top: -88px; }
.article-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--blue-soft); }
.article-body { padding-top: 56px; }
.article-foot { padding: 40px var(--gutter) 88px; }
.prose { font-size: 1.06rem; line-height: 1.75; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--blue); text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--blue); padding-left: 20px; font-family: var(--serif); font-style: italic; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.legal h2 { font-size: 1.3rem; }
.legal .h-section { font-size: 1.7rem; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--blue-soft); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 2.5em; font-size: .97rem; }
.note .icon { color: var(--blue); margin-top: 4px; }

/* 404 */
.not-found { padding: 96px 0 120px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pill-links a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 500; }
.pill-links a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--blue); color: #E3EDF8; padding: 72px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cta-band p { margin-top: 10px; max-width: 56ch; }
.cta-actions { text-align: right; }
.cta-actions p { font-size: .88rem; margin-top: 14px; }
.cta-actions a:not(.btn) { color: #fff; }

.site-footer { background: var(--ink); color: #9AA8BC; font-size: .92rem; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-logo img { height: 52px; width: auto; }
.footer-brand p { margin: 20px 0 16px; max-width: 34ch; }
.footer-brand address { font-style: normal; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand address a { color: #C5D0DF; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #C5D0DF; }
.footer-col h2 { font: 600 .74rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .brand-tag { display: none; }
  .nav-link { padding: 10px 9px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .menu-button { display: grid; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; margin: 0; }
  .menu-open .primary-nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.08rem; border-radius: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; min-width: 0; display: none; }
  .menu::before { display: none; }
  .nav-item.is-open > .menu { display: block; }
  .menu-wide ul { grid-template-columns: 1fr; }
  .menu a span { display: none; }
  .menu .menu-overview span { display: inline; }
  .nav-mobile-extra { display: grid; gap: 18px; margin-top: 28px; justify-items: start; }
  .nav-mobile-extra a:not(.btn) { color: var(--muted); }
  body.menu-open { overflow: hidden; }
  /* backdrop-filter would turn the header into the containing block of the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }

  .hero-grid, .about-teaser, .prose-grid, .contact-layout, .workshop-layout, .steps-layout, .levels-detail { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { justify-self: center; max-width: 340px; }
  .grid-4, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process li::after { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .steps-head, .levels-art, .workshop-aside { position: static; }
  .levels-art { max-width: 320px; }
  .helps .check-list { grid-template-columns: 1fr; }
  .posts-grid .post-card-lg .post-card-link { grid-template-columns: 1fr; gap: 0; }
  .cta-actions { text-align: left; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { margin-bottom: 36px; }
  .home-hero { padding-top: 44px; }
  .hero-grid { padding-bottom: 48px; }
  .page-hero { padding: 36px 0 56px; }
  .crumbs ol { margin-bottom: 28px; }
  .hero-rings { width: 360px; height: 360px; right: -160px; }
  .grid-2, .grid-3, .grid-4, .service-grid, .related-grid, .field-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 18px; }
  .card, .outcome { padding: 26px 22px; }
  .card-link { padding-bottom: 60px; }
  .card-arrow { left: 22px; bottom: 20px; }
  .service-row { grid-template-columns: 48px 1fr 40px; gap: 16px; padding: 28px 4px; }
  .service-row .num { display: none; }
  .service-row h2 { font-size: 1.3rem; }
  .row-arrow { width: 40px; height: 40px; }
  .helps { padding: 24px; margin-bottom: 56px; }
  .timeline li { padding-left: 60px; }
  .level-list li { padding: 24px; }
  .login-section { padding: 48px 0 72px; }
  .login-card { padding: 32px 24px; }
  .article-head { padding: 36px 0 96px; }
  .article-cover { margin-top: -72px; }
  .contact-aside { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero-rings { display: none; }
}

/* ---------- clients ---------- */
.clients-band { border-bottom: 1px solid var(--line); padding: 40px 0; }
.clients { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.clients-title { font: 600 .76rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.client-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.client-list a { display: block; height: 100%; padding: 16px 20px; border-left: 2px solid var(--blue-line); text-decoration: none; transition: border-color .2s; }
.client-list a:hover { border-color: var(--blue); }
.client-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.client-list span { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.clients-boxed { margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--sand); }
@media (max-width: 1024px) {
  .clients { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 680px) {
  .client-list { grid-template-columns: 1fr; gap: 8px; }
  .client-list a { padding: 10px 16px; }
  .clients-boxed { padding: 24px; }
}
