/* DANBODD web style v3 "Field, Grid and Light" (docs/22_WEB_STYLE_V3.md, skill ops/skills/danbodd-web-style).
   One stylesheet, no framework, no build step. Tokens first, then base, layout, components, motion.
   Rules: text never under 12 px, every animation stops under prefers-reduced-motion, one accent per view. */

@font-face {
  font-family: "DANBODD Sans";
  src: url("assets/fonts/danbodd-albert-sans-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* colour: dark-first, the documents' navy and azure, the logo's blue and leaf */
  --midnight: #07182A; --night: #0C2742; --harbour: #002E4E; --royal: #123E6B;
  --azure: #2073AB; --sky: #5AA5DB; --ring: #1B76BC;
  --leaf: #8DC04A; --green: #4F7A22; --green-hi: #47701F; --forest: #234923; /* green passes 4.5:1 with white */
  --paper: #F6F4EF; --stone: #E9E4DA; --mist: #F4F8FB; --white: #FFFFFF;
  --ink: #102233; --slate: #526C80; --slate-deep: #4A6275; --azure-deep: #1D6699; --fog: #A9BCCD;
  --line: #CAD5DC; --hair-d: #1D3D5E; --hair-l: #D8D1C3;
  --rule: linear-gradient(90deg, var(--harbour) 0 58%, var(--azure) 58% 82%, var(--green) 82% 100%);

  /* type: one variable family (Albert Sans, 32 KB) */
  --font: "DANBODD Sans", "Albert Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.5rem, 1.6rem + 3.9vw, 4.75rem);    /* 40 to 76 px */
  --fs-h2: clamp(1.9rem, 1.45rem + 1.9vw, 3rem);         /* 30 to 48 px */
  --fs-h3: clamp(1.3rem, 1.15rem + .6vw, 1.625rem);      /* 21 to 26 px */
  --fs-list: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);        /* 24 to 32 px, light */
  --fs-stat: clamp(2.4rem, 1.9rem + 2vw, 3.5rem);        /* 38 to 56 px, light */
  --fs-lede: clamp(1.125rem, 1.05rem + .35vw, 1.375rem); /* 18 to 22 px */
  --fs-body: 1.125rem;                                   /* 18 px, 17 on phones */
  --fs-small: .875rem;                                   /* 14 px */
  --fs-kicker: .8125rem;                                 /* 13 px */
  --fs-min: .75rem;                                      /* 12 px floor */

  /* space and layout */
  --w: 1280px; --gut: clamp(20px, 4vw, 56px); --pad: clamp(72px, 9vw, 152px);
  --r: 3px;

  /* motion: calm and long for reveals, quick and soft for interface */
  --ease-calm: cubic-bezier(.37, 0, .58, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-slow: 1200ms; --t-mid: 700ms; --t-fast: 240ms;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font: 300 var(--fs-body)/1.65 var(--font); color: var(--white); background: var(--midnight);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--fs-hero); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.012em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
::selection { background: var(--azure); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* light bands: paper with ink, body a touch heavier so light type stays crisp on white */
.light { background: var(--paper); color: var(--ink); }
.light p, .light li { font-weight: 360; }
.white { background: var(--white); color: var(--ink); }
.white p { font-weight: 360; }
.stone { background: var(--stone); color: var(--ink); --slate: var(--slate-deep); }
.stone .kicker { color: var(--azure-deep) !important; }
.stone p { font-weight: 360; }

/* ------------------------------------------------------------------ layout: container framed by hairlines */
.wrap { position: relative; max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.frame { position: relative; }
.frame::before, .frame::after {
  content: ""; position: absolute; top: 0; width: 1px; height: var(--fl, 100%); background: var(--azure);
  opacity: .55; pointer-events: none; transition: height var(--t-slow) var(--ease-calm);
}
.frame::before { left: calc(max(0px, (100% - var(--w)) / 2) + var(--gut) / 2); }
.frame::after { right: calc(max(0px, (100% - var(--w)) / 2) + var(--gut) / 2); }
.light.frame::before, .light.frame::after, .white.frame::before, .white.frame::after, .stone.frame::before, .stone.frame::after { background: var(--hair-l); opacity: 1; }
.band { position: relative; padding: var(--pad) 0; }
.band.tight { padding: calc(var(--pad) * .6) 0; }
.hr { height: 1px; background: var(--hair-d); border: 0; margin: 0; }
.light .hr { background: var(--hair-l); }
.rule { height: 3px; background: var(--rule); border: 0; margin: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: 1 / -1; }
.start-7 { grid-column-start: 7; }
@media (max-width: 900px) { .grid > [class*="span-"] { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ type helpers */
.kicker { display: inline-block; font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-bottom: 18px; }
.light .kicker, .white .kicker, .stone .kicker { color: var(--azure); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: #D3DEE8; max-width: 44ch; }
.light .lede, .white .lede, .stone .lede { color: var(--slate); }
.light .btn.ghost, .white .btn.ghost, .stone .btn.ghost { color: var(--ink); }
.motto { color: var(--leaf); font-weight: 600; font-size: var(--fs-lede); line-height: 1.4; }
.muted { color: var(--fog); } .light .muted, .white .muted, .stone .muted { color: var(--slate); }
.small { font-size: var(--fs-small); }
.tag { font-size: var(--fs-min); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }
.light .tag, .white .tag, .stone .tag { color: var(--slate); }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r);
  background: var(--green); color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:hover { background: var(--green-hi); transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.light .btn.ghost:hover { background: rgba(0,46,78,.06); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-mid) var(--ease-out);
}
.arrow-link svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-out); }
.arrow-link:hover svg { transform: translate(3px, -3px); }
.arrow-link:hover { background-size: 40% 1px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; }
.end { justify-self: end; } @media (max-width: 900px) { .end { justify-self: start; } }

/* ------------------------------------------------------------------ page head (inner pages without a photograph) */
.pagehead { padding: calc(84px + clamp(56px, 8vw, 120px)) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--hair-d); }
.pagehead h1 { max-width: 18ch; }
.pagehead .lede { margin-top: 22px; }
.top nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--leaf); }

