/* Pavot Design — Human Momentum web prototype (Fable composition)
   Palette: navy #102D38 · raspberry #006D77 · blush #CBE5E5 · warm white #F5FAF8
   Type: DM Sans only. Amber light traces live in the photography, never in UI. */

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DM-Sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #102D38;
  --raspberry: #006D77;
  --raspberry-deep: #00535B;
  --blush: #CBE5E5;
  --blush-soft: #E7F3F1;
  --white: #F5FAF8;
  --ink: var(--navy);
  --ink-soft: #405E68;     /* navy-derived muted text, 7.3:1 on warm white */
  --hair: rgba(16,45,56, 0.14);
  --hair-strong: rgba(16,45,56, 0.28);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--raspberry);
  --radius: 14px;
  --radius-pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
  --header-h: 84px;
  --shadow: 0 18px 50px -24px rgba(16,45,56, 0.35);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--hair-strong); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--raspberry); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.kicker {
  font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--raspberry); margin-bottom: 14px;
}
.kicker-light { color: var(--white); opacity: .9; }
.display {
  font-weight: 500; letter-spacing: -0.025em; line-height: .98;
  font-size: clamp(2.75rem, 7.6vw, 6rem);
  color: var(--white);
}
.display-sm { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h2 {
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
.h3 { font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; margin-top: 16px; }
.rule { display: block; height: 2px; width: min(420px, 70%); background: var(--raspberry); margin: 26px 0 32px; border-radius: 2px; }
.fine-print { font-size: .85rem; color: var(--ink-soft); margin-top: 28px; }
.plain-list { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 8px; }
.plain-list li { padding-left: 18px; position: relative; color: var(--ink-soft); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--raspberry); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  border-radius: var(--radius-pill); padding: 15px 22px 15px 24px; font-weight: 500;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.1;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .arrow { font-weight: 500; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--raspberry); color: var(--white); min-width: 220px; }
.btn-primary:hover { background: var(--raspberry-deep); }
.btn-lg { padding: 19px 26px 19px 28px; font-size: 1.1rem; min-width: 330px; }
.btn-sm { padding: 11px 16px 11px 18px; font-size: .95rem; min-width: 0; }
.btn-outline { border-color: var(--hair-strong); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost-light { color: var(--white); border-color: rgba(245,250,248,.5); background: rgba(16,45,56,.25); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(16,45,56,.45); }
.link-btn { background: none; border: 0; padding: 0; color: var(--raspberry); font-weight: 500; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.link-btn:hover { color: var(--raspberry-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
  color: var(--white);
}
.site-header.is-solid { background: rgba(245,250,248,.94); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--hair); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 2 * var(--gutter), var(--wrap)); }
.brand { display: inline-flex; border-radius: 8px; }
.brand-logo { width: 132px; height: auto; transition: filter .3s var(--ease); }
.site-header:not(.is-solid) .brand-logo, .brand-logo-reverse { filter: brightness(0) invert(1); }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: currentColor; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn {
  display: none; align-items: center; gap: 10px; background: transparent; border: 1.5px solid currentColor;
  border-radius: var(--radius-pill); padding: 9px 14px; font-weight: 500; cursor: pointer;
}
.menu-bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }

.mobile-menu { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--navy); color: var(--white); }
.mobile-menu::backdrop { background: rgba(16,45,56,.6); }
.mobile-menu-inner { padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; min-height: 100%; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - 20px); }
.menu-close { background: transparent; border: 1.5px solid currentColor; border-radius: var(--radius-pill); padding: 9px 14px; font-weight: 500; cursor: pointer; }
.mobile-menu nav ul { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 6px; }
.mobile-menu nav a { display: block; font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(245,250,248,.14); }
.mobile-menu nav a:hover { color: var(--blush); }
.mobile-menu-note { margin-top: auto; padding-top: 32px; color: var(--blush); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--navy); color: var(--white); isolation: isolate; overflow: hidden;
}
.hero-media, .hero-media img, .banner-media, .banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 50%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,45,56,.62) 0%, rgba(16,45,56,.38) 32%, rgba(16,45,56,0) 58%),
    linear-gradient(180deg, rgba(16,45,56,.45) 0%, rgba(16,45,56,0) 28%, rgba(16,45,56,0) 70%, rgba(16,45,56,.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 48px) 0 96px; max-width: 640px; margin-left: calc((100% - min(100% - 2 * var(--gutter), var(--wrap))) / 2); }
