/* ============================================================
   Go Go Vietnamese — warm editorial design
   Fonts: Fraunces (display) · Be Vietnam Pro (body)
   ============================================================ */

:root {
    --paper: #faf5ec;
    --paper-deep: #f3eadb;
    --ink: #2b2118;
    --ink-soft: #5c5043;
    --lacquer: #c0392f;
    --lacquer-deep: #9e2b23;
    --gold: #d9a441;
    --line: rgba(43, 33, 24, 0.12);

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Be Vietnam Pro", "Helvetica Neue", sans-serif;

    --container: 1120px;
    --radius: 18px;
    --shadow-soft: 0 18px 50px -24px rgba(43, 33, 24, 0.35);
}

/* ---------- Reset ---------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(1100px 500px at 85% -5%, rgba(217, 164, 65, 0.13), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(192, 57, 47, 0.06), transparent 55%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--lacquer);
}

::selection {
    background: var(--lacquer);
    color: var(--paper);
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 18px;
    z-index: 100;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.kicker {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lacquer);
    margin-bottom: 14px;
}

.kicker-light {
    color: var(--gold);
}

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

.btn {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--lacquer);
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(192, 57, 47, 0.65);
}

.btn-primary:hover {
    background: var(--lacquer-deep);
}

.btn-ghost {
    color: var(--ink);
    border: 1.5px solid var(--line);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.btn-light {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.btn-light:hover {
    background: #fff;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 245, 236, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.wordmark {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.wordmark em {
    font-style: italic;
    color: var(--lacquer);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.97rem;
    transition: color 0.15s ease;
}

.site-nav a:hover {
    color: var(--lacquer);
}

.site-nav .nav-cta {
    color: var(--lacquer);
    border: 1.5px solid currentColor;
    border-radius: 999px;
    padding: 7px 18px;
}

.site-nav .nav-cta:hover {
    background: var(--lacquer);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4rem);
    margin-bottom: 22px;
}

.hero-greeting {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--lacquer);
    font-size: 0.62em;
    margin-bottom: 10px;
}

.lede {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 34em;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

/* The six-tones strip — signature detail */

.tone-strip {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    max-width: 30em;
}

.tone-words {
    display: flex;
    gap: 20px;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--ink);
}

.tone-words span {
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: default;
}

.tone-words span:hover {
    color: var(--lacquer);
    transform: translateY(-4px);
}

.tone-caption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* Photo */

.hero-photo {
    position: relative;
    justify-self: center;
}

.photo-arch {
    position: relative;
    width: min(360px, 80vw);
    border-radius: 999px 999px var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.photo-arch::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(43, 33, 24, 0.08);
    pointer-events: none;
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: -16px auto auto -16px;
    width: 100%;
    height: 100%;
    border-radius: 999px 999px var(--radius) var(--radius);
    border: 2px solid var(--lacquer);
    opacity: 0.35;
    z-index: -1;
}

.photo-badge {
    position: absolute;
    bottom: 26px;
    left: -38px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(-3deg);
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.hero-glyphs {
    position: absolute;
    right: -30px;
    bottom: -78px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(8rem, 18vw, 15rem);
    line-height: 1;
    color: var(--ink);
    opacity: 0.045;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

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

.section {
    padding: 96px 0;
}

.section-tint {
    background: var(--paper-deep);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 40em;
    margin-bottom: 52px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

/* ---------- About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-text p + p {
    margin-top: 1.2em;
}

.about-text em {
    color: var(--lacquer);
}

.about-facts {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    display: grid;
    gap: 22px;
    box-shadow: var(--shadow-soft);
}

.fact {
    display: grid;
    gap: 2px;
}

.fact-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.fact-value {
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

a.fact-value:hover {
    color: var(--lacquer);
}

/* ---------- Lesson cards ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(192, 57, 47, 0.09);
    color: var(--lacquer);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    font-size: 1.22rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* ---------- Materials ---------- */

.materials {
    margin-top: 64px;
    background: var(--ink);
    color: var(--paper);
    border-radius: calc(var(--radius) + 6px);
    padding: 46px 48px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: center;
}

.materials-head h3 {
    font-size: 1.65rem;
    margin-bottom: 10px;
}

.materials-head p {
    color: rgba(250, 245, 236, 0.75);
    font-size: 0.98rem;
}

.materials-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.materials-list li {
    position: relative;
    padding-left: 30px;
    color: rgba(250, 245, 236, 0.85);
    font-size: 0.98rem;
}

.materials-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 700;
}

.materials-list strong {
    color: var(--paper);
}

/* ---------- Levels ---------- */

.levels {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.level {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--lacquer);
    border-radius: var(--radius);
    padding: 32px 34px;
}

.level-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lacquer);
    background: rgba(192, 57, 47, 0.09);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

.level h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.level p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* ---------- Reviews ---------- */

.review-columns {
    columns: 3;
    column-gap: 24px;
}

.review {
    break-inside: avoid;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}

.review blockquote {
    margin: 14px 0 18px;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.review blockquote::before {
    content: "“";
}

.review blockquote::after {
    content: "”";
}

.review figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.review-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.review-date {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

/* ---------- Contact ---------- */

.contact {
    background: var(--ink);
    background-image: radial-gradient(900px 400px at 50% -10%, rgba(192, 57, 47, 0.25), transparent 65%);
    color: var(--paper);
    padding: 110px 0;
    text-align: center;
}

.contact-inner {
    max-width: 720px;
}

.contact h2 {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    margin-bottom: 20px;
}

.contact-vi {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
    font-size: 0.6em;
    margin-bottom: 12px;
}

.contact-lede {
    color: rgba(250, 245, 236, 0.78);
    font-size: 1.1rem;
    max-width: 36em;
    margin: 0 auto 36px;
}

.contact-meta {
    margin-top: 28px;
    font-size: 0.9rem;
    color: rgba(250, 245, 236, 0.55);
}

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

.site-footer {
    background: var(--ink);
    color: rgba(250, 245, 236, 0.6);
    border-top: 1px solid rgba(250, 245, 236, 0.12);
    padding: 26px 0;
    font-size: 0.88rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer a {
    color: rgba(250, 245, 236, 0.75);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--paper);
}

/* ---------- Reveal animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .card,
    .tone-words span {
        transition: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-photo {
        order: -1;
    }

    .photo-badge {
        left: -8px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .materials {
        grid-template-columns: 1fr;
        padding: 38px 32px;
    }

    .review-columns {
        columns: 2;
    }
}

@media (max-width: 700px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 10px 24px 20px;
        display: none;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
        font-size: 1.05rem;
    }

    .site-nav .nav-cta {
        margin-top: 10px;
        text-align: center;
    }

    .hero {
        padding: 56px 0 72px;
    }

    .section {
        padding: 72px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .levels {
        grid-template-columns: 1fr;
    }

    .review-columns {
        columns: 1;
    }

    .tone-words {
        gap: 14px;
        font-size: 1.3rem;
    }

    .contact {
        padding: 84px 0;
    }
}
