/* Coached by Johan: Home, Personal Training, Coaching and Contact, one stylesheet.
 *
 * Palette and type follow his printed documents (JustFitness docs/coached-by-johan/chalkie-doc.css)
 * and his business card: ink, parchment, lime. Lime is a FILL on light grounds and never type there
 * (about 1.5:1 on white); where accent has to be read on light it takes --accent. On ink, lime may
 * be type, the card's own pairing.
 *
 * Photos are optional everywhere. Each photo slot is a <figure class="slot"> holding a fallback;
 * the moment an <img> is its first child, `.slot:has(> img)` hides the fallback and the photo takes
 * over. Empty slots must look designed, not missing.
 */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #16181d;
  --ink-2: #20232b;
  --ink-3: #2b2f39;
  --parchment: #f5f5f7;
  --paper: #ffffff;
  --ground: var(--parchment); /* the page and plain sections: pure white was harsh (Johan, 2026-11-04) */
  --tint: #ebebef;            /* the alternate sections (.tint, the facts strip), a shade deeper */
  --muted: #4d525e;
  --faint: #6b7280;
  --line: #d9dde5;
  --lime: #bef264;
  --lime-ink: #1c2b06;
  --accent: #436d00;
  --on-dark: #f5f5f7;
  --on-dark-muted: #b3b8c3;
  --on-dark-line: rgba(245, 245, 247, 0.14);

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header: 64px;
}

* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 400 1.0625rem/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Short pages (404, message sent): the main area grows so the footer always reaches the bottom. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
main:has(> .page-hero:only-child) { display: flex; flex-direction: column; }
main > .page-hero:only-child { flex: 1 0 auto; } /* a hero-only page: the dark hero fills the space */

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 600; }
h1, h2, h3 { font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
section[id], [id="online"] { scroll-margin-top: calc(var(--header) + 16px); }
@media (max-width: 600px) { :root { --header: 108px; } } /* two-row header on phones */

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

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.028em; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; }


.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--on-dark-muted); max-width: 34em; margin: 22px 0 0; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 14px 0 0; max-width: 38em; }
.dark .sub { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); border: 1.5px solid var(--lime);
  font: 600 1rem/1 inherit; font-family: inherit; text-decoration: none; text-align: center;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: #cbf57f; border-color: #cbf57f; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(245,245,247,.32); }
.btn-ghost:hover { background: rgba(245,245,247,.08); border-color: rgba(245,245,247,.6); }
.btn-dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; gap: 0.28em; }

/* Tactile buttons (Johan, 2026-11-04, the toned-down version of three): a soft top-to-bottom
 * gradient, a light edge along the top, a darker one along the bottom, a small contact shadow and a
 * faint lime glow that comes up on hover. No glow on the header pill. Pressing sinks the button in. */
.btn {
  --lift: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(28,43,6,.14), 0 1px 2px rgba(0,0,0,.35);
  background: linear-gradient(#d0f78a, #b3e956); border-color: #a6dc48;
  box-shadow: var(--lift), 0 6px 18px -8px rgba(190,242,100,.3);
  transition: transform .12s ease, box-shadow .12s ease, filter .15s ease;
}
.btn:hover { background: linear-gradient(#d0f78a, #b3e956); border-color: #a6dc48; filter: brightness(1.05); box-shadow: var(--lift), 0 8px 24px -6px rgba(190,242,100,.5); }
.nav .btn, .nav .btn:hover { box-shadow: var(--lift); }
.btn-ghost, .btn-ghost:hover {
  background: linear-gradient(rgba(245,245,247,.08), rgba(245,245,247,.02)); border-color: rgba(245,245,247,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 0 rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.4);
}
.btn-ghost:hover { border-color: rgba(245,245,247,.5); }
.btn-dark, .btn-dark:hover {
  background: linear-gradient(#2b2f39, var(--ink)); border-color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -6px rgba(22,24,29,.5);
}
.btn:active, .btn-ghost:active, .btn-dark:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.28); }
.nav .btn[aria-current], .nav .btn[aria-current]:hover { background: transparent; border-color: var(--lime); box-shadow: none; filter: none; }

.text-link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--accent); }
.link-row { display: flex; flex-wrap: wrap; gap: 0 22px; }
.suburbs-note { margin: 28px 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Header ---------- */
/* Header. At the top of the page it's a full-width bar. Once the page scrolls (site.js adds
 * .scrolled) the bar fades away and its contents shrink into a floating glass pill, like Apple's
 * product menus (Johan, 2026-11-04). The header's own height never changes, so nothing below jumps. */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--header); color: var(--on-dark);
  background: rgba(22,24,29,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: padding .35s cubic-bezier(.2,.8,.2,1), background-color .35s ease, backdrop-filter .35s ease, -webkit-backdrop-filter .35s ease;
}
.top-in {
  height: var(--header); display: flex; align-items: center; gap: 24px;
  border: 1px solid transparent; border-radius: 999px;
  transition: max-width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1),
    padding .35s cubic-bezier(.2,.8,.2,1), background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.brand img { transition: width .35s ease, height .35s ease; }
