/* =====================================================================
   URRI GROUP — Core Stylesheet (Phase 1)
   Lightweight, responsive, no framework dependencies.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --purple: #4902BC;
  --purple-600: #5a1fd0;
  --purple-050: #f0e9fb;
  --navy: #120B24;
  --navy-800: #1c1338;
  --offwhite: #F8F7FC;
  --coral: #F97171;
  --yellow: #FFD319;

  /* Neutrals */
  --ink: #191426;
  --muted: #5b5570;
  --line: #e7e3f1;
  --white: #ffffff;

  /* Typography */
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Anton", "Poppins", Impact, "Arial Narrow", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(18, 11, 36, 0.06);
  --shadow-md: 0 12px 34px rgba(18, 11, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 11, 36, 0.16);
  --gutter: clamp(16px, 5vw, 40px);
  --section-y: clamp(56px, 9vw, 110px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.5em; color: var(--navy); }
p { margin: 0 0 1rem; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--yellow); }
.display {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.5px;
  text-transform: uppercase; line-height: 0.98;
}
.lead { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.visually-hidden {
  position: absolute !important; 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; left: 12px; top: -60px; z-index: 1000; background: var(--purple);
  color: #fff; padding: 10px 16px; border-radius: 8px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* Focus visibility for accessibility */
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(73, 2, 188, 0.28); }
.btn-primary:hover { background: var(--purple-600); }
.btn-coral { background: var(--coral); color: #3a0d0d; }
.btn-coral:hover { background: #fb8686; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(248, 247, 252, 0.9);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand svg { display: block; height: 34px; width: auto; }
.brand .brand-text { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 1px; color: var(--navy); text-transform: uppercase; }
.brand .brand-text span { color: var(--purple); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a.nav-link {
  color: var(--navy); font-weight: 500; font-size: 0.98rem; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav a.nav-link:hover { color: var(--purple); background: var(--purple-050); }
.nav a.nav-link[aria-current="page"] { color: var(--purple); }
.nav a.nav-link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; width: 22px; background: var(--purple); border-radius: 2px; margin: 4px auto 0;
}
/* The in-nav CTA button is only for the mobile drawer; the header keeps its own. */
@media (min-width: 901px) { .nav > .btn { display: none; } }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white);
  border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--offwhite); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px;
    transform: translateY(-120%); transition: transform 0.3s var(--ease); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a.nav-link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.nav-link[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 10px; }
  .header-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(73,2,188,0.55), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(249,113,113,0.20), transparent 55%),
    linear-gradient(160deg, #150c2b 0%, #120B24 55%, #1a0f38 100%);
}
.hero::after {
  /* subtle forward-motion diagonal streaks */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding-block: clamp(64px, 12vw, 132px); max-width: 840px; }
.hero h1 {
  font-family: var(--font-display); color: #fff; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 0.95; letter-spacing: 1px; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--yellow); }
.hero p.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: rgba(255,255,255,0.82); max-width: 60ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 26px 40px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; letter-spacing: 1px; }

/* Page hero (interior) */
.page-hero { color: #fff; background: linear-gradient(160deg, #150c2b, #120B24 60%, #1a0f38); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.45; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-inner { padding-block: clamp(52px, 9vw, 92px); max-width: 760px; }
.page-hero h1 { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: 1px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 56ch; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb span { margin-inline: 8px; }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); margin-bottom: 0; }

/* ---------- Who we are / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-grid .stat { padding: 18px; border-radius: var(--radius-sm); background: var(--offwhite); border: 1px solid var(--line); }
.stat-grid .stat .n { font-family: var(--font-display); font-size: 2rem; color: var(--purple); letter-spacing: 1px; }
.stat-grid .stat .l { font-size: 0.86rem; color: var(--muted); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.pillar {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex; flex-direction: column;
}
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--accent, var(--purple)); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; text-decoration: none; }
.pillar .p-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent, var(--purple)) 14%, #fff); color: var(--accent, var(--purple));
}
.pillar .p-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.18rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.pillar .p-link { margin-top: auto; font-weight: 600; font-size: 0.9rem; color: var(--accent, var(--purple)); display: inline-flex; align-items: center; gap: 6px; }
.pillar .p-link .arrow { transition: transform 0.2s var(--ease); }
.pillar:hover .p-link .arrow { transform: translateX(4px); }

/* Accent variants */
.accent-mobility { --accent: #4902BC; }
.accent-trade    { --accent: #F97171; }
.accent-infra    { --accent: #2563a8; }
.accent-finance  { --accent: #178a6e; }
.accent-tech     { --accent: #b8860b; }

/* ---------- Companies grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.filter-btn[aria-pressed="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }

.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.company-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.company-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.company-card .cc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.company-card h3 { font-size: 1.16rem; margin: 0; }
.company-card h3 a { color: var(--navy); }
.company-card h3 a:hover { color: var(--purple); text-decoration: none; }
.company-card .pillar-tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.company-card p { color: var(--muted); font-size: 0.94rem; margin: 0; flex: 1; }
.company-card .cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.company-card .cc-link { font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.02em;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-active      { color: #178a6e; background: #e4f5ef; }
.badge-launching   { color: #4902BC; background: var(--purple-050); }
.badge-soon        { color: #8a6d00; background: #fff5d6; }
.badge-regulated   { color: #a15300; background: #ffe9d6; }
.badge-development  { color: #5b5570; background: #eeecf5; }

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff; border-radius: clamp(18px, 3vw, 28px); padding: clamp(36px, 6vw, 64px); text-align: center;
  background:
    radial-gradient(700px 340px at 80% -20%, rgba(249,113,113,0.35), transparent 60%),
    linear-gradient(140deg, var(--purple) 0%, #360189 60%, var(--navy) 130%);
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: 1px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-inline: auto; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Company detail ---------- */
.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.company-body { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .company-body { grid-template-columns: 1fr; } }
.service-list { list-style: none; display: grid; gap: 12px; margin: 0; }
.service-list li { position: relative; padding-left: 34px; color: var(--ink); }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234902BC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }
.aside-card h3 { font-size: 1.1rem; }
.aside-card dl { margin: 0 0 20px; display: grid; gap: 12px; }
.aside-card dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.aside-card dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.value .v-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--coral); }
.value h3 { font-size: 1.12rem; margin: 8px 0 6px; }
.value p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ii-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--purple-050); color: var(--purple); display: grid; place-items: center; flex: none; }
.info-item .ii-icon svg { width: 20px; height: 20px; }
.info-item .ii-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.info-item .ii-value { font-weight: 600; color: var(--navy); word-break: break-word; }
.info-item .ii-value a { color: var(--navy); }
.info-item .ii-value a:hover { color: var(--purple); }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); background: var(--offwhite);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(73,2,188,0.12);
}
.field .error-msg { font-size: 0.82rem; color: #c0392b; min-height: 1em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }
/* Honeypot — visually hidden but present for bots */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.94rem; margin-bottom: 20px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e4f5ef; color: #12674f; border: 1px solid #b9e6d7; }
.form-status.error { background: #fdecea; color: #a5281b; border: 1px solid #f5c6c0; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-block: clamp(48px, 7vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-brand .brand-text { font-family: var(--font-display); font-size: 1.6rem; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.footer-brand .brand-text span { color: var(--coral); }
.footer-brand p { margin-top: 12px; font-size: 0.92rem; max-width: 34ch; color: rgba(255,255,255,0.65); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.94rem; }
.footer-links a:hover { color: #fff; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.socials a:hover { background: var(--purple); transform: translateY(-3px); border-color: var(--purple); text-decoration: none; }
.socials a svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 0.86rem; color: rgba(255,255,255,0.55);
}

/* ---------- Reveal on scroll ----------
   Content is visible by default (no-JS & crawlers see everything).
   The hidden/animate state only applies when JS is active (html.js),
   set before paint via a tiny inline script, so there is no flash. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- 404 ---------- */
.error-wrap { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.error-wrap .code { font-family: var(--font-display); font-size: clamp(5rem, 20vw, 11rem); color: var(--purple); line-height: 0.9; }
