/* Konverta.ai shared styles: "Midnight Editorial" design system.
   Dark navy canvas, gradient-as-light, Outfit + Instrument Serif italic accents, hairline rhythm.
   Plain CSS, no framework, mobile-first. Logo is always shown as the original file on a cream pill. */

/* ---------- Tokens ---------- */
:root {
  /* brand (contract names kept) */
  --navy: #0F2D4B;
  --navy-deep: #002D4B;
  --cyan: #0FB4C3;
  --blue: #0F87D2;
  --blue-bright: #0F96E1;
  --cream: #F9FCF4;
  --white: #fff;
  --radius-card: 14px;
  --radius-btn: 999px;
  --grad: linear-gradient(120deg, #0FB4C3 0%, #0F87D2 100%);
  --grad-deep: linear-gradient(135deg, #0FB4C3, #0F87D2, #0F2D4B);

  /* dark canvas */
  --ink: #060F1A;
  --ink-2: #0A1828;
  --ink-3: #0F2236;
  --text: #E9EFF4;      /* 16.4:1 on --ink */
  --soft: #B7C4D2;      /* 10.6:1 */
  --muted: #8FA1B5;     /* 7.1:1  */
  --accent: #7EE6EE;    /* cyan text accent, 13:1 */
  --link: #8FE0E8;
  --line: rgba(233, 239, 244, .10);
  --line-2: rgba(233, 239, 244, .18);
  --line-strong: rgba(233, 239, 244, .28);
  --surface: rgba(233, 239, 244, .035);
  --surface-2: rgba(233, 239, 244, .06);
  --tint: rgba(15, 180, 195, .12);
  --danger: #FF9C94;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25), 0 4px 14px rgba(0, 0, 0, .2);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .25), 0 24px 48px -16px rgba(0, 0, 0, .5);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: var(--font);
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --container: 1312px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: dark; }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--font); font-weight: 300; font-size: 1.0625rem; line-height: 1.6;
  color: var(--text); background: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* film grain (static, decorative) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 400; letter-spacing: -.025em; color: var(--text); }
