/* ==========================================================================
   Planwise Financial Services: Honour Board
   ========================================================================== */



/* ---------- Tokens: Honour Board ---------- */
:root,
[data-brand="honour"] {
  --purple: #2e1a47;        /* Board Purple */
  --purple-deep: #1f1032;
  --gold: #d6b25e;          /* Gilt */
  --gold-ink: #7d5f1c;
  --orange: #9a4a24;        /* Jarrah */
  --orange-ink: #8a3e1a;

  --ground: #f5f1ea;        /* parchment */
  --surface: #fffdf8;
  --ink: #241733;
  --ink-soft: #4f425f;
  --rule: #e0d6c6;
  --on-purple: #f5ecd6;
  --on-purple-soft: #cdbfa0;

  --font-display: "Castoro", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-entry: "Castoro", Georgia, serif;
  --display-stretch: 100%;
  --display-weight: 400;
  --display-case: none;
  --display-track: 0.01em;
  --h1-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.8rem);

  --line: 2.5rem;
  --radius: 2px;
  --radius-lg: 3px;
  --shadow: 0 2px 4px rgb(31 16 50 / 0.18), 0 22px 40px -18px rgb(31 16 50 / 0.45);
  --focus: #9a4a24;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease;
}

::selection { background: var(--gold); color: var(--purple-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--purple) var(--ground); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; color: var(--orange-ink); }
p { margin: 0 0 1em; }
ul,
ol { padding-left: 1.2em; }
strong { font-weight: 700; }

.wrap { width: min(100% - 2 * clamp(16px, 4vw, 48px), 1200px); margin-inline: auto; }
.measure { max-width: 68ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--purple); color: var(--on-purple); padding: .75rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  letter-spacing: var(--display-track);
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--h1-size); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.9rem); margin-top: 0; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.2; }

.lede { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--purple); --btn-fg: var(--on-purple); --btn-bd: var(--purple);
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 3.25rem; padding: .75rem 1.4rem;
  font: 600 1.05rem/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgb(0 0 0 / .45); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--purple-deep); --btn-bd: var(--gold); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--purple); --btn-bd: currentColor; }
.btn--ghost:hover { --btn-bg: var(--purple); --btn-fg: var(--on-purple); --btn-bd: var(--purple); }
.on-purple .btn--ghost { --btn-fg: var(--on-purple); }
.on-purple .btn--ghost:hover { --btn-bg: var(--on-purple); --btn-fg: var(--purple-deep); --btn-bd: var(--on-purple); }

[data-brand="honour"] .btn { font-family: var(--font-display); font-weight: 400; letter-spacing: .04em; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--purple); color: var(--on-purple); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 5.5rem; }
.brand-plate {
  flex: none; display: block; background: #fff; padding: .45rem .7rem;
  border-radius: var(--radius); line-height: 0;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .2);
}
.brand-plate img { width: 118px; height: auto; }

[data-brand="honour"] .brand-plate { border-radius: 2px; box-shadow: 0 0 0 3px var(--gold), 0 0 0 4px var(--purple-deep); }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.nav a {
  display: block; padding: .55rem .7rem; color: var(--on-purple); text-decoration: none;
  font-size: 1rem; border-radius: var(--radius); position: relative;
}
.nav a:hover { background: rgb(255 255 255 / .08); color: var(--on-purple); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--gold); }

.nav ul { flex-wrap: nowrap; }
[data-brand="honour"] .nav a { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; }
.header-call { flex: none; }
.header-call .btn { min-height: 2.9rem; padding: .55rem 1rem; }
.nav-toggle { display: none; }

/* Honour header: jarrah rail */
[data-brand="honour"] .site-header {
  background: var(--purple-deep);
  border-bottom: 10px solid var(--orange);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / .3);
}