/* ------------------------------------------------------------------ points: plain statements between hairlines */
.points { list-style: none; margin: 0; padding: 0; counter-reset: pt; border-top: 1px solid var(--hair-d); }
.points li { counter-increment: pt; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hair-d); font-size: var(--fs-lede); line-height: 1.45; }
.points li::before { content: counter(pt, decimal-leading-zero); font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .14em; color: var(--leaf); padding-top: .35em; }
.light .points, .light .points li, .white .points, .white .points li, .stone .points, .stone .points li { border-color: var(--hair-l); }
.light .points li::before, .white .points li::before, .stone .points li::before { color: var(--green); }

/* ------------------------------------------------------------------ header and menu */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out), border-color var(--t-mid);
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(7, 24, 42, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--hair-d); }
.top.away { transform: translateY(-100%); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.top .brand { display: flex; align-items: center; height: 44px; }
.top .brand img, .top .brand svg { height: 44px; width: auto; }
.top nav { margin-left: auto; display: flex; gap: 30px; }
.top nav a { font-size: .95rem; font-weight: 500; letter-spacing: .02em; opacity: .86; transition: opacity var(--t-fast); }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; }
.top .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; padding: 10px; }
.burger svg { width: 28px; height: 28px; }
@media (max-width: 980px) { .top nav, .top .btn { display: none; } .burger { display: block; } }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--midnight); display: flex; flex-direction: column;
  padding: 24px var(--gut) 40px; opacity: 0; visibility: hidden; transition: opacity var(--t-mid) var(--ease-out), visibility 0s var(--t-mid);
}
.menu.open { opacity: 1; visibility: visible; transition: opacity var(--t-mid) var(--ease-out); }
.menu .close { align-self: flex-end; width: 48px; height: 48px; background: none; border: 0; color: #fff; cursor: pointer; }
.menu ol { list-style: none; margin: 6vh 0 0; padding: 0; border-top: 1px solid var(--hair-d); }
.menu li { border-bottom: 1px solid var(--hair-d); overflow: hidden; }
.menu li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: var(--fs-list); font-weight: 250; letter-spacing: -.01em;
  transform: translateY(110%); transition: transform var(--t-mid) var(--ease-out); }
