/* ══════════════════════════════════════════════════════════════
   KTW GROUP — FOUNDER PAGE
   ─────────────────────────────────────────────────────────────
   Georgian wine-culture palette: qvevri clay, aged wine,
   vineyard gold, Caucasus stone.

   ALL-DARK cinematic. Black body. Dark sections.
   Sections fade in/out from black on scroll.
══════════════════════════════════════════════════════════════ */

:root {
    --ktw-ink:          #0d0906;
    --ktw-wine:         #1a0e14;
    --ktw-wine-mid:     #2a1520;
    --ktw-clay:         #b8734a;
    --ktw-clay-light:   #d4956a;
    --ktw-gold:         #c9a96e;
    --ktw-stone:        #0d0906;
    --ktw-cream:        #0d0906;
    --ktw-text:         #f2ece4;
    --ktw-text-dim:     rgba(242, 236, 228, 0.45);
    --ktw-ink-text:     #f2ece4;
    --ktw-ink-mid:      rgba(242, 236, 228, 0.55);
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--ktw-text);
    background-color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
/* Ensure sections paint above body bg transition */
section { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ktw-clay-light); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--ktw-clay); }

/* ── Page-Load Overlay — cinematic fade-in ── */
.ktw-page-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1a0f0a;
    opacity: 1;
    transition: opacity 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
}
.ktw-page-overlay--hidden { opacity: 0; }

/* ── Scroll Reveal ── */
.ktw-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.ktw-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Slow variant for headings */
.ktw-reveal--slow {
    transition: opacity 1.2s ease, transform 1.2s ease;
}
/* Headings get a more dramatic entrance */
.ktw-heritage-title,
.ktw-supra-title {
    transform: translateY(30px);
}
.ktw-reveal.visible .ktw-heritage-title,
.ktw-reveal.visible .ktw-supra-title,
.visible.ktw-heritage-title,
.visible.ktw-supra-title {
    transform: translateY(0);
}

/* ── Section Scroll Fade — all content sections fade in/out from black ── */
.ktw-section-fade {
    opacity: 0;
    transition: opacity 1.5s ease;
}
.ktw-section-fade--visible {
    opacity: 1;
}
/* Disable internal staggered reveals inside fading sections —
   the whole section fades in as one unit */
.ktw-section-fade .ktw-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

/* ── Eyebrow ── */
.ktw-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ktw-clay);
    display: block;
    margin-bottom: 24px;
    font-weight: 600;
}
.ktw-eyebrow--light { color: var(--ktw-clay-light); }


/* ══════════════════════════════════════════════════════════════
   1. VIDEO HERO
══════════════════════════════════════════════════════════════ */
.ktw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--ktw-ink);
}
.ktw-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
/* Hero video rotation — two stacked videos, crossfade */
.ktw-hero-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 2s ease;
}
.ktw-hero-vid--active { opacity: 1; }
/* Fade-to-black overlay for hero transition */
.ktw-hero-fade {
    position: absolute; inset: 0;
    background: #000; opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 2; pointer-events: none;
}
.ktw-hero-fade--active { opacity: 1; }
.ktw-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 15, 10, 0.70) 0%,
        rgba(26, 15, 10, 0.55) 50%,
        rgba(26, 14, 20, 0.85) 100%
    );
    pointer-events: none;
}
.ktw-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 30px;
}
.ktw-hero-logo {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: var(--ktw-gold);
    display: block;
    margin-bottom: 48px;
    font-weight: 500;
}
.ktw-hero-phrases {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    font-style: italic;
    color: var(--ktw-clay-light);
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}
.ktw-hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--ktw-text);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.ktw-hero-role {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ktw-text-dim);
    font-weight: 500;
}

/* Scroll indicator */
.ktw-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.ktw-scroll-dot {
    animation: ktw-scroll-bounce 2s ease-in-out infinite;
}
@keyframes ktw-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}


