/* ==========================================================================
   Want To Care - global styles (elegant, minimal: white, black and light grey)

   Design rules (keep these when adding sections):
   - Headings: Newsreader (serif). All content text: DM Sans. The script
     font is for the logo only.
   - All content text is ONE size: --fs-base. Never set another size on
     paragraphs, links, buttons, labels or small print.
     Headings use --fs-xl (section titles), --fs-lg (card titles) and
     --fs-hero for the one main headline of a page.
   - Text is black (--ink). --accent (black) is for links, hover and accents.
     --dark (black) is the footer and the second button. --tint is the menu
     panel; --blush (light grey) is the background for coloured sections.
     To change the site colour, edit these tokens only: the hero drawing's
     wash is tinted from --accent automatically.
     --muted is for input placeholders only.
   - Sentence case. No uppercase text.
   - Thin lines, lots of white space. Motion is for hover and menus only:
     no entrance or scroll-reveal animations.
   - Spacing: never use margin between elements. Wrap siblings in a parent
     with display flex/grid and space them with `gap`, using the --gap-*
     tokens. Padding is for the inside of a box only.

   1. Tokens  2. Base  3. Utilities  4. Logo & links  5. Header  6. Topic row
   7. Menu drawer  8. Search  9. Footer  10. Motion  11. Smaller screens
   12. Home: hero  13. Home: topics (round portraits)  14. Home: guides
   15. Home: questions  16. Home: start here  17. Home: about
   18. Home: journal
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
    --ink: #000000;
    --muted: #6f6a66;
    --accent: #000000;
    --brand: var(--accent);   /* the main colour, even where --accent is re-pointed (footer) */
    --dark: #111111;
    --white: #ffffff;
    --tint: #f2f2f2;
    --blush: #f2f2f2;
    --line: #e4dfd6;

    --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Newsreader", Georgia, "Times New Roman", serif;
    --font-script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

    --fs-base: 16px;
    --fs-lg: 26px;
    --fs-xl: clamp(28px, 3vw, 38px);
    --fs-hero: clamp(34px, 4vw, 54px);

    /* spacing scale: every gap on the site uses one of these */
    --gap-xs: 8px;
    --gap-sm: 16px;
    --gap-md: 24px;
    --gap-lg: 40px;
    --gap-xl: 64px;

    /* one soft shadow for every card that lifts on hover */
    --shadow-hover: 0 14px 24px -18px rgba(0, 0, 0, .16);

    --ease: cubic-bezier(.22, .8, .22, 1);
    --container: 1360px;
    --gutter: 32px;
    --bar-h: 104px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding keeps in-page links from landing under the sticky header. */
html { scroll-behavior: smooth; scroll-padding-top: 170px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure { margin: 0; font-size: inherit; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
i { font-style: normal; }
svg { display: block; flex-shrink: 0; }
.icon { stroke-width: 1.5; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

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

/* 3. Utilities ------------------------------------------------------------ */
/* margin-inline: auto only centres the container; it is not spacing. */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -70px; z-index: 300;
    padding: 8px 18px; background: var(--ink); color: var(--white); transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 4. Logo & links --------------------------------------------------------- */
.logo {
    font-family: var(--font-script); font-size: 58px; line-height: 1; white-space: nowrap;
    padding: 6px 10px 0; transition: color .4s, font-size .4s var(--ease);
}
.logo:hover { color: var(--accent); }
.logo.logo-lg { font-size: clamp(64px, 8vw, 104px); }

/* An accent line draws out from the centre on hover. */
/* Buttons: rounded pills with the arrow in a white circle. Both share one
   style; only the colour differs (red, or black with .btn-dark). */
.btn {
    --btn: var(--accent);
    display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 8px 0 28px;
    border-radius: 999px; background: var(--btn); color: var(--white); white-space: nowrap;
    transition: background-color .4s;
}
.btn svg {
    box-sizing: content-box; padding: 10px; border-radius: 50%;
    background: var(--white); color: var(--btn);
    transition: transform .5s var(--ease), color .4s;
}
/* Both buttons are black, so hover lifts them to a softer black. */
.btn:hover { --btn: #3a3a3a; }
.btn:hover svg { transform: rotate(-45deg); }
.btn-dark { --btn: var(--dark); }
.btn-dark:hover { --btn: #3a3a3a; }

.line-link, .cat-link { position: relative; padding-block: 4px; transition: color .3s; }
.line-link::after, .cat-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--accent); transform: scaleX(0); transition: transform .45s var(--ease);
}
.line-link:hover, .cat:hover .cat-link, .cat:focus-within .cat-link { color: var(--accent); }
.line-link:hover::after, .cat:hover .cat-link::after, .cat:focus-within .cat-link::after { transform: scaleX(1); }

/* 5. Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .4s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 24px -20px rgba(0, 0, 0, .18); }

.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--gap-sm); height: var(--bar-h); transition: height .4s var(--ease); }
.site-header.is-scrolled .bar { height: 76px; }
.site-header.is-scrolled .bar .logo { font-size: 46px; }

.bar-btn { display: inline-flex; align-items: center; gap: 12px; justify-self: start; height: 44px; transition: color .3s; }
.bar-btn-end { justify-self: end; }
.bar-btn:hover { color: var(--accent); }
.bar-btn .icon { transition: transform .5s var(--ease); }
.bar-btn:hover .icon-search { transform: scale(1.12) rotate(-8deg); }
.bar-btn:hover .icon-close { transform: rotate(90deg); }

/* Two-line menu icon; the lower line stretches on hover. */
.burger { display: grid; gap: 7px; width: 26px; }
.burger i { display: block; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .45s var(--ease); }
.burger i:last-child { transform: scaleX(.6); }
.bar-btn:hover .burger i:last-child { transform: scaleX(1); }

/* 6. Topic row ------------------------------------------------------------ */
.cats { border-block: 1px solid var(--line); }
.cats > ul { display: flex; justify-content: center; gap: var(--gap-lg); }
.cat { position: relative; display: flex; padding-block: 12px; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; }
/* Arrow on topics that open a sub-menu; it flips when the menu is open. */
.cat-link .icon { transition: transform .45s var(--ease); }
.cat:hover .cat-link .icon, .cat:focus-within .cat-link .icon { transform: rotate(180deg); }

.drop {
    position: absolute; top: 100%; left: 50%; min-width: 260px; padding: 20px 28px;
    display: flex; flex-direction: column; gap: var(--gap-sm);
    background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .2);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
    transition: opacity .3s, transform .45s var(--ease), visibility .3s;
}
.cat:hover > .drop, .cat:focus-within > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: block; white-space: nowrap; transition: color .3s, transform .4s var(--ease); }
.drop a:hover { color: var(--accent); transform: translateX(8px); }
/* Sub-topics fade in one after another. */
.drop li { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.cat:hover .drop li, .cat:focus-within .drop li { opacity: 1; transform: none; transition-delay: calc(60ms + var(--j) * 40ms); }

/* 7. Menu drawer ---------------------------------------------------------- */
.drawer {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 220; width: min(100%, 480px);
    display: flex; flex-direction: column; gap: var(--gap-sm); padding: 0 40px 40px; overflow-y: auto;
    background: var(--tint);
    transform: translateX(-100%); visibility: hidden;
    transition: transform .6s var(--ease), visibility .6s;
}
.drawer.is-open { transform: none; visibility: visible; }

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); height: var(--bar-h); flex-shrink: 0; }
.drawer-head .logo { font-size: 46px; padding-left: 0; }

