/* redisoft — site styles */
@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/instrument-sans-latin-wght.woff2") format("woff2-variations"), url("../fonts/instrument-sans-latin-wght.woff2") format("woff2");
}

:root {
  --ink: #142038;
  --ink-2: #3b4a63;
  --muted: #56647b;
  --steel: #2f64a0;
  --steel-l: #6f9bcb;
  --sky: #e3ecf6;
  --sky-2: #c9daee;
  --tint: #f3f7fb;
  --honey: #f2a900;
  --honey-d: #a87300;
  --honey-s: #ffe7a3;
  --paper: #ffffff;
  --night: #0f1b30;
  --night-2: #1a2a47;

  --font-display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.8vw, 4.1rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }
code { font-size: .9em; background: var(--sky); padding: .1em .35em; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.008em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; font-variation-settings: "opsz" 32; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul { padding: 0; margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 1rem/1 var(--font-body);
  padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { background: #ffbd1f; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--steel); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- header */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--honey); z-index: 60; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled { border-bottom-color: var(--sky-2); box-shadow: 0 6px 24px -18px rgba(20,32,56,.45); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 66px; }
.brand { display: block; flex: none; }
.brand img { width: 150px; height: auto; transition: width .3s var(--ease); }
.site-header.is-scrolled .brand img { width: 120px; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav button.sub-toggle {
  font: 500 1rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  padding: 12px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
}
.main-nav li { position: relative; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current], .main-nav li.is-active > a { background: var(--tint); }
.main-nav li.is-active > a { font-weight: 650; }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 4px !important; }
.sub-toggle { padding: 12px 10px 12px 2px !important; }
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.submenu {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--sky-2); border-radius: var(--radius-m);
  padding: 10px; box-shadow: 0 24px 48px -24px rgba(20,32,56,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.submenu a { display: flex; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: .95rem; line-height: 1.3; }
.submenu a:hover, .submenu a[aria-current] { background: var(--tint); }
.submenu a[aria-current] { font-weight: 650; }
.submenu .sub-head { font-size: .8rem; color: var(--muted); padding: 10px 12px 4px; font-weight: 600; }
@media (hover: hover) and (min-width: 1081px) {
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .sub-toggle .icon { transform: rotate(180deg); }

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--sky-2); border-radius: 999px; padding: 3px; }
.lang a { font: 600 .8rem/1 var(--font-body); color: var(--muted); text-decoration: none; padding: 7px 9px; border-radius: 999px; letter-spacing: .02em; }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.lang a:hover:not([aria-current]) { color: var(--ink); background: var(--tint); }
.header-cta { padding: .8em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { width: 128px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; margin: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .site-header.is-scrolled .main-nav { top: 66px; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-toggle .i-menu { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--sky); }
  .main-nav > ul > li > a { font: 600 1.35rem/1.2 var(--font-display); padding: 18px 4px; border-radius: 0; flex: 1; }
  .main-nav li.is-active > a { box-shadow: none; background: none; color: var(--steel); }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle { padding: 18px 8px !important; }
  .sub-toggle .icon { width: 1.4rem; height: 1.4rem; }
  .submenu { position: static; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open > .submenu { display: block; }
  .submenu a { padding: 11px 4px; font-size: 1rem; }
  .mobile-extra { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
  .header-tools .lang { display: none; }
}
@media (min-width: 1081px) { .mobile-extra { display: none; } }
.mobile-extra .lang { align-self: flex-start; }
.main-nav .mobile-extra .lang a { padding: 9px 12px; font: 600 .85rem/1 var(--font-body); color: var(--muted); }
.main-nav .mobile-extra .lang a[aria-current] { color: #fff; background: var(--ink); }
.main-nav .mobile-extra .btn { background: var(--honey); color: var(--ink); padding: 1em 1.4em; justify-content: center; font-weight: 600; }

/* ---------- home hero */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.018em; line-height: 1.02; margin-bottom: .45em; max-width: 13ch; }
.hero-intro { font-size: var(--step-1); color: var(--ink-2); max-width: 36ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; }
.hero-art .illus-hero { width: 100%; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; color: var(--muted); font-size: var(--step--1); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--steel); width: 1.1em; height: 1.1em; }

/* hero illustration motion (page-load only, once) */
.illus-hero .hx { transform-box: fill-box; transform-origin: center; animation: hx-in .6s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes hx-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.illus-hero .bee { animation: bee-float 5s ease-in-out infinite; transform-box: fill-box; }
.illus-hero .b2 { animation-duration: 6.2s; animation-delay: -2s; }
.illus-hero .b3 { animation-duration: 4.6s; animation-delay: -1s; }
@keyframes bee-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -9px); } }
.illus-hero .trail { stroke-dashoffset: 0; animation: trail 14s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -220; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto -8px; }
  .hero h1 { max-width: 16ch; }
}

/* ---------- sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; margin: 0; }

/* areas: one large + two stacked */
.areas { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.area {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l);
  background: #fff; border: 1px solid var(--sky-2); color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease);
}
.area:hover { border-color: var(--steel); color: var(--ink); transform: translateY(-2px); }
.area h3 { font-size: var(--step-2); margin: 6px 0 2px; }
.area p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.area .more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--steel); }
.area .more .icon { transition: transform .2s; }
.area:hover .more .icon { transform: translateX(4px); }
.area-main { grid-row: span 2; background: var(--ink); border-color: var(--ink); color: #fff; overflow: hidden; }
.area-main:hover { border-color: var(--ink); color: #fff; }
.area-main p { color: #c8d4e6; }
.area-main .more { color: var(--honey); }
.area-curve { margin-top: auto; padding-top: 24px; width: 100%; height: auto; }
.area-curve + .more { margin-top: 0; }
.hexicon { width: 54px; height: 62px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--sky); color: var(--steel); }
.hexicon .icon { width: 26px; height: 26px; }
.area-main .hexicon { background: var(--honey); color: var(--ink); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .area-main { grid-row: auto; } }

/* team + values */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.team-grid h2 { font-size: var(--step-4); letter-spacing: -0.015em; }
.team-lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); }
.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--sky-2); }
.values li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--sky-2); }
.values .icon { width: 28px; height: 28px; color: var(--steel); margin-top: 2px; }
.values strong { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; margin-bottom: 2px; }
.values span { color: var(--ink-2); }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* hive: scroll-driven honeycomb */
.hive-section { background: var(--night); color: #fff; position: relative; }
.hive-section h2 { color: #fff; }
.hive-section p { color: #b9c6db; }
.hive-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hive-count { font-family: var(--font-display); font-size: var(--step-1); color: var(--honey); margin-top: 24px; font-variant-numeric: tabular-nums; }
.hive { position: relative; width: 100%; aspect-ratio: 1.559; }
.cell {
  position: absolute; left: var(--x); top: var(--y); width: 22.222%; aspect-ratio: .866;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #2d4166; display: grid; place-items: center;
  transform: scale(.955);
  transition: background-color .45s var(--ease);
}
.cell::before {
  content: ""; position: absolute; inset: 2px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--night); transition: background-color .45s var(--ease), inset .45s var(--ease);
}
.cell span { position: relative; z-index: 1; text-align: center; padding: 0 12%; font: 600 clamp(.72rem, .55rem + .5vw, 1rem)/1.15 var(--font-display); color: #c8d4e6; transition: color .45s; }
.cell.on::before { background: var(--honey); inset: 4px; }
.cell.on span { color: var(--ink); }
.cell.on.alt::before { background: var(--steel-l); }
@media (max-width: 860px) {
  .hive-grid { grid-template-columns: 1fr; }
  .hive { aspect-ratio: .9326; max-width: 520px; margin-inline: auto; }
  .cell { left: var(--xm); top: var(--ym); width: 28.571%; }
}

/* projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chip { font: 600 .875rem/1 var(--font-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--sky-2); background: #fff; color: var(--ink-2); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--steel); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .projects.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projects.four { grid-template-columns: 1fr; } }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.project { background: #fff; border: 1px solid var(--sky-2); border-radius: var(--radius-m); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.project[hidden] { display: none; }
.project h3 { margin: 0; font-size: 1.2rem; }
.project .client { font-size: var(--step--1); color: var(--muted); margin: 0; }
.project p.d { font-size: .97rem; color: var(--ink-2); margin: 4px 0 6px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags li { font-size: .78rem; font-weight: 600; color: var(--steel); background: var(--sky); padding: 4px 9px; border-radius: 6px; }
.section-tint .project { border-color: transparent; }
.projects-more { margin-top: 28px; }

/* references band */
.refs { background: var(--honey); color: var(--ink); }
.refs-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.refs .quote-mark { width: 72px; height: 72px; color: var(--ink); opacity: .9; }
.refs h2 { margin-bottom: .25em; }
.refs p { margin: 0; max-width: 60ch; font-size: var(--step-1); line-height: 1.45; }
@media (max-width: 860px) { .refs-inner { grid-template-columns: 1fr; } .refs .quote-mark { width: 52px; height: 52px; } }

/* cta band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: var(--step-4); }
.cta-band p { color: #c8d4e6; margin: 0; font-size: var(--step-1); line-height: 1.5; max-width: 44ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .btn { min-width: 260px; justify-content: center; }
.cta-band .hexes { position: absolute; right: -60px; bottom: -70px; width: 260px; opacity: .14; pointer-events: none; }
.cta-cities { margin-top: 18px !important; font-size: var(--step--1) !important; color: #9fb0ca !important; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-actions .btn { min-width: 0; width: 100%; } }

/* ---------- inner pages */
.page-hero { background: var(--tint); padding: clamp(20px, 3vw, 32px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.page-hero-grid.solo { grid-template-columns: minmax(0, 1fr); }
.page-hero-grid.solo .lead { max-width: 60ch; }
.page-hero .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin: 0; }
.page-hero .art img { width: 100%; max-width: 380px; margin-left: auto; }
.crumbs { margin-bottom: clamp(20px, 3vw, 36px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; font-size: var(--step--1); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--sky-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .art { order: -1; max-width: 240px; }
  .page-hero .art img { margin: 0; }
}

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.content-grid.no-aside { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 70ch; }
.prose > h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose > p { font-size: 1.075rem; }
.checks { list-style: none; display: grid; gap: 10px; margin: 0 0 1.6em; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks .icon { width: 20px; height: 20px; color: var(--ink); background: var(--honey-s); border-radius: 50%; padding: 3px; margin-top: 3px; }
.checks.cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); column-gap: 24px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 32px; margin: 8px 0 2em; }
.feature h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.feature .hexicon { width: 46px; height: 53px; }
.feature .hexicon .icon { width: 22px; height: 22px; }
.callout { border-left: 4px solid var(--honey); background: var(--honey-s); background: linear-gradient(90deg, #fff4d4, #fffaf0); padding: 24px 28px; border-radius: 0 var(--radius-m) var(--radius-m) 0; margin: 2em 0; }
.callout h3 { margin: 0 0 6px; }
.callout p { margin: 0; color: var(--ink-2); }
.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.8em; }
.taglist li { border: 1px solid var(--sky-2); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .92rem; color: var(--ink-2); background: #fff; }
.linkcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; margin: 0 0 2em; }
.linkcards a { display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--sky-2); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; background: #fff; transition: border-color .2s, background-color .2s; }
.linkcards a:hover { border-color: var(--steel); background: var(--tint); }
.linkcards .hexicon { width: 40px; height: 46px; }
.linkcards .hexicon .icon { width: 20px; height: 20px; }
.linkcards .go { width: 18px; height: 18px; color: var(--steel); transition: transform .2s; }
.linkcards a:hover .go { transform: translateX(3px); }
.group-h { font-size: var(--step-1) !important; margin: 1.6em 0 .7em !important; }

.aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-nav { border-left: 2px solid var(--sky-2); padding-left: 0; }
.aside-nav h2 { font: 600 .85rem/1.2 var(--font-body); color: var(--muted); margin: 0 0 10px 18px; letter-spacing: 0; }
.aside-nav ul { list-style: none; }
.aside-nav a { display: block; padding: 7px 0 7px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.aside-nav a:hover { color: var(--ink); border-left-color: var(--steel-l); }
.aside-nav a[aria-current] { color: var(--ink); font-weight: 650; border-left-color: var(--honey); }
.aside-card { margin-top: 28px; padding: 22px; border-radius: var(--radius-m); background: var(--tint); }
.aside-card p { font-size: .95rem; color: var(--ink-2); margin-bottom: 14px; }
.aside-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
@media (max-width: 980px) {
  .content-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .aside-card { display: none; }
}

/* contacts */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--sky-2); margin-bottom: 28px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--sky-2); }
.contact-list .icon { width: 24px; height: 24px; color: var(--steel); margin-top: 2px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a { font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--steel); text-decoration: underline; }
.map-box { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--sky); aspect-ratio: 600 / 440; }
.map-box > img, .map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.map-consent { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.96); border-radius: var(--radius-m); padding: 16px 18px; display: grid; gap: 12px; box-shadow: 0 12px 30px -18px rgba(20,32,56,.5); }
.map-consent p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.map-consent .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.map-consent .btn { padding: .7em 1.1em; font-size: .92rem; }
.map-consent a.ext { font-size: .9rem; font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map-box { aspect-ratio: 4/3.6; } }

/* ---------- footer */
.site-footer { background: var(--night); color: #b9c6db; padding: clamp(48px, 7vw, 88px) 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e4ebf5; text-decoration: none; }
.site-footer a:hover { color: var(--honey); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 40px; border-bottom: 1px solid var(--night-2); }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 8px; }
.footer-payoff { font-family: var(--font-display); color: var(--honey); font-size: var(--step-1); line-height: 1.3; margin-bottom: 14px; max-width: 24ch; }
.site-footer h2 { font: 600 .85rem/1.2 var(--font-body); color: #8394b1; margin: 0 0 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-contact { font-style: normal; display: grid; gap: 14px; }
.footer-contact span { display: block; color: #8394b1; font-size: .82rem; }
.footer-li { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px; border: 1px solid #2d4166; border-radius: 999px; font-weight: 600; }
.footer-li .icon { width: 18px; height: 18px; color: var(--honey); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; font-size: .82rem; color: #8394b1; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom button { background: none; border: 0; color: #e4ebf5; font: inherit; padding: 0; cursor: pointer; }
.footer-bottom button:hover { color: var(--honey); text-decoration: underline; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- cookie banner */
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(520px, calc(100% - 32px)); background: #fff; color: var(--ink); border-radius: var(--radius-l); box-shadow: 0 30px 60px -20px rgba(15,27,48,.45), 0 0 0 1px var(--sky-2); padding: 24px 24px 20px; }
.cc[hidden] { display: none; }
.cc h2 { font-size: 1.3rem; margin: 0 40px 8px 0; }
.cc p { font-size: .92rem; color: var(--ink-2); margin: 0 0 14px; }
.cc-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cc-x .icon { width: 18px; height: 18px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { flex: 1 1 auto; justify-content: center; padding: .8em 1.1em; font-size: .93rem; }
.cc-prefs { display: grid; gap: 4px; margin: 4px 0 16px; }
.cc-prefs[hidden] { display: none; }
.cc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--sky); }
.cc-row strong { font-size: .95rem; }
.cc-row small { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.cc-row .always { font-size: .8rem; color: var(--muted); font-weight: 600; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.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: var(--sky-2); transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--steel); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.cc-link { font-size: .85rem; display: inline-block; margin-top: 12px; }

/* ---------- 404 */
.nf { padding: clamp(40px, 8vw, 100px) 0; text-align: center; }
.nf img { width: min(360px, 80%); margin: 0 auto 12px; }
.nf p { max-width: 52ch; margin: 0 auto 24px; color: var(--ink-2); }
.nf .alts { margin-top: 28px; font-size: .92rem; color: var(--muted); }

/* ---------- scroll-reveal (used sparingly) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.illus .curve { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw .curve { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js .draw.in .curve { stroke-dashoffset: 0; }
.js .draw .bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.05); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 90ms + 200ms); }
.js .draw.in .bar { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .cc, .site-footer, .progress, .aside { display: none !important; }
}
