/* =====================================================
   Tech, Law & Trust — Premium Landing Page
   Aesthetic: Luxury Editorial · Dark Sovereignty
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg:     #06101c;
  --bg2:    #0a1a2e;
  --bg3:    #0d2240;
  --card:   rgba(255,255,255,0.035);
  --card-h: rgba(255,255,255,0.055);
  --text:   rgba(255,255,255,0.92);
  --muted:  rgba(255,255,255,0.58);
  --line:   rgba(255,255,255,0.08);
  --line-h: rgba(255,255,255,0.14);

  --gold:   #d4b872;
  --saff:   #e8923a;
  --green:  #2ab878;
  --blue:   #4e9cdf;

  --font-display: 'Playfair Display', ui-serif, Georgia, serif;
  --font-body:    'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow:     0 20px 60px rgba(0,0,0,0.4);
  --shadow-sm:  0 8px 30px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 80px rgba(212,184,114,0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease-out) }
a:hover { color: #e6cd8e }
button { font-family: inherit }
::selection { background: rgba(212,184,114,0.25); color: #fff }

/* ---------- Layout ---------- */
.container { width: min(1140px, 90vw); margin: 0 auto }

/* ---------- Reading Progress ---------- */
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--saff), var(--gold));
  transition: width 60ms linear;
  pointer-events: none;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6,16,28,0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(6,16,28,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0 }
.brand-icon { color: var(--gold); display: flex; opacity: .9 }
.brand-title {
  display: block; font-family: var(--font-display);
  font-weight: 700; font-size: 16px; letter-spacing: .3px; line-height: 1.2;
}
.brand-sub {
  display: block; font-size: 11px; color: var(--muted);
  letter-spacing: .3px; margin-top: 1px;
}

/* Nav */
.nav { display: flex; gap: 4px; align-items: center }
.nav-link {
  color: var(--text); opacity: .72; font-size: 13.5px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--radius-sm);
  transition: opacity .2s, background .2s;
  letter-spacing: .2px;
}
.nav-link:hover { opacity: 1; background: rgba(255,255,255,0.05); color: var(--text) }
.nav-link.active { opacity: 1; color: var(--gold) }

/* Header CTA */
.header-actions { display: flex; gap: 8px; align-items: center }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-h);
  font-weight: 600; font-size: 14px; letter-spacing: .2px;
  cursor: pointer; white-space: nowrap;
  transition: transform .1s, box-shadow .25s var(--ease-out), background .25s, border-color .25s, opacity .2s;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: scale(.97) }
.btn svg { flex-shrink: 0 }

.btn-primary {
  background: linear-gradient(135deg, var(--saff) 0%, var(--gold) 100%);
  color: #0e0e0e; border-color: rgba(212,184,114,0.3);
  box-shadow: 0 4px 20px rgba(232,146,58,0.15);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(232,146,58,0.25);
  border-color: rgba(212,184,114,0.5);
  color: #0e0e0e;
}

.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text) }

.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px }
.btn-block { width: 100% }

/* Burger */
.burger {
  display: none; background: transparent;
  border: 1px solid var(--line-h); border-radius: var(--radius-sm);
  padding: 9px 10px; cursor: pointer;
  flex-direction: column; gap: 4px; align-items: center;
}
.burger-line {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.burger.open .burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg) }
.burger.open .burger-line:nth-child(2) { opacity: 0 }
.burger.open .burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column;
  padding: 8px 5vw 16px;
  border-top: 1px solid var(--line);
  background: rgba(6,16,28,0.96);
}
.mobile-nav.open { display: flex }
.mobile-nav a {
  display: block; padding: 14px 0; color: var(--text);
  font-size: 15px; font-weight: 500; opacity: .9;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding-left .2s;
}
.mobile-nav a:hover { padding-left: 8px; opacity: 1; color: var(--gold) }
.mobile-nav-cta { margin-top: 14px }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative; padding: 80px 0 40px;
  background:
    radial-gradient(ellipse 900px 500px at 15% 5%, rgba(232,146,58,0.10), transparent),
    radial-gradient(ellipse 800px 450px at 85% 10%, rgba(42,184,120,0.08), transparent),
    radial-gradient(ellipse 600px 300px at 50% 80%, rgba(212,184,114,0.05), transparent);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle 1px at 20% 30%, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle 1px at 60% 70%, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle 1px at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 140px 140px, 200px 200px, 180px 180px;
  opacity: .7;
}

.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 40px; align-items: center;
  position: relative; z-index: 1;
}

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 16px;
}
.kicker-line { width: 32px; height: 1.5px; background: var(--gold); opacity: .6; flex-shrink: 0 }

h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.2px; margin-bottom: 20px;
}
.accent { color: var(--gold) }

