/* ==========================================================================
   Klyvo — App Development Studio
   Design system + component styles
   ========================================================================== */

:root {
  /* Brand palette — Klyvo: yellow + black */
  --yellow:      #ffe01b;   /* brand yellow (accent, highlights) */
  --black:       #141414;   /* primary near-black (buttons, borders, text) */
  --black-pure:  #000000;   /* pure black (hover/emphasis) */

  /* Dark surface (bands, footer) */
  --ink:         #141414;

  /* Neutrals */
  --text:        #0f172a;
  --muted:       #5b6478;
  --muted-2:     #8a91a3;
  --line:        #e6e8ef;
  --surface:     #ffffff;
  --surface-2:   #f6f7fb;

  /* Effects */
  --grad-soft:   linear-gradient(120deg, rgba(255,224,27,.18), rgba(255,224,27,.10));
  --shadow-sm:   0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.05);
  --shadow-md:   0 8px 30px rgba(15,23,42,.10);

  /* Metrics */
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   26px;
  --maxw:        1160px;
  --nav-h:       72px;

  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head:   "Space Grotesk", var(--font-body);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Layout helpers ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: #141414; margin-bottom: 14px;
}
/* Material Symbols (Google): usage <span class="material-symbols-outlined">home</span> */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}
/* Icon sizing/color within the site's icon tiles */
.contact-info .ic .material-symbols-outlined { font-size: 24px; color: var(--black-pure); }
.to-top .material-symbols-outlined { font-size: 24px; color: #141414; }

.section-head { max-width: 640px; margin-inline: auto; margin-bottom: 56px; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: #141414; color: #fff; box-shadow: 0 8px 24px rgba(20,20,20,.25); }
.btn--primary:hover { background: #000; box-shadow: 0 12px 32px rgba(20,20,20,.35); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--black); color: var(--black-pure); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--muted { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.16); }
.btn--muted:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Navigation -------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,224,27,.92); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20,20,20,.12);
}
.nav .brand { color: #141414; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; background: #fff;
  object-fit: contain; padding: 3px;
  box-shadow: 0 4px 12px rgba(11,15,26,.14);
}
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: .97rem; color: rgba(20,20,20,.65); transition: color .15s ease; }
.nav__links a:hover { color: #141414; }
.nav__links a.is-active { color: #141414; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #141414; border-radius: 2px; transition: .25s; }
.nav__toggle span + span { margin-top: 5px; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(70px, 10vw, 130px); background: var(--yellow); color: #141414; }
.hero::before {
  content: ""; position: absolute; inset: auto -12% -55% -12%; height: 520px;
  background: radial-gradient(50% 60% at 50% 100%, rgba(255,255,255,.28), transparent 62%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero .eyebrow { color: #141414; }
.hero h1 { color: #141414; }
.hero .lead { color: rgba(20,20,20,.72); }
.hero__meta .num { color: #141414; }
.hero__meta .lbl { color: rgba(20,20,20,.62); }
.hero .btn--ghost { color: #141414; border-color: rgba(20,20,20,.4); }
.hero .btn--ghost:hover { color: #141414; border-color: #141414; background: rgba(20,20,20,.06); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 46ch; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero__meta .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; }
.hero__meta .lbl { font-size: .85rem; color: var(--muted); }

/* Cards / grids ----------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Feature split ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media {
  border-radius: var(--radius-lg); background: var(--grad-soft);
  border: 1px solid var(--line); min-height: 340px; padding: 32px;
  display: flex; align-items: center; justify-content: center;
}

/* Dark band / CTA --------------------------------------------------------- */
.band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band .lead { color: rgba(255,255,255,.72); }
.cta-center { position: relative; z-index: 1; text-align: center; max-width: 660px; margin-inline: auto; }
.cta-center h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 16px; }
.cta-center .lead { color: rgba(255,255,255,.72); max-width: 48ch; margin-inline: auto; margin-bottom: 32px; }
.cta-center__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Stats ------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.stat .lbl { color: var(--muted); font-size: .92rem; }

/* Testimonial ------------------------------------------------------------- */
.quote { max-width: 780px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; letter-spacing: -.01em; margin-bottom: 24px; }
.quote .who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.quote .who strong { display: block; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; font-size: 1.2rem; }
.contact-info strong { display: block; }
.contact-info a, .contact-info span { color: var(--muted); }
.contact-info a:hover { color: var(--black-pure); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field__optional { opacity: .7; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .97rem; background: var(--surface-2); color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(255,224,27,.22); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form__success { display: none; padding: 16px; border-radius: var(--radius-sm); background: var(--grad-soft); color: var(--black-pure); font-weight: 600; text-align: center; margin-bottom: 18px; }
.form__success.show { display: block; }

/* FAQ --------------------------------------------------------------------- */
.faq-section { background: #0a0a0a; color: #fff; }
.faq-split {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.faq-split__head h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 22px 26px;
  transition: background .2s ease, border-color .2s ease;
}
.faq details[open] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.faq summary {
  font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; color: #fff;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "open_in_full";
  font-family: 'Material Symbols Outlined'; font-weight: normal; font-size: 20px;
  color: rgba(255,255,255,.45); flex: none; transition: color .2s ease;
}
.faq summary:hover::after { color: rgba(255,255,255,.8); }
.faq details[open] summary::after { content: "close_fullscreen"; }
.faq p { color: rgba(255,255,255,.6); margin-top: 18px; line-height: 1.65; }

/* Back to top ------------------------------------------------------------- */
.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--yellow); color: #fff; font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(20,20,20,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { transform: translateY(-2px) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s ease, visibility .2s ease; } }

/* Bold display hero (BRANDI-style) ---------------------------------------- */
.hero--display { text-align: left; }
.hero--display h1 {
  font-size: clamp(2.9rem, 8vw, 6rem); line-height: .96;
  text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 24px; max-width: 16ch;
}
.hero--display .lead { max-width: 52ch; }
.hero--display .hero__actions { justify-content: flex-start; }
.hero--display .hero__meta { justify-content: flex-start; }

/* Bold full-bleed CTA ------------------------------------------------------ */
.cta-bold { background: var(--yellow); text-align: center; }
.cta-bold h2 {
  text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1; margin-bottom: 14px; color: #141414;
}
.cta-bold .lead { color: rgba(20,20,20,.72); max-width: 54ch; margin-inline: auto; margin-bottom: 30px; }

/* "What we do" card section ----------------------------------------------- */
.share { background: #0f0f0f; color: #fff; }
.share .section-head { max-width: 780px; margin-inline: 0; text-align: left; margin-bottom: 44px; }
.share h2 { text-transform: uppercase; letter-spacing: -.02em; color: #fff; }
.share h2 .accent { color: var(--yellow); }
.share__rule { display: block; width: 54px; height: 3px; background: rgba(255,255,255,.4); margin: 18px 0 20px; }
.share .section-head p { color: rgba(255,255,255,.7); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.share-card {
  background: #1a1a1a; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.share-card:hover { border-color: rgba(255,224,27,.35); transform: translateY(-4px); }
.share-card h3 { text-transform: uppercase; letter-spacing: -.01em; color: #fff; font-size: 1.18rem; margin-bottom: 14px; }
.share-card p { color: rgba(255,255,255,.6); font-size: .98rem; margin-bottom: 24px; }
.share-card__more { margin-top: auto; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--yellow); transition: opacity .15s ease; }
.share-card__more:hover { opacity: .7; }

/* Blue tech carousel (BRANDI-style) --------------------------------------- */
.toolbar { background: linear-gradient(90deg, #2f6bff 0%, #4a2fd6 55%, #8e1a9e 100%); color: #fff; padding-block: 42px; }
.toolbar__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; gap: 18px; }
.toolbar__track {
  flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 40px;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.toolbar__track::-webkit-scrollbar { display: none; }
.toolbar__item { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.6rem); color: #fff; white-space: nowrap; opacity: .92; }

/* Contact: pink form + info split ----------------------------------------- */
.contact-split { background: #ee1b52; color: #fff; }
.contact-split .contact-grid { align-items: start; }
.contact-split h2 { color: #fff; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3rem); }
.cs__rule { display: block; width: 56px; height: 3px; background: #fff; margin: 16px 0 22px; }
.cs__intro { color: rgba(255,255,255,.9); max-width: 44ch; margin-bottom: 28px; }
/* contact-info on pink */
.contact-split .contact-info { margin-bottom: 30px; }
.contact-split .contact-info li { border-color: rgba(255,255,255,.2); }
.contact-split .contact-info .ic { background: rgba(255,255,255,.14); }
.contact-split .contact-info .ic .material-symbols-outlined { color: #fff; }
.contact-split .contact-info strong { color: #fff; }
.contact-split .contact-info a, .contact-split .contact-info span { color: rgba(255,255,255,.82); }
.contact-split .contact-info a:hover { color: #fff; }
/* form stays a clean white card on the pink panel (uses default .form styles) */

/* Colored work grid (BRANDI-style) ---------------------------------------- */
.workgrid { display: grid; grid-template-columns: 1fr 1fr; background: #141414; }
.workgrid__cell {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(40px, 6vw, 90px) clamp(28px, 5vw, 80px);
  min-height: clamp(260px, 30vw, 340px);
}
.workgrid__cell h3 {
  text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1; margin-bottom: 0;
}
.wc__rule { display: block; width: 54px; height: 3px; background: currentColor; opacity: .7; margin: 20px 0 22px; }
.workgrid__cell p { max-width: 44ch; margin-bottom: 32px; }
.workgrid .btn { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding: 12px 22px; margin-top: auto; }
/* Panel colorways */
.wc--yellow { background: var(--yellow); color: #141414; }
.wc--black  { background: #141414; color: #fff; }
.wc--black p { color: rgba(255,255,255,.82); }
.wc--black .wc__rule { background: var(--yellow); opacity: 1; }
.wc--black .btn--primary { background: var(--yellow); color: #141414; }
.wc--black .btn--primary:hover { background: #ffd000; }
.wc--pink   { background: #ee1b52; color: #fff; }
.wc--pink p { color: rgba(255,255,255,.88); }
.wc--teal   { background: #4fd1c5; color: #141414; }

/* "Why" band ------------------------------------------------------------- */
.why-vivid {
  background: #0f0f0f;
  color: #fff;
}
.why-vivid .split { align-items: center; }
.why-vivid .eyebrow { color: #fff; }
.why-vivid h2 {
  color: #fff; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.02; margin-bottom: 18px;
}
.why-vivid h2 .accent { color: var(--yellow); }
.why-vivid__intro { color: rgba(255,255,255,.9); max-width: 46ch; margin-bottom: 4px; }
/* full-width stats row inside the vivid gradient section — centered columns */
.why-vivid .stats--cols {
  margin-top: 56px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}
.why-vivid .stats--cols .stat {
  display: flex; flex-direction: column; align-items: center;
}
.why-vivid .stats--cols .num {
  background: none; -webkit-text-fill-color: #fff; color: #fff;
}
.why-vivid .stats--cols .stat__rule {
  width: 40px; height: 3px; border-radius: 2px;
  background: var(--yellow, #ffd21e);
  margin: 14px 0 12px;
}
.why-vivid .stats--cols .lbl {
  color: rgba(255,255,255,.82); max-width: 22ch;
}
/* strip the default media-panel framing so the image sits in its own frame */
.why-vivid .split__media { background: none; border: 0; padding: 0; min-height: 0; }
.framed {
  border: 10px solid #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.28); line-height: 0;
}
.framed img { width: 100%; height: auto; display: block; }
/* Check list */
.checks { display: grid; gap: 15px; margin: 26px 0 32px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks .ci {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: #141414; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}

/* Footer ------------------------------------------------------------------ */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 72px 28px; position: relative; overflow: hidden; }
.footer > .container { position: relative; z-index: 2; }
.footer__brand { color: #fff; font-size: 1.4rem; margin-bottom: 30px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.footer__links a {
  flex: 1 1 auto; text-align: center; white-space: nowrap;
  padding: 13px 26px; border-radius: 10px; font-size: .95rem; font-weight: 500;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.62);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.footer__links a:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.24); }

/* Giant faint outlined wordmark behind the footer */
.footer__wordmark {
  position: absolute; left: 50%; bottom: -.16em; transform: translateX(-50%);
  z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.04em;
  font-size: clamp(6rem, 24vw, 22rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin-top: clamp(120px, 20vw, 220px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255,255,255,.5);
}
.footer__copy { display: inline-flex; align-items: center; gap: 14px; }
.footer__copy .sep { width: 1px; height: 15px; background: rgba(255,255,255,.2); display: inline-block; }

/* Reveal animation -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Full-bleed colored panels: fade only (no slide) so no gap appears mid-transition */
.workgrid__cell.reveal,
.story-split__text.reveal,
.story-split__media.reveal { transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 760px) {
  .workgrid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split__media { min-height: 260px; order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html, body { overflow-x: clip; } /* contain the off-canvas panel (clip is position:sticky-safe) */
  /* Drop backdrop-filter on mobile: a filtered ancestor becomes the containing block
     for position:fixed children, which would trap the full-screen menu inside the nav. */
  .nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__toggle { display: block; position: relative; z-index: 60; }
  /* Full-screen menu that slides in from the right */
  .nav__links {
    display: flex; position: fixed; inset: 0; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--nav-h) + 20px) 28px 40px;
    background: #fff; z-index: 45; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s cubic-bezier(.4,0,.2,1), visibility .32s;
  }
  .nav.open .nav__links { transform: translateX(0); visibility: visible; }
  .nav__links a {
    width: 100%; padding: 22px 4px;
    font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__links a.is-active { color: var(--black); }
  /* Hamburger morphs into an X when open */
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid--3, .stats { grid-template-columns: 1fr; }
  .faq-split { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  /* Footer: plain two-column text links instead of pills */
  .footer__links {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px;
  }
  .footer__links a {
    padding: 0; background: none; border: 0; border-radius: 0;
    font-size: 1.3rem; font-weight: 400; color: rgba(255,255,255,.6);
  }
  .footer__links a:hover { background: none; color: #fff; }
  .footer__bottom { align-items: flex-end; }
}

/* ==========================================================================
   Story split — full-bleed pink text panel + dark photo-collage panel
   ========================================================================== */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: #0f0f0f;
}
.story-split__text {
  background: #ee1b52;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 80px clamp(32px, 5vw, 96px);
}
.story-split__inner { max-width: 560px; margin-left: auto; }
.story-split .eyebrow { color: rgba(255,255,255,.85); }
.story-split h2 {
  text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.04;
  color: #fff; margin-bottom: 8px;
}
.story-split h2 .accent-y { color: var(--yellow); }
.story-split__rule {
  display: block; width: 84px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.7); margin: 20px 0 26px;
}
.story-split p { color: rgba(255,255,255,.9); margin-bottom: 22px; line-height: 1.65; }
.story-split__lead { font-weight: 600; color: #fff; }
.story-split__lead .accent-y { color: var(--yellow); }

.story-split__media {
  background: #141414;
  min-height: 620px;
}
.story-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .story-split { grid-template-columns: 1fr; }
  .story-split__inner { margin-left: 0; max-width: none; }
  .story-split__media { min-height: 380px; }
}

/* ==========================================================================
   Services (dark) — graphic-1 layout in Klyvo's theme
   ========================================================================== */
.svc-dark { background: #141414; color: #fff; }
.svc-dark .eyebrow { color: var(--yellow); }
.svc-dark__title {
  color: #fff; text-transform: none;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em;
}
.svc-dark__intro {
  color: rgba(255,255,255,.62); max-width: 620px; margin: 18px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6;
}

.svc-grid { gap: 22px; }
.svc-card {
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 44px 34px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.svc-card:hover {
  border-color: rgba(255,224,27,.5);
  background: #202020;
  transform: translateY(-4px);
}
.svc-card__icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(255,224,27,.12);
  border: 1px solid rgba(255,224,27,.28);
  transition: background .2s ease;
}
.svc-card__icon .material-symbols-outlined { font-size: 30px; color: var(--yellow); }
.svc-card:hover .svc-card__icon { background: rgba(255,224,27,.2); }
.svc-card h3 { color: #fff; font-size: 1.22rem; margin-bottom: 12px; }
.svc-card p { color: rgba(255,255,255,.6); font-size: .98rem; line-height: 1.6; margin: 0; }

/* final CTA card */
.svc-card--cta {
  background: linear-gradient(150deg, rgba(255,224,27,.16), rgba(255,224,27,.10));
  border-color: rgba(255,224,27,.35);
}
.svc-card__icon--cta { background: var(--yellow); border-color: var(--yellow); }
.svc-card__icon--cta .material-symbols-outlined { color: #141414; }
.svc-card--cta:hover { background: linear-gradient(150deg, rgba(255,224,27,.24), rgba(255,224,27,.14)); }
.svc-card__link {
  margin-top: 18px; font-family: var(--font-head); font-weight: 700;
  color: var(--yellow); letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .18s ease;
}
.svc-card__link:hover { gap: 12px; }

@media (max-width: 900px) {
  .svc-card { padding: 36px 26px; }
}

/* ==========================================================================
   How we work — feature cards (icon badges + dotted divider)
   ========================================================================== */
.feature-cards { background: #0f0f0f; color: #fff; }
.feature-cards__title {
  text-align: center; text-transform: none; font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1;
  max-width: 18ch; margin: 0 auto clamp(40px, 6vw, 64px);
}
.feature-cards__title .hl {
  background: var(--yellow); color: #141414;
  padding: .02em .3em; border-radius: .32em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.feature-cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard {
  background: #1a1a1a; border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 26px;
  min-height: 460px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s ease, transform .2s ease;
}
.fcard:hover { border-color: rgba(255,224,27,.35); transform: translateY(-4px); }
.fcard__icons { display: flex; }
.fcard__badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.fcard__badge + .fcard__badge { margin-left: -12px; }
.fcard__badge .material-symbols-outlined { font-size: 24px; color: var(--yellow); }
.fcard__foot h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.12; color: #fff; margin-bottom: 20px; }
.fcard__rule { display: block; border-top: 1px dashed rgba(255,255,255,.2); margin-bottom: 18px; }
.fcard__foot p { color: rgba(255,255,255,.55); font-size: .95rem; line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .feature-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .fcard { min-height: 380px; }
}
@media (max-width: 560px) {
  .feature-cards__grid { grid-template-columns: 1fr; }
  .fcard { min-height: 0; }
}

/* ==========================================================================
   What we stand for — bold yellow statement band
   ========================================================================== */
.standfor {
  background: var(--yellow);
  color: #141414;
  padding: clamp(72px, 10vw, 128px) 0;
  text-align: center;
}
.standfor__head { margin-bottom: clamp(48px, 6vw, 72px); }
.standfor__eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em; font-size: .82rem;
  color: rgba(20,20,20,.72); margin-bottom: 18px;
}
.standfor__title {
  color: #141414; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: .96; letter-spacing: -.02em;
  font-weight: 700; margin: 0;
}
.standfor__rule {
  display: block; width: 70px; height: 4px; border-radius: 2px;
  background: #141414; margin: 34px auto 0;
}
.standfor__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 980px; margin: 0 auto;
}
.standfor__stats .stat { padding: 8px clamp(12px, 2vw, 28px); }
.standfor__stats .stat + .stat { border-left: 1px solid rgba(20,20,20,.18); }
.standfor__stats .num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: #141414; line-height: 1;
}
.standfor__stats .lbl { color: rgba(20,20,20,.7); font-size: .92rem; margin-top: 10px; }

@media (max-width: 720px) {
  .standfor__stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .standfor__stats .stat:nth-child(odd) { border-left: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