/* Main menu: each topic is a row with a hairline that turns wine red when active. */
.drawer-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer-item { position: relative; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-18px); transition: opacity .5s, transform .7s var(--ease); }
.drawer.is-open .drawer-item { opacity: 1; transform: none; transition-delay: calc(180ms + var(--i) * 60ms); }
.drawer-item::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.drawer-item:hover::after, .drawer-item.is-open::after { transform: scaleX(1); }

.drawer-toggle { display: flex; align-items: center; gap: var(--gap-md); width: 100%; padding: 20px 0; text-align: left; transition: color .3s; }
.drawer-toggle:hover, .drawer-item.is-open .drawer-toggle { color: var(--accent); }
.num { width: 22px; color: var(--accent); }
.drawer-label { flex: 1; font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; transition: transform .5s var(--ease); }
.drawer-toggle:hover .drawer-label, .drawer-item.is-open .drawer-label { transform: translateX(6px); }

/* Round button holding a plus that turns into a minus when open. */
.plus {
    position: relative; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
    transition: background-color .4s, border-color .4s, color .4s, transform .6s var(--ease);
}
.plus::before, .plus::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.plus::after { transform: rotate(90deg); }
.drawer-toggle:hover .plus { border-color: var(--accent); }
.drawer-item.is-open .plus { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(180deg); }
.drawer-item.is-open .plus::after { transform: rotate(0deg); }

/* Sub-menu: opens smoothly without knowing its height. */
.drawer-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.drawer-item.is-open .drawer-sub { grid-template-rows: 1fr; }
.drawer-clip { min-height: 0; overflow: hidden; }
/* Indented to line up with the topic name; the links sit on a white card. */
.drawer-panel { display: flex; flex-direction: column; gap: var(--gap-md); padding: 0 0 28px 46px; }
.drawer-panel ul { display: flex; flex-direction: column; gap: var(--gap-sm); padding: 24px 28px; background: var(--white); border-left: 2px solid var(--accent); }
.drawer-panel ul a { display: flex; align-items: center; gap: 12px; transition: color .3s; }
/* Short dash before each sub-topic; it grows on hover. */
.drawer-panel ul a::before { content: ""; width: 10px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.drawer-panel ul a:hover { color: var(--accent); }
.drawer-panel ul a:hover::before { width: 26px; }

.all-link { display: inline-flex; align-items: center; gap: var(--gap-xs); align-self: flex-start; color: var(--accent); }
.all-link svg { transition: transform .45s var(--ease); }
.all-link:hover svg { transform: translateX(6px); }

.backdrop {
    position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.backdrop.is-open { opacity: 1; visibility: visible; }

/* 8. Search --------------------------------------------------------------- */
/* A centred popup over a dimmed, blurred page. The layer itself lets clicks
   through, so clicking outside the card closes it via the backdrop. */
.search { position: fixed; inset: 0; z-index: 210; display: flex; justify-content: center; align-items: center; padding: var(--gutter); pointer-events: none; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.search.is-open { visibility: visible; opacity: 1; }
.search-modal {
    pointer-events: auto; display: flex; flex-direction: column; gap: var(--gap-lg);
    width: min(100%, 720px); max-height: 100%; overflow-y: auto; padding: var(--gap-lg);
    background: var(--white); border-top: 3px solid var(--accent); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
    transform: translateY(-18px) scale(.98); transition: transform .5s var(--ease);
}
.search.is-open .search-modal { transform: none; }

.search-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gap-md); }
.search-top h2 { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.search-top h2 em { color: var(--accent); }
.search-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, border-color .3s, color .3s, transform .5s var(--ease); }
.search-close:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(90deg); }

