@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Instrument+Serif:ital@0;1&family=Vollkorn:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://db.onlinewebfonts.com/c/32441506567156636049eb850b53f02a?family=Times+New+Roman");

/* 1rem = 10px (browser default 16px × 62.5%) */
html {
    font-size: 62.5%;
}

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

:root {
    --primary-color: #ffe9b7;
    --secondary-color: #483734;
    --gradient-top: #ffd068;
    --gradient-bottom: #946600;
    --gradient: linear-gradient(180deg, var(--gradient-top) 0%, var(--gradient-bottom) 100%);
    --font-heading: "Instrument Serif", serif;
    --font-body: "Times New Roman", serif;
    --font-button: "Vollkorn", serif;
    /* Metallic face (champagne → bronze), matches gold CTA reference */
    --cta-face-gradient: linear-gradient(
        180deg,
        #f0e4c8 0%,
        #e2d2a2 18%,
        #d4bc78 40%,
        #b89442 62%,
        #8a6824 82%,
        #6a4a18 100%
    );
    --cta-face-shade: linear-gradient(180deg, rgba(26, 18, 10, 0.07) 0%, rgba(18, 12, 8, 0.14) 100%);

    /* Paragraph & body text — unified to primary cream */
    --color-text-on-light: var(--primary-color);
    --color-text-on-dark: var(--primary-color);
    --color-text-highlight: var(--primary-color);
    --color-text-inverse: var(--primary-color);
    --color-text-accent-soft: var(--primary-color);
    --color-text-ivory-92: var(--primary-color);
    --color-text-ivory-90: var(--primary-color);
    --color-text-ivory-85: var(--primary-color);
    --color-text-peach-90: var(--primary-color);
    --color-text-placeholder-muted: color-mix(in srgb, var(--primary-color) 55%, transparent);
    --color-text-placeholder-faint: color-mix(in srgb, var(--primary-color) 50%, transparent);
    --color-text-linen-88: var(--primary-color);

    /* Gold CTA / default metallic button */
    --color-cta-ink: #241a16;
    --color-cta-gold-face: #c9a24a;
    --color-cta-border-dark: #0f0c0b;

    /* Format picker */
    --color-format-label: var(--primary-color);
    --color-format-control-bg: #0a0a0a;

    /* Footer / glass panels */
    --color-surface-glass-dark: rgba(4, 3, 2, 0.75);
    --color-surface-glass-warm: rgba(10, 8, 6, 0.9);
    --color-border-gold-soft: rgba(255, 208, 104, 0.5);
    --color-border-gold-muted: rgba(255, 208, 104, 0.45);
    --color-border-gold-bright: rgba(255, 224, 160, 0.75);

    /* First section below fixed topbar — same on all pages & breakpoints */
    --page-first-section-padding-top: 16rem;

    /* Hero (Home + Book): asymmetric horizontal; tuned per breakpoint in responsive.css */
    --hero-content-padding-top: var(--page-first-section-padding-top);
    --hero-content-padding-right: 0;
    --hero-content-padding-bottom: 6rem;
    --hero-content-padding-left: 20rem;

    /* Matches `.site-topbar .hero__header` horizontal padding (logo edge) */
    --site-header-inline-padding: 20rem;

    /* Kalador, About, Blog listing, Article, Contact: equal left/right gutters */
    --section-content-inline-sym: clamp(2.4rem, 5vw, 10rem);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-on-light);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h1 {
    font-size: 6.8rem;
    line-height: 1;
}

h2 {
    font-size: 5rem;
}

h3 {
    font-size: 4rem;
}

h4 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    font-style: normal;
    background-image: linear-gradient(180deg, #d8b17d 0%, #856230 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h5 {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-on-dark);
}

h6 {
    font-size: 2.6rem;
}

p {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 400;
}

button {
    margin: 0;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    padding: 0;
    font-family: var(--font-button);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible {
    outline: none;
    box-shadow: none;
}

a:active,
button:active {
    outline: none;
}

/* ——— Hero (section 1) ——— */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Inner pages: top bar reusing `.hero__header` (no full hero section) */
.site-topbar {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    color: var(--color-text-on-dark);
    width: 100%;
    isolation: isolate;
}

/* Warm dark bar fades in on scroll (see `is-scrolled` in script.js) */
.site-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s ease all;
    background: linear-gradient(
        180deg,
        rgba(12, 9, 7, 0.97) 0%,
        rgba(22, 16, 13, 0.95) 55%,
        rgba(30, 22, 18, 0.93) 100%
    );
    border-bottom: 1px solid var(--color-border-gold-muted);
    box-shadow:
        0 0.6rem 2rem rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 220, 160, 0.06);
}

.site-topbar.is-scrolled::before {
    opacity: 1;
}