/* ══════════════════════════════════════════════════════════════
   2. PORTRAIT + BIO
══════════════════════════════════════════════════════════════ */
.ktw-bio {
    background-color: var(--ktw-wine);
    padding: 100px 80px;
}
.ktw-bio-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}
.ktw-bio-photo-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.ktw-bio-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    filter: grayscale(10%) contrast(1.04);
}
.ktw-bio-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--ktw-text);
    margin-bottom: 8px;
    line-height: 1.15;
}
.ktw-bio-role {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ktw-clay-light);
    font-weight: 600;
    display: block;
    margin-bottom: 28px;
}
.ktw-bio-summary {
    font-size: 15.5px;
    line-height: 1.9;
    color: rgba(242, 236, 228, 0.72);
    margin-bottom: 20px;
}
.ktw-bio-summary:last-of-type { margin-bottom: 28px; }
.ktw-bio-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ktw-tag {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ktw-clay-light);
    border: 1px solid rgba(212, 149, 106, 0.30);
    padding: 7px 16px;
    font-weight: 500;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .ktw-bio { padding: 72px 40px; }
    .ktw-bio-inner { grid-template-columns: 1fr; gap: 40px; }
    .ktw-bio-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 479px) {
    .ktw-bio { padding: 56px 20px; }
}


/* ══════════════════════════════════════════════════════════════
   3. HERITAGE / LEGACY
══════════════════════════════════════════════════════════════ */
.ktw-heritage {
    background-color: var(--ktw-cream);
    padding: 100px 80px;
}
.ktw-heritage-inner {
    max-width: 720px;
    margin: 0 auto;
}
.ktw-heritage-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--ktw-ink-text);
    margin-bottom: 32px;
    line-height: 1.15;
}
.ktw-heritage p {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--ktw-ink-mid);
    margin-bottom: 24px;
}
.ktw-heritage p:last-child { margin-bottom: 0; }
.ktw-pullquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ktw-clay-light);
    border-left: 3px solid var(--ktw-clay);
    padding: 12px 0 12px 28px;
    margin: 40px 0;
    line-height: 1.45;
}

/* ── Definition Callouts ── */
.ktw-definition {
    border-left: 3px solid var(--ktw-clay);
    padding: 20px 0 20px 28px;
    margin: 40px 0;
}
.ktw-definition-term {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    font-style: italic;
    color: var(--ktw-clay-light);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.ktw-definition-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(242, 236, 228, 0.6);
    margin: 0;
}

@media (max-width: 900px) {
    .ktw-heritage { padding: 72px 40px; }
}
@media (max-width: 479px) {
    .ktw-heritage { padding: 56px 20px; }
}


/* ══════════════════════════════════════════════════════════════
   4. STATS BAR
══════════════════════════════════════════════════════════════ */
.ktw-stats {
    background-color: var(--ktw-ink);
    padding: 72px 80px;
}
.ktw-stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.ktw-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 300;
    color: var(--ktw-gold);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}
.ktw-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ktw-text-dim);
    font-weight: 500;
}

@media (max-width: 768px) {
    .ktw-stats { padding: 56px 40px; }
    .ktw-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 479px) {
    .ktw-stats { padding: 48px 20px; }
    .ktw-stats-inner { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}


/* ══════════════════════════════════════════════════════════════
   5. VIDEO DIVIDER
══════════════════════════════════════════════════════════════ */
.ktw-divider {
    position: relative;
    height: 50vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--ktw-ink);
}
.ktw-divider-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.ktw-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 15, 10, 0.60);
    z-index: 2;
    pointer-events: none;
}
.ktw-divider-inner {
    position: relative;
    z-index: 3;
    text-align: center;
}
.ktw-divider-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--ktw-clay-light);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}
.ktw-divider-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--ktw-text);
    line-height: 1.05;
}

/* Mini dividers — atmospheric video, no text, shorter */
.ktw-divider--mini {
    height: 35vh;
    min-height: 240px;
}
.ktw-divider--mini.ktw-divider--text {
    height: 45vh;
    min-height: 300px;
}

/* ══════════════════════════════════════════════════════════════
   ZURAB QUOTE SECTION
══════════════════════════════════════════════════════════════ */
.ktw-quote-section {
    background-color: var(--ktw-ink);
    padding: 120px 80px;
    text-align: center;
}
.ktw-quote-inner {
    max-width: 800px;
    margin: 0 auto;
}
.ktw-quote-block {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ktw-text);
    line-height: 1.65;
    border: none;
    padding: 0;
    margin: 0 0 32px;
}
.ktw-quote-attr {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ktw-clay);
    font-weight: 600;
}