.menu.open li a { transform: none; }
.menu.open li:nth-child(2) a { transition-delay: 60ms; } .menu.open li:nth-child(3) a { transition-delay: 120ms; }
.menu.open li:nth-child(4) a { transition-delay: 180ms; } .menu.open li:nth-child(5) a { transition-delay: 240ms; }
.menu li a svg { width: 26px; height: 26px; color: var(--sky); }
.menu .meta { margin-top: auto; color: var(--fog); font-size: var(--fs-small); }

/* ------------------------------------------------------------------ hero: photo or film, framed, calm */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero .media { position: absolute; inset: 0; z-index: -2; }
.hero .media img, .hero .media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 60%);
  transform: scale(1.08); animation: kenburns 24s var(--ease-calm) forwards; }
.hero .shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,24,42,.78) 0%, rgba(7,24,42,.5) 42%, rgba(7,24,42,0) 72%),
    linear-gradient(180deg, rgba(7,24,42,.7) 0%, rgba(7,24,42,.2) 30%, rgba(7,24,42,.45) 62%, rgba(7,24,42,.97) 100%); }
.hero .over { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap { width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 26px; }
.hero .caption { position: absolute; right: var(--gut); bottom: 22px; font-size: var(--fs-min); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero .scroll { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 56px; background: linear-gradient(rgba(255,255,255,0), #fff); overflow: hidden; }
.hero .scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--leaf); animation: drip 2.4s var(--ease-calm) infinite; }
@keyframes kenburns { to { transform: scale(1); } }
@keyframes drip { to { top: 110%; } }
/* the sun path over the field: arc draws, the sun travels once, then rests */
.hero .h-arc { stroke-dashoffset: 0; animation: arcfade 2.2s var(--ease-calm) .6s both; }
.hero .h-sun { offset-path: path("M80 560 C 420 120, 1180 120, 1520 560"); offset-distance: 0%; animation: sunpath 9s var(--ease-calm) 1s forwards; opacity: .95; }
.hero .h-hz { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s var(--ease-calm) .2s forwards; }
@keyframes arcfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sunpath { to { offset-distance: 38%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------------ proof band: thin boxes, light numbers, staggered */
.stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; border: 1px solid var(--azure); }
.stats > div { padding: 30px 28px 34px; border-right: 1px solid var(--azure); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: var(--fs-stat); font-weight: 250; letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.stats span { color: var(--fog); font-size: 1rem; display: block; max-width: 26ch; }
.light .stats { border-color: var(--hair-l); } .light .stats > div { border-color: var(--hair-l); } .light .stats span { color: var(--slate); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stats > div { border-right: 0; border-bottom: 1px solid var(--azure); } .stats > div:last-child { border-bottom: 0; } }

/* ------------------------------------------------------------------ offset feature: image overlaps a harbour panel */
.feature { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.feature .panel { grid-column: 5 / -1; grid-row: 1; background: var(--harbour); padding: clamp(36px, 6vw, 96px) clamp(28px, 5vw, 80px) clamp(36px, 6vw, 96px) clamp(120px, 20vw, 300px); }
.feature figure { grid-column: 1 / 7; grid-row: 1; margin: 0; z-index: 1; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.feature figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--focus, 50% 50%); }
.feature.flip .panel { grid-column: 1 / 9; padding-left: clamp(28px, 5vw, 80px); padding-right: clamp(120px, 20vw, 300px); }
.feature.flip figure { grid-column: 7 / -1; }
.feature figcaption { font-size: var(--fs-min); letter-spacing: .1em; text-transform: uppercase; color: var(--fog); padding-top: 12px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature .panel, .feature.flip .panel { grid-column: 1; grid-row: 2; padding: 64px 26px 40px; margin-top: -40px; }
  .feature figure, .feature.flip figure { grid-column: 1; grid-row: 1; margin: 0 18px; }
}

/* ------------------------------------------------------------------ link list: big light type between hairlines */
.linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--azure); }
.linklist li { border-bottom: 1px solid var(--azure); }
.linklist a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding: 22px 4px; font-size: var(--fs-list); font-weight: 250; letter-spacing: -.012em; line-height: 1.25;
  transition: padding var(--t-mid) var(--ease-out), color var(--t-fast); }
.linklist a small { font-size: var(--fs-small); font-weight: 400; letter-spacing: .02em; color: var(--fog); }
.linklist a svg { width: 24px; height: 24px; color: var(--sky); transition: transform var(--t-fast) var(--ease-out); }
.linklist a:hover { padding-left: 14px; color: #fff; }
.linklist a:hover svg { transform: translate(4px, -4px); }
.light .linklist, .light .linklist li { border-color: var(--hair-l); }
.light .linklist a small { color: var(--slate); } .light .linklist a svg { color: var(--azure); }
@media (max-width: 600px) { .linklist a { grid-template-columns: 1fr auto; } .linklist a small { grid-column: 1; grid-row: 2; } }

/* ------------------------------------------------------------------ doors and plates (pen drawings on stone) */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.door { display: flex; flex-direction: column; color: #fff; background: var(--night); border: 1px solid var(--hair-d); border-radius: var(--r); overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid), box-shadow var(--t-mid); }
.door:hover { transform: translateY(-6px); border-color: var(--azure); box-shadow: 0 26px 60px rgba(0,0,0,.35); }
.plate { background: var(--stone); padding: 18px; }
.plate svg { width: 100%; height: auto; }
.door .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.door .fig { font-size: var(--fs-min); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); font-weight: 700; }
.door .dl { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.door .ds { color: var(--fog); font-size: 1rem; }
.door .go { margin-top: auto; padding-top: 14px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.door .go svg { width: 20px; height: 20px; transition: transform var(--t-fast) var(--ease-out); }
.door:hover .go svg { transform: translateX(5px); }
@media (max-width: 980px) { .doors { grid-template-columns: 1fr; } .door { flex-direction: row; } .door .plate { flex: 0 0 42%; display: flex; align-items: center; } }
@media (max-width: 600px) { .door { flex-direction: column; } .door .plate { flex: none; } }

/* ------------------------------------------------------------------ tiles (the documents' stat tiles, for light bands) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start; background: var(--mist); border: 1px solid #D0DCE4; border-top: 3px solid var(--harbour); border-radius: 4px; padding: 20px 22px; color: var(--ink); }
.tile:nth-child(4n+2) { border-top-color: var(--azure); } .tile:nth-child(4n+3) { border-top-color: var(--green); } .tile:nth-child(4n+4) { border-top-color: var(--slate); }
.tile svg { grid-row: 1 / span 2; width: 52px; height: 52px; color: var(--harbour); }
.tile strong { font-size: 1.9rem; font-weight: 700; line-height: 1.05; color: var(--harbour); letter-spacing: -.02em; }
.tile span { font-size: 1rem; line-height: 1.4; }

/* ------------------------------------------------------------------ steps: a drawn line with stations */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: var(--azure); transform-origin: 0 50%; transform: scaleX(var(--sx, 1)); transition: transform 1.6s var(--ease-calm); }
.steps li { position: relative; padding-top: 86px; }
.steps .ic { position: absolute; top: 0; left: 0; width: 66px; height: 66px; border-radius: 50%; background: var(--midnight); border: 1px solid var(--azure); display: grid; place-items: center; color: #fff; }
.steps .ic svg { width: 40px; height: 40px; }
.light .steps .ic { background: var(--paper); color: var(--harbour); }
.steps .no { font-size: var(--fs-min); font-weight: 700; letter-spacing: .14em; color: var(--leaf); }
.light .steps .no { color: var(--green); }
.steps h3 { margin: 6px 0 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps::before { left: 33px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--sx, 1)); } .steps li { padding: 0 0 8px 96px; min-height: 66px; } }

/* ------------------------------------------------------------------ quote band over a living background */
.quote { position: relative; overflow: hidden; }
.quote canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.quote .wrap { position: relative; z-index: 1; }
.quote blockquote { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem); font-weight: 250; line-height: 1.18; letter-spacing: -.02em; max-width: 24ch; }
.quote blockquote em { font-style: normal; color: var(--leaf); }

/* ------------------------------------------------------------------ person */
.person { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.person figure { margin: 0; position: relative; isolation: isolate; }
.person figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person figure::after { content: ""; position: absolute; left: 18px; right: -18px; top: 18px; bottom: -18px; border: 1px solid var(--azure); z-index: -1; }
.person ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--hair-d); }
.person li { padding: 13px 0; border-bottom: 1px solid var(--hair-d); color: #D3DEE8; }
.light .person li { color: var(--ink); border-color: var(--hair-l); } .light .person ul { border-color: var(--hair-l); }
@media (max-width: 900px) { .person { grid-template-columns: 1fr; } .person figure { max-width: 420px; } }
@media (max-width: 600px) { .person figure::after { right: 8px; left: 10px; } }

/* ------------------------------------------------------------------ tabs (dashboard pattern) */
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs [role="tab"] { font: 600 .95rem/1 var(--font); padding: 13px 18px; border-radius: var(--r); border: 1px solid var(--hair-d); background: transparent; color: inherit; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.tabs [role="tab"][aria-selected="true"] { background: var(--harbour); border-color: var(--azure); }
.light .tabs [role="tab"] { border-color: var(--hair-l); } .light .tabs [role="tab"][aria-selected="true"] { background: var(--harbour); color: #fff; }
.tabs [role="tabpanel"] { animation: fadein var(--t-mid) var(--ease-out); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------------ cards and news columns */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair-d); }
.cols3 > * { padding: 26px 26px 30px 0; border-right: 1px solid var(--hair-d); }
.cols3 > * + * { padding-left: 26px; }
.cols3 > *:last-child { border-right: 0; }
.cols3 .date { font-size: var(--fs-min); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); display: block; margin-bottom: 12px; }
.light .cols3, .light .cols3 > * { border-color: var(--hair-l); } .light .cols3 .date { color: var(--slate); }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; } .cols3 > * { border-right: 0; border-bottom: 1px solid var(--hair-d); padding-left: 0 !important; } }

