:root {
  /* Brand world: the logo's black and gold, with a warm paper for reading sections.
     Layout idea: a line of steps runs through the page, ending in an open ring, "the next thing". */
  --ink: #121212;          /* logo background */
  --ink-2: #1c1b19;        /* raised dark surface */
  --gold: #C8B568;         /* Laser 1, brand gold */
  --gold-deep: #8A5E25;    /* dark end of the logo gradient, for gold text on light */
  --gold-light: #F1E3A0;   /* light end of the logo gradient */
  --paper: #FBFAF7;        /* reading background */
  --text: #24221F;         /* body text on paper */
  --muted: #6B665E;        /* secondary text on paper */
  --muted-dark: #B9B3A8;   /* secondary text on ink */
  --rule: #E4DED2;
  --tint: #F3ECD8;         /* soft gold tint for the lead service */

  --display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  letter-spacing: .04em;
  padding: .95em 1.6em .8em;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-dark { background: var(--ink); color: var(--gold); border: 1px solid var(--ink); }
.btn-dark:hover { background: #2A2824; border-color: #2A2824; }
.btn-line { color: var(--gold); border: 1px solid rgba(200,181,104,.55); }
.btn-line:hover { border-color: var(--gold); background: rgba(200,181,104,.08); }

.text-link {
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .03em;
  text-decoration: none; color: var(--gold-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--text); }
.dark .text-link { color: var(--gold); }
.dark .text-link:hover { color: var(--gold-light); }

/* Header */
.dark { background: var(--ink); color: #F2EFE8; }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: .06em; color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); flex-wrap: wrap; }
.nav a:not(.btn) {
  font-family: var(--display); font-size: 1rem; letter-spacing: .04em;
  color: #E9E4D9; text-decoration: none; padding: 6px 0;
}
.nav a:not(.btn):hover { color: var(--gold); }
.nav .btn { padding: .7em 1.3em .55em; font-size: .95rem; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.hero-grid { display: block; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  color: #FAF8F3;
  max-width: 15ch;
}
.hero .cred {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--gold);
  margin: 28px 0 0;
  letter-spacing: .01em;
}
.hero .lead { color: #D9D4C9; max-width: 34em; margin: 30px 0 36px; font-size: 1.3rem; }

/* The line of steps */
.steps { margin-top: clamp(48px, 7vw, 80px); }
.steps svg { width: 100%; height: auto; display: block; overflow: visible; }
.steps .caption {
  display: flex; justify-content: flex-end;
  font-family: var(--display); font-size: .95rem; color: var(--gold); letter-spacing: .05em;
  margin-top: 10px;
}
.step-dot { fill: var(--gold); opacity: .9; }
.next-ring { fill: none; stroke: url(#goldGrad); stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .step-dot { animation: brighten .5s ease-out both; }
  .step-dot:nth-of-type(1) { animation-delay: .15s; }
  .step-dot:nth-of-type(2) { animation-delay: .3s; }
  .step-dot:nth-of-type(3) { animation-delay: .45s; }
  .step-dot:nth-of-type(4) { animation-delay: .6s; }
  .step-dot:nth-of-type(5) { animation-delay: .75s; }
  .step-dot:nth-of-type(6) { animation-delay: .9s; }
  .next-ring { animation: ring 1.2s 1.1s ease-out both; }
  @keyframes brighten { from { opacity: .3; } to { opacity: .9; } }
  @keyframes ring { from { stroke-width: 1; opacity: .5; } to { stroke-width: 2.5; opacity: 1; } }
}

/* Credentials */
.creds { border-bottom: 1px solid var(--rule); }
.creds ul {
  list-style: none; margin: 0; padding: 26px 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.creds li {
  font-family: var(--display); font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text);
  padding: 6px 24px; border-left: 2px solid var(--gold);
}
.creds li:first-child { padding-left: 24px; }

/* Intro */
.intro { padding: clamp(64px, 9vw, 112px) 0; }
.intro-inner { max-width: 760px; }
.intro .big {
  font-family: var(--body); font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.35;
  margin: 0 0 28px; color: var(--text);
}
.intro p:last-child { color: var(--muted); max-width: 36em; margin: 0; font-size: 1.2rem; }

/* Services */
.services { padding: 0 0 clamp(64px, 9vw, 96px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--text); }

.feature {
  background: var(--tint); color: var(--text);
  border: 1px solid #E6DAB4;
  border-radius: 6px;
  padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.feature .tag { font-family: var(--display); color: var(--gold-deep); font-size: 1rem; letter-spacing: .04em; margin: 0 0 14px; }
.feature h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--text); margin-bottom: 18px; }
.feature p { margin: 0 0 26px; color: #4A453D; max-width: 32em; }

/* Year 7 to 13 sequence */
.years { width: 100%; }
.years ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); position: relative;
}
.years ol::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 50%; height: 1px;
  background: linear-gradient(90deg, #8A5E25, var(--gold-light), #8A5E25);
}
.years li {
  position: relative; justify-self: center;
  width: clamp(36px, 4.4vw, 50px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: clamp(.85rem, 1.4vw, 1.05rem);
  background: var(--tint); color: var(--gold-deep); border: 1.5px solid var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.years li.sixth { background: var(--gold-deep); border-color: var(--gold-deep); color: #FFFDF6; }
.years .years-caption {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-family: var(--display); font-size: .9rem; color: var(--muted); letter-spacing: .03em;
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(20px, 3vw, 32px); }
.panel {
  border-top: 2px solid var(--gold);
  padding: 28px 4px 0 0;
}
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--text); margin-bottom: 12px; font-weight: 400; }
.panel p { margin: 0 0 20px; color: var(--muted); max-width: 30em; }

/* Call to action */
.cta { padding: 0 0 clamp(72px, 10vw, 112px); }
.cta-inner { border-top: 2px solid var(--gold); padding-top: clamp(40px, 6vw, 56px); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta .btn { justify-self: start; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); margin-bottom: 14px; }
.cta p { margin: 0; color: var(--muted); max-width: 32em; }

/* Footer */
.site-foot { background: #0B0B0B; color: var(--muted-dark); padding: 56px 0 40px; font-size: .95rem; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot-top img { width: 220px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--display); letter-spacing: .04em; }
.foot-links a { text-decoration: none; color: #E9E4D9; }
.foot-links a:hover { color: var(--gold); }
.foot-contact { margin-top: 10px; }
.foot-contact a { color: var(--gold); text-decoration: none; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2A2824; line-height: 1.6; font-size: .9rem; }
.legal p { margin: 0 0 6px; }
.legal a { color: var(--muted-dark); }

/* Small screens */
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .creds ul { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .nav { width: 100%; }
  .brand span { font-size: .95rem; }
  body { font-size: 1.125rem; }
}

/* ---------- Inner pages ---------- */
.page-top { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.page-top h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: #FAF8F3; max-width: 18ch; }
.page-top .lead { color: #D9D4C9; max-width: 36em; margin: 20px 0 0; font-size: 1.22rem; }
.page-top .steps { margin-top: clamp(32px, 5vw, 48px); }

.nav a[aria-current="page"] { color: var(--gold); }

.section { padding: clamp(56px, 8vw, 96px) 0 0; }
.section:last-of-type { padding-bottom: clamp(64px, 9vw, 104px); }
.section > .wrap > h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--text); margin-bottom: 18px; }
.section-intro { max-width: 36em; color: var(--muted); margin: 0 0 32px; font-size: 1.2rem; }

.feature.full { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.feature h4, .detail h4 {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  color: var(--gold-deep); margin: 26px 0 8px;
}
.feature ul, .detail ul { margin: 0; padding-left: 1.1em; }
.feature li, .detail li { margin: 0 0 8px; }
.feature li::marker, .detail li::marker { color: var(--gold-deep); }
.feature .years { margin-top: 12px; }
.feature .aside p { margin: 0; }

.strands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px clamp(20px, 3vw, 40px); }
.strand { border-top: 2px solid var(--gold); padding-top: 18px; }
.strand h3 { font-size: 1.45rem; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.strand p { margin: 0; color: var(--muted); }

.detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.detail > div > p:first-child { margin-top: 0; }
.detail .note {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; align-self: start;
  font-size: 1.15rem; color: var(--muted);
}
.detail .note strong { display: block; font-family: var(--display); font-weight: 600; color: var(--text); font-size: 1.05rem; margin-bottom: 6px; }

.examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.examples li { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 26px 24px; }
.examples h3 { font-size: 1.35rem; font-weight: 400; color: var(--text); margin-bottom: 10px; }
.examples p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); position: relative; }
.process::before { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; height: 1px; background: var(--gold); opacity: .7; }
.process li { position: relative; padding-top: 52px; color: var(--text); }
.process li::before {
  content: ""; position: absolute; top: 9px; left: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
}
.process li:last-child::before { top: 0; left: 0; width: 30px; height: 30px; background: var(--paper); border: 2px solid var(--gold-deep); }
.process strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.process span { color: var(--muted); }

/* About */
.prose { max-width: 38em; }
.prose p { margin: 0 0 1.1em; }
.prose p:first-child { font-size: 1.4rem; line-height: 1.45; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quals { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 28px; }
.quals h2 { font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 14px; }
.quals ul { margin: 0; padding: 0; list-style: none; }
.quals li { padding: 12px 0; border-top: 1px solid var(--rule); }
.quals li:first-child { border-top: 0; padding-top: 0; }
.next-thing {
  background: var(--tint); border: 1px solid #E6DAB4; border-radius: 6px;
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start;
}
.next-thing svg { width: clamp(72px, 9vw, 104px); height: auto; }
.next-thing h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--text); margin-bottom: 16px; }
.next-thing p { margin: 0 0 1em; max-width: 36em; }
.next-thing p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
form .field { display: grid; gap: 6px; margin-bottom: 20px; }
form label { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .02em; color: var(--text); }
form .opt { font-weight: 400; color: var(--muted); }
form input, form textarea {
  font: inherit; font-size: 1.05rem; color: var(--text);
  background: #fff; border: 1px solid #CFC7B6; border-radius: 4px; padding: 12px 14px; width: 100%;
}
form textarea { min-height: 160px; resize: vertical; }
form input:focus, form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.small { font-size: .95rem; color: var(--muted); margin: 4px 0 22px; }
.small a { color: var(--gold-deep); }
.hidden { position: absolute; left: -9999px; }
form .btn { border: 0; cursor: pointer; }
.form-msg { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--gold-deep); background: var(--tint); display: none; }
.form-msg.show { display: block; }
.contact-aside { border-left: 2px solid var(--gold); padding-left: 24px; }
.contact-aside h2 { font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 10px; }
.contact-aside p { margin: 0 0 14px; color: var(--muted); }
.contact-aside a { color: var(--gold-deep); font-weight: 500; word-break: break-word; }

/* Privacy */
.legal-text { max-width: 40em; }
.legal-text h2 { font-size: 1.6rem; font-weight: 400; color: var(--text); margin: 40px 0 10px; }
.legal-text p, .legal-text li { color: var(--text); }
.legal-text a { color: var(--gold-deep); }

@media (max-width: 860px) {
  .feature.full, .detail, .about-grid, .contact-grid, .next-thing { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process::before { left: 15px; right: auto; top: 15px; bottom: 15px; width: 1px; height: auto; }
  .process li { padding-top: 0; padding-left: 52px; }
  .process li::before { top: 6px; }
  .process li:last-child::before { top: 0; }
}
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

/* Service pages */
.h-sub { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--text); margin-bottom: 18px; }
.pull { font-family: var(--body); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--text); border-left: 3px solid var(--gold); padding-left: 22px; margin: 0 0 24px; }
.prose-plain p { max-width: 38em; }
.ticks { margin: 0; padding-left: 1.1em; }
.ticks li { margin: 0 0 10px; }
.ticks li::marker { color: var(--gold-deep); }
.examples.one { grid-template-columns: minmax(0, 560px); }
.examples:not(.one) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.back { margin: 36px 0 0; }
.next-thing > div:first-child:empty { display: none; }
.next-thing:has(> div:first-child:empty) { grid-template-columns: 1fr; }
.detail .note .years { margin-bottom: 4px; }
.strands.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .strands.two { grid-template-columns: 1fr; } }

/* ---------- Light top (November 2026): cream header and hero, black only in the footer ---------- */
:root { --cream: #F5EFE2; }
.site-head { background: var(--cream); border-bottom: 1px solid #E6DCC6; }
.brand span { color: var(--gold-deep); }
.nav a:not(.btn) { color: var(--text); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold-deep); }
.hero, .page-top { background: var(--cream); color: var(--text); }
.hero h1, .page-top h1 { color: var(--text); font-weight: 300; }
.hero .lead, .page-top .lead { color: #5A544A; }
.hero .lead { margin: 22px 0 34px; }
.steps .caption { color: var(--gold-deep); }
.step-dot { fill: var(--gold-deep); opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes brighten { from { opacity: .25; } to { opacity: .75; } }
}

/* Home sections */
.prose-home h2, .section > .wrap > h2, .band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--text); margin-bottom: 18px; }
.prose-home p { max-width: 36em; margin: 0 0 1em; color: var(--muted); }
.prose-home .big { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.4; color: var(--text); }

/* Specialism cards: one style for all three */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.card {
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--gold);
  border-radius: 6px; padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column;
}
.card h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); font-weight: 400; color: var(--text); margin-bottom: 12px; }
.card p { margin: 0 0 22px; color: var(--muted); flex: 1; }
.card .text-link { align-self: flex-start; }
.also { margin: 28px 0 0; color: var(--muted); max-width: 46em; }
.also .text-link { white-space: nowrap; margin-left: .3em; }