@media (max-width: 900px) { .ktw-quote-section { padding: 80px 40px; } }
@media (max-width: 479px) { .ktw-quote-section { padding: 64px 20px; } }


/* ══════════════════════════════════════════════════════════════
   5b. BUSINESS DIVISIONS
══════════════════════════════════════════════════════════════ */
.ktw-divisions {
    background-color: var(--ktw-stone);
    padding: 100px 80px;
}
.ktw-divisions-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.ktw-division-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(242, 236, 228, 0.08);
    border-left: 1px solid rgba(242, 236, 228, 0.08);
}
.ktw-division-card {
    padding: 36px 32px;
    border-right: 1px solid rgba(242, 236, 228, 0.08);
    border-bottom: 1px solid rgba(242, 236, 228, 0.08);
    position: relative;
    transition: background 0.35s ease;
}
.ktw-division-card:hover {
    background: rgba(242, 236, 228, 0.04);
}
.ktw-division-accent {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--ktw-clay);
    margin-bottom: 20px;
    border-radius: 1px;
}
.ktw-division-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ktw-ink-text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.ktw-division-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ktw-ink-mid);
}

@media (max-width: 1024px) {
    .ktw-divisions { padding: 72px 40px; }
    .ktw-division-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ktw-divisions { padding: 56px 20px; }
    .ktw-division-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   HERITAGE ALT — warm stone background variant
══════════════════════════════════════════════════════════════ */
.ktw-heritage--alt { background-color: var(--ktw-stone); }

/* ══════════════════════════════════════════════════════════════
   6. SUPRA — dark wine section
══════════════════════════════════════════════════════════════ */
.ktw-supra {
    background-color: var(--ktw-wine);
    padding: 100px 80px;
}
.ktw-supra-inner {
    max-width: 720px;
    margin: 0 auto;
}
.ktw-supra-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--ktw-text);
    margin-bottom: 32px;
    line-height: 1.15;
}
.ktw-supra p {
    font-size: 15.5px;
    line-height: 1.9;
    color: rgba(242, 236, 228, 0.72);
    margin-bottom: 24px;
}
.ktw-supra p:last-child { margin-bottom: 0; }
.ktw-supra .ktw-pullquote {
    color: var(--ktw-clay-light);
    border-left-color: var(--ktw-gold);
}

@media (max-width: 900px) { .ktw-supra { padding: 72px 40px; } }
@media (max-width: 479px) { .ktw-supra { padding: 56px 20px; } }

/* ══════════════════════════════════════════════════════════════
   7. THREE PILLARS — 3-column variant
══════════════════════════════════════════════════════════════ */
.ktw-division-grid--three {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    .ktw-division-grid--three { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   TAMADA QUOTES — rotating carousel
══════════════════════════════════════════════════════════════ */
.ktw-tamada-quotes {
    background-color: var(--ktw-ink);
    padding: 80px 80px;
    text-align: center;
}
.ktw-tamada-inner {
    max-width: 800px;
    margin: 0 auto;
}
.ktw-tamada-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ktw-clay-light);
    margin-bottom: 48px;
    line-height: 1.6;
}
.ktw-tamada-carousel {
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ktw-tamada-category {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}
.ktw-tamada-cat-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--ktw-clay);
    font-weight: 600;
    transition: opacity 0.3s ease;
}
.ktw-tamada-quote {
    position: absolute;
    left: 0; right: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ktw-text);
    line-height: 1.55;
    border: none;
    padding: 24px 0 0;
    margin: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.ktw-tamada-quote--active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.ktw-tamada-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}
.ktw-tamada-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(242, 236, 228, 0.2);
    border-radius: 50%;
    background: none;
    color: var(--ktw-text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, color 0.25s ease;
    padding: 0;
}
.ktw-tamada-btn svg { width: 18px; height: 18px; }
.ktw-tamada-btn:hover {
    border-color: var(--ktw-clay);
    color: var(--ktw-text);
}
.ktw-tamada-counter {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--ktw-text-dim);
    min-width: 60px;
}

