/* ============================================================================
   QuidexAI — quidexai.com landing page
   Identity: deep-navy base + indigo→cyan accent (kin to Phronexa's ink,
   deliberately distinct from its emerald, which appears only in the
   product band). Plain CSS, no framework, logical properties for RTL.
   ========================================================================== */

/* ----------------------------------------------------------------- fonts */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/PlexArabic-400-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/PlexArabic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/PlexArabic-600-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/PlexArabic-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/PlexArabic-700-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/PlexArabic-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --ink: #0c1224;
  --ink-2: #121a36;
  --ink-3: #1a2344;
  --accent: #635bff;
  --accent-2: #22b8e6;
  --accent-soft: #a5b4ff;
  --emerald: #2db98a;
  --emerald-soft: #5ccfa6;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --border: #e4e9f3;
  --fg: #111527;
  --muted: #5b6579;
  --on-dark: #eef2fb;
  --on-dark-muted: #aab6d3;
  --radius: 1rem;
  --font-latin: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

/* ----------------------------------------------------------------- base */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* decorative glows must never create horizontal pan */
}
body {
  font-family: var(--font-latin);
  color: var(--fg);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[lang="ar"] body { font-family: var(--font-arabic); }
/* Arabic is cursive: tracking disconnects letters */
html[lang="ar"] * { letter-spacing: 0 !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ----------------------------------------------------------------- type */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
html[lang="ar"] .eyebrow { font-size: 0.85rem; }
.eyebrow-rule { display: flex; align-items: center; gap: 0.9rem; }
.eyebrow-rule::before {
  content: "";
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.eyebrow-emerald { color: var(--emerald-soft); }
.eyebrow-emeraldless { color: var(--accent-soft); }

.section { padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 6.5rem; } }

.section-title {
  margin-top: 1rem;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 46rem;
}
.section-title.on-dark { color: var(--on-dark); }
.section-sub {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #4f46e5 55%, var(--accent-2) 130%);
  box-shadow: 0 10px 28px -12px rgba(99, 91, 255, 0.65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(99, 91, 255, 0.8); }
.btn-ghost {
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.05); }
.btn-emerald {
  color: #04130d;
  background: linear-gradient(120deg, var(--emerald-soft), var(--emerald));
  box-shadow: 0 10px 28px -12px rgba(45, 185, 138, 0.6);
}
.btn-emerald:hover { transform: translateY(-1px); }
.btn .ext, .btn .ic { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .btn .ext { transform: scaleX(-1); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 18, 36, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.25rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 2rem; height: 2rem; }
.brand-word {
  font-family: var(--font-latin);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.brand-ai {
  background: linear-gradient(100deg, var(--accent-soft), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-nav {
  display: none;
  gap: 0.35rem;
  margin-inline-start: 0.75rem;
}
@media (min-width: 900px) { .site-nav { display: flex; } }
.site-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(238, 242, 251, 0.75);
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--on-dark); background: rgba(99, 91, 255, 0.18); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-inline-start: auto;
}
.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: none;
  color: rgba(238, 242, 251, 0.85);
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
html[lang="ar"] .lang-toggle { font-family: var(--font-latin); }
.lang-toggle:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }

.nav-burger {
  display: grid;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
@media (min-width: 900px) { .nav-burger { display: none; } }
.nav-burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--on-dark); transition: transform 0.25s, opacity 0.25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; } /* authored display beats [hidden] otherwise */
.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(12, 18, 36, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav a {
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  color: rgba(238, 242, 251, 0.85);
  font-weight: 500;
}
.mobile-nav a:hover { background: rgba(99, 91, 255, 0.18); color: #fff; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: 9.5rem 5.5rem;
}
@media (min-width: 768px) { .hero { padding-block: 11rem 7rem; } }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 12% 0%, rgba(99, 91, 255, 0.28), transparent 62%),
    radial-gradient(45% 55% at 95% 12%, rgba(34, 184, 230, 0.16), transparent 60%),
    radial-gradient(70% 80% at 50% 118%, rgba(99, 91, 255, 0.12), transparent 65%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(165, 180, 255, 0.35) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.16;
  /* fade the dots out under the transparent header and at the edges */
  -webkit-mask-image: linear-gradient(to bottom, transparent 3rem, black 10rem),
    radial-gradient(80% 70% at 50% 20%, black, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 3rem, black 10rem),
    radial-gradient(80% 70% at 50% 20%, black, transparent);
  mask-composite: intersect;
}
.hero-inner { position: relative; max-width: 54rem; }
.hero-title {
  margin-top: 1.1rem;
  font-size: clamp(2.35rem, 6vw, 3.9rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
html[lang="ar"] .hero-title { line-height: 1.25; }
.hero-sub {
  margin-top: 1.4rem;
  max-width: 38rem;
  font-size: 1.1rem;
  color: var(--on-dark-muted);
}
.hero-ctas { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-chips {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.hero-chips li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--on-dark-muted);
}
.hero-chips li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  flex: none;
}

/* ----------------------------------------------------------------- cards */
.cards-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 91, 255, 0.35);
  box-shadow: 0 22px 44px -24px rgba(17, 21, 39, 0.28);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.14), rgba(34, 184, 230, 0.12));
  border: 1px solid rgba(99, 91, 255, 0.22);
}
.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 700; }
.card p { margin-top: 0.55rem; font-size: 0.93rem; color: var(--muted); }