.top.scrolled { padding-top: 10px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top.scrolled .top-in {
  max-width: calc(var(--wrap) - 96px); width: calc(100% - 2 * var(--gutter)); height: 52px;
  padding: 0 8px 0 10px;
  background: rgba(22,24,29,.72); border-color: rgba(245,245,247,.12);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 32px -14px rgba(0,0,0,.55);
}
.top.scrolled .brand img { width: 34px; height: 34px; }
@media (prefers-reduced-motion: reduce) { .top, .top-in, .brand img { transition: none; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; color: var(--on-dark-muted); transition: color .15s ease; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--on-dark); }
.nav a:not(.btn)[aria-current] { color: var(--on-dark); border-bottom-color: var(--lime); }
.nav .btn[aria-current] { background: transparent; color: var(--lime); }
/* Phones: the brand with the Contact button on the first row, the other pages on a second row. */
@media (max-width: 600px) {
  .top-in { position: relative; height: auto; flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 10px; }
  .nav { width: 100%; justify-content: flex-start; gap: 22px; margin-top: 8px; }
  .nav a:not(.btn) { white-space: nowrap; }
  .nav .btn { position: absolute; top: 10px; right: var(--gutter); transition: top .35s ease, right .35s ease; }
  /* The pill holds two rows here, so it's a rounded rectangle. */
  .top.scrolled { padding-top: 6px; }
  .top.scrolled .top-in { height: auto; padding: 7px 12px 6px; border-radius: 22px; }
  .top.scrolled .nav { margin-top: 4px; }
  .top.scrolled .nav .btn { top: 7px; right: 10px; }
}

/* ---------- Dark sections ---------- */
.dark { background: var(--ink); color: var(--on-dark); }
.tint { background: var(--tint); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.hero::before, .page-hero::before { /* a soft lime glow behind the visual, the only decoration */
  content: ""; position: absolute; width: 760px; height: 760px; right: -180px; top: -120px;
  background: radial-gradient(closest-side, rgba(190,242,100,.13), rgba(190,242,100,0)); pointer-events: none;
}
/* Grain over the dark heroes: a fine noise breaks up the banding in the soft glow and gives the ink
 * some texture. The noise is an inline SVG (fractal noise), so there's no image to load.
 * --grain sets its strength: 0.08 (Johan picked it from three, 2026-11-04). */
:root { --grain: 0.08; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero > *, .page-hero > * { position: relative; z-index: 1; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero-copy h1 { max-width: 13em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .slot-hero { max-width: 420px; justify-self: center; width: 100%; }
}
@media (max-width: 520px) { .cta-row .btn { width: 100%; } .slot-hero { max-width: 300px; } }

/* Page hero: the dark opening band of Personal Training, Coaching and Contact. */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(52px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { max-width: 14em; }

/* ---------- Photo slots ---------- */
.slot { margin: 0; position: relative; }
.slot:has(> img) > .slot-fallback { display: none; }
.slot > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Hero: without a photo, the logo badge sits in a ringed stage; with one, a 4:5 portrait. */
.slot-hero:has(> img) { aspect-ratio: 4 / 5; }
.slot-hero > img:first-child { border-radius: 28px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.badge-stage {
  position: relative; aspect-ratio: 1; margin: 14px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--ink-3), var(--ink-2) 70%);
  box-shadow: inset 0 0 0 1px var(--on-dark-line), 0 40px 90px -40px rgba(0,0,0,.7);
}
.badge-stage::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--lime); opacity: .55; clip-path: polygon(50% 50%, 100% 0, 100% 100%, 0 100%, 0 70%); }
.badge { width: 84%; }

.chips { position: absolute; inset: 0; pointer-events: none; }
/* Without a photo the chips sit under the badge: over it they would cover the ring's lettering. */
.slot-hero:not(:has(> img)) .chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.slot-hero:not(:has(> img)) .chip { position: static; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; white-space: nowrap;
  background: rgba(32,35,43,.9); color: var(--on-dark); border: 1px solid var(--on-dark-line);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); backdrop-filter: blur(6px);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.chip-a { left: -6%; top: 9%; }
.chip-b { right: -4%; bottom: 10%; }
.slot-hero:has(> img) .chip-a { left: -8%; top: auto; bottom: 22%; }
.slot-hero:has(> img) .chip-b { bottom: 8%; right: -6%; }
@media (max-width: 520px) { .slot-hero:has(> img) .chip-a { left: 0; } .slot-hero:has(> img) .chip-b { right: 0; } }

/* About: without a photo, the three words of the descriptor set in type on ink. */
.slot-about { aspect-ratio: 4 / 5; }
.words {
  position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(28px, 5vw, 52px);
}
.words span { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.words span:nth-child(2) { color: var(--lime); }
/* The third word in chalk: solid letters with the chalk grain of the card outlines (Johan picked it
 * from three, 2026-11-04). A plain outline showed the overlapping pieces inside Inter's letters. */
.words span:nth-child(3) {
  color: rgba(245,245,247,.82); -webkit-text-stroke: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.6 0 0 0 -0.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E") 0 0 / 160px 160px repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.6 0 0 0 -0.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E") 0 0 / 160px 160px repeat;
}
.words img { position: absolute; width: 32%; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); }

/* Wide: no fallback at all, it simply isn't there until a photo is. */
.slot-wide { display: none; }
.slot-wide:has(> img) { display: block; aspect-ratio: 21 / 9; margin-top: 28px; }

/* ---------- Facts strip ---------- */
.facts { background: var(--tint); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px 28px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.fact strong { display: block; font-size: 0.98rem; line-height: 1.35; }
.fact span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.fact-link { color: inherit; text-decoration: none; }
.fact-go { display: inline-block; margin-top: 6px; font-style: normal; font-size: 0.9rem; font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fact-go::after { content: " \2192"; }
.fact-link:hover .fact-go { text-decoration-color: var(--accent); }
@media (max-width: 980px) { .fact { padding: 22px 16px 22px 0; } .fact + .fact { padding-left: 16px; } }
@media (max-width: 680px) {
  .facts-in { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }

/* Steps */
/* Timeline (Personal Training, How it works). The numbered dots sit on a vertical chalk line; each
   step is a chalk-outlined card. Photos beside it are optional: with none, the timeline is a
   centred column; with one or two, it takes the left and the photos the right. */
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 1rem; }
.journey { max-width: 780px; }
.journey:has(.slot > img) { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.journey-photos { display: none; }
/* One photo: a single portrait. Two: the first large on the right, the second smaller and
   overlapping its lower left, ringed in the section's ground, so the pair is about as tall as the
   timeline. */
.journey:has(.slot > img) .journey-photos { display: grid; gap: 16px; width: 100%; max-width: 400px; justify-self: center; }
.journey-photos:has(> .slot:nth-child(1) > img):has(> .slot:nth-child(2) > img) { display: block; position: relative; max-width: 520px; padding-bottom: 22%; }
.journey-photos:has(> .slot:nth-child(2) > img) > .slot:nth-child(1) { width: 78%; margin-left: auto; }
.journey-photos:has(> .slot:nth-child(1) > img) > .slot:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 50%; }
.journey-photos:has(> .slot:nth-child(1) > img) > .slot:nth-child(2) > img { box-shadow: 0 0 0 6px var(--tint); }
.slot-step { display: none; }
.slot-step:has(> img) { display: block; aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .journey:has(.slot > img) { grid-template-columns: 1fr; }
}

.timeline { --dot: 44px; --gap: 28px; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.timeline li { position: relative; display: grid; grid-template-columns: var(--dot) 1fr; column-gap: clamp(18px, 3vw, 32px); align-items: start; }
.timeline .step-n { position: relative; z-index: 1; margin-top: 22px; box-shadow: 0 0 0 6px var(--tint); }
/* The chalk line: one segment per step, from this dot's centre to the next one's. */
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(var(--dot) / 2 - 9px); width: 18px;
  top: calc(22px + var(--dot) / 2); bottom: calc(-1 * var(--gap) - 22px - var(--dot) / 2);
  background: var(--chalk-stroke); opacity: .7;
  -webkit-mask: var(--chalk-line-v) center / 100% 100% no-repeat;
  mask: var(--chalk-line-v) center / 100% 100% no-repeat;
}
.t-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 28px; }
.t-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.t-card p { color: var(--muted); }
.t-card .text-link { margin-top: 14px; }
@media (max-width: 520px) {
  .timeline { --dot: 36px; --gap: 22px; }
  .timeline .step-n { margin-top: 20px; font-size: .92rem; }
  .timeline li:not(:last-child)::before { top: calc(20px + var(--dot) / 2); bottom: calc(-1 * var(--gap) - 20px - var(--dot) / 2); }
  .t-card { padding: 22px 20px 24px; }
}


/* Tick list (Coaching, who it's for) */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.ticks li { position: relative; padding-left: 34px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--lime);
  -webkit-mask: none;
}
.ticks li::after { content: ""; position: absolute; left: 7.5px; top: 5px; width: 5px; height: 9px; border: solid var(--lime-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 720px) { .ticks { grid-template-columns: 1fr; } }

/* Online coaching (Coaching page): an ink card with light chalk, like "Not sure where to start?" on
 * Home. It was a full lime band, which Johan found jarring (2026-11-04, picked from three). */
.online {
  margin-top: 20px; display: flex; align-items: center; gap: 22px; padding: 28px 30px; border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark); --chalk-stroke: rgba(245,245,247,.8); --chalk-dust: rgba(245,245,247,.38);
}
.online-copy { flex: 1; min-width: 0; }
.online h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.online p { max-width: 36em; color: var(--on-dark-muted); }
.online .btn { flex: none; }
.online-ic { flex: none; width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: rgba(190,242,100,.12); fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .online { flex-direction: column; align-items: flex-start; } .online .btn { width: 100%; } }

/* FAQ toggles */
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font-size: 1.2rem; font-weight: 400; transition: transform .2s ease; }
details[open] > summary::after { transform: rotate(45deg); }


