/* ============================================================
   ARMAC 2028 · Makassar
   Clean editorial base (Apple, Stykka, Lewa House) with vivid
   moments (Timeframe, Lunchbox): dark rounded shells, big type,
   photo-led tiles, Makassar red / sea / amber accents.
   ============================================================ */

:root {
  --paper: #F7F4EF;
  --paper-2: #EFEAE2;
  --card: #FFFFFF;
  --ink: #0E0E0F;
  --ink-2: #2A2926;
  --muted: #6B6760;
  --line: rgba(14, 14, 15, 0.1);
  --night: #0C0C0D;
  --night-2: #161618;
  --night-line: rgba(255, 255, 255, 0.1);

  --red: #D8261C;     /* Maraga costume red */
  --sea: #0C9AA6;     /* Samalona turquoise */
  --amber: #F4B23E;   /* Makassar Strait sunset */
  --navy: #0B2D4A;    /* announcement navy */
  --leaf: #4E8A3A;    /* Rammang-Rammang green */

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- type ---------- */
.serif, .serif-i { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.serif-i { font-style: italic; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; display: inline-block; line-height: 1.6; text-wrap: balance;
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: 0.12em; margin-right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.eyebrow--light { color: rgba(255,255,255,.7); }
.display { font-size: clamp(44px, 7.6vw, 112px); line-height: .95; letter-spacing: -0.035em; font-weight: 600; }
.h1 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.03em; font-weight: 600; }
.h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; }
.display .serif-i, .h1 .serif-i, .h2 .serif-i { font-weight: 400; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); font-weight: 400; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 980px; }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 64px; align-items: end; }
.section-head__aside { color: var(--muted); font-size: 17px; max-width: 46ch; }
.section-head--center { text-align: center; display: grid; justify-items: center; gap: 22px; }
.section-head--center .eyebrow { margin-bottom: 0; }

/* ---------- buttons & chips ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--accent { background: var(--amber); color: var(--ink); }
.btn--accent:hover { background: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px;
  border-radius: 999px; font-size: 13.5px; font-weight: 500; white-space: nowrap;
}
.chip--glass { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.22); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--red { background: var(--red); box-shadow: 0 0 0 4px rgba(216,38,28,.25); }

.round {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
  cursor: pointer; font-size: 18px; transition: background .25s, transform .25s var(--ease);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.round:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }

/* ---------- nav (Lunchbox floating pill + Apple blur) ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav__pill {
  pointer-events: auto; max-width: var(--maxw); margin: 0 auto; height: 60px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 20px;
  background: rgba(14,14,15,.82); color: #fff; border-radius: 999px;
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.35);
  transition: transform .45s var(--ease), background .3s;
}
.nav.is-hidden .nav__pill { transform: translateY(-120%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand__mark { width: 22px; height: 22px; border-radius: 50%; background: var(--red); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2.5px solid #fff; }
.brand__text b { color: var(--amber); font-weight: 700; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14.5px; color: rgba(255,255,255,.78); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-current { color: #fff; background: rgba(255,255,255,.1); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  pointer-events: auto; max-width: var(--maxw); margin: 8px auto 0; padding: 12px;
  background: rgba(14,14,15,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 24px; display: grid; gap: 2px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { color: #fff; text-decoration: none; padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,.08); }

/* ---------- hero ---------- */
.hero { padding: 150px 0 0; text-align: center; }
.hero__copy { padding: 0 var(--gutter); display: grid; justify-items: center; }
.hero__title { font-size: clamp(40px, 7.2vw, 112px); line-height: .92; letter-spacing: -0.045em; font-weight: 600; }
.hero__title .line { display: block; }
.hero__title em { font-weight: 400; color: var(--red); letter-spacing: -0.02em; }
.hero__lede { margin-top: 26px; font-size: clamp(18px, 2vw, 24px); color: var(--ink-2); max-width: 34ch; line-height: 1.35; }
.hero__lede .serif-i { font-size: 1.12em; }
.hero__date { margin-top: 28px; display: inline-flex; align-items: center; gap: 0; border-radius: 999px; background: var(--card); border: 1px solid var(--line); padding: 5px; font-size: 15px; box-shadow: 0 8px 24px -16px rgba(0,0,0,.25); max-width: 100%; }
.hero__date-k { background: var(--red); color: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.hero__date-v { padding: 0 14px 0 12px; font-weight: 600; letter-spacing: -0.01em; }
.hero__actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero__media {
  --p: 0;
  position: relative; margin: clamp(48px, 6vw, 80px) auto 0;
  width: calc(100% - 2 * var(--gutter) + (2 * var(--gutter)) * var(--p));
  max-width: calc(var(--maxw) - 2 * var(--gutter) + (100% - var(--maxw) + 2 * var(--gutter)) * var(--p));
  border-radius: calc(var(--r-lg) * (1 - var(--p)));
  overflow: hidden; aspect-ratio: 16 / 8.2; background: var(--night);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - .08 * var(--p))); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.hero__chips { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; }