@media (max-width: 900px) { .ktw-tamada-quotes { padding: 64px 40px; } }
@media (max-width: 479px) { .ktw-tamada-quotes { padding: 48px 20px; } }


/* ══════════════════════════════════════════════════════════════
   SECTION HEADER IMAGES — Dana Estates style:
   Pure black background. Full-width images.
   Strong top & bottom gradients fading to black.
   Slow 2s fade-up reveal triggered by scroll (AOS-style).
══════════════════════════════════════════════════════════════ */
.ktw-img-wrap {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #000;
    max-height: 80vh;
}
/* When image is cropped by max-height, use object-fit to control framing */
.ktw-img-wrap--bottom .ktw-section-img {
    height: 80vh;
    object-fit: cover;
    object-position: center bottom;
}
.ktw-img-wrap--center .ktw-section-img {
    height: 80vh;
    object-fit: cover;
    object-position: center center;
}
/* Bottom gradient — fades image to section color */
.ktw-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgb(0,0,0));
    pointer-events: none;
    z-index: 2;
}
/* Top gradient removed — only bottom gradient on headers */
/* Image fades in separately — gradients stay visible from the start */
.ktw-section-img {
    width: 100%;
    display: block;
    height: auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 2s ease, transform 2s ease;
    will-change: transform, opacity;
}
.ktw-img-wrap.ktw-img-visible .ktw-section-img {
    opacity: 1;
    transform: translateY(0);
}

/* SECTION HEADER VIDEO — full-width, uncropped (natural ratio) */
.ktw-section-vid {
    width: 100%;
    display: block;
    height: auto;
}

/* Heritage sections are now dark — no wash needed */

/* ── Stats bar definition lines ── */
.ktw-stats {
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
}

/* ── Quote callout vignette ── */
.ktw-quote-callout .ktw-quote-bg::after {
    background: radial-gradient(
        ellipse at center,
        rgba(26, 15, 10, 0.60) 0%,
        rgba(26, 15, 10, 0.80) 100%
    );
}


/* ══════════════════════════════════════════════════════════════
   PLAYABLE VIDEO EMBED — bordered container with wash + play btn
══════════════════════════════════════════════════════════════ */
.ktw-video-embed {
    position: relative;
    border: 1px solid rgba(184, 115, 74, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 32px 0;
    aspect-ratio: 16 / 9;
    background: var(--ktw-ink);
}
.ktw-video-embed video,
.ktw-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}
.ktw-youtube-placeholder {
    position: absolute;
    inset: 0;
    background: var(--ktw-ink);
}
.ktw-video-wash {
    position: absolute;
    inset: 0;
    background: rgba(26, 15, 10, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.35s ease;
}
.ktw-video-wash.hidden { opacity: 0; pointer-events: none; }
.ktw-play-btn {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(242, 236, 228, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.ktw-play-btn svg { width: 24px; height: 24px; }
.ktw-video-wash:hover .ktw-play-btn {
    border-color: rgba(242, 236, 228, 0.85);
    transform: scale(1.08);
}

/* Player controls — play/pause + progress bar */
.ktw-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(26,15,10,0.7) 0%, transparent 100%);
}
.ktw-player-playpause {
    background: none;
    border: none;
    color: var(--ktw-text);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    flex-shrink: 0;
}
.ktw-player-progress-wrap {
    flex: 1;
    height: 4px;
    background: rgba(242,236,228,0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}
.ktw-player-progress {
    height: 100%;
    background: var(--ktw-clay);
    border-radius: 2px;
    width: 0%;
    transition: width 0.15s linear;
}


/* ══════════════════════════════════════════════════════════════
   QUOTE SECTION — video background
══════════════════════════════════════════════════════════════ */
.ktw-quote-section { position: relative; overflow: hidden; }
.ktw-quote-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.ktw-quote-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ktw-quote-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 15, 10, 0.72);
    pointer-events: none;
}
.ktw-quote-inner { position: relative; z-index: 1; }