/* ----------------------------------------------------------------- product */
.product {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(45, 185, 138, 0.16), transparent 60%),
    var(--ink);
  color: var(--on-dark);
}
.product-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 50% at 15% 100%, rgba(45, 185, 138, 0.1), transparent 65%);
}
.product-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .product-grid { grid-template-columns: 0.92fr 1.08fr; gap: 4rem; } }
.product-lockup { height: 2.6rem; width: auto; margin-top: 1.4rem; }
.product .section-title { margin-top: 1.2rem; }
.product-body { margin-top: 1.1rem; max-width: 34rem; color: var(--on-dark-muted); }
.ticks { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.ticks li {
  position: relative;
  padding-inline-start: 1.75rem;
  font-size: 0.98rem;
  color: rgba(238, 242, 251, 0.88);
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: rgba(45, 185, 138, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ccfa6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center/60% no-repeat;
}
.product .btn { margin-top: 2rem; }
.pframe {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  background: #0a0f1f;
  overflow: hidden;
}
.pslide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.pslide.is-active { opacity: 1; }
.product-shot figcaption {
  margin-top: 0.9rem;
  min-height: 2.4em;
  text-align: center;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.pdots {
  margin-top: 0.35rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pdots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.pdots button[aria-selected="true"] {
  width: 1.4rem;
  background: linear-gradient(120deg, var(--emerald-soft), var(--emerald));
}

/* ----------------------------------------------------------------- steps */
.steps {
  margin-top: 3.2rem;
  display: grid;
  gap: 1.6rem;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.step-n {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
}
.steps h3 { margin-top: 1rem; font-size: 1rem; font-weight: 700; }
.steps p { margin-top: 0.45rem; font-size: 0.9rem; color: var(--muted); }

/* ----------------------------------------------------------------- experience */
.experience { background: var(--surface-2); border-block: 1px solid var(--border); }
.logo-wall {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 2.6rem;
  align-items: center;
  justify-items: center;
}
@media (min-width: 560px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logo-wall { grid-template-columns: repeat(8, 1fr); } }
.logo-wall img { height: 4.4rem; width: auto; max-width: 100%; object-fit: contain; }

/* ----------------------------------------------------------------- contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 50% 0%, rgba(99, 91, 255, 0.22), transparent 65%);
}
.contact-inner { position: relative; text-align: center; max-width: 44rem; }
.contact-inner .eyebrow-emeraldless { justify-content: center; }
.contact-inner .section-title { margin-inline: auto; }
.contact-body { margin-top: 1rem; color: var(--on-dark-muted); font-size: 1.05rem; }
.contact-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.contact-loc {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}
.contact .ic { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--surface); padding-block: 2.6rem; }
.footer-inner {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto 1fr; }
  .footer-copy { text-align: end; }
}
.footer-brand .brand-word { color: var(--fg); font-size: 1.05rem; }
.footer-brand p { margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.9rem; color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.82rem; color: var(--muted); }

/* ----------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