/* Who I work with */
.band { background: var(--tint); margin-top: clamp(56px, 8vw, 96px); padding: clamp(44px, 6vw, 72px) 0; }
.band p { margin: 0; max-width: 38em; font-size: 1.25rem; line-height: 1.5; }
.avail { margin-top: 12px !important; color: var(--text) !important; font-weight: 500; }

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

/* Article */
.article { max-width: 40em; }
.article .byline { font-family: var(--display); font-size: .95rem; letter-spacing: .04em; color: var(--gold-deep); margin: 0 0 28px; }
.article p { margin: 0 0 1.1em; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 400; color: var(--text); margin: 44px 0 14px; }
.article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article li { margin: 0 0 12px; }
.article li::marker { color: var(--gold-deep); font-family: var(--display); font-weight: 600; }
.article strong { font-weight: 600; }
.article .closing { font-size: 1.3rem; line-height: 1.45; border-left: 3px solid var(--gold); padding-left: 20px; margin-top: 32px; }
.read-more { margin: 36px 0 0; color: var(--muted); }
.read-more + .back { margin-top: 14px; }
.feature-link {
  display: grid; gap: 10px; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: clamp(24px, 4vw, 40px); max-width: 52em;
}
.feature-link .fl-label { font-family: var(--display); font-size: .95rem; letter-spacing: .04em; color: var(--gold-deep); }
.feature-link .fl-title { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.feature-link .fl-text { color: var(--muted); max-width: 40em; }
.feature-link .text-link { justify-self: start; margin-top: 6px; }
.feature-link:hover { border-color: var(--gold); }