p, ul, ol, figure, blockquote { margin: 0 0 1em; }
strong, b { font-weight: 500; }
img, svg, video { display: block; max-width: 100%; height: auto; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #C4F3F6; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--ink); }

/* ---------- Utilities ---------- */
.container, .wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { left: -9999px; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: .65rem 1rem; border-radius: 10px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Typography helpers ---------- */
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 1.1rem;
}
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); flex: none; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.idx { display: flex; align-items: center; gap: 14px; margin: 0; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.idx b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.25rem; letter-spacing: 0; color: var(--cyan); text-transform: none; }
.h-display { font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.h-page { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.h-section, .h2 { font-size: clamp(2rem, 4.8vw, 3.9rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.h-display em, .h-page em, .h-section em, .h2 em { color: #8FE0E8; padding-right: .04em; }
.lead { font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--soft); font-weight: 300; }
.lead strong { color: var(--text); font-weight: 400; }
.grad-text { background: linear-gradient(100deg, #7EE6EE 0%, #0FB4C3 35%, #3AA6EC 70%, #9FD3F6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: .8rem 1.5rem;
  font: 500 .9375rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius-btn);
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* primary = cream pill on dark */
.btn-primary, .btn-light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn-primary:hover, .btn-light:hover { box-shadow: 0 0 0 6px rgba(15, 180, 195, .18), 0 20px 40px -14px rgba(15, 180, 195, .6); }
/* ghost = hairline */
.btn-ghost, .btn-line { --btn-bg: rgba(255, 255, 255, .02); --btn-fg: var(--text); --btn-bd: var(--line-2); }
.btn-ghost:hover, .btn-line:hover { --btn-bd: var(--cyan); --btn-bg: rgba(15, 180, 195, .08); }
/* dark = gradient light (used for form submits) */
.btn-dark { --btn-fg: var(--ink); --btn-bd: transparent; background: var(--grad); font-weight: 600; }
.btn-dark:hover { box-shadow: 0 0 0 6px rgba(15, 180, 195, .16), 0 18px 36px -14px rgba(15, 135, 210, .7); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.link-arrow, .more, .p-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); text-decoration: none; }
.link-arrow::after, .more::after, .p-link::after { content: "→"; color: var(--cyan); transition: transform .35s var(--ease); }
.link-arrow:hover, .more:hover, .p-link:hover { color: var(--text); }
.link-arrow:hover::after, .more:hover::after, .p-link:hover::after { transform: translateX(5px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 15, 26, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(6, 15, 26, .86); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
/* logo: original file on a cream pill (never recolour/invert/filter) */
.brand, .logo-pill, .footer-logo {
  display: inline-flex; align-items: center; flex: none;
  background: var(--cream); border-radius: 999px; padding: 8px 16px 8px 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 30px -10px rgba(15, 180, 195, .45);
}
.brand img, .logo-pill img, .footer-logo img { width: 120px; height: 24px; max-width: none; }
.brand:focus-visible, .footer-logo:focus-visible { border-radius: 999px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 16px; cursor: pointer;
  background: rgba(6, 15, 26, .4); border: 1px solid var(--line-2); border-radius: 999px; color: var(--text);
  font: 500 .75rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.nav-toggle::after { content: "Menu"; }
.nav-toggle[aria-expanded="true"]::after { content: "Close"; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.nav-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 12px var(--gutter) 28px;
  background: var(--ink); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.nav-menu.is-open { display: flex; animation: drop .25s var(--ease); }
/* a backdrop-filter on the header would make the open panel see-through in Chromium */
.site-header:has(.nav-menu.is-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
.nav-menu a:not(.btn) {
  display: block; padding: 14px 0; color: var(--text); text-decoration: none;
  font-size: 1.75rem; font-weight: 300; letter-spacing: -.02em; line-height: 1.15;
  border-bottom: 1px solid var(--line);
}
.nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--accent); }
.nav-menu .btn { margin-top: 20px; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; display: flex; flex-direction: row; align-items: center; gap: clamp(22px, 2.6vw, 40px);
    max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-menu a:not(.btn) { position: relative; padding: 6px 0; border: 0; font-size: 1.0625rem; font-weight: 400; letter-spacing: .01em; color: var(--soft); transition: color .25s; }
  .nav-menu a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav-menu a:not(.btn):hover, .nav-menu a[aria-current="page"] { color: var(--text); }
  .nav-menu a:not(.btn):hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-menu .btn { margin: 0 0 0 8px; min-height: 46px; padding: .6rem 1.3rem; font-size: 1rem; }
}

/* ---------- Sections ---------- */
.section, .sec { position: relative; padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-alt { position: relative; }
.panel {
  position: relative; overflow: hidden;
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(15, 180, 195, .16), transparent 60%),
    radial-gradient(80% 80% at 100% 100%, rgba(15, 135, 210, .14), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--line);
}
.section-head { max-width: 50rem; margin: 0 auto clamp(2.25rem, 5vw, 3.5rem); text-align: center; }
.section-head p { color: var(--soft); font-size: 1.0625rem; }
.section-head.left { margin-left: 0; text-align: left; }
/* editorial section head: index | title / sub */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.sec-head .h2, .sec-head .h-section { margin: 0; max-width: 17ch; }
.sec-sub { margin: 0; color: var(--soft); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 46ch; }
@media (min-width: 1000px) {
  .sec-head { grid-template-columns: minmax(200px, 1fr) 3fr; align-items: start; }
  .sec-head .idx { padding-top: 14px; }
  .sec-head .sec-sub { grid-column: 2; }
}
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.head-row h2 { margin: 0; }

/* ---------- Generic hero (inner pages) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: 120vmax; height: 90vmax; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 60% 30%, rgba(15, 135, 210, .32), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(15, 180, 195, .18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), rgba(255, 255, 255, .03) calc(100% / 12 - 1px) calc(100% / 12));
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .h-display, .hero .h-page { margin-bottom: .35em; }
.hero .lead { max-width: 44rem; margin: 0 auto 2rem; }
.hero .btn-row { justify-content: center; }
.hero-left { text-align: left; }
.hero-left .lead { margin-left: 0; }
.hero-left .btn-row { justify-content: flex-start; }
.hero-note { margin: 1.5rem 0 0; font-size: .9375rem; color: var(--muted); }
.hero-note a { font-weight: 500; }
.hero + .section { padding-top: clamp(1rem, 3vw, 2rem); }

/* pills / chips */
.pill {
  display: inline-flex; align-items: center; gap: .5rem; height: 24px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; text-decoration: none;
}
.pill.c { border-color: rgba(15, 180, 195, .45); color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin: 0 0 .6rem; letter-spacing: -.015em; }
.card p { color: var(--soft); font-size: 1rem; margin: 0; }
.card p.card-link { margin-top: 1rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.num { font-family: var(--serif); font-style: italic; font-size: 1.375rem; line-height: 1; color: var(--cyan); }
.tag {
  display: inline-flex; align-items: center; padding: .3rem .65rem; border-radius: 999px;
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  color: var(--ink); background: var(--accent);
}
.tag-soft { background: transparent; color: var(--accent); border: 1px solid rgba(15, 180, 195, .45); }
.offer-card { border-top: 1px solid rgba(15, 180, 195, .5); }
.offer-card.is-feature { background: linear-gradient(140deg, #0A1F36 0%, #0F2D4B 45%, #0F4F8A 100%); }
.offer-grid .card h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
.why-card { min-height: 220px; padding-bottom: 3.5rem; }
.why-card .bignum, .bignum {
  position: absolute; right: 1rem; bottom: -.6rem; pointer-events: none; user-select: none;
  font-family: var(--serif); font-style: italic; font-size: 5.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(15, 180, 195, .45);
}
.why-card h3, .why-card p { position: relative; }
.icon-badge {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem;
  border-radius: 12px; background: var(--tint); color: var(--accent); border: 1px solid rgba(15, 180, 195, .3);
}
.icon-badge svg { width: 22px; height: 22px; }

/* post cards */
.post-card { padding: 0; }
.post-card a.post-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card a.post-link::after { content: ""; position: absolute; inset: 0; }
.post-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card h3 { font-size: 1.25rem; line-height: 1.25; margin: 0; }
.post-card p { font-size: .975rem; }
.post-card .read { margin-top: auto; padding-top: .5rem; font-weight: 500; color: var(--accent); font-size: .9375rem; }
@media (min-width: 900px) { .post-card .thumb { aspect-ratio: 16 / 10; } }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

/* ---------- FAQ (details/summary) ---------- */
.faq { max-width: 60rem; display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem 0; font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 300; line-height: 1.3; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; letter-spacing: inherit; margin: 0; color: var(--text); }
.faq summary:hover h3 { color: #C4F3F6; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; margin-top: -.15rem; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237EE6EE' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), border-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--cyan); }
.faq .answer { padding: 0 3rem 1.6rem 0; color: var(--soft); max-width: 70ch; }
.faq .answer p:last-child, .faq .answer ol:last-child { margin-bottom: 0; }
.faq .answer ol { padding-left: 1.25rem; }
.faq details[open] .answer { animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Forms (legible on dark) ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .form label:not(.sr-only) { font-weight: 400; font-size: .875rem; letter-spacing: .02em; color: var(--text); }
.field .opt, .opt { font-weight: 300; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], textarea, select {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  background: rgba(233, 239, 244, .045); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7C4D2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
}
select option { background: var(--ink-2); color: var(--text); }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8395A9; opacity: 1; }
input:hover, textarea:hover, select:hover { border-color: rgba(233, 239, 244, .4); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--cyan); background-color: rgba(233, 239, 244, .07); box-shadow: 0 0 0 4px rgba(15, 180, 195, .25); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 156, 148, .18); }
input:-webkit-autofill, textarea:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px #12263A inset; caret-color: var(--text); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--cyan); width: 18px; height: 18px; }
.form-status { margin: 0; min-height: 1.5em; font-size: .9375rem; font-weight: 400; color: var(--soft); }
.form-status:empty { min-height: 0; }
.form-status.is-ok { padding: .8rem 1rem; border-radius: 12px; background: rgba(15, 180, 195, .12); border: 1px solid rgba(15, 180, 195, .45); color: #D6F7F9; }
.form-status.is-error { padding: .8rem 1rem; border-radius: 12px; background: rgba(255, 120, 110, .1); border: 1px solid rgba(255, 140, 130, .45); color: #FFD9D5; }
.form-note { font-size: .8125rem; color: var(--muted); margin: 0; }
.form-note.legal { margin-top: 1.25rem; }
.form-title { font-size: 1.4rem; margin-bottom: 1.1rem; }
.cf-turnstile { min-height: 0; }
.cf-turnstile:not(:empty) { min-height: 65px; }
.form-card {
  position: relative;
  background: linear-gradient(180deg, rgba(233, 239, 244, .05), rgba(233, 239, 244, .025));
  border: 1px solid var(--line-2); border-radius: clamp(16px, 2vw, 22px);
  padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* Contact layout */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.contact-list a {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  color: var(--text); text-decoration: none; font-weight: 400; transition: border-color .2s, background-color .2s;
}
.contact-list a:hover { border-color: rgba(15, 180, 195, .5); background: var(--surface-2); }
.contact-list small { display: block; font-weight: 300; color: var(--muted); font-size: .8125rem; }
.contact-list .icon-badge { margin: 0; flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 140%; height: 120%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 180, 195, .3), rgba(15, 135, 210, .14) 45%, transparent 75%);
  pointer-events: none;
}
.cta-band h2 { color: var(--text); }
.cta-band p { color: var(--soft); }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* ---------- Demo page ---------- */
.demo-hero { text-align: center; }
.demo-stage {
  position: relative; max-width: 40rem; margin: 2.5rem auto 0; padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-md);
}
.orb {
  position: relative; width: 132px; height: 132px; margin: 0 auto 1.5rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7FE3EC, var(--cyan) 40%, var(--blue) 75%, var(--navy));
  box-shadow: 0 18px 50px -12px rgba(15, 135, 210, .7);
}
.orb::before, .orb::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(15, 180, 195, .45);
  animation: ring 2.8s var(--ease) infinite;
}
.orb::after { animation-delay: 1.4s; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.orb svg { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; color: #fff; }
button.orb { display: block; padding: 0; border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
button.orb:hover { transform: scale(1.05); box-shadow: 0 22px 60px -10px rgba(15, 180, 195, .8); }
button.orb:focus-visible { outline: 2px solid var(--accent); outline-offset: 18px; }
.orb-cta { margin: -.25rem 0 1.25rem; font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.demo-points { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 60rem; display: grid; gap: 12px; text-align: left; }
@media (min-width: 760px) { .demo-points { grid-template-columns: repeat(3, 1fr); } }
.demo-points li { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.demo-points b { display: block; font-weight: 500; color: var(--text); margin-bottom: .35rem; }
.demo-points em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #8FE0E8; }
.demo-points span { display: block; font-size: .9375rem; line-height: 1.5; color: var(--soft); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; text-align: left; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; color: var(--soft); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid rgba(15, 180, 195, .45); color: var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.05rem;
}
.demo-widget-slot { display: flex; justify-content: center; margin-top: 1.75rem; min-height: 64px; }
.notice { font-size: .875rem; color: var(--muted); margin-top: 1.25rem; }

/* ---------- 404 ---------- */
.error-page { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.error-code { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(6rem, 24vw, 12rem); letter-spacing: -.02em; line-height: .9; margin: 0 0 .5rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; margin-top: 0; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--soft); font-size: .95rem;
}
.footer-grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 4.5rem) 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.1fr 1.3fr .7fr; gap: 3rem; } }
.footer-logo { margin-bottom: 1.25rem; }
/* Legacy: a bare logo image in the footer still gets the cream pill */
.site-footer .footer-grid > div > img:first-child { box-sizing: content-box; width: 120px; height: auto; margin-bottom: 1.25rem; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--cream); }
.site-footer p { margin: 0 0 .75rem; }
.site-footer a { color: var(--text); text-decoration-color: rgba(233, 239, 244, .35); }
.site-footer a:hover { color: var(--accent); }
.footer-h { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .7rem; }
.site-footer nav a { text-decoration: none; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.newsletter-form input[type="email"] { flex: 1 1 14rem; min-width: 0; }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-form .form-status { flex-basis: 100%; }
.copyright { margin: 0; padding-block: 1.25rem 6rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
@media (min-width: 760px) { .copyright { padding-bottom: 1.5rem; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #128C4A; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 28px -6px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; }
.page-demo .wa-float { right: auto; left: max(1rem, env(safe-area-inset-left)); }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */

/* ---------- Home hero (calm split) ---------- */
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.home-hero .mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(110% 80% at 85% 0%, #0E2A45 0%, var(--ink) 62%); }
.mesh span { position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; }
.mesh .b1 { width: 60vmax; height: 60vmax; left: 40%; top: -30%; background: radial-gradient(circle, #0F87D2 0%, transparent 62%); opacity: .45; animation: drift1 22s ease-in-out infinite alternate; }
.mesh .b2 { width: 44vmax; height: 44vmax; left: -16%; top: 30%; background: radial-gradient(circle, #0FB4C3 0%, transparent 60%); opacity: .22; animation: drift2 26s ease-in-out infinite alternate; }
.home-hero .mesh::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), rgba(255, 255, 255, .03) calc(100% / 12 - 1px) calc(100% / 12)); }
@keyframes drift1 { to { transform: translate(-14%, 12%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(22%, -10%) scale(.9); } }

/* hero: ONE split. Left = eyebrow, h1, one line, two buttons. Right = carousel media, one-line caption, tab row. */
.hh-grid { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hh-title { font-size: clamp(2.3rem, 4.4vw, 4rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; margin: 0 0 .45em; max-width: 13ch; }
.hh-title em { background: linear-gradient(100deg, #7EE6EE 0%, #0FB4C3 35%, #3AA6EC 70%, #9FD3F6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hh-line { margin: 0 0 1.6rem; max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--soft); }
@media (max-width: 559px) { .hh-copy .btn-row .btn { flex: 1 1 auto; } }
@media (min-width: 1000px) {
  .hh-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
}
/* slim crawlable answer line directly under the hero */
.hh-answer { margin: clamp(32px, 4.5vw, 52px) 0 0; padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--line); max-width: none; font-size: clamp(1.0625rem, 1.45vw, 1.375rem); line-height: 1.6; font-weight: 300; color: var(--soft); }
.hh-answer strong { color: var(--text); font-weight: 500; }

/* carousel block: media (slides) first, tab row under it */
.cx { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "nav"; min-width: 0; }
.cx-main { grid-area: main; min-width: 0; }
.cx-nav { grid-area: nav; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cx-tab.cx-reset::after { animation: none !important; }

/* ---------- Capabilities carousel ---------- */
.cx { position: relative; }
.cx-tablist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.cx-tab {
  position: relative; display: inline-flex; align-items: center; gap: 7px; overflow: hidden;
  min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer;
  color: var(--muted); font-size: .8125rem; font-weight: 400; letter-spacing: .01em; white-space: nowrap; transition: color .25s, border-color .25s, background-color .25s;
}
.cx-tab i { font-family: var(--serif); font-size: .9rem; color: var(--muted); transition: color .25s; }
.cx-tab small { display: none; }
.cx-tab:hover { color: var(--text); border-color: var(--line-strong); }
.cx-tab[aria-current="true"] { color: var(--text); border-color: rgba(15, 180, 195, .6); background: rgba(15, 180, 195, .08); }
.cx-tab[aria-current="true"] i { color: var(--cyan); }
.cx-tab::after { /* progress hairline */
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
}
.cx-tab[aria-current="true"]::after { transform: scaleX(1); }
.cx.is-auto .cx-tab[aria-current="true"]::after { transform: scaleX(0); animation: cxprog var(--cx-dur, 7s) linear forwards; }
.cx.is-paused .cx-tab[aria-current="true"]::after { animation-play-state: paused; }
.cx.is-stopped .cx-tab[aria-current="true"]::after { animation: none; transform: scaleX(1); }
@keyframes cxprog { to { transform: scaleX(1); } }
.cx-tab:focus-visible { outline-offset: 2px; border-radius: 999px; }
@media (max-width: 559px) {
  .cx-nav { flex-direction: column; align-items: stretch; }
  .cx-tab { min-height: 40px; }
}

.cx-stage { position: relative; }
.cx-track { display: grid; touch-action: pan-y; }
.cx-slide {
  grid-area: 1 / 1; min-width: 0; display: grid; gap: 18px; align-content: start;
  opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .3s ease, transform .3s ease, visibility 0s .3s;
}
.cx-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .12s, transform .6s var(--ease) .12s, visibility 0s; }
.cx-media {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 18px;
  aspect-ratio: 1 / 1;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
@media (min-width: 560px) { .cx-media { aspect-ratio: 16 / 10; } } /* 8:5 = the Konverta.AI Studio film frame */
.cx-media > img, .cx-media > video, .cx-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 15, 26, .35) 0%, rgba(6, 15, 26, 0) 28%, rgba(6, 15, 26, 0) 60%, rgba(6, 15, 26, .75) 100%); }
.cx-label { position: absolute; z-index: 3; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.cx-label .pill { background: rgba(6, 15, 26, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cx-cap { display: grid; gap: 8px; }
.cx-cap .cx-n { margin: 0; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cx-cap h3, .cx-cap h2.cx-title { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; letter-spacing: -.025em; }
.cx-cap p { margin: 0; color: var(--soft); font-size: 1rem; max-width: 58ch; }
.cx-cap .cx-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.cx-cap .link-arrow { font-size: .9375rem; }

/* play/pause affordance on video media */
.cx-vbtn {
  position: absolute; z-index: 4; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 6px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(6, 15, 26, .62); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 .6875rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.cx-vbtn i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--ink); font-style: normal; }
.cx-vbtn svg { width: 12px; height: 12px; }
.cx-vbtn .i-pause { display: none; }
.cx-vbtn[aria-pressed="true"] .i-play { display: none; }
.cx-vbtn[aria-pressed="true"] .i-pause { display: block; }
.cx-vbtn:hover { border-color: var(--cyan); }
@media (max-width: 559px) { .is-rail .cx-vbtn { display: none; } } /* on phones the reels themselves toggle play/pause */

/* carousel controls */
.cx-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cx-arrows { display: flex; gap: 8px; }
.cx-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--text); transition: border-color .25s, background-color .25s;
}
.cx-btn:hover { border-color: var(--cyan); background: rgba(15, 180, 195, .08); }
.cx-btn svg { width: 18px; height: 18px; }
.cx-btn .i-play { display: none; }
.cx-btn[aria-pressed="true"] .i-play { display: block; }
.cx-btn[aria-pressed="true"] .i-pause { display: none; }
.cx-count { font-size: .8125rem; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.cx-count b { color: var(--text); font-weight: 400; }

/* slide b: AI influencer in a 9:16 phone frame */
.cx-media.is-soft { background:
  radial-gradient(60% 70% at 75% 25%, rgba(15, 135, 210, .45), transparent 70%),
  radial-gradient(50% 60% at 15% 85%, rgba(15, 180, 195, .3), transparent 70%),
  linear-gradient(160deg, #0F2D4B, #060F1A); }
.phone {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 86%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 6px rgba(6, 15, 26, .7), 0 40px 70px -20px rgba(0, 0, 0, .8);
}
/* SAM: screen recording with Instagram UI; crop the chrome (status bar on top, IG UI at the bottom/right) */
.phone > video, .phone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; transform: scale(1.2); transform-origin: 50% 40%; }
@media (max-width: 559px) { .handle { display: none !important; } }
.handle { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: rgba(6, 15, 26, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .75rem; line-height: 1.25; color: var(--text); }
.handle b { font-weight: 500; }
.handle span { color: var(--soft); }
.cx-side { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: none; gap: 12px; justify-items: start; max-width: 30%; }
.cx-side .pill { background: rgba(6, 15, 26, .55); }
@media (min-width: 560px) {
  .phone { left: 66%; }
  .cx-side { display: grid; left: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 36px); max-width: 40%; }
  .cx-side p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.08; color: var(--text); max-width: 11ch; }
}

/* slide c: design-engine film (16:9) letterboxed in the 8:5 box; on phones it sits on top with the lead card below */
.cx-media.is-film { background: radial-gradient(70% 60% at 80% 100%, rgba(15, 135, 210, .3), transparent 70%), #08121F; }
.cx-media.is-film > video, .cx-media.is-film > img { object-fit: contain; }
@media (max-width: 559px) {
  .cx-media.is-film > video, .cx-media.is-film > img { bottom: auto; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
}

/* clay -> render wipe (work tile) */
.ba { position: absolute; inset: 0; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-top { clip-path: inset(0 50% 0 0); }
.ba-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--cream); box-shadow: 0 0 18px rgba(15, 180, 195, .8); }
.ba.is-anim .ba-top { animation: wipe 7s var(--ease) infinite; }
.ba.is-anim .ba-line { animation: wipeline 7s var(--ease) infinite; }
@keyframes wipe { 0%, 8% { clip-path: inset(0 12% 0 0); } 46%, 58% { clip-path: inset(0 88% 0 0); } 100% { clip-path: inset(0 12% 0 0); } }
@keyframes wipeline { 0%, 8% { left: 88%; } 46%, 58% { left: 12%; } 100% { left: 88%; } }
.ba-tag { position: absolute; z-index: 3; bottom: 14px; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba-tag .pill { background: rgba(6, 15, 26, .65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.leadcard {
  position: absolute; z-index: 3; right: 14px; top: 14px; width: min(250px, 58%); display: grid; gap: 6px; padding: 10px;
  border-radius: 14px; background: rgba(6, 15, 26, .74); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .75rem; line-height: 1.3;
}
.leadcard > span { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lead-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 9px; background: rgba(233, 239, 244, .05); color: var(--soft); }
.lead-row b { font-weight: 400; color: var(--text); }
.lead-row .st { font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.lead-row .st.hot { color: var(--accent); }
@media (max-width: 559px) { .leadcard { top: auto; bottom: 62px; right: 14px; left: 14px; width: auto; } .leadcard .lead-row + .lead-row + .lead-row { display: none; } }
@media (min-width: 560px) { .is-film .leadcard { top: auto; bottom: 64px; } }

/* slide d: consulting, typographic */
.cx-media.is-type { display: grid; align-content: space-between; padding: clamp(18px, 3.2vw, 36px); background:
  radial-gradient(80% 80% at 100% 0%, rgba(15, 135, 210, .5), transparent 65%),
  radial-gradient(70% 70% at 0% 100%, rgba(15, 180, 195, .3), transparent 65%),
  linear-gradient(160deg, #0F2D4B, #060F1A); }
.cx-media.is-type::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 8 - 1px), rgba(255, 255, 255, .04) calc(100% / 8 - 1px) calc(100% / 8)); }
.type-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mark-pill { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cream); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 30px -10px rgba(15, 180, 195, .5); }
.mark-pill img { width: 36px; height: 36px; }
.type-quote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 4.2vw, 3.3rem); line-height: 1.02; letter-spacing: -.01em; color: var(--text); max-width: 16ch; }
.type-quote span { color: var(--accent); }
.type-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.type-facts b { display: block; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.type-facts span { display: block; margin-top: 6px; font-size: .75rem; line-height: 1.3; color: var(--soft); }

/* slide e: reels rail */
.cx-media.is-rail { background:
  radial-gradient(70% 70% at 20% 10%, rgba(15, 180, 195, .25), transparent 70%),
  linear-gradient(200deg, #0B2238, #060F1A); }
.rail { position: absolute; inset: 14px calc(50% - 96px); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; }
.rail li { height: calc(50% - 5px); aspect-ratio: 9 / 16; }
.reel { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; padding: 0; border: 0; cursor: pointer; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); transition: box-shadow .3s, transform .4s var(--ease); }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel span { position: absolute; z-index: 2; left: 6px; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 7px; background: rgba(6, 15, 26, .72); color: var(--text); font-size: .6875rem; line-height: 1.2; text-align: left; }
.reel[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--cyan), 0 16px 34px -12px rgba(15, 180, 195, .6); }
@media (min-width: 560px) {
  .rail { inset: 6% 5%; flex-wrap: nowrap; align-items: center; gap: clamp(8px, 1.4vw, 18px); }
  .rail li { height: auto; width: calc((100% - 3 * clamp(8px, 1.4vw, 18px)) / 4); max-width: 200px; }
  .reel span { font-size: .75rem; }
  .rail li:nth-child(even) { transform: translateY(5%); }
}

/* ---------- Client marquee ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.trust-in { display: grid; gap: 14px; padding: 22px 0; }
.trust-label { margin: 0; padding: 0 var(--gutter); font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); margin: 0; padding: 0 clamp(20px, 3vw, 44px); list-style: none; }
.track li { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); }
.track li::after { content: "\2726"; font-size: 11px; color: var(--cyan); opacity: .7; }
.client { display: flex; align-items: center; justify-content: center; height: 60px; min-width: 168px; padding: 0 22px; border-radius: 14px; background: var(--cream); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 14px 30px -18px rgba(15, 180, 195, .5); }
.client img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (min-width: 720px) {
  .trust-in { grid-template-columns: auto 1fr; align-items: center; gap: 0; }
  .trust-label { border-right: 1px solid var(--line); padding-right: 28px; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 34px 0 38px; border-bottom: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.pillar::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(15, 135, 210, .16), transparent 60%); }
.pillar:hover::before { opacity: 1; }
.p-top { display: flex; justify-content: space-between; align-items: center; }
.p-num { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--cyan); }
.p-name { margin: 0; font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: .95; letter-spacing: -.04em; }
.p-line { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; color: var(--soft); max-width: 24ch; }
.p-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.p-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); font-size: .97rem; color: var(--text); }
.p-list li span { color: var(--muted); font-size: .8125rem; text-align: right; }
.p-list li .pill { flex: none; }
.p-note { margin: 0; font-size: .875rem; color: var(--muted); }
.p-link { margin-top: 6px; width: max-content; font-size: .9375rem; }
@media (min-width: 1000px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .pillar { padding: 34px clamp(22px, 2.4vw, 40px) 40px; border-bottom: 0; border-top: 1px solid var(--line); }
  .pillar + .pillar { border-left: 1px solid var(--line); }
  .pillar:first-child { padding-left: 0; }
  .pillar:last-child { padding-right: 0; }
}

/* ---------- Work tiles ---------- */
.work { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: minmax(0, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.frame { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--ink-2); aspect-ratio: 16 / 10; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(.86) saturate(.9); transition: transform 1.2s var(--ease), filter .8s; }
.tile:hover .frame img { transform: scale(1.035); filter: none; }
.frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6, 15, 26, 0) 55%, rgba(6, 15, 26, .7)); pointer-events: none; }
.ph-mesh { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 70% 20%, rgba(15, 135, 210, .55), transparent 70%),
  radial-gradient(50% 60% at 20% 80%, rgba(15, 180, 195, .35), transparent 70%),
  linear-gradient(160deg, #0F2D4B, #060F1A); }
.ph-mesh.alt { background:
  radial-gradient(55% 60% at 25% 25%, rgba(15, 180, 195, .45), transparent 70%),
  radial-gradient(60% 60% at 80% 85%, rgba(15, 135, 210, .4), transparent 70%),
  linear-gradient(200deg, #0B2238, #060F1A); }
.f-play { position: absolute; z-index: 3; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.f-play i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 9px; background: rgba(6, 15, 26, .5); }
.f-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.cap { display: grid; gap: 4px; }
.cap h3 { margin: 0; font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.01em; line-height: 1.25; }
.cap p { margin: 0; color: var(--soft); font-size: .95rem; line-height: 1.5; }
.wave { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 18%; }
.wave i { flex: 1; max-width: 6px; border-radius: 6px; background: var(--grad); height: calc(var(--h) * 1%); opacity: .85; animation: wv 1.6s ease-in-out infinite; animation-delay: calc(var(--d) * -.1s); }
@keyframes wv { 50% { transform: scaleY(.35); } }
.leads { position: absolute; inset: 0 12%; z-index: 1; display: grid; align-content: center; gap: 8px; font-size: .75rem; }
.leads .lead-row:nth-child(2) { opacity: .75; } .leads .lead-row:nth-child(3) { opacity: .5; } .leads .lead-row:nth-child(4) { opacity: .28; }
@media (min-width: 720px) {
  .work { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .t-a { grid-column: span 8; } .t-b { grid-column: span 4; }
  .t-c, .t-d { grid-column: span 6; }
  .t-b .frame { aspect-ratio: auto; flex: 1; min-height: 220px; }
}

/* ---------- Founder ---------- */
.founder { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; top: -20vmax; border-radius: 50%; background: radial-gradient(circle, rgba(15, 135, 210, .22), transparent 60%); pointer-events: none; }
.f-grid { position: relative; display: grid; gap: clamp(30px, 5vw, 60px); }
.quote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.9rem); line-height: 1.05; letter-spacing: -.015em; color: var(--text); }
.quote .q { color: var(--cyan); }
.who { display: flex; align-items: center; gap: 16px; margin: 0; }
.who .mark-pill { flex: none; }
.who p { margin: 0; font-size: .92rem; color: var(--soft); line-height: 1.45; }
.who strong { display: block; color: var(--text); font-weight: 500; font-size: 1rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 18px 12px 0 0; }
.fact b { display: block; font-weight: 300; font-size: clamp(1.9rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { display: block; margin-top: 8px; font-size: .8rem; color: var(--soft); line-height: 1.35; }
.founder-mark { width: 36px; height: 36px; }
@media (min-width: 1000px) { .f-grid { grid-template-columns: 1.5fr 1fr; align-items: end; } .facts { grid-column: 1 / -1; } }

/* ---------- Why list ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.why li { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(18px, 3vw, 40px); row-gap: 6px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.why .n { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(15, 180, 195, .7); min-width: 1.6ch; }
.why h3 { margin: 0; font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.why p { margin: 0; color: var(--soft); font-size: 1rem; max-width: 52ch; }
@media (min-width: 1000px) {
  .why { grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 5vw, 80px); border-top: 0; }
  .why li { border-top: 1px solid var(--line); border-bottom: 0; }
}

/* ---------- Insights list ---------- */
.posts { display: grid; gap: clamp(28px, 3vw, 40px); }
.post { display: grid; gap: 18px; align-content: start; color: inherit; text-decoration: none; }
.post:hover { color: inherit; }
.post .tx { display: grid; gap: 12px; align-content: start; }
.post .th { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.post .th img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85); transition: transform 1.2s var(--ease), filter .6s; }
.post:hover .th img { transform: scale(1.04); filter: saturate(1); }
.post h3 { margin: 0; font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.18; letter-spacing: -.02em; }
.post:hover h3 { color: #BFF0F4; }
.post p { margin: 0; color: var(--soft); font-size: .97rem; }
@media (min-width: 720px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .post { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(18px, 2vw, 28px); }
  .post .th { aspect-ratio: 1 / 1; }
}

/* ---------- Contact CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta-glow { position: absolute; left: 50%; bottom: -40vmax; width: 110vmax; height: 70vmax; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 180, 195, .3), rgba(15, 135, 210, .16) 45%, transparent 75%); pointer-events: none; }
.cta-grid { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.cta-grid .h2 { max-width: 12ch; margin: 22px 0 24px; }
.cta-grid p { color: var(--soft); max-width: 40ch; }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.contact-line a { color: var(--soft); text-decoration: none; border-bottom: 1px solid rgba(15, 180, 195, .5); }
.contact-line a:hover { color: var(--text); }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1fr 1.05fr; } }

/* ---------- Reveal motion (only when JS is on and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-group > .reveal:nth-child(2) { transition-delay: .08s; }
  .js .reveal-group > .reveal:nth-child(3) { transition-delay: .16s; }
  .js .reveal-group > .reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .mesh span, .wave i { animation: none !important; }
  .track { animation: none !important; flex-wrap: wrap; width: auto; }
  .track ul[aria-hidden] { display: none; }
  .track ul { flex-wrap: wrap; justify-content: center; row-gap: 18px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .cx-slide { transform: none !important; }
  .ba .ba-top { clip-path: inset(0 50% 0 0) !important; animation: none !important; }
  .ba-line { left: 50% !important; animation: none !important; }
}

@media print {
  body::before, .site-header, .wa-float, .site-footer form, .cx-controls { display: none; }
}

/* Owner rule: nothing overlays the films. The pillar and client tags live in the caption (.cx-n), not on the video. */
.cx-media .cx-label, .cx-media .leadcard { display: none; }

/* =====================================================================
   HOMEPAGE (decluttered): calmer rhythm, every item told once
   ===================================================================== */
.home-main .h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.home-hero { padding: clamp(1.5rem, 3.5vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.5rem); }

/* carousel media: never taller than min(60vh, 520px) */
.cx-media { aspect-ratio: 4 / 3; max-height: min(60vh, 520px); }
@media (min-width: 560px) { .cx-media { aspect-ratio: 16 / 9; } }
.cx-media.is-film > video, .cx-media.is-film > img { object-fit: cover; }
@media (max-width: 559px) { .cx-media.is-film > video, .cx-media.is-film > img { bottom: 0; height: 100%; aspect-ratio: auto; } }
@media (max-width: 559px) { .cx-media:has(> video[width="1280"][height="720"]) { aspect-ratio: 16 / 9; } } /* the showreel has captions in its top-left corner: never crop its sides on phones */
.cx-slide { gap: 12px; }
/* one-line caption: title + link (long description stays in the DOM, visually hidden) */
.cx-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; min-height: 1.6em; }
.cx-cap h3, .cx-cap h2.cx-title { margin: 0; font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.35; }
.cx-cap .link-arrow { font-size: .875rem; white-space: nowrap; }
.cx-controls { margin-top: 0; flex: none; }
.cx-btn { width: 38px; height: 38px; }
.cx-btn svg { width: 16px; height: 16px; }
.cx-count { display: none; }
/* reels rail on phones: one row of four */
@media (max-width: 559px) {
  .rail { inset: 12px; flex-wrap: nowrap; gap: 8px; }
  .rail li { height: auto; width: calc((100% - 24px) / 4); }
  .reel span { display: none; }
}
@media (min-width: 560px) { .rail { inset: 7% 5%; } .rail li { max-width: 150px; } .rail li:nth-child(even) { transform: none; } }

/* trust: one static row of three chips */
.trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(14px, 3vw, 36px); }
.trust-row .client { height: 52px; min-width: 0; width: clamp(128px, 15vw, 168px); padding: 0 18px; }
.trust-row .client img { height: 28px; max-width: 100%; }
.trust .trust-in { padding: 20px var(--gutter); }
.trust .trust-label { padding-left: 0; }
@media (min-width: 720px) { .trust .trust-in { gap: 0; } .trust-row { padding-left: 28px; } }
@media (max-width: 719px) { .trust-label { padding: 0; } .trust-row { flex-wrap: nowrap; gap: 10px; } .trust-row li { flex: 1 1 0; min-width: 0; } .trust-row .client { width: 100%; height: 46px; padding: 0 10px; } .trust-row .client img { height: 20px; } }

/* pillars: tight columns with one small proof thumbnail */
.home-main .pillar { gap: 14px; padding-bottom: 0; }
.home-main .p-name { font-size: clamp(2rem, 3.6vw, 3rem); }
.home-main .p-line { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.home-main .p-list li { padding: 11px 0; }
.p-thumb { position: relative; height: 120px; margin: 4px 0 2px; overflow: hidden; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.p-thumb.is-type { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(15, 135, 210, .4), transparent 65%), linear-gradient(160deg, #0F2D4B, #060F1A); }
.p-thumb.is-type b { font-weight: 300; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-thumb.is-type span { font-size: .8125rem; line-height: 1.35; color: var(--soft); text-align: right; max-width: 18ch; }
.p-thumb.is-type .mark-pill { position: absolute; top: 14px; left: 18px; width: 36px; height: 36px; border-radius: 11px; }
.p-thumb.is-type .mark-pill img { width: 24px; height: 24px; filter: none; }
.p-thumb.is-type b { margin-top: auto; }
@media (max-width: 999px) { .home-main .pillar { padding-bottom: 30px; } }

/* founder + why, merged */
.fw-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: end; }
.fw-quote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.15; color: var(--text); max-width: 34ch; }
.fw-quote .q { color: var(--cyan); }
.fw-side { display: grid; gap: 22px; }
.home-main .who .mark-pill { width: 46px; height: 46px; border-radius: 14px; }
.home-main .who .mark-pill img { width: 30px; height: 30px; }
.home-main .who .link-arrow { margin-top: 4px; font-size: .875rem; }
.home-main .facts { border-top: 1px solid var(--line); }
.home-main .fact b { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.why-row { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 0 clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.why-row li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.why-row .n { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--cyan); line-height: 1; }
.why-row h3 { margin: 0; font-size: 1.125rem; font-weight: 400; letter-spacing: -.01em; }
.why-row p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--soft); }
@media (min-width: 640px) { .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .fw-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .why-row { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .why-row li { border-bottom: 0; border-top: 1px solid var(--line); }
}

/* latest insights: three equal cards */
.ins3 { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .ins3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ins3-card { position: relative; display: grid; gap: 12px; align-content: start; }
.ins3-th { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; max-height: min(60vh, 520px); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.ins3-th img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform 1.2s var(--ease), filter .6s; }
.ins3-card:hover .ins3-th img { transform: scale(1.04); filter: none; }
.ins3-card h3 { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.25; letter-spacing: -.015em; }
.ins3-card h3 a { color: var(--text); text-decoration: none; }
.ins3-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ins3-card:hover h3 a { color: #BFF0F4; }
.ins3-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ins3-card .ins3-note { font-size: .75rem; color: var(--muted); -webkit-line-clamp: 3; }
.ins3-all { margin: clamp(24px, 3vw, 36px) 0 0; }

/* FAQ + contact: a touch tighter on the homepage */
.home-main .faq summary { padding: 1.2rem 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.home-main .cta-grid .h2 { margin: 18px 0 18px; }
.ins3-card p.meta { display: flex; overflow: visible; -webkit-line-clamp: unset; }
@media (max-width: 559px) { .home-main .faq .answer { padding-right: 0; } }

/* =====================================================================
   SECTION SYSTEM (site-wide). Every major section is a full-bleed band:
     <section class="band">              base canvas  #060F1A
     <section class="band band-alt">     lifted surface (navy -> teal), alternate with base
     <section class="band band-tight">   slim strip (logos, "also from")
   Each band starts with a hairline top border plus a short cyan->blue accent line,
   and opens with ONE header pattern, left-aligned, same spacing everywhere:
     <div class="band-head"><p class="idx"><b>01</b> Label</p><h2>Title</h2><p>One-line intro</p></div>
   Heroes and contact blocks keep their own treatments inside the band.
   ===================================================================== */
:root {
  --band-pad: clamp(72px, 9vw, 128px);
  --band-pad-tight: clamp(28px, 3.5vw, 44px);
  --band-alt: #0B1B2C;
}
section.band, section.band + section.band { padding-block: var(--band-pad); }
section.band.band-tight, section.band + section.band.band-tight { padding-block: var(--band-pad-tight); }
section.band { position: relative; isolation: isolate; background: var(--ink); border-top: 1px solid var(--line-2); border-bottom: 0; }
section.band-alt {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(15, 135, 210, .12), transparent 62%),
    radial-gradient(50% 80% at 0% 100%, rgba(15, 180, 195, .07), transparent 60%),
    linear-gradient(180deg, #0C1D30 0%, #0A1828 100%);
  border-top-color: rgba(143, 224, 232, .16);
}
/* the accent: a short gradient line sitting on the hairline, aligned to the content edge */
section.band::before {
  content: ""; position: absolute; z-index: 1; top: -1px; bottom: auto; right: auto;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  width: 72px; height: 2px; border-radius: 0 0 2px 2px; transform: none; filter: none; opacity: 1;
  background: var(--grad); pointer-events: none;
}
section.band.band-tight::before { width: 40px; }
/* consistent section header */
section.band .band-head { display: block; max-width: 62rem; margin: 0 0 clamp(36px, 4.5vw, 56px); padding: 0; text-align: left; }
section.band .band-head > .idx { display: flex; margin: 0 0 16px; padding: 0; grid-column: auto; }
section.band .band-head > .idx b::after,
section.band .band-idx b::after { content: "\00B7"; margin-left: 12px; font-family: var(--font); font-style: normal; color: var(--muted); }
section.band .band-head > h2 {
  margin: 0; grid-column: auto; max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; color: var(--text);
}
section.band .band-head > h2 em { color: #8FE0E8; }
section.band .band-head > p:not(.idx) { margin: 14px 0 0; grid-column: auto; max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.5; color: var(--soft); }
section.band .band-stack { display: block; }
section.band .band-stack > h2 { margin: 0 0 clamp(28px, 3.5vw, 44px); max-width: 22ch; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.04; }
section.band .band-idx { display: flex; margin: 0 0 16px; }
/* no section runs into the next: the hairline separates even two base bands */
section.band + section.band:not(.band-alt) { border-top-color: var(--line-2); }
@media (max-width: 599px) { section.band::before { width: 48px; } }

/* ---------- Homepage pillars: subgrid so every row lines up across the three columns ---------- */
.home-main .p-thumb { height: 150px; }
.home-main .p-thumb video, .home-main .p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-main .p-thumb video { object-position: 50% 42%; }
.p-cap { margin: -6px 0 0; font-size: .75rem; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 1000px) {
  @supports (grid-template-rows: subgrid) {
    .home-main .pillars { grid-template-rows: repeat(7, auto); }
    .home-main .pillar { grid-row: span 7; grid-template-rows: subgrid; row-gap: 14px; }
    .home-main .pillar > .p-top { grid-row: 1; }
    .home-main .pillar > .p-name { grid-row: 2; }
    .home-main .pillar > .p-line { grid-row: 3; align-self: start; }
    .home-main .pillar > .p-list { grid-row: 4; align-self: start; }
    .home-main .pillar > .p-thumb { grid-row: 5; }
    .home-main .pillar > .p-cap { grid-row: 6; margin-top: -4px; }
    .home-main .pillar > .p-link { grid-row: 7; align-self: start; }
  }
}

/* ---------- Homepage "02 Why": balanced 3-row grid ---------- */
section.band.why-band .band-head { margin-bottom: 48px; max-width: none; }
section.band.why-band .band-head > h2 { max-width: none; }
.fw2 { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.fw2-quote { margin: 0; display: flex; align-items: center; padding: 6px 0 6px 28px; position: relative; }
.fw2-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #0FB4C3, #0F87D2 60%, rgba(15, 135, 210, 0)); }
.fw2-quote p { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.2; color: var(--text); max-width: 40ch; }
.fw2-quote .q { color: var(--cyan); }
.fw2-card { display: grid; gap: 20px; align-content: space-between; padding: clamp(20px, 2.2vw, 28px); border-radius: 18px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(233, 239, 244, .05), rgba(233, 239, 244, .02)); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8); }
.fw2-who { display: flex; gap: 16px; align-items: flex-start; }
.fw2-who .mark-pill { flex: none; width: 46px; height: 46px; border-radius: 14px; }
.fw2-who .mark-pill img { width: 30px; height: 30px; }
.fw2-who p { margin: 0; }
.fw2-name { font-size: 1.05rem; font-weight: 500; color: var(--text); }
.fw2-role { font-size: .875rem; line-height: 1.45; color: var(--soft); }
.fw2-who .link-arrow { display: inline-flex; margin-top: 8px; font-size: .875rem; }
.fw2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.fw2-stats .fact { padding: 0; }
.fw2-stats .fact b { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.fw2-stats .fact span { font-size: .75rem; }
.why-band .why-row { margin-top: 56px; }
@media (min-width: 1000px) {
  .fw2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
  .why-band .why-row { column-gap: clamp(20px, 3vw, 40px); }
}

/* ---------- Homepage carousel: 3 slides, one per pillar, 3 equal chips on one row ---------- */
.cx-nav .cx-tablist { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.cx-nav .cx-tab { justify-content: center; width: 100%; padding: 0 10px; }
.cx-cap .cx-links { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.cx-sub { font-size: .8125rem; color: var(--soft); text-decoration: none; border-bottom: 1px solid rgba(15, 180, 195, .4); }
.cx-sub:hover { color: var(--text); }
.type-who { position: relative; margin: 0; font-size: .8125rem; line-height: 1.45; color: var(--soft); }
.type-who strong { color: var(--text); font-weight: 500; }
@media (max-width: 559px) { .cx-nav .cx-tablist { max-width: none; } .cx-nav .cx-tab { font-size: .8125rem; padding: 0 6px; } .type-quote { font-size: 1.5rem; } .type-who { font-size: .75rem; } }

/* trusted-by: slow, continuous logo carousel (two identical sets, the second aria-hidden, so the loop is seamless) */
.trust-marquee { position: relative; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-track { list-style: none; margin: 0; padding: 14px 0 18px; display: flex; width: max-content; gap: clamp(16px, 2.6vw, 32px); animation: trust-scroll 28s linear infinite; }
.trust-track li { flex: none; }
.trust-track .client { height: 60px; width: clamp(150px, 16vw, 200px); padding: 0 22px; }
.trust-track .client img { height: 30px; max-width: 100%; }
.trust-marquee:hover .trust-track { animation-play-state: paused; }
@keyframes trust-scroll { to { transform: translateX(calc(-50% - clamp(16px, 2.6vw, 32px) / 2)); } }
@media (min-width: 720px) { .trust-marquee { margin-left: 28px; } }
@media (max-width: 719px) { .trust-track .client { height: 50px; width: 140px; } .trust-track .client img { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: none; flex-wrap: wrap; width: auto; } .trust-track li[aria-hidden] { display: none; } }

/* fullscreen button on landscape films */
.fs-btn { position: absolute; top: 14px; right: 14px; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(233, 239, 244, .28); border-radius: 50%; background: rgba(6, 15, 26, .62); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .25s, border-color .25s, transform .25s; }
.fs-btn svg { width: 20px; height: 20px; }
.fs-btn:hover { background: rgba(15, 180, 195, .35); border-color: rgba(15, 180, 195, .8); transform: scale(1.06); }
.fs-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 559px) { .fs-btn { width: 38px; height: 38px; top: 10px; right: 10px; } .fs-btn svg { width: 17px; height: 17px; } }
.st-frame > .fs-btn { top: auto; bottom: 14px; }

/* Consulting pillar: three founder stats instead of one */
.p-thumb.is-stats { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 14px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(15, 135, 210, .4), transparent 65%), linear-gradient(160deg, #0F2D4B, #060F1A); }
.p-thumb.is-stats > div { display: grid; align-content: start; gap: 6px; min-width: 0; }
.p-thumb.is-stats > div + div { border-left: 1px solid var(--line); padding-left: 10px; }
.p-thumb.is-stats b { font-weight: 300; font-size: clamp(1.15rem, 1.35vw, 1.35rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-thumb.is-stats span { font-size: .75rem; line-height: 1.35; color: var(--soft); }
