/* ═══════════════════════════════════════════════════════════════════════
   Careers Ahoy! — Shell Styles
   Shared design tokens + components. Every page imports this file.
   Do not override tokens locally; extend with new tokens here if needed.
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;700;800&family=Fraunces:ital,wght@0,400;0,500;1,400;1,500&family=JetBrains+Mono:wght@400;500;700&family=Press+Start+2P&display=swap');

/* ═══ 01 · TOKENS ═══ */
:root {
  /* Platform palette */
  --cream: #FFFDF5;
  --cream-bg: #F4EFE3;
  --mint: #B9E5E8;
  --yellow: #FFD93D;
  --yellow-soft: #FFE29C;
  --coral: #EF6B8E;
  --coral-soft: #FFB5C5;
  --lilac: #D8C9F0;
  --purple: #4C3A9A;
  --purple-dk: #3A2D78;
  --beige-border: #EAE0CC;

  /* Archetype palette (locked) */
  --build: #16213E;
  --create: #E8613A;
  --care: #3EC9A7;
  --protect: #7E2E3E;
  --manage: #D4A23E;
  --inquire: #8B7FD4;
  --sustain: #4A8A5A;
  --showcase: #D43F6E;

  /* Type */
  --sans: 'Nunito', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pixel: 'Press Start 2P', monospace;

  /* Spacing scale (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 3px 3px 0 var(--beige-border);
  --shadow-btn: 3px 3px 0 var(--purple-dk);
  --shadow-btn-ghost: 3px 3px 0 var(--beige-border);
  --shadow-float: 0 8px 24px rgba(76, 58, 154, 0.18);
}

/* ═══ 02 · BASE ═══ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--purple);
  line-height: 1.55;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.doc { background: var(--cream-bg); }
a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--purple); }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ═══ 03 · TYPOGRAPHY ═══ */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.15; }
h1 { font-family: var(--serif); font-size: 30px; }
h1 em { font-style: italic; color: var(--coral); }
h2 { font-family: var(--serif); font-size: 24px; }
h2 em { font-style: italic; color: var(--coral); }
h3 { font-family: var(--serif); font-size: 18px; }
h3 em { font-style: italic; color: var(--coral); }

.kicker {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--coral); font-weight: 700;
}
.lede {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--purple); opacity: 0.8;
}
.mono-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 500;
}

/* ═══ 04 · LAYOUT PRIMITIVES ═══ */
.container { max-width: 480px; margin: 0 auto; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-5); }
.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-5); }
.row { display: flex; gap: var(--s-2); align-items: center; }
.row-spread { display: flex; justify-content: space-between; align-items: center; }

/* ═══ 05 · LAYOUT ═══
   Two-mode:  mobile-first phone view (default)  AND  wider desktop view (≥900px)
   Both share the same HTML; CSS rearranges. */

/* Mobile / phone view */
.phone-shell {
  min-height: 100vh;
  display: flex; justify-content: center; align-items: stretch;
}
.phone-content {
  width: 100%; max-width: 480px;
  background: var(--cream);
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative;
  background-image: radial-gradient(var(--mint) 1.3px, transparent 1.4px);
  background-size: 18px 18px;
}

/* Desktop view — expand into a proper web layout */
@media (min-width: 900px) {
  body {
    background: var(--cream-bg);
    background-image: radial-gradient(var(--mint) 1.3px, transparent 1.4px);
    background-size: 20px 20px;
  }
  .phone-content {
    max-width: 1080px;
    margin: 0 auto;
    min-height: 100vh;
    border: none;
    border-radius: 0;
    background: var(--cream);
    background-image: radial-gradient(var(--mint) 1.3px, transparent 1.4px);
    background-size: 20px 20px;
  }
  /* Wider inner padding on desktop */
  .page-body { padding: var(--s-5) var(--s-8); gap: var(--s-5); }
  /* Bottom nav becomes part of top nav on desktop */
  .bnav { display: none; }
  /* Top bar — horizontal with all nav links */
  .topbar { padding: 16px 40px; }
  .topbar-mark { font-size: 17px; }
  #topbar-icons-mobile { display: none; }
  .topbar-nav-desktop {
    display: flex !important;
    gap: 28px;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
  }
  .topbar-nav-desktop a {
    color: var(--purple);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
  }
  .topbar-nav-desktop a.on { border-bottom-color: var(--coral); }
  .topbar-nav-desktop a:hover { color: var(--coral); }
  /* Hero banner fills wider and taller so it doesn't feel like a thin strip */
  .hero-banner {
    padding: 44px 48px;
    min-height: 260px;
  }
  .hero-banner h2 { font-size: 34px; line-height: 1.08; }
  .hero-banner .pitch-label { font-size: 11px; margin-bottom: 14px; }
  .hero-banner-tape { width: 64px; height: 16px; left: 36px; top: -8px; }
  .hero-banner-dots { margin-top: 18px; }
  /* Scroll rows become grids */
  .scroll-row {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0; padding: 0;
  }
  .p-card { width: auto; }
  /* hero stays 1:1 via aspect-ratio in base styles — no height override needed */
  .p-card-title { font-size: 14px; }
  .p-card-meta { font-size: 10.5px; }
  .p-card-archetype { font-size: 11px; padding: 4px 10px; }
  .p-card-badge { font-size: 11px; padding: 4px 10px; }
  .p-card-body { padding: 9px 14px 11px; }
  .scroll-row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  /* Wider cards for recap + settings */
  .card { padding: 22px 28px; }
}
.topbar-nav-desktop { display: none; }