.lead {
  color: var(--muted); font-size: 16px; line-height: 1.7;
  max-width: 56ch; margin-bottom: 6px;
}
.lead strong { color: var(--text); font-weight: 600 }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 12px; color: var(--muted); font-weight: 500;
  letter-spacing: .2px;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0 }
.pill-sm { padding: 5px 10px; font-size: 11px }

/* Book showcase */
.hero-visual { text-align: center }
.book-showcase {
  position: relative; display: inline-block;
  padding: 18px; border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.book-glow {
  position: absolute; inset: -30px; border-radius: 30px;
  background: radial-gradient(ellipse at center, rgba(212,184,114,0.08), transparent 70%);
  pointer-events: none;
}
.cover-img {
  position: relative; z-index: 1;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  width: 100%; max-width: 380px;
  transition: transform .4s var(--ease-out);
}
.book-showcase:hover .cover-img { transform: scale(1.015) }

.edition-tag {
  margin-top: 14px; font-size: 12px; color: var(--muted);
  letter-spacing: .5px;
}

/* Scroll hint */
.scroll-hint {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding-top: 36px; color: var(--muted);
}
.scroll-hint-text { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6 }
.scroll-hint-arrow {
  animation: scrollBounce 2s var(--ease-out) infinite;
  opacity: .5;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(6px) }
}

/* ========================================
   SECTIONS (shared)
   ======================================== */
.section { padding: 72px 0 }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.section-num {
  font-family: var(--font-display); font-size: 13px;
  color: var(--gold); opacity: .7; font-weight: 600;
}
.section-tag {
  font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}

.section-head { margin-bottom: 32px }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 10px;
}
.subtitle { color: var(--muted); font-size: 15px; max-width: 60ch; line-height: 1.6 }

/* ========================================
   ABOUT — Media Card
   ======================================== */
.media-card {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 24px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.media-card-img img {
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255,255,255,0.06);
  object-fit: cover; width: 100%; height: 100%;
}
.media-card-body { display: flex; flex-direction: column; justify-content: center }

.feature-list { display: flex; flex-direction: column; gap: 18px }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  flex-shrink: 0;
}
.feature-item strong { display: block; font-size: 14px; margin-bottom: 3px; color: var(--text) }
.feature-item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5 }

/* ========================================
   ROADMAP — Timeline
   ======================================== */
.roadmap-timeline { position: relative; padding-left: 40px }

.timeline-track {
  position: absolute; left: 15px; top: 0; bottom: 0; width: 2px;
  background: var(--line); border-radius: 2px;
}
.timeline-fill {
  width: 100%; background: linear-gradient(180deg, var(--gold), var(--saff));
  border-radius: 2px; height: 0; transition: height .1s linear;
}

.timeline-cards { display: flex; flex-direction: column; gap: 20px }

.timeline-card {
  display: flex; gap: 20px; align-items: flex-start;
  position: relative;
}
.tc-marker {
  position: absolute; left: -40px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 2px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: var(--gold); z-index: 2;
  transition: border-color .4s, background .4s, transform .3s var(--ease-spring);
}
.timeline-card.visible .tc-marker {
  border-color: var(--gold);
  background: rgba(212,184,114,0.1);
  transform: scale(1.1);
}

.tc-body {
  flex: 1; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.tc-body:hover {
  border-color: rgba(212,184,114,0.2);
  background: var(--card-h);
  box-shadow: var(--shadow-glow);
}
.tc-body h3 {
  font-family: var(--font-display); font-size: 17px;
  color: var(--gold); margin-bottom: 6px; font-weight: 700;
}
.tc-body p { color: var(--muted); font-size: 14px; line-height: 1.55 }

/* ========================================
   STATS
   ======================================== */
.section-stats {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212,184,114,0.02), transparent);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
.stat-item {
  padding: 20px 8px;
}
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: var(--gold); line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: var(--gold);
}
.stat-label {
  display: block; margin-top: 8px; font-size: 13px;
  color: var(--muted); letter-spacing: .3px; font-weight: 500;
}

/* ========================================
   AUTHOR
   ======================================== */
.author-card {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 28px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.author-card-img img {
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255,255,255,0.06);
  object-fit: cover; width: 100%; height: 100%;
}
.author-card-body { display: flex; flex-direction: column; justify-content: center }
.author-card-body h3 {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 700; margin-bottom: 6px;
}
.author-role {
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
  letter-spacing: .3px; font-weight: 500;
}
.author-card-body > p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px }
.author-card-body > p strong { color: var(--text) }