/* Home: What I offer, one card per service, the last one dark. */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 26px; text-decoration: none; transition: border-color .15s ease; }
.offer p:last-child { margin-bottom: 0; }
a.offer:hover { border-color: var(--accent); }
.offer svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.offer h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.offer p { color: var(--muted); }
.offer .go { margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--accent); }
.offer .go::after { content: " \2192"; }
.offer-start { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.offer-start:hover { border-color: var(--lime); }
.offer-start svg { stroke: var(--lime); }
.offer-start p { color: var(--on-dark-muted); }
.offer-start .go { color: var(--lime); }
@media (max-width: 940px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .offers { grid-template-columns: 1fr; } .offer { padding: 24px 22px 22px; } }

/* Coaching explainer: four chalk cards two across, three numbered step cards, and Who it's for with
   the heading beside the list on wide screens. */
.offers-two { grid-template-columns: 1fr 1fr; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.offer .step-n { margin-bottom: 18px; }
.how-steps + .online { margin-top: 28px; }
.who-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 88px); align-items: center; }
.who-in .section-head { margin-bottom: 0; }
.who-in .ticks { grid-template-columns: 1fr; gap: 16px; font-size: 1.08rem; }
@media (max-width: 860px) { .who-in { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .offers-two { grid-template-columns: 1fr; } }
@media (max-width: 940px) { .how-steps { grid-template-columns: 1fr; } }

/* Journal: the list of articles (chalk cards, two across), the note shown while there are none,
   and the article page itself. */
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.posts:not(:has(.post)) { display: none; }
.journal:has(.post) .posts-empty { display: none; }
.post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 26px; text-decoration: none; }
.post time { font-size: 0.9rem; color: var(--muted); }
.post h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 8px 0 10px; }
.post p { color: var(--muted); }
.post .go { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--accent); }
.post .go::after { content: " \2192"; }
.posts-empty { max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 32px 30px; }
.posts-empty h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.posts-empty p { color: var(--muted); }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } }

