/* Growth With Hannah · tokens · the course on the map */
@font-face { font-family: "Funnel Display"; src: url("../assets/fonts/funnel-display.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("../assets/fonts/funnel-sans.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("../assets/fonts/funnel-sans-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/newsreader.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  /* Terrain: the greens of the map (darkest variant, chosen 24 Nov 2026; was #123a2e ground) */
  --spruce-950: #061510;
  --spruce-900: #081a14;
  --spruce-800: #0b211a;
  --spruce-700: #12332a;
  --spruce-600: #1e4a3c;
  --moss-400: #7fa48c;
  --clearing-300: #bcd8b0;
  --clearing-200: #d5e6cc;
  --clearing-100: #e7f0df;
  /* Paper */
  --paper: #f6f1e8;
  --paper-2: #ede6d9;
  --white: #fffdf9;
  /* Ink */
  --ink: #13211b;
  --ink-2: #45524b;
  --ink-3: #66726b;
  /* The course: one overprint colour (coral, Hannah 18 Nov; was magenta) */
  --course: #e5603f;
  --course-deep: #b4432a;
  --course-light: #ff8a6e;
  /* Drawing only */
  --contour: #a8774c;
  --contour-light: #c99a6c;
  --flag: #f08a24;

  /* Roles (paper theme by default) */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --accent: var(--course);
  --accent-text: var(--course-deep);
  --surface: var(--white);
  --terrain: var(--contour);

  /* Type */
  --f-display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --f-text: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-quote: "Newsreader", Georgia, serif;
  --t-mega: clamp(3rem, 1.6rem + 6.2vw, 7.25rem);
  --t-h1: clamp(2.5rem, 1.6rem + 4vw, 5rem);
  --t-h2: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
  --t-h3: clamp(1.375rem, 1.2rem + .7vw, 1.875rem);
  --t-h4: 1.25rem;
  --t-lead: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-micro: .8125rem;
  --t-quote: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem);

  /* Space: 4 px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 160px;
  --sec: clamp(72px, 4rem + 6vw, 160px);
  --gutter: clamp(20px, 1rem + 2.4vw, 48px);
  --max: 1320px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --pill: 999px;

  /* Motion: four named curves */
  --e-course: cubic-bezier(.65, 0, .35, 1);   /* Banan: legs drawing, panels sliding */
  --e-step: cubic-bezier(.2, .7, .2, 1);      /* Steg: things entering */
  --e-punch: cubic-bezier(.34, 1.56, .64, 1); /* Stämpel: a control being punched */
  --e-glide: cubic-bezier(.4, 0, .2, 1);      /* Glid: hover, open, close */
  --d-1: 120ms; --d-2: 200ms; --d-3: 320ms; --d-4: 600ms; --d-leg: 900ms;

  --shadow: 0 1px 2px rgb(10 35 28 / .06), 0 8px 24px -12px rgb(10 35 28 / .18);
}

.t-paper { --bg: var(--paper); --fg: var(--ink); --fg-2: var(--ink-2); --line: color-mix(in srgb, var(--ink) 14%, transparent); --accent-text: var(--course-deep); --surface: var(--white); --terrain: var(--contour); background: var(--bg); color: var(--fg); }
.t-white { --bg: var(--white); --fg: var(--ink); --fg-2: var(--ink-2); --line: color-mix(in srgb, var(--ink) 12%, transparent); --accent-text: var(--course-deep); --surface: var(--paper); --terrain: var(--contour); background: var(--bg); color: var(--fg); }
.t-clearing { --bg: var(--clearing-200); --fg: var(--ink); --fg-2: #34443b; --line: color-mix(in srgb, var(--spruce-800) 22%, transparent); --accent-text: var(--course-deep); --surface: var(--clearing-100); --terrain: var(--spruce-600); background: var(--bg); color: var(--fg); }
.t-spruce { --bg: var(--spruce-800); --fg: var(--paper); --fg-2: #b4c9bc; --line: color-mix(in srgb, var(--paper) 18%, transparent); --accent-text: var(--course-light); --surface: var(--spruce-700); --terrain: var(--moss-400); background: var(--bg); color: var(--fg); }
.t-deep { --bg: var(--spruce-950); --fg: var(--paper); --fg-2: #a9bfb2; --line: color-mix(in srgb, var(--paper) 16%, transparent); --accent-text: var(--course-light); --surface: var(--spruce-900); --terrain: var(--moss-400); background: var(--bg); color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  :root { --d-1: 1ms; --d-2: 1ms; --d-3: 1ms; --d-4: 1ms; --d-leg: 1ms; }
}
/* Growth With Hannah · base and components */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 var(--t-body)/1.6 var(--f-text); color: var(--fg); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.005em; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 99; background: var(--white); padding: 12px 16px; border-radius: var(--radius-sm); }
:focus-visible { outline: 2px solid var(--course); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--text { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.stack > * + * { margin-top: var(--s-5); }
.stack-s > * + * { margin-top: var(--s-3); }

/* Type */
.mega { font-size: var(--t-mega); line-height: 1.02; letter-spacing: -.012em; font-weight: 650; }
.h1 { font-size: var(--t-h1); line-height: 1.06; letter-spacing: -.01em; }
.h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.008em; }
.h3 { font-size: var(--t-h3); line-height: 1.2; font-weight: 600; }
.h4 { font-size: var(--t-h4); line-height: 1.3; font-weight: 600; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-2); max-width: 40ch; }
.lead--wide { max-width: 56ch; }
.body { color: var(--fg-2); max-width: 62ch; }
.small { font-size: var(--t-small); color: var(--fg-2); }
.micro { font-size: var(--t-micro); color: var(--fg-2); letter-spacing: .01em; }
.role { font-family: var(--f-text); font-size: var(--t-lead); line-height: 1.45; font-weight: 500; color: var(--fg); max-width: 34ch; }
.accent { color: var(--accent-text); }

/* Links */
.tlink { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color var(--d-2) var(--e-glide); min-height: 44px; }
.tlink:hover { text-decoration-color: var(--course); }
.tlink .g { transition: transform var(--d-2) var(--e-glide); }
.tlink:hover .g { transform: translateX(4px); }

/* Glyph sizes */
.g { width: 24px; height: 24px; flex: none; }
.g--sm { width: 18px; height: 18px; }
.g--lg { width: 32px; height: 32px; }

/* Buttons: the primary is the course colour, one per view */
.btn { --b-bg: var(--course); --b-fg: var(--ink); display: inline-flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: 0 var(--s-5) 0 var(--s-6); border-radius: var(--pill); border: 0; background: var(--b-bg); color: var(--b-fg); font: 600 1.0625rem/1 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color var(--d-2) var(--e-glide), transform var(--d-2) var(--e-glide); }
.btn:hover { background: var(--course-light); }
.btn:active { transform: translateY(1px); }
.btn .btn__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 12%, transparent); transition: transform var(--d-3) var(--e-punch); }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 40%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.btn--ghost .btn__ico { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.btn--quiet { --b-bg: var(--spruce-800); --b-fg: var(--paper); }
.btn--quiet:hover { background: var(--spruce-700); }
.t-spruce .btn--quiet, .t-deep .btn--quiet { --b-bg: var(--paper); --b-fg: var(--spruce-900); }
.t-spruce .btn--quiet:hover, .t-deep .btn--quiet:hover { background: var(--white); }
.btn--sm { min-height: 44px; padding: 0 var(--s-4) 0 var(--s-5); font-size: 1rem; }
.btn--sm .btn__ico { width: 26px; height: 26px; }
.btn[disabled] { --b-bg: var(--paper-2); --b-fg: var(--ink-2); cursor: not-allowed; }
.btn[disabled]:hover { background: var(--paper-2); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }

/* Chips and tags */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border-radius: var(--pill); border: 1.5px solid var(--line); background: transparent; color: var(--fg); font-weight: 500; cursor: pointer; transition: background-color var(--d-2) var(--e-glide), border-color var(--d-2) var(--e-glide), color var(--d-2) var(--e-glide); }
.chip:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.chip[aria-pressed="true"] { background: var(--spruce-800); border-color: var(--spruce-800); color: var(--paper); }
.t-spruce .chip[aria-pressed="true"], .t-deep .chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--spruce-900); }
.chip__ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--course); transition: background-color var(--d-2) var(--e-glide); }
.chip[aria-pressed="true"] .chip__ring { background: var(--course); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); background: color-mix(in srgb, var(--fg) 7%, transparent); font-size: var(--t-micro); font-weight: 600; color: var(--fg); }
.tag--course { background: color-mix(in srgb, var(--course) 13%, transparent); color: var(--accent-text); }

