/* Self-hosted. Both are variable fonts, so one file covers every weight used.
   Latin subset. Already includes the em dashes and curly quotes in the copy. */

@font-face {
  font-family: 'Young Serif';
  src: url('fonts/young-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('fonts/work-sans.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* More Pie. One stylesheet, two pages. No build step. */

:root {
  --paper:  #FCFBF8;
  --card:   #FFFFFF;
  --panel:  #FBF1E1;
  --ink:    #2A2119;
  --muted:  #524740;
  --border: #E9E3D7;
  --accent: #B34317;          /* 5.4:1 on --paper, 5.0:1 on --panel, both AA */
  --accent-dark: #8E340F;
  --pen:    #2F5AA8;
  --ink-deep: #241E19;        /* footer ground: warm near-black, not pure black */
  --on-dark: #CFC7BC;

  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Work Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius: 18px;
  --gutter: clamp(22px, 5vw, 90px);
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* Smooth anchor scrolling, but only for people who haven't asked for less motion:
   a long animated jump is a genuine problem for vestibular disorders. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Stops the target landing flush against the top of the viewport. */
#contact, #main { scroll-margin-top: clamp(18px, 4vw, 44px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 20px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.008em;
  line-height: 1.14;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.3; }

p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
/* Links inside running prose get an underline, since colour alone is not enough to
   distinguish them for colour-blind readers (WCAG 1.4.1). */
p a { text-decoration: underline; text-decoration-thickness: 2px;
      text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--accent) 45%, transparent); }
p a:hover { text-decoration-color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 10;
}
.skip:focus { left: 0; top: 0; color: var(--paper); }

/* ---------- layout ---------- */

