/* =========================================================
   BaggageWise — Nexbit-inspired Design System
   Two-color professional palette: ink black + cream paper
   ========================================================= */

:root {
  --ink-950: #0a0a0a;
  --ink-900: #141414;
  --ink-800: #1f1f1f;
  --ink-700: #2e2e2e;
  --ink-600: #4a4a4a;
  --ink-500: #6b6b6b;
  --ink-400: #8e8e8e;
  --ink-300: #b8b8b8;
  --ink-200: #d8d8d8;
  --ink-100: #ececec;
  --ink-50:  #f5f4ef;

  --cream-50:  #faf8f3;
  --cream-100: #f3f0e8;
  --cream-200: #e8e3d4;
  --cream-300: #d6cfb8;

  --bg:       var(--cream-50);
  --surface:  #ffffff;
  --text:     var(--ink-900);
  --muted:    var(--ink-500);
  --line:     #e5e1d6;
  --accent:   var(--ink-900);

  --font-display: "Libre Caslon Text", "Playfair Display", Georgia, serif;
  --font-body:    "IBM Plex Sans", "Inter", system-ui, sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.08);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);

  --container: 1240px;
  --container-narrow: 980px;
  --gutter: clamp(20px, 3.4vw, 36px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s var(--ease-out), color 0.2s var(--ease-out); }
:focus-visible { outline: 2px solid var(--ink-900); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink-900); color: var(--cream-50); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-950);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5.8vw, 4.8rem); letter-spacing: -0.015em; line-height: 1.08; font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.01em; line-height: 1.15; font-weight: 400; }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.4rem); letter-spacing: -0.003em; font-weight: 400; line-height: 1.25; }
h4 { font-size: 1.1rem; font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(0.98rem, 1.35vw, 1.1rem); color: var(--ink-600); max-width: 60ch; line-height: 1.6; font-weight: 400; }

.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 500; color: var(--ink-700);
  margin-bottom: 28px; letter-spacing: 0.01em;
}
.tag-pill::before { content: ""; width: 6px; height: 6px; background: var(--ink-900); border-radius: 50%; flex-shrink: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 500; color: var(--ink-600);
  margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase;
}

.ital { font-style: italic; font-family: var(--font-display); font-weight: 400; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); position: relative; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 500; font-size: 0.97rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none; white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.btn--primary { background: var(--ink-900); color: var(--cream-50); padding-right: 8px; }
.btn--primary .btn-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-50); color: var(--ink-900);
  display: grid; place-items: center; margin-left: 4px;
  transition: transform 0.25s var(--ease-out);
}
.btn--primary:hover { background: #000; color: var(--cream-50); }
.btn--primary:hover .btn-icon { transform: rotate(-45deg); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-300); }
.btn--ghost:hover { border-color: var(--ink-900); background: var(--ink-900); color: var(--cream-50); }
.btn--cream { background: var(--cream-50); color: var(--ink-900); }
.btn--cream:hover { background: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0; background: transparent; transition: background 0.25s ease; }
.site-header.is-scrolled { background: rgba(250,248,243,0.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-sm); position: relative;
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; color: var(--ink-950); letter-spacing: -0.015em; }
.logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.logo:hover { color: var(--ink-950); opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--ink-700); font-weight: 400; font-size: 0.94rem; padding: 8px 2px; display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink-950); }
.has-dropdown > a svg.chev { transition: transform 0.2s ease; opacity: 0.5; }
.has-dropdown:hover > a svg.chev, .has-dropdown:focus-within > a svg.chev { transform: rotate(180deg); opacity: 1; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 8px; min-width: 300px; box-shadow: var(--shadow-lg);
  list-style: none; margin: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out); z-index: 50;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: 0.92rem; color: var(--ink-800); font-weight: 500; width: 100%; }