/* Cards */
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(var(--s-5), 3vw, var(--s-7)); position: relative; }
.card--line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }

/* Package cards */
.pkg h3 { overflow-wrap: break-word; hyphens: auto; }
.pkg { min-width: 0; display: grid; gap: var(--s-4); align-content: start; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(var(--s-5), 3vw, var(--s-7)); }
.pkg__vig { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.t-spruce .pkg__vig, .pkg.t-spruce .pkg__vig { background: var(--spruce-900); }
.pkg__vig svg { width: 100%; height: 100%; }
.pkg__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-top: var(--s-4); border-top: 1.5px solid var(--line); }
.pkg__price b { font: 600 1.375rem/1.2 var(--f-display); }
.pkg__price span { font-size: var(--t-small); color: var(--fg-2); }
.pkg--lead .pkg__title { font-size: var(--t-h3); }

/* Stats */
.stat { display: grid; gap: var(--s-2); }
.stat__n { font: 600 clamp(3rem, 2rem + 4vw, 5.5rem)/1 var(--f-display); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.stat__n small { font: 500 var(--t-lead)/1 var(--f-text); margin-left: .3em; color: var(--fg-2); }
.stat__l { color: var(--fg-2); max-width: 26ch; }

/* People */
.face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--paper-2); }
.face--sm { width: 44px; height: 44px; }
.face--mark { display: grid; place-items: center; background: var(--white); padding: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.face--mark img { width: 100%; height: auto; }
.who { display: flex; align-items: center; gap: var(--s-3); }
.who__name { display: block; font-weight: 600; line-height: 1.3; }
.who__role { display: block; font-size: var(--t-small); color: var(--fg-2); line-height: 1.35; }

/* Big quote */
.bigq { display: grid; gap: var(--s-6); }
.bigq__text { margin: 0; font: 400 var(--t-quote)/1.28 var(--f-quote); letter-spacing: -.005em; max-width: 30ch; text-wrap: pretty; }
.bigq__text::before { content: "”"; color: var(--course); margin-right: .05em; }
.testi .bigq__text::before { content: none; }
.bigq .face { width: 72px; height: 72px; }

/* Recommendation card */
.qcard { display: grid; gap: var(--s-4); align-content: start; background: var(--surface); border-radius: var(--radius); padding: var(--s-6); break-inside: avoid; margin-bottom: var(--s-5); }
.qcard__body { font: 400 1.1875rem/1.5 var(--f-quote); overflow: hidden; }
.qcard[data-expand]:not(.is-open) .qcard__body > p:not(:first-child) { display: none; }
.qcard__body p + p { margin-top: .7em; }
.qcard__more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.qcard__more .g { transition: transform var(--d-3) var(--e-glide); }
.qcard.is-open .qcard__more .g { transform: rotate(180deg); }
.qcard__lang { font-size: var(--t-micro); color: var(--fg-2); }

/* Carousel of quotes */
.car { display: grid; gap: var(--s-5); }
.car__track { display: grid; }
.car__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--d-4) var(--e-glide), visibility 0s linear var(--d-4); }
.car__slide.is-on { opacity: 1; visibility: visible; transition: opacity var(--d-4) var(--e-glide), visibility 0s; }
.car__ctrl { display: flex; align-items: center; gap: var(--s-3); }
.car__dots { display: flex; gap: 2px; }
.car__dot { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.car__dot::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; border: 2px solid var(--fg); opacity: .45; transition: background-color var(--d-2) var(--e-glide), opacity var(--d-2) var(--e-glide); }
.car__dot[aria-current="true"]::after { background: var(--course); border-color: var(--course); opacity: 1; }
.iconbtn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; transition: background-color var(--d-2) var(--e-glide), border-color var(--d-2) var(--e-glide); }
.iconbtn:hover { border-color: var(--fg); }