/* Quote callout — right-aligned, 2/3 width, inside a section */
.ktw-quote-callout {
    position: relative;
    width: 100%;
    margin-top: 48px;
    border-radius: 4px;
    overflow: hidden;
    padding: 56px 48px;
    text-align: left;
}
.ktw-quote-callout .ktw-quote-bg {
    border-radius: 4px;
}
.ktw-quote-callout-inner {
    position: relative;
    z-index: 1;
}
.ktw-quote-callout .ktw-quote-block {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ktw-text);
    line-height: 1.65;
    border: none;
    padding: 0;
    margin: 0 0 24px;
}
.ktw-quote-callout .ktw-quote-attr {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ktw-clay-light);
    font-weight: 600;
}
@media (max-width: 900px) {
    .ktw-quote-callout { width: 100%; padding: 40px 32px; }
}
@media (max-width: 479px) {
    .ktw-quote-callout { padding: 32px 20px; }
}


/* ══════════════════════════════════════════════════════════════
   7. CTA / FOOTER
══════════════════════════════════════════════════════════════ */
.ktw-cta {
    background-color: var(--ktw-ink);
    padding: 100px 80px 40px;
    text-align: center;
}
.ktw-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}
.ktw-cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ktw-text);
    margin-bottom: 16px;
    line-height: 1.25;
}
.ktw-cta-text {
    font-size: 15px;
    color: var(--ktw-text-dim);
    margin-bottom: 28px;
}
.ktw-cta-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ktw-cta-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ktw-clay-light);
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid rgba(212, 149, 106, 0.30);
    border-radius: 2px;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.ktw-cta-link:hover {
    border-color: var(--ktw-clay);
    color: var(--ktw-clay);
}
.ktw-cta-sep {
    color: var(--ktw-text-dim);
    font-size: 18px;
}

.ktw-footer {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid rgba(242, 236, 228, 0.08);
    text-align: center;
}
.ktw-footer span {
    font-size: 11px;
    color: rgba(242, 236, 228, 0.25);
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .ktw-cta { padding: 72px 40px 32px; }
}
@media (max-width: 479px) {
    .ktw-cta { padding: 56px 20px 28px; }
}


/* ══════════════════════════════════════════════════════════════
   TEXT SECTION GRADIENT EDGES — fade to black at top and bottom
   so sections blend into the black space between images
══════════════════════════════════════════════════════════════ */
.ktw-bio::before,
.ktw-bio::after,
.ktw-heritage::before,
.ktw-heritage::after,
.ktw-supra::before,
.ktw-supra::after,
.ktw-stats::before,
.ktw-stats::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    z-index: 2;
}
.ktw-bio::before,
.ktw-heritage::before,
.ktw-supra::before,
.ktw-stats::before {
    top: 0;
    background: linear-gradient(to bottom, #000, transparent);
}
.ktw-bio::after,
.ktw-heritage::after,
.ktw-supra::after,
.ktw-stats::after {
    bottom: 0;
    background: linear-gradient(to top, #000, transparent);
}
/* Purple edge fades — supra/bio sections fade from transparent to purple (matching their bg) */
.ktw-supra::before,
.ktw-bio::before {
    background: linear-gradient(to bottom, var(--ktw-wine), transparent) !important;
}
.ktw-supra::after,
.ktw-bio::after {
    background: linear-gradient(to top, var(--ktw-wine), transparent) !important;
}

/* Purple gradient modifiers for image/video headers adjacent to purple sections */
.ktw-img-wrap--purple-top {
    background: var(--ktw-wine);
}
.ktw-img-wrap--purple-bottom {
    background: var(--ktw-wine);
}
.ktw-img-wrap--purple-bottom::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0), var(--ktw-wine)) !important;
}
/* purple-top ::before removed — no top gradients on headers */

/* Section vid wrap — purple bg + gradients */
.ktw-section-vid-wrap--purple {
    background: var(--ktw-wine);
}
.ktw-section-vid-wrap--purple::before,
.ktw-section-vid-wrap--purple::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
}
.ktw-section-vid-wrap--purple::before {
    display: none;
}
.ktw-section-vid-wrap--purple::after {
    bottom: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), var(--ktw-wine));
}