/* Web-wide layout for about/privacy/etc (max 720px) */
.doc-shell {
  max-width: 720px; margin: 0 auto;
  padding: var(--s-5);
}

/* Content pages (about, how-it-works, parents, privacy, terms) — clean reading surface
   with subtle character (light dot pattern, breathing space) */
body.content-page {
  background: var(--cream-bg) !important;
  background-image: radial-gradient(rgba(185, 229, 232, 0.55) 1.3px, transparent 1.4px) !important;
  background-size: 22px 22px !important;
}
body.content-page .phone-content {
  background: var(--cream) !important;
  background-image: radial-gradient(rgba(185, 229, 232, 0.35) 1.2px, transparent 1.3px) !important;
  background-size: 20px 20px !important;
}
@media (min-width: 900px) {
  body.content-page .phone-content {
    max-width: 760px;
    margin: 24px auto 32px;
    box-shadow: 0 12px 40px rgba(60, 40, 110, 0.08);
    border: 1.5px solid var(--purple);
    border-radius: 16px;
    overflow: hidden;
  }
}

/* Hide topbar back button across the site — logo handles "back to home",
   browser/OS back handles step-back. Cleaner header. */
.topbar-back { display: none !important; }
.topbar-mark { margin-right: auto; }

/* ═══ 06 · TOP BAR ═══ */
.topbar {
  background: var(--cream);
  border-bottom: 1.5px solid var(--purple);
  padding: var(--s-3) var(--s-4) var(--s-2);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 20;
  flex-shrink: 0;
}
.topbar-mark {
  font-family: var(--serif); font-weight: 500;
  font-size: 15px; color: var(--purple);
  display: flex; align-items: center; gap: var(--s-2);
  text-decoration: none;
}
.topbar-mark em { font-style: italic; color: var(--coral); }
.topbar-logo {
  width: 22px; height: 22px;
  display: inline-block;
}
.topbar-icons { display: flex; gap: var(--s-2); align-items: center; }
.topbar-icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  border-radius: 50%;
  color: var(--purple);
}
.topbar-icon:hover { background: var(--cream-bg); }
.topbar-icon svg { width: 20px; height: 20px; }

.topbar-back {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--purple); background: none; border: none;
  cursor: pointer; padding: var(--s-2);
  text-decoration: none;
}

/* Avatar bubble */
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--coral-soft); border: 1.5px solid var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--purple); font-size: 12px;
  cursor: pointer;
}

/* ═══ 07 · BOTTOM NAV ═══ */
.bnav {
  background: var(--cream); border-top: 1.5px solid var(--purple);
  display: flex; justify-content: space-around; align-items: center;
  padding: var(--s-2) 0 calc(var(--s-2) + env(safe-area-inset-bottom));
  flex-shrink: 0;
  position: sticky; bottom: 0;
}
.bnav-i {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.6px;
  color: var(--purple); opacity: 0.55;
  text-decoration: none;
  padding: var(--s-2) var(--s-2);
  flex: 1;
  text-align: center;
}
.bnav-i.on { opacity: 1; font-weight: 700; }
.bnav-i svg { width: 20px; height: 20px; }
.bnav-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--coral); margin-top: 2px;
  opacity: 0;
}
.bnav-i.on .bnav-dot { opacity: 1; }