/* Client marks: one ink colour, equal optical weight through boxes and padding */
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) clamp(var(--s-6), 4vw, var(--s-8)); }
.mark { display: flex; align-items: center; height: 56px; padding-block: calc((56px - var(--h, 28px)) / 2); }
.mark img { height: 100%; width: auto; max-width: 100%; filter: brightness(0); opacity: .82; }
.mark--thin img { opacity: 1; }
.t-spruce .mark img, .t-deep .mark img { filter: brightness(0) invert(1); opacity: .9; }

/* Forms */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field__l { font-weight: 600; font-size: var(--t-small); }
.field__h { font-size: var(--t-micro); color: var(--fg-2); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid color-mix(in srgb, var(--fg) 26%, transparent); background: var(--surface); color: var(--fg); font: 400 1.0625rem/1.4 var(--f-text); transition: border-color var(--d-2) var(--e-glide), box-shadow var(--d-2) var(--e-glide); }
.textarea { min-height: 132px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--fg) 50%, transparent); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--spruce-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--spruce-600) 18%, transparent); }
.t-spruce .input:focus, .t-spruce .textarea:focus, .t-spruce .select:focus { border-color: var(--clearing-300); box-shadow: 0 0 0 4px color-mix(in srgb, var(--clearing-300) 22%, transparent); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313211b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field__err { display: none; font-size: var(--t-micro); font-weight: 600; color: var(--accent-text); }
.field.is-bad .input, .field.is-bad .textarea { border-color: var(--course); }
.field.is-bad .field__err { display: block; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.check { display: flex; align-items: flex-start; gap: var(--s-3); min-height: 44px; cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid color-mix(in srgb, var(--fg) 40%, transparent); background: var(--surface); display: grid; place-items: center; transition: background-color var(--d-2) var(--e-glide); }
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--white); border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -1px; opacity: 0; transition: opacity var(--d-2) var(--e-glide); }
.check input:checked { background: var(--spruce-800); border-color: var(--spruce-800); }
.check input:checked::after { opacity: 1; }
.switch { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; cursor: pointer; }
.switch input { appearance: none; width: 48px; height: 28px; border-radius: 99px; background: color-mix(in srgb, var(--fg) 22%, transparent); position: relative; margin: 0; transition: background-color var(--d-3) var(--e-glide); }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform var(--d-3) var(--e-punch); }
.switch input:checked { background: var(--spruce-700); }
.switch input:checked::after { transform: translateX(20px); }
.form__done { display: none; }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: grid; gap: var(--s-3); }

/* Alerts */
.alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--radius-sm); background: var(--clearing-100); color: var(--ink); }
.alert--warn { background: color-mix(in srgb, var(--course) 10%, var(--white)); }
.alert--warn .g { color: var(--course-deep); }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; color: var(--fg); }
.table td { color: var(--fg-2); }
.table td:first-child { color: var(--fg); font-weight: 600; }
@media (max-width: 700px) {
  .table thead { display: none; }
  .table tr { display: grid; gap: 4px; padding: var(--s-4) 0; border-bottom: 1.5px solid var(--line); }
  .table td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 8.5em 1fr; gap: var(--s-3); }
  .table td::before { content: attr(data-label); font-weight: 600; color: var(--fg); }
  .table td:first-child { display: block; font-size: 1.0625rem; }
  .table td:first-child::before { content: none; }
}

/* Tabs */
.tabs__list { display: flex; gap: var(--s-1); position: relative; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { min-height: 48px; padding: 0 var(--s-4); border: 0; background: none; font-weight: 600; color: var(--fg-2); cursor: pointer; white-space: nowrap; transition: color var(--d-2) var(--e-glide); }
.tab[aria-selected="true"] { color: var(--fg); }
.tabs__ind { position: absolute; left: 0; bottom: -1.5px; height: 3px; border-radius: 3px; background: var(--course); transition: transform var(--d-3) var(--e-course), width var(--d-3) var(--e-course); }
.tabs__panel { padding-top: var(--s-5); }
.tabs__panel.is-in { animation: fadeup var(--d-3) var(--e-step); }
.seg { display: inline-flex; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--fg) 8%, transparent); gap: 2px; }
.seg .tab { border-radius: var(--pill); min-height: 44px; padding: 0 var(--s-4); }
.seg .tab[aria-selected="true"], .seg .tab[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow); }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } }

