/* Tribal Revival styles */
:root {
    --bg: #F3EFE8;
    --bg-soft: #F9F7F1;
    --cream: #EFE8D8;
    --sand: #E8D8BA;
    --sand-light: #F7F1E5;
    --sand-deep: #9C6D3F;
    --clay: #B87543;
    --clay-deep: #7B4B32;
    --terracotta: #B56A40;
    --red-sea: #264F64;
    --red-sea-deep: #153A48;
    --water: #A9B9AF;
    --ink: #2F332B;
    --ink-soft: #596153;
    --text-soft: #67706a;
    --line: rgba(79, 95, 68, 0.16);
    --line-strong: rgba(48, 80, 72, 0.36);
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg-soft);
    min-height: 100vh;
    line-height: 1.75;
}

body::before {
    content: "";
    position: fixed;
    inset: -30px;
    background-image: radial-gradient(rgba(117, 86, 47, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    opacity: 0.85;
    z-index: -1;
}

.container { width: min(100%, var(--max-width)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 241, 229, 0.98);
    border-bottom: 1px solid rgba(149, 119, 84, 0.2);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding-left: 24px;
}

.brand {
    margin-left: 6px;
    text-decoration: none;
    color: var(--clay-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.nav-spacer { flex: 1; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 13px 28px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn-primary {
    background: var(--clay-deep);
    border-color: var(--clay-deep);
    color: #fffdf6;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--red-sea-deep);
    border-color: var(--red-sea-deep);
}

.btn-large { padding: 15px 34px; font-size: 0.8rem; }

.header-button { padding-inline: 25px; }

.landing-page { position: relative; }

.section-scroll-rail {
    position: fixed;
    z-index: 11;
    top: 50%;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    transform: translateY(-50%);
}

.section-scroll-rail .rail-line {
    position: absolute;
    top: -28px;
    bottom: -28px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--clay-deep), transparent);
}

.scroll-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    border: 1px solid var(--clay-deep);
    background: transparent;
    text-decoration: none;
    padding: 0;
    cursor: grab;
    touch-action: pan-y;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.scroll-dot:active { cursor: grabbing; }

.scroll-dot::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
}

.scroll-dot .dot-label {
    position: absolute;
    right: 38px;
    top: 50%;
    white-space: nowrap;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(123, 75, 50, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-dot.is-flashing .dot-label {
    visibility: visible;
    animation: dot-label-flash 1000ms ease forwards;
}

@keyframes dot-label-flash {
    0% { opacity: 0; transform: translateY(-50%) translateX(12px); }
    12% { opacity: 0.86; }
    78% { opacity: 0.58; }
    100% { opacity: 0; transform: translateY(-50%) translateX(8px); visibility: hidden; }
}

.scroll-dot:hover,
.scroll-dot:focus,
.scroll-dot.active {
    background: var(--clay-deep);
    border-color: var(--clay-deep);
    transform: scale(1.25);
}

.scroll-dot.active { box-shadow: 0 0 0 4px rgba(125, 78, 37, 0.15); }

.hero-panel {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(255, 248, 236, 0.5), rgba(255, 248, 236, 0.2)),
        radial-gradient(circle at 78% 18%, rgba(255,255,255,0.55) 0%, transparent 34%),
        linear-gradient(130deg, #e9e2d8 0%, #eee6d1 52%, #b8aa88 100%);
}

.hero-grid {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    align-items: center;
    gap: 48px;
    padding: 23px 24px 90px 24px;
}

.hero-copy { width: min(100%, 720px); }

.brand-line {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand-deep);
    margin-bottom: 26px;
}

.hero-copy h1 {
    max-width: 820px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(2.74rem, 6.2vw, 5.4rem);
    line-height: 1.03;
    letter-spacing: -0.08em;
    color: var(--ink);
    margin: 0 0 30px;
}

.sub-headline {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.18;
    max-width: 660px;
    color: var(--clay-deep);
    margin: 0 0 24px;
}

.hero-text {
    max-width: 720px;
    font-size: clamp(1.08rem, 2vw, 1.62rem);
    line-height: 1.56;
    color: var(--ink-soft);
    margin: 0 0 20px;
}

.hero-text-wide {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    color: var(--clay-deep);
}

.cta-group { margin-top: 34px; }

.hero-aside { position: relative; }

.image-stack {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.image-card {
    position: absolute;
    border-radius: 50% 50% 50% 50%;
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 30px 90px rgba(28, 47, 62, 0.12);
    overflow: hidden;
}

.image-card-sand {
    width: min(35vw, 420px);
    height: min(35vw, 420px);
    min-width: 210px;
    min-height: 210px;
    right: 20px;
    top: 16px;
    background: linear-gradient(135deg, #eee4cb, #b98b49);
    border-radius: 34% 66% 50% 50%;
}

.image-card-sea {
    width: min(28vw, 340px);
    height: min(28vw, 340px);
    min-width: 180px;
    min-height: 180px;
    left: 28px;
    bottom: 14px;
    background: linear-gradient(135deg, #afc1bd, #496e7c);
    border-radius: 50% 70% 65% 35%;
}

.image-card::after {
    content: "";
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.6);
}

.section { padding: 100px 24px; }

.section .section-layout {
    display: grid;
    grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(34px, 5vw, 80px);
}

.section-copy { width: min(100%, 900px); }

.section-copy h2 {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.7vw, 4rem);
    line-height: 1.04;
    color: var(--ink);
    letter-spacing: -0.06em;
}

.section-image { margin: 0; }

.image-slot {
    position: relative;
    min-height: 280px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.62);
    background-color: var(--sand);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(43, 49, 34, 0.08), 0 24px 55px rgba(61, 47, 21, 0.12);
}

.image-slot::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.62);
}

.image-slot::after {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -28%;
    height: 58%;
    background: rgba(255,255,255,0.34);
    transform: rotate(-5deg);
}

.image-slot .image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.94rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fffdf8;
}