.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: none; }
.back { display: inline-block; margin-bottom: 18px; font-size: 0.95rem; font-weight: 600; color: var(--lime); text-decoration: none; }
.back::before { content: "\2190  "; }
.byline { margin: 18px 0 0; color: var(--on-dark-muted); font-size: 0.95rem; }
.prose { font-size: 1.1rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--ink); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose ul li::marker { color: var(--accent); }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--lime); font-size: 1.2rem; }
.prose a { color: var(--accent); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose img { border-radius: var(--radius-sm); margin-block: 1.6em; }
.prose p { margin-bottom: 0; }

/* ---------- Enquiry form (Contact) ----------
 * On the dark contact band: an ink panel with a light chalk outline, white inputs, lime choices.
 * Errors on ink use a light coral that reads at AA on --ink-2. */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
/* Beside the form: the contact tiles two by two, then where & when, all on the one dark screen. */
.contact-side { display: grid; gap: 16px; min-width: 0; }
.contact-layout .contact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-layout .c-wide { grid-column: 1 / -1; } /* the longer values get a full row */
.contact-layout .where { grid-template-columns: 1fr; gap: 12px; }
.contact .card { background: var(--ink-2); border-color: var(--on-dark-line); padding: 22px 24px; }
.contact .card h3 { font-size: 1.1rem; }
.contact .card .muted, .contact .card > p:not(.muted), .contact .plain li { color: var(--on-dark-muted); }
.contact .card > p:not(.muted) { margin-top: 10px; }
.contact .plain { margin-top: 14px; gap: 10px; }
.contact .plain svg { stroke: var(--lime); }
.contact .text-link { color: var(--on-dark); margin-top: 14px; }
.contact .hours table { margin-top: 8px; }
.contact .hours th, .contact .hours td { padding: 9px 0; }
.contact .slot-wide { margin-top: clamp(24px, 3vw, 32px); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-layout .where { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .contact-layout .where { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact-layout .contact-grid { grid-template-columns: 1fr; } }

.enquiry { --err: #ffb4a8; background: var(--ink-2); border: 1px solid var(--on-dark-line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); scroll-margin-top: calc(var(--header) + 16px); }
.enquiry h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f-field { margin: 0 0 18px; min-width: 0; }
.f-field > label, .f-mode legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; color: var(--on-dark); padding: 0; }
.f-opt { font-weight: 400; color: var(--on-dark-muted); }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry input[type="tel"], .enquiry textarea {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink); background: var(--paper);
  border: 2px solid transparent; border-radius: var(--radius-sm); padding: 11px 14px;
}
.enquiry textarea { resize: vertical; min-height: 128px; }
.enquiry [aria-invalid="true"] { border-color: var(--err); }
.f-mode { border: 0; padding: 0; min-width: 0; }
.f-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.f-choices label { position: relative; cursor: pointer; }
.f-choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.f-choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(245,245,247,.32); font-weight: 600; font-size: 0.95rem; transition: background-color .15s ease, border-color .15s ease; }
.f-choices label:hover span { border-color: rgba(245,245,247,.6); }
.f-choices input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.f-choices input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.f-mode[aria-invalid="true"] .f-choices span { border-color: var(--err); }
.f-hint { font-size: 0.88rem; color: var(--on-dark-muted); margin: 8px 0 0; }
.f-error { font-size: 0.88rem; color: var(--err); margin: 6px 0 0; }
.f-error:empty { display: none; }
.f-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 2px 0 18px; }
.f-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.f-send .btn[disabled] { opacity: .6; cursor: progress; }
.f-privacy { font-size: 0.88rem; color: var(--on-dark-muted); margin: 0; }
.f-privacy a { color: var(--lime); text-underline-offset: 3px; }
.f-status { margin: 16px 0 0; font-weight: 600; }
.f-status:empty { display: none; }
.f-status[data-state="error"] { color: var(--err); }
.f-status[data-state="ok"] { color: var(--lime); font-size: 1.1rem; }
@media (max-width: 520px) { .f-send .btn { width: 100%; } }
/* Sparkle: for two seconds after a message sends, specks of white and lime drift over and around
 * the Send button (site.js adds .sparkle, then takes it off). Three dot grids of different sizes,
 * moving at different speeds, read as twinkling. Skipped for people who ask for less motion. */