.site-topbar .hero__header {
    position: relative;
    z-index: 1;
    padding: 2rem 20rem;
}
/* 
@media (min-width: 1025px) {
    .site-topbar .hero__header {
        display: flex;
        align-items: center;
        gap: clamp(1.6rem, 3vw, 3.2rem);
    }

    .site-topbar .hero__logo {
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
    }

    .site-topbar .hero__nav {
        flex: 0 0 auto;
    }

    .site-topbar .site-topbar__actions {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-left: 0;
    }
} */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--color-text-on-dark);
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(24, 18, 16, 0.88) 0%,
        rgba(24, 18, 16, 0.55) 42%,
        rgba(24, 18, 16, 0.2) 72%,
        transparent 100%
    );
    pointer-events: none;
}

.hero__scrim::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.hero__header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.2rem, 2vw, 2rem);
    flex-wrap: nowrap;
    padding: 4rem 20rem;
}

.site-topbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.site-topbar__cta .cta-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero__logo {
    display: block;
    line-height: 0;
}

.hero__logo img {
    display: block;
    height: auto;
    width: clamp(18rem, 22vw, 28rem);
    max-height: 5.6rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.4));
}

.hero__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.8rem;
    justify-content: center;
}

.hero__nav a {
    font-family: var(--font-body);
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--color-text-on-dark);
    text-decoration: none;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.85),
        0 0 1px rgba(0, 0, 0, 0.6);
    transition: 0.3s ease all;
}

.hero__nav a:hover {
    color: var(--primary-color);
    filter: brightness(1.12);
    text-shadow:
        0 0 12px rgba(255, 208, 104, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero__nav a[aria-current="page"],
.hero__nav-list > li.is-active > a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.28em;
    filter: brightness(1.12);
    text-shadow:
        0 0 12px rgba(255, 208, 104, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero__nav-toggle {
    display: none;
    position: relative;
    z-index: 3002;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 4.8rem;
    height: 4.8rem;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.hero__nav-toggle-box {
    position: relative;
    display: block;
    width: 2.4rem;
    height: 1.8rem;
}

.hero__nav-toggle-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--gradient);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
    transform-origin: center;
    transition: 0.3s ease all;
}

.hero__nav-toggle-bar:nth-child(1) {
    top: 0;
}

.hero__nav-toggle-bar:nth-child(2) {
    top: 50%;
    margin-top: -1px;
}

.hero__nav-toggle-bar:nth-child(3) {
    bottom: 0;
}

.hero__nav-backdrop {
    display: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 72rem;
    padding: var(--hero-content-padding-top) var(--hero-content-padding-right)
        var(--hero-content-padding-bottom) var(--hero-content-padding-left);
}

.hero__title,
.hero__content > h1 {
    margin: 0 0 1.6rem;
    max-width: 62rem;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.25));
}

.hero__subtitle,
.hero__content > h5 {
    margin: 0 0 2.4rem;
    max-width: 52rem;
    line-height: 1.25;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(0, 0, 0, 0.35);
}

.hero__copy {
    margin-bottom: 2.8rem;
    max-width: 56rem;
}

.hero__copy p {
    margin: 0 0 1.2rem;
    font-family: "Times New Roman", Times, serif;
    font-weight: 400;
    color: var(--color-text-on-dark);
    line-height: 1.6;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.75),
        0 0 20px rgba(0, 0, 0, 0.35);
}

.hero__copy p:last-child {
    margin-bottom: 0;
}

.hero__lead,
.hero__content--book > p {
    margin: 0 0 2.8rem;
    max-width: 48rem;
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 1.55vw, 2.2rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;
    color: var(--primary-color);
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(0, 0, 0, 0.35);
}

.hero__cta-row {
    width: 100%;
    max-width: 48rem;
}

.page-book .hero--book .hero__scrim {
    background: linear-gradient(
        90deg,
        rgba(14, 11, 9, 0.78) 0%,
        rgba(14, 11, 9, 0.42) 48%,
        rgba(14, 11, 9, 0.12) 100%
    );
}

.page-book .hero__content--book {
    max-width: 56rem;
}

.page-book .hero--book .hero__title,
.page-book .hero--book .hero__content > h1 {
    letter-spacing: 0.06em;
    max-width: 52rem;
}

.page-book .hero__cta-row .cta-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__purchase {
    width: 100%;
    max-width: 56rem;
    display: flex;
    flex-direction: column;
}

.format-picker {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.format-picker__row {
    display: grid;
    grid-template-columns: repeat(2, 160px);
    gap: 0;
    align-items: center;
    justify-content: start;
}

.format-picker__option {
    --select-bg-w: 160px;
    --select-bg-h: 56px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
    box-sizing: border-box;
    width: var(--select-bg-w);
    height: var(--select-bg-h);
    padding: 0.65rem 1.45rem;
    font-size: 1.4rem;
    background-color: transparent;
    background-size: var(--select-bg-w) var(--select-bg-h);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    transition: 0.3s ease all;
}

.format-picker__option:hover {
    filter: brightness(1.06);
}

.format-picker__option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.format-picker__label {
    position: relative;
    z-index: 1;
    font-family: var(--font-button);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-format-label);
    letter-spacing: 0.1em;
}

.format-picker__control {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    border: 1px solid var(--gradient-top);
    background: var(--color-format-control-bg);
    box-shadow: none;
}

