/* Cairnlinn. Palette D98 (route B); type and ratios inherited under D42. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2E3F55;
  --navy-deep: #1F2B3B;
  --heather: #6B4E7A;
  --heather-dark: #5A4268;
  --heather-tint: #ECE6EF;
  --heather-on-navy: #B79CC4;
  --granite: #545D68;
  --stone: #E9EDF0;
  --line: #D3D9DE;
  --white: #FFFFFF;
  --measure: 40rem;
  --wide: 70rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-underline-offset: 0.2em; }
a:hover { color: var(--navy-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--heather);
  outline-offset: 2px;
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: 0.5rem 1rem; z-index: 10; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--measure); }
.wrap.prose { max-width: var(--wide); }
.wrap.prose > * { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* Header and wordmark */
.site-header { border-bottom: 1px solid var(--line); background: var(--stone); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; }
.wordmark {
  display: inline-flex; align-items: flex-end; gap: 0.3rem;
  font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--navy); text-decoration: none; line-height: 1;
}
.wordmark::after {
  content: ""; width: 0.38rem; height: 0.38rem; border-radius: 1px;
  background: var(--heather); margin-bottom: 0.18rem;
}
.site-header nav a { font-size: 1rem; font-weight: 500; }

/* Sections */
section { padding: 5.5rem 0; }
.band { background: var(--stone); }
h1, h2, h3 { color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; font-weight: 700; margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 700; margin: 0 0 2rem; }
h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; margin: 0 0 0.5rem; }

/* Hero */
.hero { background: var(--stone); padding: 4rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3.5rem; align-items: start; }
.hero .lede { font-size: 1.2rem; margin: 0 0 2rem; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-bottom: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.8rem 1.6rem; border: 0; border-radius: 8px;
  text-align: center; line-height: 1.3;
  background: var(--heather); color: var(--white);
  font: inherit; font-size: 1.05rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--heather-dark); color: var(--white); }
.readon { font-weight: 500; }
.small { font-size: 0.95rem; color: var(--granite); margin: 0; }
.guide img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.guide p { font-size: 1rem; margin: 1rem 0 0; }

/* Pieces */
.pieces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.piece { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.piece p { margin: 0; font-size: 1.02rem; }

/* Price */
.price { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; margin: 0 0 0.25rem; }
.price-note { color: var(--granite); margin: 0 0 1.5rem; font-size: 1rem; }

/* Bio */
.bio-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
.bio-grid img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* Apply */
.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.5rem; }
.form-card { margin-top: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 2rem; max-width: 46rem; }
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.field .hint { display: block; font-weight: 400; color: var(--granite); font-size: 0.95rem; }
.group { border: 0; padding: 0; margin: 0 0 1.5rem; }
.group legend { font-weight: 600; font-size: 1rem; margin-bottom: 0.6rem; padding: 0; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
input[type="text"], input[type="email"], input[type="number"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy);
  padding: 0.75rem 0.85rem; border: 1px solid #A9B3BC; border-radius: 8px; background: var(--white);
}
textarea { min-height: 6rem; resize: vertical; }
.field .sub { font-weight: 600; margin: 1rem 0 0.4rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 1rem; }
.updates .cf-turnstile { flex-basis: 100%; margin: 0; }
.form-legal { font-size: 0.95rem; color: var(--granite); margin: 0 0 1.25rem; }
.updates { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 46rem; }
.updates form { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.updates input[type="email"] { flex: 1 1 16rem; width: auto; }
.check { display: flex; gap: 0.5rem; align-items: center; font-size: 0.98rem; flex-basis: 100%; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--heather); }
.btn-quiet { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.btn-quiet:hover { background: var(--heather-tint); color: var(--navy); }

/* Section patterns (layout pass, 19 Oct 2026) */
.navy { background: var(--navy); color: var(--white); }
.navy h2, .navy h3 { color: var(--white); }
.navy a:not(.btn) { color: var(--white); }
.intro { font-size: 1.25rem; max-width: var(--measure); margin: 0 0 2.5rem; }
.statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.statements p { margin: 0; padding: 1.5rem; border-top: 3px solid var(--heather-on-navy); background: rgba(255,255,255,0.05); border-radius: 0 0 10px 10px; font-size: 1.02rem; }
.outro { font-size: 1.25rem; font-weight: 600; max-width: 46rem; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: start; }
.eyebrow { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--heather); margin: 0 0 1rem; }
.statement { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin: 0; }

