/* ==========================================================================
   Alex & Roxy — 4 February 2027 · Phuket
   Design Language: Apple Vision Pro Spatial Glass + Pure White Editorial
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #fbfbfd;
  --bg-tint: #f5f5f7;
  --ink: #1d1d1f;
  --ink-secondary: #515154;
  --ink-muted: #86868b;
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.14);
  --accent: #1d1d1f;
  --accent-warm: #8f6b49;
  --accent-sea: #2a5d6e;

  --radius-portal: 32px;
  --radius-glass: 26px;
  --radius-card: 20px;
  --radius-pill: 999px;

  /* Apple Vision Pro glass tokens */
  --glass-light-bg: rgba(255, 255, 255, 0.76);
  --glass-light-bg-hover: rgba(255, 255, 255, 0.86);
  --glass-dark-bg: rgba(24, 28, 34, 0.54);
  --glass-dark-bg-strong: rgba(20, 24, 30, 0.68);
  --glass-blur: blur(36px) saturate(190%);
  --glass-blur-heavy: blur(44px) saturate(210%);

  /* Specular corner highlight gradient (visionOS light refraction) */
  --specular-border-light: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.42) 24%,
    rgba(255, 255, 255, 0.12) 52%,
    rgba(255, 255, 255, 0.28) 78%,
    rgba(255, 255, 255, 0.86) 100%
  );
  --specular-border-dark: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.22) 22%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.14) 78%,
    rgba(255, 255, 255, 0.56) 100%
  );

  --shadow-portal: 0 28px 70px rgba(0, 0, 0, 0.14), 0 4px 18px rgba(0, 0, 0, 0.06);
  --shadow-glass: 0 24px 64px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);

  --font-sans: "Karla", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans JP", sans-serif;
  --font-serif: "Italiana", "Cormorant Garamond", Georgia, serif;
  --font-display: "Italiana", Georgia, serif;
  --font-flytext: "Kaushan Script", cursive;
  --display-weight: 400;
  --display-tracking: 0.005em;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1120px;
}

/* Global Typography & Mood Presets (switchable in Sandbox) */
body[data-vibe="italiana"] {
  --font-sans: "Karla", -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  --font-serif: "Italiana", Georgia, serif;
  --font-display: "Italiana", Georgia, serif;
  --display-weight: 400;
  --display-tracking: 0.005em;
}

body[data-vibe="spatial"] {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Noto Sans JP", sans-serif;
  --font-display: var(--font-sans);
  --display-weight: 300;
  --display-tracking: -0.035em;
}

body[data-vibe="editorial"] {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --display-weight: 300;
  --display-tracking: -0.015em;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

main:focus {
  outline: none;
}

/* ==========================================================================
   Floating Apple Vision Pro Header Pill
   ========================================================================== */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 600;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 10px 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  max-width: 100%;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.amp {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  font-weight: 300;
  font-size: 0.92em;
  line-height: 1;
  display: inline-block;
}

.hero-fly-stage.is-script .amp {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links button,
.nav-links a {
  border: 0;
  background: transparent;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 450;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: background 0.2s var(--ease-spring), color 0.2s ease;
  white-space: nowrap;
}

.nav-links button:hover,
.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.045);
}

.nav-links button.active,
.nav-links a.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.08);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.045);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch button.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.icon-logout {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-logout:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--ink);
}

/* ==========================================================================
   Apple Vision Pro Spatial Glass Surfaces & Specular Corner Highlights
   ========================================================================== */

.glass-surface {
  position: relative;
  border-radius: var(--radius-glass);
  isolation: isolate;
}

/* Diagonal specular corner rim light (visionOS refraction) */
.glass-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.25px;
  background: var(--specular-border-light);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* Subtle cursor-reactive Liquid Glass highlight sheen */
.glass-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    360px circle at var(--mx, 22%) var(--my, 18%),
    rgba(255, 255, 255, 0.22),
    transparent 62%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.glass-light {
  background: var(--glass-light-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--ink);
  box-shadow:
    var(--shadow-glass),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25);
}

.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  color: #ffffff;
  box-shadow:
    0 32px 84px rgba(0, 0, 0, 0.34),
    0 6px 20px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.glass-dark::before {
  background: var(--specular-border-dark);
}

.glass-dark .muted,
.glass-dark p {
  color: rgba(255, 255, 255, 0.84);
}

.glass-dark .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.vision-grabber {
  width: 72px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  margin: 16px auto 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.glass-light .vision-grabber {
  background: rgba(29, 29, 31, 0.16);
  box-shadow: none;
}

/* ==========================================================================
   Typography & Common Editorial Atoms
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  margin: 0 0 12px;
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.04;
  margin: 0;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.08;
  margin: 0 0 16px;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.15;
  margin: 0 0 12px;
}

.lead {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 56ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease-spring), background 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:hover {
  background: #333336;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.btn-subtle {
  background: rgba(0, 0, 0, 0.055);
  color: var(--ink);
}

.btn-subtle:hover {
  background: rgba(0, 0, 0, 0.095);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn[disabled] {
  opacity: 0.72;
  color: var(--ink-secondary);
  cursor: not-allowed;
  transform: none;
}

.btn-glass[disabled] {
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Gentle scroll reveals for white editorial sections */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Spatial Portal Engine (Scroll-Scrubbed Villa Clips + Vision Pro Glow)
   ========================================================================== */

.portal-stage {
  position: relative;
  min-height: 205vh;
  background: var(--bg);
}

.portal-stage.portal-compact {
  min-height: 150vh;
}

.portal-stage.portal-short {
  min-height: auto;
  padding: 56px 0 16px;
}

.portal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 28px 34px;
  overflow: hidden;
}

.portal-short .portal-sticky {
  position: relative;
  height: auto;
  padding: 0 28px;
}

