/* ============================================================
   ANNEXIA.AI — Editorial landing system
   Brand DNA: halftone-dot "A" mark · gold accent · Dubai AI
   Type: Anek Latin (display) · Montserrat (body) · IBM Plex Mono (meta)
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg:    #0a0a0b;
  --bg-2:  #0f0f11;
  --bg-3:  #161619;
  --ink:   #ffffff;
  --ink-2: rgba(255,255,255,0.60);
  --ink-3: rgba(255,255,255,0.40);
  --ink-4: rgba(255,255,255,0.22);
  --hair:  rgba(255,255,255,0.11);
  --hair-2:rgba(255,255,255,0.06);


  /* --accent:   #ECB602;
  --accent-2: #ECB602; */
  --accent:   #008476;
  --accent-2: #008476;
  --accent-ink: #0a0a0b;

  --green:   #16b88f;
  --blue:    #7ba7e0;
  --crimson: #c96b86;

  --maxw: 1320px;
  --pad: clamp(1.4rem, 6vw, 7rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* --dot-rgb: 236,182,2; */
  --dot-rgb: 223, 224, 223;


}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-weight: inherit; line-height: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- TYPE ATOMS ---------- */
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  color: var(--accent-2);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7;
}
.display {
  font-family: 'Anek Latin', sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.lede {
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--pad);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--hair);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-family: 'Anek Latin', sans-serif;
  font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-name b { color: var(--accent-2); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: var(--ink-3);
  letter-spacing: 0.01em; transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink) !important;
  border: 1px solid var(--hair);
  padding: 10px 18px; border-radius: 2px;
  transition: all 0.25s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink) !important; }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transition: background 0.2s; }
.nav-cta:hover .dot { background: var(--accent-ink); }
@media (max-width: 860px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 76px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 40%, color-mix(in srgb, var(--bg) 55%, transparent) 100%),
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { margin-bottom: 2.2rem; }
.hero-h1 {
  font-family: 'Anek Latin', sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-size: clamp(3rem, 9.2vw, 8.4rem);
  margin: 0;
  max-width: 16ch;
  position: static;
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
  text-shadow: none;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .line > span { display: inline-block; }
.hero-h1 .accent {
  position: relative;
  background: linear-gradient(98deg, var(--accent) 0%, #ffd95e 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-meta-row {
  margin-top: clamp(2rem, 4vh, 3.2rem);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.hero-sub {
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  max-width: 44ch;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost { border-color: var(--hair); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--hair-2); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.hero-scrollcue {
  position: absolute; left: var(--pad); bottom: 2.4rem; z-index: 2;
  display: flex; align-items: center; gap: 12px; color: var(--ink-3);
}
.hero-scrollcue .bar {
  width: 1px; height: 40px; background: var(--hair);
  position: relative; overflow: hidden;
}
.hero-scrollcue .bar::after {
  content:""; position: absolute; inset: 0; background: var(--accent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(100%)} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--hair);
  background: var(--bg-2);
  overflow: hidden; padding: 1.5rem 0;
  display: flex; gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 3.5rem; flex-shrink: 0;
  animation: marq 38s linear infinite; padding-right: 3.5rem;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Anek Latin', sans-serif; font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.7rem); color: var(--ink-3);
  display: flex; align-items: center; gap: 3.5rem; white-space: nowrap;
}
.marquee-item .sep { color: var(--accent); font-size: 0.7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: clamp(5rem, 13vh, 10rem); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 7vh, 5.5rem); }
.section-head .eyebrow { margin-bottom: 1.6rem; }
.section-title {
  font-family: 'Anek Latin', sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  margin: 0 0 1.4rem;
  position: static;
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  text-shadow: none;
}
.section-sub { font-size: clamp(1rem, 1.3vw, 1.16rem); max-width: 52ch; }

/* ---------- MANIFESTO ---------- */
.manifesto { border-top: 1px solid var(--hair); }
.manifesto-grid { display: grid; grid-template-columns: 0.42fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.manifesto-grid .mono { color: var(--ink-3); padding-top: 0.6rem; }
.manifesto-body {
  font-family: 'Anek Latin', sans-serif; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.32;
  letter-spacing: -0.01em; text-wrap: pretty; margin: 0;
  color: var(--ink);
}
.manifesto-body b { color: var(--ink); font-weight: 700; }
.manifesto-body .hl { color: var(--accent-2); font-weight: 700; }
@media (max-width: 760px){ .manifesto-grid{ grid-template-columns: 1fr; gap: 1.5rem; } }

/* ============================================================
   STATS
   ============================================================ */
.stats { border-block: 1px solid var(--hair); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(2.4rem,5vh,3.6rem) clamp(1.2rem,2.6vw,2.4rem);
  border-left: 1px solid var(--hair);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: 'Anek Latin', sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; color: var(--ink);
  letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 2px;
}
.stat-num .suffix { color: var(--accent-2); }
.stat-label { margin-top: 1rem; color: var(--ink-3); }
.stat-desc { margin-top: 0.5rem; font-size: 0.86rem; font-weight: 300; color: var(--ink-3); line-height: 1.6; max-width: 24ch; }
@media (max-width: 820px){
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3){ border-left: none; }
  .stat:nth-child(3),.stat:nth-child(4){ border-top: 1px solid var(--hair); }
}
@media (max-width: 460px){
  .stats-grid{ grid-template-columns: 1fr; }
  .stat{ border-left: none; border-top: 1px solid var(--hair); }
  .stat:first-child{ border-top: none; }
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { border-top: 1px solid var(--hair); }

.prod-rows { border-top: 1px solid var(--hair); }
.prod-row {
  display: grid; grid-template-columns: 0.8fr 1.4fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
  padding: clamp(2.2rem, 5vh, 3.4rem) 0;
  border-bottom: 1px solid var(--hair);
  position: relative; transition: background 0.4s var(--ease);
}
.prod-row:hover { background: var(--hair-2); }
.prod-row-idx { display: flex; align-items: center; gap: 1rem; }
.prod-row-idx .num {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem;
  color: var(--acc-text, var(--accent-2)); letter-spacing: 0.1em;
}
.prod-row-idx .glyph {
  width: 44px; height: 44px; border-radius: 3px;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--hair); color: var(--acc-text, var(--accent-2));
  background: color-mix(in srgb, var(--acc, var(--accent)) 8%, transparent);
}
.prod-row-idx .glyph svg { width: 22px; height: 22px; }
.prod-mid .prod-name {
  font-family: 'Anek Latin', sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2.05rem); color: var(--ink);
  margin: 0 0 0.7rem; letter-spacing: -0.01em; line-height: 1.05;
}
.prod-mid .prod-desc { font-weight: 300; color: var(--ink-2); line-height: 1.7; font-size: 0.98rem; max-width: 46ch; }
.prod-right { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.prod-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--acc, var(--accent)) 40%, transparent);
  color: var(--acc-text, var(--accent-2));
}
.prod-link {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s, gap 0.2s;
}
.prod-row:hover .prod-link { color: var(--ink); gap: 12px; }
@media (max-width: 880px){
  .prod-row{ grid-template-columns: 1fr; gap: 1rem; }
  .prod-right{ flex-direction: row; align-items: center; }
}

