/* ==========================================================================
   Clarity Cura — Stylesheet
   Theme: White & Blue · Calm, professional, accessible
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Blues */
  --blue-900: #0a2c52;
  --blue-800: #0d3a6b;
  --blue-700: #114a86;
  --blue-600: #1565c0;
  --blue-500: #1f78d1;
  --blue-400: #4f9be6;
  --blue-200: #b9d8f6;
  --blue-100: #e3f0fc;
  --blue-50:  #f2f8fe;

  /* Accent (soft teal for warmth) */
  --teal-500: #1aa9a0;
  --teal-100: #d9f3f1;

  /* Neutrals */
  --ink:      #16263a;
  --slate:    #475569;
  --muted:    #6b7c93;
  --line:     #e4ebf3;
  --white:    #ffffff;
  --paper:    #f7fafd;

  /* Status */
  --focus:    #ffb703;

  /* Type */
  --font-sans: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(16, 58, 107, 0.06);
  --shadow:    0 10px 30px rgba(16, 58, 107, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 58, 107, 0.14);
  --gap: clamp(1rem, 3vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; -webkit-tap-highlight-color: rgba(31, 120, 209, 0.15); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; height: auto; }
img[loading="lazy"] { content-visibility: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--blue-900); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { color: var(--slate); }

/* Ensure tappable elements meet 44px minimum on mobile */
@media (max-width: 920px) {
  a, button { min-height: 44px; }
  .btn { min-height: 44px; }
  .socials a, .footer-socials a { width: 48px; height: 48px; }
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-700);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head.left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-head p { font-size: 1.1rem; margin-top: 0.85rem; }

.bg-soft { background: var(--blue-50); }
.bg-paper { background: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-decoration: none !important;
  line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 120, 209, 0.30);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 120, 209, 0.36); color:#fff; }
.btn-secondary {
  background: #fff;
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.btn-secondary:hover { border-color: var(--blue-500); background: var(--blue-50); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); color:#fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue-900);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .logo { width: 40px; height: 40px; flex: none; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}
.nav-links a:not(.btn) {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
}
.nav-links a:not(.btn):hover { background: var(--blue-50); color: var(--blue-700); }
.nav-links a:not(.btn):active { background: var(--blue-100); color: var(--blue-700); }
.nav-links a[aria-current="page"] { color: var(--blue-700); background: var(--blue-100); }
.nav-cta { margin-left: 0.4rem; }
.nav-cta .btn { padding: 0.5rem 1rem; font-size: 0.98rem; }

.nav-toggle {
  display: none;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  cursor: pointer;
  color: var(--blue-700);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.8rem clamp(1.1rem, 4vw, 2rem) 1.2rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .nav-links.open { max-height: 80vh; visibility: visible; }
  .nav-links a:not(.btn) { padding: 0.8rem 0.85rem; font-size: 1.05rem; min-height: 44px; display: flex; align-items: center; }
  .nav-cta { margin: 0.4rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 0.8rem 1rem; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(79,155,230,0.18), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-copy .lead { font-size: 1.2rem; color: var(--slate); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-trust div { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--slate); font-weight: 500; }
.hero-trust svg { width: 1.3rem; height: 1.3rem; color: var(--teal-500); flex: none; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 4.3;
}
.hero-card {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 250px;
}
.hero-card .ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-500);
  display: grid; place-items: center; flex: none;
}
.hero-card svg { width: 24px; height: 24px; }
.hero-card strong { display: block; color: var(--blue-900); font-size: 0.98rem; }
.hero-card span { font-size: 0.82rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
  }
  .hero .eyebrow {
    display: none;
  }
  .hero-figure { max-width: 460px; margin-inline: auto; }
  .hero-copy .lead { max-width: none; }
  .hero-card {
    position: relative;
    z-index: 2;
    background: #fff;
    margin: -36px auto 0;
    left: auto;
    bottom: auto;
    max-width: 320px;
  }
}

/* ---------- Back button ---------- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 1.4rem;
  transition: background 0.18s ease;
}
.back-btn:hover { background: rgba(255,255,255,0.28); color: #fff; text-decoration: none; }
.back-btn svg { width: 1rem; height: 1rem; flex: none; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(79,155,230,0.25), transparent 60%),
    linear-gradient(160deg, var(--blue-800), var(--blue-600));
  color: #fff;
  padding-block: clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}
.page-banner h1 { color: #fff; }
.page-banner p { color: rgba(255,255,255,0.9); max-width: 60ch; margin: 1rem auto 0; font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0.8rem; }
.breadcrumb a { color: #fff; text-decoration: underline; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.98rem; }

/* Value cards with teal accent variety */
.card.accent .icon { background: var(--teal-100); color: var(--teal-500); }