.portal-shell {
  position: relative;
  width: min(1160px, 100%);
  height: min(79vh, 760px);
  transform: scale(var(--portal-scale, 1));
  transform-origin: center center;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portal-short .portal-shell {
  width: min(1060px, 100%);
  height: auto;
  transform: none;
}

.portal-short .portal-memory-frame {
  height: auto;
}

.portal-short .portal-window {
  aspect-ratio: 2560 / 1196;
  max-height: 62vh;
}

/* Organic asymmetric positioning, varied widths, and subtle spatial tilts on desktop */
@media (min-width: 961px) {
  .portal-stage.hero-a[data-organic="hero"] .portal-shell {
    width: min(1140px, 90vw);
  }

  .portal-stage[data-organic="left"] .portal-shell {
    width: min(1060px, 84vw);
    transform: translateX(-3.2vw) rotate(calc(-1.05deg + var(--settle, 0) * 0.65deg)) scale(var(--portal-scale, 1));
  }

  .portal-stage[data-organic="right"] .portal-shell {
    width: min(1150px, 88vw);
    transform: translateX(3.6vw) rotate(calc(1.1deg - var(--settle, 0) * 0.68deg)) scale(var(--portal-scale, 1));
  }

  .portal-stage[data-organic="compact-left"] .portal-shell {
    width: min(990px, 80vw);
    height: min(74vh, 690px);
    transform: translateX(-2.8vw) rotate(calc(-0.85deg + var(--settle, 0) * 0.5deg)) scale(var(--portal-scale, 1));
  }

  .portal-stage[data-organic="center"] .portal-shell {
    width: min(1060px, 85vw);
    transform: rotate(calc(-0.4deg + var(--settle, 0) * 0.4deg)) scale(var(--portal-scale, 1));
  }

  .portal-short[data-organic="center"] .portal-shell {
    transform: rotate(-0.5deg);
  }

  .pack-organic-wrap {
    max-width: 980px;
    margin: 0 auto;
    transform: translateX(2.6vw) rotate(0.65deg);
    transition: transform 0.6s var(--ease-spring);
  }

  .pack-organic-wrap:hover {
    transform: translateX(2.6vw) rotate(0deg);
  }
}

/* Living color-matched Apple Vision Pro ambient outer glow on pure white */
.portal-glow-canvas {
  position: absolute;
  inset: 4px 12px 22px;
  width: calc(100% - 24px);
  height: calc(100% - 26px);
  border-radius: 42px;
  filter: blur(56px) saturate(210%) brightness(1.08);
  opacity: 0.48;
  transform: scale(1.02) translateY(16px);
  pointer-events: none;
  z-index: 0;
}

/* Apple Vision Pro "Your Created Memory" Luminous Frosted Glass Frame */
.portal-memory-frame {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 36px;
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  z-index: 1;
  box-shadow:
    0 34px 92px rgba(18, 24, 34, 0.14),
    0 10px 28px rgba(18, 24, 34, 0.06),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

.portal-memory-frame.is-fullbleed {
  border-radius: 0;
  padding: 0;
  gap: 0;
  box-shadow: none;
}

/* Specular diagonal corner rim light on the outer 36px rounded Vision Pro glass frame */
.portal-memory-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.42) 20%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.24) 80%,
    rgba(255, 255, 255, 0.78) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 6;
}

.portal-memory-frame.is-fullbleed::after {
  display: none;
}

/* Softly blurred color-bleed canvas diffusing live video tones across the frosted glass surround */
.portal-aura-canvas {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  filter: blur(52px) saturate(215%) brightness(1.06);
  opacity: 0.82;
  pointer-events: none;
  z-index: 0;
}

.portal-memory-frame.is-fullbleed .portal-aura-canvas,
.portal-memory-frame.is-fullbleed .portal-frame-frost {
  display: none;
}

.portal-frame-frost {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.56) 0%,
    rgba(248, 249, 252, 0.36) 50%,
    rgba(255, 255, 255, 0.50) 100%
  );
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.portal-memory-frame.tone-dark .portal-frame-frost {
  background: linear-gradient(
    145deg,
    rgba(30, 34, 42, 0.44) 0%,
    rgba(20, 24, 32, 0.52) 55%,
    rgba(30, 34, 42, 0.42) 100%
  );
}

/* Vision Pro Top Chrome Strip ("Your Created Memory" bar) */
.portal-chrome-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 6px 0;
}

.portal-chrome-title {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: rgba(29, 29, 31, 0.88);
  text-align: center;
}

.portal-memory-frame.tone-dark .portal-chrome-title {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.portal-chrome-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(29, 29, 31, 0.78);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.portal-memory-frame.tone-dark .portal-chrome-pill {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Signature floating Apple Vision Pro grabber pill underneath the window on white */
.portal-under-grabber {
  width: 86px;
  height: 5px;
  border-radius: 99px;
  background: rgba(29, 29, 31, 0.14);
  margin: 14px auto 0;
  flex-shrink: 0;
  z-index: 2;
}

/* The inner rounded spatial viewport inside the frosted glass frame */
.portal-window {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #e9ecef;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.portal-memory-frame.is-fullbleed .portal-window {
  border-radius: 0;
  box-shadow: none;
}

/* Subtle inner specular edge */
.portal-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.04) 65%,
    rgba(255, 255, 255, 0.42) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
}

.portal-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle bottom progress hairline inside portal */
.portal-scrubber {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 16px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.portal-scrubber-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0.05);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 99px;
}

/* Floating Vision Pro Frosted Glass Overlay inside Portal */
.portal-overlay-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  pointer-events: none;
}

.portal-overlay-card {
  pointer-events: auto;
  width: min(960px, 100%);
  max-height: none;
  overflow: visible;
  padding: 26px 32px 18px;
  opacity: var(--card-p, 1);
  transform: translateY(calc((1 - var(--card-p, 1)) * 34px)) scale(calc(0.955 + var(--card-p, 1) * 0.045));
  will-change: transform, opacity;
}

.portal-overlay-card > * {
  position: relative;
  z-index: 2;
}

.portal-corner-badge {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 5;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(20, 24, 30, 0.38);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  opacity: calc(1 - var(--card-p, 0) * 1.6);
  pointer-events: none;
}

.portal-short .portal-corner-badge {
  opacity: 1;
}

/* ==========================================================================
   HERO VARIANTS (A: Vision Pro Portal · B: Full-Bleed Liquid Glass · C: Skarsmoen White)
   ========================================================================== */

.hero-a-header {
  text-align: center;
  margin-bottom: 18px;
  opacity: calc(1 - var(--title-out, 0) * 1.6);
  transform: translateY(calc(var(--title-out, 0) * -28px));
  will-change: transform, opacity;
}

.hero-a-header .hero-sub {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.hero-a .portal-shell {
  height: min(63vh, 620px);
}

.hero-float-pill {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(calc((1 - var(--card-p, 0)) * 22px));
  opacity: var(--card-p, 0);
  z-index: 5;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1f;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24), inset 0 1px 0 #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  opacity: calc(1 - var(--title-out, 0) * 1.4);
  z-index: 5;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(20, 24, 30, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

/* Hero Variant B: Full-Bleed Vision Pro Window */
.hero-b .portal-sticky {
  padding: 0;
}

.hero-b .portal-shell {
  width: 100%;
  height: 100vh;
}

.hero-b .portal-window {
  border-radius: 0;
  box-shadow: none;
}

.hero-b .portal-window::after,
.hero-b .portal-glow-canvas {
  display: none;
}

.hero-b-card {
  width: min(560px, 90vw);
  text-align: center;
  padding: 38px 42px 26px;
}

.hero-b-dock {
  margin-top: 22px;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-b-dock a {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease;
}

.hero-b-dock a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Variant C: Skarsmoen Radiant White Frame */
.hero-c-statement {
  padding: 120px 28px 110px;
  text-align: center;
  background: #ffffff;
}

.hero-c-statement p {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.1vw, 2.55rem);
  font-weight: 300;
  line-height: 1.38;
  color: #424245;
  max-width: 30ch;
  margin: 0 auto;
}

/* Hero B: Full-Screen Immersive Arrival + Architectural Dark Smoked Vision Pro Glass */
.hero-b-spatial.portal-stage {
  min-height: 245vh;
  background: #101418;
}

.hero-b-spatial .portal-sticky {
  padding: 0;
}

.portal-stage.hero-b-spatial .portal-shell {
  width: 100%;
  max-width: none;
  height: 100vh;
  transform: none !important;
}

.hero-b-spatial .portal-window {
  border-radius: 0;
  box-shadow: none;
  background: #101418;
}

.hero-b-spatial .portal-window::after,
.hero-b-spatial .portal-glow-canvas {
  display: none;
}

/* ==========================================================================
   Hero Styles 2 & 3: Cinematic Fly-Through Text (Editorial + Brushed Script)
   ========================================================================== */
.hero-fly-stage.portal-stage {
  min-height: 245vh;
  background: #101418;
}

.hero-fly-stage .portal-sticky {
  padding: 0;
}

.portal-stage.hero-fly-stage .portal-shell {
  width: 100%;
  max-width: none;
  height: 100vh;
  transform: none !important;
}

.hero-fly-stage .portal-window {
  border-radius: 0;
  box-shadow: none;
  background: #101418;
}

.hero-fly-stage .portal-window::after,
.hero-fly-stage .portal-glow-canvas {
  display: none;
}

.hero-fly-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 54% at 50% 48%, rgba(8, 12, 18, 0.30) 0%, rgba(8, 12, 18, 0.08) 62%, rgba(8, 12, 18, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.14) 0%, transparent 28%, transparent 72%, rgba(8, 12, 18, 0.34) 100%);
}