@media (max-width: 1180px) {
  .site-header .wrap { flex-wrap: wrap; padding-block: .75rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    min-height: 2.9rem; padding: .5rem .9rem; font: 600 1rem var(--font-body);
    color: var(--on-purple); background: transparent; border: 2px solid rgb(255 255 255 / .35); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle svg { width: 1.2em; height: 1.2em; }
  .nav { order: 4; flex-basis: 100%; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 0 1rem; }
  .nav a { padding: .85rem .5rem; font-size: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .nav a[aria-current="page"]::after { display: none; }
  .header-call { order: 3; }
  .header-call .btn span { display: none; }
  .header-call .btn { padding: .55rem .8rem; }
}
@media (max-width: 1180px) { .no-js .nav { display: block; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head p { color: var(--ink-soft); }
.on-purple { background: var(--purple); color: var(--on-purple); }
.on-purple h2,
.on-purple h3 { color: var(--on-purple); }
.on-purple p { color: var(--on-purple-soft); }
.on-purple a:not(.btn) { color: var(--gold); }
.on-purple a:not(.btn):hover { color: var(--on-purple); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 5vw, 6.5rem); position: relative; overflow: hidden; }
.hero-grid {
  width: min(100% - 2 * clamp(16px, 4vw, 48px), 1200px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy record";
  gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; position: relative; z-index: 1;
}
.hero-copy { grid-area: copy; }

.hero-photo { grid-area: photo; display: none; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: 1rem; color: var(--ink-soft); margin: 0; padding: 0; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: .45rem; }
.hero-meta svg { width: 1.1em; height: 1.1em; color: var(--orange-ink); flex: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "record"; } }

/* B · Honour Board: gilt on painted purple, jarrah frame */

/* ---------- Hero grounds per brand ---------- */
[data-brand="honour"] .hero { background: var(--ground); }

/* ---------- Services index ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 1rem + 4vw, 5rem); list-style: none; padding: 0; margin: 0; counter-reset: svc; }
.service { padding-block: 1.4rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 3rem 1fr; gap: .25rem 1rem; }
.service svg { width: 2.25rem; height: 2.25rem; color: var(--orange-ink); grid-row: 1 / span 2; margin-top: .1rem; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.service:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

[data-brand="honour"] .service { border-top-color: var(--gold); }
[data-brand="honour"] .service h3 { font-size: 1.5rem; }

/* ---------- Split: continuity / adviser ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: .9rem; border-top: 1px solid var(--rule); align-items: baseline; }
.facts b { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 1.6rem; color: var(--purple); line-height: 1; font-variant-numeric: tabular-nums; }
.on-purple .facts li { border-top-color: rgb(255 255 255 / .16); }
.on-purple .facts b { color: var(--gold); }

/* ---------- Testimonials ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-stretch: 100%; font-weight: 400; text-transform: none; font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.2rem); line-height: 1.3; letter-spacing: -.005em; text-wrap: pretty; }

.quote figcaption { margin-top: 1.25rem; font-size: 1.02rem; display: flex; gap: .25rem 1rem; flex-wrap: wrap; align-items: baseline; }
.quote figcaption .since { font-family: var(--font-entry); color: var(--orange-ink); font-size: .95rem; }
.on-purple .quote figcaption .since { color: var(--gold); }
.quote-mark { width: 3rem; height: 3rem; color: var(--gold); margin-bottom: 1rem; }

.testimonial-list { display: grid; gap: clamp(3rem, 2rem + 4vw, 5.5rem); }
.testimonial { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem clamp(1.5rem, 1rem + 3vw, 4rem); padding-top: 2rem; border-top: 2px solid var(--purple); }
.testimonial .since-big { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(2.5rem, 2rem + 2vw, 4rem); color: var(--purple); line-height: 1; font-variant-numeric: tabular-nums; }
.testimonial .since-big small { display: block; font-family: var(--font-body); font-stretch: 100%; font-weight: 400; font-size: .95rem; color: var(--ink-soft); margin-top: .5rem; letter-spacing: 0; }
.testimonial blockquote { margin: 0; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.55; max-width: 60ch; }
.testimonial blockquote p:first-child { font-family: var(--font-display); font-stretch: 100%; font-size: 1.25em; line-height: 1.35; color: var(--ink); }

.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; }
[data-brand="honour"] .testimonial { border-top: 1px solid var(--gold); }
[data-brand="honour"] .testimonial .since-big { color: var(--orange); }

@media (max-width: 700px) { .testimonial { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1.5rem + 3vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem); max-width: 18ch; }
.page-hero .lede { max-width: 52ch; }
.crumbs { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }
[data-brand="honour"] .page-hero { background: var(--purple); color: var(--on-purple); border-bottom: 10px solid var(--orange); }
[data-brand="honour"] .page-hero h1 { color: var(--gold); text-shadow: 0 1px 0 rgb(0 0 0 / .5); }
[data-brand="honour"] .page-hero .lede,
[data-brand="honour"] .page-hero .crumbs { color: var(--on-purple-soft); }
[data-brand="honour"] .page-hero .crumbs a { color: var(--on-purple); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .45em; }
.prose ul { padding-left: 1.3em; }
.prose ul li::marker { color: var(--orange-ink); }
.prose > :first-child { margin-top: 0; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.layout-aside aside { position: sticky; top: 1.5rem; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .layout-aside aside { position: static; } }

.panel { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.panel h2,
.panel h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.panel p { font-size: 1rem; color: var(--ink-soft); }
.panel .btn { width: 100%; justify-content: center; margin-top: .5rem; }

.doc-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.doc-list a { display: grid; grid-template-columns: 2rem 1fr auto; gap: .75rem; align-items: center; padding: 1rem 1.1rem; background: var(--surface); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--rule); transition: box-shadow .2s ease, transform .2s ease; }
.doc-list a:hover { box-shadow: 0 0 0 2px var(--purple); color: var(--ink); }
.doc-list svg { width: 1.6rem; height: 1.6rem; color: var(--orange-ink); }
.doc-list small { display: block; color: var(--ink-soft); font-size: .9rem; }
.doc-list .arrow { width: 1.2rem; height: 1.2rem; color: var(--purple); }

.expect { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.expect li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; padding-block: 1rem; border-top: 1px solid var(--rule); }
.expect svg { width: 1.4rem; height: 1.4rem; color: var(--orange-ink); margin-top: .2rem; }
@media (max-width: 760px) { .expect { grid-template-columns: 1fr; } }
.on-purple .expect li { border-top-color: rgb(255 255 255 / .16); }
.on-purple .expect svg { color: var(--gold); }
.on-purple .expect li { color: var(--on-purple); }

/* ---------- Articles ---------- */
.advice-note { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; padding: 1.1rem 1.25rem; background: color-mix(in oklab, var(--gold) 16%, var(--surface)); border-radius: var(--radius); font-size: .98rem; color: var(--ink); margin-bottom: 2.5rem; box-shadow: 0 0 0 1px color-mix(in oklab, var(--gold) 55%, transparent); }
.advice-note svg { width: 1.4rem; height: 1.4rem; color: var(--gold-ink); margin-top: .15rem; }
.advice-note p { margin: 0; }
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.article-item { padding-block: 2rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem 2.5rem; }
.article-item .topic { font-family: var(--font-entry); font-size: .95rem; color: var(--orange-ink); }
.article-item h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); margin-bottom: .4rem; text-transform: none; }
.article-item h2 a { color: var(--ink); text-decoration: none; }
.article-item h2 a:hover { color: var(--purple); text-decoration: underline; }
.article-item p { color: var(--ink-soft); max-width: 62ch; }
.read-more { font-weight: 700; }
@media (max-width: 700px) { .article-item { grid-template-columns: 1fr; } }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 1rem; color: var(--ink-soft); margin-top: 1rem; }
[data-brand="honour"] .article-meta { color: var(--on-purple-soft); }

.pullquote { margin: 2.2em 0; padding: 1.4em 0; border-block: 2px solid var(--purple); font-family: var(--font-display); font-stretch: 100%; text-transform: none; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.35; color: var(--purple); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--rule); }
.contact-lines svg { width: 1.5rem; height: 1.5rem; color: var(--orange-ink); margin-top: .2rem; }
.contact-lines .label { display: block; font-size: .9rem; color: var(--ink-soft); }
.contact-lines a { font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-lines a:hover { color: var(--purple); text-decoration: underline; }
.contact-lines address { font-style: normal; }

.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label,
.field legend { font-weight: 700; font-size: 1rem; }
.field .hint { font-size: .92rem; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--surface);
  border: 2px solid color-mix(in oklab, var(--ink) 30%, transparent); border-radius: var(--radius);
  padding: .8rem .9rem; min-height: 3.25rem; width: 100%; caret-color: var(--orange);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: color-mix(in oklab, var(--ink) 55%, transparent); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px color-mix(in oklab, var(--purple) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: .95rem; font-weight: 600; display: none; }
.field [aria-invalid="true"] ~ .error { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 2.9rem; padding: .5rem 1rem; border: 2px solid color-mix(in oklab, var(--ink) 25%, transparent); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 1rem; transition: all .15s ease; }

.choice input:checked + span { background: var(--purple); color: var(--on-purple); border-color: var(--purple); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); background: color-mix(in oklab, var(--purple) 10%, var(--surface)); }
.form-status.is-shown { display: block; }
.form small.legal { font-size: .9rem; color: var(--ink-soft); }

.map-card { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--rule); background: var(--surface); }
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; filter: saturate(.7); }
.map-card a { display: block; padding: .9rem 1.1rem; font-weight: 700; }