/* The field: an underlined line, like the newsletter field, with a round arrow button. */
.search-line { display: flex; align-items: center; gap: var(--gap-sm); padding-bottom: var(--gap-sm); border-bottom: 1px solid var(--ink); transition: border-color .3s; }
.search-line:focus-within { border-bottom-color: var(--accent); }
.search-line > .icon { color: var(--accent); }
.search-line input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-family: var(--font-head); font-size: var(--fs-lg); letter-spacing: -.01em; }
.search-line input::placeholder { color: var(--muted); }
.search-line input::-webkit-search-cancel-button { display: none; }
.search-go { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--white); transition: background-color .3s, transform .5s var(--ease); }
.search-go:hover { background: #3a3a3a; transform: rotate(-45deg); }

.search-group { display: flex; flex-direction: column; gap: var(--gap-sm); }
.search-chips { display: flex; flex-wrap: wrap; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.chip { display: block; padding: 8px 18px; border-radius: 999px; background: var(--blush); transition: background-color .3s, color .3s; }
.chip:hover { background: var(--accent); color: var(--white); }
.search-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap-md); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.search-topic { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); padding-block: 12px; border-bottom: 1px solid var(--line); transition: color .3s; }
.search-topic .icon { color: var(--accent); transition: transform .45s var(--ease); }
.search-topic:hover { color: var(--accent); }
.search-topic:hover .icon { transform: translateX(4px); }

/* The same field on the search page, centred under the heading. */
.page-head .search-line { width: min(100%, 640px); text-align: left; }

@media (max-width: 560px) {
    /* On phones the popup stays a card, with a small edge of the page around it. */
    .search { padding: var(--gap-sm); }
    .search-modal { padding: var(--gap-md) var(--gap-sm); gap: var(--gap-md); }
    .search-top { align-items: center; }
    .search-top h2 { font-size: 24px; }
    .search-close { width: 40px; height: 40px; }
    .search-line { gap: 12px; padding-bottom: 12px; }
    .search-line input { height: 44px; font-size: 19px; }
    .search-go { width: 44px; height: 44px; }
    .chip { padding: 7px 14px; }
    .search-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-sm); }
}

/* 9. Footer --------------------------------------------------------------- */
/* Black footer: the colour tokens are re-pointed here so every rule below
   (text, lines, links, hover, copyright strip) follows automatically. */
.site-footer {
    --ink: #ffffff; --muted: #a8a3a0; --accent: #ffffff; --line: rgba(255, 255, 255, .16); --tint: #1c1c1c;
    background: var(--dark); color: var(--ink);
}
/* Two parts side by side: brand, newsletter and social on the left, the links
   and the legal note on the right, with a line between them. */
.footer-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-block: 72px; }
.footer-left, .footer-right { display: flex; flex-direction: column; gap: var(--gap-lg); }
.footer-left { align-items: flex-start; padding-right: var(--gap-xl); }
.footer-right { justify-content: space-between; padding-left: var(--gap-xl); border-left: 1px solid var(--line); }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-xs); }
.footer-tag { max-width: 460px; }

.newsletter { display: flex; flex-direction: column; gap: var(--gap-sm); width: 100%; max-width: 460px; scroll-margin-top: 140px; }
.newsletter-field { display: flex; align-items: center; gap: var(--gap-sm); border-bottom: 1px solid var(--ink); transition: border-color .4s; }
.newsletter-field:focus-within { border-color: var(--accent); }
.newsletter-field input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; }
.newsletter-field input::placeholder { color: var(--muted); }
.newsletter-field button { display: inline-flex; align-items: center; gap: var(--gap-xs); height: 52px; color: var(--accent); white-space: nowrap; }
.newsletter-field button svg { transition: transform .45s var(--ease); }
.newsletter-field button:hover svg { transform: translateX(6px); }
.newsletter .is-error, .newsletter .is-success { color: var(--accent); }