.hero__meta {
  max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left;
}
.hero__meta > div { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.hero__meta .k { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero__meta .v { font-size: 15.5px; line-height: 1.45; }

/* ---------- marquee ---------- */
.marquee { margin-top: clamp(64px, 8vw, 110px); border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 28px; width: max-content; align-items: center; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.marquee span:nth-of-type(3n+1) { font-family: var(--serif); font-style: italic; font-weight: 400; }
.marquee i { font-style: normal; color: var(--red); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- welcome ---------- */
.welcome__grid { display: grid; grid-template-columns: minmax(280px, 0.82fr) 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.welcome__portrait { position: sticky; top: 100px; }
.portrait { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #cfd9cf; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; transition: transform 1.2s var(--ease); }
.welcome__portrait:hover .portrait img { transform: scale(1.04); }
.portrait__tag { margin-top: -64px; margin-inline: 14px; position: relative; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 18px; padding: 16px 18px; box-shadow: 0 12px 30px -16px rgba(0,0,0,.3); }
.portrait__name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.portrait__role { font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.letter__greeting { font-size: clamp(20px, 2vw, 26px); color: var(--red); line-height: 1.3; margin-bottom: 22px; }
.letter .h2 { margin-bottom: 30px; }
.letter__body { display: grid; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); position: relative; }
.letter__body em { font-family: var(--serif); font-size: 1.15em; color: var(--ink); }
.letter__body.is-collapsed { max-height: 620px; overflow: hidden; }
.letter__body.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(180deg, rgba(247,244,239,0), var(--paper)); }
.letter__more { margin-top: 24px; }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.triad li { background: var(--card); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; border: 1px solid var(--line); }
.triad b { font-size: 24px; letter-spacing: -0.02em; }
.triad li:nth-child(1) b { color: var(--red); }
.triad li:nth-child(2) b { color: var(--sea); }
.triad li:nth-child(3) b { color: #C4820F; }
.triad span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.signature { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.signature__name { font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--ink); margin-top: 8px; }
.signature__role { font-size: 14.5px; color: var(--muted); }
.signature .serif-i { margin-top: 10px; }

/* ---------- statement (Apple scroll-lit words) ---------- */
.statement { padding-top: 0; }
.statement__text { font-size: clamp(28px, 4vw, 54px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 600; }
.statement__text .w { color: rgba(14,14,15,.16); transition: color .35s; }
.statement__text .w.on { color: var(--ink); }
.statement__text .w.hl.on { color: var(--red); }
.theme-card { margin-top: 48px; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, var(--navy), #11697A 70%, var(--sea)); color: #fff; display: grid; gap: 14px; position: relative; overflow: hidden; }
.theme-card::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 22px solid rgba(255,255,255,.07); right: -90px; bottom: -150px; }
.theme-card__label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--amber); }
.theme-card__text { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.12; max-width: 26ch; }

/* ---------- program (Lunchbox dark shell) ---------- */
.program { padding-top: 0; }
.dark-shell { background: var(--night); color: #fff; border-radius: var(--r-lg); margin: 0 clamp(8px, 1.4vw, 20px); padding: clamp(64px, 9vw, 130px) 0; position: relative; overflow: hidden; }
.dark-shell::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -20vw; top: -25vw; background: radial-gradient(circle, rgba(244,178,62,.18), transparent 62%); pointer-events: none; }
.dark-shell .section-head__aside { color: rgba(255,255,255,.62); }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: d; }
.day {
  position: relative; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r);
  padding: 28px; display: grid; gap: 6px; align-content: start; overflow: hidden;
  transition: transform .5s var(--ease), border-color .3s;
}
.day:hover { transform: translateY(-6px); border-color: var(--accent); }
.day__num { font-size: clamp(72px, 8vw, 112px); line-height: .85; font-weight: 600; letter-spacing: -0.05em; color: var(--accent); margin-bottom: 18px; }
.day__title { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.day__lead { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; margin-bottom: 18px; }
.tags { display: grid; gap: 8px; }
.tags li { font-size: 15px; line-height: 1.4; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }
.niches-head { margin-top: clamp(80px, 10vw, 140px); }
.niches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.niche {
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 26px;
  display: grid; gap: 12px; align-content: start; text-align: left;
  transition: background .35s, transform .5s var(--ease), border-color .3s;
}
.niche:hover { background: #1d1d20; transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.niche h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
.niche p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.62); }
.niche__i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.08); }
.niche:nth-child(4n+1) .niche__i { background: var(--amber); color: var(--ink); }
.niche:nth-child(4n+2) .niche__i { background: var(--sea); }
.niche:nth-child(4n+3) .niche__i { background: var(--red); }
.niche:nth-child(4n+4) .niche__i { background: #fff; color: var(--ink); }
.niche--wide { background: linear-gradient(135deg, #1b1b1e, #222226); }
.niche--wide .niche__i { background: var(--amber) !important; color: var(--ink) !important; }
.niche--doc { padding: 0; overflow: hidden; position: relative; cursor: zoom-in; min-height: 220px; border: 1px solid var(--night-line); }
.niche--doc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .85; transition: transform 1s var(--ease), opacity .3s; }
.niche--doc:hover img { transform: scale(1.04); opacity: 1; }
.niche--doc__label { position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.program__note { margin-top: 32px; color: rgba(255,255,255,.62); max-width: 70ch; font-size: 16px; }

/* ---------- attend / abstracts ---------- */
.attend__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.panel--accent { background: var(--amber); border-color: transparent; }
.panel--accent .eyebrow { color: rgba(14,14,15,.66); }
.panel--accent .eyebrow::before { background: var(--ink); }
.panel--accent .small { color: rgba(14,14,15,.68); }
.checklist { display: grid; gap: 0; }
.checklist li { padding: 16px 0 16px 38px; border-top: 1px solid var(--line); position: relative; font-size: 16.5px; line-height: 1.5; }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { background: rgba(255,255,255,.5); border-radius: 14px; padding: 14px 16px; }
.facts dt { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.facts dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.45; }
.awards { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.award { border-radius: var(--r); padding: 26px 28px; background: var(--ink); color: #fff; display: grid; gap: 10px; position: relative; overflow: hidden; }
.award::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--accent); opacity: .9; transition: transform .6s var(--ease); }
.award:hover::after { transform: scale(1.5); }
.award__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; }
.award p { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; max-width: 14ch; position: relative; z-index: 1; }

/* ---------- why ---------- */
.why { padding-top: 0; }
.why__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__map { margin: 0; position: sticky; top: 100px; }
.why__map img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 1060 / 1484; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(11,45,74,.45); }
.why__map figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.why .h1 { margin-bottom: 40px; }
.reasons { counter-reset: r; display: grid; }
.reasons li { counter-increment: r; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); position: relative; }
.reasons li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 28px; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--red); }
.reasons h3 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 6px; font-weight: 600; }
.reasons p { color: var(--muted); }