.format-picker__option input:checked + .format-picker__control {
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55) 0%, transparent 38%),
        radial-gradient(
            circle closest-side,
            var(--gradient-top) 0%,
            var(--gradient-top) 42%,
            var(--gradient-bottom) 100%
        );
    border-color: var(--gradient-bottom);
    box-shadow: none;
}

/* ——— Gold CTA: gradient shell + embossed metallic face (reference BUY NOW) ——— */
.cta-shell {
    box-sizing: border-box;
    width: fit-content;
    padding: 0.4rem;
    background: var(--gradient);
    border-radius: 0.6rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65), 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
}

.cta-shell--wide {
    width: 100%;
}

.cta-shell--hero-buy {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    width: fit-content;
    max-width: 100%;
}

.cta-shell--news {
    margin-top: auto;
    width: calc(100% + 4rem);
    margin-inline: -2rem;
    margin-bottom: 0;
    border-radius: 0 0 2px 2px;
    display: flex;
    justify-content: center;
}

.cta-shell--news.cta-shell--hero-buy {
    padding: 0;
    background: transparent;
    border-radius: 0 0 2px 2px;
    box-shadow: none;
    max-width: none;
}

.cta-shell--footer-mail {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    min-height: var(--footer-mail-control-min-h);
    padding: 0;
    background: none;
    width: 10rem;
}

.cta-shell--footer-mail .cta.cta--btn-sm,
.cta-shell--footer-mail button.cta.cta--btn-sm {
    width: auto;
    height: 100%;
    min-height: var(--footer-mail-control-min-h);
    aspect-ratio: 192 / 55;
}

.cta-shell--footer-mail .cta {
    flex: 0 1 auto;
    align-self: stretch;
}

.cta,
a.cta {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 2.2rem 2.4rem;
    font-family: var(--font-cta);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--color-cta-ink);
    background-color: var(--color-cta-gold-face);
    background-image: var(--cta-face-shade), var(--cta-face-gradient);
    background-blend-mode: multiply, normal;
    border: 1px solid var(--color-cta-border-dark);
    border-radius: 0.6rem;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.9),
        0 0.2rem 0.6rem rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 248, 228, 0.65),
        inset 1px 0 0 rgba(255, 238, 200, 0.42),
        inset 0 -1px 0 rgba(52, 36, 14, 0.55),
        inset -1px 0 0 rgba(68, 46, 20, 0.48),
        inset 0 0 1.2rem rgba(0, 0, 0, 0.06);
    text-shadow:
        0 1px 0 rgba(255, 244, 214, 0.55),
        0 0.12rem 0 rgba(255, 250, 235, 0.35),
        0 -1px 0 rgba(0, 0, 0, 0.12);
    transition: 0.3s ease all;
}

.cta.cta--compact {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    letter-spacing: 0.14em;
}

.cta.cta--wide,
button.cta.cta--wide {
    display: block;
    width: 100%;
}

.cta.cta--hero-buy,
button.cta.cta--hero-buy,
.cta.cta--btn-sm,
a.cta.cta--btn-sm,
.cta.cta--btn-lg,
button.cta.cta--btn-lg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: auto;
    padding: 0;
    /* Match default `.cta` label typography (Cinzel, embossed caps) */
    font-family: var(--font-cta);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-cta-ink);
    text-shadow:
        0 1px 0 rgba(255, 244, 214, 0.55),
        0 0.12rem 0 rgba(255, 250, 235, 0.35),
        0 -1px 0 rgba(0, 0, 0, 0.12);
    background: none;
    background-color: transparent;
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.cta.cta--hero-buy,
button.cta.cta--hero-buy {
    --img-btn-w: 320px;
    width: var(--img-btn-w);
    aspect-ratio: 320 / 66;
}

.cta.cta--btn-sm,
a.cta.cta--btn-sm,
button.cta.cta--btn-sm {
    --img-btn-w: 192px;
    width: var(--img-btn-w);
    aspect-ratio: 192 / 55;
    font-size: 1.4rem;
}

.cta.cta--btn-lg,
button.cta.cta--btn-lg {
    --img-btn-w: 499px;
    --img-btn-h: 48px;
    width: var(--img-btn-w);
    height: var(--img-btn-h);
    max-width: none;
    aspect-ratio: auto;
    font-size: 1.2rem;
}

.cta.cta--hero-buy:hover,
button.cta.cta--hero-buy:hover,
.cta.cta--btn-sm:hover,
a.cta.cta--btn-sm:hover,
button.cta.cta--btn-sm:hover,
.cta.cta--btn-lg:hover,
button.cta.cta--btn-lg:hover {
    filter: brightness(1.05);
}

.cta.cta--hero-buy .cta__hero-buy-img,
.cta.cta--btn-sm .cta__btn-sm-img,
.cta.cta--btn-lg .cta__btn-lg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.cta.cta--hero-buy .cta-noise,
.cta.cta--btn-sm .cta-noise,
.cta.cta--btn-lg .cta-noise {
    z-index: 1;
    border-radius: 0;
}

