@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/nunito-latin-v1.woff2") format("woff2");
}

/* Dresaj Ieftin — site styles. Plain CSS, no build step. */

:root {
    --c-cream: #f7f3ee;
    --c-paper: #ffffff;
    --c-sand: #f2e9df;
    --c-line: #e8e2da;
    --c-ink: #12111b;
    --c-muted: #5e6069;
    --c-brand: #c47c2c;
    --c-brand-dark: #8a5418;
    --c-brand-soft: #f8efe3;
    --c-accent: #9c5f1f;
    --c-accent-soft: #f1e2cc;
    --c-warn: #8a3b2a;
    --c-warn-soft: #f7e3dd;
    --c-focus: #1f5fbf;

    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-display: "Nunito", system-ui, sans-serif;

    --radius: 24px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgb(29 42 44 / 5%), 0 6px 20px rgb(29 42 44 / 6%);
    --gutter: 16px;
    --container: 1320px;
    --narrow: 740px;

    color-scheme: light;
}

@media (min-width: 640px) {
    :root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 7rem;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--c-cream);
    color: var(--c-ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    margin: 0 0 0.6em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem); }
h3 { font-size: 1.2rem; }

p, ul, ol { margin: 0 0 1.1em; }

a {
    color: var(--c-brand-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover { color: var(--c-brand-dark); text-decoration-thickness: 2px; }

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

main:focus { outline: none; }

abbr[title] { text-decoration: none; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--c-ink);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus { top: 0.75rem; color: #fff; }

.eyebrow {
    margin: 0 0 0.6rem;
    color: var(--c-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead {
    font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
    line-height: 1.55;
    color: var(--c-muted);
    max-width: 62ch;
}

/* Header ---------------------------------------------------------------- */

.site-header {
    background: var(--c-paper);
    border-bottom: 1px solid var(--c-line);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-block: 0.75rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--c-ink);
    text-decoration: none;
    min-height: 44px;
}

.brand:hover { color: var(--c-ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.brand-tagline { font-size: 0.78rem; color: var(--c-muted); }

.nav-toggle { display: none; }

.nav-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    color: var(--c-ink);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-list a:hover { background: var(--c-sand); color: var(--c-ink); }

.nav-list a[aria-current="page"] {
    color: var(--c-brand-dark);
    background: var(--c-brand-soft);
    font-weight: 650;
}


/* Collapsible navigation only when JS is available; without JS it stays open. */
@media (max-width: 1099.98px) {
    .js .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        min-height: 44px;
        padding: 0.4rem 0.9rem;
        border: 1px solid var(--c-line);
        border-radius: 999px;
        background: var(--c-cream);
        color: var(--c-ink);
        font: inherit;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
    }

    .nav-toggle-bars,
    .nav-toggle-bars::before,
    .nav-toggle-bars::after {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        position: relative;
    }

    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -6px; }
    .nav-toggle-bars::after { top: 6px; }

    .nav-panel { width: 100%; flex-direction: column; align-items: stretch; }
    .js .nav-panel { display: none; padding-bottom: 0.75rem; }
    .js .nav-panel.is-open { display: flex; }
    .js .nav-list { flex-direction: column; }
    .js .nav-list a { width: 100%; padding-inline: 0.75rem; }
}

/* Buttons --------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.3rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.button-primary { background: var(--c-brand); color: #fff; }
.button-primary:hover { background: var(--c-brand-dark); color: #fff; }
.button-secondary { border-color: var(--c-brand); color: var(--c-brand-dark); background: transparent; }
.button-secondary:hover { background: var(--c-brand-soft); color: var(--c-brand-dark); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Home hero ------------------------------------------------------------- */

.hero {
    padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
    background:
        radial-gradient(1200px 400px at 85% -10%, var(--c-brand-soft), transparent 60%),
        var(--c-cream);
}

.hero-grid { display: grid; gap: 2rem; align-items: center; }

@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
}

.hero-copy h1 { margin-bottom: 0.45em; }

.hero-media .picture img,
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--c-sand);
}

/* Sections -------------------------------------------------------------- */

.section { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section-alt { background: var(--c-paper); border-block: 1px solid var(--c-line); }

.section-heading { max-width: 70ch; margin-bottom: 1.75rem; }
.section-heading h2 { margin-bottom: 0.4em; }
.section-intro { color: var(--c-muted); font-size: 1.08rem; }
.section-intro > :last-child { margin-bottom: 0; }

.section-body { max-width: 70ch; }

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    margin-block: 1.5rem;
}

@media (min-width: 900px) {
    .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.info-card, .guide-card {
    position: relative;
    padding: 1.35rem 1.35rem 1.25rem;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}

.section-alt .info-card, .section-alt .guide-card { background: var(--c-cream); }

.info-card-number {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.info-card-title, .guide-card-title { font-size: 1.15rem; margin-bottom: 0.45em; }
.info-card-body > :last-child, .guide-card > p:last-of-type { margin-bottom: 0; }
.info-card-body { color: var(--c-muted); font-size: 1rem; }

.guide-card { display: flex; flex-direction: column; gap: 0.25rem; transition: border-color 0.15s, box-shadow 0.15s; }
.guide-card p { color: var(--c-muted); font-size: 1rem; flex: 1; }
.guide-card-title a { color: var(--c-ink); text-decoration: none; }
/* Whole card clickable, one real link for screen readers. */
.guide-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.guide-card-title a:focus-visible { outline: none; }
.guide-card:has(a:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.guide-card:hover { border-color: var(--c-brand); box-shadow: var(--shadow); }
.guide-card-cta { margin-top: 0.75rem; color: var(--c-brand-dark); font-weight: 650; font-size: 0.95rem; }

/* Comparison + checklists ----------------------------------------------- */

.compare { display: grid; gap: 1rem; margin-block: 1.5rem; }

@media (min-width: 760px) {
    .compare { grid-template-columns: 1fr 1fr; }
}

.checklist {
    margin-block: 1.5rem;
    padding: 1.25rem 1.35rem;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
}

.section-alt .checklist { background: var(--c-cream); }
.compare .checklist { margin: 0; }
.checklist-title { font-size: 1.1rem; margin-bottom: 0.75rem; }

.checklist ul { list-style: none; margin: 0; padding: 0; }

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.65rem;
}

.checklist li:last-child { margin-bottom: 0; }

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--c-brand-soft) center / 0.8rem no-repeat;
}

.checklist-check li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%238a5418' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.checklist-question li::before {
    background-color: var(--c-accent-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.6 5.8a2.5 2.5 0 1 1 3.4 2.3c-.6.3-1 .8-1 1.5v.4' fill='none' stroke='%239a5420' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='13' r='1.1' fill='%239a5420'/%3E%3C/svg%3E");
}

.checklist-cross li::before {
    background-color: var(--c-warn-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v5' stroke='%238a3b2a' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12.3' r='1.2' fill='%238a3b2a'/%3E%3C/svg%3E");
}

.callout {
    margin-block: 1.75rem;
    padding: 1.15rem 1.35rem;
    border-left: 4px solid var(--c-brand);
    border-radius: var(--radius-sm);
    background: var(--c-brand-soft);
}

.callout-info { border-color: var(--c-accent); background: var(--c-accent-soft); }
.callout-warning { border-color: var(--c-warn); background: var(--c-warn-soft); }
.callout-title { margin-bottom: 0.35rem; font-weight: 700; }
.callout-body > :last-child { margin-bottom: 0; }

/* Guide pages ----------------------------------------------------------- */

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
    color: var(--c-muted);
}

.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--c-line); }
.breadcrumb a { color: var(--c-muted); }

.prose { max-width: none; }
.prose > h2 { margin-top: 2.4rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--c-brand); }
.prose .checklist ul { padding-left: 0; }
.prose .card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.prose strong { font-weight: 650; }

.prose table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-size: 0.97rem; }
.prose th, .prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose th { background: var(--c-sand); }
.table-scroll { max-width: 100%; overflow-x: auto; }

.faq { margin-top: 2.5rem; }

.faq details {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-sm);
    background: var(--c-paper);
    margin-bottom: 0.6rem;
}

.faq summary {
    cursor: pointer;
    padding: 0.9rem 1.1rem;
    font-weight: 650;
    list-style-position: outside;
    min-height: 44px;
}