/* ---------- Links page ---------- */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .link-list { grid-template-columns: 1fr; } }
.link-list a { display: grid; gap: .3rem; padding: 1.5rem; height: 100%; background: var(--surface); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--rule); transition: box-shadow .2s ease; }
.link-list a:hover { box-shadow: 0 0 0 2px var(--purple); color: var(--ink); }
.link-list strong { font-size: 1.2rem; }
.link-list span { color: var(--ink-soft); font-size: 1rem; }
.link-list .url { font-family: var(--font-entry); color: var(--orange-ink); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .3em; max-width: 20ch; }
.cta-band p { margin: 0; max-width: 46ch; }
.cta-band .hero-actions { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .hero-actions { justify-content: flex-start; } }

[data-brand="honour"] .cta-band { background: var(--purple-deep); border-top: 10px solid var(--orange); }
[data-brand="honour"] .cta-band h2 { color: var(--gold); }

/* ---------- Footer: Important information ---------- */
.site-footer { background: var(--purple-deep); color: var(--on-purple-soft); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: 1rem; }
.site-footer a { color: var(--on-purple); }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 3rem; align-items: start; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .14); }
.footer-top .brand-plate img { width: 104px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.footer-nav li { padding-block: .3rem; break-inside: avoid; }
.footer-contact { font-style: normal; line-height: 1.7; }
.footer-contact a { font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

.important { padding-top: 2.25rem; display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1rem 3rem; }
.important h2 { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold); margin: 0; letter-spacing: .02em; }

.important-body { display: grid; gap: 1rem; max-width: 80ch; font-size: .98rem; line-height: 1.65; color: var(--on-purple-soft); }
.important-body p { margin: 0; }
.important-body strong { color: var(--on-purple); }
.important-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: .25rem 0 0; }
.important-links a { font-weight: 600; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .92rem; }
@media (max-width: 860px) { .important { grid-template-columns: 1fr; } }
[data-brand="honour"] .site-footer { border-top: 1px solid var(--gold); }


@media (max-width: 1180px) { .nav ul { flex-wrap: wrap; } }
@media (max-width: 600px) {
  .site-header .brand-plate img { width: 88px; }
  
  
}

/* fixes from review round 1 */
.prose .doc-list,
.prose .important-links { padding-left: 0; }
.field { align-content: start; }

/* ==========================================================================
   Shared: photo slots, assurance strip, life-stage cards
   ========================================================================== */
.photo { position: relative; margin: 0; overflow: hidden; background: color-mix(in oklab, var(--gold) 14%, color-mix(in oklab, var(--purple) 6%, var(--surface))); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; font-size: .85rem; line-height: 1.4; color: var(--ink-soft); padding: 1rem; }
.photo-ph svg { width: 2rem; height: 2rem; opacity: .55; }
.photo-ph b { font-family: var(--font-entry); font-weight: 600; color: var(--purple); }
.photo--portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 30rem; justify-self: end; border-radius: var(--radius-lg); }
.photo--contact { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); margin-bottom: 2.25rem; }
.on-purple .photo { background: rgb(255 255 255 / .07); }
.on-purple .photo-ph,
.on-purple .photo-ph b { color: var(--on-purple-soft); }
@media (max-width: 860px) { .photo--portrait { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3; } }

.assure { background: var(--surface); border-block: 1px solid var(--rule); }
.assure ul { list-style: none; margin: 0 auto; padding: 1.6rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.assure li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .8rem; align-items: start; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }
.assure b { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: .1rem; }
.assure svg { width: 2rem; height: 2rem; color: var(--orange-ink); }
@media (max-width: 980px) { .assure ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .assure ul { grid-template-columns: 1fr; } }

.stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.stage .photo { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); margin-bottom: 1.4rem; }
.stage h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin-bottom: .45rem; }
.stage p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: .75rem; }
.stage-svc { display: block; font-size: .92rem; color: var(--orange-ink); font-weight: 600; }

@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } .stage .photo { aspect-ratio: 16 / 9; } }

/* ==========================================================================
   B · Honour Board, refined: light header that lets the owl sit natively,
   photography framed by the owl's wing arc in gilt, the board as a full band.
   ========================================================================== */
[data-brand="honour"] .site-header { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--rule); box-shadow: none; }
[data-brand="honour"] .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--gold); }
[data-brand="honour"] .site-header .wrap { min-height: 6.25rem; }
[data-brand="honour"] .site-header .brand-plate { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
[data-brand="honour"] .site-header .brand-plate { padding-block: .6rem; }
[data-brand="honour"] .site-header .brand-plate img { width: 148px; mix-blend-mode: normal; }
[data-brand="honour"] .nav a { color: var(--purple); }
[data-brand="honour"] .nav a:hover { color: var(--purple); background: color-mix(in oklab, var(--purple) 7%, transparent); }
[data-brand="honour"] .nav a[aria-current="page"] { color: var(--purple); }
[data-brand="honour"] .nav a[aria-current="page"]::after { background: var(--gold); height: 2px; }
[data-brand="honour"] .header-call .btn { --btn-bg: var(--purple); --btn-fg: var(--on-purple); --btn-bd: var(--purple); }
[data-brand="honour"] .nav-toggle { color: var(--purple); border-color: color-mix(in oklab, var(--purple) 35%, transparent); }
@media (max-width: 1180px) { [data-brand="honour"] .nav a { border-bottom-color: var(--rule); } }

[data-brand="honour"] .hero { padding: 0; }
[data-brand="honour"] .hero-grid {
  width: 100%; max-width: none; margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "copy photo" "record record";
  gap: 0; align-items: stretch;
}
[data-brand="honour"] .hero-copy {
  align-self: center;
  padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 6rem) max(clamp(16px, 4vw, 48px), calc((100vw - 1200px) / 2));
}
[data-brand="honour"] .hero h1 { color: var(--purple); font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.04; }
[data-brand="honour"] .hero .lede { max-width: 34ch; }
[data-brand="honour"] .hero-photo { display: block; position: relative; min-height: clamp(480px, 44vw, 700px); isolation: isolate; }
[data-brand="honour"] .hero-photo .photo { position: absolute; inset: 0; border-top-left-radius: 42% 100%; z-index: 2; }
[data-brand="honour"] .hero-photo::before { /* gilt wing-arc band */
  content: ""; position: absolute; inset: 0 0 0 -16px; z-index: 1;
  border-top-left-radius: 42% 100%; background: var(--gold);
}
[data-brand="honour"] .hero-photo::after { /* fine second feather line */
  content: ""; position: absolute; inset: 0 0 0 -40px; z-index: 0;
  border-top-left-radius: 42% 100%; border-left: 2px solid color-mix(in oklab, var(--gold) 70%, transparent); border-top: 2px solid color-mix(in oklab, var(--gold) 70%, transparent);
}

