/* ============================================================
   ZEEKR DESIGN SYSTEM
   Hospitality Lounge · Santiago NL · Mayo 2025
   Shared tokens, typography, components & animations
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   01 · DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Color Palette (strict monochromatic) --- */
  --zeekr-black:     #111111;
  --zeekr-white:     #FFFFFF;
  --zeekr-charcoal:  #2A2A2A;
  --zeekr-surface:   #161616;
  --zeekr-border:    #2E2E2E;
  --zeekr-graphite:  #8C8C8C;
  --zeekr-silver:    #C8C8C8;

  /* --- Semantic Colors --- */
  --color-bg:        var(--zeekr-black);
  --color-bg-elevated: var(--zeekr-charcoal);
  --color-bg-surface:  var(--zeekr-surface);
  --color-text:      var(--zeekr-white);
  --color-text-secondary: var(--zeekr-graphite);
  --color-text-accent: var(--zeekr-silver);
  --color-border:    var(--zeekr-border);
  --color-cta:       var(--zeekr-white);
  --color-cta-text:  var(--zeekr-black);

  /* --- Typography --- */
  --font-headline: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'Inter', -apple-system, sans-serif;

  /* Font sizes */
  --text-xs:   0.6875rem;   /* 11px */
  --text-sm:   0.8125rem;   /* 13px */
  --text-base: 0.9375rem;   /* 15px */
  --text-md:   1.125rem;    /* 18px */
  --text-lg:   1.5rem;      /* 24px */
  --text-xl:   2rem;        /* 32px */
  --text-2xl:  3rem;        /* 48px */
  --text-3xl:  4.5rem;      /* 72px */
  --text-4xl:  6rem;        /* 96px */

  /* Tracking */
  --tracking-tight:      -0.025em;
  --tracking-normal:     0;
  --tracking-wide:       0.05em;
  --tracking-ultra-wide: 0.12em;

  /* Leading */
  --leading-tight:  1.1;
  --leading-normal: 1.4;
  --leading-loose:  1.7;

  /* --- Spacing --- */
  --space-2xs:  4px;
  --space-xs:   8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* --- Border Radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:     150ms;
  --dur-normal:   300ms;
  --dur-slow:     600ms;
  --dur-reveal:   1200ms;
}


/* ============================================================
   02 · RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--color-text);
  text-decoration: none;
}

input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}


/* ============================================================
   03 · TYPOGRAPHY
   ============================================================ */

/* Headlines — Barlow Condensed 900, UPPERCASE, tight tracking */
.headline-xl {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.headline-lg {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.headline-md {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.headline-sm {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

/* Subheads — Inter 700, UPPERCASE, wide tracking */
.subhead {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-ultra-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.subhead-accent {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-ultra-wide);
  text-transform: uppercase;
  color: var(--color-text-accent);
}

/* Body text */
.body-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--color-text-secondary);
}

/* Technical specs — Inter SemiBold, UPPERCASE, widest tracking */
.spec-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-accent);
}


/* ============================================================
   04 · LAYOUT
   ============================================================ */
.screen {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  position: relative;
}

.screen--surface {
  background-color: var(--zeekr-surface);
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.container--wide {
  max-width: 720px;
}

.container--full {
  max-width: 100%;
}

.stack {
  display: flex;
  flex-direction: column;
}

.stack--xs  { gap: var(--space-xs); }
.stack--sm  { gap: var(--space-sm); }
.stack--md  { gap: var(--space-md); }
.stack--lg  { gap: var(--space-lg); }
.stack--xl  { gap: var(--space-xl); }
.stack--2xl { gap: var(--space-2xl); }

.row {
  display: flex;
  align-items: center;
}

.row--between {
  justify-content: space-between;
}

.row--gap-sm { gap: var(--space-sm); }
.row--gap-md { gap: var(--space-md); }
.row--gap-lg { gap: var(--space-lg); }

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }


/* ============================================================
   05 · COMPONENTS
   ============================================================ */

/* --- Logo --- */
.zeekr-logo {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-lg);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  user-select: none;
}

.zeekr-logo--lg {
  font-size: var(--text-2xl);
}