.hero-fly-stage-words {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.hero-fly-beat {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(92vw, 1080px);
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-fly-eyebrow,
.hero-fly-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-fly-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.42);
}

.hero-fly-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 9.6vw, 8.2rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.46);
  white-space: nowrap;
}

.hero-fly-date {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 8.8vw, 7.6rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.48);
}

/* Variant 3: Brushed Kaushan Script Fly-Through (Spa / Courtyard Spirit) */
.hero-fly-stage.is-script .hero-fly-lead {
  font-family: 'Kaushan Script', var(--font-serif);
  font-style: normal;
  font-size: clamp(2.8rem, 6.8vw, 5.8rem);
  letter-spacing: 0.015em;
  color: #fffcf5;
  text-shadow: 0 8px 36px rgba(18, 12, 6, 0.46);
}

.hero-fly-stage.is-script .hero-fly-display {
  font-family: 'Kaushan Script', var(--font-serif);
  font-size: clamp(3.3rem, 9.2vw, 7.8rem);
  letter-spacing: 0.01em;
  color: #fffcf5;
  text-shadow: 0 12px 44px rgba(18, 12, 6, 0.50);
}

.hero-fly-stage.is-script .hero-fly-date {
  font-family: 'Kaushan Script', var(--font-serif);
  font-size: clamp(3.0rem, 8.2vw, 6.8rem);
  letter-spacing: 0.04em;
  color: #fffcf5;
}

.spatial-world-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

/* World-locked 3D Apple Vision Pro Spatial Container (660 x 420 canonical space) */
.spatial-world-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 660px;
  height: 420px;
  transform-origin: 0 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-smoked-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    rgba(24, 30, 36, 0.72) 0%,
    rgba(16, 20, 26, 0.62) 52%,
    rgba(30, 34, 40, 0.70) 100%
  );
  backdrop-filter: blur(42px) saturate(195%);
  -webkit-backdrop-filter: blur(42px) saturate(195%);
  color: #ffffff;
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.44),
    0 8px 26px rgba(0, 0, 0, 0.22),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.hero-smoked-glass::before {
  padding: 1.4px;
  background: var(--specular-border-dark);
}

.hero-smoked-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Variant 1 & 2 Romantic Typography */
.hero-smoked-kicker {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.02em;
  color: rgba(255, 240, 214, 0.92);
}

.hero-smoked-upper {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.hero-smoked-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.22);
}

.hero-v2 .hero-smoked-name {
  font-size: 76px;
}

.hero-smoked-line {
  margin: 14px auto 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.hero-smoked-italic {
  margin: 12px auto 0;
  max-width: 34ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: rgba(255, 248, 236, 0.92);
}

.hero-smoked-rule {
  width: 48px;
  height: 1px;
  margin: 16px auto 14px;
  background: rgba(255, 255, 255, 0.34);
}

.hero-smoked-meta {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-smoked-dock {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-smoked-dock a {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}

.hero-smoked-dock a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Variant 2 Monogram Crest */
.hero-monogram-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-monogram-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 240, 214, 0.56);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.hero-smoked-actions {
  margin-top: 20px;
}

.hero-smoked-cta {
  padding: 10px 22px;
  font-size: 13px;
}

/* Variant 3 Poetic Two-Line Poem */
.hero-smoked-poem {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
}

.hero-b-cue {
  bottom: 28px;
  background: rgba(16, 20, 26, 0.48);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

/* Sandbox Hero Screen Variant Picker */
.sandbox-hero-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sandbox-hero-list button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sandbox-hero-list button b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 10.5px;
}

.sandbox-hero-list button.active {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 600;
}

.sandbox-hero-list button.active b {
  background: #1d1d1f;
  color: #ffffff;
}

/* ==========================================================================
   TIMELINE SECTION (A: Light Glass · B: Vision Dark Tabs · C: White Editorial)
   ========================================================================== */

.timeline-glass-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 16px;
}

.tl-mini-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}

.tl-mini-row:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
}