/* ============================================================
   BRAND MOMENT
   ============================================================ */
.brandmoment {
  position: relative; min-height: 140vh;
  border-top: 1px solid var(--hair);
  background: var(--bg);
}
.brandmoment-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.brandmoment canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.brandmoment-content {
  position: relative; z-index: 2; text-align: center; padding-inline: var(--pad);
  max-width: 900px; pointer-events: none;
}
.brandmoment-content::before {
  content: ""; position: absolute; inset: -55% -25%; z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--bg) 18%, color-mix(in srgb, var(--bg) 62%, transparent) 48%, transparent 72%);
}
.brandmoment .mono { color: var(--accent-2); margin-bottom: 2rem; display: inline-block; }
.brandmoment-quote {
  font-family: 'Anek Latin', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.2; letter-spacing: -0.015em;
  margin: 0; text-wrap: balance;
}
.brandmoment-quote em { font-style: normal; color: var(--accent-2); }
.brandmoment-quote em.grad-engine {
  background: linear-gradient(135deg, #006674, #008476,#2f9e5c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brandmoment-quote em.grad-shape {
  background: linear-gradient(275deg, #2f4858,#006674, #008476);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   PILLARS / WHAT WE BUILD
   ============================================================ */
.pillars { border-top: 1px solid var(--hair); }
.pillars > .wrap > .eyebrow { margin-bottom: clamp(2rem, 5vh, 3.5rem); display: block; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
}
.pillar {
  position: relative; overflow: hidden; cursor: default;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(2rem, 4vw, 4rem) clamp(2rem, 3.5vw, 3rem) 0;
  border-right: 1px solid var(--hair);
  margin-left: 40px;
}
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar canvas[data-pillar-fx] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0;
  transition: opacity 0.5s ease;
}
.pillar-inner { position: relative; z-index: 1; }
.pillar .pdot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  display: block; margin-bottom: 1.6rem;
}
.pillar-title {
  font-family: 'Anek Latin', sans-serif; font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.1;
  letter-spacing: -0.01em; margin: 0 0 0.9rem; color: var(--ink);
}
.pillar-desc {
  font-weight: 300; color: var(--ink-2); line-height: 1.7;
  font-size: 0.94rem; max-width: 30ch;
}
@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-top: 1px solid var(--hair); padding: clamp(1.8rem, 3vw, 2.4rem) 0 0; }
  .pillar:first-child { border-top: none; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { border-top: 1px solid var(--hair); background: var(--bg-2); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step {
  padding: 0 clamp(1.2rem,2.2vw,2rem); border-left: 1px solid var(--hair);
  position: relative;
}
.process-step:first-child { border-left: none; padding-left: 0; }
.process-step .pnum {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--accent-2);
  letter-spacing: 0.1em; margin-bottom: 1.4rem; display: block;
}
.process-step .ptitle {
  font-family: 'Anek Latin', sans-serif; font-weight: 700;
  font-size: clamp(1.2rem,1.8vw,1.5rem); margin: 0 0 0.8rem; letter-spacing: -0.01em;
}
.process-step .pdesc { font-weight: 300; color: var(--ink-2); line-height: 1.7; font-size: 0.92rem; }
.process-step .pdot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-bottom: 1.6rem;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
@media (max-width: 880px){ .process-grid{ grid-template-columns: 1fr 1fr; row-gap: 3rem; } .process-step:nth-child(3){ border-left:none; padding-left:0; } }
@media (max-width: 520px){ .process-grid{ grid-template-columns: 1fr; } .process-step{ border-left:none; padding-left:0; border-top:1px solid var(--hair); padding-top:2rem; } .process-step:first-child{ border-top:none; padding-top:0; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services { border-top: 1px solid var(--hair); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.service {
  background: var(--bg); padding: clamp(1.6rem,3vw,2.4rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 180px;
  transition: background 0.3s var(--ease); position: relative;
}
.service:hover { background: var(--bg-2); }
.service .sicon { color: var(--accent-2); }
.service .sicon svg { width: 26px; height: 26px; }
.service .sname { font-family:'Anek Latin',sans-serif; font-weight:700; font-size:1.16rem; margin:0; }
.service .sdesc { font-weight:300; color: var(--ink-3); font-size:0.86rem; line-height:1.6; margin-top: auto; }
.service .snum { position:absolute; top: clamp(1.6rem,3vw,2.4rem); right: clamp(1.6rem,3vw,2.4rem); font-family:'IBM Plex Mono',monospace; font-size:0.7rem; color: var(--ink-4); }
@media (max-width: 820px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .services-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { border-top: 1px solid var(--hair); background: var(--bg-2); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.contact-h {
  font-family: 'Anek Latin', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.98; letter-spacing: -0.018em;
  margin: 1.4rem 0 1.6rem;
  position: static; background: none; color: var(--ink);
  -webkit-text-fill-color: var(--ink); text-shadow: none;
}
.contact-points { list-style:none; margin: 2.4rem 0 0; padding:0; display:flex; flex-direction:column; gap:1.1rem; }
.contact-points li { display:flex; gap:0.9rem; align-items:flex-start; color: var(--ink-2); font-weight:300; font-size:0.96rem; line-height:1.5; }
.contact-points .ci { color: var(--accent-2); flex-shrink:0; margin-top:2px; }
.contact-direct { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--hair); }
.contact-direct .mono { color: var(--ink-3); display:block; margin-bottom: 0.5rem; }
.contact-direct a { font-family:'Anek Latin',sans-serif; font-weight:700; font-size: clamp(1.2rem,2vw,1.6rem); color: var(--ink); transition: color 0.2s; }
.contact-direct a:hover { color: var(--accent-2); }

.contact-card {
  background: var(--bg); border: 1px solid var(--hair); border-radius: 6px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
}
.field { margin-bottom: 1.1rem; }
.field label { display:block; font-family:'IBM Plex Mono',monospace; font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--ink-3); margin-bottom:0.6rem; }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--hair); color: var(--ink);
  border-radius: 3px; padding: 13px 15px; font-family:'Montserrat',sans-serif; font-size:0.92rem;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus { outline:none; border-color: var(--accent); background: var(--bg-3); }
.field textarea { resize: vertical; min-height: 110px; }
.field input.is-invalid { border-color: var(--crimson); }
.field-error { font-family:'IBM Plex Mono',monospace; font-size:0.68rem; letter-spacing:0.06em; color: var(--crimson); margin-bottom: 1rem; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--crimson) 35%, transparent); border-radius: 3px; background: color-mix(in srgb, var(--crimson) 8%, transparent); }
.contact-card .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }
.contact-note { font-size:0.78rem; color: var(--ink-4); margin-top: 1.2rem; text-align:center; line-height:1.6; }
@media (max-width: 820px){ .contact-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--hair); padding-block: clamp(3rem,6vh,4.5rem); }
.footer-top { display:flex; justify-content:space-between; align-items:flex-start; gap:2rem; flex-wrap:wrap; padding-bottom: 3rem; border-bottom: 1px solid var(--hair); }
.footer-brand-block { max-width: 340px; }
.footer-brand-block .brand { margin-bottom: 1.2rem; }
.footer-tag { font-weight:300; color: var(--ink-3); font-size:0.9rem; line-height:1.7; }
.footer-cols { display:flex; gap: clamp(2rem,5vw,5rem); flex-wrap:wrap; }
.footer-col h4 { font-family:'IBM Plex Mono',monospace; font-size:0.68rem; letter-spacing:0.12em; text-transform:uppercase; color: var(--ink-4); margin:0 0 1.2rem; font-weight:500; }
.footer-col a { display:block; color: var(--ink-2); font-size:0.9rem; font-weight:300; margin-bottom:0.75rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding-top: 2rem; }
.footer-meta { font-family:'IBM Plex Mono',monospace; font-size:0.72rem; color: var(--ink-4); letter-spacing:0.04em; display:flex; align-items:center; gap:8px; }
.footer-meta img { width:16px; height: auto; display:inline-block; opacity:0.85; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .marquee-track{ animation: none; }
  html{ scroll-behavior: auto; }
}