.cta.cta--hero-buy .cta-label,
.cta.cta--btn-sm .cta-label,
.cta.cta--btn-lg .cta-label {
    position: relative;
    z-index: 2;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    text-shadow: inherit;
}

.cta-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.1;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.cta-label {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.cta:hover {
    filter: brightness(1.04) saturate(1.03);
}

@supports not (background-blend-mode: multiply) {
    .cta,
    a.cta {
        background-image: var(--cta-face-gradient);
    }
}

/* ——— About page intro (about.html) ——— */
.about-intro {
    position: relative;
    overflow: hidden;
    padding: var(--page-first-section-padding-top) 0 10rem;
    color: var(--color-text-on-dark);
}

.about-intro__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-intro__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 6, 5, 0.78) 0%,
        rgba(8, 6, 5, 0.52) 45%,
        rgba(8, 6, 5, 0.68) 100%
    );
}

.about-intro__inner {
    position: relative;
    z-index: 1;
    margin-inline: auto;
    padding-inline: var(--site-header-inline-padding);
}

.about-intro__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 44rem);
    align-items: center;
    gap: clamp(2.4rem, 4vw, 5.6rem);
    margin-bottom: clamp(2.4rem, 4vw, 4.8rem);
}

.about-intro__lead {
    text-align: left;
    max-width: 60rem;
}

.about-intro__lead h1 {
    margin: 0 0 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-wrap: balance;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.about-intro__kicker,
.about-intro__lead > p {
    margin: 0;
    font-style: italic;
    font-weight: 400;
    color: var(--color-text-ivory-90);
    line-height: 1.65;
    text-wrap: pretty;
}

.about-intro__figure {
    margin: 0;
    justify-self: end;
    width: 100%;
}

.about-intro__photo,
.about-intro__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro__body {
    text-align: left;
}

.about-intro__body p {
    margin: 0 0 1.6rem;
    color: var(--color-text-ivory-90);
    line-height: 1.65;
    text-wrap: pretty;
}

.about-intro__body p:last-child {
    margin-bottom: 0;
}

.about-intro__kalador-link {
    margin: clamp(2rem, 3.5vw, 3.2rem) 0 0;
    text-align: left;
}

.about-intro__kalador-anchor {
    font-family: var(--font-body);
    font-size: clamp(1.65rem, 1.5vw, 1.9rem);
    font-weight: 500;
    line-height: 1.65;
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
    text-wrap: pretty;
    transition: color 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.about-intro__kalador-anchor:hover,
.about-intro__kalador-anchor:focus-visible {
    color: var(--color-text-ivory-90);
}

.about-intro__signoff {
    box-sizing: border-box;
    margin-top: clamp(3.2rem, 5vw, 6.4rem);
    margin-inline: auto;
    max-width: 90rem;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: clamp(3.2rem, 5vw, 5.6rem) clamp(2.4rem, 6vw, 7rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(2rem, 3.2vw, 3.6rem);
}

.about-intro__signoff-lead,
.about-intro__signoff > p:first-of-type {
    margin: 0;
    max-width: 62rem;
    font-family: var(--font-body);
    font-size: clamp(1.7rem, 1.6vw, 2rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-text-ivory-90);
    text-wrap: balance;
}

.about-intro__signoff-cta {
    width: 100%;
    max-width: min(36rem, 100%);
    margin-inline: auto;
}

.about-intro__signoff-foot {
    margin: 0;
    max-width: 52rem;
    font-family: var(--font-body);
    font-size: clamp(1.7rem, 1.6vw, 2rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--color-text-ivory-90);
    text-wrap: balance;
}

.about-intro__signoff-foot p {
    margin: 0 0 0.8rem;
}

.about-intro__signoff-foot p:last-child {
    margin-bottom: 0;
}

/* ——— About the book (section 2) ——— */
.about-book {
    position: relative;
    overflow: hidden;
    padding: 25rem 0;
    color: var(--color-text-on-dark);
}

.about-book__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-book__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(12, 10, 9, 0.55) 0%,
        rgba(12, 10, 9, 0.45) 45%,
        rgba(12, 10, 9, 0.65) 100%
    );
}

.about-book__inner {
    position: relative;
    z-index: 1;
    max-width: 120rem;
    margin-inline: auto;
}

.about-book__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 56rem;
    margin-inline: auto;
}

.about-book__title,
.about-book__content > h2 {
    margin: 0 0 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-wrap: balance;
}

.about-book__text,
.about-book__content > p {
    margin: 0 0 3.2rem;
    text-align: center;
    color: var(--color-text-on-dark);
    line-height: 1.65;
    text-wrap: pretty;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.about-book__action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-book__action .cta-shell {
    margin-inline: auto;
}

/* ——— World of Kalador (section 3) ——— */
.world-kalador {
    position: relative;
    overflow: hidden;
    padding: 10rem 0;
    color: var(--color-text-on-dark);
}

.world-kalador__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.world-kalador__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(10, 8, 6, 0.88) 0%,
        rgba(10, 8, 6, 0.55) 38%,
        rgba(10, 8, 6, 0.18) 62%,
        transparent 100%
    );
}