/* ------------------------------------------------------------------ price ladder card (offer) */
.offer { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border: 1px solid var(--hair-d); border-radius: var(--r); background: var(--night); }
.offer.main { border-color: var(--leaf); box-shadow: inset 0 3px 0 var(--leaf); }
.offer .price { font-size: 1.9rem; font-weight: 300; letter-spacing: -.02em; }
.offer ul { margin: 6px 0 0; padding-left: 20px; color: #D3DEE8; }

/* ------------------------------------------------------------------ footer: contact, centred lockup, links */
.foot { background: var(--midnight); border-top: 1px solid var(--hair-d); padding: 72px 0 34px; color: var(--fog); font-size: .95rem; }
.foot .row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; }
.foot .logo { justify-self: center; width: 150px; }
.foot .right { justify-self: end; text-align: right; }
.foot .engine { max-width: 290px; }
.foot .engine .flowlogo { margin-left: auto; opacity: .94; }
.flowlogo { position: relative; width: 270px; max-width: 100%; }
.flowlogo img { display: block; width: 100%; height: auto; }
.flowlogo canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flowlogo.live img { opacity: 0; }
.foot .engine p { font-size: var(--fs-small); line-height: 1.5; margin-top: 10px; color: var(--fog); }
.foot h4 { font-size: var(--fs-min); letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 14px; }
.foot .about { max-width: 70ch; margin: 54px auto 0; text-align: center; }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hair-d); font-size: var(--fs-small); letter-spacing: .06em; text-transform: uppercase; }
.foot .links a:hover { color: #fff; }
.foot .one { text-align: center; font-size: var(--fs-min); margin-top: 22px; color: #7F93A6; }
@media (max-width: 760px) { .foot .row { grid-template-columns: 1fr; text-align: center; } .foot .right { justify-self: center; text-align: center; } .foot .right img, .foot .engine .flowlogo { margin: 0 auto !important; } .foot .engine { max-width: 34ch; } .foot .links { text-align: center; } }

/* ------------------------------------------------------------------ scroll progress, page transition */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 70; background: var(--rule); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms var(--ease-out) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ------------------------------------------------------------------ reveal system (danbodd.js adds .in when seen) */
.js [data-reveal] { transition: opacity var(--t-slow) var(--ease-calm), transform var(--t-slow) var(--ease-calm); }
.js [data-reveal="fade"] { opacity: .05; }
.js [data-reveal="rise"] { opacity: 0; transform: translateY(26px); }
.js [data-reveal="shift"] { transform: translateY(80px); }
.js [data-reveal="wipe"] { position: relative; }
.js [data-reveal="wipe"]::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--wipe, var(--midnight)); transform-origin: 50% 0; transition: transform var(--t-slow) var(--ease-calm); }
.js [data-reveal="wipe"].in::before { transform: scaleY(0); }
.light [data-reveal="wipe"] { --wipe: var(--paper); }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(calc(var(--i, 0) * 40px + 20px)); transition: opacity var(--t-slow) var(--ease-calm), transform var(--t-slow) var(--ease-calm); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in, .js [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
.js .frame[data-lines] { --fl: 0%; } .js .frame[data-lines].in { --fl: 100%; }
.js .steps[data-reveal] { --sx: 0; } .js .steps[data-reveal].in { --sx: 1; }
/* pen drawings draw in once: danbodd.js measures each stroke */
.js .draw path, .js .draw circle, .js .draw line, .js .draw rect { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .draw.in path, .js .draw.in circle, .js .draw.in line, .js .draw.in rect { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-calm); }

/* ------------------------------------------------------------------ animated logo */
.logo-anim .db-ring { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s var(--ease-calm) .1s forwards; }
.logo-anim .db-sky { opacity: 0; animation: arcfade 1s var(--ease-calm) .9s forwards; }
.logo-anim .db-leaf { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: grow 1s var(--ease-out) forwards; }
.logo-anim .db-leaf-c { animation-delay: 1s; } .logo-anim .db-leaf-l { animation-delay: 1.15s; } .logo-anim .db-leaf-r { animation-delay: 1.25s; }
.logo-anim .db-word { opacity: 0; animation: arcfade 1s var(--ease-calm) 1.4s forwards; }
.logo-anim .db-node { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s var(--ease-out) forwards; }
.logo-anim .db-link { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s var(--ease-calm) forwards; }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes pop { to { transform: scale(1); } }

/* ------------------------------------------------------------------ small screens and calm motion */
@media (max-width: 600px) { body { font-size: 1.0625rem; } .hero .caption { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] > * { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="wipe"]::before { display: none; }
  .js .frame[data-lines] { --fl: 100%; } .js .steps[data-reveal] { --sx: 1; }
  .js .draw path, .js .draw circle, .js .draw line, .js .draw rect { stroke-dashoffset: 0 !important; }
  .logo-anim .db-ring { stroke-dashoffset: 0; } .logo-anim .db-sky, .logo-anim .db-word { opacity: 1; }
  .logo-anim .db-leaf, .logo-anim .db-node { transform: none; } .logo-anim .db-link { stroke-dashoffset: 0; }
  .hero .media img, .hero .media video { transform: none; } .hero .h-sun { offset-distance: 38%; }
}
@media print { .top, .menu, .progress, .quote canvas, .hero .over { display: none; } body { background: #fff; color: #000; } }
