/* ═══════════════════════════════════════════════════════════════
   Away — Design System v3 (Luxury Edition)
   Poppins 900 headings · Raleway 400 body · Clay accent
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&family=Raleway:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  /* Colours */
  --bg:        #181819;
  --bg-card:   #1c1d1e;
  --bg-card2:  #202122;
  --bg-input:  #2d3132;
  --clay:      #9b8272;
  --clay-l:    #b8a090;
  --clay-xs:   rgba(155,130,114,0.08);
  --white:     #ffffff;
  --text:      #d0d0d0;
  --text-dim:  #7a7a7a;
  --green:     #5a9e68;
  --amber:     #b8923a;
  --red-soft:  #b85858;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, sans-serif;
  --font-body:    'Raleway', -apple-system, sans-serif;

  /* Scale — single source of truth */
  --text-h1:   clamp(36px, 5.5vw, 68px);
  --text-h2:   clamp(26px, 3.5vw, 42px);
  --text-h3:   clamp(18px, 2vw, 24px);
  --text-h4:   16px;
  --text-h5:   14px;
  --text-body: 15px;
  --text-sm:   13px;
  --text-xs:   11px;
  --text-2xs:  10px;

  /* Spacing */
  --gutter:         60px;
  --gutter-mobile:  20px;
  --section-pad:    96px;
  --section-pad-m:  64px;
  --card-pad:       28px;
  --card-pad-sm:    20px;

  /* Radii */
  --r-xl:  20px;
  --r-lg:  16px;
  --r-md:  12px;
  --r-sm:  10px;
  --r-xs:  8px;

  /* Borders */
  --border:     1px solid rgba(155,130,114,0.1);
  --border-lg:  1px solid rgba(155,130,114,0.2);
  --border-glow: 1px solid rgba(155,130,114,0.35);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; }

/* ── TYPOGRAPHY SCALE — absolute consistency ── */
h1, .h1 {
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  font-size: var(--text-h1) !important;
  color: var(--white) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.01em;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h2, .h2 {
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  font-size: var(--text-h2) !important;
  color: var(--white) !important;
  line-height: 1.12 !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h3, .h3 {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: var(--text-h3) !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
  font-synthesis: none;
}
h4, .h4 {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: var(--text-h4) !important;
  color: var(--white) !important;
  line-height: 1.3 !important;
}
h5, .h5, h6, .h6 {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: var(--text-h5) !important;
  color: var(--white) !important;
}

/* Class aliases used across pages */
.hero-headline, .guide-hero-h1, .abt-h1, .art-hero-title, .article-title,
.four-oh-four-title, .ga-title, .ob-title { font-size: var(--text-h1) !important; font-family: var(--font-heading) !important; font-weight: 900 !important; color: var(--white) !important; line-height: 1.06 !important; }

.section-title, .page-title, .abt-title, .ct-title, .art-card-title,
.wb-title, .guide-cta h2, .ga-confirm-title { font-size: var(--text-h2) !important; font-family: var(--font-heading) !important; font-weight: 900 !important; color: var(--white) !important; line-height: 1.12 !important; }

.step-title, .who-title, .provide-title, .infra-title, .cc-title,
.score-tier, .ga-section-title, .calc-header h3, .art-email-title { font-size: var(--text-h3) !important; font-family: var(--font-heading) !important; font-weight: 700 !important; color: var(--white) !important; }

/* Body copy — all the same */
p, li, .section-body, .hero-sub, .guide-hero-sub, .ob-sub,
.abt-body p, .abt-hero-sub, .abt-cta-sub, .art-hero-sub,
.art-card-excerpt, .art-email-sub, .article-body p,
.ga-sub, .ct-sub, .who-desc, .provide-desc, .infra-desc,
.cc-desc, .step-desc, .faq-a, .guide-cta p, .testi-q,
.sa-bio, .sidebar-cta p, .compliance-note, .prac-bio,
.review-text, .booking-tagline, .gt-quote {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: var(--text-body) !important;
  color: var(--white) !important;
  line-height: 1.78 !important;
}

/* Eyebrow / label */
.eyebrow, .wb-eyebrow, .ga-eyebrow, .art-hero-eyebrow,
.provide-tag, .infra-badge, .prop-tag, .feat-discipline {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: var(--text-2xs) !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--clay) !important;
  font-style: normal !important;
}

/* Dim / metadata — stays subdued */
.text-dim, .stat-card-label, .kpi-label, .nav-section-label,
.detail-label, .form-field label, .ga-field label, .ct-field label,
.calc-label, .trend-x-labels, .result-label, .signal-label,
.bio-status, .int-duration, .art-card-meta, .article-meta,
.score-label, .wb-sub, .ga-step-hint, .checkin-hint,
.prac-stat, .review-date, .similar-loc, .match-loc,
.progress-step-label:not(.active), .ga-step-label:not(.active),
.art-filter:not(.active), .team-role, .sa-role, .oc-desc,
.calc-disclaimer, .art-read-time, .rb-title, .ie-sub {
  font-family: var(--font-body) !important;
  font-size: var(--text-xs) !important;
  color: var(--text-dim) !important;
  font-weight: 500 !important;
}

/* ── ICON SVG SYSTEM — replaces all emoji ── */
.away-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(155,130,114,0.1);
  flex-shrink: 0;
}
.away-icon svg { width: 18px; height: 18px; color: var(--clay); }
.away-icon.sm { width: 32px; height: 32px; border-radius: 8px; }
.away-icon.sm svg { width: 14px; height: 14px; }
.away-icon.lg { width: 52px; height: 52px; border-radius: 14px; }
.away-icon.lg svg { width: 22px; height: 22px; }
.away-icon.green { background: rgba(90,158,104,0.1); }
.away-icon.green svg { color: var(--green); }
.away-icon.amber { background: rgba(184,146,58,0.1); }
.away-icon.amber svg { color: var(--amber); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  background: var(--clay);
  color: var(--white) !important;
  border: none; border-radius: var(--r-sm);
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(155,130,114,0.2);
}
.btn-primary:hover { background: var(--clay-l); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(155,130,114,0.3); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-sm);
  font-family: var(--font-heading); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s; backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(155,130,114,0.4); color: var(--white) !important; background: rgba(155,130,114,0.07); }