.hero-lede { font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.45; font-weight: 400; max-width: 24ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-foot { margin-top: 34px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; opacity: .85; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 760px; }
.section-head .lede { margin-top: 18px; }

/* Offer — preserve Astra's original service-section proportions. */
.section-offer { background: var(--white); scroll-margin-top: var(--header-h); padding: 110px 6.25%; font-size: 17px; line-height: 1.6; }
.section-offer > .wrap { width: 100%; max-width: none; margin: 0; }
.offer-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 70px; }
.offer-intro > .kicker { grid-column: 1 / -1; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.offer-intro h2 { font-size: clamp(38px, 4.3vw, 66px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.offer-intro-copy { max-width: 510px; font-size: 19px; line-height: 1.6; padding-top: 8px; }
.offer-list { margin-top: 68px; }
.offer-list article { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 25px; border-top: 1px solid #102D3830; padding: 35px 0; }
.offer-list article:last-child { border-bottom: 1px solid #102D3830; }
.offer-number { font-size: 12px; color: var(--raspberry); font-weight: 600; letter-spacing: .05em; }
.offer-list h3 { font-size: 32px; font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.offer-list .offer-detail { margin-top: 13px; font-size: 12px; line-height: 1.7; color: #405E68; }
@media (max-width: 1100px) and (min-width: 901px) {
  .section-offer { padding: 80px 6.25%; }
}
@media (max-width: 900px) {
  .section-offer { padding: 65px 24px; font-size: 16px; }
  .offer-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .offer-intro-copy { font-size: 16px; padding: 0; }
  .offer-list { margin-top: 38px; }
  .offer-list article { grid-template-columns: 30px minmax(0, 1fr); gap: 18px 12px; padding: 26px 0; }
  .offer-list article > div { grid-column: 2; }
  .offer-list h3 { font-size: 26px; }
  .offer-list article > div > p { font-size: 14px; }
  .offer-list article > div > .offer-detail { font-size: 11px; }
}

/* Examples / tabs */
.section-examples { background: var(--blush); }
.section-examples .kicker { color: var(--navy); }
.tablist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.tab {
  background: transparent; border: 1.5px solid var(--hair-strong); color: var(--ink); border-radius: var(--radius-pill);
  padding: 11px 20px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab:focus-visible { box-shadow: 0 0 0 3px var(--blush), 0 0 0 6px var(--raspberry); }
.tabpanel { margin-top: 28px; }
.tabpanel:focus-visible { box-shadow: none; outline: 2px solid var(--raspberry); outline-offset: 8px; }
.example { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: stretch; }
.example-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); min-height: 360px; box-shadow: var(--shadow); }
.example-media picture, .example-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.example-media-tall img { object-position: 70% 50%; }
.example-media figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  color: var(--white); background: rgba(16,45,56,.72); padding: 7px 12px; border-radius: 6px; backdrop-filter: blur(4px);
}
.example-tasks { display: grid; gap: 14px; align-content: start; }
.task-card { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border: 1px solid rgba(16,45,56,.08); }
.task-label { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--raspberry); margin-bottom: 8px; }
.task-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; line-height: 1.25; letter-spacing: -0.01em; }
.task-card p:not(.task-label) { font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.task-card strong { color: var(--ink); font-weight: 600; }

/* Banner */
.banner { position: relative; min-height: min(84vh, 800px); display: flex; align-items: center; color: var(--white); background: var(--navy); isolation: isolate; overflow: hidden; }
.banner-media img { object-fit: cover; object-position: 60% 42%; }
.banner-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16,45,56,.66) 0%, rgba(16,45,56,.3) 40%, rgba(16,45,56,0) 65%); pointer-events: none; }
.banner-content { position: relative; z-index: 2; padding: 96px 0; max-width: 560px; margin-left: calc((100% - min(100% - 2 * var(--gutter), var(--wrap))) / 2); }
.banner-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34ch; line-height: 1.5; }