@media (max-width: 900px) {
  [data-brand="honour"] .hero-grid { grid-template-columns: 1fr; grid-template-areas: "photo" "copy" "record"; }
  [data-brand="honour"] .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  [data-brand="honour"] .hero-photo .photo,
[data-brand="honour"] .hero-photo::before,
[data-brand="honour"] .hero-photo::after { border-top-left-radius: 0; border-bottom-left-radius: 70% 22%; border-bottom-right-radius: 70% 22%; }
  [data-brand="honour"] .hero-photo::before { inset: 0 0 -10px 0; }
  [data-brand="honour"] .hero-photo::after { display: none; }
  [data-brand="honour"] .hero-copy { padding: 2.5rem clamp(16px, 4vw, 48px) 1rem; }
}

[data-brand="honour"] .assure { background: var(--surface); }
[data-brand="honour"] .assure b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--purple); }
[data-brand="honour"] .assure svg { color: var(--gold-ink); }

[data-brand="honour"] .stages { --stage-gap: clamp(2rem, 1rem + 3vw, 4rem); gap: var(--stage-gap); }
[data-brand="honour"] .stage { position: relative; }
[data-brand="honour"] .stage + .stage::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--stage-gap) / -2); width: 1px; background: var(--rule); }
[data-brand="honour"] .stage .photo { border-radius: 2px; border-top-left-radius: 50% 18%; border-top-right-radius: 50% 18%; }
[data-brand="honour"] .stage h3 { color: var(--purple); }
[data-brand="honour"] .stage-svc { color: var(--orange-ink); font-weight: 600; }
@media (max-width: 860px) { [data-brand="honour"] .stage + .stage::before { display: none; } }

[data-brand="honour"] .photo--portrait,
[data-brand="honour"] .photo--contact { border-radius: 2px; border-top-left-radius: 50% 20%; border-top-right-radius: 50% 20%; }
[data-brand="honour"] .photo--contact { border-top-left-radius: 50% 26%; border-top-right-radius: 50% 26%; }