/* ══════════════════════════════════════════════════════════════
   MUTE / UNMUTE BUTTON — overlay on section header videos
══════════════════════════════════════════════════════════════ */
.ktw-section-vid-wrap {
    position: relative;
}
.ktw-mute-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(242, 236, 228, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--ktw-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, background 0.25s ease;
    padding: 0;
}
.ktw-mute-btn:hover {
    border-color: var(--ktw-clay-light);
    background: rgba(0, 0, 0, 0.7);
}


/* ══════════════════════════════════════════════════════════════
   FAMILY PHOTO CAROUSEL — horizontal scroll, 4 visible
══════════════════════════════════════════════════════════════ */
.ktw-family-carousel {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    /* Break out of the narrow text column */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 80px;
}
.ktw-family-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 115, 74, 0.4) transparent;
    padding-bottom: 8px;
}
.ktw-family-track::-webkit-scrollbar {
    height: 4px;
}
.ktw-family-track::-webkit-scrollbar-track {
    background: transparent;
}
.ktw-family-track::-webkit-scrollbar-thumb {
    background: rgba(184, 115, 74, 0.4);
    border-radius: 2px;
}
.ktw-family-img {
    flex: none;
    width: calc((100vw - 160px - 36px) / 4);
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    scroll-snap-align: start;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.ktw-family-img:hover {
    opacity: 1;
}
@media (max-width: 900px) {
    .ktw-family-carousel { padding: 0 40px; }
    .ktw-family-img { width: calc((100vw - 80px - 24px) / 3); height: 180px; }
}
@media (max-width: 600px) {
    .ktw-family-carousel { padding: 0 20px; }
    .ktw-family-img { width: calc((100vw - 40px - 12px) / 2); height: 160px; }
}


/* ══════════════════════════════════════════════════════════════
   CTA — Learn More Items
══════════════════════════════════════════════════════════════ */
.ktw-cta-learn {
    margin-top: 48px;
    text-align: left;
}
.ktw-cta-item {
    margin-bottom: 48px;
}
.ktw-cta-item:last-child {
    margin-bottom: 0;
}
.ktw-cta-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ktw-text);
    margin-bottom: 8px;
}
.ktw-cta-item-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ktw-text-dim);
    margin-bottom: 16px;
}
.ktw-cta-item .ktw-cta-link {
    margin-bottom: 20px;
    display: inline-block;
}
.ktw-video-embed--small {
    aspect-ratio: 16 / 9;
    max-width: 480px;
    margin-top: 16px;
}
/* Bold UNESCO text in Three Pillars */
.ktw-division-card strong {
    color: var(--ktw-ink-text);
    font-weight: 600;
}

/* UNESCO inline link — bold text with arrow icon */
.ktw-unesco-link {
    color: var(--ktw-ink-text);
    text-decoration: none;
    transition: color 0.25s ease;
}
.ktw-unesco-link:hover {
    color: var(--ktw-clay-light);
}
.ktw-unesco-link svg {
    display: inline;
    vertical-align: middle;
    margin-left: 2px;
    opacity: 0.4;
    transition: opacity 0.25s ease;
}
.ktw-unesco-link:hover svg {
    opacity: 0.8;
}

/* External link icon — subtle box-arrow */
.ktw-external-link {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 6px;
    color: rgba(242, 236, 228, 0.25);
    transition: color 0.25s ease;
}
.ktw-external-link:hover {
    color: var(--ktw-clay-light);
}

/* Video popup trigger — small "Watch" link */
.ktw-video-popup-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    cursor: pointer;
    color: var(--ktw-text-dim);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.25s ease;
}
.ktw-video-popup-trigger:hover {
    color: var(--ktw-clay-light);
}

/* Video popup overlay */
.ktw-video-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    cursor: pointer;
}
.ktw-video-popup-overlay--visible {
    opacity: 1;
}
.ktw-video-popup-box {
    width: 80vw;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.ktw-video-popup-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.ktw-video-popup-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: var(--ktw-text-dim);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.25s ease;
}
.ktw-video-popup-close:hover {
    color: var(--ktw-text);
}
