/* North of Linear — site styles
   Layout: one calm editorial column (max 1160px) on warm cream; navy blocks for the flagship offer;
   a line-and-dot motif that moves left → right through each page. */

@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Colour — sampled from the approved logo and diagrams */
  --navy: #0F2A44;
  --cream: #F8F4EC;
  --paper: #FFFDF8;
  --sand: #EFE7DA;
  --orange: #E26A34;      /* the dot: marks only, never text */
  --terracotta: #A94A1C;  /* orange-family text that passes contrast on cream */
  --ink: #0F2A44;
  --ink-2: #3A4754;
  --ink-on-navy: #E8E2D6;
  --line: #DCD2C2;
  --person: #8FA58A;  --person-tint: #E1E8DD;
  --value: #C98D7E;   --value-tint: #F1DED7;
  --business: #8BA3B8; --business-tint: #DEE6EE;

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; max-width: 65ch; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }
.eyebrow { font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--terracotta); }
.lede { font-size: var(--step-1); color: var(--ink-2); }
.quiet { color: var(--ink-2); }
.italic { font-family: var(--display); font-style: italic; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--cream); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 18px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 500; letter-spacing: 0.04em; padding-block: 6px; }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: 0.03em; text-decoration: none; border: 1.5px solid var(--navy); cursor: pointer; }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.btn-primary:hover { background: #1B3D5E; color: var(--cream); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--paper); color: var(--navy); }
.on-navy .btn-primary { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.on-navy .btn-primary:hover { background: #fff; color: var(--navy); }
.on-navy .btn-ghost { color: var(--cream); border-color: var(--cream); }
.on-navy .btn-ghost:hover { background: rgba(248,244,236,0.08); color: var(--cream); }
.site-header .btn { min-height: 44px; padding: 9px 18px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.navy-block { background: var(--navy); color: var(--cream); }
.navy-block .eyebrow { color: #F0A27C; }
.navy-block .quiet, .navy-block .lede { color: var(--ink-on-navy); }
.navy-block a { color: var(--cream); }
.sand-block { background: var(--sand); }

/* Line-and-dot motif: the dot's position moves through the page */
.path { position: relative; height: 26px; margin-block: 8px; }
.path::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--navy); opacity: 0.85; }
.path::after { content: ""; position: absolute; bottom: 12px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); left: var(--dot, 8%); transform: translateX(-50%); }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 88px); }
.hero h1 { max-width: 16ch; }
.hero .copy { display: flex; flex-direction: column; gap: 1rem; max-width: 62ch; }
.hero .copy p { font-size: var(--step-1); color: var(--ink-2); }
.entry-note { font-size: var(--step-0); color: var(--ink-2); }
.entry-note a { font-weight: 500; }

/* Two-column helper */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* "For you if" list */
.signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.signs li { list-style: none; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: var(--step-1); line-height: 1.35; display: flex; gap: 14px; align-items: baseline; }
.signs li::before { content: ""; flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--navy); transform: translateY(-2px); }