/* Inner page heroes: purple band closed by the gilt wing arc */
[data-brand="honour"] .page-hero { position: relative; overflow: hidden; border-bottom: 0; padding-bottom: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
[data-brand="honour"] .page-hero .wrap { position: relative; z-index: 2; }
[data-brand="honour"] .page-hero::before,
[data-brand="honour"] .page-hero::after {
  content: ""; position: absolute; left: 22%; right: -12%; height: 220px; border-radius: 50% 0 0 0 / 100% 0 0 0;
}
[data-brand="honour"] .page-hero::after { bottom: -150px; background: var(--ground); z-index: 1; }
[data-brand="honour"] .page-hero::before { bottom: -138px; background: var(--gold); z-index: 1; }
[data-brand="honour"] .page-hero h1 { text-shadow: none; }

[data-brand="honour"] .cta-band { border-top: 0; }
[data-brand="honour"] .site-footer { border-top: 3px solid var(--gold); }
[data-brand="honour"] .site-footer .brand-plate { box-shadow: none; border-radius: 2px; }

.band-wrap { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.photo--band { aspect-ratio: 21 / 8; border-radius: var(--radius-lg); }
[data-brand="honour"] .band-wrap { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
[data-brand="honour"] .photo--band { border-radius: 2px; border-top-left-radius: 50% 26%; border-top-right-radius: 50% 26%; }
@media (max-width: 700px) { .photo--band { aspect-ratio: 16 / 9; } }
@media (max-width: 600px) {
  [data-brand="honour"] .site-header .brand-plate img { width: 104px; }
  [data-brand="honour"] .site-header .wrap { flex-wrap: nowrap; gap: .75rem; min-height: 5rem; }
  
  
}
@media (max-width: 1180px) and (min-width: 601px) { [data-brand="honour"] .site-header .wrap { flex-wrap: wrap; } }
@media (max-width: 600px) { [data-brand="honour"] .site-header .wrap:has(.nav.is-open) { flex-wrap: wrap; } }

[data-brand="honour"] .hero-grid { grid-template-areas: "copy photo"; }
@media (max-width: 900px) { [data-brand="honour"] .hero-grid { grid-template-areas: "photo" "copy"; } [data-brand="honour"] .hero-copy { padding-bottom: 2.5rem; } }
/* Real-image crops */
.hero-photo .photo img { object-position: 78% 30%; }
.photo--band img { object-position: 50% 55%; }

/* Hero slideshow (Honour Board): crossfade between couple and family */
.hero-photo .photo--slide { opacity: 0; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
.hero-photo .photo--slide.is-active { opacity: 1; z-index: 3; }
.hero-photo .photo--family img { object-position: 54% 30%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo .photo--slide img { transform: scale(1.045); transition: transform 8s cubic-bezier(.16, 1, .3, 1); }
  .hero-photo .photo--slide.is-active img { transform: scale(1); }
}
.slides-ctrl {
  position: absolute; z-index: 6; right: max(clamp(16px, 4vw, 48px), calc((100vw - 1200px) / 2)); bottom: 1.25rem;
  display: flex; align-items: center; gap: 0; padding: 0 .25rem;
  background: rgb(31 16 50 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px;
}
.slides-ctrl button { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; border-radius: 999px; }
.slides-ctrl button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.slides-dot::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: rgb(255 255 255 / .55); transition: background-color .3s ease, transform .3s ease; }
.slides-dot:hover::before { background: #fff; }
.slides-dot[aria-current="true"]::before { background: var(--gold); transform: scale(1.25); }
.slides-pause svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.slides-pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero-photo.is-paused .slides-pause .i-pause { display: none; }
.hero-photo.is-paused .slides-pause .i-play { display: block; }
.no-js .slides-ctrl { display: none; }
@media (max-width: 900px) { .slides-ctrl { right: 1rem; bottom: 1.5rem; } }

/* Life stages on phones: a small arched thumbnail beside the text, not a full-width photo */
@media (max-width: 860px) {
  [data-brand="honour"] .stages { gap: 0; }
  [data-brand="honour"] .stage { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
  [data-brand="honour"] .stage:first-child { border-top: 0; padding-top: 0; }
  [data-brand="honour"] .stage .photo { grid-row: 1 / span 3; width: 7rem; aspect-ratio: 1; margin: 0; border-top-left-radius: 50% 24%; border-top-right-radius: 50% 24%; }
  [data-brand="honour"] .stage h3 { font-size: 1.3rem; margin-bottom: .3rem; }
  [data-brand="honour"] .stage p { font-size: 1rem; margin-bottom: .4rem; }
  [data-brand="honour"] .stage-svc { font-size: .85rem; }
  [data-brand="honour"] .stage .photo-ph span { display: none; }
}

/* Photo shapes: wave-edged swirl masks with a gilt feather line (replaces the arched 'plaque' tops) */
:root {
  --swirl-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 16 C14 3 33 0 52 6 C71 12 86 7 100 0 L100 84 C88 97 70 100 51 95 C32 90 15 99 0 93 Z' fill='black'/%3E%3C/svg%3E");
  --swirl-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C17 0 35 3 52 11 C69 19 86 12 100 3 L100 91 C84 100 64 97 46 91 C28 85 13 92 0 99 Z' fill='black'/%3E%3C/svg%3E");
  --swirl-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 2 C15 8 30 14 50 10 C70 6 85 0 100 12 L100 98 C82 91 62 97 44 99 C26 101 12 93 0 85 Z' fill='black'/%3E%3C/svg%3E");
  --swirl-line-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M3 27 C14 10 33 4 52 9' fill='none' stroke='%23d6b25e' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --swirl-line-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C17 6 34 9 50 16' fill='none' stroke='%23d6b25e' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --swirl-line-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M93 19 C85 10 75 6 62 9' fill='none' stroke='%23d6b25e' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
[data-brand="honour"] .stage .photo,
[data-brand="honour"] .photo--portrait,
[data-brand="honour"] .photo--contact {
  border-radius: 0;
  -webkit-mask: var(--swirl-1) center / 100% 100% no-repeat; mask: var(--swirl-1) center / 100% 100% no-repeat;
}
[data-brand="honour"] .stage:nth-child(3n+2) .photo { -webkit-mask-image: var(--swirl-2); mask-image: var(--swirl-2); }
[data-brand="honour"] .stage:nth-child(3n) .photo,
[data-brand="honour"] .photo--contact { -webkit-mask-image: var(--swirl-3); mask-image: var(--swirl-3); }
[data-brand="honour"] .photo--portrait { -webkit-mask-image: var(--swirl-2); mask-image: var(--swirl-2); }

[data-brand="honour"] .stage::after {
  content: ""; position: absolute; pointer-events: none;
  top: 0; left: 0; width: 100%; aspect-ratio: 3 / 2;
  transform: translate(-5%, -5%) scale(1.1); transform-origin: 0 0;
  background: var(--swirl-line-1) 0 0 / 100% 100% no-repeat;
}
[data-brand="honour"] .stage:nth-child(3n+2)::after { background-image: var(--swirl-line-2); }
[data-brand="honour"] .stage:nth-child(3n)::after { background-image: var(--swirl-line-3); }
@media (max-width: 860px) {
  [data-brand="honour"] .stage::after { display: none; }
  [data-brand="honour"] .stage .photo { border-radius: 0; }
}

/* ==========================================================================
   Flourish and motion: settles once, never loops; nothing moves with reduced motion
   ========================================================================== */
:root { --flourish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 14'%3E%3Cpath d='M2 9 C18 2 34 2 48 7 C60 11 74 12 94 4' fill='none' stroke='%23d6b25e' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M30 11 C40 13 50 13 58 11' fill='none' stroke='%23d6b25e' stroke-width='1' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E"); --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* A small gilt swash under section headings, echoing the owl's wing */
[data-brand="honour"] .section-head h2::after,
[data-brand="honour"] .cta-band h2::after {
  content: ""; display: block; width: 96px; height: 14px; margin-top: .7rem;
  background: var(--flourish) 0 0 / 100% 100% no-repeat;
}

/* Navigation: a gilt underline that grows from the centre on hover */
@media (min-width: 1181px) {
  [data-brand="honour"] .site-header .nav a {
    background: linear-gradient(var(--gold), var(--gold)) 50% calc(100% - .3rem) / 0 2px no-repeat;
    transition: background-size .35s var(--ease-out), color .2s ease;
  }
  [data-brand="honour"] .site-header .nav a:hover { background: linear-gradient(var(--gold), var(--gold)) 50% calc(100% - .3rem) / calc(100% - 1rem) 2px no-repeat; }
  [data-brand="honour"] .site-header .nav a[aria-current="page"] { background: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero: copy rises in, then the gilt wing arc draws down beside the photo */
  .js .hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .js[data-brand="honour"] .hero-photo::before { animation: draw-down 1.3s var(--ease-out) .2s both; }
  .js[data-brand="honour"] .hero-photo::after { animation: draw-down 1.6s var(--ease-out) .45s both; }
  .js .hero-photo { animation: settle 1.4s var(--ease-out) both; }

  /* Inner pages: the gilt arc under the banner sweeps in */
  .js[data-brand="honour"] .page-hero::before { animation: sweep 1.4s var(--ease-out) .15s both; }
  .js .page-hero .wrap > * { animation: rise .8s var(--ease-out) both; }
  .js .page-hero .wrap > :nth-child(2) { animation-delay: .06s; }
  .js .page-hero .wrap > :nth-child(3) { animation-delay: .12s; }
  .js .page-hero .wrap > :nth-child(4) { animation-delay: .18s; }

  /* Scroll reveals: added by site.js only to content below the first screen */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .reveal.is-in { opacity: 1; transform: none; }
  [data-brand="honour"] .section-head.reveal h2::after,
  [data-brand="honour"] .cta-band .reveal h2::after { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out) .35s; }
  [data-brand="honour"] .section-head.reveal.is-in h2::after,
  [data-brand="honour"] .cta-band .reveal.is-in h2::after { clip-path: inset(0 0 0 0); }
  [data-brand="honour"] .stage.reveal::after { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms + .4s); }
  [data-brand="honour"] .stage.reveal.is-in::after { clip-path: inset(0 0 0 0); }

  /* Photos breathe a little on hover */
  .stage .photo img, .photo--contact img { transition: transform 1.2s var(--ease-out); }
  .stage:hover .photo img { transform: scale(1.035); }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes draw-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { opacity: 0; } }

/* Serif trial picker (review only; appears with ?serif=) */
.serif-trial { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem .45rem .9rem; background: #16101f; color: #efeaf6; border-radius: 999px; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .45); font: 600 .85rem/1 system-ui, sans-serif; }
.serif-trial select { font: 600 .9rem system-ui, sans-serif; color: #16101f; background: #fff; border: 0; border-radius: 999px; padding: .45rem .7rem; min-height: 2.25rem; }
.serif-trial a { color: #b7aec8; text-decoration: none; padding: .4rem .5rem; }
.serif-trial a:hover { color: #fff; }

/* Service rows: keep heading and text together when a neighbour in the row is taller */
.service { align-content: start; }

/* Wide hero, shorter: a wider copy column so the headline sets in three lines, a lower photo and less padding */
@media (min-width: 901px) {
  [data-brand="honour"]:not([data-layout="compact"]) .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  [data-brand="honour"]:not([data-layout="compact"]) .hero-copy { padding-block: clamp(2rem, 1rem + 2vw, 3.25rem); }
  [data-brand="honour"]:not([data-layout="compact"]) .hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.9rem); max-width: 15ch; }
  [data-brand="honour"]:not([data-layout="compact"]) .hero .lede { max-width: 48ch; margin-bottom: 1.3rem; }
  [data-brand="honour"]:not([data-layout="compact"]) .hero-actions { margin-bottom: 1.1rem; }
  [data-brand="honour"]:not([data-layout="compact"]) .hero-meta { gap: .3rem 1.1rem; font-size: .95rem; }
  [data-brand="honour"]:not([data-layout="compact"]) .hero-photo { min-height: clamp(400px, 34vw, 540px); }
}
.serif-trial { flex-wrap: wrap; max-width: calc(100vw - 2rem); border-radius: 1.4rem; }
.serif-trial label { padding-left: .2rem; }

/* Avoid one-word last lines in intro paragraphs */
.lede, .section-head p, .stage p { text-wrap: pretty; }

/* ==========================================================================
   Typeset (homepage pass, shared components): one role scale, 16px floor,
   Castoro only in its real weights, Atkinson for every label, lining figures
   ========================================================================== */
:root {
  --t-meta:    1rem;                                         /* 16px floor: labels, meta, small print */
  --t-small:   clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);  /* 17–18: card descriptions */
  --t-body:    clamp(1.125rem, 1.08rem + .2vw, 1.25rem);     /* 18–20: reading text */
  --t-lede:    clamp(1.25rem, 1.12rem + .5vw, 1.5rem);       /* 20–24 */
  --t-h4:      1.375rem;                                     /* 22: list headings */
  --t-h3:      clamp(1.5rem, 1.32rem + .6vw, 1.875rem);      /* 24–30: card headings */
  --t-quote:   clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);     /* 26–36 */
  --t-h2:      clamp(2rem, 1.5rem + 1.8vw, 3rem);            /* 32–48 */
  font-synthesis: none;                                      /* never fake a bold or italic */
}
body { font-size: var(--t-body); }
h1, h2, h3, .btn, .nav a, .facts b, .assure b, .since, .topic { font-variant-numeric: lining-nums; }

/* Headings: tighter at display sizes, neutral at card sizes */
[data-brand="honour"] h1 { letter-spacing: -0.012em; }
[data-brand="honour"] :is(.section-head, .split > div, .cta-band .wrap > div) > h2 { font-size: var(--t-h2); letter-spacing: -0.01em; line-height: 1.1; }
[data-brand="honour"] h3 { letter-spacing: 0; }
[data-brand="honour"] .stage h3 { font-size: var(--t-h3); line-height: 1.15; }
[data-brand="honour"] .service h3 { font-size: var(--t-h4); line-height: 1.2; }
[data-brand="honour"] .article-item h2 { font-size: var(--t-h3); line-height: 1.15; }
[data-brand="honour"] .assure b { font-size: 1.25rem; line-height: 1.25; }

/* Reading text */
.lede { font-size: var(--t-lede); line-height: 1.5; }
.section-head p { font-size: var(--t-body); line-height: 1.6; max-width: 60ch; }
.stage p, .service p { font-size: var(--t-small); line-height: 1.6; }
.article-item p { font-size: var(--t-body); max-width: 60ch; }
.on-purple p { line-height: 1.7; letter-spacing: .005em; }   /* light-on-dark: a touch more air */

/* Labels and meta: Atkinson, 16px, semi-bold where they label */
.hero-meta, .assure li, .copyright, .footer-nav, .footer-contact { font-size: var(--t-meta); }
.stage-svc, .topic, .since {
  font-family: var(--font-body); font-size: var(--t-meta); font-weight: 600; letter-spacing: .01em;
  color: var(--orange-ink);
}
.on-purple .since { color: var(--gold); }

/* Facts: Castoro numerals at their real weight, larger instead of fake-bold */
.facts b { font-weight: 400; font-size: 1.875rem; letter-spacing: -0.01em; }

/* Client voice: Castoro italic, opening quote hung into the margin */
.quote blockquote { font-size: var(--t-quote); font-style: italic; line-height: 1.32; text-indent: -0.42em; letter-spacing: 0; }
.quote figcaption { font-size: var(--t-meta); }

/* Compliance text must be as readable as anything else on the page */
.important-body { font-size: var(--t-meta); line-height: 1.7; }
.important h2 { font-size: var(--t-h4); }

/* Typeset fixes after measuring:
   – labels must beat the older, more specific rules
   – Atkinson's zero (which the ch unit measures) is wide, so ch-based measures run long;
     50ch of Atkinson is roughly 65–70 real characters per line */
.quote figcaption .since, .article-item .topic, .stage .stage-svc {
  font-family: var(--font-body); font-size: var(--t-meta); font-weight: 600; letter-spacing: .01em;
}
[data-brand="honour"]:not([data-layout="compact"]) .hero-meta { font-size: var(--t-meta); }
.section-head p, .article-item p { max-width: 50ch; }
.prose { max-width: 52ch; }
.testimonial blockquote { max-width: 50ch; }

/* ==========================================================================
   Colour roles: plum headings over warm umber text, and section grounds drawn
   from the palette, so the page reads in layers instead of one flat tone
   ========================================================================== */
[data-brand="honour"] {
  --heading: #43226a;     /* plum: richer and more chromatic than Board Purple, for titles */
  --ink: #3a302b;         /* warm umber from the jarrah: reading text */
  --ink-soft: #5e524a;    /* warm taupe: secondary text (6.2:1 or better on every ground) */
  --wash-gilt: #f3e8cf;   /* gold-tinted ground */
  --wash-plum: #ede6f1;   /* purple-tinted ground */
  --voice: #6b2f14;       /* deep jarrah: the client's voice */
}

/* Titles in plum wherever the ground is light */
[data-brand="honour"] :is(h1, h2, h3):not(:is(.on-purple, .page-hero, .cta-band, .site-footer, .important) *) { color: var(--heading); }

/* Section grounds (home and services) */
[data-brand="honour"] .assure { background: var(--wash-gilt); border-color: color-mix(in oklab, var(--gold) 45%, var(--wash-gilt)); }
[data-brand="honour"] .assure svg { color: var(--orange-ink); }
[data-brand="honour"] .assure b { color: var(--heading); }

[data-brand="honour"] .section--services { background: var(--wash-plum); }
[data-brand="honour"] .section--services .service { border-top-color: color-mix(in oklab, var(--heading) 22%, var(--wash-plum)); }
[data-brand="honour"] .section--services .service svg { color: var(--heading); }
[data-brand="honour"] .section--services .service:last-child:nth-child(odd) { border-bottom: 1px solid color-mix(in oklab, var(--heading) 22%, var(--wash-plum)); padding-bottom: 1.4rem; }
[data-brand="honour"] .section--services .btn--ghost { --btn-fg: var(--heading); --btn-bd: var(--heading); }
[data-brand="honour"] .section--services .btn--ghost:is(:hover, :focus-visible) { --btn-bg: var(--heading); --btn-fg: #fff; --btn-bd: var(--heading); }

[data-brand="honour"] .section--voice { background: var(--wash-gilt); }
[data-brand="honour"] .section--voice .quote blockquote { color: var(--voice); }
[data-brand="honour"] .section--voice .quote-mark { color: var(--orange); }
[data-brand="honour"] .section--voice .quote figcaption strong { color: var(--heading); }

/* Stage and article accents: plum titles, jarrah labels, umber text */
[data-brand="honour"] .stage-svc, [data-brand="honour"] .article-item .topic { color: var(--orange-ink); }
[data-brand="honour"] .article-item h2 a { color: var(--heading); }
[data-brand="honour"] .article-item h2 a:hover { color: var(--orange-ink); }
[data-brand="honour"] .read-more { color: var(--heading); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
[data-brand="honour"] .read-more:hover { color: var(--orange-ink); }
[data-brand="honour"] .hero .lede { color: var(--ink-soft); }
[data-brand="honour"] .hero-meta svg { color: var(--orange-ink); }

/* The gilt swash sits darker on the washes so it still reads */
[data-brand="honour"] :is(.section--services, .section--voice) .section-head h2::after { filter: saturate(1.2) brightness(.9); }
[data-brand="honour"] .quote figcaption a { color: var(--heading); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
[data-brand="honour"] .quote figcaption a:hover { color: var(--orange-ink); }

/* General-advice warning is compliance text: same 16px floor */
.advice-note { font-size: var(--t-meta); }
.skip:hover, .skip:focus { color: var(--on-purple); }

/* ==========================================================================
   Unslop: fewer template tells
   ========================================================================== */
/* Areas of advice: lettered like an honour board, names over descriptions, no generic icons */
[data-brand="honour"] .service { grid-template-columns: 1fr; gap: .3rem; padding-block: 1.3rem; }
[data-brand="honour"] .service h3 { font-size: var(--t-h4); }

/* Trust strip: one plaque line, items divided by hairlines instead of an icon row */
[data-brand="honour"] .assure li { grid-template-columns: 1fr; gap: .15rem; padding-left: 1.5rem; border-left: 1px solid color-mix(in oklab, var(--gold) 55%, var(--wash-gilt)); }
[data-brand="honour"] .assure li:first-child { padding-left: 0; border-left: 0; }
[data-brand="honour"] .assure b { margin: 0; }
@media (max-width: 980px) {
  [data-brand="honour"] .assure li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  [data-brand="honour"] .assure li { padding-left: 0; border-left: 0; padding-block: .6rem; border-top: 1px solid color-mix(in oklab, var(--gold) 55%, var(--wash-gilt)); }
  [data-brand="honour"] .assure li:first-child { border-top: 0; padding-top: 0; }
}

/* Panels: elevation once (shadow), no coloured top bar */
[data-brand="honour"] .panel { border-top: 0; border-radius: 2px; box-shadow: 0 1px 2px rgb(36 23 51 / .06), 0 18px 40px -22px rgb(36 23 51 / .35); }

/* ==========================================================================
   Spacing rhythm (tightened): section grounds now separate the sections, so
   padding drops; inside, headings hug their swash and intro, content follows close
   ========================================================================== */
:root {
  --space-section: clamp(3rem, 2.2rem + 2.5vw, 4.5rem);    /* 48–72: between section edge and content */
  --space-band:    clamp(2.5rem, 2rem + 1.6vw, 3.5rem);    /* 40–56: short bands (quote) */
  --space-head:    clamp(1.5rem, 1.2rem + 1vw, 2.25rem);   /* 24–36: section head to content */
  --space-group:   clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);/* 28–44: between sibling groups */
}
.section { padding-block: var(--space-section); }
[data-brand="honour"] .section--voice { padding-block: var(--space-band); }
.section-head { margin-bottom: var(--space-head); }
[data-brand="honour"] .section-head h2 { margin-bottom: .5rem; }
[data-brand="honour"] .section-head h2::after { margin-top: .45rem; }
.section-head p { margin-top: .9rem; margin-bottom: 0; }

[data-brand="honour"] .stages { --stage-gap: var(--space-group); }
.stage .photo { margin-bottom: 1rem; }
.stage h3 { margin-bottom: .35rem; }

[data-brand="honour"] .service { padding-block: 1.05rem; }
.split { gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
.facts { margin-top: 1.1rem; }
.facts li { padding-block: .7rem; }
.article-item { padding-block: 1.5rem; }
.quote figcaption { margin-top: .9rem; }

.site-footer { padding-block: clamp(2.5rem, 2rem + 1.5vw, 3.25rem) 1.5rem; }
.footer-top { padding-bottom: 1.75rem; }
.important { padding-top: 1.75rem; }
.copyright { margin-top: 1.75rem; padding-top: 1.1rem; }

.cta-band { padding-block: var(--space-section); }
.page-hero { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) clamp(1.75rem, 1.4rem + 2vw, 3rem); }
[data-brand="honour"] .page-hero { padding-bottom: clamp(3.75rem, 2.75rem + 3.5vw, 6rem); }

/* Type trial only: sans headings need their weight in the places Castoro was pinned to 400 */
.trial-sans-heads .assure b, .trial-sans-heads .facts b,
.trial-sans-heads .service h3, .trial-sans-heads .stage h3 { font-weight: var(--display-weight); }
.trial-sans-heads h1, .trial-sans-heads h2 { letter-spacing: -0.02em; }
.trial-sans-heads .quote blockquote { font-weight: 500; }

/* ==========================================================================
   Type roles: serif is the voice of the content (headings, quotes);
   sans is the interface (nav, buttons, controls) and sits with the sans logo
   ========================================================================== */
[data-brand="honour"] .nav a,
[data-brand="honour"] .btn,
[data-brand="honour"] .nav-toggle {
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0; font-variant-numeric: lining-nums;
}
[data-brand="honour"] .nav a { font-size: 1rem; }
[data-brand="honour"] .btn { font-size: 1.0625rem; }

/* Footer legal text: quiet small print under the footer, no heading, still AA (6:1) */
.important { display: block; padding-top: 1.5rem; }
.important-body { max-width: none; gap: .6rem; font-size: .9375rem; line-height: 1.65; color: #9d90b0; }
.important-body strong { font-weight: 400; color: inherit; }
.important-body a, .important-links a { color: #b3a7c4; font-weight: 400; text-decoration-color: rgb(179 167 196 / .45); }
.important-body a:hover, .important-links a:hover { color: var(--on-purple); }
.important-links { gap: .25rem 1.25rem; margin: 0; }
.copyright { color: #9d90b0; }
.footer-top .brand-plate { justify-self: start; }

/* CFP certification mark: reversed to white, with Dale's contact details in the footer */
.footer-meta { display: grid; gap: 1.25rem; justify-items: start; }
.footer-cfp { width: 84px; height: auto; display: block; opacity: .95; }

/* Footer without the logo: nav on the left, contact and CFP mark on the right */
.footer-top { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* CFP mark sits beside the CFP disclaimer it refers to */
.important-body .cfp-note { display: flex; align-items: center; gap: 1.1rem; }
.important-body .cfp-note .footer-cfp { flex: none; width: 64px; height: auto; }
.footer-meta { gap: 0; }
.important-body .cfp-note { margin-top: .35rem; }
@media (max-width: 700px) {
  .important-body .cfp-note { align-items: flex-start; gap: .9rem; }
  .important-body .cfp-note .footer-cfp { width: 52px; margin-top: .2rem; }
}
.important-body .cfp-note > span { flex: 1 1 auto; max-width: 70rem; }

/* ==========================================================================
   Inner pages, brought in line with the homepage
   ========================================================================== */
/* 1. Page banners: tighter, two-line titles, arc sits closer */
[data-brand="honour"] .page-hero { padding-block: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem) clamp(3.25rem, 2.5rem + 2.5vw, 4.75rem); }
[data-brand="honour"] .page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); max-width: 22ch; line-height: 1.08; margin-bottom: .3em; }
[data-brand="honour"] .page-hero .lede { font-size: var(--t-body); max-width: 56ch; margin: 0; }
[data-brand="honour"] .crumbs { margin-bottom: .75rem; font-size: var(--t-meta); }
[data-brand="honour"] .page-hero::before, [data-brand="honour"] .page-hero::after { height: 170px; }
[data-brand="honour"] .page-hero::after { bottom: -118px; }
[data-brand="honour"] .page-hero::before { bottom: -108px; }

/* 2. Photo bands: a slimmer strip, less image weight */
.photo--band { aspect-ratio: 21 / 6.5; }
@media (max-width: 700px) { .photo--band { aspect-ratio: 16 / 8; } }
[data-brand="honour"] .band-wrap { margin-top: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
[data-brand="honour"] .band-wrap + .section { padding-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }

/* 3a. Documents: hairline rows like Areas of advice, no icon cards */
[data-brand="honour"] .doc-list { gap: 0; margin-top: 1.25rem; }
[data-brand="honour"] .doc-list a {
  grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; background: none; box-shadow: none; border-radius: 0;
  border-top: 1px solid var(--rule); font-family: var(--font-display); font-size: var(--t-h4); color: var(--heading);
}
[data-brand="honour"] .doc-list li:last-child a { border-bottom: 1px solid var(--rule); }
[data-brand="honour"] .doc-list a > svg:first-child { display: none; }
[data-brand="honour"] .doc-list small { font-family: var(--font-body); font-size: var(--t-meta); color: var(--ink-soft); margin-top: .15rem; }
[data-brand="honour"] .doc-list a:hover { box-shadow: none; color: var(--orange-ink); }
[data-brand="honour"] .doc-list .arrow { color: var(--orange-ink); }

/* 3b. Links: same rows; names in Castoro, URLs in Atkinson */
[data-brand="honour"] .link-list { grid-template-columns: 1fr; gap: 0; max-width: 52rem; }
[data-brand="honour"] .link-list a {
  grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 2rem; align-items: baseline; padding: 1.1rem 0;
  background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--rule);
}
[data-brand="honour"] .link-list li:last-child a { border-bottom: 1px solid var(--rule); }
[data-brand="honour"] .link-list strong { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h4); color: var(--heading); grid-column: 1; }
[data-brand="honour"] .link-list span:not(.url) { grid-column: 1; font-size: var(--t-small); }
[data-brand="honour"] .link-list .url { grid-column: 2; grid-row: 1; font-family: var(--font-body); font-weight: 600; font-size: var(--t-meta); color: var(--orange-ink); }
[data-brand="honour"] .link-list a:hover { box-shadow: none; }
[data-brand="honour"] .link-list a:hover strong { color: var(--orange-ink); }
@media (max-width: 600px) { [data-brand="honour"] .link-list .url { grid-column: 1; grid-row: auto; } }

/* 4. Client voice everywhere: Castoro italic in deep jarrah */
[data-brand="honour"] .testimonial { border-top-color: var(--rule); padding-top: 1.75rem; }
[data-brand="honour"] .testimonial-list { gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
[data-brand="honour"] .testimonial blockquote p:first-child { font-style: italic; color: var(--voice); font-size: 1.2em; line-height: 1.35; }
[data-brand="honour"] .testimonial .since-big { color: var(--heading); font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3.25rem); }
[data-brand="honour"] .testimonial .since-big small { font-family: var(--font-body); font-weight: 600; color: var(--orange-ink); font-size: var(--t-meta); }
[data-brand="honour"] .testimonial cite { color: var(--heading); }
[data-brand="honour"] .pullquote { font-style: italic; color: var(--voice); border-block: 1px solid color-mix(in oklab, var(--gold) 70%, transparent); padding-block: 1.1em; margin-block: 1.8em; }
[data-brand="honour"] .prose > .lede:first-of-type { font-family: var(--font-display); font-style: italic; color: var(--voice); font-size: var(--t-quote); line-height: 1.3; max-width: 30ch; }

/* Contact: the office details heading at h3 scale, map card quieter */
[data-brand="honour"] .contact-grid > div > h2 { font-size: var(--t-h3); }
[data-brand="honour"] .map-card { box-shadow: none; border-top: 1px solid var(--rule); border-radius: 0; background: none; }
[data-brand="honour"] .map-card a { padding-inline: 0; color: var(--heading); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* Practice section without a portrait: the facts take the right-hand column */
.split--facts { align-items: center; }
.split--facts > .facts { margin-top: 0; }
.split--facts > .facts li:first-child { border-top: 0; }

/* Prose headings scale with their column, not the window, so a heading breaks
   in the same place at every width (the column barely grows, and narrows when
   the sidebar appears above 960px). */
.prose { container-type: inline-size; }
.prose h2 { font-size: clamp(1.375rem, 4.4cqi, 2.1rem); }