.tl-mini-thumb {
  width: 62px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.tl-mini-date {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.tl-mini-title {
  font-size: 13.5px;
  font-weight: 500;
  margin: 1px 0 2px;
  line-height: 1.2;
}

.tl-mini-caption {
  font-size: 12px;
  line-height: 1.38;
  color: var(--ink-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stay-pill-box {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(29, 29, 31, 0.055);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.stay-pill-box strong {
  color: var(--ink);
  font-weight: 550;
}

/* Timeline Variant B: Vision Pro Dark Smoked Window with Interactive Day Switcher */
.tl-vision-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  margin-top: 14px;
  align-items: stretch;
}

.tl-day-tabs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tl-day-tab {
  border: 0;
  text-align: left;
  padding: 8px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}

.tl-day-tab:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tl-day-tab.active {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tl-day-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.tl-day-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  max-height: 215px;
  aspect-ratio: 16 / 8.5;
  background: rgba(0, 0, 0, 0.25);
}

.tl-day-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.tl-day-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.tl-day-meta h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 450;
  color: #ffffff;
}

.tl-day-meta span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.glass-dark .stay-pill-box {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.glass-dark .stay-pill-box strong {
  color: #ffffff;
}

/* Timeline Variant C: Pure White Editorial (3 Redesigned Visual Timeline Layouts) */
.editorial-section {
  padding: 112px 0;
  background: #ffffff;
}

.editorial-head {
  margin-bottom: 58px;
}

.tl-editorial-date {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.tl-editorial-date.tl-date-xl {
  font-size: clamp(2.7rem, 4.2vw, 3.8rem);
}

.tl-editorial-time {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tl-time-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.tl-day-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tl-day-tag {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.tl-day-heading {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--ink);
}

.tl-day-heading.tl-heading-xl {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

.tl-day-copy {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 58ch;
}

/* Integrated Day 3 Villa Location Bar & Stay Note */
.tl-villa-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.tl-villa-area-note {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.tl-stay-inset {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.tl-phuket-map-card {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.tl-phuket-map-visual {
  position: relative;
  display: block;
  width: 100%;
  min-height: 230px;
  padding: 0;
  border: 0;
  background: #e8f1f4;
  cursor: pointer;
  overflow: hidden;
}

.tl-phuket-map-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-spring);
}

.tl-phuket-map-visual:hover img {
  transform: scale(1.03);
}

.tl-phuket-map-visual:hover .tl-photo-zoom {
  opacity: 1;
}

.tl-map-pin-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.tl-phuket-map-info {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.tl-map-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.tl-map-copy {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.tl-map-cta {
  margin-top: 6px;
}

/* Shared Interactive Multi-Photo Timeline Grids */
.tl-photo-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.tl-photo-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f1f4;
  cursor: zoom-in;
  text-align: left;
  box-shadow: 0 6px 22px rgba(18, 24, 34, 0.06);
}

.tl-photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-spring);
}

.tl-photo-tile:hover img {
  transform: scale(1.035);
}

.tl-photo-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  background: rgba(16, 20, 26, 0.45);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tl-photo-tile:hover .tl-photo-zoom {
  opacity: 1;
}

.tl-villa-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 14px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(12, 16, 20, 0) 0%, rgba(12, 16, 20, 0.72) 100%);
  pointer-events: none;
}

/* 2-photo layout (Day 6) */
.tl-photo-grid.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tl-photo-grid.count-2 .tl-photo-tile {
  aspect-ratio: 16 / 10;
}

/* 3-photo asymmetric editorial collage (Days 2, 4, 5) */
.tl-photo-grid.count-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tl-photo-grid.count-3 .tile-1 {
  grid-column: span 2;
  aspect-ratio: 16 / 8.8;
}
.tl-photo-grid.count-3 .tile-2,
.tl-photo-grid.count-3 .tile-3 {
  aspect-ratio: 16 / 10;
}

/* 4-photo Lagoon 500 layout (Day 1) */
.tl-photo-grid.count-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tl-photo-grid.count-4 .tile-1 {
  grid-column: span 3;
  aspect-ratio: 16 / 8.6;
}
.tl-photo-grid.count-4 .tile-2,
.tl-photo-grid.count-4 .tile-3,
.tl-photo-grid.count-4 .tile-4 {
  aspect-ratio: 4 / 3;
}

/* 5-photo Merged Hillside Villa gallery (Day 3) */
.tl-photo-grid.count-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.tl-photo-grid.count-5 .tile-1 {
  grid-column: span 4;
  aspect-ratio: 16 / 10.5;
}
.tl-photo-grid.count-5 .tile-2 {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}
.tl-photo-grid.count-5 .tile-3,
.tl-photo-grid.count-5 .tile-4,
.tl-photo-grid.count-5 .tile-5 {
  grid-column: span 2;
  aspect-ratio: 16 / 10.5;
}

/* Magazine horizontal spread grids for Timeline 3 */
.tl-grid-spread.count-3 {
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.tl-grid-spread.count-3 .tile-1 {
  grid-column: 1;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 360px;
}
.tl-grid-spread.count-3 .tile-2,
.tl-grid-spread.count-3 .tile-3 {
  aspect-ratio: 16 / 10;
}

.tl-grid-spread.count-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tl-grid-spread.count-4 .tile-1 {
  grid-column: span 3;
  aspect-ratio: 21 / 9;
}

/* Wedding Day Elevated Editorial Halo */
.is-wedding-day .tl-photo-grid.count-3 .tile-1 {
  box-shadow: 0 18px 46px rgba(138, 109, 59, 0.16);
}

/* --------------------------------------------------------------------------
   TIMELINE 1: ARCHITECTURAL LEFT SPINE
   -------------------------------------------------------------------------- */
.tl-v1-list {
  position: relative;
}

.tl-v1-row {
  display: grid;
  grid-template-columns: 150px 44px minmax(0, 1fr);
  gap: 0 24px;
  padding-bottom: 72px;
}

.tl-v1-row:last-child {
  padding-bottom: 12px;
}

.tl-v1-datecol {
  text-align: right;
  padding-top: 4px;
}

.tl-v1-chapter {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-warm);
}

.tl-v1-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.tl-v1-rail::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: -72px;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(29, 29, 31, 0.22) 0%, rgba(29, 29, 31, 0.1) 100%);
}

.tl-v1-row:last-child .tl-v1-rail::before {
  display: none;
}

.tl-v1-node {
  position: relative;
  top: 14px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 0 0 5px #ffffff;
  z-index: 2;
  flex-shrink: 0;
}

.is-wedding-day .tl-v1-node {
  width: 16px;
  height: 16px;
  top: 12px;
  background: var(--accent-warm);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(138, 109, 59, 0.35), 0 0 0 7px #ffffff;
}

.tl-v1-row.is-wedding-day .tl-v1-content {
  padding: 28px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfaf6 0%, #ffffff 100%);
  border: 1px solid rgba(138, 109, 59, 0.22);
}

/* --------------------------------------------------------------------------
   TIMELINE 2: CENTERED EDITORIAL JOURNEY
   -------------------------------------------------------------------------- */
.tl-v2-spine-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.tl-v2-center-line {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(29, 29, 31, 0.08) 0%,
    rgba(29, 29, 31, 0.22) 15%,
    rgba(29, 29, 31, 0.22) 85%,
    rgba(29, 29, 31, 0.08) 100%
  );
  z-index: 0;
}

.tl-v2-item {
  position: relative;
  z-index: 1;
}

.tl-v2-node {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  box-shadow: 0 0 0 6px #ffffff;
  z-index: 3;
}

.tl-v2-item.is-wedding-day .tl-v2-node {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(138, 109, 59, 0.22), 0 0 0 10px #ffffff;
}

.tl-v2-item.is-left .tl-v2-card,
.tl-v2-item.is-right .tl-v2-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 78px;
  align-items: center;
}

.tl-v2-item.is-right .tl-v2-body {
  order: 2;
}

.tl-v2-item.is-right .tl-v2-media {
  order: 1;
}

.tl-v2-item.is-spotlight {
  padding-top: 28px;
}

.tl-v2-item.is-spotlight .tl-v2-node {
  top: 0;
}

.tl-v2-item.is-spotlight .tl-v2-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 38px 36px 34px;
  box-shadow: 0 18px 54px rgba(18, 24, 34, 0.05);
}

