/* ===== DERMAKIDS — Main Stylesheet =====
   The visual language comes from the clinic itself: arched doorways with coral
   trim, the polka-dot wall, the striped exam room, teal walls and pale wood.
   The arch is the signature shape; the stripe band is the recurring brand mark. */

:root {
    /* Brand palette (docs/graphical-assets/colors) — shapes, accents, large areas */
    --coral: #EE5F64;
    --salmon: #FF9389;
    --peach: #F1D7BB;
    --tan: #E5C4A3;
    --teal: #53A5A5;

    /* Text-safe variants — AA contrast on white and on the tinted grounds below */
    --coral-ink: #BF3A41;
    --coral-ink-dark: #A3313A;
    --teal-ink: #2A6A6A;
    --teal-ink-dark: #1F5555;

    /* Neutrals and grounds */
    --ink: #1E3A3D;
    --ink-soft: #4A6366;
    --paper: #FFFFFF;
    --mist: #EAF4F3;   /* pale teal, from the exam-room walls */
    --blush: #FBEDE6;  /* pale coral, from the reception wall */
    --line: #D6E4E2;
    --on-dark-soft: #C9D8D7;

    --font-display: 'Lexend', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 1px 2px rgba(30, 58, 61, 0.06), 0 10px 28px rgba(30, 58, 61, 0.09);
    --header-h: 72px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-space: clamp(3.5rem, 7vw, 6rem);

    /* The striped exam-room wall, as a band */
    --stripes: repeating-linear-gradient(90deg,
        var(--coral) 0 22px, var(--peach) 22px 44px, var(--teal) 44px 66px,
        var(--salmon) 66px 88px, var(--tan) 88px 110px);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--teal-ink); }
a:hover { color: var(--teal-ink-dark); }
strong { font-weight: 700; }

:focus-visible {
    outline: 3px solid var(--teal-ink);
    outline-offset: 3px;
}

.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;
}
.nowrap { white-space: nowrap; }
.skip-link {
    position: absolute;
    left: 12px; top: -100px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    vertical-align: middle;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 48px;
    padding: 0.7rem 1.4rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn--primary { background: var(--coral-ink); color: #fff; }
.btn--primary:hover { background: var(--coral-ink-dark); color: #fff; }
.btn--secondary { background: var(--paper); color: var(--teal-ink); border-color: var(--teal-ink); }
.btn--secondary:hover { background: var(--mist); color: var(--teal-ink-dark); }
.btn--sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--teal-ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.text-link .icon { width: 1.1em; height: 1.1em; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 20px rgba(30, 58, 61, 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { display: block; height: 38px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.975rem;
    white-space: nowrap;
}
.main-nav a:hover { background: var(--mist); color: var(--teal-ink); }
.main-nav a[aria-current="page"],
.main-nav a.is-active {
    color: var(--teal-ink);
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-link {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    white-space: nowrap;
}
.lang-link:hover { background: var(--mist); color: var(--teal-ink); }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    margin-right: -8px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 2.5rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.mobile-nav li a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--ink);
    text-decoration: none;
}
.mobile-nav .btn { width: 100%; margin-bottom: 0.75rem; }
.mobile-nav .lang-link { display: inline-block; margin-top: 0.75rem; font-size: 1rem; }

@media (max-width: 1080px) {
    .main-nav,
    .header-actions .lang-link,
    .header-actions .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-actions { margin-left: auto; }
}
@media (min-width: 1081px) {
    .mobile-nav { display: none; }
}

/* ===== SECTIONS ===== */
.section { padding-block: var(--section-space); }
.section--mist { background: var(--mist); }
.section--blush { background: var(--blush); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); margin-bottom: 0.75rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1875rem; margin: 0; }

/* ===== HERO ===== */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}
.hero-lead {
    font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
    color: var(--ink-soft);
    max-width: 36rem;
    margin-bottom: 2rem;
}
.hero .btn-row { margin-bottom: 2rem; }
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts .icon { color: var(--coral-ink); }

/* The arch: a portrait framed like the clinic's doorways */
.hero-portrait {
    position: relative;
    justify-self: center;
    width: min(100%, 430px);
    margin: 0 18px 18px 0;
}
.hero-portrait::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 3px solid var(--coral);
    border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
}
.hero-portrait img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 15%;
    border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
    background: var(--blush);
}
.hero-portrait figcaption {
    position: absolute;
    left: -20px;
    bottom: 32px;
    background: var(--paper);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    box-shadow: var(--shadow);
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--ink-soft);
}
.hero-portrait figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
}