.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg); }
.footer-col, .footer-col ul { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col { gap: var(--gap-sm); }
.footer-col ul { gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.footer-title { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; }

.socials { display: flex; gap: var(--gap-xs); }
.socials a {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
    transition: color .3s, border-color .3s, background-color .3s, transform .5s var(--ease);
}
.socials a:hover { color: var(--dark); background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }

.footer-legal { padding-top: var(--gap-md); border-top: 1px solid var(--line); }

/* Copyright bar in the site's main colour, with white text and a line above it. */
.footer-bottom { background: var(--brand); color: var(--white); text-align: center; border-top: 1px solid var(--line); }
.footer-bottom .container { padding-block: 22px; }

@media (max-width: 900px) {
    /* The two parts stack, and the line between them turns to sit above the links. */
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: var(--gap-lg); padding-block: 56px; }
    .footer-left { padding-right: 0; }
    .footer-right { padding-left: 0; padding-top: var(--gap-lg); border-left: 0; border-top: 1px solid var(--line); }
    .newsletter { max-width: none; }
}

/* 10. Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* 11. Smaller screens ----------------------------------------------------- */
@media (max-width: 1099.98px) {
    :root { --gap-lg: 28px; }
}

@media (max-width: 899.98px) {
    :root { --gutter: 22px; --bar-h: 84px; --gap-xl: 48px; }

    html { scroll-padding-top: 84px; }

    .cats { display: none; }
    .site-header { border-bottom: 1px solid var(--line); }
    .logo { font-size: 46px; }
    .site-header.is-scrolled .bar { height: 68px; }
    .site-header.is-scrolled .bar .logo { font-size: 40px; }
}

@media (max-width: 560px) {
    :root { --fs-lg: 22px; }

    .bar-label { display: none; }
    .logo { font-size: 40px; }
    .drawer { padding-inline: 24px; }
    .drawer-head .logo { font-size: 40px; }
    .drawer-toggle { gap: var(--gap-sm); }
    .drawer-panel { padding-left: 0; }
}

/* 12. Home: hero ---------------------------------------------------------- */
/* A banner: the headline, text and buttons centred on top, and the wide
   drawing lying across the page below them, straight on the white page. */
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: var(--gap-lg); padding-block: var(--gap-xl) var(--gap-lg); }

.hero-copy { display: flex; flex-direction: column; align-items: center; gap: var(--gap-md); text-align: center; }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: var(--gap-md); }
.hero-text > p:not(.kicker) { max-width: 680px; }

/* Small label above a heading. */
.kicker { color: var(--accent); }

.hero h1 { font-family: var(--font-head); font-size: clamp(38px, 4.8vw, 68px); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 em { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--gap-sm); }

.hero-art { display: flex; justify-content: center; width: 100%; }
.hero-art img { display: block; width: min(100%, 940px); height: auto; }

@media (max-width: 560px) {
    .hero h1 { font-size: 36px; }
    .hero-inner { gap: var(--gap-md); padding-block: var(--gap-lg); }
}

/* 13. Home: topics -------------------------------------------------------- */
.section { padding-block: var(--gap-xl); }
.section-blush { background: var(--blush); }
.section-inner { display: flex; flex-direction: column; gap: var(--gap-lg); }

/* Section heading: small red line, title, one sentence. Reused by every section. */
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-sm); }
.section-head h2 { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.section-head h2 em { color: var(--accent); }
.section-head-center { align-items: center; text-align: center; }

/* Six round portraits in one row: each drawing sits in a white circle over
   the red watercolour, with the topic name and guide count underneath. */
.rounds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-md); }
.round { display: flex; flex-direction: column; align-items: center; gap: var(--gap-md); text-align: center; }

.round-art {
    position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden;
    background: var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--line);
    transition: transform .6s var(--ease), box-shadow .4s;
}
/* Each drawing has its own watercolour shape (--wash), painted in the accent
   colour and laid out exactly like the drawing so the two line up. */
.round-art::before { display: none; }
.round-art img { position: absolute; inset: 9% 9% 0; display: block; width: 82%; height: 91%; object-fit: contain; object-position: bottom; transition: transform .9s var(--ease); }

.round-body { display: flex; flex-direction: column; gap: 2px; }
.round-title { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.01em; transition: color .4s; }

/* Hover: the circle lifts with a soft shadow, the drawing grows a little. */
.round:hover .round-art { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--shadow-hover); }
.round:hover .round-art img, .round:hover .round-art::before { transform: scale(1.06); transform-origin: bottom; }
.round:hover .round-title { color: var(--accent); }
.round-more { color: var(--accent); }

@media (max-width: 1099.98px) {
    .rounds { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--gap-lg); }
}
@media (max-width: 560px) {
    .rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-md) var(--gap-sm); }
}

/* 14. Home: guides -------------------------------------------------------- */
.section-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-md); }

/* Three open columns divided by hairlines: no cards, no panels. Each has a
   large line drawing floating above its title. */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.guide { display: flex; flex-direction: column; gap: var(--gap-md); padding: var(--gap-lg) var(--gap-lg) 0; border-left: 1px solid var(--line); }
.guide:first-child { padding-left: 0; border-left: 0; }
.guide:last-child { padding-right: 0; }

/* Line drawing over the red watercolour wash, floating on the white page. */
.guide-art { position: relative; display: grid; place-items: center; height: 370px; transition: transform .9s var(--ease); }
.guide-art::before { display: none; }
.guide-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.guide:hover .guide-art { transform: translateY(-10px) scale(1.04); }

.guide-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-sm); }
.guide-topic { color: var(--accent); }
.guide-title {
    font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.01em;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .6s var(--ease);
}
.guide:hover .guide-title { background-size: 100% 1px; color: var(--accent); }
.guide-meta { display: inline-flex; align-items: center; gap: var(--gap-xs); }
.guide-meta .icon { transition: transform .45s var(--ease); }
.guide:hover .guide-meta .icon { transform: translateX(6px); }