/* Person / Value / Business */
.pvb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.pvb .ring { aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14%; gap: 8px; margin-inline: -6%; }
.pvb .ring:nth-child(1) { background: rgba(143,165,138,0.45); }
.pvb .ring:nth-child(2) { background: rgba(201,141,126,0.45); }
.pvb .ring:nth-child(3) { background: rgba(139,163,184,0.45); }
.ring .label { font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.ring .q { font-family: var(--display); font-size: clamp(1.05rem, 0.8rem + 0.9vw, 1.35rem); line-height: 1.3; }
@media (max-width: 700px) {
  .pvb { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pvb .ring { aspect-ratio: auto; border-radius: var(--radius); margin: 0; padding: 22px; align-items: flex-start; text-align: left; }
}
.pvb-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pvb-detail > div { border-top: 3px solid var(--k); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.pvb-detail h3 { font-family: var(--body); font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 760px) { .pvb-detail { grid-template-columns: minmax(0, 1fr); } }

/* The Way */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.modes li { list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.modes .name { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.modes .q { font-family: var(--display); font-size: var(--step-1); line-height: 1.3; }
@media (max-width: 760px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.progress-q { font-family: var(--display); font-size: var(--step-3); line-height: 1.25; max-width: 30ch; }

/* Before / after */
.ba { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; align-items: stretch; }
.ba .head { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); padding-bottom: 4px; }
.ba .key { border-radius: var(--radius); padding: 16px; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; }
.ba .before { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--ink-2); }
.ba .after { background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 18px 20px; font-family: var(--display); font-size: var(--step-1); line-height: 1.4; }
.ba-note { font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 760px) {
  .ba { grid-template-columns: minmax(0, 1fr); }
  .ba .head { display: none; }
  .ba .key { margin-top: 14px; }
  .ba .before::before { content: "Starting map: "; font-family: var(--body); font-style: normal; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 4px; }
  .ba .after::before { content: "After the work: "; font-family: var(--body); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 4px; color: var(--ink-on-navy); }
}

/* Offers */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .offers { grid-template-columns: minmax(0, 1fr); } }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.offer .tag { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.offer .fee { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.fee .price { font-family: var(--display); font-size: var(--step-2); }
.ticks { display: flex; flex-direction: column; gap: 8px; }
.ticks li { list-style: none; display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; transform: translateY(-1px); }

.steps { display: flex; flex-direction: column; }
.steps li { list-style: none; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; position: relative; }
.steps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--navy); background: var(--paper); margin: 7px 0 0 5px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--navy); }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--orange); border-color: var(--orange); }
.steps strong { font-weight: 500; }
.navy-block .steps li::before { border-color: var(--cream); background: var(--navy); }
.navy-block .steps li::after { background: var(--cream); }
.navy-block .steps li:last-child::before { background: var(--orange); border-color: var(--orange); }

/* Chooser */
.chooser { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.chooser a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.chooser .need { font-family: var(--display); font-size: var(--step-1); line-height: 1.35; }
.chooser .go { font-weight: 500; white-space: nowrap; }
.chooser a:hover .go { color: var(--terracotta); }
@media (max-width: 560px) { .chooser a { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* About */
.intro-line { font-family: var(--display); font-size: var(--step-2); line-height: 1.4; max-width: 34ch; }

/* Forms */
form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
label { font-weight: 500; display: block; margin-bottom: 6px; }
.hint { font-size: var(--step--1); color: var(--ink-2); margin-top: 4px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #B9AE9C; border-radius: var(--radius); padding: 12px 14px; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.error { color: #9B2C1A; font-size: var(--step--1); margin-top: 6px; }
.notice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.result { background: var(--paper); border: 1.5px solid var(--navy); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.result pre { white-space: pre-wrap; font-family: var(--body); margin: 0; background: var(--cream); padding: 14px; border-radius: var(--radius); max-height: 260px; overflow: auto; }
.email-line { font-family: var(--display); font-size: var(--step-2); word-break: break-word; }

/* Legal text */
.legal h2 { font-size: var(--step-2); margin-top: 1.6rem; }
.legal p, .legal li { max-width: 72ch; }
.legal ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; }
.todo { background: #FFF1C9; padding: 0 4px; border-radius: 3px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--cream); padding-block: 56px 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
.site-footer img { height: 38px; width: auto; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #F0A27C; text-decoration: underline; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer .h { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-on-navy); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(248,244,236,0.2); padding-top: 20px; font-size: var(--step--1); color: var(--ink-on-navy); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

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

/* Example deliverable on the Business Review page */
.leave-list { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.leave-list li { list-style: none; padding-left: 22px; position: relative; line-height: 1.55; }
.leave-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: #E26A34; }
.example-page { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.example-page img { width: 100%; max-width: 440px; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgba(15, 42, 68, 0.10); }
.example-page figcaption { font-size: var(--step--1); color: var(--ink-2); }
@media (min-width: 900px) { .example .example-page { align-items: flex-end; } }