.tl-v2-item.is-spotlight.is-wedding-day .tl-v2-card {
  background: linear-gradient(180deg, #fdfbf7 0%, #ffffff 100%);
  border-color: rgba(138, 109, 59, 0.28);
}

.tl-v2-item.is-spotlight .tl-v2-body {
  text-align: center;
  max-width: 68ch;
  margin: 0 auto;
}

.tl-v2-item.is-spotlight .tl-day-kicker-row,
.tl-v2-item.is-spotlight .tl-villa-meta-bar {
  justify-content: center;
}

.tl-v2-item.is-spotlight .tl-day-copy {
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   STICKY ROUNDED WEEK CALENDAR STRIP
   -------------------------------------------------------------------------- */
.tl-cal-sticky-bar {
  position: sticky;
  top: var(--cal-sticky-top, 76px);
  z-index: 45;
  margin: 0 auto 48px;
  padding: 6px 0;
}

.tl-cal-strip {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: 0 6px 24px rgba(18, 24, 34, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.tl-cal-strip.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(18, 24, 34, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  border-color: rgba(29, 29, 31, 0.12);
}

.tl-cal-day {
  position: relative;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 10px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: var(--ink);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s var(--ease-spring);
}

.tl-cal-day:hover:not(.is-active) {
  background: rgba(29, 29, 31, 0.045);
}

.tl-cal-day:active {
  transform: scale(0.97);
}

.tl-cal-weekday {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.1;
  transition: color 0.22s ease;
}

.tl-cal-date {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.tl-cal-day.is-wedding::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--accent-warm);
  transition: background 0.22s ease;
}

.tl-cal-day.is-active {
  background: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(29, 29, 31, 0.18);
}

.tl-cal-day.is-active .tl-cal-weekday {
  color: rgba(255, 255, 255, 0.68);
}

.tl-cal-day.is-active .tl-cal-date {
  color: #ffffff;
}

.tl-cal-day.is-active.is-wedding {
  background: var(--accent-warm);
  box-shadow: 0 6px 18px rgba(138, 109, 59, 0.28);
}

.tl-cal-day.is-active.is-wedding::after {
  background: rgba(255, 255, 255, 0.85);
}

[id^="sec-day-"] {
  scroll-margin-top: 175px;
}

/* --------------------------------------------------------------------------
   TIMELINE 3: HORIZONTAL MILESTONE RAIL + MAGAZINE SPREADS
   -------------------------------------------------------------------------- */
.tl-v3-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 54px;
  padding: 18px 0 10px;
}

.tl-v3-rail-line {
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: var(--hairline-strong);
  z-index: 0;
}

.tl-v3-stop {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  color: var(--ink);
}

.tl-v3-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 5px #ffffff;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}

.tl-v3-stop.is-wedding .tl-v3-dot {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
}

.tl-v3-stop:hover .tl-v3-dot {
  transform: scale(1.25);
  background: var(--ink);
}

.tl-v3-stop-date {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
}

.tl-v3-stop-title {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.3;
  max-width: 14ch;
}

.tl-v3-chapters {
  display: flex;
  flex-direction: column;
}

.tl-v3-chapter {
  position: relative;
}

.tl-v3-stem {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.tl-v3-stem::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: var(--hairline-strong);
}

.tl-v3-pill {
  position: relative;
  z-index: 1;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #ffffff;
  color: var(--ink-secondary);
  border: 1px solid var(--hairline-strong);
}

.is-wedding-day .tl-v3-pill {
  color: #ffffff;
  background: var(--accent-warm);
  border-color: var(--accent-warm);
}

.tl-v3-inner {
  padding: 36px 40px 40px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--hairline);
}

.is-wedding-day .tl-v3-inner {
  background: linear-gradient(180deg, #fdfaf4 0%, #ffffff 100%);
  border-color: rgba(138, 109, 59, 0.28);
}

.tl-v3-top-split {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* ==========================================================================
   THE VILLA SECTION (A: Spatial Photo Tray · B: Vision Pro Mosaic · C: Strip)
   ========================================================================== */

.villa-tray-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 10px;
  margin-top: 20px;
}

.villa-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: #e9ecef;
}

.villa-tile:first-child {
  grid-row: span 2;
}

.villa-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.villa-tile:hover img {
  transform: scale(1.045);
}

.villa-area-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 12.5px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.06);
}

.glass-dark .area-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Villa Variant B: Vision Pro Photos-App Style Mosaic */
.villa-b-card {
  padding: 22px 26px 16px;
}

.villa-vp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 170px 140px;
  gap: 9px;
  margin-top: 14px;
}

.villa-vp-grid .villa-tile:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

.villa-vp-grid .villa-tile {
  height: 100%;
}

/* Villa Variant C: Staggered Editorial White Strip */
.villa-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.villa-ed-item {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.villa-ed-item img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.5s var(--ease-spring);
}

.villa-ed-item:hover img {
  transform: scale(1.02);
}

.villa-ed-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}

.villa-ed-1 { grid-column: span 7; }
.villa-ed-2 { grid-column: span 5; margin-top: 44px; }
.villa-ed-3 { grid-column: span 4; }
.villa-ed-4 { grid-column: span 4; margin-top: 28px; }
.villa-ed-5 { grid-column: span 4; }

/* ==========================================================================
   ESSENTIALS: DRESS CODE, CALENDAR & WHATSAPP
   ========================================================================== */

.essentials-trio {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.essential-subcard {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.glass-dark .essential-subcard {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.essential-subcard h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 500;
}

.essential-subcard p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.essential-subcard .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 11px 16px;
  white-space: nowrap;
}

.glass-dark .essential-subcard p {
  color: rgba(255, 255, 255, 0.8);
}

.badge-soft {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(143, 107, 73, 0.12);
  color: var(--accent-warm);
  margin-bottom: 10px;
}

.glass-dark .badge-soft {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Essentials Variant C: Pure White Minimal Split */
.essentials-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.essentials-actions-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.essentials-action-row {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.essentials-action-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
}

.essentials-action-row p {
  margin: 0 0 16px;
  color: var(--ink-secondary);
  font-size: 14.5px;
}

/* ==========================================================================
   PACK LIST TEASER & DEDICATED PACK LIST PAGE
   ========================================================================== */

.pack-teaser-wrap {
  padding: 108px 0;
  background: #ffffff;
}

.pack-flatlay-stage {
  position: relative;
  border-radius: var(--radius-portal);
  overflow: hidden;
  background: #ffffff;
}

.pack-flatlay-stage.framed {
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  background: #ffffff;
}

.pack-teaser-wrap .pack-flatlay-stage.framed {
  padding-bottom: 84px;
}

.pack-flatlay-stage img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.pack-teaser-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(640px, calc(100% - 32px));
  justify-content: space-between;
}

.pack-teaser-below {
  text-align: center;
  max-width: 560px;
  margin: 32px auto 0;
}

.pack-teaser-below .lead {
  margin: 0 auto 24px;
}

/* Dedicated Pack List Page */
.page-top-pad {
  padding-top: 112px;
  padding-bottom: 120px;
  min-height: 100vh;
  background: #ffffff;
}

.pack-important-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 24px 0 4px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fdfaf4;
  border: 1px solid rgba(138, 109, 59, 0.28);
}

.pack-important-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(138, 109, 59, 0.30);
  background: rgba(138, 109, 59, 0.06);
  color: var(--accent-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pack-important-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.pack-important-body {
  min-width: 0;
  flex: 1;
}

.pack-important-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 6px;
}

.pack-important-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.pack-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 36px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.pack-progress-track {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.pack-progress-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 99px;
  transition: width 0.35s var(--ease-spring);
}

.pack-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pack-categories-grid.variant-c {
  grid-template-columns: 1fr;
  gap: 40px;
}

.pack-cat-card {
  padding: 26px;
  border-radius: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.pack-cat-card.glass-dark-card {
  background: #1c1e22;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.pack-cat-card.minimal-cat {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  padding: 24px 0 0;
}

.pack-cat-card h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.pack-cat-card.glass-dark-card h2 {
  color: rgba(255, 255, 255, 0.56);
}

.pack-item-group {
  border-bottom: 1px solid var(--hairline);
}

.pack-item-group:last-child {
  border-bottom: 0;
}

.pack-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  user-select: none;
}

.pack-socket-preview {
  margin: 0 6px 14px 42px;
  padding: 7px 14px 7px 7px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--bg-subtle);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-secondary);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-spring);
}