.f-send .btn { position: relative; }
.f-send .btn.sparkle::after {
  content: ""; position: absolute; inset: -18px -26px; pointer-events: none; border-radius: 999px;
  background-image:
    radial-gradient(circle, #fff 1.5px, transparent 2px),
    radial-gradient(circle, var(--lime) 1.5px, transparent 2px),
    radial-gradient(circle, #e9fbc8 2px, transparent 2.5px);
  background-size: 22px 22px, 31px 31px, 47px 47px;
  background-position: 0 0, 11px 15px, 25px 7px;
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent);
  mask: radial-gradient(closest-side, #000 55%, transparent);
  animation: sparkle 2s ease-out forwards;
}
@keyframes sparkle {
  0% { opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; background-position: 22px 22px, -31px 46px, 72px -40px; }
}
@media (prefers-reduced-motion: reduce) { .f-send .btn.sparkle::after { display: none; } }

/* Simple text pages: privacy policy, form sent / not sent. */
.legal { font-size: 1.02rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.3em; }

/* Book band: closes every page but Contact. */
.book { padding: clamp(52px, 7vw, 88px) 0; }
.book-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.book .btn { flex: none; }
@media (max-width: 720px) { .book-in { flex-direction: column; align-items: flex-start; } .book .btn { width: 100%; } }

/* About */
.about-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); max-width: 36em; font-size: 1.08rem; }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; } .slot-about { max-width: 420px; width: 100%; } }