/* Accordion */
.acc { border-bottom: 1.5px solid var(--line); }
.acc:first-of-type { border-top: 1.5px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: var(--s-4) 0; cursor: pointer; font: 600 1.1875rem/1.35 var(--f-display); }
.acc summary::-webkit-details-marker { display: none; }
.acc__pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color var(--d-2) var(--e-glide), border-color var(--d-2) var(--e-glide); }
.acc__pm::before, .acc__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; background: currentColor; translate: -50% -50%; border-radius: 2px; transition: rotate var(--d-3) var(--e-glide); }
.acc__pm::after { rotate: 90deg; }
.acc[open] .acc__pm { background: var(--spruce-800); border-color: var(--spruce-800); color: var(--paper); }
.t-spruce .acc[open] .acc__pm { background: var(--paper); border-color: var(--paper); color: var(--spruce-900); }
.acc[open]:not(.is-closing) .acc__pm::after { rotate: 0deg; }
.acc__a { padding: 0 var(--s-8) var(--s-5) 0; color: var(--fg-2); max-width: 66ch; }
.acc.is-opening .acc__a { animation: fadeup var(--d-3) var(--e-step) both; }

/* Tooltip and popover */
.tip { position: relative; display: inline-flex; }
.tip__bubble { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px; width: max-content; max-width: 240px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--spruce-900); color: var(--paper); font-size: var(--t-micro); line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity var(--d-2) var(--e-glide), translate var(--d-2) var(--e-glide); z-index: 5; }
.tip:hover .tip__bubble, .tip:focus-within .tip__bubble { opacity: 1; translate: -50% 0; }
.pop { position: absolute; top: calc(100% + 10px); left: 0; z-index: 6; width: min(320px, 80vw); padding: var(--s-5); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 20px 48px -20px rgb(10 35 28 / .35), 0 0 0 1px rgb(10 35 28 / .06); opacity: 0; translate: 0 -6px; visibility: hidden; transition: opacity var(--d-2) var(--e-glide), translate var(--d-2) var(--e-glide), visibility 0s linear var(--d-2); }
.pop.is-open { opacity: 1; translate: 0 0; visibility: visible; transition: opacity var(--d-2) var(--e-glide), translate var(--d-2) var(--e-glide); }

/* Modal */
dialog.modal { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); opacity: 0; translate: 0 16px; transition: opacity var(--d-3) var(--e-glide), translate var(--d-3) var(--e-step); }
dialog.modal.is-open { opacity: 1; translate: 0 0; }
dialog.modal::backdrop { background: rgb(10 35 28 / .55); backdrop-filter: blur(4px); }
.modal__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 420px; }
.modal__img { object-fit: cover; width: 100%; height: 100%; }
.modal__body { padding: clamp(var(--s-6), 4vw, var(--s-8)); display: grid; gap: var(--s-4); align-content: center; }
.modal__x { position: absolute; top: 12px; right: 12px; background: var(--paper); }
@media (max-width: 700px) { .modal__in { grid-template-columns: 1fr; } .modal__img { aspect-ratio: 16 / 10; height: auto; } }

/* Breadcrumbs, pagination, skeleton */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; font-size: var(--t-small); color: var(--fg-2); list-style: none; margin: 0; padding: 0; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-right: var(--s-2); }
.pager { display: flex; gap: var(--s-1); list-style: none; padding: 0; margin: 0; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; text-decoration: none; font-weight: 600; }
.pager a[aria-current] { background: var(--spruce-800); color: var(--paper); }
.pager a:not([aria-current]):hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.skel { display: grid; gap: 10px; }
.skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--paper-2) 0%, var(--white) 50%, var(--paper-2) 100%) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Rich text */
.rich { font-size: 1.125rem; line-height: 1.7; color: var(--fg-2); }
.rich > * + * { margin-top: 1.1em; }
.rich h2 { font-size: var(--t-h3); color: var(--fg); margin-top: 1.8em; }
.rich blockquote { margin: 1.6em 0; padding-left: var(--s-5); border-left: 3px solid var(--course); font: 400 1.375rem/1.45 var(--f-quote); color: var(--fg); }
.rich ul { padding-left: 1.2em; }
.rich li::marker { color: var(--course); }
.rich a { color: var(--accent-text); text-underline-offset: .2em; }