.pack-socket-preview:hover {
  border-color: rgba(29, 29, 31, 0.25);
  background: #f5f5f3;
  color: var(--ink);
  transform: translateY(-1px);
}

.pack-socket-preview img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.pack-dresscode-section {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--hairline);
}

.pack-dresscode-head {
  margin-bottom: 24px;
}

.pack-dresscode-head .display-md {
  margin: 0 0 8px;
}

.pack-dresscode-head .lead {
  margin: 0;
}

/* Dress Code Guide (Tropical Cocktail — Photos, Swatches & Tips) */
.dc-guide {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pack-dresscode-section .dc-guide {
  margin-top: 24px;
}

.dc-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dc-block-text h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.dc-block-text p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 66ch;
}

.dc-photo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.dc-photo-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 5;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: pointer;
}

.dc-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}

.dc-photo-tile:hover img {
  transform: scale(1.04);
}

.dc-photo-tile:hover .tl-photo-zoom {
  opacity: 1;
}

.dc-palette-bar {
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.dc-palette-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dc-palette-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.dc-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dc-swatch-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.dc-swatch-name {
  font-size: 12px;
  color: var(--ink-secondary);
}

.dc-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dc-tip-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fdfaf4;
  border: 1px solid rgba(138, 109, 59, 0.22);
}

.dc-tip-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(138, 109, 59, 0.1);
  color: var(--accent-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dc-tip-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 3px;
}

.dc-tip-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 768px) {
  .dc-photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .dc-tips-grid {
    grid-template-columns: 1fr;
  }

  .pack-socket-preview {
    margin-left: 36px;
  }
}

.pack-cat-card.glass-dark-card .pack-item {
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.pack-item:last-child {
  border-bottom: 0;
}

.pack-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pack-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--hairline-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s var(--ease-spring), border-color 0.22s ease, transform 0.28s var(--ease-spring);
}

.pack-cat-card.glass-dark-card .pack-checkbox {
  border-color: rgba(255, 255, 255, 0.34);
}

.pack-checkbox svg {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.18s ease, transform 0.28s var(--ease-spring);
}

.pack-item.checked .pack-checkbox {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  animation: tickBounce 0.36s var(--ease-spring);
}

.pack-cat-card.glass-dark-card .pack-item.checked .pack-checkbox {
  background: #ffffff;
  border-color: #ffffff;
  color: #1d1d1f;
}

.pack-item.checked .pack-checkbox svg {
  opacity: 1;
  transform: scale(1);
}

.pack-item.checked .pack-label {
  text-decoration: line-through;
  opacity: 0.48;
}

@keyframes tickBounce {
  0% { transform: scale(1); }
  45% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   CLOSING SECTION (Alexander the Great & Roxana — 327 BC)
   ========================================================================== */

.closing-editorial {
  padding: 112px 0 130px;
  background: #ffffff;
}

.closing-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.closing-centered {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.closing-diptych-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 14px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
}

.closing-diptych-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.closing-diptych-wrap:hover img {
  transform: scale(1.02);
}

.closing-diptych-wrap:hover .tl-photo-zoom {
  opacity: 1;
}

.closing-diptych-wrap.is-v1 {
  background: #ffffff;
}

.closing-diptych-wrap.is-v1 img {
  mix-blend-mode: multiply;
}

.closing-diptych-wrap.is-v2,
.closing-diptych-wrap.is-v3 {
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 56px rgba(18, 24, 34, 0.08);
}

.closing-era-row {
  max-width: 820px;
  margin: 0 auto 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.closing-era-line {
  flex: 1;
  height: 1px;
  background: var(--hairline-strong);
}

.closing-illustration {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.closing-archival-frame {
  background: #faf8f4;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin: 0 auto 22px;
  color: var(--ink);
}

.glass-dark .closing-quote {
  color: #ffffff;
}

.closing-sig {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   GIFT LIST PAGE (Variants A: Luminous Cards · B: Bento · C: Editorial List)
   ========================================================================== */

.gifts-about-box {
  max-width: 680px;
  margin-bottom: 54px;
}

.gifts-grid-a {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gifts-grid-b {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gift-card {
  padding: 18px 24px 18px 18px;
  border-radius: 26px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}

.gift-card-media {
  width: 152px;
  min-height: 152px;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f4f0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.gift-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-spring);
}

.gift-card:hover .gift-card-media img {
  transform: scale(1.045);
}

.gift-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0;
  min-width: 0;
}

.gift-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.gift-card.variant-b {
  background: linear-gradient(155deg, rgba(28, 32, 40, 0.94), rgba(18, 21, 27, 0.96));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.gift-card.variant-b .gift-card-media {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.gift-card.variant-b p,
.gift-card.variant-b .gift-progress-meta {
  color: rgba(255, 255, 255, 0.74);
}

.gift-card.variant-b .gift-price-pill {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.gift-card.variant-b .gift-progress-track {
  background: rgba(255, 255, 255, 0.14);
}

.gift-card.variant-b .gift-progress-fill {
  background: #ffffff;
}

.gift-card.claimed-pulse {
  animation: tickBounce 0.45s var(--ease-spring);
}

.gift-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.gift-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gift-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.gift-price-pill {
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 500;
}

.gift-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gift-progress-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.gift-progress-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 99px;
  transition: width 0.5s var(--ease-spring);
}

.gift-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.gift-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Gift Variant C: Large Image Editorial Gallery Cards */
.gifts-gallery-c {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.gift-editorial-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 34px rgba(18, 24, 34, 0.045);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}

.gift-editorial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(18, 24, 34, 0.085);
}

.gift-editorial-card.claimed-pulse {
  animation: tickBounce 0.45s var(--ease-spring);
}

.gift-ed-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  background: #f5f4f0;
  overflow: hidden;
  cursor: zoom-in;
}

.gift-ed-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.55s var(--ease-spring);
}

.gift-editorial-card:hover .gift-ed-media img {
  transform: scale(1.035);
}

.gift-ed-media:hover .tl-photo-zoom {
  opacity: 1;
}

.gift-ed-body {
  flex: 1;
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.gift-ed-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.gift-ed-top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.gift-ed-top p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.gift-ed-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
}

/* Full-width 5th feature spread (Boat day) on desktop */
.gift-editorial-card.is-feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.35fr minmax(0, 1fr);
}

.gift-editorial-card.is-feature-wide .gift-ed-media {
  aspect-ratio: auto;
  min-height: 360px;
  height: 100%;
}

.gift-editorial-card.is-feature-wide .gift-ed-body {
  padding: 34px 36px;
}

.gift-editorial-card.is-feature-wide .gift-ed-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.gift-editorial-card.is-feature-wide .gift-ed-top h3 {
  font-size: 34px;
}

/* Legacy fallback */
.gifts-list-c {
  border-top: 1px solid var(--hairline);
}

.gift-row-c {
  display: grid;
  grid-template-columns: 96px 1.35fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}

.gift-row-c-media {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f4f0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gift-row-c-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.gift-row-c:hover .gift-row-c-media img {
  transform: scale(1.05);
}

.gift-row-c h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}

.gift-row-c p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.payment-panel {
  margin-top: 64px;
  padding: 36px;
  border-radius: 28px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.payment-box {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--hairline);
}

.payment-box h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.iban-code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  margin-bottom: 12px;
  word-break: normal;
  overflow-wrap: break-word;
}

.gifts-other-panel {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  max-width: 680px;
}

.gifts-other-panel .display-md {
  margin-bottom: 12px;
}

.gifts-other-panel .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* ==========================================================================
   PASSWORD GATE (with Live Ambient Villa Portal Background)
   ========================================================================== */

.gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.gate-bg-photo {
  position: absolute;
  inset: 28px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-portal);
}