@media (max-width: 899.98px) {
    .guides { grid-template-columns: 1fr; }
    .guide, .guide:first-child, .guide:last-child { padding: var(--gap-lg) 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .guide:last-child { padding-bottom: 0; border-bottom: 0; }
    .guide-art { height: 260px; }
    .guide-art::before { width: 240px; height: 256px; }
}

/* 15. Home: questions ----------------------------------------------------- */
/* Centred heading, then the questions as full-width rows. */

/* Each question is a white row across the whole container; the open one gets a red edge. */
.ask-list { display: flex; flex-direction: column; gap: var(--gap-xs); }
.ask-item { background: var(--white); border-left: 2px solid transparent; transition: border-color .4s; }
.ask-item.is-open { border-left-color: var(--accent); }

.ask-q { display: flex; align-items: center; gap: var(--gap-md); width: 100%; padding: var(--gap-md) var(--gap-lg); text-align: left; transition: color .3s; }
.ask-num { width: 22px; color: var(--accent); }
.ask-text { flex: 1; font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.25; letter-spacing: -.01em; }
.ask-q .plus { flex-shrink: 0; }
.ask-q:hover, .ask-item.is-open .ask-q { color: var(--accent); }
.ask-q:hover .plus { border-color: var(--accent); }
.ask-item.is-open .plus { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(180deg); }
.ask-item.is-open .plus::after { transform: rotate(0deg); }

/* Smooth open/close without knowing the height. */
.ask-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.ask-item.is-open .ask-a { grid-template-rows: 1fr; }
.ask-clip { min-height: 0; overflow: hidden; }
/* Indented to line up with the question text (row padding + number width + gap). */
.ask-clip p { max-width: 900px; padding: 0 var(--gap-lg) var(--gap-md) calc(var(--gap-lg) + 22px + var(--gap-md)); }

/* Text line above, button below, both centred. */
.ask-more { display: flex; flex-direction: column; align-items: center; gap: var(--gap-sm); }

@media (max-width: 560px) {
    .ask-q { gap: var(--gap-sm); padding: var(--gap-sm); }
    .ask-clip p { padding: 0 var(--gap-sm) var(--gap-sm); }
}

/* 16. Home: start here ---------------------------------------------------- */
/* A mirror of the hero: drawing on the left, text and four steps on the right. */
.start { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: var(--gap-xl); }

/* The hero's watercolour behind the drawing; the bodies are filled white. */
.start-art { position: relative; display: grid; place-items: center; width: min(100%, 540px); }
.start-art::before { display: none; }
.start-art img { position: relative; display: block; width: 100%; height: auto; }

.start-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-lg); }

/* Four steps in two columns, each under a hairline that turns red on hover. */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-md) var(--gap-lg); width: 100%; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: flex; align-items: flex-start; gap: var(--gap-sm); height: 100%; padding-top: var(--gap-md); border-top: 1px solid var(--line); }
.step::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.step:hover::before { transform: scaleX(1); }
.step-num { color: var(--accent); }
.step-body { display: flex; flex-direction: column; gap: var(--gap-xs); }
.step-title { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.01em; transition: color .4s; }
.step:hover .step-title { color: var(--accent); }

@media (max-width: 899.98px) {
    .start { grid-template-columns: 1fr; gap: var(--gap-lg); }
    .start-art { width: min(100%, 300px); justify-self: center; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
}

/* 17. Home: about --------------------------------------------------------- */
/* Closing section: text on the left, drawing on the right (the reverse of
   the start-here section above it). */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: var(--gap-xl); }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-md); max-width: 620px; }
.about-text { display: flex; flex-direction: column; gap: var(--gap-sm); }
/* Signature in the logo's script font. */
.about-sign { font-family: var(--font-script); font-size: 46px; line-height: 1; color: var(--accent); }

/* The hero's watercolour behind the drawing; the bodies are filled white. */
.about-art { position: relative; display: grid; place-items: center; justify-self: end; width: min(100%, 520px); }
.about-art::before { display: none; }
/* Wide drawings (about page story) get more room and no bottom fade. */
.about-art-wide { width: min(100%, 620px); }
.about-art-wide img { -webkit-mask: none !important; mask: none !important; }

/* The drawing fades out at the bottom, where the figures are cropped. */
.about-art img {
    position: relative; display: block; width: 100%; height: auto;
    -webkit-mask: linear-gradient(#000 82%, transparent 97%);
            mask: linear-gradient(#000 82%, transparent 97%);
}

@media (max-width: 899.98px) {
    .about { grid-template-columns: 1fr; gap: var(--gap-lg); }
    .about-art { order: -1; justify-self: center; width: min(100%, 280px); }
}

/* 18. Home: journal ------------------------------------------------------- */
/* Three blog cards: drawing on a pale panel, then title, excerpt and a footer. */
.blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-md); }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* Pale panel holding the drawing over the red watercolour, with the topic as a tag. */
.blog-thumb { position: relative; display: grid; place-items: center; height: 340px; overflow: hidden; background: var(--white); }
.blog-thumb::before { display: none; }
.blog-thumb img { position: absolute; inset: 52px 8px 0; display: block; width: calc(100% - 16px); height: calc(100% - 52px); object-fit: contain; object-position: bottom; transition: transform .9s var(--ease); }
.blog-card:hover .blog-thumb img, .blog-card:hover .blog-thumb::before { transform: scale(1.05); transform-origin: bottom; }
/* Full-figure drawings (not cropped at the bottom) sit in the middle of the panel. */
.blog-thumb.is-centred img { object-position: center; }
.blog-thumb.is-centred::before { -webkit-mask-position: center; mask-position: center; }
.blog-tag { position: absolute; left: var(--gap-sm); top: var(--gap-sm); padding: 4px 14px; border-radius: 999px; background: var(--blush); color: var(--accent); }