/* Photo frames */
.ph { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--spruce-900); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Reveals */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity var(--d-4) var(--e-step), transform var(--d-4) var(--e-step); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 40; transition: background-color var(--d-3) var(--e-glide), box-shadow var(--d-3) var(--e-glide); }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: var(--s-6); min-height: 76px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-right: auto; }
.nav__links { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav__a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--s-3); border: 0; background: none; border-radius: var(--pill); font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color var(--d-2) var(--e-glide); }
.nav__a:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.menu { position: relative; }
/* a bridge over the 8px gap, so the pointer can travel from the button to the panel */
.menu.is-open .menu__panel::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.menu__btn .g { transition: rotate var(--d-3) var(--e-glide); }
.menu.is-open .menu__btn .g { rotate: 180deg; }
.menu__panel { position: absolute; top: calc(100% + 8px); right: 0; translate: 0 -6px; pointer-events: none; width: 420px; padding: var(--s-3); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 24px 56px -24px rgb(10 35 28 / .4), 0 0 0 1px rgb(10 35 28 / .06); opacity: 0; visibility: hidden; transition: opacity var(--d-2) var(--e-glide), translate var(--d-2) var(--e-glide), visibility 0s linear var(--d-2); z-index: 5; }
.menu.is-open .menu__panel { opacity: 1; translate: 0 0; visibility: visible; pointer-events: auto; transition: opacity var(--d-2) var(--e-glide), translate var(--d-2) var(--e-glide); }
.menu__item { display: grid; grid-template-columns: 40px 1fr; gap: 2px var(--s-3); align-items: start; padding: var(--s-3); border-radius: var(--radius-sm); text-decoration: none; }
.menu__item:hover { background: var(--paper); }
.menu__item .g { grid-row: span 2; color: var(--spruce-700); width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--clearing-100); }
.menu__item b { font-weight: 600; line-height: 1.3; }
.menu__item span { font-size: var(--t-small); color: var(--ink-2); line-height: 1.35; }
.nav__burger { display: none; }
.drawer { position: fixed; inset: 0; z-index: 50; background: var(--spruce-900); color: var(--paper); padding: var(--s-5) var(--gutter); display: grid; align-content: start; gap: var(--s-6); opacity: 0; visibility: hidden; transition: opacity var(--d-3) var(--e-glide), visibility 0s linear var(--d-3); }
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity var(--d-3) var(--e-glide); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; }
.drawer li a { display: flex; align-items: center; min-height: 60px; font: 600 1.75rem/1.2 var(--f-display); text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--paper) 14%, transparent); }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
}