/* ═══ 08 · BUTTONS (pixel-edged) ═══ */
.btn-px {
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 16px;
  border: 1.5px solid var(--purple);
  background: var(--purple); color: var(--yellow);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  text-decoration: none;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn-px:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--purple-dk); }
.btn-px:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--purple-dk); }
.btn-px:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-px.ghost { background: var(--cream); color: var(--purple); box-shadow: var(--shadow-btn-ghost); }
.btn-px.ghost:active { box-shadow: 1px 1px 0 var(--beige-border); }
.btn-px.coral { background: var(--coral); color: var(--cream); }
.btn-px.yellow { background: var(--yellow); color: var(--purple); }
.btn-px.lilac { background: var(--lilac); color: var(--purple); }
.btn-px.mint { background: var(--mint); color: var(--purple); }

.btn-px.whatsapp { background: #25D366; color: #fff; border-color: #0A6F2A; box-shadow: 3px 3px 0 #0A6F2A; }
.btn-px.full { width: 100%; }
.btn-px.sm { padding: 8px 12px; font-size: 10px; }

/* ═══ 09 · CARDS ═══ */
.card {
  background: var(--cream); border: 1.5px solid var(--purple);
  border-radius: var(--r-lg); padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow-card);
  position: relative;
}
.card.flat { box-shadow: none; }
.card.accent { background: var(--yellow-soft); }
.card.warn { background: var(--coral-soft); }
.card.mint { background: var(--mint); }
.card.lilac { background: var(--lilac); }
.card.danger { background: var(--coral-soft); border-color: var(--coral); }

.card-tilt-l { transform: rotate(-0.8deg); }
.card-tilt-r { transform: rotate(0.8deg); }

/* ═══ 10 · STICKERS & WASHI ═══ */
.sticker {
  display: inline-block;
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 1.8px; text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--coral); color: var(--cream);
  border: 1px solid var(--purple);
  transform: rotate(-2deg);
}
.sticker.yellow { background: var(--yellow); color: var(--purple); }
.sticker.purple { background: var(--purple); color: var(--yellow); }
.sticker.mint { background: var(--mint); color: var(--purple); }
.sticker.lilac { background: var(--lilac); color: var(--purple); }

.washi {
  display: inline-block;
  width: 50px; height: 13px;
  background: var(--yellow);
  border: 1px solid var(--purple);
  transform: rotate(-3deg);
}
.washi.coral { background: var(--coral-soft); }
.washi.mint { background: var(--mint); }
.washi.lilac { background: var(--lilac); }
.washi.striped {
  background: repeating-linear-gradient(45deg, var(--yellow) 0 4px, var(--yellow-soft) 4px 8px);
}
.washi-float {
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}

/* ═══ 11 · CHIPS & TABS ═══ */
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px;
  background: var(--cream);
  border: 1.3px solid var(--purple);
  color: var(--purple);
  border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.chip.on { background: var(--purple); color: var(--yellow); }
.chip.hollow { background: transparent; }

.tabs-px {
  display: flex; gap: var(--s-1); align-items: center;
  font-family: var(--mono); font-size: 10px;
  flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.tabs-px::-webkit-scrollbar { display: none; }
.tab-px {
  padding: 6px 12px;
  border: 1.3px solid var(--purple);
  background: var(--cream); color: var(--purple);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
}
.tab-px.on { background: var(--purple); color: var(--yellow); }
.shuffle-btn {
  margin-left: auto; width: 28px; height: 24px;
  border: 1.3px solid var(--purple); background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 2px 2px 0 var(--purple-dk); cursor: pointer;
}
.shuffle-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--purple-dk); }

/* ═══ 12 · FORMS ═══ */
.field {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--beige-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--mono); font-size: 13px;
  color: var(--purple); outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field:focus, .field.focused { border-color: var(--purple); background: #FFFFFF; }
.field::placeholder { color: rgba(76, 58, 154, 0.4); }
.field-lbl {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  opacity: 0.75; margin-bottom: 4px; font-weight: 700;
  display: block;
}
.field-group { display: flex; flex-direction: column; gap: 4px; }
.phone-field-row { display: flex; gap: 6px; }
.phone-field-row .field.cc { width: 68px; flex-shrink: 0; }
.phone-field-row .field.num { flex: 1; }

.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  padding: 8px 12px; border: 1.5px solid var(--beige-border);
  border-radius: var(--r-pill);
  background: var(--cream); color: var(--purple);
  cursor: pointer; transition: all 0.12s;
  letter-spacing: 0.5px;
}
.pill:hover { border-color: var(--purple); }
.pill.sel { background: var(--purple); color: var(--yellow); border-color: var(--purple); }