.world-kalador__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 52rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.4rem, 4vw, 4.8rem);
    max-width: 120rem;
    margin-inline: auto;
    min-height: min(56rem, 70vh);
}

.world-kalador__content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 52rem;
}

.world-kalador__title,
.world-kalador__content > h2 {
    margin: 0 auto 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-wrap: balance;
}

.world-kalador__text,
.world-kalador__content > p {
    margin: 0 auto 3.2rem;
    text-align: center;
    color: var(--color-text-on-dark);
    line-height: 1.65;
    text-wrap: pretty;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.world-kalador__action {
    display: flex;
    justify-content: flex-start;
    margin: 0 auto;
}

.world-kalador__spacer {
    min-height: 1px;
}

/* ——— Kalador world page (kalador.html) ——— */
.kalador-world {
    position: relative;
    overflow: hidden;
    padding: var(--page-first-section-padding-top) var(--site-header-inline-padding) 12rem;
    color: var(--color-text-on-dark);
}

.kalador-world__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kalador-world__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.075;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
}

.kalador-world__scrim {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 6, 5, 0.38) 0%,
        rgba(8, 6, 5, 0.28) 48%,
        rgba(8, 6, 5, 0.42) 100%
    );
}

.kalador-world__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(3.2rem, 5vw, 8rem);
    margin-inline: auto;
}

.kalador-world__text {
    text-align: left;
    max-width: 64rem;
}

.kalador-world__title,
.kalador-world__text > :is(h1, h2, h3):first-of-type {
    margin: 0 0 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-wrap: balance;
    font-family: var(--font-heading);
    font-weight: 400;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.kalador-world__body,
.kalador-world__text > p:not(:last-of-type),
.kalador-world__prose > p:not(:last-of-type) {
    margin: 0 0 1.6rem;
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 1.5vw, 1.85rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--primary-color);
    text-wrap: pretty;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.kalador-world__cite,
.kalador-world__prose > p:last-of-type,
.kalador-world__text > p:last-of-type:not(.kalador-world__construction) {
    margin: 1.2rem 0 0;
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 1.4vw, 1.7rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    color: var(--primary-color);
    text-align: right;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.page-book .kalador-world__cite,
.page-book .kalador-world__text > p:last-of-type:not(.kalador-world__construction) {
    text-align: left;
}

.kalador-world__figure {
    margin: 0;
    justify-self: end;
    width: 100%;
    max-width: 56rem;
}

.kalador-world__map,
.kalador-world__figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1.6rem 3.2rem rgba(0, 0, 0, 0.5));
}

.kalador-world__construction {
    margin: clamp(2.8rem, 5vw, 5.6rem) auto clamp(2.4rem, 4vw, 4rem);
    max-width: 52rem;
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(1.55rem, 1.45vw, 1.8rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    color: var(--primary-color);
    text-wrap: pretty;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* ——— About the author (section 4) ——— */
.about-author {
    position: relative;
    overflow: hidden;
    padding: 10rem 4rem;
    color: var(--color-text-on-dark);
}

.about-author__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-author__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(8, 7, 6, 0.45) 0%,
        rgba(8, 7, 6, 0.78) 36%,
        rgba(8, 7, 6, 0.78) 64%,
        rgba(8, 7, 6, 0.2) 100%
    );
}

.about-author__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    gap: 6rem;
    max-width: 120rem;
    min-height: min(52rem, 68vh);
    grid-auto-flow: column;
}

.about-author__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-author__photo,
.about-author__visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.about-author__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 56rem;
    margin-inline: auto;
    padding-inline: clamp(0rem, 2vw, 1.6rem);
}

.about-author__title,
.about-author__content > h2 {
    margin: 0 0 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-wrap: balance;
}

.about-author__text,
.about-author__content > p {
    margin: 0 0 3.2rem;
    text-align: center;
    color: var(--color-text-on-dark);
    line-height: 1.65;
    text-wrap: pretty;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.about-author__action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-author__action .cta-shell {
    margin-inline: auto;
}

.about-author__spacer {
    min-height: 1px;
    display: none;
}

/* ——— News (section 5) ——— */
.news {
    position: relative;
    overflow: hidden;
    padding: 10rem 20rem;
    color: var(--color-text-on-dark);
}

.news__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.news__inner {
    position: relative;
    z-index: 1;
    /* max-width: 120rem; */
    margin-inline: auto;
}

.news__title,
.news__inner > h1,
.news__inner > h2,
.article-news > h1,
.article-news > h2,
.article-news > h3 {
    margin: 0 0 4rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-wrap: balance;
}

.news.blog-page {
    padding: var(--page-first-section-padding-top) var(--site-header-inline-padding) 12rem;
}

.page-blog .news__bg {
    background-size: cover;
    background-position: center;
}

.page-blog .news__inner {
    position: relative;
    z-index: 1;
    max-width: 140rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog .news__grid,
.page-blog .news__inner > .blog-pagination {
    width: 100%;
    align-self: stretch;
}

.page-blog .news__title,
.page-blog .news__inner > h1 {
    margin: 0 0 clamp(2.8rem, 4vw, 2.8rem);
    max-width: 56rem;
    margin-inline: auto;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-wrap: balance;
}

.page-blog h1.news__title,
.page-blog .news__inner > h1 {
    line-height: 1.05;
}

.page-blog .news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 2rem;
}

.page-blog .blog-pagination__shell a.cta.cta--btn-sm {
    --img-btn-w: 132px;
}

.page-blog .news-card {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.page-blog .news-card .cta-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ——— Blog pagination ——— */
.blog-pagination {
    margin-top: clamp(3.2rem, 4vw, 5.6rem);
    width: 100%;
}

.blog-pagination__shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 60rem;
    margin-inline: auto;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem 3rem;
}

.blog-pagination__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    grid-auto-flow: column;
}