.gate-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

.gate-card {
  position: relative;
  z-index: 3;
  width: min(500px, 100%);
  padding: 40px 36px 32px;
  text-align: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.94) 52%, rgba(255, 255, 255, 0) 100%);
}

.gate-floral-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-floral-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.92;
  user-select: none;
}

.gate-floral-img.is-br-mobile {
  display: none;
}

.gate-floral-crest {
  display: block;
  width: 176px;
  max-width: 58%;
  height: auto;
  margin: 0 auto 14px;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

.gate-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px auto 24px;
  max-width: 440px;
}

.gate-lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 8px;
  border-radius: 16px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s ease;
}

.gate-lang-card:hover:not(.is-active) {
  border-color: rgba(29, 29, 31, 0.26);
  background: #fafaf9;
  transform: translateY(-1px);
}

.gate-lang-card:active {
  transform: scale(0.97);
}

.gate-lang-card.is-active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 29, 31, 0.16);
}

.gate-lang-flag {
  display: inline-flex;
  width: 30px;
  height: 21px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.gate-lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.gate-lang-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 368px;
  margin: 22px auto 0;
}

@media (max-width: 768px) {
  .gate-floral-img.is-main {
    position: absolute;
    top: 48px;
    left: 0;
    width: 740px;
    height: 416px;
    max-width: none;
    object-fit: contain;
    opacity: 0.85;
  }

  .gate-floral-img.is-br-mobile {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 740px;
    height: 416px;
    max-width: none;
    object-fit: contain;
    opacity: 0.85;
  }
}

@media (max-width: 680px) {
  .gate-floral-crest {
    width: 146px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .gate-card {
    padding: 32px 20px 28px;
  }

  .gate-lang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.gate-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gate-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.08);
}

.glass-dark .gate-input {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.glass-dark .gate-input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.gate-error {
  color: #c62828;
  font-size: 13px;
  margin: 4px 0 0;
}

.glass-dark .gate-error {
  color: #ffb4ab;
}

/* ==========================================================================
   ADMIN PAGE
   ========================================================================== */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 36px;
}

.stat-card {
  padding: 24px;
  border-radius: 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.stat-card .stat-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  margin-top: 6px;
}

.admin-table-wrap {
  border-radius: 22px;
  border: 1px solid var(--hairline);
  overflow-x: auto;
  background: #ffffff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}

.admin-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  background: var(--bg-subtle);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   MODALS & LIGHTBOX
   ========================================================================== */

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden],
.lightbox[hidden] {
  display: none;
}

.modal-backdrop,
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 21, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-sheet {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.lightbox-frame {
  position: relative;
  z-index: 2;
  max-width: min(1040px, 94vw);
  max-height: 90vh;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
}

.lightbox-frame img {
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  border-radius: 16px;
}

.lightbox-caption {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 12px 0 4px;
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--hairline-strong);
  background: #ffffff;
  font-size: 15px;
  outline: none;
}

.field-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.stepper .stepper-val {
  min-width: 90px;
  text-align: center;
  font-weight: 550;
  font-size: 16px;
}

/* ==========================================================================
   HOVER-COLLAPSIBLE VARIANT SANDBOX (Vision Pro Glass Floating Pill)
   ========================================================================== */

.variant-sandbox {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sandbox-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(24, 28, 34, 0.78);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease-spring), background 0.2s ease;
}

.sandbox-trigger:hover {
  transform: translateY(-2px);
  background: rgba(24, 28, 34, 0.9);
}

.sandbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 10px rgba(110, 231, 183, 0.8);
}

.sandbox-current-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.92);
}

.sandbox-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 300px;
  max-height: min(74vh, 560px);
  overflow-y: auto;
  padding: 16px;
  border-radius: 22px;
  background: rgba(24, 28, 34, 0.84);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.24s var(--ease-spring), transform 0.28s var(--ease-spring), visibility 0.24s;
}

/* Invisible hover bridge between trigger and panel so mouse never loses hover */
.sandbox-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.variant-sandbox:hover .sandbox-panel,
.variant-sandbox.is-open .sandbox-panel,
.variant-sandbox.is-pinned .sandbox-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.sandbox-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.sandbox-title {
  font-size: 13px;
  font-weight: 600;
}

.sandbox-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.sandbox-header-actions {
  display: flex;
  gap: 6px;
}