.blog-body { display: flex; flex-direction: column; gap: var(--gap-xs); flex: 1; padding: var(--gap-md); border-top: 1px solid var(--line); }
.blog-body h3 { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.01em; transition: color .4s; }
.blog-card:hover h3 { color: var(--accent); }

.blog-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); padding: var(--gap-xs) var(--gap-md); border-top: 1px solid var(--line); background: var(--blush); }
.blog-more { display: inline-flex; align-items: center; gap: var(--gap-xs); padding-block: 8px; color: var(--accent); }
.blog-more .icon { transition: transform .45s var(--ease); }
.blog-card:hover .blog-more .icon { transform: translateX(6px); }

@media (max-width: 899.98px) {
    .blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .blog { grid-template-columns: 1fr; }
}

/* 19. Inner pages: page heading ------------------------------------------- */
.page-head { background: var(--blush); }
.page-head-inner { display: flex; flex-direction: column; align-items: center; gap: var(--gap-sm); padding-block: var(--gap-xl); text-align: center; }
.page-head h1 { font-family: var(--font-head); font-size: var(--fs-hero); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.page-head h1 em { color: var(--accent); }
.page-head-inner > p:not(.kicker) { max-width: 560px; }
.page-date { color: var(--accent); }

/* Breadcrumb: Home / Section / Page, above the page title. */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: var(--gap-xs); }
.crumbs li + li::before { content: "/"; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--accent); }

/* 20. Text pages (privacy, terms, disclaimer) ----------------------------- */
/* Sidebar on the left, text on the right. The grid fills the whole container,
   so the sidebar starts under "Menu" and the text ends under "Search". */
.text-page { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: var(--gap-xl); }

/* Sidebar card: stays in view while the text scrolls. */
.side { position: sticky; top: 168px; display: flex; flex-direction: column; background: var(--blush); }
.toc { display: flex; flex-direction: column; gap: var(--gap-sm); padding: var(--gap-md); }
.toc-title { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; }
.toc ol { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.toc a {
    display: flex; align-items: baseline; gap: var(--gap-sm); padding: 10px var(--gap-sm);
    border-left: 2px solid transparent; transition: background-color .3s, border-color .3s, color .3s;
}
.toc a:hover { color: var(--accent); }
/* The section being read is marked with a white row and an accent edge. */
.toc a.is-active { background: var(--white); border-left-color: var(--accent); color: var(--accent); }
.text-num { color: var(--accent); }

.side-help, .side-meta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-sm); margin: 0; padding: var(--gap-md); list-style: none; border-top: 1px solid var(--line); }
.side-meta li { display: flex; align-items: center; gap: var(--gap-xs); }
.side-meta .icon { color: var(--accent); }

/* Text: heading above its paragraphs, across the full width of the column. */
.text-body { display: flex; flex-direction: column; gap: var(--gap-lg); }
.text-block { display: flex; flex-direction: column; gap: var(--gap-sm); padding-bottom: var(--gap-lg); border-bottom: 1px solid var(--line); }
.text-block:last-child { padding-bottom: 0; border-bottom: 0; }
.text-block h2 { display: flex; align-items: baseline; gap: var(--gap-sm); font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.text-block .text-num { font-family: var(--font); font-size: var(--fs-base); letter-spacing: 0; }
.text-copy { display: flex; flex-direction: column; gap: var(--gap-sm); }

/* 21. Contact page -------------------------------------------------------- */
.contact { display: flex; flex-direction: column; gap: var(--gap-xl); }

/* Three facts in a row, separated by hairlines. */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.contact-card { display: flex; align-items: center; gap: var(--gap-md); padding: var(--gap-lg) var(--gap-md); border-left: 1px solid var(--line); }
.contact-card:first-child { border-left: 0; }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--blush); color: var(--accent); transition: background-color .4s, color .4s; }
.contact-card:hover .contact-icon { background: var(--accent); color: var(--white); }
.contact-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.contact-label { color: var(--accent); }
.contact-value { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.01em; }

/* Drawing and a short note on the left, the form card on the right. */
.contact-main { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: var(--gap-xl); }
.contact-side { display: flex; flex-direction: column; align-items: center; gap: var(--gap-lg); text-align: center; }
.contact-art { position: relative; width: min(100%, 480px); }
.contact-art::before { display: none; }
.contact-art img { position: relative; display: block; width: 100%; height: auto; }