/* ---------- elegance bento (Apple tiles) ---------- */
.elegance { background: var(--paper-2); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 16px; }
.tile { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--night); min-height: 280px; }
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); pointer-events: none; }
.tile__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; display: grid; gap: 10px; justify-items: start; }
.tile__cap p { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; max-width: 26ch; }
.tile--hero { grid-column: span 8; grid-row: span 4; min-height: 560px; }
.tile--text { grid-column: span 4; grid-row: span 4; padding: clamp(26px, 3vw, 40px); display: grid; align-content: end; gap: 14px; color: #fff; }
.tile--text::after { display: none; }
.tile--red { background: var(--red); }
.tile--red::before { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255,255,255,.14); }
.tile--text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 72px); line-height: .95; }
.tile--text p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); }
.tile--text .eyebrow::before { background: var(--amber); }
.tile--tall { grid-column: span 4; grid-row: span 4; min-height: 520px; }
.tile--tall img { object-position: 50% 20%; }
.tile--wide { grid-column: span 8; grid-row: span 4; min-height: 520px; }

/* ---------- cuisine tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.dish { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.dish[hidden] { display: none; }
.dish.is-active { animation: dishIn .7s var(--ease); }
@keyframes dishIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.dish__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; background: #2a201a; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dish__img:hover img { transform: scale(1.04); }
.dish__copy { display: grid; gap: 16px; }
.dish__copy > p:not([class]) { color: var(--ink-2); }
.dish__tag { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.dish__sub { font-size: clamp(22px, 2.2vw, 28px); color: var(--muted); line-height: 1.2; margin-top: -6px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; padding: 16px 18px; font-size: 15.5px; line-height: 1.55; }
.note__k { font-weight: 700; margin-bottom: 4px; }
.captions { display: grid; gap: 8px; }
.captions li { font-size: 15px; line-height: 1.5; color: var(--muted); padding-left: 18px; position: relative; }
.captions li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); }
.captions b { color: var(--ink); font-weight: 600; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair__item { border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.45; }
.pair__item b { font-size: 17px; }
.pair__item--red { background: var(--red); color: #fff; }
.pair__item--red span { color: rgba(255,255,255,.88); }
.pair__item--amber { background: var(--amber); }

/* ---------- destinations filmstrip (port of 21st.dev Hero Carousel) ---------- */
.destinations { background: var(--night); color: #fff; padding-bottom: clamp(64px, 8vw, 120px); }
.film { position: relative; height: clamp(640px, 100vh, 1000px); overflow: hidden; user-select: none; -webkit-user-select: none; outline: none; touch-action: pan-y; }
.film:focus-visible { box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.film__bg { position: absolute; inset: 0; }
.film__bg .layer { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.film__bg .layer.on { opacity: 1; }
.film__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 7s linear; }
.film__bg .layer.on img { transform: scale(1.08); }
.film__bg .tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .45; }
.film__wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.08) 40%, rgba(0,0,0,.6)); }
.film__grain { position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay; background-size: 180px 180px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.film__top { position: absolute; top: 110px; left: var(--gutter); right: var(--gutter); z-index: 2; display: flex; justify-content: center; }
.film__top .eyebrow { margin: 0; }
.film__top .eyebrow::before { background: var(--amber); }
.film__head { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 46%; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 6vw; padding-bottom: 40px; }
.film__title { font-size: clamp(44px, 7.4vw, 116px); line-height: .88; letter-spacing: -0.04em; font-weight: 600; }
.film__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.film__title .ln > span { display: block; transform: translateY(110%); transition: transform .75s var(--ease); }
.film__title.in .ln > span { transform: none; }
.film__title .ln:nth-child(2) > span { transition-delay: .07s; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.film__meta { margin-left: auto; display: flex; gap: clamp(16px, 4vw, 56px); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.82); }
.film__meta span { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s var(--ease); white-space: nowrap; }
.film__meta.in span { opacity: 1; transform: none; }
.film__meta.in span:nth-child(2) { transition-delay: .06s; }
.film__meta.in span:nth-child(3) { transition-delay: .12s; }
.film__strip { position: absolute; left: 0; right: 0; top: 46%; z-index: 2; }
.film__track { display: flex; align-items: flex-start; will-change: transform; cursor: grab; transition: transform .8s var(--ease); }
.film__track.dragging { transition: none; cursor: grabbing; }
.card {
  flex: none; position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.06);
  border-radius: 6px; transition: height .8s var(--ease), box-shadow .4s;
}
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .25; transition: opacity .6s; }
.card[aria-current="true"]::after { opacity: 0; }
.card[aria-current="true"] { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.card__label { position: absolute; left: 10px; bottom: 8px; z-index: 1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: 0; transition: opacity .4s; }
.card[aria-current="true"] .card__label { opacity: 1; }
.film__rail { position: absolute; left: var(--gutter); bottom: 32px; width: min(260px, 40vw); z-index: 2; }
.film__count { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .1em; opacity: .85; }
.film__bar { position: relative; height: 1px; background: rgba(255,255,255,.25); margin-top: 8px; }
.film__bar i { position: absolute; top: 0; bottom: 0; background: #fff; transition: left .8s var(--ease); }
.film__nav { position: absolute; right: var(--gutter); bottom: 24px; display: flex; gap: 10px; z-index: 2; }

.dest-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 7vw, 96px); }
.dest-detail.swap { animation: dishIn .7s var(--ease); }
.dest-detail .eyebrow { color: rgba(255,255,255,.6); }
.dest-detail .eyebrow::before { background: var(--dest, var(--amber)); }
.dest-detail h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin-bottom: 14px; }
.dest-detail .sub { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); color: var(--dest, var(--amber)); line-height: 1.2; margin-bottom: 22px; }
.dest-detail .body { display: grid; gap: 16px; color: rgba(255,255,255,.76); font-size: 17px; }
.dest-detail .quotes { display: grid; gap: 10px; align-content: start; }
.dest-detail .quotes li { border: 1px solid var(--night-line); background: var(--night-2); border-radius: 16px; padding: 16px 18px; font-family: var(--serif); font-size: 21px; line-height: 1.3; color: rgba(255,255,255,.92); transition: border-color .3s, transform .4s var(--ease); }
.dest-detail .quotes li:hover { border-color: var(--dest, var(--amber)); transform: translateX(4px); }