/* Wordmark */
.wm { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.wm__mark { width: 34px; height: 34px; flex: none; }
.wm__t { font: 650 1.1875rem/1 var(--f-display); letter-spacing: -.005em; white-space: nowrap; }
.wm__t b { font-weight: 650; color: inherit; }

/* ---------- Footer ---------- */
.foot { padding-block: var(--s-9) var(--s-6); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.foot h3 { font: 600 var(--t-small)/1.3 var(--f-text); color: var(--fg-2); margin-bottom: var(--s-3); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; text-decoration: none; }
.foot li a:hover { text-decoration: underline; text-underline-offset: .25em; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1.5px solid var(--line); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- The course (interactive map) ---------- */
.course { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(var(--s-6), 4vw, var(--s-8)); align-items: start; }
.course__map { position: relative; border-radius: var(--radius-lg); background: var(--white); overflow: hidden; aspect-ratio: 1000 / 640; box-shadow: inset 0 0 0 1.5px var(--line); }
.t-spruce .course__map { background: var(--spruce-900); box-shadow: none; }
.course__svg { width: 100%; height: 100%; overflow: visible; }
.terrain__line { fill: none; stroke: var(--terrain); stroke-width: 1.1; opacity: .55; vector-effect: non-scaling-stroke; }
.terrain__line--index { stroke-width: 1.8; opacity: .7; }
.terrain__fill { fill: var(--clearing-200); opacity: .7; stroke: none; }
/* soft open ground (default): stacked, blurred levels make a gradient; flat fills on request */
.terrain__glow { fill: var(--clearing-300); opacity: .26; stroke: none; }
.terrain__veg { display: none; }
[data-terrain="flat"] .terrain__veg { display: inline; }
[data-terrain="flat"] .terrain__soft { display: none; }
.vig-quiet .terrain__glow { opacity: .18; }
.t-spruce .terrain__glow, .t-deep .terrain__glow { fill: var(--spruce-600); opacity: .4; }
.vig-quiet .terrain__line { opacity: .28; }
.vig-quiet .terrain__line--index { opacity: .38; }
.vig-quiet .terrain__fill { opacity: .4; }
.t-spruce .terrain__fill, .t-deep .terrain__fill { fill: var(--spruce-700); opacity: .8; }
.course__leg { stroke: var(--course); stroke-width: 4; stroke-linecap: round; fill: none; }
.course__leg--dash { stroke-dasharray: 2 10; }
.course__start, .course__ring, .course__finish circle { fill: none; stroke: var(--course); stroke-width: 4; }
.course__area { fill: color-mix(in srgb, var(--course) 6%, transparent); stroke: var(--course); stroke-width: 3; stroke-dasharray: 10 8; }
.course__dot { fill: var(--course); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity var(--d-3) var(--e-glide), transform var(--d-3) var(--e-punch); }
.course__num { font: 700 30px/1 var(--f-display); fill: var(--course); }
.t-spruce .course__leg, .t-spruce .course__start, .t-spruce .course__ring, .t-spruce .course__finish circle { stroke: var(--course-light); }
.t-spruce .course__num, .t-spruce .course__dot { fill: var(--course-light); }
.course__flag { opacity: 0; transform-box: fill-box; transform-origin: 0 100%; transform: scale(0); transition: opacity var(--d-2) var(--e-glide), transform 0s linear var(--d-2); }
.course__kite { transform-box: fill-box; transform-origin: 0 0; }
.course__pole { stroke: var(--ink); stroke-width: 2.5; }
.t-spruce .course__pole { stroke: var(--paper); }
.course__kite-w { fill: var(--white); stroke: var(--ink); stroke-width: 1; }
.course__kite-o { fill: var(--flag); }
.course__ctl.is-punched .course__dot { opacity: .28; transform: scale(.7); }
.course__ctl.is-on .course__dot { opacity: 1; transform: scale(1); }
.course__ctl.is-on .course__flag { opacity: 1; transform: none; transition: none; animation: sprout 640ms linear both; }
.course__ctl.is-on .course__kite { animation: wave 900ms var(--e-step) 180ms both; }
/* the flag springs up out of the ring: overshoot, settle; then the kite catches the wind */
@keyframes sprout {
  0% { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  45% { transform: scale(1.14); opacity: 1; animation-timing-function: ease-in-out; }
  70% { transform: scale(.94); animation-timing-function: ease-in-out; }
  86% { transform: scale(1.03); animation-timing-function: ease-in-out; }
  100% { transform: none; opacity: 1; }
}
@keyframes wave { 0% { transform: rotate(-38deg) scale(.6); } 55% { transform: rotate(7deg) scale(1.02); } 80% { transform: rotate(-3deg); } 100% { transform: none; } }
/* legs draw on the course curve, one after another */
.js .course .course__leg { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.js .course.is-drawn .course__leg { stroke-dashoffset: 0; transition: stroke-dashoffset var(--d-leg) var(--e-course) calc(var(--i) * 260ms); }
.js .course .course__ctl .course__ring, .js .course .course__finish { opacity: 0; transition: opacity var(--d-3) var(--e-glide); }
.js .course.is-drawn .course__ring, .js .course.is-drawn .course__finish { opacity: 1; }
.js .course.is-drawn .course__ctl:nth-child(n) .course__ring { transition-delay: calc(var(--d-leg) * .5); }
.course.is-complete .course__finish circle { animation: finish 1.4s var(--e-glide) 2; }
@keyframes finish { 50% { stroke-width: 9; } }
@media (prefers-reduced-motion: reduce) { .js .course .course__leg { stroke-dashoffset: 0; } .js .course .course__ring, .js .course .course__finish { opacity: 1; } }
.course__hits { position: absolute; inset: 0; }
.course__hit { position: absolute; width: 64px; height: 64px; translate: -50% -50%; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.course__hit:focus-visible { outline: 3px solid var(--course); outline-offset: -6px; }
.course__panel { display: grid; gap: var(--s-4); align-content: start; min-height: 300px; }
.course__panel.is-in > * { animation: fadeup var(--d-3) var(--e-step) both; }
.course__panel.is-in > :nth-child(2) { animation-delay: 40ms; }
.course__panel.is-in > :nth-child(3) { animation-delay: 80ms; }
.course__panel.is-in > :nth-child(4) { animation-delay: 120ms; }
.course__no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--course); color: var(--accent-text); font: 700 1.5rem/1 var(--f-display); }
.t-spruce .course__no { border-color: var(--course-light); }
.course__q { font: 600 var(--t-h3)/1.22 var(--f-display); }
.course__legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.legend__btn { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 48px; padding: 6px var(--s-3) 6px 6px; border-radius: var(--pill); border: 1.5px solid var(--line); background: transparent; text-align: left; font-weight: 500; font-size: var(--t-small); cursor: pointer; transition: background-color var(--d-2) var(--e-glide), border-color var(--d-2) var(--e-glide); }
.legend__btn:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.legend__no { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--course); font-weight: 700; color: var(--accent-text); }
.legend__btn[aria-pressed="true"] { background: var(--surface); border-color: var(--course); }

/* The control card (kontrollkort) */
.kort { display: grid; gap: var(--s-3); }
.kort__boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.kort__box { position: relative; aspect-ratio: 1; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; }
.kort__no { position: absolute; top: 4px; left: 7px; font-size: var(--t-micro); line-height: 1; font-weight: 700; color: var(--fg); }
.kort__pins { width: 70%; height: auto; }
.pin { fill: none; stroke: color-mix(in srgb, var(--fg) 16%, transparent); stroke-width: 1; }
.kort__box.is-punched .pin--on { fill: var(--course); stroke: none; animation: punch var(--d-3) var(--e-punch) both; animation-delay: calc(var(--k) * 30ms); transform-box: fill-box; transform-origin: center; }
.t-spruce .kort__box.is-punched .pin--on { fill: var(--course-light); }
@keyframes punch { from { transform: scale(0); } }
.kort__msg { min-height: 3em; font-size: var(--t-small); color: var(--fg-2); }
.course.is-complete .kort__msg { color: var(--fg); font-weight: 600; }
@media (max-width: 900px) {
  .course { grid-template-columns: 1fr; }
  .course__panel { min-height: 0; }
}

/* Career as a course */
.career { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.career li { position: relative; display: grid; gap: 4px; align-content: start; padding-top: 48px; padding-right: var(--s-3); }
.career li::before { content: ""; position: absolute; top: 10px; left: 0; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--course); box-sizing: border-box; background: var(--bg); z-index: 1; }
.career li::after { content: ""; position: absolute; top: 20px; left: 30px; right: 8px; height: 3px; border-radius: 2px; background: var(--course); }
.career li:first-child::before { border: 0; width: 0; height: 0; top: 6px; border-left: 13px solid transparent; border-right: 13px solid transparent; border-bottom: 22px solid var(--course); left: -2px; background: none; }
.career li:last-child::before { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--course); }
.career li:last-child::after { display: none; }
.career b { font-weight: 600; line-height: 1.3; }
.career span { font-size: var(--t-small); color: var(--fg-2); line-height: 1.4; }
.career .yr { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent-text); font-size: var(--t-micro); }
.t-spruce .career li::before { border-color: var(--course-light); background: var(--bg); }
.t-spruce .career li::after { background: var(--course-light); }
.t-spruce .career li:first-child::before { border-bottom-color: var(--course-light); background: none; }
.t-spruce .career li:last-child::before { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--course-light); }
@media (max-width: 760px) {
  .career { grid-template-columns: 1fr; gap: 0; }
  .career li { padding: 0 0 var(--s-5) 44px; }
  .career li::before { top: 2px; }
  .career li:first-child::before { top: 0; }
  .career li::after { top: 30px; left: 9.5px; right: auto; bottom: 4px; width: 3px; height: auto; }
}
@media (max-width: 700px) { .pop { position: fixed; top: auto; left: var(--gutter); right: var(--gutter); bottom: var(--s-5); width: auto; } }

