/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
:root {
  --accent: #c8a875;
  --accent-soft: #e9d9b8;
  --bg-warm: #b08a52;
  --ink: #1a1612;
  --paper: #f7f2ea;
  --font: serif;
  --pad-x: clamp(40px, 5vw, 96px);
}

.app { position: fixed; inset: 0; overflow: hidden; }

.stack { position: absolute; top: 0; left: 0; right: 0; will-change: transform; }
.panel { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.panel--footer { height: 50vh; min-height: 480px; background: var(--bg-warm); color: var(--paper); }

/* ===== Reveal Animations ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 1100ms cubic-bezier(.2,.7,.2,1); }
.panel.is-in .reveal { opacity: 1; transform: none; }
.panel.is-in .r1 { transition-delay: 240ms; }
.panel.is-in .r2 { transition-delay: 380ms; }
.panel.is-in .r3 { transition-delay: 520ms; }
.panel.is-in .r4 { transition-delay: 660ms; }
.panel.is-in .r5 { transition-delay: 800ms; }
.panel.is-in .r6 { transition-delay: 940ms; }

/* Common */
.kicker { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; display: inline-block; }
.kicker--light { color: var(--accent-soft); opacity: .9; }

/* ===== Nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform 500ms ease, background 400ms ease, color 400ms ease, backdrop-filter 400ms ease; }
.nav--hide { transform: translateY(-110%); }
.nav--show { transform: translateY(0); }
.nav--on-dark   { color: #f4ece0; }
.nav--on-light  { color: var(--ink); }
.nav--on-solid  { color: var(--ink); }

.nav--transparent { background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0)); }
.nav--on-light.nav--transparent { background: linear-gradient(to bottom, rgba(255,255,255,.6), rgba(255,255,255,0)); }
.nav--solid { background: var(--paper); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav--minimal { background: transparent; }

.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--pad-x); }
.nav__logo { display: inline-flex; align-items: baseline; gap: 10px; justify-self: start; }
.nav__logo-mark { color: var(--accent); font-size: 18px; transform: translateY(2px); }
.nav__logo-text { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 22px; letter-spacing: .14em; font-weight: 500; }
.nav__logo-sub { font-size: 11px; letter-spacing: .3em; opacity: .55; }

.nav__links { display: flex; gap: 36px; justify-self: center; }
.nav__links a { font-size: 22px; letter-spacing: .14em; position: relative; padding: 6px 0; }
.nav__links a::after { content:""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: currentColor; transition: left .3s, right .3s; opacity: .8; }
.nav__links a:hover::after { left: 0; right: 0; }

.nav__right { display: inline-flex; gap: 18px; align-items: center; justify-self: end; }
.nav__right button { display: inline-flex; align-items: center; gap: 6px; opacity: .85; transition: opacity .25s; }
.nav__right button:hover { opacity: 1; }
.nav__locale span { font-size: 12px; letter-spacing: .12em; }

/* ===== Indicator ===== */
.ind { position: fixed; z-index: 95; }
.ind--right { right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.ind__item { display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--ink); position: relative; }
.panel--hero ~ * .ind__item { color: inherit; }
.ind__label { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; color: var(--ink); }
.ind:hover .ind__label, .ind__item.is-active .ind__label { opacity: .8; transform: translateX(0); }
.ind__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.25); transition: background .3s, transform .3s; }
.ind__item.is-active .ind__dot { background: var(--accent); transform: scale(1.6); }
.ind__line { width: 24px; height: 1px; background: rgba(0,0,0,.25); transition: width .3s, background .3s; }
.ind__item.is-active .ind__line { background: var(--accent); width: 40px; }