.zeekr-logo--xl {
  font-size: var(--text-3xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

.btn--primary:hover {
  background: var(--zeekr-silver);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--zeekr-graphite);
  background: var(--zeekr-charcoal);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: var(--space-sm) var(--space-md);
}

.btn--ghost:hover {
  color: var(--color-text);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

/* --- Cards --- */
.card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  position: relative;
}

.card--glass {
  background: rgba(42, 42, 42, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* --- Input Fields --- */
.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.input-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-ultra-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.input-field {
  background: var(--zeekr-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.input-field::placeholder {
  color: var(--zeekr-graphite);
  opacity: 0.6;
}

.input-field:focus {
  border-color: var(--zeekr-graphite);
}

/* --- Chat Bubble --- */
.chat-bubble {
  max-width: 85%;
  padding: var(--space-md) var(--space-lg);
  line-height: var(--leading-loose);
  font-size: var(--text-base);
}

.chat-bubble--system {
  background: var(--zeekr-charcoal);
  color: var(--color-text);
  align-self: flex-start;
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

.chat-bubble--user {
  background: var(--zeekr-white);
  color: var(--zeekr-black);
  align-self: flex-end;
  border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
}

/* --- Profile Card --- */
.profile-card {
  background: var(--zeekr-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-2xl);
  position: relative;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--zeekr-silver);
}

/* --- Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.divider--accent {
  background: var(--zeekr-graphite);
}

/* --- Tag / Badge --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2xs) var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  color: var(--color-text-accent);
}

/* --- WhatsApp Preview --- */
.wa-preview {
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.wa-preview__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--zeekr-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-accent);
}

.wa-preview__body {
  flex: 1;
}

.wa-preview__sender {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2xs);
}

.wa-preview__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

/* --- Progress Bar --- */
.progress {
  width: 100%;
  height: 2px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: var(--zeekr-silver);
  transition: width var(--dur-slow) var(--ease-out);
}

/* --- Camera Viewfinder --- */
.viewfinder {
  aspect-ratio: 3/4;
  background: var(--zeekr-surface);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.viewfinder__corners::before,
.viewfinder__corners::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--zeekr-silver);
  border-style: solid;
}

.viewfinder__corners::before {
  top: var(--space-md);
  left: var(--space-md);
  border-width: 2px 0 0 2px;
}

.viewfinder__corners::after {
  bottom: var(--space-md);
  right: var(--space-md);
  border-width: 0 2px 2px 0;
}

.viewfinder__corners-alt::before {
  top: var(--space-md);
  right: var(--space-md);
  left: auto;
  border-width: 2px 2px 0 0;
}

.viewfinder__corners-alt::after {
  bottom: var(--space-md);
  left: var(--space-md);
  right: auto;
  border-width: 0 0 2px 2px;
}


/* ============================================================
   06 · ANIMATIONS
   ============================================================ */

/* Fade in up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade-in-up {
  animation: fadeInUp var(--dur-slow) var(--ease-out) both;
}

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-fade-in {
  animation: fadeIn var(--dur-slow) var(--ease-out) both;
}

/* Scale reveal (for big screen image) */
@keyframes scaleReveal {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.anim-scale-reveal {
  animation: scaleReveal var(--dur-reveal) var(--ease-out) both;
}

/* Pulse glow (for loading states) */
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.anim-pulse {
  animation: pulse 2s var(--ease-in-out) infinite;
}

/* Scanning line */
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

.anim-scan {
  animation: scanLine 2.5s var(--ease-in-out) infinite;
}

/* Typewriter cursor */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor-blink::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--zeekr-silver);
  margin-left: 2px;
}

/* Slide in from right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.anim-slide-right {
  animation: slideInRight var(--dur-slow) var(--ease-out) both;
}

/* Stagger delays */
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 400ms; }
.delay-4 { animation-delay: 600ms; }
.delay-5 { animation-delay: 800ms; }
.delay-6 { animation-delay: 1000ms; }

/* --- Loading Dots --- */
.loading-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  background: var(--zeekr-graphite);
  border-radius: 50%;
  animation: pulse 1.4s var(--ease-in-out) infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 200ms; }
.loading-dots span:nth-child(3) { animation-delay: 400ms; }