/* ---------- taglines (Timeframe big list + hover peek) ---------- */
.tagline-list { border-bottom: 1px solid var(--line); }
.tagline-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: clamp(18px, 2.4vw, 28px) 0; border-top: 1px solid var(--line); cursor: default; transition: padding .5s var(--ease), color .3s; }
.tagline-list .t { font-size: clamp(30px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; transition: color .3s; }
.tagline-list .s { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.8vw, 24px); color: var(--muted); text-align: right; max-width: 32ch; flex: none; }
.tagline-list li:hover { padding-left: 18px; }
.tagline-list li:hover .t { color: var(--red); }
.tagline-peek { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.tagline-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.tagline-peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- partnership CTA ---------- */
.partner { padding-top: 0; }
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -180px; bottom: -320px; background: radial-gradient(circle, rgba(216,38,28,.16), transparent 65%); }
.cta__copy { display: grid; gap: 22px; align-content: start; position: relative; }
.cta__copy .display .serif-i { color: var(--red); }
.cta__copy > p:not(.eyebrow):not(.small) { color: var(--ink-2); max-width: 54ch; }
.cta__card { background: var(--ink); color: #fff; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.cta__card p:not(.cta__k) { color: rgba(255,255,255,.75); font-size: 15.5px; line-height: 1.55; margin-bottom: 14px; }
.cta__k { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #fff; padding: 64px 0 28px; }
.partner { padding-bottom: clamp(56px, 7vw, 96px); }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
.cta__card .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cta__card .btn--ghost:hover { border-color: #fff; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.brand--lg { font-size: 28px; }
.brand--lg .brand__mark { width: 30px; height: 30px; }
.brand--lg .brand__mark::after { inset: 8px; border-width: 3px; }
.footer__line { color: rgba(255,255,255,.6); margin-top: 12px; font-size: 15px; }
.footer__nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; color: rgba(255,255,255,.75); font-size: 15px; }
.footer__nav a:hover { color: var(--amber); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,11,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 72px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(900px, 100%); max-height: 100%; display: grid; gap: 12px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: rgba(255,255,255,.7); text-align: center; font-size: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; font-size: 26px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .film__track, .card, .film__bg img { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; margin-left: 0; }
  .niches { grid-template-columns: repeat(2, 1fr); }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--hero, .tile--wide { grid-column: span 6; min-height: 440px; }
  .tile--text, .tile--tall { grid-column: span 3; min-height: 440px; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .section-head--split { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__meta { grid-template-columns: 1fr; gap: 18px; }
  .hero__date { flex-direction: column; border-radius: 20px; gap: 6px; padding: 8px 8px 10px; }
  .hero__date-v { padding: 0 8px; text-align: center; }
  .welcome__grid, .why__grid, .attend__grid, .dish, .dest-detail, .cta { grid-template-columns: 1fr; }
  .welcome__portrait, .why__map { position: static; }
  .welcome__portrait { max-width: 420px; }
  .why__map { max-width: 460px; }
  .days { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .triad { grid-template-columns: 1fr; }
  .film__meta { margin-left: 0; }
  .tagline-list li { flex-direction: column; gap: 6px; }
  .tagline-list .s { text-align: left; }
  .tagline-peek { display: none; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .hide-sm { display: none; }
  .niches { grid-template-columns: 1fr; }
  .niche--doc { min-height: 320px; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide, .tile--text, .tile--tall { grid-column: auto; min-height: 380px; }
  .tile--tall { min-height: 480px; }
  .pair { grid-template-columns: 1fr; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .tab { padding: 11px 6px; font-size: 13.5px; white-space: normal; line-height: 1.2; }
  .tile--text { min-height: 0; padding-top: 72px; }
  .film { height: max(760px, 100svh); }
  .film__top { top: 96px; }
  .film__head { height: 50%; padding-bottom: 28px; }
  .film__strip { top: 50%; }
  .film__title { font-size: clamp(40px, 12vw, 64px); }
  .film__meta { gap: 14px; font-size: 10.5px; flex-wrap: wrap; }
  .film__nav { bottom: 20px; }
  .film__rail { bottom: 30px; width: 40vw; }
  .letter__body { font-size: 17px; }
  .reasons li { padding-left: 48px; }
}
