﻿
:root {
    --bg: #f7f3ee;
    --paper: #fbf8f4;
    --ink: #17263f;
    --ink-soft: #3d4a5f;
    --navy: #0f2747;
    --burgundy: #7a1f2b;
    --burgundy-dark: #651824;
    --gold: #b58b3a;
    --line: #e5ddd2;
    --card: #fffdf9;
    --shadow: 0 12px 34px rgba(17, 28, 46, 0.08);
    --radius: 18px;
    --container: 1240px;
    --header-height: 92px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    border-radius: var(--radius);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.serif {
    font-family: "Cormorant Garamond", "Georgia", serif;
    letter-spacing: -0.02em;
}

.section-title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
    font-weight: 600;
}

.section-copy {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
    max-width: 64ch;
}

.emphasis-copy {
    margin-top: 18px;
    font-weight: 600;
    color: var(--ink);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 0;
    border: 1px solid transparent;
    font-size: 0.98rem;
    font-weight: 700;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-radius: 999px;
    background: var(--burgundy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--burgundy-dark);
}

.btn-secondary {
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    border-color: #8e95a1;
}

.btn-secondary:hover {
    border-color: var(--ink);
    background: rgba(23, 38, 63, 0.04);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: #9a752f;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--burgundy);
}

.text-link::after {
    content: "→";
    transition: transform var(--transition);
}

.text-link:hover::after {
    transform: translateX(4px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(247, 243, 238, 0.92);
    border-bottom: 1px solid rgba(229, 221, 210, 0.8);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 92px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 260px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.brand-text {
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: currentColor;
}

.main-nav a {
    position: relative;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--burgundy);
}

.header-cta {
    justify-self: end;
}

.hero {
    padding: 16px 0 22px;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 54%, rgba(251, 248, 244, 0.74) 64%, rgba(251, 248, 244, 0.18) 100%);
    overflow: hidden;
    border: 1px solid var(--line);
}

.hero-copy {
    padding: 16px 48px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 0.94;
    font-weight: 600;
    color: var(--ink);
    max-width: 8.8ch;
}

.hero-subtitle {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-style: italic;
    font-size: clamp(1.6rem, 1vw, 2rem);
    color: var(--burgundy);
    max-width: 32ch;
}

.hero-description {
    margin: 0;
    max-width: 56ch;
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.hero-visual {
    position: relative;
    /* min-height: 528px; */
    background:
        linear-gradient(270deg, rgba(15, 39, 71, 0.08) 0%, rgba(15, 39, 71, 0.02) 18%, rgba(247, 243, 238, 0) 40%),
        url('/images/home-top2.jpeg') center center / cover no-repeat;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg, rgba(247, 243, 238, 0.98) 0%, rgba(247, 243, 238, 0.6) 18%, rgba(247, 243, 238, 0) 36%); */
}

.feature-strip {
    padding: 0 0 28px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.feature-card {
    padding: 38px 32px 34px;
    border-right: 1px solid var(--line);
}

.feature-card:last-child {
    border-right: none;
}

.feature-icon {
    width: 38px;
    height: 38px;
    color: var(--gold);
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.feature-card p {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

.method {
    padding: 0 0 34px;
}

.method-shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    background: var(--navy);
    color: #fff;
    padding: 54px 52px;
}

.method-shell .eyebrow {
    color: var(--gold);
}

.method-copy p {
    max-width: 44ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.04rem;
}

.method-list {
    display: grid;
    gap: 16px;
    align-content: center;
}

.method-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem;
}

.method-item svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    margin-top: 2px;
}

.books-section,
.resources,
.about-section {
    padding: 16px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.section-head .section-title {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.section-head .section-copy {
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-style: italic;
    color: #9a7952;
}

.book-hero { 
    padding: 16px 0 22px;
}

.book-hero-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 54%, rgba(251, 248, 244, 0.74) 64%, rgba(251, 248, 244, 0.18) 100%);
    overflow: hidden;
    border: 1px solid var(--line);
}