.wrap { max-width: 1260px; margin: 0 auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; }
.section { padding-block: clamp(38px, 5vw, 62px); }
.section > * + * { margin-top: 22px; }
.lede { max-width: var(--measure); font-size: clamp(1.125rem, 2.1vw, 1.3125rem); line-height: 1.72; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- hero band ---------- */
/* The warm tone the whole page used to carry now lives here only, so the top of
   the page reads as one block and everything below it lifts to off-white. */

/* Ruled-paper texture, kept faint so it reads as stock rather than a pattern. */
.band {
  background-color: var(--panel);
  background-image: repeating-linear-gradient(
    to bottom, transparent 0 33px, rgba(138, 98, 58, 0.085) 33px 34px);
  background-attachment: fixed;
}
.band-end { border-bottom: 1.5px solid var(--border); }
.byline-name { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.byline-role { font-size: 1rem; line-height: 1.3; color: var(--muted); }

.contact-card { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.contact-card img {
  width: clamp(150px, 22vw, 200px); height: auto;
  border-radius: var(--radius); display: block;
}
.contact-card > div { display: flex; flex-direction: column; gap: 1px; }

.band .section { padding-block: clamp(30px, 4vw, 52px) clamp(56px, 8vw, 92px); }

/* ---------- hero ---------- */
/* Copy left, portrait right. The portrait pulls out past the container padding
   so it runs to the container edge rather than sitting in a box. */

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-copy { padding-block: clamp(34px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.hero-copy > * + * { margin-top: 24px; }

.hero-portrait { position: relative; margin: 0 calc(-1 * var(--gutter)) 0; }
.hero-portrait::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to bottom, rgba(28, 20, 14, 0), rgba(28, 20, 14, 0.66));
  pointer-events: none;
}
.hero-portrait img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%;
}
.hero-portrait figcaption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px;
  z-index: 1; line-height: 1.62;
}
/* Each line carries its own translucent plate. Inline plus box-decoration-break
   so a line that wraps gets a plate per line rather than one ragged rectangle,
   the same mechanism as the yellow highlighter. */
.hero-name, .hero-place, .hero-cred {
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: #FFFDF8;
  background: rgba(28, 20, 14, 0.62);
  padding: 3px 11px;
}
.hero-name, .hero-place {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-place { font-weight: 500; }
/* Sentence case and no tracking, so it reads as a line of information rather
   than a third label. */
.hero-cred {
  font-size: 1.0625rem;
}

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: stretch; gap: clamp(32px, 4vw, 64px); }
  .hero-copy { align-self: center; padding-block: clamp(48px, 6vw, 80px); }
  .hero-portrait { margin-block: 0; align-self: stretch; }
  .hero-portrait img { aspect-ratio: auto; min-height: 420px; object-position: 50% 18%; }
  .hero-portrait img,
  .hero-portrait::after {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
            mask-image: linear-gradient(to right, transparent 0, #000 16%);
  }
  .hero-portrait figcaption { left: 21%; right: 24px; bottom: 22px; }
}

/* ---------- header & footer ---------- */

.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-block: 20px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
/* width/height on the <img> reserve the space, so the header never shifts as it loads */
.brand img { display: block; width: auto; height: clamp(34px, 5vw, 44px); }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav a { font-size: 1.125rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.site-foot { background: var(--ink-deep); color: var(--on-dark); margin-top: clamp(48px, 7vw, 88px); }
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 48px); flex-wrap: wrap;
  padding-block: clamp(40px, 6vw, 64px);
}
.foot-logo { display: block; width: auto; height: clamp(36px, 4.6vw, 48px); }
.foot-meta {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 1rem; line-height: 1.55; text-align: right;
}
.foot-meta .place { color: #EDE7DE; }
@media (max-width: 560px) { .foot-meta { text-align: left; } }

/* ---------- pill buttons ---------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1.0625rem; font-weight: 600;
  cursor: pointer; text-align: center;
}
.pill-solid { background: var(--accent); color: #fff; }
.pill-solid:hover { background: var(--accent-dark); color: #fff; }
.pill-ghost { border-color: var(--accent); color: var(--accent); background: #FFFDF8; }
/* Header button is navigation, not the main call to action, so it sits smaller.
   44px is the floor: any less and it stops being a reliable tap target. */
.nav .pill { min-height: 44px; font-size: 1rem; }
.pill-ghost:hover { background: var(--accent); color: #fff; }

/* ---------- cards & panels ---------- */

.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
.card h3 { font-size: 1.4rem; }
.card p { font-size: 1.125rem; line-height: 1.72; color: var(--muted); }

.panel {
  background: var(--panel);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(30px, 4vw, 52px);
}
.quote { font-family: var(--display); font-size: clamp(1.35rem, 2.7vw, 1.8rem); line-height: 1.42; }
.quote + .quote { margin-top: 0.7em; }

/* ---------- "How I think": a thought bubble, not another pull quote ----------
   The tail is one span: the circle is the element, the two trailing dots are
   box-shadows of it, so there is a single node to position. */

.think {
  position: relative;
  max-width: 46rem;
  margin: 26px 0 0;
  padding: clamp(54px, 6vw, 76px) clamp(30px, 4.4vw, 58px) clamp(70px, 7.5vw, 96px);
  background: #332721;
  color: #F2EBE1;
  border-radius: clamp(32px, 4.4vw, 52px);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.45;
}
.think p { margin: 0; }
.think p + p { margin-top: 0.75em; }

.think::before,
.think::after {
  position: absolute;
  color: #5C4632;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  line-height: 1;
  pointer-events: none;
}
.think::before { content: "\201C"; top: clamp(14px, 2vw, 26px); left: clamp(20px, 2.8vw, 38px); }
.think::after  { content: "\201D"; right: clamp(20px, 2.8vw, 38px); bottom: 8px; }

.think-tail {
  position: absolute;
  right: clamp(104px, 11vw, 124px);
  bottom: -19px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #332721;
  box-shadow: 58px 40px 0 -10px #8F8A84,
              98px 72px 0 -16px #C9C4BD;
}
@media (max-width: 560px) {
  .think-tail {
    right: 76px; bottom: -14px; width: 32px; height: 32px;
    box-shadow: 40px 28px 0 -7px #8F8A84, 68px 50px 0 -11px #C9C4BD;
  }
}

/* Centred statement: the manifesto's full stop. Deliberately not a panel. */
.statement {
  max-width: 52rem;
  margin: clamp(46px, 6.5vw, 78px) auto 0;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.3vw, 2.25rem);
  line-height: 1.36;
  letter-spacing: -0.008em;
  text-wrap: balance;
}

/* ---------- the marker kit ---------- */

/* Highlighter. box-decoration-break gives every LINE its own swipe, which is
   what stops a two-line phrase reading as one flat slab. */
.hl {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 4px 13px;
  margin: 0 -9px;
}
.hl-1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 42' preserveAspectRatio='none'%3E%3Cpath d='M4 10 C 44 3, 106 13, 154 6 C 178 2, 193 5, 197 11 L 195 32 C 188 38, 166 40, 138 37 C 94 32, 46 41, 13 36 C 6 35, 3 30, 4 10 Z' fill='%23FFE68C'/%3E%3C/svg%3E"); }
.hl-2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 42' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 50 14, 110 2, 160 8 C 180 10, 194 8, 198 13 L 197 30 C 190 36, 170 33, 142 36 C 100 41, 52 33, 14 38 C 7 39, 2 34, 3 8 Z' fill='%23FFE68C'/%3E%3C/svg%3E"); }
.hl-3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 42' preserveAspectRatio='none'%3E%3Cpath d='M6 13 C 40 6, 88 16, 132 9 C 164 4, 186 9, 196 7 L 197 31 C 186 39, 150 34, 116 38 C 76 42, 40 34, 10 37 C 4 37, 2 33, 6 13 Z' fill='%23FFE68C'/%3E%3C/svg%3E"); }
.hl-4 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 42' preserveAspectRatio='none'%3E%3Cpath d='M2 11 C 36 2, 78 15, 118 7 C 152 0, 180 12, 198 8 L 196 34 C 170 39, 132 30, 96 36 C 60 42, 30 32, 10 38 C 4 39, 1 34, 2 11 Z' fill='%23FFE68C'/%3E%3C/svg%3E"); }


.mark-icon { color: var(--accent); }

/* ---------- form ---------- */

.form-intro { gap: 18px; }
.closing-note { margin-top: clamp(28px, 3.5vw, 36px); }
.form-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 1.0625rem; font-weight: 600; }
.field label .qual { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 1.125rem;
  color: var(--ink); background: var(--card);
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 13px 15px; min-height: 52px;
  width: 100%;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7D7166; }