.ind--counter { left: 40px; bottom: 32px; font-family: "Cormorant Garamond", "Noto Serif SC", serif; color: inherit; mix-blend-mode: difference; color: #fff; display: flex; align-items: baseline; gap: 6px; }
.ind__current { font-size: 36px; line-height: 1; }
.ind__sep { font-size: 24px; opacity: .5; }
.ind__total { font-size: 16px; opacity: .7; letter-spacing: .1em; }

/* Mix-blend the right indicator over varied bg */
.ind--right { mix-blend-mode: difference; }
.ind--right .ind__dot { background: #fff; opacity: .45; }
.ind--right .ind__item.is-active .ind__dot { background: #fff; opacity: 1; }
.ind--right .ind__line { background: #fff; opacity: .45; }
.ind--right .ind__item.is-active .ind__line { background: #fff; opacity: 1; }
.ind--right .ind__label { color: #fff; }

/* ===== Hero ===== */
.panel--hero { background: #0a0a0a; color: #f4ece0; }
.hero__bg { position: absolute; inset: -4%; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.panel--hero.is-in .hero__bg { animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__vignette { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,.55) 100%); }

.hero__content { position: absolute; z-index: 2; max-width: 720px; }
.hero--left   { left: var(--pad-x); bottom: 14vh; text-align: left; }
.hero--center { left: 50%; bottom: 18vh; transform: translateX(-50%); text-align: center; }
.hero--right  { right: var(--pad-x); bottom: 14vh; text-align: right; }
.hero__eyebrow { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .42em; opacity: .8; text-transform: uppercase; }
.hero__title { margin: 16px 0 10px; font-weight: 300; line-height: 1; }
.hero__title span { display: block; font-size: clamp(56px, 8vw, 124px); letter-spacing: .04em; }
.hero__title em { font-style: italic; font-weight: 400; font-size: clamp(40px, 5vw, 76px); display: block; margin-top: 12px; color: var(--accent-soft); letter-spacing: .06em; }
.hero__sub { margin: 14px 0 28px; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 14px; letter-spacing: .3em; opacity: .8; }

.btn-pill { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); color: #fff; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.btn-pill:hover { background: var(--accent); color: #1a1612; border-color: var(--accent); transform: translateY(-1px); }

.hero__scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 10px; letter-spacing: .4em; opacity: .85; }
.hero__scroll-line { width: 1px; height: 48px; background: rgba(255,255,255,.6); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%);} 60% { transform: translateY(100%);} 100% { transform: translateY(100%);} }

.hero__corner-left, .hero__corner-right { position: absolute; top: 108px; display: flex; flex-direction: column; gap: 4px; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .25em; opacity: .65; }
.hero__corner-left { left: var(--pad-x); }
.hero__corner-right { right: var(--pad-x); align-items: flex-end; }

/* ===== Split ===== */
.panel--split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #efe9df; }
.split__card { position: relative; overflow: hidden; color: #fff; display: block; transition: flex-grow .6s; }
.split__img { position: absolute; inset: 0; }
.split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.split__card:hover .split__img img { transform: scale(1.06); }
.split__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.0) 55%); }
.split__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px var(--pad-x) 64px; }
.split__text .kicker { color: var(--accent-soft); opacity: .9; }
.split__text h2 { font-weight: 300; font-size: clamp(36px, 4.2vw, 60px); margin: 14px 0 16px; letter-spacing: .04em; }
.split__text p { max-width: 460px; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 13.5px; line-height: 1.7; opacity: .85; margin: 0; }
.split__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }

/* ===== Cities ===== */
.panel--cities { padding: 96px var(--pad-x) 80px; display: flex; flex-direction: column; background: var(--paper); }
.cities__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.cities__head h2 { font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); margin: 14px 0 16px; letter-spacing: .04em; }
.cities__head p { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 13px; letter-spacing: .3em; opacity: .7; }
.cities__head p i { width: 24px; height: 1px; background: currentColor; opacity: .5; }

.cities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; flex: 1; align-content: center; max-width: 1440px; margin: 0 auto; width: 100%; }
.city { display: flex; flex-direction: column; gap: 22px; }
.city__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.city__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.city:hover .city__img img { transform: scale(1.06); }
.city__meta { display: flex; justify-content: space-between; align-items: baseline; transition: transform .4s; }
.city:hover .city__meta { transform: translateX(4px); }
.city__route { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 20px; display: inline-flex; align-items: center; gap: 14px; }
.city__route b { font-weight: 500; }
.city__route svg { color: var(--accent); }
.city__note { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .12em; opacity: .55; }

.city__cta { display: inline-flex; align-items: center; justify-content: space-between; padding: 14px 22px; border: 1px solid rgba(0,0,0,.18); font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; width: 100%; transition: background .3s, color .3s, border-color .3s; }
.city__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.city__cta--active:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.city__cta--soon { opacity: .55; }
.city__cta-arrow { transition: transform .3s; }
.city__cta:hover .city__cta-arrow { transform: translateX(4px); }