.tick-row {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--cream); border: 1.2px solid var(--purple);
  border-radius: var(--r-md); padding: 10px 12px;
  cursor: pointer;
}
.tick-box {
  width: 20px; height: 20px; border: 1.5px solid var(--purple);
  flex-shrink: 0; margin-top: 1px; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple); font-weight: 700;
}
.tick-row.on .tick-box { background: var(--purple); color: var(--yellow); }
.tick-row .tick-text { font-size: 12.5px; line-height: 1.45; }

/* OTP boxes */
.otp-row { display: flex; gap: 6px; }
.otp-box {
  width: 42px; height: 48px;
  background: var(--cream); border: 1.5px solid var(--purple);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 20px; font-weight: 700;
  color: var(--purple);
}
.otp-box.focused { border-color: var(--coral); box-shadow: 0 0 0 2px rgba(239, 107, 142, 0.2); }
.otp-box.empty { border-style: dashed; border-color: var(--beige-border); }

/* ═══ 13 · PATHWAY CARDS (Netflix-ish proportions) ═══ */
.p-card {
  flex: 0 0 auto; width: 150px;       /* mobile-default — tighter so ~2.5 cards visible */
  background: var(--cream);
  border: 1.5px solid var(--purple);
  border-radius: var(--r-md);
  overflow: hidden; position: relative;
  text-decoration: none; color: var(--purple);
  display: flex; flex-direction: column;
  box-shadow: 2px 2px 0 var(--beige-border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.p-card:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--beige-border); }
.p-card-hero {
  aspect-ratio: 1 / 1;                /* always square — height tracks with card width */
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--cream-bg);
}
.p-card-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 68%;  /* bias crop downward — hides top-edge labels on current images */
  display: block;
}
/* Per-pathway override (set via data-slug on card) for images with bottom-edge labels */
.p-card[data-slug="environment-science"] .p-card-hero img { object-position: center 35%; }
.p-card[data-slug="software-engineering"] .p-card-hero img { object-position: center 50%; }
.p-card[data-slug="design"] .p-card-hero img { object-position: center 50%; }
.p-card-archetype {
  position: absolute; bottom: 6px; left: 6px; z-index: 2;
  background: rgba(76, 58, 154, 0.92); color: var(--yellow);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 1.2px; font-weight: 700;
  padding: 3px 8px;
}
.p-card-badge {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  background: var(--purple); color: var(--yellow);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.6px; font-weight: 700;
  padding: 3px 8px;
}
.p-card-badge.new { background: var(--coral); color: var(--cream); }
.p-card-body { padding: 7px 10px 9px; display: flex; flex-direction: column; gap: 1px; }
.p-card-title {
  font-size: 12.5px; font-weight: 700; color: var(--purple);
  line-height: 1.2;
}
.p-card-meta {
  font-family: var(--mono); font-size: 9px;
  color: var(--purple); opacity: 0.7; letter-spacing: 0.4px;
  margin-top: 1px;
}
.p-card-reason {
  font-family: var(--mono); font-size: 9px;
  color: var(--coral); letter-spacing: 0.8px; font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

.scroll-row {
  display: flex; gap: var(--s-2);
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px; margin: 0 calc(-1 * var(--s-4));
  padding-left: var(--s-4); padding-right: var(--s-4);
}
.scroll-row::-webkit-scrollbar { display: none; }

.row-hd {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: var(--s-2); margin-bottom: 4px;
}
.row-title {
  font-size: 13px; font-weight: 700; color: var(--purple);
}
.row-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  opacity: 0.75; font-size: 12px;
}

/* ═══ 14 · BANNER (hero rotator) ═══ */
.hero-banner {
  background: var(--mint);
  border: 1.5px solid var(--purple);
  border-radius: var(--r-lg);
  padding: 22px 20px 18px;
  min-height: 170px;
  position: relative; overflow: hidden;
  margin-bottom: var(--s-3);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-banner-tape {
  position: absolute; top: -6px; left: 24px;
  background: var(--yellow); width: 46px; height: 12px;
  border: 1px solid var(--purple); transform: rotate(-4deg); z-index: 2;
}
.hero-banner h2 {
  font-family: var(--mono); font-size: 18px; font-weight: 800;
  color: var(--purple); line-height: 1.1;
  letter-spacing: -0.3px; margin: 0;
}
.hero-banner h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--coral);
  display: inline-block;
  background: var(--yellow); padding: 0 6px;
  border: 1px solid var(--purple);
}
.hero-banner .pitch-label {
  display: inline-block;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 1.8px; text-transform: uppercase;
  padding: 2px 8px;
  background: var(--coral); color: var(--cream);
  border: 1px solid var(--purple);
  margin-bottom: 8px;
}
.hero-banner-dots {
  display: flex; gap: 4px; justify-content: center; margin-top: 10px;
}
.hero-banner-dots .d {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--purple); opacity: 0.3;
  transition: all 0.3s;
}
.hero-banner-dots .d.on {
  opacity: 1; width: 18px; border-radius: 3px;
}