/* ===== CREDENTIALS ===== */
.credentials { background: var(--mist); padding-block: clamp(2rem, 4vw, 2.75rem); }
.cred-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.cred-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.9rem;
    align-content: start;
    padding: 0.25rem 1.75rem;
    border-left: 1px solid #C3D9D6;
}
.cred-list li:first-child { border-left: 0; padding-left: 0; }
.cred-list .icon {
    grid-row: span 2;
    width: 28px; height: 28px;
    color: var(--teal-ink);
    margin-top: 2px;
}
.cred-list strong { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.cred-list span { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }

/* ===== WHEN TO VISIT ===== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.split .section-head { margin-bottom: 1.5rem; }
.dot-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}
.dot-list li {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    border-bottom: 1px solid var(--line);
}
/* Markers borrowed from the polka-dot wall */
.dot-list li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 1.45rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--coral);
}
.dot-list li:nth-child(4n+2)::before { background: var(--teal); }
.dot-list li:nth-child(4n+3)::before { background: var(--tan); }
.dot-list li:nth-child(4n+4)::before { background: var(--salmon); }

/* ===== CONDITIONS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.topic-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.4rem 1.5rem 1.25rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.topic-card:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.topic-card h3 { font-size: 1.1875rem; margin-bottom: 0.4rem; }
.topic-card p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; margin: 0 0 1rem; }
.topic-card .more {
    margin-top: auto;
    display: inline-flex;
    color: var(--coral-ink);
    transition: transform 0.2s;
}
.topic-card .more .icon { width: 22px; height: 22px; }
.topic-card:hover .more { transform: translateX(4px); }
.topic-card:hover h3 { color: var(--teal-ink); }
.also-treat {
    margin: 1.75rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    max-width: 60rem;
}
.also-treat strong { color: var(--ink); }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: stretch;
}
.about-photo { margin: 0; }
.about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: 22% 35%;
    border-radius: var(--radius-lg);
}
.about-text h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); margin-bottom: 1.25rem; }
.about-text p { color: var(--ink-soft); }
.about-text p strong { color: var(--ink); }
.about-text .text-link { margin-top: 0.5rem; }

/* ===== CLINIC GALLERY ===== */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 17vw, 215px);
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mosaic li { position: relative; margin: 0; }
.mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.mosaic span {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.875rem;
    color: var(--ink);
}

/* ===== GUIDES ===== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.guide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(30, 58, 61, 0.06);
    transition: box-shadow 0.2s;
}
.guide-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.guide-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-card div { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.guide-card h3 { font-size: 1.125rem; margin-bottom: 0.4rem; }
.guide-card p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; margin: 0; }
.guide-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.habits {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
    gap: 1.5rem clamp(2rem, 5vw, 4rem);
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: clamp(2rem, 4vw, 2.5rem);
    border-top: 1px solid #C3D9D6;
}
.habits h3 { font-size: 1.375rem; }
.habit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.habit-list strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 0.2rem; }
.habit-list span { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; }

/* ===== BOOKING & LOCATION ===== */
.book-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.steps {
    list-style: none;
    counter-reset: step;
    margin: 0 0 2rem;
    padding: 0;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.4rem 3.25rem;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: -0.1rem;
    width: 2.1rem; height: 2.1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blush);
    color: var(--coral-ink);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
}
.steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(1.05rem - 1px);
    top: 2.3rem;
    bottom: 0.2rem;
    width: 2px;
    background: var(--blush);
}
.steps strong { display: block; font-family: var(--font-display); font-weight: 600; }
.steps span { color: var(--ink-soft); }

.location-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.location-card iframe { display: block; width: 100%; height: 300px; border: 0; }
.location-body { padding: 1.5rem; }
.location-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.location-body address { font-style: normal; color: var(--ink-soft); margin-bottom: 1rem; }