.author-quote {
  padding: 16px 20px; margin: 0 0 16px;
  border-left: 3px solid var(--gold);
  background: rgba(212,184,114,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.author-quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: 15px; color: var(--text); line-height: 1.55;
  margin: 0;
}

.author-tags { display: flex; gap: 8px; flex-wrap: wrap }

.endorsement-spread {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.endorsement-spread img { width: 100% }

/* ========================================
   ORDER
   ======================================== */
.order-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 24px;
}
.order-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.order-card h3 {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 700; margin-bottom: 16px; color: var(--text);
}
.order-card-top { flex: 1; text-align: center }

.qr-wrap {
  display: inline-block; padding: 12px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  margin: 8px auto 12px;
}
.qr-img { width: min(220px, 80%); display: block; border-radius: 8px }

.muted-sm { font-size: 12px; color: var(--muted); margin-bottom: 16px }

.order-card-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto }

/* Form */
.form-group { margin-bottom: 16px }
.form-group label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--muted); letter-spacing: .3px; margin-bottom: 6px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(0,0,0,0.2); color: var(--text);
  font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(212,184,114,0.5);
  box-shadow: 0 0 0 3px rgba(212,184,114,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25) }

.field-error { display: block; font-size: 11.5px; color: #e85454; margin-top: 4px; min-height: 16px }

.form-row { display: flex; gap: 12px }
.form-group-sm { flex: 0 0 140px }

/* Qty control */
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.2); overflow: hidden;
}
.qty-control input {
  width: 56px; text-align: center; border: none; border-radius: 0;
  background: transparent; padding: 10px 4px;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-inner-spin-button,
.qty-control input::-webkit-outer-spin-button { -webkit-appearance: none }
.qty-btn {
  width: 40px; height: 40px; border: none;
  background: transparent; color: var(--text);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.qty-btn:hover { background: rgba(255,255,255,0.06) }

.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px }
.form-note { font-size: 11px; color: var(--muted); opacity: .7; margin-top: 12px; text-align: center }

/* Promo */
.promo-banner {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.promo-banner img { width: 100% }

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  padding: 24px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card);
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.contact-card:hover {
  border-color: var(--line-h); background: var(--card-h);
  transform: translateY(-3px);
}
.contact-icon { margin-bottom: 14px; opacity: .9 }
.contact-card h4 {
  font-family: var(--font-display); font-size: 15px;
  font-weight: 700; margin-bottom: 8px;
}
.contact-card a, .contact-card span {
  display: block; font-size: 13.5px; color: var(--muted);
  line-height: 1.6; word-break: break-word;
}
.contact-card a:hover { color: var(--gold) }

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 55;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(6,16,28,0.85); border: 1px solid var(--line-h);
  backdrop-filter: blur(10px);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease-out), background .2s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) }
.back-to-top:hover { background: rgba(212,184,114,0.12) }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--line); padding: 24px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; margin-right: 12px;
}
.footer-left, .footer-right { display: flex; align-items: center; gap: 8px }

/* ========================================
   FOCUS / ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 2px solid rgba(212,184,114,0.6);
  outline-offset: 3px; border-radius: 8px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Large tablet */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px }
  .hero { padding: 60px 0 30px }
  .hero-visual { max-width: 440px; margin: 0 auto }
  .media-card { grid-template-columns: 1fr }
  .author-card { grid-template-columns: 1fr }
  .stats-grid { grid-template-columns: repeat(4, 1fr) }
}

/* Tablet */
@media (max-width: 820px) {
  .nav { display: none }
  .burger { display: flex }

  .stats-grid { grid-template-columns: repeat(2, 1fr) }
  .contact-grid { grid-template-columns: 1fr }
  .order-grid { grid-template-columns: 1fr }
}

/* Mobile */
@media (max-width: 560px) {
  body { font-size: 14px }
  .brand-sub { display: none }

  .header-actions .btn span { display: none } /* hide text, keep icon */

  .hero { padding: 44px 0 24px }
  .cta-row { flex-direction: column }
  .cta-row .btn { width: 100% }
  .trust-row { gap: 8px }
  .pill { font-size: 11px; padding: 6px 10px }

  .section { padding: 52px 0 }

  .media-card { padding: 14px; gap: 16px }
  .feature-item { gap: 10px }
  .feature-icon { width: 34px; height: 34px }

  .roadmap-timeline { padding-left: 34px }
  .tc-marker { left: -34px; width: 28px; height: 28px; font-size: 12px }
  .tc-body { padding: 14px 16px }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px }
  .stat-item { padding: 14px 6px }

  .author-card { padding: 16px; gap: 18px }

  .order-card { padding: 18px }

  .footer-inner { flex-direction: column; text-align: center }
  .footer-left, .footer-right { justify-content: center }

  .back-to-top { bottom: 18px; right: 18px; width: 40px; height: 40px }
}

/* Small mobile */
@media (max-width: 380px) {
  .container { width: 94vw }
  h1 { font-size: 28px }
  .section-head h2 { font-size: 22px }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important }
  html { scroll-behavior: auto }
  .reveal { opacity: 1; transform: none }
  .scroll-hint-arrow { animation: none }
}