.dropdown a:hover { background: var(--cream-100); color: var(--ink-950); }
.dropdown small { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-900); color: var(--cream-50);
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: #000; color: var(--cream-50); }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink-900); color: var(--cream-50); }
.nav-toggle .bar { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after  { top:  6px; }

@media (max-width: 920px) {
  .nav { padding: 10px 12px 10px 18px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; inset: calc(100% + 8px) 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface); padding: 14px; gap: 0;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
    box-shadow: var(--shadow-lg); justify-content: flex-start; flex: none;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { padding: 14px 4px; font-size: 1rem; }
  .dropdown { position: static; transform: none; opacity: 1; pointer-events: auto; box-shadow: none; background: transparent; border: none; padding: 0 0 10px 14px; min-width: 0; }
  .dropdown a { padding: 8px 0; font-size: 0.9rem; }
}

/* Hero */
.hero { position: relative; padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px); overflow: hidden; }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; min-height: 580px; }
@media (max-width: 960px) { .hero__layout { grid-template-columns: 1fr; min-height: auto; } }
.hero__title { margin-bottom: 28px; max-width: 14ch; }
.hero__description { max-width: 48ch; font-size: clamp(0.98rem, 1.35vw, 1.1rem); color: var(--ink-600); line-height: 1.6; margin-bottom: 32px; }
.hero__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__rating-stars { display: inline-flex; gap: 2px; }
.hero__rating-stars svg { width: 16px; height: 16px; color: var(--ink-900); }
.hero__rating-text { font-size: 0.9rem; color: var(--ink-600); }
.hero__rating-text b { color: var(--ink-950); font-weight: 500; }
.hero__art { position: relative; height: clamp(380px, 50vw, 560px); display: flex; align-items: center; justify-content: center; }
.hero-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-lg); animation: float-y 5s ease-in-out infinite; }
.hero-card--main { width: 80%; max-width: 360px; z-index: 2; padding: 24px; }
.hero-card--top { top: 4%; right: 0; width: 56%; max-width: 270px; animation-delay: 0.5s; z-index: 3; }
.hero-card--bottom { bottom: 4%; left: 0; width: 54%; max-width: 260px; animation-delay: 1.2s; z-index: 3; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-card .row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hero-card .row:last-child { border-bottom: none; }
.hero-card .check { width: 18px; height: 18px; border-radius: 50%; background: var(--ink-900); color: var(--cream-50); display: grid; place-items: center; flex-shrink: 0; }
.hero-card .check svg { width: 10px; height: 10px; }
.hero-card .row-label { flex: 1; font-size: 0.88rem; color: var(--ink-800); font-weight: 500; }
.hero-card .row-pill { font-size: 0.72rem; font-weight: 500; padding: 3px 10px; background: var(--cream-100); border-radius: var(--r-pill); color: var(--ink-700); }
.hero-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 0.78rem; color: var(--ink-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-card__title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 400; letter-spacing: -0.01em; color: var(--ink-950); margin: 0; }
.hero-card__sub { font-size: 0.78rem; color: var(--ink-500); margin-top: 4px; }

/* Trusted marquee */
.trusted { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trusted__label { text-align: center; color: var(--ink-500); font-size: 0.95rem; margin-bottom: 32px; }
.trusted__label b { color: var(--ink-900); font-weight: 500; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 80px; animation: marquee 35s linear infinite; white-space: nowrap; width: max-content; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); color: var(--ink-700); font-weight: 400; letter-spacing: 0; font-style: italic; }
.marquee__item .dot { width: 6px; height: 6px; background: var(--ink-300); border-radius: 50%; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section head */
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; }

/* Impact cards */
.impact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
@media (max-width: 960px) { .impact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .impact-grid { grid-template-columns: 1fr; } }
.impact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 32px; position: relative; overflow: hidden; }
.impact-card--dark { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }
.impact-card--dark h3, .impact-card--dark .impact-num { color: var(--cream-50); }
.impact-card--dark p { color: rgba(250,248,243,0.7); }
.impact-num { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1; color: var(--ink-950); display: inline-flex; align-items: baseline; gap: 4px; }
.impact-num .suffix { font-size: 0.5em; color: var(--ink-500); }
.impact-card--dark .impact-num .suffix { color: rgba(250,248,243,0.6); }
.impact-card p { color: var(--ink-600); font-size: 0.96rem; margin: 12px 0 0; max-width: 28ch; }
.impact-card .stars { display: inline-flex; gap: 2px; margin-top: 6px; }
.impact-card .stars svg { width: 14px; height: 14px; color: var(--ink-900); }
.impact-card--dark .stars svg { color: var(--cream-50); }
.impact-card__avatars { display: inline-flex; margin-bottom: 18px; }
.impact-card__avatars .avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--surface); background: var(--cream-200); margin-left: -10px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 600; color: var(--ink-800); }
.impact-card__avatars .avatar:first-child { margin-left: 0; }
.impact-card--dark .impact-card__avatars .avatar { border-color: var(--ink-900); }