/* Approach */
.section-approach { background: var(--white); }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--blush-soft); border-radius: var(--radius); padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--raspberry); }
.step h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.step p:not(.step-num):not(.step-meta) { color: var(--ink-soft); font-size: .98rem; }
.step-meta { margin-top: auto; padding-top: 14px; font-size: .85rem; font-weight: 500; border-top: 1px solid var(--hair); }
.principles { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--hair); padding-top: 40px; }
.principle h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.principle p { color: var(--ink-soft); font-size: .98rem; }

/* Review desk */
.section-review { background: var(--navy); color: var(--white); padding-block: 0; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 720px; }
.review-panel { padding: var(--section-y) clamp(24px, 5vw, 72px) var(--section-y) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; }
.review-panel .lede { color: var(--blush); }
.review-panel .kicker { color: var(--blush); }
.demo-note { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); display: inline-flex; gap: 10px; align-items: flex-start; }
.demo-note::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .4em; border-radius: 50%; border: 2px solid currentColor; }
.section-review .demo-note { color: var(--blush); }
.draft-list { margin-top: 36px; display: grid; gap: 14px; }
.draft { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 20px 22px 18px; transition: opacity .25s var(--ease); }
.draft-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.draft-head h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.status { font-size: .8rem; font-weight: 500; white-space: nowrap; padding: 6px 10px; border-radius: 6px; background: var(--blush); color: var(--navy); }
.draft.is-approved .status { background: var(--navy); color: var(--white); }
.draft.is-held .status { background: transparent; border: 1.5px solid var(--hair-strong); }
.draft.is-approved .draft-text { opacity: .7; }
.draft-text {
  width: 100%; margin-top: 14px; resize: vertical; font: inherit; font-size: .98rem; line-height: 1.5; color: var(--ink);
  border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; background: var(--white);
}
.draft-text:focus-visible { border-color: var(--raspberry); box-shadow: 0 0 0 3px rgba(0,109,119,.18); }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.review-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: .95rem; }
.review-foot .link-btn { color: var(--blush); }
.review-media { position: relative; min-height: 420px; }
.review-media picture, .review-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }

/* Brief */
.section-brief { background: var(--white); }
.brief-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.brief-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.brief-promises { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.brief-promises li { padding-left: 24px; position: relative; font-weight: 500; }
.brief-promises li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--raspberry); }
.brief-form { background: var(--blush-soft); border-radius: 20px; padding: clamp(22px, 3.5vw, 44px); }
.progress { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress-step { font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 2px solid var(--hair); }
.progress-step.is-current { color: var(--ink); border-top-color: var(--raspberry); }
.progress-step.is-done { color: var(--ink); border-top-color: var(--navy); }
.progress-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.brief-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-title { font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 22px; padding: 0; }
.field { margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.req { font-weight: 400; font-size: .78rem; color: var(--raspberry); margin-left: 6px; }
.help { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.error { font-size: .88rem; color: var(--raspberry); font-weight: 500; margin-top: 6px; }
input[type="text"], input[type="email"], select, .brief-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--hair-strong); border-radius: 10px; padding: 12px 14px; line-height: 1.4;
}
input:focus-visible, select:focus-visible, .brief-form textarea:focus-visible { box-shadow: none; outline: none; border-color: var(--raspberry); box-shadow: 0 0 0 3px rgba(0,109,119,.18); }
.is-invalid { border-color: var(--raspberry) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--white); border: 1.5px solid var(--hair); border-radius: var(--radius-pill); padding: 8px 14px; font-size: .9rem; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.radio-row, .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio, .check { display: flex; align-items: flex-start; gap: 10px; background: var(--white); border: 1px solid var(--hair); border-radius: 10px; padding: 11px 14px; cursor: pointer; font-size: .95rem; line-height: 1.4; }
.radio:has(:checked), .check:has(:checked) { border-color: var(--navy); }
.check-strong { grid-column: 1 / -1; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--raspberry); width: 18px; height: 18px; margin: .15em 0 0; flex: none; }
.step-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; }
.step-actions .btn-primary { margin-left: auto; }