/* Lead package: a wider map vignette */
.pkg--lead .pkg__vig { aspect-ratio: 16 / 8; }
.pkg .tag { justify-self: start; }
.pkg .tlink { justify-self: start; }

/* Current clients: each mark with what Hannah does there */
.clients { padding-top: var(--s-5); border-top: 1.5px solid var(--line); }
.clients__list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.clients__list li { display: grid; gap: var(--s-2); align-content: start; }
.clients__list .mark { height: 48px; padding-block: calc((48px - var(--h, 28px)) / 2); }
@media (max-width: 420px) { .clients__list { grid-template-columns: 1fr; } }
@media (max-width: 540px) {
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .pkg--lead .h2 { font-size: var(--t-h3); }
}

/* Header: labels never wrap; between tablet and wide desktop the hero's button stands in for the header one */
.nav__a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) { .nav__cta { display: none; } }
/* Footer: brand on its own row until there is room for three columns */
@media (max-width: 1100px) and (min-width: 761px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__grid > :first-child { grid-column: 1 / -1; } }
/* Companies Hannah has worked with (timeless, no roles): one row of marks */
.clients__row { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.clients__row .mark { height: 48px; padding-block: calc((48px - var(--h, 28px)) / 2); }
/* Growth With Hannah · section layouts (shared by the homepage and the system catalogue) */

/* L1 Hero, portrait led: headline on spruce, her portrait large on the right, the start triangle by the button */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(var(--s-6), 4vw, var(--s-9)); align-items: end; min-height: min(86vh, 860px); padding-block: var(--s-7) 0; }
.hero__copy { display: grid; gap: var(--s-5); align-content: center; padding-bottom: clamp(var(--s-7), 7vw, var(--s-10)); align-self: center; }
.hero__copy .mega { max-width: 11ch; }
.hero__copy > .btn, .hero__copy > .btn-row, .hero__copy > .hero__start { justify-self: start; }
.hero__photo { position: relative; align-self: stretch; margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; min-height: 520px; background: var(--spruce-900); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero__start { display: inline-flex; align-items: center; gap: var(--s-4); }
.hero__tri { width: 34px; height: 30px; flex: none; }
.hero__tri path { fill: none; stroke: var(--course-light); stroke-width: 3.2; stroke-linejoin: round; }
.hero__leg { position: absolute; left: calc(var(--gutter) + 17px); bottom: 0; width: 3px; height: var(--s-9); background: var(--course-light); border-radius: 2px; transform-origin: top; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: var(--s-5); gap: var(--s-6); }
  .hero__copy { padding-bottom: 0; }
  .hero__photo { min-height: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .hero__leg { display: none; }
}

/* L2 Centred hero (sub pages) */
.hero-c { text-align: center; display: grid; justify-items: center; gap: var(--s-5); padding-block: var(--s-10) var(--s-9); }
.hero-c .lead { margin-inline: auto; }

/* L3 Big block with a small title: a large working visual and a narrow column of copy */
.bigblock { display: grid; gap: var(--s-7); }
.bigblock__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7); align-items: end; }
@media (max-width: 900px) { .bigblock__head { grid-template-columns: 1fr; gap: var(--s-4); } }

/* L4 Full-bleed photo band with one line */
.pband { position: relative; min-height: clamp(420px, 62vw, 760px); display: grid; align-items: end; overflow: hidden; color: var(--paper); background: var(--spruce-950); }
.pband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.pband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, rgb(10 35 28 / .78) 100%); }
.pband__line { position: relative; z-index: 1; justify-self: end; max-width: 15ch; margin: 0 var(--gutter) clamp(var(--s-7), 8vw, var(--s-10)); font: 600 var(--t-h1)/1.08 var(--f-display); text-wrap: balance; }
@media (max-width: 700px) {
  .pband { min-height: 0; aspect-ratio: auto; grid-template-rows: auto auto; background: var(--spruce-950); }
  .pband img { position: static; aspect-ratio: 4 / 3; height: auto; object-position: 25% 40%; }
  .pband::after { display: none; }
  .pband__line { justify-self: start; margin: var(--s-6) var(--gutter) var(--s-8); }
}

/* L5 Boxed video and L6 square video beside copy */
.vbox { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--spruce-950); }
.vbox img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vbox__play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--course); color: var(--white); border: 0; cursor: pointer; transition: transform var(--d-3) var(--e-punch); }
.vbox__play:hover { transform: scale(1.06); }
.vbox__play .g { translate: 2px 0; } /* a play triangle sits optically right of its box centre */
.vsq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.vsq .vbox { aspect-ratio: 1; }
@media (max-width: 800px) { .vsq { grid-template-columns: 1fr; gap: var(--s-6); } }

/* L7 Bento: one lead card and two stacked */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: var(--s-5); }
.bento > :first-child { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento > :first-child { grid-row: auto; } }

/* L8 Band: one line and one action */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: var(--s-7); }
.band .h2 { max-width: 20ch; }

/* L9 Marks wall */
.markwall { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7); align-items: center; }
@media (max-width: 800px) { .markwall { grid-template-columns: 1fr; gap: var(--s-5); } }

/* L10 Banner */
.banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: var(--s-5) var(--s-6); border-radius: var(--radius); }
@media (max-width: 700px) { .banner { grid-template-columns: 1fr; } }