/* ============================================================
   PERSISTENT TOP BAR
   Fixed bar across every demo screen. Left: clickable ZEEKR
   wordmark that returns to the landing page. Right: thin
   step counter aligned with the brand's editorial minimalism.
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(180deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.6) 70%, rgba(17,17,17,0) 100%);
  pointer-events: none;
}

.top-bar > * {
  pointer-events: auto;
}

.top-bar__home {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-md);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 4px 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.top-bar__home:hover {
  opacity: 0.7;
}

.top-bar__home::before {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url('logo-emblem.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  position: relative;
  top: 1px;
}

.top-bar__arrow {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--zeekr-graphite);
  font-weight: 600;
  text-transform: uppercase;
  margin-left: var(--space-xs);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--dur-fast) var(--ease-out);
}

.top-bar__home:hover .top-bar__arrow {
  opacity: 1;
  transform: translateX(0);
}

.top-bar__step {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zeekr-graphite);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.top-bar__step-num {
  color: var(--zeekr-white);
}

.top-bar__step-divider {
  width: 24px;
  height: 1px;
  background: var(--zeekr-border);
}


/* ============================================================
   AI CONTENT DISCLAIMER & QA VALIDATION BADGE
   Used wherever AI-generated content is shown in the demo.
   In production these positions will be replaced by the
   actual AI-QA validation pipeline status indicators.
   ============================================================ */

/* Container that positions disclaimer badges over AI content */
.ai-content-wrap {
  position: relative;
}

/* Small AI GENERATED badge -- sits on corner of AI imagery */
.ai-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zeekr-border);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zeekr-silver);
  pointer-events: none;
}

.ai-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zeekr-silver);
  animation: pulse 2s var(--ease-in-out) infinite;
}

/* Expanded disclaimer panel -- sits below AI content */
.ai-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(22, 22, 22, 0.6);
  border: 1px solid var(--zeekr-border);
  border-left: 2px solid var(--zeekr-silver);
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.6;
  color: var(--zeekr-graphite);
  letter-spacing: 0.04em;
  max-width: 100%;
}

.ai-disclaimer__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--zeekr-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 9px;
  color: var(--zeekr-silver);
  margin-top: 1px;
}

.ai-disclaimer__body {
  flex: 1;
}

.ai-disclaimer__title {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zeekr-silver);
  margin-bottom: 2px;
  font-size: 9px;
}

.ai-disclaimer__text {
  color: var(--zeekr-graphite);
  font-size: 10px;
}

/* QA Validation indicator -- shows the production QA gate */
.qa-validation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid var(--zeekr-border);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zeekr-graphite);
}

.qa-validation::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid var(--zeekr-silver);
  background: transparent;
}

.qa-validation--active::before {
  background: var(--zeekr-silver);
}


/* ============================================================
   07 · SCREEN TRANSITIONS (click-through demo)
   ============================================================ */
.screen-flow {
  position: relative;
  width: 100vw;
  min-height: 100vh;
}

.screen-step {
  display: none;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.screen-step.active {
  display: flex;
}

/* Navigation dots */
.nav-dots {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 100;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zeekr-charcoal);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
}

.nav-dot.active {
  background: var(--zeekr-silver);
  border-color: var(--zeekr-silver);
  transform: scale(1.3);
}

/* Step counter */
.step-indicator {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: 100;
}


/* ============================================================
   08 · UTILITIES
   ============================================================ */
.mt-xs  { margin-top: var(--space-xs); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs  { margin-bottom: var(--space-xs); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }

.hidden { display: none !important; }

/* Responsive */
@media (max-width: 768px) {
  :root {
    --text-4xl: 3.5rem;
    --text-3xl: 2.5rem;
    --text-2xl: 2rem;
  }

  .screen,
  .screen-step {
    padding: var(--space-md);
  }

  /* Top bar tightens on mobile so the step counter has room */
  .top-bar {
    padding: var(--space-md) var(--space-md);
  }

  .top-bar__home {
    font-size: var(--text-base);
    letter-spacing: 0.1em;
  }

  .top-bar__home::before {
    width: 18px;
    height: 18px;
  }

  .top-bar__step {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .top-bar__step-divider {
    width: 16px;
  }

  /* Profile card scales down its padding so the hero's negative-margin
     trick doesn't push content past the card edge on narrow viewports */
  .profile-card {
    padding: var(--space-lg);
  }

  /* Nav dots move up a hair so they don't collide with short viewports */
  .nav-dots {
    bottom: var(--space-md);
  }
}

/* Extra-narrow mobile safety: prevent any horizontal overflow from
   ever producing a scrollbar — content should always fit the viewport. */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }
}