/* Calculator */
.calc { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-card); position: relative; }
.calc__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.calc__title h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.calc__title .badge { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--cream-100); color: var(--ink-800); padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; align-self: center; border: 1px solid var(--line); }
.calc__sub { color: var(--muted); margin-bottom: 26px; font-size: 0.95rem; }
.calc__steps { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.step-pill { font-size: 0.74rem; font-weight: 500; padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream-100); color: var(--ink-700); border: 1px solid var(--line); }
.step-pill.is-active { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }
.shipment-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 22px; }
@media (max-width: 720px) { .shipment-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .shipment-grid { grid-template-columns: repeat(2, 1fr); } }
.shipment-option { position: relative; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 8px 12px; text-align: center; cursor: pointer; transition: all 0.2s var(--ease-out); user-select: none; }
.shipment-option:hover { border-color: var(--ink-700); transform: translateY(-2px); }
.shipment-option input { position: absolute; opacity: 0; pointer-events: none; }
.shipment-option .icon-circle { width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: all 0.2s ease; }
.shipment-option .icon-circle svg { width: 24px; height: 24px; color: var(--ink-800); }
.shipment-option .label { font-size: 0.82rem; font-weight: 500; color: var(--ink-700); }
.shipment-option.is-selected { background: var(--ink-900); border-color: var(--ink-900); }
.shipment-option.is-selected .icon-circle { background: var(--cream-50); border-color: var(--cream-50); }
.shipment-option.is-selected .icon-circle svg { color: var(--ink-900); }
.shipment-option.is-selected .label { color: var(--cream-50); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--ink-700); }
.field input, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-family: inherit; font-size: 0.98rem; background: var(--surface); color: var(--text); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink-700); box-shadow: 0 0 0 4px rgba(0,0,0,0.05); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px; }
.qty-row .info b { color: var(--ink-950); font-weight: 500; }
.qty-row .info span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qty-ctrl button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink-700); background: var(--surface); color: var(--ink-900); font-size: 1rem; font-weight: 500; display: grid; place-items: center; transition: all 0.15s ease; }
.qty-ctrl button:hover { background: var(--ink-900); color: var(--cream-50); }
.qty-ctrl .qty-val { min-width: 22px; text-align: center; font-weight: 500; color: var(--ink-950); font-variant-numeric: tabular-nums; }
.checkbox-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--cream-50); border-radius: var(--r-md); cursor: pointer; border: 1px solid var(--line); transition: border-color 0.2s ease; }
.checkbox-row:hover { border-color: var(--ink-700); }
.checkbox-row input { accent-color: var(--ink-900); width: 16px; height: 16px; }
.checkbox-row span { font-size: 0.9rem; font-weight: 400; color: var(--ink-700); }
.result-card { margin-top: 22px; padding: 26px; border-radius: var(--r-lg); background: var(--ink-900); color: var(--cream-50); position: relative; overflow: hidden; }
.result-card .price { font-family: var(--font-display); font-size: clamp(2.3rem, 5.3vw, 3rem); font-weight: 400; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.result-card .price-meta { font-size: 0.9rem; opacity: 0.75; margin-top: 8px; }
.result-card .breakdown { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(250,248,243,0.15); font-size: 0.9rem; }
.result-card .breakdown-row { display: flex; justify-content: space-between; padding: 5px 0; font-variant-numeric: tabular-nums; }
.result-card .breakdown-row span:first-child { opacity: 0.85; }
.result-card .disclaimer-mini { margin-top: 14px; font-size: 0.76rem; opacity: 0.55; line-height: 1.55; }

/* Feature card */
.feature-card { background: var(--surface); border-radius: var(--r-xl); padding: 32px; border: 1px solid var(--line); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); height: 100%; overflow: hidden; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-100); color: var(--ink-800); margin-bottom: 18px; border: 1px solid var(--line); }
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.96rem; line-height: 1.6; }

/* Step card */
.step-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); height: 100%; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card .step-label { display: inline-block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
.step-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.step-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 22px; }
.step-card .visual { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; aspect-ratio: 5 / 3; display: grid; place-items: center; }

/* Post card */
.post-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); display: flex; flex-direction: column; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16 / 10; background: var(--cream-100); position: relative; overflow: hidden; }
.post-card__img svg { width: 100%; height: 100%; }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card__date { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 0.93rem; flex: 1; margin: 0; }

/* Policy card */
.policy-card { display: block; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); height: 100%; }
.policy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.policy-card .airline-mark { width: 52px; height: 52px; border-radius: var(--r-sm); margin-bottom: 18px; display: grid; place-items: center; background: var(--ink-900); color: var(--cream-50); font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; }
.policy-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.policy-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 18px; }
.policy-card .arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.9rem; color: var(--ink-900); }
.policy-card:hover .arrow svg { transform: translateX(4px); }
.policy-card .arrow svg { width: 14px; height: 14px; transition: transform 0.2s ease; }