.num { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--heather); letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.phases { list-style: none; padding: 0; margin: 0 0 3.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.phases li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 2rem; position: relative; }
.phases li p { margin: 0; font-size: 1.02rem; }
.phases li + li::before { content: ""; position: absolute; left: -1.5rem; top: 3.3rem; width: 1.5rem; border-top: 2px solid var(--heather); }
.ai { align-items: start; }
.weeks { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--granite); margin: 0 0 0.35rem !important; }
.hero .eyebrow { margin-bottom: 0.75rem; }
.phases li .by-end { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.98rem; }
.example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.example-col { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; }
.example-col:last-child { border-top: 4px solid var(--heather); }
.example-label { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--heather); margin: 0 0 0.75rem; }
.example-col p:last-child { margin: 0; }
.example-note { max-width: 46rem; margin: 1.5rem 0 0; font-size: 1rem; color: var(--granite); }
@media (max-width: 800px) { .example { grid-template-columns: minmax(0, 1fr); } }
.lasts-head { margin-top: 1.5rem; }
.lasts { margin-top: 3.5rem; max-width: 46rem; padding-left: 1.5rem; border-left: 4px solid var(--heather); }
.lasts h2 { margin-bottom: 1rem; }
.lasts p { font-size: 1.2rem; font-weight: 500; margin: 0; }
.pull { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; font-weight: 700; color: var(--heather); margin: 0; padding-left: 1.5rem; border-left: 4px solid var(--heather); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.grid3 .piece { background: var(--stone); border: 0; }
.grid3 .piece .num { font-size: 1.6rem; }
.photo-cell { margin: 0; border-radius: 12px; overflow: hidden; min-height: 16rem; }
.photo-cell img { width: 100%; height: 100%; object-fit: cover; }

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 3rem; }
.figures div { border-top: 1px solid rgba(255,255,255,0.3); padding-top: 1.25rem; }
.fig { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.5rem; }
.cap { display: block; font-size: 1rem; color: #D8DEE5; }
.on-navy p { color: #E8ECF0; }

.intro-dark { font-size: 1.25rem; margin: 0 0 2rem; }
.steps-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.steps-grid li { border-top: 2px solid var(--heather); padding-top: 1rem; }
.steps-grid .num { font-size: 1.3rem; margin-bottom: 0.4rem; }
.steps-grid p { margin: 0; font-size: 1.02rem; }

.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 3rem; max-width: 46rem; margin: 0 auto; text-align: left; }
.price-card .price { font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.03em; margin: 0 0 1.5rem; }
.price-card .price span { font-size: 1.1rem; font-weight: 500; color: var(--granite); letter-spacing: 0; }
.price-card p { margin: 0 0 1rem; }
.next-start { font-weight: 600; margin-bottom: 1.75rem !important; }

.fit figure { margin: 0; }
.fit figure img { border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.75rem; }
.ticks li, .crosses li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.35em; width: 0.5rem; height: 0.9rem; border: solid var(--heather); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.crosses li::before { content: ""; position: absolute; left: 0.1rem; top: 0.75em; width: 1rem; border-top: 3px solid var(--granite); }
.fit h3 { margin-top: 0.5rem; }

.letter { max-width: var(--wide); }
.letter > * { max-width: 44rem; }
.portrait { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; }
.sign { font-weight: 600; font-style: italic; margin-top: 1.5rem !important; }

.faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; font-size: 1.5rem; font-weight: 400; color: var(--heather); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 1.25rem; max-width: var(--measure); }

/* White cards on a navy band take navy text back; without this the form's labels were white on white. */
.navy .form-card, .navy .price-card, .navy .piece, .navy .phases li { color: var(--navy); }
.navy .form-card a:not(.btn), .navy .price-card a:not(.btn), .navy .piece a:not(.btn) { color: var(--navy); }
.navy .updates { border-top-color: rgba(255,255,255,0.25); }
.navy .updates p, .navy .check { color: var(--white); }
.site-footer { background: var(--navy-deep); }

@media (max-width: 800px) {
  .statements, .split, .faq, .phases, .grid3, .figures, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 2rem; }
  .phases li + li::before { display: none; }
  .price-card { padding: 1.75rem; }
  .photo-cell { min-height: 14rem; }
}

.price-card { max-width: 60rem; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 1.75rem; }
.compare-col { border-radius: 12px; padding: 1.75rem; background: var(--heather-tint); }
.compare-col.muted { background: var(--stone); }
.compare-label { display: block; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--granite); margin-bottom: 0.75rem; }
.compare-col .price { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 0.75rem; }
.compare-col.muted .price { color: var(--granite); }
.compare-col .price { line-height: 1.15; }
.compare-col .price span { display: block; margin-top: 0.35rem; }
.compare.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare.three .price { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.compare-col p:last-child { margin: 0; font-size: 1rem; }
.cta-row { display: flex; justify-content: center; margin-top: 3rem; }
.letter-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.letter-head h2 { margin: 0; }
.letter-head .portrait { margin: 0; flex-shrink: 0; }
.faq-group { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--heather); margin: 0 0 0.5rem; }
.faq-group:not(:first-child) { margin-top: 2.5rem; }
.faq-list h3 + details { border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .compare, .compare.three { grid-template-columns: minmax(0, 1fr); }
  .letter-head .portrait { width: 4.5rem; height: 4.5rem; }
}

.source-note { font-size: 0.95rem; color: var(--granite); border-left: 3px solid var(--heather); padding-left: 1rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--white); padding: 2.5rem 0; font-size: 0.9rem; line-height: 1.6; }
.site-footer a { color: var(--white); }
.site-footer .wordmark { color: var(--white); font-size: 1.3rem; margin-bottom: 1rem; }
.site-footer .wordmark::after { background: var(--heather-on-navy); }
.site-footer p { margin: 0 0 0.5rem; max-width: 52rem; }
.footer-links { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 1rem; }
.legal-line { font-size: 0.78rem; color: #C9D1DA; }

/* About */
.about-grid { align-items: center; }
.about-grid .prose p { font-size: 1.15rem; }
.about-photo { margin: 0; }
.about-photo img { border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; width: 100%; }
.about-cta { margin: 2rem 0 0; }

/* Legal pages */
.legal table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 0 0 1.5rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 0.6rem 0.5rem; vertical-align: top; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.draft-flag { background: var(--heather-tint); border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.95rem; }

@media (max-width: 800px) {
  section { padding: 3.25rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid, .bio-grid, .pieces, .row { grid-template-columns: minmax(0, 1fr); }
  .hero-grid, .bio-grid { gap: 2rem; }
  .guide { max-width: 22rem; }
  .bio-grid img { max-width: 22rem; }
  .about-photo { max-width: 22rem; }
  .form-card { padding: 1.25rem; }
}

/* The partner guide page (thread 7, 26 Oct 2026) */
.guide-form { margin-top: 0; padding-top: 0; border-top: 0; }
.guide-form .form-legal { margin: 1rem 0 0; }