/* Brief dialog */
.brief-dialog { border: 0; border-radius: 20px; padding: 0; width: min(92vw, 760px); max-height: 90dvh; background: var(--white); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(16,45,56,.5); }
.brief-dialog::backdrop { background: rgba(16,45,56,.62); }
.brief-dialog-inner { padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; max-height: 90dvh; }
.brief-dialog .demo-note { margin-top: 0; }
.brief-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.brief-output { font: inherit; font-size: .95rem; line-height: 1.55; white-space: pre-wrap; background: var(--blush-soft); border-radius: 12px; padding: 20px 22px; margin: 0; max-height: 46dvh; overflow: auto; }
.brief-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-status { font-size: .9rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 40px; align-items: start; }
.footer-brand .brand-logo { width: 150px; }
.footer-tag { margin-top: 18px; color: var(--blush); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--blush); }
.footer-notes details { border-top: 1px solid rgba(245,250,248,.16); padding: 12px 0; }
.footer-notes details:last-child { border-bottom: 1px solid rgba(245,250,248,.16); }
.footer-notes summary { cursor: pointer; font-weight: 500; }
.footer-notes p { margin-top: 10px; color: var(--blush); font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(245,250,248,.16); font-size: .88rem; color: var(--blush); }
.to-top { text-decoration: none; font-weight: 500; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; gap: 24px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .review-media { min-height: 340px; order: -1; }
  .review-panel { padding-inline: var(--gutter); }
  .brief-wrap { grid-template-columns: minmax(0, 1fr); }
  .brief-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-notes { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
  .brand-logo { width: 112px; }
  .example { grid-template-columns: minmax(0, 1fr); }
  .example-media { min-height: 0; width: 100%; aspect-ratio: 3 / 2; }
  .example-media-tall { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-media img { object-position: 50% 50%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(16,45,56,.55) 0%, rgba(16,45,56,.1) 30%, rgba(16,45,56,.45) 58%, rgba(16,45,56,.85) 100%); }
  .hero-content { padding: calc(var(--header-h) + 32px) 0 56px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .btn-lg { padding: 17px 22px 17px 24px; font-size: 1.02rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .field-row, .radio-row, .check-grid { grid-template-columns: minmax(0, 1fr); }
  .progress-step { font-size: .72rem; letter-spacing: .02em; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .step-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .brief-dialog-actions .btn { flex: 1 1 100%; }
  .status { white-space: normal; }
  .review-grid { min-height: 0; }
}
@media (max-width: 380px) {
  .rule { width: 60%; }
  .tab { padding: 10px 14px; font-size: .92rem; }
}
@media print {
  .site-header, .hero, .banner, .section-examples, .section-review, .site-footer, .brief-intro, .brief-form { display: none !important; }
  .brief-dialog { position: static; box-shadow: none; width: auto; max-height: none; }
  .brief-dialog-actions, .menu-close { display: none !important; }
  .brief-output { max-height: none; background: none; padding: 0; }
}

/* Colour exploration: semantic roles, preserving the selected layout. */
:root{--accent:#006D77;--accent-label:#006D77;--on-accent:#FFFFFF;}
.btn-primary {color:var(--on-accent)} .kicker,.offer-number,.step-num,.task-label,.link-btn,.req,.error {color:var(--accent-label)}
.btn-primary:focus-visible{box-shadow:0 0 0 3px var(--white),0 0 0 6px var(--accent-label)}
.section-examples .kicker{color:var(--navy)}

.palette-dock{position:fixed;z-index:90;bottom:14px;left:14px;display:flex;gap:16px;align-items:center;padding:10px 16px;border-radius:9px;background:#071320;color:#EAF2FC;box-shadow:0 3px 24px #0004;font-size:12px;line-height:1.4;border:1px solid #7B97B044}
.palette-dock a{color:#EAF2FC;text-underline-offset:3px}.palette-dock b{font-weight:500}.palette-dock span{width:10px;height:10px;background:var(--accent);border-radius:50%;flex:none}
@media(max-width:600px){.palette-dock{left:10px;right:10px;bottom:10px;justify-content:space-between;font-size:11px}}
@media print{.palette-dock{display:none}}

.kicker-light{color:var(--white)}
:root{--focus:0 0 0 3px var(--white),0 0 0 6px var(--accent-label)}
.draft-text:focus-visible,input:focus-visible,select:focus-visible,.brief-form textarea:focus-visible{border-color:var(--accent-label)}

/* Selected direction: teal foundation, restrained amber highlights, rich-black primary logo. */
:root{--brand-ink:#0B1118;--signal:#F2B34E;--signal-ink:#895100;}
.rule{background:var(--signal)}
.btn-primary .arrow{color:var(--signal)}
.status{background:var(--signal);color:var(--navy)}
.progress-step.is-current{border-top-color:var(--signal-ink)}
.hero-foot{border-left:2px solid var(--signal);padding-left:12px}


/* Hero call to action: amber fill, dark label, teal retained for other actions. */
.hero .btn-primary{background:#F2B34E;color:#102D38}
.hero .btn-primary:hover{background:#FFCA73}
.hero .btn-primary .arrow{color:#102D38}

/* Live harbour: source photo and SVG share one cover-cropped coordinate plane. */
.hero .hero-media{overflow:hidden}
.hero .hero-scene{position:absolute;width:100%;height:100%;pointer-events:none}
.hero .hero-scene .hero-clean-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.hero-network{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.signal-traces{opacity:.78}
.signal-marker{animation:harbour-breathe 6s ease-in-out infinite;animation-delay:var(--phase)}
.signal-halo{opacity:.25;animation:harbour-ring 6s ease-in-out infinite}
.signal-labels{font-family:"DM Sans",sans-serif;font-size:16px;font-weight:600;letter-spacing:1.7px;paint-order:stroke;stroke:#102D38;stroke-width:2px;stroke-opacity:.65;stroke-linejoin:round}
.hero-motion-toggle{position:absolute;right:var(--gutter);bottom:24px;z-index:4;border:1px solid #fff6;border-radius:999px;background:#102D38B3;color:#F5FAF8;font:500 12px/1.2 "DM Sans",sans-serif;padding:11px 16px;cursor:pointer;backdrop-filter:blur(8px)}
.hero-motion-toggle:hover{background:#102D38}
.hero.motion-paused .hero-network *{animation-play-state:paused!important}
@keyframes harbour-breathe{0%,100%{opacity:.68}50%{opacity:1}}
@keyframes harbour-ring{0%,100%{opacity:.08;stroke-width:.8px}50%{opacity:.35;stroke-width:1.5px}}
@media(max-width:600px){.hero-motion-toggle{top:96px;bottom:auto;right:20px;font-size:11px;padding:9px 12px}.signal-labels{font-size:18px}}
@media(prefers-reduced-motion:reduce){.hero-network *{animation:none!important}.signal-halo{opacity:.15}.signal-travellers{display:none}}

/* Original-artwork fidelity: layered warm bloom, white cores, and quiet motion. */
.hero-network{z-index:2}
.signal-traces{opacity:1}
.signal-marker{animation:harbour-presence 9s ease-in-out infinite}
.signal-labels{font-size:13px;font-weight:600;letter-spacing:1.4px;stroke:none;paint-order:normal;filter:drop-shadow(0 1px 1px #102D3866)}
@keyframes harbour-presence{0%,100%{opacity:.96}50%{opacity:1}}
@media(max-width:600px){.signal-labels{font-size:13px}}
@media(prefers-reduced-motion:reduce){.signal-marker{animation:none}}

/* Final label calibration against the original 1536px artwork. */
.signal-labels{font-size:14.3px;letter-spacing:1.45px}
@media(max-width:600px){.signal-labels{font-size:14.3px}}

/* Simplified production footer. */
.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.footer-nav{justify-self:end}
@media(max-width:600px){.footer-grid{grid-template-columns:minmax(0,1fr)}.footer-nav{justify-self:start}}