/* Links inside a sentence are always underlined and in the main colour, so they read as links. */
p a.line-link { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
p a.line-link::after { display: none; }
p a.line-link:hover { color: var(--ink); }

/* Form card: white boxed fields on a tinted panel. */
.form { display: flex; flex-direction: column; gap: var(--gap-md); padding: var(--gap-lg); background: var(--blush); }
.form h2 { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-md); }
.field { display: flex; flex-direction: column; gap: var(--gap-xs); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 0; outline: 0;
    background: var(--white); font: inherit; color: inherit; transition: border-color .3s;
}
.field ::placeholder { color: var(--muted); }
.field textarea { resize: vertical; min-height: 150px; }
.select { position: relative; display: flex; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--accent); border-width: 2px; }
.check { display: flex; align-items: center; gap: var(--gap-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gap-md); }
.form-note { color: var(--accent); }
/* Hidden field that only robots fill in. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 899.98px) {
    .contact { gap: var(--gap-lg); }
    .contact-cards, .contact-main { grid-template-columns: 1fr; }
    .contact-main { gap: var(--gap-lg); }
    .contact-card { border-left: 0; border-top: 1px solid var(--line); padding: var(--gap-md); }
    .contact-card:first-child { border-top: 0; }
    .contact-side { order: 2; }
    .contact-art { width: min(100%, 240px); }
    .text-page { grid-template-columns: 1fr; gap: var(--gap-lg); }
    .side { position: static; }
    .form { padding: var(--gap-md); }
}
@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
}

/* 22. About page ---------------------------------------------------------- */
/* Beliefs: four columns on white cards. */
.beliefs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-sm); margin: 0; padding: 0; list-style: none; }
.belief { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-md); padding: var(--gap-md); background: var(--white); transition: transform .5s var(--ease), box-shadow .5s; }
.belief:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.belief:hover .contact-icon { background: var(--accent); color: var(--white); }
.belief-body { display: flex; flex-direction: column; gap: var(--gap-xs); }
.belief h3 { font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }

/* Story: equal columns so the wide drawing gets half the page. */
.about-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-story .about-art-wide { width: 100%; }

/* Story drawing: the canvas is 16% wider than the drawing (room for the
   paint), so the figure is widened by the same amount and the drawing itself
   fills the column. */
/* The drawing is allowed to grow past its column into the page margin; the
   section clips anything that would reach beyond the screen. */
.section-clip { overflow: clip; }
/* The image ends exactly at the container's right edge (under "Search"). Its
   empty left edge may reach into the gap between the columns. */
.story-art { position: relative; justify-self: end; width: 108%; }
.story-art::before { display: none; }
.story-art img { position: relative; display: block; width: 100%; height: auto; }

/* How we work uses the site's standard step list (.steps), the same as the
   home page, in the normal text sizes. */

@media (max-width: 899.98px) {
    .about-story { grid-template-columns: 1fr; }
    .story-art { width: 100%; }
}

/* Closing call to action. */
.cta { display: flex; flex-direction: column; align-items: center; gap: var(--gap-sm); text-align: center; }
.cta h2 { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.cta h2 em { color: var(--accent); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap-sm); padding-top: var(--gap-sm); }

@media (max-width: 1099.98px) {
    .beliefs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .beliefs { grid-template-columns: 1fr; }
}

/* 23. List pages (topics) ------------------------------------------------- */
.list-empty { display: flex; flex-direction: column; align-items: center; gap: var(--gap-md); padding-block: var(--gap-lg); text-align: center; }

/* Other topics: five links in a row. */
.other-topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-sm); margin: 0; padding: 0; list-style: none; }
.other-topic { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); padding: var(--gap-md); background: var(--white); font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.2; transition: background-color .4s, color .4s; }
.other-topic .icon { transition: transform .45s var(--ease); }
.other-topic:hover { background: var(--accent); color: var(--white); }
.other-topic:hover .icon { transform: translateX(6px); }

@media (max-width: 1099.98px) {
    .other-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .other-topics { grid-template-columns: 1fr; }
}

/* 24. Article page -------------------------------------------------------- */
/* Same building blocks as the other inner pages: the centred title band, the
   sidebar, and numbered sections like the policy pages. Spacing comes only
   from gaps: --gap-lg between blocks, --gap-sm inside a block. */
.article-body { display: flex; flex-direction: column; gap: var(--gap-lg); }

/* The drawing, on a tinted panel across the top of the article. */
.article-figure { position: relative; display: grid; place-items: center; height: 400px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.article-figure::before { display: none; }
.article-figure img { position: absolute; inset: var(--gap-md); display: block; width: calc(100% - 2 * var(--gap-md)); height: calc(100% - 2 * var(--gap-md)); object-fit: contain; }

/* Facts at a glance: four tinted cells. */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-xs); margin: 0; }
.fact { display: flex; flex-direction: column; gap: var(--gap-xs); padding: var(--gap-md); background: var(--blush); }
.fact dt { color: var(--accent); }
.fact dd { margin: 0; font-weight: 500; }

/* A section: number and heading on one line (as on the policy pages), then its content. */
.article-block { display: flex; flex-direction: column; gap: var(--gap-sm); }
.article-block h2 { display: flex; align-items: baseline; gap: var(--gap-sm); font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.article-block h2 .text-num { font-family: var(--font); font-size: var(--fs-base); letter-spacing: 0; }
/* Small titles inside a section use the normal text size, in a heavier weight. */
.article-block h3 { font-weight: 500; }

/* Numbered how-to steps. */
.how { display: flex; flex-direction: column; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.how-step { display: flex; align-items: flex-start; gap: var(--gap-sm); padding: var(--gap-sm) var(--gap-md); background: var(--blush); }
.how-num { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--white); line-height: 1; }
.how-body { display: flex; flex-direction: column; gap: 2px; }

/* Variations side by side. */
.moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.move { display: flex; flex-direction: column; gap: var(--gap-xs); padding: var(--gap-md); background: var(--blush); }

/* List with a small heart before each line. */
.ticks { display: flex; flex-direction: column; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: var(--gap-sm); }
.ticks .icon { flex-shrink: 0; position: relative; top: 4px; color: var(--accent); }

/* Links written inside article text. */
.text-link { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; transition: color .3s; }
.text-link:hover { color: var(--ink); }

/* "Where to go next": three full-width rows, each a link to another article. */
.next { display: flex; flex-direction: column; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.next-link { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); padding: var(--gap-sm) var(--gap-md); background: var(--blush); font-weight: 500; transition: background-color .3s, color .3s; }
.next-arrow { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--accent); transition: transform .45s var(--ease); }
.next-link:hover { background: var(--accent); color: var(--white); }
.next-link:hover .next-arrow { transform: translateX(4px); }