.btn-nav {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  background: var(--clay); color: var(--white) !important;
  border: none; border-radius: var(--r-xs);
  font-family: var(--font-heading); font-weight: 700; font-size: 12px;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(155,130,114,0.18);
}
.btn-nav:hover { background: var(--clay-l); }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover { border-color: rgba(155,130,114,0.25); }
.card.interactive:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* ── NAV ── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  transition: all 0.3s;
}
.top-nav.scrolled {
  background: rgba(24,24,25,0.96); backdrop-filter: blur(24px);
  border-bottom: var(--border); padding-top: 14px; padding-bottom: 14px;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-heading); font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ── SECTION PATTERNS ── */
.section { padding: var(--section-pad) var(--gutter); }
.section-sm { padding: 64px var(--gutter); }
.section-xs { padding: 48px var(--gutter); }
.section-dark { background: var(--bg-card); }
.section-clay { background: rgba(155,130,114,0.04); border-top: var(--border); border-bottom: var(--border); }

/* ── GRID SYSTEM ── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ── PILL / TAG ── */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 5px;
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--text-2xs); letter-spacing: 0.1em; text-transform: uppercase;
}
.pill-clay  { background: rgba(155,130,114,0.12); color: var(--clay); }
.pill-green { background: rgba(90,158,104,0.12); color: var(--green); }
.pill-amber { background: rgba(184,146,58,0.12); color: var(--amber); }
.pill-red   { background: rgba(184,88,88,0.12); color: var(--red-soft); }
.pill-blue  { background: rgba(80,120,200,0.12); color: #7090d0; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── FORM ELEMENTS ── */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-2xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
}
.field input, .field select, .field textarea {
  background: var(--bg-input); border: 1px solid rgba(155,130,114,0.14);
  border-radius: var(--r-sm); padding: 13px 15px;
  font-family: var(--font-body); font-size: 14px; color: var(--white);
  outline: none; transition: border-color 0.2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(155,130,114,0.25); border-radius: 2px; }

/* ── MOBILE GLOBAL ── */
@media(max-width:900px) {
  :root {
    --gutter: var(--gutter-mobile);
    --section-pad: var(--section-pad-m);
  }
  .section, .section-sm { padding: var(--section-pad-m) var(--gutter-mobile); }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  body { overflow-x: hidden; }
  * { max-width: 100%; }
  img { max-width: 100% !important; }
}

/* ── KEYFRAMES ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes heartPop { 0%{transform:scale(1)} 30%{transform:scale(0.82)} 65%{transform:scale(1.3)} 100%{transform:scale(1)} }
