:root {
    --ink: #0F2420;
    --ink-soft: #16302A;
    --sand: #EFE7D4;
    --sand-dim: #DCD2B8;
    --brass: #B08D57;
    --brass-bright: #C9A46E;
    --ember: #C1622D;
    --line: rgba(239,231,212,0.16);
  }
  body.light-mode {
    --ink: #FDFBF7;
    --ink-soft: #F3EFE6;
    --sand: #241F16;
    --sand-dim: #57503F;
    --brass-bright: #9C7638;
    --line: rgba(36,31,22,0.14);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--ink);
    color: var(--sand);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .serif { font-family: 'Instrument Serif', serif; }
  .mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.04em; }
  a { color: inherit; }

  .wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
  @media (min-width: 1800px) { .wrap { max-width: 1600px; } }

  /* ===== NAV ===== */
  nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 0;
  }
  .nav-mark { display: flex; align-items: center; gap: 14px; }
  .nav-right { display: flex; align-items: center; gap: 32px; }
  .nav-wordmark-text { display: flex; flex-direction: column; line-height: 1.1; }
  .nav-wordmark-img { height: 58px; width: auto; display: block; }
  .nav-wordmark-th {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--brass);
    opacity: 0.8;
    margin-top: 2px;
  }
  .nav-links { display: flex; gap: 32px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
  .nav-links a:hover { color: var(--brass-bright); }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    min-height: 92vh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .hero-image {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,36,32,0.15) 0%, rgba(15,36,32,0.55) 55%, rgba(15,36,32,0.98) 100%),
                url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center 65%;
  }
  .hero-greeting {
    position: relative; z-index: 2;
    font-size: 0.92rem; letter-spacing: 0.08em;
    color: #EFE7D4; opacity: 0.75; margin-bottom: 14px;
  }
  .hero-eyebrow {
    position: relative; z-index: 2;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: #C9A46E; margin-bottom: 18px;
  }
  .hero-title {
    position: relative; z-index: 2;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 6.2rem);
    line-height: 0.98;
    max-width: 780px;
    color: #EFE7D4;
  }
  .hero-title em { font-style: italic; color: #C9A46E; }
  .hero-sub {
    position: relative; z-index: 2;
    max-width: 480px; margin-top: 22px; font-size: 1.02rem; opacity: 0.82;
    color: #EFE7D4;
  }
  .hero-scroll { position: absolute; bottom: 26px; right: 28px; z-index: 2; font-size: 0.72rem; opacity: 0.55; writing-mode: vertical-rl; color: #EFE7D4; }

  /* ===== EARLY RESERVATION STRIP (kept subtle, not alarmist) ===== */
  .pilot-strip {
    background: var(--brass); color: #1A1A1A;
    padding: 12px 0; font-size: 0.82rem; text-align: center;
  }
  .pilot-strip strong { font-weight: 700; }

  /* ===== SECTION SHELL ===== */
  section { padding: 108px 0; border-bottom: 1px solid var(--line); }
  .eyebrow {
    font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--brass-bright); margin-bottom: 20px;
  }
  h2.serif { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; line-height: 1.08; max-width: 640px; }

  /* ===== STORY ===== */
  .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .story-grid .story-photo { position: sticky; top: 100px; }
  .story-photo {
    aspect-ratio: 1408/768; border-radius: 2px;
    
    border: 1px solid var(--line);
  }
  .story-text p { margin-bottom: 18px; opacity: 0.88; font-size: 1.02rem; }
  .story-text p:last-child { margin-bottom: 0; }
  .story-quote { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--brass-bright); border-left: 2px solid var(--brass); padding-left: 24px; margin: 32px 0; line-height: 1.4; }
  .story-signoff { margin-top: 28px; font-size: 0.85rem; opacity: 0.55; letter-spacing: 0.04em; }

  /* ===== TICKETS (signature element) ===== */
  .ticket-intro { margin-bottom: 56px; }
  .tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .ticket {
    border: 1px solid var(--brass); border-radius: 3px;
    background: var(--ink-soft);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .ticket::before {
    content: ''; position: absolute; left: 0; right: 0; top: 172px;
    height: 0; border-top: 1px dashed rgba(176,141,87,0.5);
  }
  .ticket-top { padding: 30px 30px 26px; }
  .ticket-row { display: flex; justify-content: space-between; align-items: flex-start; }
  .ticket-code { font-size: 0.72rem; opacity: 0.6; }
  .ticket-badge {
    font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
    border: 1px solid var(--brass-bright); color: var(--brass-bright);
    padding: 4px 10px; border-radius: 20px;
  }
  .ticket-name { font-family: 'Instrument Serif', serif; font-size: 2rem; margin-top: 14px; }
  .ticket-desc { font-size: 0.92rem; opacity: 0.78; margin-top: 10px; max-width: 340px; }
  .ticket-bottom {
    margin-top: auto; padding: 26px 30px 30px;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px dashed rgba(176,141,87,0.35);
  }
  .ticket-price { font-family: 'Instrument Serif', serif; font-size: 1.9rem; color: var(--brass-bright); }
  .ticket-price span { font-family: 'Inter', sans-serif; font-size: 0.7rem; opacity: 0.6; display: block; letter-spacing: 0.05em; }
  .btn {
    display: inline-block; padding: 13px 24px; border-radius: 2px;
    font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
    text-decoration: none; text-align: center; cursor: pointer; border: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary { background: var(--brass-bright); color: #1A1A1A; font-weight: 600; }
  .btn-primary:hover { opacity: 0.92; }
  .ticket-fine { font-size: 0.7rem; opacity: 0.5; margin-top: 14px; }
  .ticket-series { font-size: 0.7rem; font-weight: 400; opacity: 0.55; }

  /* ===== PROCESS ===== */
  .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
  .process-card {
    aspect-ratio: 1408/768; border: 1px solid var(--line); border-radius: 2px;
    background-size: 100% 100%;
  }
  .process-caption { margin-top: 14px; font-size: 0.92rem; opacity: 0.8; }

  /* ===== HOW THE PILOT WORKS ===== */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
  .step-num { font-family: 'IBM Plex Mono', monospace; color: var(--brass-bright); font-size: 0.85rem; margin-bottom: 10px; }
  .step-title { font-size: 1.02rem; margin-bottom: 8px; font-weight: 600; }
  .step-body { font-size: 0.88rem; opacity: 0.75; }

  /* ===== WAITLIST FORM ===== */
  .waitlist-form { max-width: 520px; text-align: left; }
  .wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
  .waitlist-form label { display: block; font-size: 0.8rem; opacity: 0.7; }
  .waitlist-form label span[lang-en], .waitlist-form label span[lang-th] { display: block; margin-bottom: 6px; }
  .waitlist-form input[type="text"], .waitlist-form input[type="email"], .waitlist-form textarea {
    width: 100%; background: var(--ink-soft); border: 1px solid var(--line); border-radius: 3px;
    color: var(--sand); font-family: 'Inter', sans-serif; font-size: 0.95rem;
    padding: 12px 14px; margin-top: 2px;
  }
  .waitlist-form input:focus, .waitlist-form textarea:focus { outline: none; border-color: var(--brass-bright); }
  .waitlist-form textarea { resize: vertical; }
  .wf-field { margin-bottom: 24px; }
  .wf-label { display: block; font-size: 0.8rem; opacity: 0.7; margin-bottom: 10px; }
  .wf-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .wf-radio {
    display: flex; align-items: center; gap: 8px;
    background: var(--ink-soft); border: 1px solid var(--line); border-radius: 3px;
    padding: 10px 12px; font-size: 0.88rem; cursor: pointer;
  }
  .wf-radio input { accent-color: var(--brass-bright); }
  .waitlist-form button.btn-primary { width: 100%; border: none; cursor: pointer; margin-top: 4px; }
  .waitlist-thankyou { max-width: 480px; margin: 0 auto; }
  @media (max-width: 640px) {
    .wf-row, .wf-radio-group { grid-template-columns: 1fr; }
  }
  .disclosure {
    background: var(--ink-soft); border: 1px solid var(--line); border-radius: 3px;
    padding: 28px 32px; margin-top: 56px; font-size: 0.86rem; opacity: 0.85;
  }
  .disclosure .label { color: var(--brass-bright); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 10px; display: block; }

  /* ===== FOOTER CTA ===== */
  .closing { padding: 120px 0 60px; border-bottom: none; }
  .waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; text-align: left; }
  .waitlist-intro p.serif { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 20px; }
  .waitlist-intro p.wf-note { opacity: 0.7; font-size: 0.95rem; max-width: 460px; }
  @media (max-width: 820px) {
    .waitlist-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .waitlist-intro { display: flex; flex-direction: column; align-items: center; }
  }
  footer { padding: 60px 0 30px; border-top: 1px solid var(--line); }
  .footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-col-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass-bright); margin-bottom: 16px; }
  .footer-col a, .footer-col p { display: block; color: var(--sand); opacity: 0.75; text-decoration: none; font-size: 0.88rem; margin-bottom: 10px; line-height: 1.5; }
  .footer-col a:hover { opacity: 1; text-decoration: underline; }
  .footer-brand-blurb { max-width: 280px; opacity: 0.7; }
  .footer-bottom {
    border-top: 1px solid var(--line); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 0.78rem; opacity: 0.55;
  }
  @media (max-width: 820px) {
    .footer-columns { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  }
  @media (max-width: 640px) {
    .footer-columns { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }


  .story-photo, .process-card { overflow: hidden; }
  .story-photo img, .process-card img {
    display: block; width: 100%; height: 100%;
    object-fit: fill; border-radius: inherit;
  }

  /* ===== ZOOMABLE (LIGHTBOX-ENABLED) IMAGES ===== */
  .zoomable { cursor: zoom-in; position: relative; }
  .zoomable::after {
    content: '⤢'; position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(15,36,32,0.55); color: #EFE7D4;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; opacity: 0; transition: opacity 0.2s ease;
    pointer-events: none;
  }
  .zoomable:hover::after { opacity: 1; }

  /* ===== GALLERY ===== */
  .gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
  }
  .gallery-item {
    aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: 2px;
    overflow: hidden; background: var(--ink-soft);
  }
  .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .gallery-note { margin-top: 24px; font-size: 0.85rem; opacity: 0.6; max-width: 560px; }

  /* ===== LIGHTBOX ===== */
  .lightbox-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10,20,18,0.92);
    display: none; align-items: center; justify-content: center;
    padding: 40px;
  }
  .lightbox-overlay.open { display: flex; }
  .lightbox-overlay img {
    max-width: min(92vw, 1100px); max-height: 88vh;
    width: auto; height: auto;
    border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  }
  .lightbox-close {
    position: absolute; top: 24px; right: 32px;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
    color: var(--sand); font-size: 1.3rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.2s ease;
  }
  .lightbox-close:hover { background: rgba(255,255,255,0.18); }
  .lightbox-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
    color: var(--sand); font-size: 1.8rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.2s ease;
    user-select: none;
  }
  .lightbox-arrow:hover { background: rgba(255,255,255,0.18); }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  @media (max-width: 640px) {
    .lightbox-arrow { width: 38px; height: 38px; font-size: 1.4rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
  }

  /* ===== LANGUAGE TOGGLE ===== */
  [lang-th] { display: none; }
  body.show-th [lang-en] { display: none; }
  body.show-th [lang-th] { display: revert; }
  .lang-toggle-btn {
    background: none; border: 1px solid var(--brass); color: var(--sand);
    font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.05em;
    padding: 6px 14px; border-radius: 20px; cursor: pointer; text-transform: uppercase;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .lang-toggle-btn:hover { background: var(--brass); color: #1A1A1A; }

  @media (max-width: 820px) {
    .story-grid, .tickets, .process-grid, .steps { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    footer { flex-direction: column; gap: 8px; text-align: center; }
    nav { padding: 20px 0; flex-wrap: wrap; row-gap: 12px; }
    .nav-right { flex-wrap: wrap; row-gap: 14px; width: 100%; justify-content: flex-end; }
    .nav-wordmark-img { height: 34px; }
    .nav-wordmark-th { font-size: 0.62rem; }
    .nav-lang-standalone { margin-left: auto; }

    .nav-hamburger {
      display: flex; flex-direction: column; justify-content: center; gap: 5px;
      width: 32px; height: 32px; background: none; border: none; cursor: pointer;
      padding: 0; order: 99;
    }
    .nav-hamburger span {
      display: block; width: 100%; height: 2px; background: var(--sand);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .nav-hamburger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger-open span:nth-child(2) { opacity: 0; }
    .nav-hamburger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-links {
      display: none !important;
      flex-direction: column; gap: 0; width: 100%;
      order: 100;
      max-height: 0; overflow: hidden;
      transition: max-height 0.25s ease;
    }
    .nav-links.nav-links-open {
      display: flex !important;
      max-height: 500px;
    }
    .nav-links a {
      padding: 14px 0; border-bottom: 1px solid var(--line);
    }
  }

  @media (min-width: 821px) {
    .nav-hamburger { display: none; }
  }