/* ==========================================================
   Tardigrades Inc — design system
   Deep-ocean navy + lagoon teal on warm coral-sand paper.
   ========================================================== */

:root {
  --ink: #0b1f3a;
  --ink-2: #13305a;
  --teal: #12969c;
  --teal-2: #1fb8b4;
  --teal-soft: #d8eeec;
  --paper: #f6f4ef;
  --paper-2: #ece8de;
  --white: #ffffff;
  --muted: #4b5b72;
  --line: rgba(11, 31, 58, 0.12);
  --line-strong: rgba(11, 31, 58, 0.22);

  --grad: linear-gradient(135deg, var(--ink-2) 0%, var(--teal) 100%);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 12px 40px -12px rgba(11, 31, 58, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #dfe7f1; overflow: hidden; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lead { color: #a9b8cc; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--ink .eyebrow { color: var(--teal-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg); border-radius: 999px;
  font: 700 0.98rem/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(11, 31, 58, 0.55); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--teal { --bg: var(--teal); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { --fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.section--ink .btn--ghost, .cta .btn--ghost { --fg: #fff; border-color: rgba(255, 255, 255, 0.3); }
.section--ink .btn--ghost:hover, .cta .btn--ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 239, 0.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font: 600 0.95rem/1 var(--sans); color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .nav-links button:hover, .nav-links [aria-current="page"] { background: rgba(11, 31, 58, 0.06); color: var(--ink); }
.nav-links .btn { margin-left: 10px; padding: 0 22px; min-height: 46px; background: var(--ink); color: #fff; }
.nav-links .btn:hover { background: var(--teal); color: #fff; }
.nav-links .chev { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(560px, 90vw);
  transform: translate(-50%, 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown a { display: block; padding: 14px 16px; border-radius: var(--radius-sm); }
.dropdown a strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.dropdown a span { display: block; font-size: 0.84rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.dropdown a:hover { background: var(--paper); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 78px 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); padding: 20px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav-links a, .nav-links button { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover, .nav-links [aria-current="page"] { background: none; color: var(--teal); }
  .dropdown { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; background: transparent; grid-template-columns: 1fr; padding: 4px 0 8px 12px; }
  .has-dropdown.open .dropdown { display: grid; transform: none; }
  .has-dropdown:hover .dropdown { transform: none; }
  .dropdown a { border-bottom: 0; padding: 10px 8px; }
  .dropdown a span { display: none; }
  .nav-links .btn { margin: 20px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; min-height: 54px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--teal); }

.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-orb {
  position: absolute; inset: 4%; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(31, 184, 180, 0.28), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(19, 48, 90, 0.22), transparent 60%),
    var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.hero-orb::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed var(--line-strong); animation: spin 80s linear infinite; }
.hero-logo { position: absolute; inset: 18%; display: grid; place-items: center; animation: drift 9s ease-in-out infinite; }
.hero-logo img { width: 100%; filter: drop-shadow(0 24px 30px rgba(11, 31, 58, 0.18)); }
.hero-chip {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: 0.85rem; line-height: 1.3;
  display: flex; align-items: center; gap: 12px;
}
.hero-chip b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.hero-chip i { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.hero-chip i svg { width: 18px; height: 18px; }
.hero-chip--a { top: 8%; left: -4%; animation: bob 7s ease-in-out infinite; }
.hero-chip--b { bottom: 8%; right: -2%; animation: bob 8s ease-in-out -3s infinite; }

.ribbons { position: absolute; pointer-events: none; z-index: 0; opacity: 0.55; }
.hero > .wrap { position: relative; z-index: 1; }

@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; width: 100%; margin-inline: auto; order: -1; }
  .hero-chip--a { left: 0; }
  .hero-chip--b { right: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--white); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-style: italic; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; color: var(--ink-2); }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.section--ink .section-head p { color: #a9b8cc; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center p { max-width: 60ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card {
  grid-column: span 2;
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; text-decoration: none; color: var(--ink); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
/* rows of three; a lone last card spans the full row */
.service-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.service-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity 0.45s var(--ease);
}
.service-card > * { position: relative; }
.service-card:hover::before { opacity: 1; }
.service-card:hover, .service-card:hover h3, .service-card:hover .num { color: #fff; }
.service-card:hover p { color: rgba(255, 255, 255, 0.82); }
.service-card:hover .ico { background: rgba(255, 255, 255, 0.14); color: #fff; }
.service-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.service-card .num { font-family: var(--serif); font-size: 0.95rem; color: var(--muted); }
.ico { width: 56px; height: 56px; border-radius: 16px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.ico svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--muted); margin-bottom: 28px; font-size: 0.98rem; }
.service-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; }
.service-card .more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 1; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 26px; } .service-card .top { margin-bottom: 32px; } }

/* ---------- Story / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); }
.fact { background: var(--ink); padding: 30px 28px; }
.fact b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: #fff; margin-bottom: 10px; letter-spacing: -0.02em; }
.fact b sup { font-size: 0.5em; color: var(--teal-2); }
.fact span { font-size: 0.92rem; color: #a9b8cc; line-height: 1.45; display: block; }

.pull { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 28px; }
.pull em { color: var(--teal-2); }

/* ---------- Pillars / values ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 36px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .k { font-family: var(--serif); font-style: italic; color: var(--teal); font-size: 1.05rem; margin-bottom: 18px; display: block; }
.pillar p { color: var(--muted); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 28px 0 4px; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.process li { position: relative; padding: 32px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); counter-increment: step; }
.process li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--teal-2); margin-bottom: 36px; }
.process h3 { font-size: 1.3rem; }
.process p { color: #a9b8cc; font-size: 0.96rem; margin: 0; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Checklist / feature list ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312969c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks--2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 700px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Feature blocks (service detail) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.feature .ico { margin-bottom: 24px; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.feature .checks { font-size: 0.96rem; margin-top: 8px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } .feature { padding: 26px; } }

.aside-card { position: sticky; top: 110px; background: var(--ink); color: #dfe7f1; border-radius: var(--radius); padding: 34px; overflow: hidden; }
.aside-card h3 { color: #fff; }
.aside-card p { color: #a9b8cc; font-size: 0.98rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .ribbons { right: -80px; bottom: -80px; width: 280px; opacity: 0.35; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--teal-soft); }
.faq .answer { padding: 0 60px 26px 0; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: var(--ink); color: #dfe7f1; padding: clamp(44px, 7vw, 88px); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(31, 184, 180, 0.35), transparent 50%), radial-gradient(circle at 10% 110%, rgba(31, 184, 180, 0.18), transparent 45%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 16ch; }
.cta h2 em { color: var(--teal-2); }
.cta p { color: #a9b8cc; max-width: 52ch; }
.cta .btn-row { margin-top: 32px; }
.cta .ribbons { position: absolute; right: -40px; top: -40px; width: min(520px, 60%); opacity: 0.3; }

/* ---------- Team / founder ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4vw, 48px); }
.founder-mark { aspect-ratio: 1; border-radius: var(--radius); background: var(--grad); display: grid; place-items: center; position: relative; overflow: hidden; }
.founder-mark span { font-family: var(--serif); font-size: 6rem; font-style: italic; color: #fff; line-height: 1; }
.founder-mark .ribbons { inset: auto -30% -30% auto; width: 120%; opacity: 0.25; }
.founder .role { font-weight: 700; font-size: 0.84rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-mark { max-width: 220px; } }

/* ---------- Credentials strip ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cred { padding: 26px 28px; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred small { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cred strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr 1fr; } .cred:nth-child(3) { border-left: 0; } .cred:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } .cred + .cred { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color 0.3s, transform 0.35s var(--ease); }
a.contact-card:hover { border-color: var(--teal); color: var(--ink); transform: translateX(4px); }
.contact-card small { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 1.08rem; word-break: break-word; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4vw, 44px); }
.form h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font-size: 0.88rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 0.9rem; font-weight: 600; transition: all 0.2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b8cc; padding: clamp(64px, 8vw, 100px) 0 32px; margin-top: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.site-footer a { color: #dfe7f1; text-decoration: none; }
.site-footer a:hover { color: var(--teal-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { width: 120px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.site-footer h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-word { font-family: var(--serif); font-size: clamp(3.4rem, 13vw, 11rem); line-height: 0.85; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14); margin: clamp(48px, 7vw, 80px) 0 28px; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.site-footer .ribbons { right: -120px; top: -60px; width: 520px; opacity: 0.12; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(18, 150, 156, 0.6); transition: transform 0.3s var(--ease); }
.fab:hover { color: #fff; transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s !important; }
.reveal-d2 { transition-delay: 0.16s !important; }
.reveal-d3 { transition-delay: 0.24s !important; }

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

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: 18px; }

/* ---------- Ribbon placements ---------- */
.hero-ribbons { right: -140px; top: -80px; width: min(640px, 75vw); opacity: 0.16; }
.section--ink > .ribbons { left: -140px; bottom: -160px; width: 460px; opacity: 0.14; }
.split--aside { grid-template-columns: 1fr 340px; }
@media (max-width: 900px) { .split--aside { grid-template-columns: 1fr; } .aside-card { position: relative; top: 0; } }

/* ---------- Badge ---------- */
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.service-card:hover .badge { background: #fff; color: var(--teal); }

/* ---------- Spotlight (home) ---------- */
.spotlight { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grad); }
.spotlight h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.spotlight .lead { margin-bottom: 28px; }
.spotlight .checks { background: var(--paper); border-radius: var(--radius); padding: 28px; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.compare-row { display: grid; grid-template-columns: 0.7fr 1.2fr 1.2fr; }
.compare-row > * { padding: 18px 24px; border-top: 1px solid var(--line); }
.compare-row:first-child > * { border-top: 0; }
.compare-row > :last-child { background: var(--teal-soft); color: var(--ink); font-weight: 600; }
.compare-row > :nth-child(2) { color: var(--muted); }
.compare-head > * { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-block: 14px; }
.compare-head > :last-child { background: var(--ink); color: #fff; }
.compare strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
@media (max-width: 680px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > * { border-top: 0; padding: 10px 20px; }
  .compare-row { border-top: 1px solid var(--line); padding-block: 8px; }
  .compare-row:nth-child(2) { border-top: 0; }
  .compare-row > :nth-child(2)::before { content: "In-house: "; font-weight: 700; color: var(--ink); }
  .compare-row > :last-child { border-radius: 10px; margin: 0 12px 8px; }
  .compare-row > :last-child::before { content: "With us: "; font-weight: 800; }
}

/* ---------- Founder CV (about) ---------- */
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.cv-col { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4vw, 44px); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--teal-soft); display: grid; gap: 22px; }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--white); }
.timeline time { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.timeline strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.timeline span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.cv-col .checks { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) { .cv-grid { grid-template-columns: 1fr; } }

.founder-mark--blank { background: var(--grad); }