/* ---------- Services list (checklist style) ---------- */
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink);
}
.checklist li svg { width: 1.35rem; height: 1.35rem; color: var(--teal-500); flex: none; margin-top: 0.15rem; }

/* ---------- Two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat .num { font-family: var(--font-sans); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--blue-600); }
.stat .label { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Areas chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--blue-200);
  color: var(--blue-800);
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 1.05rem; height: 1.05rem; color: var(--blue-500); }

/* ---------- CQC / highlight band ---------- */
.band {
  background:
    radial-gradient(800px 400px at 10% 120%, rgba(26,169,160,0.25), transparent 60%),
    linear-gradient(150deg, var(--blue-800), var(--blue-700));
  color: #fff;
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.92); }
.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  text-align: left;
}
.band-left { display: flex; flex-direction: column; align-items: flex-start; }
.band-right p { font-size: 1.1rem; line-height: 1.75; }
@media (max-width: 700px) {
  .band-inner { grid-template-columns: 1fr; }
}
.band .pill {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.92); max-width: 55ch; margin: 1rem auto 1.8rem; }
.cta-strip .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px; background: var(--blue-100); color: var(--blue-600);
  display: grid; place-items: center;
}
.contact-list .ic svg { width: 24px; height: 24px; }
.contact-list strong { display: block; font-family: var(--font-sans); color: var(--blue-900); }
.contact-list a { color: var(--blue-600); font-weight: 500; }

.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--blue-700);
  transition: background 0.18s ease, transform 0.18s ease;
}
.socials a:hover { background: var(--blue-600); color: #fff; transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--blue-900); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31,120,209,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* +44 phone prefix wrapper */
.tel-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.tel-wrap:focus-within {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31,120,209,0.15);
}
.tel-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: var(--blue-50);
  border-right: 1.5px solid var(--line);
  color: var(--blue-700);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
/* Use higher specificity to beat .field input */
.tel-wrap input[type="tel"] {
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.tel-wrap input[type="tel"]:focus {
  outline: none;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Custom select — replace browser default arrow with a clean chevron */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%234f9be6%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select:invalid { color: var(--muted); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-100); color: #0c5a55; }

/* ---------- FAQ / accordion ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.2rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--blue-900);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue-500); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-900);
  color: #c8d8ea;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 0.8rem; }
.site-footer .brand small { color: var(--blue-400); }
.footer-about p { color: #a9c0db; font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.footer-col a, .footer-col li { color: #b9cce0; font-size: 0.95rem; min-height: 0; }
.footer-col a:hover { color: #fff; }
.footer-col .row { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-col .row svg { width: 1rem; height: 1rem; color: var(--blue-400); flex: none; margin-top: 0.2rem; }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; color: #fff;
  transition: background 0.18s ease;
}
.footer-socials a:hover { background: var(--blue-600); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8ea7c4;
}
.footer-bottom a { color: #8ea7c4; }
.footer-bottom a:hover { color: #fff; }

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

/* ---------- Profile / founder section ---------- */
.profile-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.profile-photo-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  object-position: top center;
}
@media (max-width: 820px) {
  .profile-split { grid-template-columns: 1fr; }
  .profile-photo-wrap { max-width: 280px; margin-inline: auto; }
}
.profile-role {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.35rem;
}
.profile-name { font-size: clamp(1.5rem, 2.5vw, 1.9rem); color: var(--blue-900); margin-bottom: 1.4rem; }
.profile-bio p + p { margin-top: 0.9rem; }
.lang-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.lang-tags-label { font-family: var(--font-sans); font-weight: 600; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; align-self: center; }
.lang-tags span {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

/* ---------- Misc utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--slate); }
.prose p + p { margin-top: 1rem; }
.prose h2 { margin-top: 2.4rem; margin-bottom: 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.6rem; }
.prose p { margin-bottom: 0.5rem; }
.prose ul { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.prose p + ul { margin-top: 0.5rem; }