/* ═══ 15 · RESUME / PICK-UP CARD ═══ */
.resume-card {
  background: var(--coral-soft); border: 1.5px solid var(--purple);
  border-radius: var(--r-md); padding: 10px 12px;
  display: flex; gap: 10px; align-items: center;
  position: relative; box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--purple);
}
.resume-card-tape {
  position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--yellow); width: 32px; height: 10px;
  border: 1px solid var(--purple);
}
.resume-card-thumb {
  width: 54px; height: 54px;
  background: var(--build);
  border: 1.5px solid var(--purple); border-radius: var(--r-sm);
  flex-shrink: 0;
  background-size: cover; background-position: center;
}
.resume-card-text { flex: 1; min-width: 0; }
.resume-card-lbl {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--purple); opacity: 0.75; font-weight: 700;
}
.resume-card-title {
  font-size: 13px; font-weight: 700; color: var(--purple);
  margin-top: 2px;
}
.resume-card-cta {
  font-family: var(--mono); font-size: 10px;
  color: var(--coral); letter-spacing: 1px; margin-top: 4px;
  font-weight: 700;
}

/* ═══ 16 · SHEETS & OVERLAYS ═══ */
.backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(60, 45, 120, 0.55);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.backdrop.open { opacity: 1; pointer-events: auto; }

.sheet {
  background: var(--cream);
  border-top: 2px solid var(--purple);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
  max-height: 82vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.backdrop.open .sheet { transform: translateY(0); }
.sheet-handle {
  width: 38px; height: 4px; background: var(--beige-border);
  border-radius: 2px; margin: 0 auto 10px;
}
.sheet h3 {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  color: var(--purple); margin-bottom: 8px;
}

/* Toast */
.toast {
  position: fixed; top: calc(16px + env(safe-area-inset-top));
  left: 14px; right: 14px; z-index: 110;
  background: var(--cream); border: 1.5px solid var(--purple);
  border-radius: var(--r-md); padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 24px rgba(76, 58, 154, 0.25);
  transform: translateY(-120%); transition: transform 0.3s;
}
.toast.show { transform: translateY(0); }

/* Dialog (modal) */
.dialog-backdrop {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(60, 45, 120, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.dialog-backdrop.open { opacity: 1; pointer-events: auto; }
.dialog {
  background: var(--cream); border: 1.5px solid var(--purple);
  border-radius: var(--r-lg); padding: 22px 24px;
  max-width: 360px; width: 100%;
  box-shadow: 4px 4px 0 var(--purple-dk);
}

/* ═══ 17 · COMPANION FAB ═══ */
.fab {
  position: fixed; right: 16px; bottom: 76px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--coral); color: var(--cream);
  border: 2px solid var(--purple);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 3px 3px 0 var(--purple);
  cursor: pointer; z-index: 50;
}
.fab:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--purple); }
.fab svg { width: 24px; height: 24px; }

/* ═══ 18 · UTILITIES ═══ */
.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;
}
.text-center { text-align: center; }
.opacity-75 { opacity: 0.75; }
.italic-serif { font-family: var(--serif); font-style: italic; }

/* ═══ 19 · PAGE BODY (mobile-first) ═══ */
.page-body {
  flex: 1; overflow-y: auto;
  padding: var(--s-3) var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.page-body::-webkit-scrollbar { display: none; }

/* ═══ 20 · RESPONSIVE TWEAKS ═══ */
@media (max-width: 380px) {
  .hero-banner h2 { font-size: 16px; }
  .topbar { padding: var(--s-2) var(--s-3); }
  .page-body { padding: var(--s-2) var(--s-3); }
}

/* ═══ 21 · DEBUG / DEVELOPMENT HELPERS ═══ */
.debug-outline * { outline: 1px solid rgba(239, 107, 142, 0.25); }