.blog-pagination__btn {
    flex-shrink: 0;
}

.blog-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-pagination__pages li {
    margin: 0;
}

.blog-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 2vw, 2.8rem);
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.55;
    transition: 0.3s ease all;
}

.blog-pagination__page:hover {
    opacity: 0.88;
}

.blog-pagination__page.is-current {
    opacity: 1;
    filter: brightness(1.28) saturate(1.1);
}

.blog-pagination__page:focus-visible {
    outline: 2px solid var(--color-border-gold-bright);
    outline-offset: 3px;
}

.blog-pagination .cta-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.news__grid {
    display: grid;
    grid-auto-flow: column;
    align-items: start;
    justify-content: center;
}

/*
 * Homepage news: each card gets the same width as one column in a three-across row
 * (flex-basis), while justify-content centers 1–2 cards. Avoids full-width stretch from
 * width:100% children when only one post exists.
 */
.news:not(.blog-page) .news__grid {
    --news-home-gap: clamp(1.6rem, 2vw, 2.4rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--news-home-gap);
    width: 100%;
    max-width: min(120rem, 100%);
    margin-inline: auto;
}

.news:not(.blog-page) .news-card {
    flex: 0 1 calc((100% - 2 * var(--news-home-gap)) / 3);
    max-width: calc((100% - 2 * var(--news-home-gap)) / 3);
    min-width: 0;
    margin-inline: 0;
}

.news-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    margin-inline: auto;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.8rem;
}

.news-card__media {
    display: block;
    line-height: 0;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 0;
}

.news-card__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 15.8rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 2rem 2rem 1rem;
    gap: 0;
}

.news-card__title,
.news-card__body > :is(h1, h2, h3, h4, h5, h6):first-of-type {
    margin: 0 0 1.6rem;
    text-align: left;
    line-height: 1.2;
    text-wrap: balance;
}

.news-card__excerpt,
.news-card__body > p {
    margin: 0 0 1rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    text-align: left;
    line-height: 1.55;
    font-size: 1.45rem;
    color: var(--color-text-peach-90);
    text-wrap: pretty;
}

.news-card .cta-shell--news {
    width: 100%;
    margin-inline: 0;
    margin-top: auto;
    margin-bottom: 0;
    border-radius: 0;
}

.news-card .cta-shell--news.cta-shell--hero-buy {
    border-radius: 0;
}

.news-card button.cta.cta--btn-lg,
.news-card a.cta.cta--btn-lg {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 499 / 48;
    border-radius: 0;
}

/* ——— Contact (section 6) ——— */
.contact {
    position: relative;
    overflow: hidden;
    padding: var(--page-first-section-padding-top) 0 12rem;
    color: var(--color-text-on-dark);
}

.contact__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.contact__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    margin-inline: auto;
    gap: 4rem;
    grid-auto-flow: column;
}

.page-contact .contact__inner {
    padding-inline: var(--section-content-inline-sym);
}

.contact__form-wrap {
    box-sizing: border-box;
    height: auto;
    margin-inline: auto;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 3rem 5.5rem;
}

.contact__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    --field-bg-w: 456px;
    --field-bg-h: 65px;
}
.contact__form br {
    display: none;
}
.contact__form p {
    margin-bottom: 0;
}
.contact__form input {
    color: inherit;
    font-family: inherit;
}
.contact__form textarea {
    color: inherit;
    font-family: inherit;
}

/* Contact Form 7: slightly tighter vertical rhythm than default CF7 margins */
.contact__form.wpcf7-form {
    gap: 0;
}
.wpcf7-not-valid-tip {
    font-size: 0.8em;
}

.contact__title,
.contact__form > h2 {
    line-height: 1.1;
    margin: 0 0 0.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-wrap: balance;
}

.contact__form-wrap > .contact__title {
    margin-bottom: 0.1rem;
}

.contact__form .wpcf7-response-output {
    margin: 0.4rem 0 0;
    padding: 0;
    text-align: center;
}

.contact__form .contact__field,
.contact__form .wpcf7-form-control {
    margin: 0;
}

.contact__form .contact__check {
    margin: 0;
    gap: 0.55rem;
    line-height: 1.25;
    font-size: 1.35rem;
    align-self: center;
    width: fit-content;
    max-width: var(--field-bg-w);
    box-sizing: border-box;
}