.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list a,
.contact-list .contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.25rem;
    color: var(--ink);
    text-decoration: none;
}
.contact-list a:hover { background: var(--mist); }
.contact-list .icon-badge {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    flex: none;
    border-radius: 50%;
    background: var(--mist);
    color: var(--teal-ink);
}
.contact-list .icon-badge .icon { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--ink-soft); font-size: 0.875rem; }
.contact-list b { font-weight: 700; }
.email-line { margin-top: 1.25rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink); color: var(--on-dark-soft); font-size: 1.0625rem; }
.site-footer::before { content: ''; display: block; height: 8px; background: var(--stripes); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 2.5rem;
    padding-block: 3.5rem 2.5rem;
}
.footer-brand img { display: block; height: 36px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { margin-bottom: 0.4rem; }
.site-footer h2 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer :focus-visible { outline-color: var(--peach); }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.social a:hover { background: var(--coral-ink); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-block: 1.5rem 2rem;
    font-size: 1rem;
}
.footer-bottom p { margin-bottom: 0.4rem; max-width: 60rem; }

/* Floating WhatsApp — only where the header button is hidden */
.wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: none;
    place-items: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--coral-ink);
    color: #fff;
    box-shadow: 0 8px 24px rgba(30, 58, 61, 0.28);
}
.wa-float:hover { background: var(--coral-ink-dark); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
@media (max-width: 1080px) {
    .wa-float { display: grid; }
    body.nav-open .wa-float { display: none; }
}

/* ===== INNER PAGES ===== */
.page-hero { background: var(--mist); }
.page-hero::after { content: ''; display: block; height: 6px; background: var(--stripes); }
.page-hero .container { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.25rem, 5vw, 3.25rem); }
.page-hero h1 {
    font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
    letter-spacing: -0.02em;
    max-width: 22ch;
    margin-bottom: 0.9rem;
}
.page-hero .dek {
    font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
    color: var(--ink-soft);
    max-width: 44rem;
    margin: 0;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; color: #8FA6A4; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--teal-ink); }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--section-space);
}
.article-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
    display: grid;
    gap: 1.5rem;
}

/* Long-form reading */
.prose { max-width: 68ch; }
.prose h2 {
    font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
    margin: 2.75rem 0 0.9rem;
}
.prose h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.55rem; padding-left: 0.2rem; }
.prose li > ul, .prose li > ol { margin: 0.55rem 0 0; }
.prose ul > li::marker { color: var(--coral); }
.prose ol > li::marker { color: var(--coral-ink); font-family: var(--font-display); font-weight: 600; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose figure { margin: 0 0 2.25rem; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }

.callout {
    margin: 0 0 2.25rem;
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius);
}
.callout > :last-child { margin-bottom: 0; }
.callout-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.6rem;
}
.callout--key { background: var(--mist); }
.callout--key .callout-title { color: var(--teal-ink); }
.callout--key ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.callout--key li { position: relative; padding-left: 1.5rem; margin-bottom: 0.45rem; }
.callout--key li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.6em;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--teal);
}
.callout--alert { background: var(--blush); border-left: 5px solid var(--coral-ink); }
.callout--alert .callout-title { color: var(--coral-ink-dark); }
.callout--note { background: var(--paper); border: 1px solid var(--line); }
.callout--note .callout-title { color: var(--ink); }
.prose .callout--note { margin-top: 2rem; }

.references {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
    color: var(--ink-soft);
}
.references h2 { font-size: 1.0625rem; margin: 0 0 0.75rem; }
.references ol { padding-left: 1.25rem; margin: 0; }
.references li { margin-bottom: 0.35rem; }

/* Aside: contents + booking card */
.toc { font-size: 0.9375rem; }
.toc h2 { font-size: 1rem; margin-bottom: 0.6rem; color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a {
    display: block;
    padding: 0.35rem 0 0.35rem 1rem;
    margin-left: -2px;
    border-left: 2px solid transparent;
    color: var(--ink-soft);
    text-decoration: none;
    line-height: 1.35;
}
.toc a:hover { color: var(--teal-ink); border-left-color: var(--teal); }

.book-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--blush);
}
.book-card img {
    display: block;
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--paper);
}
.book-card h2 { font-size: 1.1875rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.book-card p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.1rem; line-height: 1.5; }
.book-card .btn { width: 100%; margin-bottom: 0.6rem; }
.book-card .phone-link { display: block; text-align: center; font-size: 0.9375rem; }