/* L11 Two-column about: portrait and copy */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--s-6), 5vw, var(--s-10)); align-items: start; }
.about__photo { position: sticky; top: 100px; aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__photo { position: static; aspect-ratio: 4 / 3; } .about__photo img { object-position: 50% 22%; } }

/* L12 Testimonial: one big quote with a face, paper ground */
.testi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 9fr); gap: var(--s-6); }
.testi__mark { width: 56px; height: 56px; color: var(--course); }
@media (max-width: 700px) { .testi { grid-template-columns: 1fr; gap: var(--s-4); } }

/* L13 Masonry of quotes */
.masonry { columns: 3 320px; column-gap: var(--s-5); }

/* L14 FAQ: title left, accordion right */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); align-items: start; }
.faq__head { position: sticky; top: 100px; display: grid; gap: var(--s-4); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: var(--s-6); } .faq__head { position: static; } }

/* L15 Ending: the finish. Form beside a direct line to Hannah */
.ending { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--s-6), 5vw, var(--s-10)); align-items: start; }
.ending__direct { display: grid; gap: var(--s-5); align-content: start; }
.ending__finish { width: 72px; height: 72px; }
.ending__finish circle { fill: none; stroke: var(--course-light); stroke-width: 3.5; }
.direct { display: grid; gap: var(--s-2); }
.direct a { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 48px; font-weight: 600; font-size: 1.125rem; text-decoration: none; }
.direct a:hover { text-decoration: underline; text-underline-offset: .25em; }
.formcard { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(var(--s-5), 4vw, var(--s-8)); }
@media (max-width: 900px) { .ending { grid-template-columns: 1fr; } }

/* Section heads */
.shead { display: grid; gap: var(--s-4); margin-bottom: clamp(var(--s-7), 5vw, var(--s-9)); max-width: 760px; }
.shead--split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; max-width: none; }
@media (max-width: 900px) { .shead--split { grid-template-columns: 1fr; gap: var(--s-4); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); align-content: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-content: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); align-content: start; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* Phone: the portrait comes first (R41), with the copy under it */
@media (max-width: 900px) {
  .hero__grid { padding-block: var(--s-4) var(--s-8); }
  .hero__photo { order: -1; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); }
  .hero__photo img { object-position: 55% 28%; }
}

/* L13b Recommendations in rows: cards in a row share one height, the person on top and "Läs hela" at the foot */
.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); align-items: stretch; }
.qgrid .qcard { margin: 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: var(--s-4); }
.qgrid .who { align-items: flex-start; }
.qgrid .qcard__more { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .qgrid { grid-template-columns: minmax(0, 1fr); } .qgrid .who { min-height: 0; } }

/* The band's line sits in the space she looks into, clear of her face */
.pband__line { font-size: var(--t-h2); max-width: min(12ch, 32vw); }
@media (max-width: 700px) { .pband__line { max-width: 15ch; } }
/* An opened recommendation takes the whole row (its text in two columns), so its neighbours never stretch around blank space */
/* It leaves the subgrid: Safari collapses a multi-column body inside a subgrid row to 0 height */
.qgrid .qcard.is-open { grid-column: 1 / -1; grid-template-rows: auto auto auto; }
.qgrid .qcard.is-open .qcard__body { columns: 2 340px; column-gap: var(--s-7); }
.qgrid .qcard.is-open .qcard__body p { break-inside: avoid; margin: 0 0 .7em; }
/* Eight cards: a 6-track grid so a short last row shares the width (no gaps beside cards) */
@media (min-width: 1101px) {
  .qgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .qgrid .qcard { grid-column: span 2; }
  .qgrid .qcard:nth-last-child(2):nth-child(3n+1), .qgrid .qcard:last-child:nth-child(3n+2) { grid-column: span 3; }
  .qgrid .qcard:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 701px) and (max-width: 1100px) { .qgrid .qcard:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
.qgrid .qcard.is-open.is-open { grid-column: 1 / -1; }
/* Growth With Hannah · homepage. Only page wiring here: every part comes from components.css and layouts.css. */
.wm--light .wm__t { color: var(--paper); }
.drawer .iconbtn { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 30%, transparent); }

/* The course starts in the hero: the start triangle by the button, its first leg running down out of the section */
.hero__start { position: relative; }
.hero__start::after { content: ""; position: absolute; left: 15.5px; top: calc(50% + 15px); width: 3px; height: 100vh; border-radius: 2px; background: var(--course-light); transform-origin: top; animation: legdown var(--d-leg) var(--e-course) 500ms both; }
@keyframes legdown { from { transform: scaleY(0); } }


/* Ending */
.direct__place { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 48px; color: var(--fg-2); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.form__done .ending__finish { width: 56px; height: 56px; }

/* Her headline in two lines, sized so the button is on the first screen */
.hero__line span { display: block; }
@media (min-width: 901px) { .hero__line { font-size: min(5.6vw, 5.5rem); max-width: none; } .hero__line span { white-space: nowrap; } }

/* Logo (Noel's drawing, 23 Nov 2026): one SVG, paper on the dark grounds */
.logo-img { display: block; width: auto; height: 46px; }
.drawer__top .logo-img { height: 42px; }
.foot .logo-img { height: 64px; margin-bottom: 4px; }
@media (max-width: 760px) { .logo-img { height: 40px; } }

/* Form: honeypot, busy and error states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-busy { opacity: .7; pointer-events: none; }
.form__err { margin-top: var(--s-3); color: var(--course-light); }
.form__err a { color: inherit; text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.foot__base a { color: inherit; }