/* ===== Cabin ===== */
.panel--cabin { color: #f4ece0; background: #0a0a0a; }
.cabin__bg { position: absolute; inset: 0; }
.cabin__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.panel--cabin.is-in .cabin__bg img { animation: heroZoom 22s ease-out forwards; }
.cabin__shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.55) 100%); }
.cabin__inner { position: relative; z-index: 2; height: 100%; padding: 120px var(--pad-x) 80px; display: grid; grid-template-rows: auto 1fr auto; max-width: 1700px; margin: 0 auto; }
.cabin__head { max-width: 580px; }
.cabin__head h2 { font-weight: 300; font-size: clamp(36px, 4vw, 56px); margin: 14px 0 0; letter-spacing: .04em; }
.cabin__story { max-width: 520px; align-self: end; padding: 32px 0; }
.cabin__story-kicker { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .3em; color: var(--accent); }
.cabin__story h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; margin: 16px 0 14px; letter-spacing: .04em; }
.cabin__story p { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 14px; line-height: 1.8; opacity: .85; margin: 0; }
.cabin__story { animation: tabFade .6s ease; }
@keyframes tabFade { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none;} }

.cabin__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.cabin__tab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.12); color: rgba(244,236,224,.6); text-align: left; transition: color .35s, background .35s; position: relative; }
.cabin__tab:last-child { border-right: 0; }
.cabin__tab:hover { color: rgba(244,236,224,.95); }
.cabin__tab.is-active { color: #fff; background: linear-gradient(to bottom, rgba(200,168,117,.18), rgba(200,168,117,.04)); }
.cabin__tab.is-active::before { content:""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); }
.cabin__tab span { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 20px; letter-spacing: .08em; }
.cabin__tab-num { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .2em; opacity: .55; }
.cabin__tab svg { color: var(--accent); }

/* ===== Partners ===== */
.panel--partners { padding: 96px var(--pad-x) 80px; display: flex; flex-direction: column; background: #efe9df; }
.partners__head { text-align: center; margin: 0 auto 56px; }
.partners__head h2 { font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); margin: 14px 0 0; letter-spacing: .04em; }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; flex: 1; align-content: center; max-width: 1440px; margin: 0 auto; width: 100%; }
.partner { display: flex; flex-direction: column; }
.partner__img { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 28px; }
.partner__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.partner:hover .partner__img img { transform: scale(1.05); }
.partner h3 { font-size: 22px; font-weight: 500; margin: 0 0 4px; letter-spacing: .08em; }
.partner__en { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .3em; opacity: .55; margin-bottom: 14px; }
.partner p { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 13px; line-height: 1.7; opacity: .8; margin: 0 0 22px; }
.partner__cta { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; }
.partner__cta-line { width: 32px; height: 1px; background: var(--ink); transition: width .3s; }
.partner__cta:hover .partner__cta-line { width: 56px; }

/* ===== Footer ===== */
.panel--footer { padding: 60px var(--pad-x) 40px; }
.footer__inner { display: flex; flex-direction: column; height: 100%; max-width: 1700px; margin: 0 auto; width: 100%; }
.footer__top { display: grid; grid-template-columns: minmax(280px, 1fr) 3fr; gap: 60px; flex: 1; }
.footer__contact .kicker { color: rgba(244,236,224,.6); }
.footer__email { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 22px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; transition: opacity .3s; }
.footer__email:hover { opacity: .8; }
.footer__social { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 10px; }
.footer__social a { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 12px; letter-spacing: .15em; opacity: .75; }
.footer__social a:hover { opacity: 1; }

.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 18px; margin-bottom: 8px; letter-spacing: .04em; }
.footer__col a { font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 12px; letter-spacing: .12em; opacity: .7; }
.footer__col a:hover { opacity: 1; }

.footer__wordmark { text-align: right; font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: clamp(32px, 4vw, 56px); letter-spacing: .12em; font-style: italic; margin: 32px 0 18px; }
.footer__bottom { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(244,236,224,.18); font-family: "Cormorant Garamond", "Noto Serif SC", serif; font-size: 11px; letter-spacing: .12em; opacity: .55; }

/* Mono palette tweaks */
.app[style*="--accent: #202020"] .city__cta:hover { background: #202020; color: #fff; }

/* Smaller viewport guards (still PC) */
@media (max-width: 1280px) {
  .cabin__tab span { font-size: 18px; }
  .cabin__tab { padding: 20px 18px; gap: 10px; }
}
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .cabin__tabs { grid-template-columns: repeat(2, 1fr); }
  .cabin__tab { border-bottom: 1px solid rgba(255,255,255,.12); }
}