/* Size chart */
.size-chart { background: var(--surface); border-radius: var(--r-xl); padding: 8px; border: 1px solid var(--line); overflow-x: auto; box-shadow: var(--shadow-sm); }
.size-chart table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.size-chart th, .size-chart td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.size-chart th { background: var(--cream-100); color: var(--ink-900); font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.size-chart th:first-child { border-top-left-radius: 12px; }
.size-chart th:last-child { border-top-right-radius: 12px; }
.size-chart tr:last-child td { border-bottom: none; }
.size-chart td b { color: var(--ink-950); font-weight: 500; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 10px; transition: border-color 0.2s ease; }
.faq details[open] { border-color: var(--ink-700); }
.faq summary { font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; color: var(--ink-950); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; letter-spacing: 0; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-100); color: var(--ink-900); display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; font-family: var(--font-body); transition: transform 0.25s var(--ease-out), background 0.2s ease; border: 1px solid var(--line); }
.faq details[open] summary::after { content: "−"; background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }
.faq p { margin: 14px 0 0; color: var(--ink-600); font-size: 0.96rem; }

/* CTA banner */
.cta-banner { border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px); background: var(--ink-900); color: var(--cream-50); position: relative; overflow: hidden; text-align: center; }
.cta-banner h2 { color: var(--cream-50); }
.cta-banner p { color: rgba(250,248,243,0.7); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-banner .eyebrow { color: rgba(250,248,243,0.6); }

/* Footer */
.site-footer { background: var(--ink-950); color: rgba(250,248,243,0.65); padding: 80px 0 32px; margin-top: 60px; position: relative; overflow: hidden; }
.site-footer h4 { color: var(--cream-50); font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer a { color: rgba(250,248,243,0.65); display: inline-block; padding: 3px 0; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--cream-50); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(250,248,243,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; color: rgba(250,248,243,0.45); }

/* Author */
.author-block { display: flex; gap: 18px; padding: 24px; background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); align-items: center; }
.author-block .avatar { width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; background: var(--ink-900); display: grid; place-items: center; color: var(--cream-50); }
.author-block .avatar svg { width: 30px; height: 30px; }
.author-block .name { font-weight: 500; color: var(--ink-950); margin: 0 0 2px; font-size: 1rem; }
.author-block .role { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article header { margin-bottom: 36px; }
.article header h1 { margin-bottom: 18px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }
.article__meta .dot-sep { color: var(--ink-300); }
.article__hero { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--cream-100); margin-bottom: 36px; border: 1px solid var(--line); }
.article__hero svg { width: 100%; height: 100%; }
.article p { font-size: 1.02rem; line-height: 1.78; color: var(--ink-700); }
.article p strong { color: var(--ink-950); font-weight: 500; }
.article h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.article h3 { margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.article li { margin-bottom: 0.55em; line-height: 1.7; color: var(--ink-700); }
.article li::marker { color: var(--ink-900); }
.article blockquote { border-left: 3px solid var(--ink-900); padding: 12px 24px; margin: 28px 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-900); font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.callout { background: var(--cream-100); border: 1px solid var(--line); padding: 22px 26px; border-radius: var(--r-lg); margin: 28px 0; }
.callout strong { color: var(--ink-950); font-weight: 500; }
.callout p:last-child { margin-bottom: 0; }
.callout--warning { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }
.callout--warning strong { color: var(--cream-50); }
.toc { background: var(--cream-100); border: 1px solid var(--line); padding: 22px 28px; border-radius: var(--r-lg); margin: 28px 0; }
.toc h4 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-700); font-family: var(--font-body); font-weight: 500; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { font-size: 0.96rem; margin-bottom: 6px; color: var(--ink-700); }
.toc li a { color: var(--ink-900); }
.toc li a:hover { opacity: 0.6; }

/* Crumbs */
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink-900); }
.crumbs .sep { color: var(--ink-300); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Split mask */
.split-mask { position: relative; display: inline-block; overflow: clip; }
.split-mask > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-out); }
.split-mask.is-visible > span { transform: translateY(0); }
.split-mask[data-delay="1"] > span { transition-delay: 0.08s; }
.split-mask[data-delay="2"] > span { transition-delay: 0.16s; }
.split-mask[data-delay="3"] > span { transition-delay: 0.24s; }
.split-mask[data-delay="4"] > span { transition-delay: 0.32s; }
.split-mask[data-delay="5"] > span { transition-delay: 0.40s; }
.split-mask[data-delay="6"] > span { transition-delay: 0.48s; }

/* Page hero */
.page-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); text-align: center; position: relative; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 18px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.page-hero p.lead { margin-left: auto; margin-right: auto; }

/* Contact form */
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-family: inherit; font-size: 1rem; resize: vertical; min-height: 140px; background: var(--surface); }
.contact-form textarea:focus { outline: none; border-color: var(--ink-700); box-shadow: 0 0 0 4px rgba(0,0,0,0.05); }

/* Util */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--ink-900); color: var(--cream-50); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 500; z-index: 100; }
.skip-link:focus { top: 16px; color: var(--cream-50); }

@media print { .site-header, .site-footer, .nav-toggle, .btn { display: none !important; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; } .split-mask > span { transform: none; } }