.contact__field {
    padding: 1.4rem 1.6rem;
    text-align: center;
    font-family: inherit;
    line-height: 1.4;
    color: var(--color-text-on-dark);
    outline: none;
}
.contact__form .contact__check .wpcf7-list-item {
    margin: 0;
}

.contact__form .cta-shell--wide.cta-shell--hero-buy button.cta.cta--btn-lg {
    width: 460px !important;
}

.contact__form input.contact__field,
.contact__form .wpcf7-form-control.wpcf7-text,
.contact__form .wpcf7-form-control.wpcf7-email,
.contact__form .wpcf7-form-control.wpcf7-validates-as-email {
    box-sizing: border-box;
    align-self: center;
    width: var(--field-bg-w);
    height: var(--field-bg-h);
    max-width: 100%;
    padding: 0.85rem 2rem;
    line-height: 1.35;
    background-color: transparent;
    background-image: url("../images/field-bg.png");
    background-size: var(--field-bg-w) var(--field-bg-h);
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.contact__field::placeholder {
    color: var(--color-text-placeholder-muted);
    text-align: center;
}

.contact__form .wpcf7-form-control::placeholder {
    color: var(--color-text-placeholder-muted);
    text-align: center;
}

.contact__field--message,
.contact__form textarea.contact__field,
.contact__form textarea.wpcf7-form-control.wpcf7-textarea {
    display: block;
    align-self: center;
    box-sizing: border-box;
    width: var(--field-bg-w);
    height: var(--field-bg-h);
    max-width: 100%;
    margin-bottom: 0;
    padding: 0.85rem 2rem;
    line-height: 1.35;
    resize: none;
    overflow-y: auto;
    text-align: center;
    background-color: transparent;
    background-image: url("../images/field-bg.png");
    background-size: var(--field-bg-w) var(--field-bg-h);
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.contact__form .wpcf7-form-control-wrap {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__check {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0 0 2.4rem;
    text-align: left;
    line-height: 1.45;
    color: var(--color-text-linen-88);
    cursor: pointer;
}

.contact__check input {
    width: 1.6rem;
    height: 1.6rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--gradient-top);
    cursor: pointer;
}

.contact__form .cta-shell--wide.cta-shell--hero-buy {
    display: flex;
    justify-content: center;
    align-self: center;
    box-sizing: border-box;
    width: var(--field-bg-w);
    max-width: 100%;
    min-width: 0;
}

.contact__form .cta-shell--wide.cta-shell--hero-buy .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.contact__form .cta-shell--wide.cta-shell--hero-buy button.cta.cta--btn-lg,
.contact__form .cta-shell--wide.cta-shell--hero-buy input.cta.cta--btn-lg,
.contact__form .cta-shell--wide.cta-shell--hero-buy input.wpcf7-submit,
.contact__form .cta-shell--wide.cta-shell--hero-buy button.wpcf7-submit {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    /* Match input row width (global CTA uses 499px; fields use --field-bg-w) */
    --img-btn-w: min(100%, var(--field-bg-w));
    height: auto;
    aspect-ratio: 499 / 48;
}

/* Fallback if submit is still a plain CF7 input (theme filter should upgrade it) */
.contact__form .cta-shell--wide.cta-shell--hero-buy input.wpcf7-submit {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: var(--font-cta);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-cta-ink);
    text-shadow:
        0 1px 0 rgba(255, 244, 214, 0.55),
        0 0.12rem 0 rgba(255, 250, 235, 0.35),
        0 -1px 0 rgba(0, 0, 0, 0.12);
    background: transparent url("../images/btn-lg.png") no-repeat center / 100% 100%;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: 4.8rem;
    width: 100%;
    max-width: 100%;
    --img-btn-w: min(100%, var(--field-bg-w));
}

.contact__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact__book,
.contact__visual img {
    display: block;
    width: 100%;
    max-width: 64rem;
    height: auto;
}

/* ——— Site footer ——— */
.site-footer {
    position: relative;
    overflow: hidden;
    padding: 6rem 20rem;
    color: var(--color-text-on-dark);
    padding-bottom: 2rem;
}

.site-footer__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    margin-inline: auto;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(3.6rem, 5.5vw, 7.2rem);
    align-items: start;
    padding-bottom: clamp(2.8rem, 5vw, 4rem);
}

.site-footer__brand,
.site-footer__col--brand > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 0 1.6rem;
}

.site-footer__tagline,
.site-footer__col--brand > p {
    margin: 0;
    line-height: 1.55;
    color: var(--color-text-ivory-92);
    text-wrap: pretty;
}

.site-footer__col-heading {
    margin: 0 0 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li {
    margin: 0 0 0.8rem;
}

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

.site-footer__links a {
    color: var(--color-text-ivory-90);
    text-decoration: none;
    line-height: 1.45;
    transition: 0.3s ease all;
    font-size: 1.8rem;
}

.site-footer__links a:hover {
    color: var(--primary-color);
    filter: brightness(1.1);
    text-underline-offset: 0.2em;
}

.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    color: var(--primary-color);
    background-color: var(--color-surface-glass-dark);
    border: 1px solid var(--color-border-gold-soft);
    border-radius: 8px;
    transition: 0.3s ease all;
}