/* Showcase backgrounds */
.showcase-problem,
.showcase-offer,
.showcase-experience,
.showcase-places,
.showcase-leaders,
.showcase-audience,
.showcase-invitation,
.showcase-closing,
.showcase-inquiry {
    background-position: center;
    background-size: cover;
}

.showcase-problem { background-image: linear-gradient(135deg, rgba(132, 92, 40, 0.55), rgba(158, 130, 83, 0.5)), url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&q=80"); }
.showcase-offer { background-image: linear-gradient(135deg, rgba(39, 78, 83, 0.44), rgba(185, 111, 58, 0.45)), url("https://images.unsplash.com/photo-1548013146-72479768bada?auto=format&fit=crop&q=80"); }
.showcase-experience { background-image: linear-gradient(135deg, rgba(79, 52, 30, 0.44), rgba(226, 205, 145, 0.5)), url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&q=80"); }
.showcase-places { background-image: linear-gradient(135deg, rgba(27, 60, 63, 0.62), rgba(220, 179, 107, 0.62)), url("https://images.unsplash.com/photo-1509316785289-025f5b846b35?auto=format&fit=crop&q=80"); }
.showcase-leaders { background-image: linear-gradient(135deg, rgba(83, 74, 38, 0.52), rgba(233, 221, 187, 0.56)), url("https://images.unsplash.com/photo-1542897644-e04428948020?auto=format&fit=crop&q=80"); }
.showcase-audience { background-image: linear-gradient(135deg, rgba(83, 42, 32, 0.62), rgba(171, 134, 89, 0.54)), url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&q=80"); }
.showcase-invitation { background-image: linear-gradient(135deg, rgba(40, 63, 54, 0.56), rgba(247, 235, 205, 0.5)), url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&q=80"); }
.showcase-closing { background-image: linear-gradient(135deg, rgba(31, 58, 80, 0.7), rgba(210, 173, 114, 0.6)), url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&q=80"); }
.showcase-inquiry { background-image: linear-gradient(135deg, rgba(100, 67, 32, 0.58), rgba(232, 221, 204, 0.50)), url("https://images.unsplash.com/photo-1493246318656-5c389abf466c?auto=format&fit=crop&q=80"); }

.section-copy h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(1.34rem, 2.70vw, 2rem);
    line-height: 1.2;
    color: var(--clay-deep);
    margin: 0 0 14px;
}

.section-copy p {
    margin: 0 0 26px;
    font-size: clamp(1rem, 2vw, 1.38rem);
    line-height: 1.72;
    color: var(--text-soft);
}

.section-copy p:last-child { margin-bottom: 0; }

.problem-panel,
.audience-panel,
.invitation-panel { background: var(--bg-soft); }

.offer-panel { background: #ECE5D6; }

.experience-panel { background: linear-gradient(135deg, #F6F1E9, #EDE8DB); }

.places-panel { background: linear-gradient(130deg, #F7F2E9, #E1D9CB); }

.leaders-panel { background: #FDFBF7; }

.closing-panel { background: linear-gradient(120deg, #264F64, #A57A4D); }

.closing-panel .section-copy h2,
.closing-panel .section-copy p { color: #efe8d7; }

.closing-copy { max-width: 850px; }

.experience-list {
    margin: 28px 0 34px;
    padding-left: 22px;
    color: var(--text-soft);
}

.experience-list li {
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.75;
    margin-bottom: 12px;
}

.place-block { margin-bottom: 30px; }

.check-list {
    margin: 20px 0 34px;
    padding-left: 22px;
}

.check-list li {
    margin-bottom: 10px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.56;
    color: var(--text-soft);
}

.inquiry-panel { background: var(--bg-soft); }

.location-panel { background: linear-gradient(135deg, #EAE2D5, #F6F1EA); }

.location-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.88fr) minmax(560px, 1fr);
    gap: 50px;
    align-items: center;
}

.location-layout .section-copy { width: min(100%, 560px); }

.location-layout .section-copy h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }

.location-map-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(230px, 1fr);
    gap: 20px;
    align-items: stretch;
}

.map-frame {
    width: 100%;
    min-height: 280px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 20px 48px rgba(45, 56, 30, 0.12);
    background: #fff;
}

.map-frame .map-heading {
    padding: 12px 14px;
    background: var(--clay-deep);
    color: #fffdf8;
}

.map-frame .map-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: 0;
}

.form-layout {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-layout .section-copy { width: min(100%, 760px); }

.form-intro {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 24px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-form label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay-deep);
}

.phone-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input-row .country-code-select {
    width: 180px;
    flex: 0 0 auto;
    padding-inline: 10px;
    font-size: 0.78rem;
    overflow: hidden;
}

.phone-input-row .country-code-select option { padding: 8px 10px; }

.phone-input-row input { flex: 1 1 auto; }

.inquiry-form select { appearance: auto; }

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fffdf8;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
}

.inquiry-form textarea { resize: vertical; }

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: 2px solid rgba(122, 83, 43, 0.25);
    border-color: var(--clay-deep);
}

.inquiry-form .btn {
    margin-top: 10px;
    width: fit-content;
}

/* Captcha / reCAPTCHA */
.captcha-row {
    margin-top: 4px;
}

.captcha-row .g-recaptcha {
    transform-origin: left top;
}

.form-status {
    min-height: 1.2rem;
    font-size: 0.88rem;
    color: var(--clay-deep);
}

.reveal-panel {
    opacity: 0;
    transform: translateY(58px);
}

.reveal-panel.is-visible { animation: riseUp 820ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }

@keyframes riseUp {
    from { opacity: 0; transform: translateY(58px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-footer {
    background: #2F382E;
    color: #EFE8D7;
}

.footer-content {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .section-scroll-rail { right: 12px; gap: 34px; }
    .section .section-layout { grid-template-columns: 1fr; }
    .location-layout { grid-template-columns: 1fr; }
    .location-map-grid { grid-template-columns: 1fr; }
    .map-frame { min-height: 280px; }
    .map-frame iframe { height: 250px; }
    .section-image {
        max-width: min(100%, 440px);
        width: 100%;
        justify-self: center;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }
    .hero-copy { max-width: 100%; }
    .hero-copy h1 {
        font-size: clamp(2.7rem, 13vw, 4.9rem);
        line-height: 1.02;
    }
    .hero-aside {
        display: block;
        width: min(100%, 520px);
        margin: 0 auto 12px;
    }
    .image-stack {
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .image-card-sand {
        width: 210px;
        height: 210px;
        right: 28px;
        top: 2px;
        min-width: 160px;
        min-height: 160px;
    }
    .image-card-sea {
        width: 170px;
        height: 170px;
        left: 28px;
        bottom: 8px;
        min-width: 130px;
        min-height: 130px;
    }
}

@media (max-width: 700px) {
    .site-header { position: relative; }
    .hero-panel { min-height: auto; }
    .section { padding: 72px 18px; }
    .section-scroll-rail {
        right: 8px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        max-height: 62vh;
        overflow: visible;
        gap: 34px;
    }
    .section-scroll-rail .rail-line {
        top: -24px;
        bottom: -24px;
    }
    .container { width: min(100%, calc(var(--max-width) + 20px)); }
    .hero-grid {
        min-height: auto;
        padding: 15px 10px 58px 10px;
    }
    .hero-copy h1 { line-height: 1; }
    .hero-text { font-size: 1rem; }
    .section-copy h2 { font-size: clamp(2rem, 12vw, 3rem); }
    .btn { width: 100%; }
    .cta-group { display: flex; align-items: center; }
    .brand { font-size: 1.34rem; }
    .header-button { display: none; }
}