/* Testimonials (hidden until real) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 28px; }
.quote p { font-size: 1.1rem; }
.quote footer { margin-top: 16px; font-weight: 600; color: var(--muted); }

/* Where & when */
.where { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 4px; }
.card > p:not(.muted) { color: var(--muted); margin-top: 16px; }
.plain { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.plain li { display: flex; gap: 12px; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
.plain svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hours { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.hours table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--on-dark-line); font-size: 0.98rem; }
.hours th { font-weight: 400; color: var(--on-dark-muted); padding-right: 12px; }
.hours td { font-weight: 600; text-align: right; white-space: nowrap; }
@media (max-width: 980px) { .where { grid-template-columns: 1fr 1fr; } .place:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .where { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 0; font-size: 1.08rem; }
.tint .faq summary::after { background: var(--paper); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; margin: 0; }

/* Contact */
.contact .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--on-dark-line); text-decoration: none; transition: border-color .15s ease, background-color .15s ease, transform .15s ease; min-width: 0; }
.c-tile:hover { border-color: var(--lime); background: var(--ink-3); }
.c-tile svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-tile span { font-weight: 600; overflow-wrap: break-word; min-width: 0; }
.c-tile span { font-size: 0.95rem; line-height: 1.35; }
.c-tile small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--on-dark-muted); margin-bottom: 2px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--on-dark-line); padding: 44px 0 36px; }
/* Footer: brand, then Pages / Get in touch / Where and when, then the disclaimer and the copyright.
 * Column headings are plain sentence case, not small caps (no eyebrow labels, rule 6). */
.foot-in { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr 1.1fr; gap: 28px 40px; align-items: start; }
.foot-col h2 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin: 0 0 12px; color: var(--on-dark); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col p { margin: 0 0 8px; }
.foot-col a, .foot-col p { font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.5; }
.foot-col a { text-decoration: none; overflow-wrap: break-word; }
.foot-col a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.foot .disclaimer { grid-column: 1 / -1; max-width: none; padding: 24px max(0px, calc(100% - 60em)) 0 0; border-top: 1px solid var(--on-dark-line); }
.foot .copy { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 900px) { .foot-in { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand img { flex: none; width: 56px; height: 56px; }
.foot-brand p { margin: 0; font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.5; }
.foot-brand strong { color: var(--on-dark); }
.disclaimer { font-size: 0.84rem; color: var(--on-dark-muted); max-width: 60em; margin: 0; }
.copy { grid-column: 1 / -1; font-size: 0.84rem; color: var(--on-dark-muted); margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--on-dark-line); }
@media (max-width: 600px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-where { grid-column: 1 / -1; } }
@media (max-width: 380px) { .foot-in { grid-template-columns: 1fr; } }

/* Review helper (localhost only, see site.js) */
.review-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 90; padding: 10px 16px; border-radius: 999px; border: 0; background: var(--lime); color: var(--lime-ink); font: 600 0.85rem/1 inherit; font-family: inherit; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); cursor: pointer; }