.sandbox-pin,
.sandbox-copy {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.sandbox-pin.active {
  background: #ffffff;
  color: #1d1d1f;
}

.sandbox-group {
  margin-bottom: 12px;
}

.sandbox-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sandbox-group-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.sandbox-group-head .sandbox-group-label {
  margin-bottom: 0;
}

.sandbox-quick-all {
  display: flex;
  gap: 4px;
}

.sandbox-quick-all button {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.sandbox-quick-all button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.sandbox-segmented {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 11px;
}

.sandbox-segmented button {
  flex: 1;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  padding: 5px 6px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.sandbox-segmented button.active {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 550;
}

.sandbox-sections {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sandbox-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.18s ease;
}

.sandbox-sec-row.in-view {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.sandbox-sec-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.sandbox-sec-pills {
  display: flex;
  gap: 3px;
}

.sandbox-sec-pills button {
  width: 26px;
  height: 22px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.sandbox-sec-pills button.active {
  background: #ffffff;
  color: #1d1d1f;
}

.sandbox-legend {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.58);
}

.sandbox-legend b {
  color: #ffffff;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 950;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, 0.9);
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   RESPONSIVE (Mobile & Tablet)
   ========================================================================== */

@media (max-width: 960px) {
  .timeline-glass-grid,
  .tl-vision-layout,
  .essentials-trio,
  .essentials-split,
  .closing-split,
  .gifts-grid-a,
  .gifts-grid-b,
  .payment-grid,
  .pack-categories-grid {
    grid-template-columns: 1fr;
  }

  .gifts-grid-b .gift-card:first-child,
  .gifts-grid-b .gift-card:nth-child(4) {
    grid-column: span 1;
  }

  .tl-v1-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0 14px;
    padding-bottom: 48px;
  }

  .tl-v1-datecol {
    grid-column: 2;
    text-align: left;
    margin-bottom: 10px;
  }

  .tl-v1-rail {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .tl-v1-content {
    grid-column: 2;
  }

  .tl-v2-center-line {
    left: 19px;
  }

  .tl-v2-item.is-left,
  .tl-v2-item.is-right {
    padding-left: 48px;
  }

  .tl-v2-item.is-left .tl-v2-node,
  .tl-v2-item.is-right .tl-v2-node {
    left: 19px;
    top: 4px;
    width: 34px;
    height: 34px;
  }

  .tl-v2-item.is-left .tl-v2-card,
  .tl-v2-item.is-right .tl-v2-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tl-v2-item.is-right .tl-v2-body {
    order: 1;
  }

  .tl-v2-item.is-right .tl-v2-media {
    order: 2;
  }

  .tl-v2-item.is-spotlight .tl-v2-card {
    padding: 28px 18px 22px;
  }

  .tl-v3-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .tl-v3-rail-line {
    display: none;
  }

  .tl-v3-top-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tl-v3-inner {
    padding: 24px 18px;
  }

  .tl-grid-spread.count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .tl-grid-spread.count-3 .tile-1 {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .tl-photo-grid.count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-photo-grid.count-4 .tile-1,
  .tl-photo-grid.count-4 .tile-4 {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .tl-photo-grid.count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-photo-grid.count-5 .tile-1,
  .tl-photo-grid.count-5 .tile-5 {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .tl-photo-grid.count-5 .tile-2,
  .tl-photo-grid.count-5 .tile-3,
  .tl-photo-grid.count-5 .tile-4 {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .villa-tray-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .villa-tile:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }

  .villa-tile {
    aspect-ratio: 4 / 3;
  }

  .villa-ed-1, .villa-ed-2, .villa-ed-3, .villa-ed-4, .villa-ed-5 {
    grid-column: span 12;
    margin-top: 0;
  }

  .gifts-gallery-c {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gift-editorial-card.is-feature-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .gift-editorial-card.is-feature-wide .gift-ed-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
  }

  .gift-editorial-card.is-feature-wide .gift-ed-body {
    padding: 22px 22px 24px;
  }

  .gift-ed-body {
    padding: 20px 20px 22px;
  }

  .gift-ed-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gift-row-c {
    grid-template-columns: 84px 1fr;
    gap: 14px 18px;
  }

  .gift-row-c-media {
    width: 84px;
    height: 84px;
    grid-row: span 2;
  }

  .gift-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .gift-card-media {
    width: 120px;
    min-height: 120px;
  }
}

@media (max-width: 560px) {
  .gift-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .gift-card-media {
    width: 100%;
    height: 190px;
    min-height: 190px;
  }

  .gift-card-body {
    padding: 2px 4px 4px;
  }
}

@media (max-width: 860px) {
  .tl-phuket-map-card {
    grid-template-columns: 1fr;
  }

  .tl-phuket-map-visual {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .tl-phuket-map-info {
    padding: 20px 20px 22px;
  }
}

@media (max-width: 768px) {
  /* Non-hero spatial portals flow naturally below a glowing scrubbable villa window on mobile (zero clipped cards!) */
  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) {
    min-height: auto;
    padding: 18px 0 44px;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-sticky {
    position: relative;
    height: auto;
    padding: 0 14px;
    overflow: visible;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-shell {
    height: auto;
    width: 100%;
    transform: none;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-memory-frame {
    border-radius: 26px;
    padding: 12px 12px 14px;
    overflow: visible;
    box-shadow: 0 22px 54px rgba(18, 24, 34, 0.12);
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-chrome-title {
    display: none;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-aura-canvas {
    inset: 0;
    width: 100%;
    height: 260px;
    border-radius: 26px;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-frame-frost {
    border-radius: 26px;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-window {
    height: auto;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-window::after {
    display: none;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-canvas {
    width: 100%;
    height: 225px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-glow-canvas {
    height: 245px;
    bottom: auto;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-scrubber {
    top: 210px;
    bottom: auto;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-overlay-wrap {
    position: relative;
    inset: auto;
    padding: 0 2px;
    margin-top: -22px;
    display: block;
  }

  .portal-stage:not(.hero-a):not(.hero-b):not(.hero-b-spatial):not(.hero-fly-stage):not(.hero-d):not(.tour-stage) .portal-overlay-card {
    opacity: 1 !important;
    transform: none !important;
    max-height: none;
    overflow: visible;
    padding: 20px 16px 16px;
  }

  .tour-stage.portal-stage {
    min-height: 1350vh;
  }

  .tour-rail {
    bottom: 66px;
    left: 50%;
    padding: 7px 12px;
    gap: 10px;
  }

  .tour-rail-label {
    font-size: 10.5px;
  }

  .tour-rail-dots {
    gap: 5px;
  }

  .tour-scroll-cue {
    bottom: 110px;
  }

  .hero-a .portal-memory-frame {
    border-radius: 26px;
    padding: 10px 10px 12px;
  }

  .hero-a .portal-chrome-title {
    display: none;
  }

  .hero-a .portal-window {
    border-radius: 18px;
  }

  .tl-mini-caption {
    -webkit-line-clamp: unset;
  }

  .villa-vp-grid {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
  }

  .villa-vp-grid .villa-tile {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .villa-vp-grid .villa-tile:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 680px) {
  :root {
    --radius-portal: 22px;
    --radius-glass: 22px;
  }

  .site-header {
    top: 10px;
    padding: 0 12px;
  }

  .header-inner {
    flex-wrap: wrap;
    border-radius: 20px;
    gap: 6px 10px;
    padding: 8px 12px;
    width: 100%;
    justify-content: space-between;
  }

  .brand-mark {
    font-size: 14px;
    order: 1;
  }

  .header-right {
    order: 2;
    gap: 6px;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links:empty {
    display: none;
  }

  .nav-links button,
  .nav-links a {
    padding: 5px 10px;
    font-size: 12.5px;
    flex: 1;
    text-align: center;
  }

  .lang-switch button {
    padding: 4px 7px;
    font-size: 10.5px;
  }

  .hero-b-spatial.portal-stage,
  .hero-fly-stage.portal-stage {
    min-height: 195vh;
  }

  .hero-b-cue {
    bottom: 66px;
  }

  .page-top-pad {
    padding-top: 126px;
  }

  .tl-day-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tl-day-tab {
    flex-shrink: 0;
    gap: 8px;
  }

  .pack-teaser-wrap .pack-flatlay-stage.framed {
    padding-bottom: 132px;
  }

  .pack-teaser-overlay {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px 16px;
    bottom: 12px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .container,
  .container-narrow {
    padding: 0 18px;
  }

  .tl-cal-sticky-bar {
    margin-bottom: 32px;
  }

  .tl-cal-strip {
    border-radius: 16px;
    padding: 4px;
    gap: 3px;
  }

  .tl-cal-day {
    border-radius: 11px;
    padding: 8px 2px 10px;
    gap: 2px;
  }

  .tl-cal-weekday {
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }

  .tl-cal-date {
    font-size: 11.5px;
  }

  .tl-cal-day.is-wedding::after {
    bottom: 4px;
    width: 3.5px;
    height: 3.5px;
  }

  .editorial-section,
  .pack-teaser-wrap,
  .closing-editorial {
    padding: 68px 0;
  }

  .variant-sandbox {
    right: 12px;
    bottom: 12px;
  }

  .sandbox-panel {
    width: min(296px, calc(100vw - 24px));
  }
}

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .portal-stage {
    min-height: auto !important;
  }
  .portal-sticky {
    position: relative !important;
    height: auto !important;
    padding: 80px 24px 36px;
  }
  .portal-overlay-card,
  .hero-float-pill {
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.closing-funfact {
  display: inline-block;
  margin: 0 auto 20px;
  padding: 6px 14px;
  border: 1px solid var(--line, rgba(0,0,0,.12));
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted, #777);
}