/* Outside sources: a label, then rounded outline links. */
.sources { display: flex; flex-direction: column; gap: var(--gap-sm); padding-top: var(--gap-lg); border-top: 1px solid var(--line); }
.source-list { display: flex; flex-wrap: wrap; gap: var(--gap-xs); margin: 0; padding: 0; list-style: none; }
.source { display: inline-flex; align-items: center; gap: var(--gap-xs); padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s, color .3s; }
.source .icon { color: var(--accent); }
.source:hover { border-color: var(--accent); color: var(--accent); }

.tip { display: flex; align-items: flex-start; gap: var(--gap-sm); padding: var(--gap-md); background: var(--blush); }
.tip-icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--accent); }
.tip-body { display: flex; flex-direction: column; gap: 2px; }

@media (max-width: 899.98px) {
    .article-figure { height: 300px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .moves { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .article-figure { height: 240px; }
    .how-step, .move, .tip, .fact { padding: var(--gap-sm); }
}

/* 25. Phones: more breathing room -------------------------------------- */
/* On narrow screens text was running to within a few pixels of the edges and
   of each other. These rules widen the side gutter, loosen the gaps inside
   blocks and stop the breadcrumb and long titles from crowding. */
@media (max-width: 560px) {
    :root { --gutter: 20px; --gap-lg: 32px; --gap-xl: 48px; --fs-hero: 32px; --fs-xl: 26px; --fs-lg: 21px; }

    /* Title band: breadcrumb hides the current page (the title right below says it). */
    .page-head-inner { gap: var(--gap-sm); padding-block: var(--gap-lg); }
    .crumbs li[aria-current] { display: none; }
    .page-head h1, .article-title h1 { text-wrap: balance; }

    /* Article */
    .text-page { gap: var(--gap-lg); }
    .side .toc { padding: var(--gap-md); gap: var(--gap-sm); }
    .side .toc a { padding: 12px var(--gap-sm); }
    .side-help, .side-meta { padding: var(--gap-md); flex-direction: row; flex-wrap: wrap; gap: var(--gap-xs) var(--gap-md); }
    .article-body { gap: var(--gap-lg); }
    .article-figure { height: 260px; }
    .article-block { gap: var(--gap-sm); }
    .article-block h2 { flex-direction: column; gap: 2px; }
    .facts { grid-template-columns: 1fr 1fr; gap: var(--gap-xs); }
    .fact, .move, .tip { padding: var(--gap-sm) var(--gap-md); }
    .how { gap: var(--gap-xs); }
    .how-step { padding: var(--gap-md); gap: var(--gap-sm); }
    .how-body { gap: var(--gap-xs); }
    .ticks { gap: var(--gap-sm); }

    /* Questions: keep the number, text and button apart. */
    .ask-q { gap: var(--gap-sm); padding: var(--gap-md); align-items: flex-start; }
    .ask-num { width: auto; }
    .ask-clip p { padding: 0 var(--gap-md) var(--gap-md); }

    /* Cards and section headings */
    .section { padding-block: var(--gap-xl); }
    .section-inner { gap: var(--gap-lg); }
    .section-row { flex-direction: column; align-items: flex-start; gap: var(--gap-md); }
    .blog { gap: var(--gap-md); }
    .blog-body, .blog-foot { padding-inline: var(--gap-md); }
    .blog-thumb { height: 280px; }
}

/* 26. Search page and "page not found" ----------------------------------- */
/* Search uses the same pieces as the contact form: a white boxed field and
   the standard button. Side by side on wide screens, stacked on phones. */
.search-box { display: flex; align-items: stretch; gap: var(--gap-xs); width: min(100%, 640px); }
.search-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--gap-sm); height: 54px; padding-inline: var(--gap-sm); background: var(--white); border: 1px solid var(--line); transition: border-color .3s; }
.search-field:focus-within { border-color: var(--accent); }
.search-field .icon { color: var(--accent); }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; }
.search-field input::placeholder { color: var(--muted); }
.search-field input::-webkit-search-cancel-button { display: none; }

.other-topics-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.other-topic-tint { background: var(--blush); }
.section:not(.section-blush) .other-topic { background: var(--blush); }
.section:not(.section-blush) .other-topic:hover { background: var(--accent); }

@media (max-width: 1099.98px) {
    .other-topics-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .other-topics-3 { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; gap: var(--gap-sm); }
    .search-field { flex: none; }
    .search-box .btn { justify-content: space-between; }
}