.book-hero-copy {
    padding: 15px 48px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-hero-title {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    /* font-size: clamp(3.3rem, 6vw, 5.35rem); */
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 0.94;
    font-weight: 600;
    color: var(--ink);
    max-width: 9.8ch;
}

.book-hero-subtitle {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-style: italic;
    /* font-size: clamp(1.45rem, 2.2vw, 2rem); */
    font-size: clamp(1.6rem, 1vw, 2rem);
    color: var(--burgundy);
    /* max-width: 26ch; */
}

.book-hero-description {
    margin: 0;
    max-width: 58ch;
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.book-visual {
    position: relative;
    /* min-height: 610px; */
    display: grid;
    place-items: center;
    /* padding: 48px; */
    background:
    linear-gradient(270deg, rgba(15, 39, 71, 0.08) 0%, rgba(15, 39, 71, 0.02) 18%, rgba(247, 243, 238, 0) 40%),
    radial-gradient(circle at 70% 20%, rgba(181, 139, 58, 0.16), transparent 26%),
    #efe7de;
}

.book-cover-real {
    width: min(440px, 89%);
    /* aspect-ratio: 0.68 / 1; */
    background: #f7e9e9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 42px rgba(14, 24, 38, 0.18);
    display: grid;
    place-items: center;
    padding: 12px;
    /* transform: rotate(-1deg); */
}


.book-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.book-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 22px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.book-cover {
    aspect-ratio: 0.75 / 1;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 5px;
    box-shadow: 0 10px 18px rgba(14, 24, 38, 0.08);
}

.book-cover.beige {
    background: linear-gradient(180deg, #e9dfcf 0%, #d8c7ac 100%);
    color: #7a5e2b;
}

.book-cover.navy {
    background: linear-gradient(180deg, #0f2747 0%, #11203a 100%);
    color: #f6e7bf;
}

.book-cover.burgundy {
    background: linear-gradient(180deg, #8c2231 0%, #6e1827 100%);
    color: #f6e7bf;
}

.book-cover-title {
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 1.8rem;
    line-height: 0.95;
    font-weight: 600;
    text-transform: uppercase;
}

.book-cover-sub {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.book-card h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
}

.book-card p {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: auto;
}

.split-section {
    padding: 18px 0 34px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
}

.split-panel {
    min-height: 480px;
    position: relative;
    padding: 34px 36px;
}

.split-panel + .split-panel {
    border-left: 1px solid var(--line);
}

.split-panel.image-right {
    background:
    linear-gradient(90deg, rgba(251, 248, 244, 0.96) 0%, rgba(251, 248, 244, 0.84) 38%, rgba(251, 248, 244, 0.08) 72%, rgba(251, 248, 244, 0) 100%),
    url('/images/experiences-spain.jpg') center center / cover no-repeat;
}

.class-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0 32px;
}

.class-item {
    display: grid;
    gap: 10px;
    align-content: start;
}

.class-item svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.class-item h4 {
    margin: 0;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 1.42rem;
    line-height: 1;
    font-weight: 600;
}

.class-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.resource-card {
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    display: grid;
    grid-template-rows: 124px auto;
}

.resource-thumb {
    background-size: cover;
    background-position: center;
}

.resource-thumb.one { background-image: url('/images/resource-1.jpg'); }
.resource-thumb.two { background-image: url('/images/resource-2.jpg'); }
.resource-thumb.three { background-image: url('/images/resource-3.jpg'); }
.resource-thumb.four { background-image: url('/images/resource-4.jpg'); }

.resource-body {
    padding: 18px 18px 22px;
}

.resource-body h3 {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 1.58rem;
    line-height: 1.05;
    font-weight: 600;
}

.newsletter {
    padding: 12px 0 34px;
}

.newsletter-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 30px 34px;
    background: var(--navy);
    color: #fff;
}

.newsletter-shell h2 {
    margin: 0 0 6px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 600;
}

.newsletter-shell p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
    display: flex;
    gap: 14px;
    min-width: min(100%, 560px);
}

.newsletter-form input {
    width: 360px;
    min-height: 54px;
    padding: 0 18px;
    border: none;
    outline: none;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.about-shell {
    /* display: grid;
    grid-template-columns: 1.12fr 0.88fr; */
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
}

.about-copy {
    display: grid;
    grid-template-columns: 250px 0.9fr;
    gap: 60px;
    align-items: start;
    padding: 28px;
}

.about-photo {
    aspect-ratio: 0.88 / 1;
    background: url('/images/about-photo.jpeg') center center / cover no-repeat;
    /* background-position: center; */
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-text h2 {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 0.98;
    font-weight: 600;
}

.about-text p {
    margin: 0 0 12px;
    color: var(--ink-soft);
}

.about-architecture {
    min-height: 320px;
    background: url('/images/about-architecture.jpg') center center / cover no-repeat;
}

.contact-section {
    padding: 16px 0;
}

.contact-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
}

.contact-copy {
    padding: 34px 36px;
    background:
        linear-gradient(180deg, rgba(181, 139, 58, 0.1) 0%, rgba(251, 248, 244, 0.04) 36%, rgba(251, 248, 244, 0) 100%),
        var(--paper);
}

.contact-copy .section-title {
    margin-bottom: 14px;
}

.contact-form-wrap {
    padding: 34px 36px;
    background: var(--card);
    border-left: 1px solid var(--line);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d6ccbf;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 14px 14px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.contact-form .btn {
    justify-self: start;
}

.form-status {
    margin: 0;
    min-height: 1.4em;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-status.is-success {
    color: #2e5a2e;
}

.form-status.is-error {
    color: var(--burgundy);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 28px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr 0.8fr;
    gap: 26px;
    align-items: start;
}

.footer-brand .brand-text,
.site-footer h3,
.site-footer a,
.site-footer p {
    color: #fff;
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links-two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

.footer-links a,
.footer-links p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    margin: 0;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* â€” Books page â€” */

.cover-inner {
    width: 100%;
    height: 100%;
    border: 4px double var(--burgundy);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.35);
}

.cover-kicker {
    color: var(--burgundy);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cover-title {
    font-family: "Cormorant Garamond", "Georgia", serif;
    color: var(--burgundy-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 700;
}

.cover-sub {
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.method-shell .section-title {
    color: #fff;
}

.inside-section,
.audience-section {
    padding: 34px 0;
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.preview-card {
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: 290px auto;
}

.preview-thumb {
    padding: 24px;
    background: linear-gradient(180deg, #fffdf9 0%, #f1e9df 100%);
    border-bottom: 1px solid var(--line);
    display: grid;
    align-content: center;
    gap: 10px;
}

.page-mini-title {
    font-family: "Cormorant Garamond", "Georgia", serif;
    color: var(--burgundy);
    text-align: center;
    font-size: 1.42rem;
    line-height: 1;
    margin-bottom: 12px;
    font-weight: 700;
}

.mini-line {
    height: 8px;
    background: #ded5ca;
}

.mini-line.short {
    width: 68%;
}

.mini-line.navy {
    background: rgba(15, 39, 71, 0.34);
}

.mini-line.gold {
    background: rgba(181, 139, 58, 0.5);
}

.mini-box {
    border: 1px solid #d7ccbf;
    padding: 12px;
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.preview-body {
    padding: 20px 20px 24px;
}

.preview-body h3 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 1.62rem;
    line-height: 1.05;
    font-weight: 600;
}

.preview-body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.quote-panel {
    background: var(--navy);
    color: #fff;
    display: grid;
    align-content: center;
}

.quote-panel .section-title {
    color: #fff;
}

.quote-panel .section-copy {
    color: rgba(255, 255, 255, 0.84);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.audience-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}

.audience-card h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 1.72rem;
    line-height: 1;
    font-weight: 600;
}

.audience-card p {
    margin: 0;
    color: var(--ink-soft);
}

.author-shell {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
}

.author-copy {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: start;
    padding: 28px;
}

.author-photo {
    aspect-ratio: 0.88 / 1;
    background: linear-gradient(180deg, #e9dfcf 0%, #d8c7ac 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    place-items: center;
    text-align: center;
    font-family: "Cormorant Garamond", "Georgia", serif;
    color: var(--burgundy);
    font-size: 1.7rem;
    line-height: 0.98;
    padding: 18px;
}

.author-text h2 {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 0.98;
    font-weight: 600;
}

.author-text p {
    margin: 0 0 12px;
    color: var(--ink-soft);
}

.author-architecture {
    min-height: 320px;
    background:
        linear-gradient(90deg, rgba(251, 248, 244, 0.96) 0%, rgba(251, 248, 244, 0.44) 42%, rgba(251, 248, 244, 0.08) 100%),
        linear-gradient(135deg, #efe3d6, #d9c4a6);
}

.text-justify {
    text-align: justify;
}

@media (max-width: 1160px) {
    .hero-shell,
    .book-hero-shell,
    .author-shell,
    .method-shell,
    .about-shell,
    .contact-shell,
    .split-grid,
    .footer-grid {
    grid-template-columns: 1fr;
    }

    .hero-visual,
    .book-visual,
    .split-panel,
    .about-architecture,
    .author-architecture {
    min-height: 420px;
    }

    .split-panel + .split-panel {
    border-left: none;
    border-top: 1px solid var(--line);
    }

    .contact-form-wrap {
    border-left: none;
    border-top: 1px solid var(--line);
    }

    .book-grid,
    .resources-grid,
    .inside-grid,
    .audience-grid,
    .feature-grid {
    grid-template-columns: 1fr 1fr;
    }

    .feature-card:nth-child(2) {
    border-right: none;
    }

    .feature-card:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    }

    .newsletter-shell,
    .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    }

    .main-nav {
    justify-content: start;
    }

    .header-cta {
    justify-self: start;
    }
}

@media (max-width: 860px) {
    .container {
    width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 78px;
    }

    .brand {
    min-width: 0;
    }

    .brand-text {
    font-size: 1.2rem;
    }

    .nav-toggle {
    display: inline-flex;
    }

    .main-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    gap: 12px;
    }

    .main-nav.is-open {
    display: flex;
    }

    .main-nav a {
    display: block;
    width: 100%;
    padding: 6px 0;
    }

    .hero-copy,
    .book-hero-copy,
    .method-shell,
    .newsletter-shell,
    .split-panel,
    .contact-copy,
    .contact-form-wrap,
    .about-copy,
    .author-copy {
    padding: 28px 22px;
    }

    .feature-grid,
    .book-grid,
    .resources-grid,
    .inside-grid,
    .audience-grid,
    .class-icons {
    grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-card:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid var(--line);
    }

    .feature-card:last-child {
    border-bottom: none;
    }

    .book-card,
    .about-copy,
    .author-copy {
    grid-template-columns: 1fr;
    }

    .newsletter-form {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    }

    .newsletter-form input {
    width: 100%;
    }

    .about-photo {
    max-width: 220px;
    }

    .footer-links-two-columns {
    grid-template-columns: 1fr;
    }
}

@media (min-width: 861px) {
    html {
    scroll-padding-top: calc(var(--header-height) + 16px);
    }

    body {
    padding-top: var(--header-height);
    }

    .site-header,
    body.classes-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    }
}

/* Classes page merged into main stylesheet */
body.classes-page {
  --bg: #f6f1ea;
  --paper: #fbf8f3;
  --navy: #102745;
  --navy-soft: #233752;
  --burgundy: #7a1f2b;
  --burgundy-dark: #5f1721;
  --gold: #b7924b;
  --text: #17263f;
  --text-soft: #5b6778;
  --line: #e3d9cc;
  --white: #ffffff;
  --shadow: 0 18px 38px rgba(16, 39, 69, 0.08);
    --radius: 18px;
    --container: 1240px;
}

body.classes-page * { box-sizing: border-box; }
body.classes-page {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.classes-page img { max-width: 100%; display: block; }
body.classes-page a { color: inherit; text-decoration: none; }

body.classes-page .container {
    width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
    border-radius: var(--radius);
}

body.classes-page .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

body.classes-page .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

body.classes-page .nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

body.classes-page .nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

body.classes-page .nav a:hover { color: var(--burgundy); }

body.classes-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: 180ms ease;
  cursor: pointer;
}

body.classes-page .btn:hover { transform: translateY(-1px); }
body.classes-page .btn-primary { background: var(--burgundy); color: var(--white); }
body.classes-page .btn-primary:hover { background: var(--burgundy-dark); }
body.classes-page .btn-secondary { background: transparent; border-color: #98a0ac; color: var(--text); }
body.classes-page .btn-secondary:hover { border-color: var(--text); background: rgba(23, 38, 63, 0.04); }
body.classes-page .btn-gold { background: var(--gold); color: var(--white); }

body.classes-page .hero {
  padding: 32px 0 28px;
}

body.classes-page .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

body.classes-page .hero-card {
  background: linear-gradient(180deg, #fbf8f3 0%, #f5efe7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.classes-page .hero-copy {
  padding: 56px 48px 48px;
}

body.classes-page .hero-title {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.3rem, 6vw, 5.1rem);
  line-height: 0.92;
  font-weight: 600;
  max-width: 8ch;
}

body.classes-page .hero-subtitle {
  margin: 0 0 18px;
  font-size: 1.18rem;
  color: var(--navy-soft);
  max-width: 34ch;
}

body.classes-page .hero-text {
  margin: 0;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.03rem;
}

body.classes-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

body.classes-page .hero-side {
  display: grid;
  grid-template-rows: auto auto;
  gap: 22px;
}

body.classes-page .price-card, body.classes-page .track-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

body.classes-page .price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4rem;
  line-height: 0.9;
  margin: 8px 0 6px;
  color: var(--navy);
}

body.classes-page .price-note {
  margin: 0 0 18px;
  color: var(--burgundy);
  font-weight: 700;
}

body.classes-page .meta-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
}

body.classes-page .meta-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-soft);
  font-size: 0.97rem;
}

body.classes-page .meta-item::before {
  content: "â€¢";
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

body.classes-page .section {
  padding: 18px 0;
}

body.classes-page .section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

body.classes-page .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 32px;
}

body.classes-page .panel-dark {
  background: var(--navy);
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
}

body.classes-page .panel-dark p, body.classes-page .panel-dark li { color: rgba(255,255,255,0.86); }

body.classes-page .section-title {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  font-weight: 600;
}

body.classes-page .section p {
  margin: 0 0 12px;
  color: var(--text-soft);
}

body.classes-page .panel-dark .eyebrow { color: #d6af62; }

body.classes-page .feature-list, body.classes-page .plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

body.classes-page .feature-list li, body.classes-page .plain-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

body.classes-page .feature-list li::before, body.classes-page .plain-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

body.classes-page .tracks {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

body.classes-page .track {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: #fcfaf7;
}

body.classes-page .track h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 600;
  color: var(--navy);
}

body.classes-page .track p {
  margin: 0;
  color: var(--text-soft);
}

body.classes-page .quote-band {
  margin: 18px 0;
  padding: 34px 20px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, #183154 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.classes-page .quote-band p {
  margin: 0 auto;
  max-width: 24ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  color: var(--white);
}

body.classes-page .cta-section {
  padding: 18px 0 46px;
}

body.classes-page .cta-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

body.classes-page .cta-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow);
}

body.classes-page .cta-box {
  background: linear-gradient(180deg, #7a1f2b 0%, #651824 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.classes-page .cta-box p, body.classes-page .cta-box li { color: rgba(255,255,255,0.9); }

body.classes-page .cta-box ul {
  margin: 18px 0 24px;
  padding-left: 18px;
}

body.classes-page .small-note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

body.classes-page .footer {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0 36px;
  margin-top: 10px;
}

body.classes-page .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

body.classes-page .footer p {
  margin: 0;
  color: rgba(255,255,255,0.78);
}

body.classes-page .btn-block {
  width: 100%;
}

body.classes-page .mt-20 {
  margin-top: 20px;
}

body.classes-page .mt-18 {
  margin-top: 18px;
}

body.classes-page .mt-24 {
  margin-top: 24px;
}

body.classes-page .cta-glance-title {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  body.classes-page .hero-grid, body.classes-page .section-grid, body.classes-page .cta-shell {
    grid-template-columns: 1fr;
  }

  body.classes-page .nav { display: none; }
}

@media (max-width: 700px) {
    body.classes-page .container { width: min(calc(100% - 28px), var(--container)); }
  body.classes-page .hero-copy, body.classes-page .price-card, body.classes-page .track-card, body.classes-page .panel, body.classes-page .cta-main, body.classes-page .cta-box { padding: 24px 20px; }
  body.classes-page .hero-title { max-width: none; }
  body.classes-page .price { font-size: 3.2rem; }
    body.classes-page .brand-text { font-size: 1.2rem; }
}