.related { padding-block: 0 var(--section-space); }
.related h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.related-inner { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 3.5rem); }

.cta-band { background: var(--blush); }
.cta-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-band h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); margin-bottom: 0.4rem; }
.cta-band p { color: var(--ink-soft); margin: 0; max-width: 40rem; }

/* ===== CV PAGE ===== */
.profile-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--section-space);
}
.profile-side { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.profile-side img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}
.fact-list { margin: 0; font-size: 1rem; }
.fact-list dt { font-family: var(--font-display); font-weight: 600; margin-top: 1rem; }
.fact-list dd { margin: 0.2rem 0 0; color: var(--ink-soft); }
.profile-main h2 {
    font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
    margin: 3rem 0 1.25rem;
}
.profile-main > :first-child { margin-top: 0; }
.profile-main > p { max-width: 68ch; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.25rem 1.5rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}
.timeline time, .timeline .when {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.975rem;
    color: var(--coral-ink);
    padding-top: 0.1rem;
}
.timeline strong { display: block; }
.timeline span { color: var(--ink-soft); }
.pub-list { margin: 0; padding-left: 1.4rem; }
.pub-list li { margin-bottom: 0.9rem; color: var(--ink-soft); max-width: 68ch; }
.pub-list li::marker { color: var(--coral-ink); }
.pub-list cite { font-style: normal; color: var(--ink); font-weight: 700; }

/* ===== LINKS PAGE ===== */
.page-body { padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--section-space); }
.narrow { max-width: 50rem; }
.page-body h2 { font-size: 1.5rem; margin: 3rem 0 1.25rem; }
.page-body .narrow > h2:first-child { margin-top: 0; }
.resource-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.resource-list li {
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.resource-list h3 { font-size: 1.1875rem; margin-bottom: 0.15rem; }
.resource-list h3 a { color: var(--ink); text-decoration: none; }
.resource-list h3 a:hover { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; }
.resource-list .domain { display: block; font-size: 0.9375rem; color: var(--teal-ink); margin-bottom: 0.6rem; }
.resource-list p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.foundation-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
    border-top: 1px solid var(--line);
}
.foundation-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.foundation-list a { font-weight: 700; }
.foundation-list span { display: block; color: var(--ink-soft); font-size: 0.975rem; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--section-space);
}
.contact-layout h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.find-us {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.find-us-title { margin-top: 2.5rem; }
.find-us figure { margin: 0; }
.find-us img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.find-us figcaption { font-size: 0.9375rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .hero-inner,
    .split,
    .about-grid,
    .book-grid,
    .contact-layout { grid-template-columns: 1fr; }
    .hero-portrait { width: min(78%, 360px); margin-top: 0.5rem; }
    .about-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cred-list { grid-template-columns: 1fr; gap: 1.1rem; }
    .cred-list li, .cred-list li:first-child { border-left: 0; padding: 0; }
    .habits { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .toc { display: none; }
    .book-card { max-width: 32rem; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-side { position: static; display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start; }
    .profile-side img { margin-bottom: 0; }
    .fact-list dt:first-child { margin-top: 0; }
}

@media (max-width: 640px) {
    body { font-size: 1.125rem; }
    .card-grid,
    .guide-grid,
    .habit-list,
    .foundation-list,
    .footer-grid { grid-template-columns: 1fr; }
    .hero .btn-row .btn { width: 100%; }
    .hero-portrait figcaption { left: -8px; bottom: 20px; }
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
    .mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
    .timeline li { grid-template-columns: 1fr; }
    .profile-side { grid-template-columns: 120px 1fr; gap: 1rem; }
    .find-us { grid-template-columns: 1fr; }
    .callout { padding: 1.2rem 1.25rem; }
    .cta-band .btn-row { width: 100%; }
    .cta-band .btn { flex: 1 1 auto; }
    .footer-grid { gap: 1.75rem; padding-block: 2.75rem 2rem; }
}

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

@media print {
    .site-header, .mobile-nav, .wa-float, .article-aside, .related, .cta-band, .site-footer::before { display: none !important; }
    .page-hero { background: none; }
    .article-layout { display: block; }
    body { font-size: 12pt; }
}