/* Clear the hint the moment they tap in, so it never looks like text to delete. */
.field input:focus::placeholder, .field textarea:focus::placeholder { color: transparent; }
.field input:hover, .field textarea:hover { border-color: #E0CDB2; }

/* ---------- manifesto ---------- */
/* One continuous run of paragraphs, each opening with a highlighted lead-in.
   Not cards; the flow IS the device. */

.manifesto { display: flex; flex-direction: column; gap: 28px; max-width: 46rem; }
.manifesto p { font-size: clamp(1.125rem, 2.1vw, 1.3125rem); line-height: 1.78; }
.manifesto-questions {
  display: flex; flex-direction: column; gap: 22px;
  margin: 0; padding-left: 1.35em;
  font-size: clamp(1.125rem, 2.1vw, 1.3125rem); line-height: 1.6;
}
.manifesto-questions li::marker { color: var(--accent); }
.mlead { font-family: var(--display); font-size: 1.06em; }


/* Placeholder marker, deliberately looks like a note, not copy. Delete when filled. */
.todo {
  display: inline-block; align-self: flex-start;
  font-style: italic; font-weight: 500; font-size: 1.125rem; line-height: 1.45;
  color: var(--pen); border: 2px dashed var(--pen); border-radius: 12px;
  padding: 10px 18px;
}

/* ---------- method ---------- */
/* Three numbered stages. The rule running right from each number carries the
   eye to the next one, so the progression is shown rather than stated. */

.eyebrow {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow + h2 { margin-top: 10px; }

.method { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 780px) { .method { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }
.stage { display: flex; flex-direction: column; gap: 10px; }
.stage-head { display: flex; align-items: center; gap: 14px; }
.stage-num { font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.125rem); line-height: 1; color: var(--accent); }
.stage-rule { flex: 1; height: 1.5px; background: color-mix(in oklab, var(--accent) 32%, transparent); }
.stage:last-child .stage-rule { display: none; }
.stage-name { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.stage p { font-size: 1.0625rem; line-height: 1.68; color: var(--muted); }

/* ---------- offers ---------- */
/* Two offers, not equal weight. The recommended one sits on the warm panel the
   site already uses for things that matter; the follow-on stays a plain card. */

.offers { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; max-width: 54rem; }

.offer {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: clamp(26px, 3.4vw, 38px);
}
.offer-label {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.offer-price {
  font-family: var(--display); font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  color: var(--ink); margin-top: -4px;
}
.offer h3 { font-size: clamp(1.375rem, 2.5vw, 1.625rem); }
.offer p { font-size: 1.0625rem; line-height: 1.72; color: var(--muted); }

/* Middle rung of the three: white ground like the plain card, but a warmer
   border so it reads as a step up without competing with the featured one. */
.offer-secondary { border-color: color-mix(in oklab, var(--accent) 16%, var(--border)); }

.offer-featured {
  background: var(--panel);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--border));
  padding: clamp(30px, 3.8vw, 44px);
}
.offer-featured h3 { font-size: clamp(1.5rem, 2.9vw, 1.875rem); }
.offer-featured p { color: var(--ink); font-size: clamp(1.0625rem, 2vw, 1.125rem); }

/* ---------- outcomes list ---------- */
/* Results, not services, so this reads as a run of ticked-off items rather than
   cards. Ticks are drawn paths cycling three variants, like the highlighter. */

.outcomes {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 22px;
  max-width: 46rem;
}
.outcomes li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem); line-height: 1.65;
}
.outcomes svg { width: 28px; height: 24px; margin-top: 0.3em; color: var(--accent); }

/* ---------- shifts (What's changing?) ---------- */
/* Each shift reads like "The great unlock" does: a serif title with its body
   underneath. No panel; the heading carries it. */

.shifts { display: flex; flex-direction: column; gap: clamp(32px, 4.2vw, 44px); max-width: 46rem; margin-top: 36px; }
.shift { display: flex; flex-direction: column; gap: 12px; }
.shift h3 { font-size: clamp(1.375rem, 2.9vw, 1.75rem); }
.shift p { font-size: clamp(1.125rem, 2.1vw, 1.25rem); line-height: 1.76; }
.shifts-aside { max-width: 46rem; font-size: clamp(1.125rem, 2.1vw, 1.3125rem); line-height: 1.78; }

/* ---------- form states ---------- */

[hidden] { display: none !important; }

.form-success { display: flex; flex-direction: column; gap: 10px; grid-column: 1 / -1; }
.form-success h3 { font-size: clamp(1.375rem, 2.8vw, 1.625rem); }
.form-success p { font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.form-error {
  font-size: 1rem; line-height: 1.6; color: var(--accent-dark);
  border: 1.5px solid var(--accent); border-radius: 12px; padding: 12px 16px;
}