/* ---------- The About spine ----------
 * Sections carry no labels: the stock "small caps with a lime dash" read as generic (Johan,
 * 2026-11-04). The one exception is About, which takes the spine from the back of his business card:
 * an ink strip beside the heading, the word running bottom to top in lime. Add a label to another
 * section only when he asks for that section. */
.about-copy { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(16px, 2.4vw, 28px); }
.about-copy > :not(.spine) { grid-column: 2; justify-self: start; }
.about-copy .spine {
  display: flex; align-items: center; justify-content: flex-start; grid-column: 1; grid-row: 1 / span 5; align-self: stretch; margin: 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--ink); color: var(--lime); border-radius: 4px; padding: 18px 12px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}

/* ---------- Chalk style ----------
 * From the Kryt site's chalk.css, ported in docs/chalk-style.md (the masks are copied exactly; see
 * that file before retuning them). Only the pieces in use are here. --chalk-line-v is new: the
 * divider's wavy line stood on end, for the timeline. */
:root {
  --chalk-stroke: rgba(22, 24, 29, 0.78);
  --chalk-dust: rgba(22, 24, 29, 0.4);
  --chalk-line-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 1024' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.5'/%3E%3C/filter%3E%3Cpath d='M9 4 C 5 140, 13 260, 9 380 S 5 620, 10 740 S 13 900, 8 1020' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' filter='url(%23r)'/%3E%3C/svg%3E");
}
/* On ink grounds the chalk is light. Re-check this list when adding an ink section or card. */
.dark, .offer-start, .hours {
  --chalk-stroke: rgba(245, 245, 247, 0.8);
  --chalk-dust: rgba(245, 245, 247, 0.38);
}
.chalk-card { position: relative; border-color: transparent; }
.chalk-card::before, .chalk-card::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; }
.chalk-card::before {
  inset: 0;
  border: 2.5px solid var(--chalk-stroke);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 -0.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 140px 140px repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 -0.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 140px 140px repeat;
}
.chalk-card::after {
  inset: -1.5px;
  border: 1.5px solid var(--chalk-dust);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.4 0 0 0 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E") 0 0 / 120px 120px repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.4 0 0 0 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E") 0 0 / 120px 120px repeat;
}

/* ---------- Corner shape ----------
 * Superellipse corners (the smooth "squircle" of Apple's icons) on the rounded rectangles: cards,
 * tiles, panels, photos and inputs. Not on pills or circles (buttons, chips, dots, the badge ring),
 * which stay perfectly round. Browsers without corner-shape simply keep the plain round corners.
 * The chalk outline is drawn on the card's ::before/::after, so those follow the card's shape.
 * A squircle curves less than a round corner of the same radius, so the radius went up with it
 * (20px to 28px, inputs 12px to 16px), only where the browser draws the squircle; elsewhere the
 * corners stay round at 20px. Johan picked this from four, 2026-11-04. */
:root { --corner: superellipse(2); }
@supports (corner-shape: round) { :root { --radius: 28px; --radius-sm: 16px; } }
.slot > img:first-child, .words, .t-card, .online, .offer, .post, .posts-empty, .prose img, .enquiry,
.enquiry input, .enquiry textarea, .quote, .card, .c-tile, .chalk-card::before, .chalk-card::after {
  corner-shape: var(--corner);
}


/* Chalk mark under a key word in a headline (docs/chalk-style.md, piece 3). One per headline, at
   most, and not on every page. In use (Johan, 2026-11-04): "Johan" in the About heading and
   "free consult" in the closing band. --accent (dark lime) on light grounds, --lime on ink. */
.chalk-mark { position: relative; display: inline-block; --chalk-mark: var(--accent); }
:is(.dark, .offer-start, .hours) .chalk-mark { --chalk-mark: var(--lime); }
.chalk-mark::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: -0.14em; height: 0.3em;
  background: var(--chalk-mark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 50 6, 120 5, 197 9 C 140 10, 80 13, 30 17' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 50 6, 120 5, 197 9 C 140 10, 80 13, 30 17' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