.site-footer__social-link:hover {
    color: var(--primary-color);
    filter: brightness(1.15);
    border-color: var(--color-border-gold-bright);
    background-color: var(--color-surface-glass-warm);
}

.site-footer__icon {
    width: 2.2rem;
    height: 2.2rem;
}

.site-footer__mail-text,
.site-footer__col:has(.site-footer__mail-form) > p {
    margin: 0 0 1.2rem;
    line-height: 1.45;
    color: var(--color-text-ivory-90);
}

.site-footer__mail-form {
    --footer-mail-control-min-h: calc(2.4rem + 1.4 * 1em + 2px);
    container-type: inline-size;
    container-name: site-footer-mail;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem;
    align-items: stretch;
}

@container site-footer-mail (max-width: 28rem) {
    .site-footer__mail-form {
        grid-template-columns: 1fr;
    }
}

.site-footer__mail-input {
    width: 100%;
    min-width: 0;
    min-height: var(--footer-mail-control-min-h);
    margin: 0;
    padding: 1.2rem 1.4rem;
    text-align: left;
    font-family: inherit;
    line-height: 1.4;
    color: var(--color-text-on-dark);
    border: 1px solid transparent;
    border-radius: 2px;
    outline: none;
    background:
        linear-gradient(180deg, rgba(10, 8, 6, 0.94) 0%, rgba(6, 5, 4, 0.97) 100%) padding-box,
        var(--gradient) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: 0.3s ease all;
}

.site-footer__mail-input:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 208, 104, 0.35);
}

.site-footer__mail-input::placeholder {
    color: var(--color-text-placeholder-faint);
}

.site-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem 2.4rem;
    padding-top: clamp(2rem, 3vw, 2.8rem);
}

.site-footer__copy,
.site-footer__bar > p {
    margin: 0;
    line-height: 1.4;
    color: var(--color-text-ivory-85);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
}

.site-footer__legal a {
    color: var(--color-text-ivory-85);
    text-decoration: none;
    line-height: 1.4;
    transition: 0.3s ease all;
}

.site-footer__legal a:hover {
    color: var(--primary-color);
    filter: brightness(1.1);
    text-underline-offset: 0.2em;
}

/* ——— Article page (article.html) ——— */
.article-page {
    position: relative;
    overflow: visible;
    padding: var(--page-first-section-padding-top) var(--section-content-inline-sym) 10rem;
    color: var(--color-text-on-dark);
}

.article-page__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-article .article-page__scrim {
    background: linear-gradient(
        180deg,
        rgba(6, 4, 3, 0.42) 0%,
        rgba(6, 4, 3, 0.32) 45%,
        rgba(6, 4, 3, 0.5) 100%
    );
}

.article-page__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.article-page__inner {
    position: relative;
    z-index: 1;
    /* max-width: 90rem; */
    margin-inline: auto;
}

/* Full-bleed intro: escape `.article-page__inner` max-width (article.html only) */
.page-article .article-intro {
    position: relative;
    /* width: 100vw; */
    /* max-width: 100vw; */
    margin-bottom: clamp(4rem, 6vw, 7rem);
    /* margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); */
    padding-inline: var(--section-content-inline-sym);
    box-sizing: border-box;
}

.page-article .article-intro .article-page__display,
.page-article .article-intro > h1,
.page-article .article-intro .article-page__figure,
.page-article .article-intro .article-page__body {
    max-width: none;
}

.page-article .article-news {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-top: clamp(2.4rem, 4vw, 4.8rem);
    margin-bottom: clamp(3.2rem, 5vw, 5rem);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: var(--site-header-inline-padding);
    box-sizing: border-box;
}

.page-article .article-news .news__grid {
    width: 100%;
    max-width: none;
    margin-inline: auto;
}

.page-article .article-news .news-card {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.article-page__display,
.article-intro > h1 {
    margin: 0 auto clamp(2.8rem, 4vw, 4rem);
    max-width: 56rem;
    text-align: left;
}

.article-page__figure {
    margin: 0 auto clamp(3rem, 4.5vw, 4.8rem);
    max-width: 96rem;
    line-height: 0;
}

.article-page__figure img {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border: 1px solid rgba(10, 8, 6, 0.88);
}

.article-page__body {
    max-width: 72rem;
    margin-inline: auto;
    text-align: left;
}

.article-page__body h3 {
    margin: clamp(2.4rem, 3vw, 3.2rem) 0 1.2rem;
    text-align: left;
}

.article-page__body p {
    margin: 0 0 1.8rem;
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 1.45vw, 1.75rem);
    line-height: 1.7;
    color: var(--primary-color);
    text-wrap: pretty;
}

.article-page__body p:last-child {
    margin-bottom: 0;
}



/* PAGE SPECIFIC STYLES */

/* ABOUT PAGE */
.page-about .cta.cta--hero-buy {
    margin: auto;
}
.page-book .cta.cta--btn-lg {
    --img-btn-w: 360px;
    --img-btn-h: 60px;
    font-size: inherit;
}