.faq summary::marker { color: var(--c-brand); }
.faq-answer { padding: 0 1.1rem 0.9rem; color: var(--c-muted); }
.faq-answer > :last-child { margin-bottom: 0; }

.related { padding-block: 3rem; background: var(--c-paper); border-top: 1px solid var(--c-line); }
.related .guide-card { background: var(--c-cream); }
.related-all { margin: 0; font-weight: 650; }

.cta-band {
    padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem);
    background: var(--c-brand-dark);
    color: #eef4f1;
}

.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band .eyebrow { color: #ecd3b0; }
.cta-band p { color: #d7e4de; max-width: 62ch; }
.cta-band a:not(.button) { color: #fff; }
.cta-band .button-primary { background: #fff; color: var(--c-brand-dark); }
.cta-band .button-primary:hover { background: var(--c-cream); color: var(--c-brand-dark); }
.cta-band .button-secondary { border-color: #cfe0d8; color: #fff; }
.cta-band .button-secondary:hover { background: rgb(255 255 255 / 10%); color: #fff; }

.error-page { min-height: 50vh; }

/* Footer ---------------------------------------------------------------- */

.site-footer {
    background: var(--c-ink);
    color: #cdd6d8;
    font-size: 0.95rem;
    padding-top: 3rem;
}

.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }

@media (min-width: 820px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr; gap: 3rem; }
}

.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; }
.footer-small { font-size: 0.85rem; color: #aab6b9; }
.footer-heading { margin-bottom: 0.5rem; color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.site-footer li { margin-bottom: 0.2rem; }
.site-footer li a { display: inline-block; padding-block: 0.3rem; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer a[aria-current] { color: #ecd3b0; }
.footer-bottom { margin-top: 1.5rem; padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.85rem; color: #aab6b9; }
.footer-bottom p { margin: 0; }

/* Motion + print ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    body { background: #fff; font-size: 11pt; color: #000; }
    .site-header, .site-footer, .related, .skip-link, .back-top, .guide-toc, .guide-aside, .page-banner-crumbs, .banner-doodle, .hero-media, .hero-actions, .cta-band .button { display: none !important; }
    .checklist, .callout, .info-card, .guide-card { break-inside: avoid; border-color: #999; background: #fff !important; }
    .checklist li::before { border: 1.5px solid #333; background: #fff !important; border-radius: 3px; }
    a { color: #000; text-decoration: none; }
    .guide-layout { display: block; padding: 0; }
    .container { max-width: none; padding: 0; }
}

.section-more { margin: 1.25rem 0 0; font-weight: 650; }
.checklist li em { color: var(--c-muted); font-size: 0.95em; }

/* 2026 visual system: warm photography, generous type and organic shapes. */
.icon { width: 26px; height: 26px; flex: none; }
body { background: #fff; font-size: 1rem; line-height: 1.8; }
h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); }
h3 { font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .9rem; letter-spacing: .015em; text-transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--c-cream); border: 0; box-shadow: 0 4px 24px rgb(18 17 27 / 3%); }
.header-inner { min-height: 106px; gap: 1rem; flex-wrap: nowrap; }
.brand { gap: .65rem; }
.brand-logo { display: block; width: auto; height: 84px; }
.brand-name { font-size: 1.65rem; font-weight: 900; letter-spacing: -.045em; }
.brand-tagline { color: var(--c-brand-dark); font-size: .69rem; line-height: 1.8; }
.nav-panel { gap: 1.1rem; flex-wrap: nowrap; }
.nav-list { gap: .15rem; flex-wrap: nowrap; }
.nav-list a { padding-inline: .6rem; font-size: .875rem; white-space: nowrap; }
.nav-list a:hover { color: var(--c-brand-dark); background: transparent; }
.nav-list a[aria-current="page"] { background: transparent; position: relative; }
.button { gap: 1.2rem; min-height: 56px; font-size: .94rem; font-weight: 650; padding: .85rem 1.65rem; transition: background .2s, transform .2s; }
.button .icon { width: 21px; height: 21px; padding-left: .65rem; box-sizing: content-box; border-left: 1px solid currentColor; }
.button-primary { background: var(--c-brand); color: var(--c-ink); }
.button-primary:hover { background: #a8661f; color: #12111b; transform: translateY(-2px); }
.button-dark { background: var(--c-ink); color: #fff; }
.button-dark:hover { background: #34313e; color: #fff; transform: translateY(-2px); }
.button-secondary { border-color: var(--c-line); color: var(--c-ink); }
.header-cta { min-height: 46px; padding: .65rem 1.15rem; gap: .55rem; font-size: .8rem; white-space: nowrap; }
.header-cta .icon { border: 0; padding: 0; width: 18px; }
.hero { position: relative; isolation: isolate; background: var(--c-cream); overflow: hidden; padding: 65px 0 0; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; min-height: 590px; padding-bottom: 50px; }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { color: var(--c-brand-dark); font-size: 1rem; margin-bottom: 1.5rem; }
.hero-eyebrow .icon { color: var(--c-brand); width: 30px; height: 30px; }
.hero h1 { font-size: clamp(3.2rem, 2rem + 2.7vw, 4.8rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; text-wrap: initial; margin-bottom: 1.4rem; }
.hero h1 span { color: var(--c-brand-dark); }
.hero .lead { font-size: 1.05rem; line-height: 1.85; max-width: 52ch; }
.hero-actions { gap: .7rem; margin-top: 1.8rem; }
.hero-note { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 0; color: var(--c-muted); font-size: .77rem; }
.hero-note .icon { width: 17px; height: 17px; color: var(--c-brand-dark); }
.hero-media { position: relative; min-width: 0; padding: 18px 0 28px; }
.hero-photo { aspect-ratio: 1.03; overflow: hidden; border-radius: 48% 52% 34% 66% / 46% 40% 60% 54%; transform: rotate(-5deg); }
.hero-photo .picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo .picture { transform: rotate(5deg) scale(1.12); }
.hero-photo img { object-fit: cover; object-position: 43% center; border-radius: 0 !important; box-shadow: none !important; }
.hero-photo-small { position: absolute; right: -8px; bottom: 10px; width: 31%; aspect-ratio: .95; border: 9px solid var(--c-cream); border-radius: 50% 50% 48% 52% / 58% 44% 56% 42%; overflow: hidden; transform: rotate(13deg); }
.hero-photo-small .picture, .hero-photo-small img { width: 100%; height: 100%; }
.hero-photo-small img { object-fit: cover; border-radius: 0 !important; box-shadow: none !important; object-position: 50% 60%; transform: rotate(-13deg) scale(1.2); }
.hero-doodle { position: absolute; color: var(--c-brand); z-index: 2; }
.doodle-bone { width: 65px; height: 65px; left: -38px; top: 2px; transform: rotate(-24deg); }
.doodle-spark { width: 49px; height: 49px; right: 0; top: 25px; transform: rotate(8deg); }
.photo-sticker { position: absolute; bottom: 15px; left: 4px; width: 160px; padding: 17px 15px; background: #fff; color: var(--c-ink); font: 800 1.1rem/1.25 var(--font-display); border-radius: 18px; transform: rotate(-7deg); box-shadow: 0 10px 35px rgb(30 20 5 / 8%); }
.photo-sticker .icon { color: var(--c-brand-dark); width: 25px; height: 25px; margin-bottom: 8px; }
.hero-blob { position: absolute; z-index: -1; background: #f1e3cf; }
.hero-blob-left { width: 340px; height: 490px; left: -230px; top: -260px; border-radius: 32% 68% 80% 20%; transform: rotate(35deg); }
.hero-blob-right { width: 430px; height: 300px; right: -180px; bottom: -180px; border-radius: 45% 65% 0 0; transform: rotate(-35deg); }
.hero-promises { display: flex; justify-content: center; gap: 4rem; position: relative; padding-block: 25px; border-top: 1px solid #e6d9ce; }
.hero-promises span { display: flex; align-items: center; gap: .65rem; font-size: .83rem; font-weight: 500; }
.hero-promises .icon { color: var(--c-brand-dark); width: 22px; height: 22px; }
.section { padding-block: clamp(3.5rem, 5.5vw, 6.5rem); }
.section-alt { background: var(--c-cream); border: 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.story-copy { min-width: 0; }
.story-copy .section-heading { margin-bottom: 1.5rem; }
.story-copy h2 { font-size: clamp(2rem, 1.35rem + 1.5vw, 2.9rem); }
.story-copy p { color: var(--c-muted); font-size: .96rem; line-height: 1.85; }
.story-copy .eyebrow { color: var(--c-brand-dark); font-size: .85rem; }
.story-copy .button { margin-top: .75rem; }
.photo-collage { position: relative; min-width: 0; margin: 12px 0 24px; padding: 0 20px 0 0; }
.collage-main { display: block; height: 565px; overflow: hidden; border-radius: 32px 110px 32px 32px; }
.collage-main img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.collage-small { position: absolute; top: -16px; right: 0; width: 32%; aspect-ratio: 1; border: 10px solid #fff; border-radius: 34px; overflow: hidden; }
.collage-small img { width: 100%; height: 100%; object-fit: cover; }
.collage-caption { position: absolute; bottom: -24px; left: -10px; width: 210px; min-height: 168px; padding: 23px; border: 10px solid #fff; border-radius: 32px; background: var(--c-brand); color: var(--c-ink); font: 900 1.3rem/1.3 var(--font-display); }
.collage-caption .icon { width: 32px; height: 32px; margin-bottom: .6rem; }
.collage-paw { position: absolute; right: -6px; bottom: -25px; width: 66px; height: 66px; color: var(--c-accent-soft); transform: rotate(22deg); }
.editorial-photo { position: relative; }
.editorial-photo .picture { display: block; overflow: hidden; border-radius: 32px 90px 32px 32px; }
.editorial-photo img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.editorial-photo > .icon { position: absolute; right: 15px; bottom: -22px; width: 66px; height: 66px; padding: 13px; background: var(--c-brand); color: var(--c-ink); border: 6px solid #fff; border-radius: 22px; transform: rotate(10deg); }
.section-heading { max-width: 760px; }
.section-intro { font-size: 1rem; }
.page-home .section-alt > .container > .section-heading { text-align: center; margin-inline: auto; margin-bottom: 2.5rem; }
.page-home .section-alt > .container > .section-heading .eyebrow { justify-content: center; }
.card-grid { gap: 1.4rem; margin-block: 2rem; }
.info-card { padding: 2rem; border-color: transparent; }
.section-alt .info-card, .section-alt .guide-card { background: #fff; }
.info-card-number { font: 900 1.25rem var(--font-display); width: 50px; height: 50px; background: var(--c-accent-soft); margin-bottom: 1.25rem; }
.info-card-title, .guide-card-title { font-size: 1.4rem; }
.info-card-body, .guide-card p { font-size: .92rem; line-height: 1.8; }
.guide-card { padding: 1.7rem; }
.guide-card-illustrated { overflow: hidden; padding: 0 0 1.65rem; gap: .3rem; border: 0; }
.guide-card-image { display: block; margin-bottom: 1.15rem; overflow: hidden; }
.guide-card-image img { width: 100%; aspect-ratio: 1.7; object-fit: cover; transition: transform .35s; }
.guide-card-illustrated:hover .guide-card-image img { transform: scale(1.025); }
.guide-card-illustrated > :not(.guide-card-image) { margin-inline: 1.6rem; }
.guide-card-illustrated .guide-card-cta { border-top: 1px solid var(--c-line); padding-top: 1rem; }
.page-home .card-grid:has(.guide-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare { gap: 1.5rem; }
.checklist { padding: 1.8rem; border-radius: 24px; }
.section-alt .checklist { background: #fff; }
.checklist-title { font-size: 1.4rem; margin-bottom: 1.25rem; }
.checklist li { font-size: .95rem; margin-bottom: 1rem; }
.section-more a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.section-more a::after { content: '→'; }
.page-home .section-alt .section-more { text-align: center; }
.related { padding-block: 4rem 6rem; }
.breadcrumb li:not(:last-child)::after { color: var(--c-brand-dark); }
.page-banner { position: relative; margin: 22px 24px 0; min-height: 425px; border-radius: 32px; background: var(--c-ink); isolation: isolate; }
.page-banner > .picture { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; }
.page-banner > .picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(18 17 27 / 62%); border-radius: inherit; }
.page-banner-copy { min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px 65px; }
.page-banner-copy .eyebrow { color: #f8efe2; font-size: .9rem; }
.page-banner h1 { max-width: 800px; color: #fff; font-size: clamp(2.6rem, 3.5vw, 4rem); }
.page-banner-crumbs { position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); border-radius: 28px 28px 0 0; padding: 22px 45px 8px; background: #fff; min-width: 350px; }
.page-banner-crumbs .breadcrumb ol { margin: 0; justify-content: center; font-weight: 700; font-size: .9rem; }
.page-banner-crumbs .breadcrumb a { color: var(--c-ink); text-decoration: none; }
.page-banner-crumbs .breadcrumb [aria-current] { color: var(--c-brand-dark); }
.about-purpose > .container > h2 { text-align: center; }
.about-purpose > .container > p { max-width: 700px; text-align: center; margin-inline: auto; color: var(--c-muted); }
.about-values .split-layout { align-items: start; }
.values-photo { position: relative; padding-bottom: 35px; }
.values-photo > .picture { display: block; border-radius: 32px; overflow: hidden; }
.values-photo > .picture img { height: 680px; width: 100%; object-fit: cover; object-position: 45% center; }
.values-badge { position: absolute; bottom: 0; right: -15px; width: 235px; padding: 28px; border: 12px solid #fff; border-radius: 36px; background: var(--c-brand); font: 900 1.65rem/1.25 var(--font-display); }
.values-badge .icon { width: 40px; height: 40px; margin-bottom: 15px; }
.principles-list { padding: 0; list-style: none; }
.principles-list li { border-top: 1px solid var(--c-line); padding: 15px 0; font-size: .9rem; color: var(--c-muted); line-height: 1.75; }
.principles-list strong { color: var(--c-ink); }
.closing-section { padding-bottom: 8rem; }
.closing-card { position: relative; overflow: hidden; background: var(--c-accent-soft); border-radius: 36px; padding: 65px 12%; text-align: center; }
.closing-card .eyebrow { justify-content: center; color: var(--c-brand-dark); }
.closing-card h2 { max-width: 760px; margin-inline: auto; }
.closing-card p:not(.eyebrow) { max-width: 580px; margin: 1rem auto 1.75rem; color: #574941; }
.closing-doodle { position: absolute; top: 50px; left: 4%; color: var(--c-brand-dark); width: 65px; height: 65px; transform: rotate(-20deg); }
.closing-paw { position: absolute; bottom: 40px; right: 4%; color: #9c5f1f; opacity: .5; width: 85px; height: 85px; transform: rotate(20deg); }
.site-footer { position: relative; margin-top: 50px; padding-top: 3rem; background: #202020; color: #ccc9c7; }
.footer-wave { position: absolute; bottom: calc(100% - 1px); left: 0; width: 100%; height: 80px; max-width: none; color: #202020; }
.footer-topline { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid #3c3a39; }
.footer-topline > div { max-width: 660px; }
.footer-topline h2 { color: #fff; font-size: clamp(1.8rem, 2.4vw, 2.7rem); margin: 0; }
.footer-topline .eyebrow { color: #e2a862; }
.footer-topline .button { flex: none; color: var(--c-ink); }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font: 900 1.8rem/1.2 var(--font-display); text-decoration: none; margin-bottom: 1.25rem; }
.footer-brand .icon { width: 36px; height: 36px; color: var(--c-brand); }
.footer-about > p { font-size: .9rem; line-height: 1.85; }
.footer-about .footer-small { color: #b8b4b0; font-size: .78rem; }
.footer-heading { font: 800 1.15rem var(--font-display); text-transform: none; letter-spacing: 0; margin-bottom: 1.2rem; }
.site-footer li a { font-size: .85rem; color: #d4d0cd; padding-block: .4rem; }
.site-footer li a:hover { color: #e2a862; }
.footer-grid { grid-template-columns: 1.15fr 1fr .75fr; gap: 5rem; }
.footer-nav, .footer-meta { border-left: 1px solid #3c3a39; padding-left: 3rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-block: 1.5rem; margin-top: 3rem; font-size: .75rem; color: #b8b4b0; }
.footer-bottom p:last-of-type { display: flex; align-items: center; gap: .6rem; }
.footer-bottom .icon { width: 16px; height: 16px; color: #e2a862; }
.back-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 25; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-brand); color: var(--c-ink); box-shadow: 0 8px 24px rgb(18 17 27 / 22%); text-decoration: none; transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.back-top svg { width: 22px; height: 22px; }
.back-top:hover { background: #a8661f; color: var(--c-ink); }
.back-top:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.js .back-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.nav-open .back-top { opacity: 0; visibility: hidden; }
@media (min-width: 800px) { .footer-bottom { padding-right: 4.5rem; } }
@media (max-width: 799.98px) { .footer-bottom { padding-bottom: 5.5rem; } }
@media (min-width: 1500px) { .hero { padding-top: 90px; } .hero-grid { min-height: 660px; } }
@media (max-width: 1250px) { .header-cta { display: none; } .hero-actions .button { padding-inline: 1.2rem; font-size: .86rem; gap: .7rem; } }
@media (max-width: 1099.98px) {
    .header-inner { flex-wrap: wrap; min-height: 84px; }
    .nav-panel { gap: 1rem; }
    .js .nav-toggle { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
    .nav-list { flex-wrap: wrap; }
    .hero-grid { gap: 2rem; }
    .hero h1 { font-size: clamp(3rem, 5.5vw, 3.8rem); }
    .hero-promises { gap: 2rem; }
    .split-layout { gap: 3rem; }
    .collage-main { height: 515px; }
    .footer-grid { gap: 2.5rem; }
    .footer-nav, .footer-meta { padding-left: 2rem; }
}
@media (max-width: 799.98px) {
    .hero { padding-top: 45px; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 30px; }
    .hero-copy { max-width: 620px; }
    .hero h1 { font-size: clamp(2.8rem, 7.5vw, 4.4rem); }
    .hero-media { width: 90%; max-width: 540px; margin-inline: auto; }
    .hero-note { margin-top: 1.2rem; }
    .hero-promises { gap: 1rem; flex-wrap: wrap; padding-block: 20px; }
    .hero-promises span { font-size: .75rem; }
    .hero-promises .icon { width: 18px; height: 18px; }
    .split-layout { grid-template-columns: 1fr; gap: 3.5rem; }
    .photo-collage { max-width: 580px; width: 100%; margin-inline: auto; }
    .collage-main { height: 480px; }
    .story-section .story-copy { order: -1; }
    .page-home .card-grid:has(.guide-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-alt .section-heading { text-align: left !important; }
    .section-alt .section-heading .eyebrow { justify-content: flex-start !important; }
    .page-banner { margin: 12px; min-height: 340px; border-radius: 24px; }
    .about-story { padding-top: 3.5rem; }
    .page-banner-crumbs { min-width: 280px; padding-inline: 22px; }
    .values-photo { max-width: 580px; width: 100%; margin-inline: auto; }
    .values-photo > .picture img { height: 500px; }
    .values-badge { right: 0; }
    .closing-card { padding: 45px 8%; }
    .closing-doodle, .closing-paw { width: 45px; height: 45px; opacity: .22; }
    .closing-doodle { top: 20px; left: 15px; }
    .closing-paw { bottom: 20px; right: 15px; }
    .footer-topline { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; max-width: 600px; }
    .footer-nav, .footer-meta { padding-left: 0; border: 0; }
    .footer-bottom { flex-wrap: wrap; }
    .footer-bottom p:first-child { width: 100%; }
}
@media (max-width: 479.98px) {
    .header-inner { min-height: 78px; }
    .brand-name { font-size: 1.4rem; }
    .brand-logo { height: 60px; }
    .brand-tagline { font-size: .62rem; }
    .js .nav-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .hero-eyebrow { font-size: .8rem; margin-bottom: 1rem; gap: .4rem; }
    .hero-eyebrow .icon { width: 23px; height: 23px; }
    .hero h1 { font-size: clamp(2.65rem, 10.3vw, 3.35rem); }
    .hero .lead { font-size: .95rem; line-height: 1.75; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button { min-height: 52px; font-size: .95rem; }
    .hero-note { font-size: .7rem; }
    .hero-media { width: 94%; }
    .doodle-bone { width: 42px; height: 42px; left: -7px; }
    .doodle-spark { width: 35px; height: 35px; }
    .photo-sticker { font-size: .92rem; width: 140px; padding: 13px; }
    .hero-promises { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .hero-promises span { font-size: .8rem; }
    .collage-main { height: 385px; border-top-right-radius: 75px; }
    .collage-caption { width: 180px; min-height: 148px; font-size: 1.15rem; }
    .collage-paw { right: 0; width: 45px; height: 45px; }
    .page-home .card-grid:has(.guide-card) { grid-template-columns: 1fr; }
    .info-card { padding: 1.5rem; }
    .checklist { padding: 1.35rem; }
    .page-banner h1 { font-size: 2.3rem; }
    .page-banner-copy .eyebrow { font-size: .75rem; }
    .page-banner-crumbs { min-width: 255px; }
    .values-photo > .picture img { height: 410px; }
    .values-badge { width: 195px; font-size: 1.3rem; padding: 20px; }
    .closing-card { padding: 40px 22px; border-radius: 24px; }
    .closing-card h2 { font-size: 2rem; }
    .closing-card .button { width: 100%; font-size: .85rem; padding-inline: 1rem; gap: .7rem; }
    .closing-section { padding-bottom: 5rem; }
    .footer-wave { height: 45px; }
    .footer-grid { gap: 2rem 1.5rem; }
    .footer-heading { font-size: 1rem; }
    .site-footer li a { font-size: .8rem; }
}
@media print {
    .hero, .page-banner, .section-alt { background: #fff; }
    .photo-collage, .values-photo, .hero-doodle, .hero-promises, .closing-section { display: none !important; }
    .page-banner { height: auto; margin: 0; }
    .page-banner > .picture, .page-banner::before, .page-banner-crumbs { display: none; }
    .page-banner-copy { padding: 0; }
    .page-banner h1 { color: #000; }
    .split-layout { display: block; }
    .section { padding-block: 1rem; }
}

/* Guides 2026: photo banner, two-column article, sticky sidebar. -------- */
.page-guide main, .page-hub main { display: flow-root; background: var(--c-cream); }
.page-guide .page-banner > .picture img { object-position: center 30%; }
.page-guide, .page-hub { --banner-cut: var(--c-cream); }
.page-banner-crumbs { background: var(--banner-cut, #fff); }
.page-banner-crumbs::before, .page-banner-crumbs::after { content: ''; position: absolute; bottom: 1px; width: 28px; height: 28px; }
.page-banner-crumbs::before { right: calc(100% - 1px); background: radial-gradient(circle at 0 0, transparent 27px, var(--banner-cut, #fff) 28px); }
.page-banner-crumbs::after { left: calc(100% - 1px); background: radial-gradient(circle at 100% 0, transparent 27px, var(--banner-cut, #fff) 28px); }
.page-banner-copy .eyebrow { justify-content: center; }
.page-banner-photo h1 { text-shadow: 0 2px 24px rgb(0 0 0 / 25%); }
.page-guide .page-banner h1, .page-hub .page-banner h1 { max-width: 940px; font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.7rem); }
.page-banner-plain { background: var(--c-accent-soft); }
.page-banner-plain::before { background: radial-gradient(circle at 10% 15%, rgb(255 255 255 / 60%) 0 170px, transparent 171px), radial-gradient(circle at 95% 115%, rgb(196 124 44 / 16%) 0 250px, transparent 251px); }
.page-banner-plain h1 { color: var(--c-ink); }
.page-banner-plain .page-banner-copy .eyebrow { color: var(--c-brand-dark); }
.banner-doodle { position: absolute; z-index: -1; color: var(--c-brand); }
.banner-doodle-bone { width: 70px; height: 70px; left: 8%; top: 22%; transform: rotate(-24deg); }
.banner-doodle-paw { width: 90px; height: 90px; right: 9%; bottom: 24%; color: #e3c092; transform: rotate(18deg); }
.banner-doodle-spark { width: 44px; height: 44px; right: 20%; top: 16%; }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: calc(1180px + 2 * var(--gutter)); padding-block: 4.5rem 5rem; }
.guide-main { min-width: 0; }
.sidebar-card { padding: 1.6rem; background: #fff; border-radius: 24px; }
.sidebar-title { position: relative; margin: 0 0 1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--c-line); font: 900 1.3rem/1.2 var(--font-display); color: var(--c-ink); }
.sidebar-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--c-brand); }
.guide-toc summary { list-style: none; cursor: pointer; }
.guide-toc summary::-webkit-details-marker { display: none; }
.guide-toc summary .sidebar-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-toc summary .sidebar-title::before { content: ''; order: 2; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--c-brand-dark); border-bottom: 2px solid var(--c-brand-dark); transform: rotate(45deg); }
.guide-toc details[open] .sidebar-title::before { margin-top: 4px; transform: rotate(-135deg); }
.guide-toc details:not([open]) .sidebar-title { margin-bottom: 0; }
.guide-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.guide-toc li { border-bottom: 1px solid var(--c-line); }
.guide-toc li:last-child { border: 0; }
.guide-toc a { display: flex; gap: .75rem; padding: .65rem 0; color: var(--c-ink); font-size: .92rem; line-height: 1.45; text-decoration: none; }
.guide-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--c-brand-dark); font: 800 .78rem/1.85 var(--font-display); }
.guide-toc a:hover { color: var(--c-brand-dark); }

.guide-aside { display: grid; gap: 1.5rem; align-content: start; }
.sidebar-cta { position: relative; overflow: hidden; background: var(--c-ink); color: #d9d6d3; }
.sidebar-cta .eyebrow { color: #e2a862; }
.sidebar-cta-title { margin-bottom: .6rem; color: #fff; font: 900 1.5rem/1.2 var(--font-display); }
.sidebar-cta p:not([class]) { font-size: .92rem; line-height: 1.7; }
.sidebar-cta .button { width: 100%; justify-content: space-between; min-height: 52px; margin-top: .25rem; }
.sidebar-cta-paw { position: absolute; top: -10px; right: -14px; width: 92px; height: 92px; color: rgb(255 255 255 / 7%); transform: rotate(20deg); }
.sidebar-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.sidebar-pills a { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--c-line); border-radius: 12px; color: var(--c-ink); font-size: .88rem; line-height: 1.3; text-decoration: none; transition: border-color .2s, color .2s; }
.sidebar-pills a:hover { border-color: var(--c-brand); color: var(--c-brand-dark); }

.guide-intro { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #e6d9ce; }
.guide-intro .lead { max-width: none; color: var(--c-ink); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); font-weight: 500; line-height: 1.6; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; color: var(--c-muted); font-size: .88rem; }
.guide-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.guide-meta .icon { width: 18px; height: 18px; color: var(--c-brand-dark); }

.prose { color: #4b4d57; font-size: 1.03rem; line-height: 1.85; }
.prose > h2, .prose .faq > h2 { margin-top: 3rem; color: var(--c-ink); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); }
.prose > h2:first-child { margin-top: 0; }
.prose [id] { scroll-margin-top: 8rem; }
.prose h3, .prose strong { color: var(--c-ink); }
.prose > ul { padding-left: 0; list-style: none; }
.prose > ul > li { position: relative; margin-bottom: .75rem; padding-left: 2.1rem; }
.prose > ul > li::before { content: ''; position: absolute; left: 0; top: .22em; width: 1.35rem; height: 1.35rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat; }
.prose .checklist { border: 0; background: #fff; padding: 2rem; }
.prose .checklist-title { margin-top: 0; }
.prose .callout { display: flex; gap: 1.1rem; align-items: flex-start; margin-block: 2rem; padding: 1.6rem; border: 0; border-radius: 24px; background: #fff; box-shadow: inset 5px 0 0 var(--c-brand); }
.callout-icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-dark); }
.callout:not(.prose .callout) .callout-icon { display: none; }
.callout-info .callout-icon { background: var(--c-accent-soft); color: var(--c-accent); }
.callout-warning .callout-icon { background: var(--c-warn-soft); color: var(--c-warn); }
.prose .callout-info { box-shadow: inset 5px 0 0 var(--c-accent); }
.prose .callout-warning { box-shadow: inset 5px 0 0 var(--c-warn); }
.callout-title { color: var(--c-ink); font: 800 1.15rem/1.3 var(--font-display); }
.prose table { overflow: hidden; border-radius: 20px; background: #fff; }
.prose th { background: var(--c-accent-soft); color: var(--c-ink); font-family: var(--font-display); font-weight: 800; }
.prose th, .prose td { padding: .85rem 1rem; }
.prose tr:last-child td { border-bottom: 0; }
.faq details { border: 0; border-radius: 18px; background: #fff; margin-bottom: .75rem; }
.faq summary { padding: 1.1rem 1.35rem; color: var(--c-ink); list-style-position: inside; }
.faq summary::marker { margin-right: .5rem; }
.faq-answer { padding: 0 1.35rem 1.1rem; }
.page-hub .prose .card-grid, .prose .card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.related { padding-block: 5rem 6rem; border: 0; background: #fff; }
.related-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.related-head h2 { margin: 0; }
.related-head .eyebrow { color: var(--c-brand-dark); }
.related-head .eyebrow .icon { color: var(--c-brand); }
.related .card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.error-page { position: relative; isolation: isolate; overflow: hidden; min-height: 0; padding-block: clamp(4rem, 8vw, 7rem); background: var(--c-cream); }
.error-inner { position: relative; max-width: calc(760px + 2 * var(--gutter)); text-align: center; }
.error-code { position: absolute; inset: -2.5rem 0 auto; z-index: -1; margin: 0; color: var(--c-accent-soft); font: 900 clamp(9rem, 25vw, 17rem)/1 var(--font-display); letter-spacing: -.05em; }
.error-page .eyebrow { justify-content: center; color: var(--c-brand-dark); }
.error-page .eyebrow .icon { color: var(--c-brand); }
.error-page .lead { margin-inline: auto; }
.error-page .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; }
.error-suggestions { max-width: 560px; margin: 3rem auto 0; padding: 1.6rem; border-radius: 24px; background: #fff; text-align: left; }

@media (min-width: 1024px) {
    .guide-layout { grid-template-columns: minmax(0, 1fr) 330px; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 4vw, 4.5rem); row-gap: 1.5rem; }
    .guide-main { grid-column: 1; grid-row: 1 / span 2; }
    .guide-aside { grid-column: 2; grid-row: 1; }
    .guide-toc { position: sticky; top: 130px; grid-column: 2; grid-row: 2; align-self: start; max-height: calc(100vh - 150px); overflow: auto; }
}
@media (min-width: 1200px) {
    .prose > .checklist ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
    .prose > .checklist li { margin: 0; }
}
@media (max-width: 1023.98px) {
    .guide-layout { padding-block: 3rem 4rem; }
    .guide-main { display: contents; }
    .guide-intro { order: -1; margin-bottom: 0; }
    .guide-aside { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
}
@media (max-width: 799.98px) {
    .banner-doodle-bone { width: 44px; height: 44px; left: 5%; top: 10%; }
    .banner-doodle-paw { width: 56px; height: 56px; right: 5%; bottom: 28%; }
    .banner-doodle-spark { display: none; }
    .related { padding-block: 3.5rem 4.5rem; }
}
@media (max-width: 479.98px) {
    .page-guide .page-banner h1, .page-hub .page-banner h1 { font-size: 2rem; }
    .sidebar-card, .prose .checklist, .prose .callout { padding: 1.3rem; }
    .prose .callout { flex-direction: column; gap: .75rem; }
    .prose { font-size: 1rem; }
    .prose > ul > li { padding-left: 1.9rem; }
}

/* Header 2026: hand-drawn underline, paw on the current page, flag switcher. */
.flag { display: block; flex: none; width: 24px; height: 24px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1.5px #fff, 0 1px 4px rgb(0 0 0 / 18%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.flag svg { width: 100%; height: 100%; }
.nav-list a { position: relative; padding: .55rem .6rem .7rem; font: 700 .9rem var(--font-display); transition: color .25s; }
.nav-list a[aria-current="page"] { color: var(--c-brand-dark); }
.nav-label { position: relative; display: inline-block; }
.nav-squiggle { position: absolute; left: -3px; bottom: -8px; width: calc(100% + 6px); height: 8px; overflow: visible; pointer-events: none; }
.nav-squiggle { clip-path: inset(0 100% 0 0); transition: clip-path .55s cubic-bezier(.2, .8, .2, 1); }
.nav-squiggle path { fill: none; stroke: var(--c-brand); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.nav-list a:hover .nav-squiggle, .nav-list a:focus-visible .nav-squiggle, .nav-list a[aria-current="page"] .nav-squiggle { clip-path: inset(-4px -6px); }
.nav-paw { position: absolute; left: 50%; top: -16px; width: 15px; height: 15px; color: var(--c-brand); transform: translate(-50%, 8px) scale(0) rotate(-30deg); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.nav-list a[aria-current="page"] .nav-paw { transform: translate(-50%, 0) scale(1) rotate(-12deg); }

.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border: 0; border-radius: 999px; background: #ede5dd; }
.lang-current, .lang-other { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem .95rem .3rem .45rem; border-radius: 999px; font: 800 .82rem var(--font-display); text-decoration: none; white-space: nowrap; }
.lang-current { background: #fff; color: var(--c-ink); box-shadow: 0 2px 8px rgb(60 30 10 / 12%); }
.lang-other { color: var(--c-muted); }
.lang-other:hover { color: var(--c-ink); }
.lang-other:hover .flag { transform: rotate(-12deg) scale(1.1); }

/* A coin that flips to the other language, only where hover exists. */
@media (min-width: 1100px) and (hover: hover) {
    .lang-switch { display: inline-grid; padding: 0; background: none; perspective: 500px; }
    .lang-current, .lang-other { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
    .lang-current { box-shadow: 0 0 0 1px var(--c-line); }
    .lang-other { position: relative; z-index: 1; background: var(--c-ink); color: #fff; transform: rotateY(-180deg); }
    .lang-other:hover { color: #fff; }
    .lang-switch:hover .lang-current, .lang-switch:focus-within .lang-current { transform: rotateY(180deg); }
    .lang-switch:hover .lang-other, .lang-switch:focus-within .lang-other { transform: rotateY(0); }
}

@media (max-width: 1099.98px) {
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: transform .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1), background .2s; }
    .js .nav-toggle[aria-expanded="true"] { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-ink); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
    .js .nav-panel.is-open { margin-top: .25rem; padding: .5rem 1.1rem 1.25rem; gap: 1.1rem; border-radius: 24px; background: #fff; box-shadow: 0 24px 50px -28px rgb(60 30 10 / 45%); animation: nav-in .35s cubic-bezier(.2, .8, .2, 1); }
    .nav-list { gap: 0; }
    .nav-list li { border-bottom: 1px solid var(--c-line); }
    .js .nav-list a, .nav-list a { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: .9rem .25rem; font-size: 1.2rem; font-weight: 800; }
    .nav-list a::after { content: '→'; color: var(--c-brand); font-weight: 700; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
    .nav-list a:hover::after { transform: translateX(4px); }
    .nav-squiggle { bottom: -5px; }
    .nav-paw { left: calc(100% + 12px); top: 50%; width: 18px; height: 18px; transform: translate(0, -50%) scale(0) rotate(-30deg); }
    .nav-list a[aria-current="page"] .nav-paw { transform: translate(0, -50%) scale(1) rotate(-12deg); }
    .nav-list li:nth-child(1) { --i: 0; }
    .nav-list li:nth-child(2) { --i: 1; }
    .nav-list li:nth-child(3) { --i: 2; }
    .nav-list li:nth-child(4) { --i: 3; }
    .nav-list li:nth-child(5) { --i: 4; }
    .nav-list li:nth-child(6) { --i: 5; }
    .nav-list li:nth-child(7) { --i: 6; }
    .nav-list li:nth-child(8) { --i: 7; }
    .nav-list li:nth-child(9) { --i: 8; }
    .nav-list li:nth-child(10) { --i: 9; }
    .js .nav-panel.is-open .nav-list li { animation: nav-item .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.06s + var(--i) * .045s); }
    .lang-switch { align-self: stretch; }
    .lang-current, .lang-other { flex: 1; justify-content: center; min-height: 48px; font-size: .92rem; }
    .header-cta { display: inline-flex; justify-content: space-between; width: 100%; min-height: 54px; padding-inline: 1.4rem; font-size: .95rem; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes nav-item { from { opacity: 0; transform: translateY(10px); } }

/* Petopia-inspired refinement: clearer entry points and a calmer homepage. */
.page-home .hero { padding-top: clamp(28px, 3vw, 48px); }
.page-home .hero-grid { min-height: 0; padding-block: 14px 44px; gap: clamp(2rem, 4vw, 4rem); }
.page-home .hero-eyebrow { margin-bottom: 1.2rem; }
.page-home .hero h1 { font-size: clamp(3rem, 4.65vw, 4.2rem); line-height: 1.1; letter-spacing: -.035em; }
.page-home .hero h1 span { color: var(--c-ink); text-decoration: underline; text-decoration-color: #e9bf88; text-decoration-thickness: .075em; text-underline-offset: .09em; }
.page-home .hero .lead { max-width: 57ch; font-size: 1rem; line-height: 1.8; margin-bottom: 0; }
.page-home .hero-actions { margin-top: 1.5rem; }
.page-home .hero-note { margin-top: 1.25rem; }
.page-home .hero-media { padding: 32px 0 40px; }
.page-home .hero-photo { aspect-ratio: 1.18; border-radius: 39% 13% 35% 13% / 33% 15% 30% 16%; transform: none; }
.page-home .hero-photo .picture { transform: none; }
.page-home .hero-photo img { object-position: 52% center; }
.page-home .hero-photo-small { width: 27%; right: -4px; bottom: 2px; border-radius: 50%; transform: none; }
.page-home .hero-photo-small img { transform: none; }
.page-home .photo-sticker { left: 8px; bottom: 8px; width: 173px; padding: 16px 18px; font-size: 1.02rem; transform: rotate(-5deg); }
.page-home .photo-sticker .icon { width: 23px; height: 23px; }
.page-home .doodle-bone { left: 1%; top: -2px; width: 52px; height: 52px; }
.page-home .doodle-spark { top: 6px; right: 3%; width: 39px; height: 39px; }
.hero-shortcuts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 6px 24px; }
.hero-shortcut { --shortcut-bg: #f6eadb; --shortcut-ink: #8a5418; display: flex; align-items: center; gap: 17px; padding: 24px; border: 1px solid #e9dfd5; border-radius: 20px; background: #fff; color: var(--c-ink); text-decoration: none; box-shadow: 0 4px 0 rgb(222 205 190 / 13%); transition: border-color .2s, transform .2s, box-shadow .2s; }
.hero-shortcut:nth-child(2) { --shortcut-bg: #f0eafb; --shortcut-ink: #655080; }
.hero-shortcut:nth-child(3) { --shortcut-bg: #e8efe5; --shortcut-ink: #496144; }
.hero-shortcut:hover { color: var(--c-ink); border-color: var(--shortcut-ink); transform: translateY(-3px); box-shadow: 0 8px 25px rgb(70 40 15 / 6%); }
.shortcut-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; background: var(--shortcut-bg); color: var(--shortcut-ink); border-radius: 50% 50% 40% 50%; }
.shortcut-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shortcut-copy strong { font: 900 1.13rem/1.3 var(--font-display); }
.shortcut-copy > span { font-size: .78rem; line-height: 1.6; color: var(--c-muted); }
.shortcut-arrow { width: 20px; height: 20px; margin-left: auto; color: var(--shortcut-ink); }
.hero-wave { display: block; width: 100%; height: 52px; max-width: none; color: #fff; }
.page-home .story-section { padding-top: clamp(3rem, 5vw, 5.5rem); }
.page-home .section-heading { margin-bottom: 1.75rem; }
.criteria-section { position: relative; background: #faf7f3; }
.criteria-section .info-card { border: 1px solid #e9e2d9; background: #fff; border-radius: 22px; padding: 28px; }
.criterion-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #f6eadb; color: var(--c-brand-dark); margin-bottom: 1.4rem; }
.criterion-icon .icon { width: 30px; height: 30px; }
.criteria-section .info-card:nth-child(3n + 2) .criterion-icon { background: #f0eafb; color: #655080; }
.criteria-section .info-card:nth-child(3n + 3) .criterion-icon { background: #e8efe5; color: #496144; }
.info-card-icon .info-card-number { display: block; white-space: nowrap; position: absolute; top: 29px; right: 28px; width: auto; height: auto; background: none; color: #827266; font: 800 .87rem var(--font-display); }
.info-card-icon .info-card-number::before { content: '0'; }
.criteria-section .info-card-title { font-size: 1.42rem; }
.criteria-section .info-card-body { font-size: .93rem; }
.decision-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-block: clamp(3rem, 5vw, 5rem); }
.page-home .decision-panel { border: 1px solid var(--c-line); border-radius: 28px; padding: 32px; background: #fff; }
.page-home .decision-panel-caution { background: #faf5ee; }
.decision-panel > .container { padding: 0; max-width: none; }
.decision-panel .section-heading h2 { font-size: clamp(1.75rem, 2.2vw, 2.1rem); }
.decision-panel .section-heading .eyebrow { font-size: .82rem; }
.decision-panel .section-intro { font-size: .9rem; }
.decision-panel .checklist { background: none; padding: 0; border: 0; margin-block: 1.7rem; }
.decision-panel .checklist li { border-bottom: 1px solid #e8e2da; padding-bottom: 13px; margin-bottom: 13px; font-size: .9rem; }
.decision-panel .checklist li:last-child { border: 0; padding-bottom: 0; }
.decision-panel .section-more { font-size: .88rem; }
.guide-card-illustrated { border: 1px solid var(--c-line); box-shadow: 0 4px 0 rgb(50 30 10 / 2%); }
.guide-card-illustrated .guide-card-image { margin-bottom: .6rem; }
.guide-card-meta { font-size: .73rem; color: var(--c-brand-dark); font-weight: 650; margin-block: .25rem .45rem; }
.guide-card-illustrated .guide-card-title { font-size: 1.32rem; line-height: 1.28; }
.guide-card-cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.guide-card-cta .icon { width: 29px; height: 29px; padding: 5px; background: var(--c-brand-soft); border-radius: 50%; }
@media (min-width: 800px) and (max-width: 1099.98px) {
    .page-home .hero h1 { font-size: clamp(2.7rem, 4.7vw, 3.3rem); }
    .page-home .hero-grid { gap: 2rem; }
    .page-home .hero .lead { font-size: .93rem; }
    .hero-shortcuts { gap: 14px; }
    .hero-shortcut { padding: 20px 16px; gap: 11px; }
    .shortcut-icon { width: 44px; height: 44px; }
    .shortcut-copy strong { font-size: 1rem; }
    .shortcut-arrow { display: none; }
    .page-home .photo-sticker { width: 145px; font-size: .9rem; }
}
@media (max-width: 1099.98px) {
    .js .nav-panel.is-open { max-height: calc(100dvh - 116px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .js .nav-panel.is-open .nav-list, .js .nav-panel.is-open .lang-switch, .js .nav-panel.is-open .header-cta { flex-shrink: 0; }
}
@media (max-width: 799.98px) {
    .page-home .hero-grid { padding-block: 8px 24px; gap: 1.2rem; }
    .page-home .hero h1 { font-size: clamp(2.7rem, 7vw, 3.8rem); }
    .page-home .hero-media { width: 100%; max-width: 530px; padding-block: 26px 34px; }
    .hero-shortcuts { grid-template-columns: 1fr; gap: 12px; padding-bottom: 10px; }
    .hero-shortcut { padding: 18px 20px; }
    .shortcut-copy strong { font-size: 1.12rem; }
    .shortcut-copy > span { font-size: .81rem; }
    .shortcut-icon { width: 48px; height: 48px; }
    .hero-wave { height: 36px; }
    .decision-panels { grid-template-columns: 1fr; gap: 20px; }
    .page-home .decision-panel { padding: 28px; }
}
@media (max-width: 479.98px) {
    .page-home .hero { padding-top: 22px; }
    .page-home .hero h1 { font-size: clamp(2.25rem, 9.5vw, 2.75rem); margin-bottom: 1.1rem; }
    .page-home .hero-eyebrow { font-size: .77rem; margin-bottom: .85rem; }
    .page-home .hero .lead { font-size: .92rem; line-height: 1.75; }
    .page-home .hero-note { margin-top: 1rem; font-size: .69rem; }
    .page-home .hero-photo { border-radius: 34% 14% 32% 14%; }
    .page-home .photo-sticker { width: 145px; padding: 13px 15px; font-size: .9rem; }
    .page-home .hero-photo-small { right: 0; width: 30%; border-width: 6px; }
    .page-home .doodle-bone { width: 36px; height: 36px; }
    .page-home .doodle-spark { width: 30px; height: 30px; }
    .hero-shortcut { padding: 16px; gap: 13px; }
    .shortcut-copy strong { font-size: 1rem; }
    .shortcut-copy > span { font-size: .76rem; }
    .shortcut-icon { width: 42px; height: 42px; }
    .shortcut-icon .icon { width: 24px; height: 24px; }
    .shortcut-arrow { width: 17px; height: 17px; }
    .criteria-section .info-card { padding: 25px; }
    .page-home .decision-panel { padding: 24px 20px; }
    .decision-panel .section-heading h2 { font-size: 1.85rem; }
}
@media print {
    .hero-shortcuts, .hero-wave { display: none; }
    .decision-panels { display: block; }
    .page-home .decision-panel { break-inside: avoid; padding: 1rem; margin-bottom: 1rem; }
}

/* About 2026: facts strip, icon principles, milestones, reading steps. */
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.about-fact { --shortcut-bg: #f6eadb; --shortcut-ink: #8a5418; display: flex; align-items: center; gap: 17px; padding: 24px; border: 1px solid #e9dfd5; border-radius: 20px; background: #fff; box-shadow: 0 4px 0 rgb(222 205 190 / 13%); }
.about-fact:nth-child(2) { --shortcut-bg: #f0eafb; --shortcut-ink: #655080; }
.about-fact:nth-child(3) { --shortcut-bg: #e8efe5; --shortcut-ink: #496144; }
.about-story { padding-top: 4.5rem; }

.principles-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.principle-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #f6eadb; color: var(--c-brand-dark); }
.principle-icon .icon { width: 22px; height: 22px; }
.principles-list li:nth-child(3n + 2) .principle-icon { background: #f0eafb; color: #655080; }
.principles-list li:nth-child(3n + 3) .principle-icon { background: #e8efe5; color: #496144; }

.origin-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.origin-timeline { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.origin-timeline::before { content: ''; position: absolute; left: 43px; top: 40px; bottom: 40px; border-left: 2px dashed #dcc4ae; }
.origin-step { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; }
.origin-year { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50% 50% 42% 50%; background: var(--c-brand); color: var(--c-ink); font: 900 1.35rem var(--font-display); box-shadow: 0 0 0 8px var(--c-cream); }
.origin-step:nth-child(2) .origin-year { background: var(--c-accent-soft); color: var(--c-brand-dark); }
.origin-step:nth-child(3) .origin-year { background: var(--c-ink); color: #fff; }
.origin-card { padding: 22px 24px; border: 1px solid #e9dfd5; border-radius: 22px; background: #fff; }
.origin-card h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.origin-card p { margin: 0; color: var(--c-muted); font-size: .9rem; line-height: 1.7; }

.about-reading { background: #fff; }
.about-reading .section-heading { margin-inline: auto; text-align: center; }
.about-reading .section-heading .eyebrow { justify-content: center; color: var(--c-brand-dark); }
.about-reading .section-heading .eyebrow .icon { color: var(--c-brand); }
.reading-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.reading-steps::before { content: ''; position: absolute; top: 58px; left: 12%; right: 12%; border-top: 2px dashed #dcc4ae; }
.reading-step { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 32px 28px 28px; border: 1px solid #e9dfd5; border-radius: 24px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.reading-step:hover { border-color: var(--c-brand); transform: translateY(-3px); box-shadow: 0 10px 28px rgb(70 40 15 / 7%); }
.reading-step:has(a:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.reading-step h3 { margin: .6rem 0 .2rem; font-size: 1.35rem; }
.reading-step h3 a { color: var(--c-ink); text-decoration: none; }
.reading-step h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.reading-step h3 a:focus-visible { outline: none; }
.reading-step p { flex: 1; margin: 0; color: var(--c-muted); font-size: .92rem; line-height: 1.75; }
.reading-step-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-brand-dark); font: 900 1.4rem var(--font-display); }
.reading-step-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--c-line); color: var(--c-brand-dark); font: 800 .9rem var(--font-display); }
.reading-step-cta .icon { width: 18px; height: 18px; transition: transform .3s; }
.reading-step:hover .reading-step-cta .icon { transform: translateX(4px); }
.about-reading .section-more { margin-top: 2rem; text-align: center; }

@media (max-width: 1099.98px) {
    .about-facts { gap: 14px; }
    .about-fact { gap: 11px; padding: 20px 16px; }
}
@media (max-width: 799.98px) {
    .about-facts, .reading-steps { grid-template-columns: 1fr; gap: 12px; }
    .about-story { padding-top: 3rem; }
    .origin-grid { grid-template-columns: 1fr; }
    .reading-steps::before { display: none; }
}
@media (max-width: 479.98px) {
    .origin-step { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
    .origin-year { width: 64px; height: 64px; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--c-cream); }
    .origin-timeline::before { left: 31px; }
    .origin-card { padding: 18px; }
    .reading-step { padding: 26px 22px 22px; }
}

/* Cookie consent banner and preferences dialog. */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 16px max(16px, env(safe-area-inset-bottom)); pointer-events: none; }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner-inner { display: flex; gap: 1.25rem 2rem; align-items: center; max-width: 1180px; margin: 0 auto; padding: 1.4rem 1.6rem; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgb(18 17 27 / 22%); pointer-events: auto; }
.cookie-banner-text { flex: 1 1 auto; min-width: 0; font-size: .9rem; line-height: 1.6; color: var(--c-muted); }
.cookie-banner-text p { margin: 0; }
.cookie-banner-title { margin-bottom: .35rem !important; color: var(--c-ink); font: 900 1.1rem/1.3 var(--font-display); }
.cookie-banner-text a, .cookie-modal-intro a { color: var(--c-brand-dark); font-weight: 650; }
.cookie-banner-actions { display: flex; flex: none; flex-wrap: wrap; align-items: center; gap: .6rem; }
.cookie-banner .button, .cookie-modal .button { min-height: 48px; padding: .7rem 1.4rem; font-size: .9rem; }
.cookie-link-button { min-height: 44px; padding: .5rem .6rem; border: 0; background: none; color: var(--c-ink); font: 700 .88rem var(--font-body, inherit); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-link-button:hover { color: var(--c-brand-dark); }
.cookie-banner-open .back-top { opacity: 0; visibility: hidden; }

.cookie-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.cookie-modal-overlay { position: absolute; inset: 0; background: rgb(18 17 27 / 55%); }
.cookie-modal-panel { position: relative; width: min(100%, 560px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 1.75rem; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgb(0 0 0 / 25%); overscroll-behavior: contain; }
.cookie-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.cookie-modal-title { margin: 0; color: var(--c-ink); font: 900 1.35rem/1.25 var(--font-display); }
.cookie-modal-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-cream); color: var(--c-ink); cursor: pointer; }
.cookie-modal-close svg { width: 20px; height: 20px; }
.cookie-modal-intro { margin: 0 0 1.25rem; color: var(--c-muted); font-size: .9rem; line-height: 1.6; }
.cookie-category { padding: 1rem 1.1rem; margin-bottom: .75rem; border-radius: 16px; background: var(--c-cream); }
.cookie-category p { margin: .35rem 0 0; color: var(--c-muted); font-size: .86rem; line-height: 1.55; }
.cookie-category .cookie-category-title { margin: 0; color: var(--c-ink); }
.cookie-banner button, .cookie-modal button { font-family: inherit; }
.cookie-category-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cookie-category-title { margin: 0 !important; color: var(--c-ink); font: 800 .98rem/1.3 var(--font-display); cursor: pointer; }
.cookie-always { flex: none; color: var(--c-brand-dark); font-size: .8rem; font-weight: 700; }
.cookie-switch { position: relative; flex: none; width: 48px; height: 28px; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cookie-switch-track { position: absolute; inset: 0; border-radius: 999px; background: #b8b4b0; transition: background .2s; }
.cookie-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .2s; }
.cookie-switch input:checked + .cookie-switch-track { background: var(--c-brand); }
.cookie-switch input:checked + .cookie-switch-track::after { transform: translateX(20px); }
.cookie-switch input:focus-visible + .cookie-switch-track { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.cookie-save { border: 2px solid var(--c-ink); background: #fff; color: var(--c-ink); }
.cookie-save:hover { background: var(--c-cream); color: var(--c-ink); }
.cookie-modal-open { overflow: hidden; }
.cookie-settings-link { display: inline-block; padding: .4rem 0; border: 0; background: none; color: #d4d0cd; font: inherit; font-size: .85rem; text-align: left; cursor: pointer; }
.cookie-settings-link:hover { color: #e2a862; }
@media (max-width: 479.98px) { .cookie-settings-link { font-size: .8rem; } }

@media (max-width: 799.98px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem; }
    .cookie-banner-text { font-size: .84rem; line-height: 1.55; }
    .cookie-banner-actions .button { flex: 1 1 calc(50% - .3rem); justify-content: center; }
    .cookie-link-button { width: 100%; }
    .cookie-modal-actions .button { flex: 1 1 100%; justify-content: center; }
    .cookie-modal { align-items: end; padding: 0; }
    .cookie-modal-panel { width: 100%; max-height: 90dvh; border-radius: 24px 24px 0 0; padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); }
}
@media print { .cookie-banner, .cookie-modal, [data-print] { display: none !important; } }

/* Home FAQ sits on a white section: cream cards instead of the guide pages' white ones. */
.home-faq .faq { margin-top: 0; }
.home-faq .faq details { background: var(--c-cream); }

/* Comparison tables: on phones, each row becomes a card with the column name above each value. */
@media (max-width: 639.98px) {
    .prose table.table-stack { border-collapse: separate; border-spacing: 0; }
    .prose table.table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .prose table.table-stack, .prose table.table-stack tbody, .prose table.table-stack tr, .prose table.table-stack td { display: block; width: 100%; }
    .prose table.table-stack tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--c-line); }
    .prose table.table-stack tr:last-child { border-bottom: 0; }
    .prose table.table-stack td { padding: .25rem 0; border: 0; }
    .prose table.table-stack td:first-child { color: var(--c-ink); font-weight: 800; font-size: 1.02rem; }
    .prose table.table-stack td[data-label]::before { content: attr(data-label); display: block; margin-top: .35rem; color: var(--c-brand-dark); font-size: .78rem; font-weight: 700; }
}

/* Contact form. */
.contact-card { margin-top: 2rem; padding: 2rem; border-radius: 24px; background: #fff; }
.contact-card > h2 { margin-top: 0; }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.form-row { display: grid; gap: 1.1rem; }
.form-field { display: grid; gap: .4rem; align-content: start; }
.form-field label { color: var(--c-ink); font-weight: 700; font-size: .95rem; }
.form-optional { color: var(--c-muted); font-weight: 400; }
.form-field input, .form-field textarea { width: 100%; min-height: 48px; padding: .75rem 1rem; border: 1.5px solid var(--c-line); border-radius: 14px; background: var(--c-cream); color: var(--c-ink); font: inherit; font-size: 1rem; }
.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: transparent; background: #fff; }
.form-field [aria-invalid="true"] { border-color: #b42318; background: #fff6f5; }
.form-hint, .form-privacy { margin: 0; color: var(--c-muted); font-size: .86rem; line-height: 1.55; }
.form-error { margin: 0; color: #b42318; font-size: .86rem; font-weight: 600; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { justify-self: start; font-family: inherit; cursor: pointer; border: 0; }
.form-alert { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 16px; }
.form-alert p, .form-alert ul { margin: 0; }
.form-alert ul { margin-top: .4rem; padding-left: 1.2rem; }
.form-alert-title { font-weight: 800; color: var(--c-ink); margin-bottom: .25rem !important; }
.form-alert-success { background: #e8f4ec; box-shadow: inset 4px 0 0 #2e7d4f; }
.form-alert-error { background: #fdecea; box-shadow: inset 4px 0 0 #b42318; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .contact-card { padding: 1.25rem; } .contact-form .button { justify-self: stretch; justify-content: center; } }
