/* ============================================================
   Day 1 — bold editorial redesign
   Structure/rhythm and palette take cues from tinuiti.com (deep
   indigo brand color, condensed display type, rounded "sheet"
   section transitions, stat-style cards). Motion stays true to
   .agents/skills/apple-design/SKILL.md — real spring physics for
   anything a user touches, not just CSS easing.
   ============================================================ */

/* Self-hosted variable fonts: one file per family covers every weight we use */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("assets/fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("assets/fonts/big-shoulders-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Zalando Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/zalando-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zalando Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/zalando-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --deep: #1a0e52;
  --deep-2: #241566;
  --accent: #5b3df5;
  --accent-soft: rgba(91, 61, 245, 0.12);

  --ink: #1a0e52;
  --ink-soft: #5b5680;
  --ink-faint: #67618c;
  --paper: #fbfaff;
  --paper-card: #ffffff;
  --tint: #ece8ff;
  --line: rgba(26, 14, 82, 0.1);
  --line-soft: rgba(26, 14, 82, 0.06);

  --on-deep: #ffffff;
  --on-deep-soft: rgba(255, 255, 255, 0.68);
  --on-deep-faint: rgba(255, 255, 255, 0.6);
  --deep-line: rgba(255, 255, 255, 0.14);

  --radius-xl: 48px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-press: cubic-bezier(0.4, 0, 0.6, 1);

  --font-display: "Big Shoulders Display", "Archivo Narrow", sans-serif;
  --font: "Zalando Sans", -apple-system, BlinkMacSystemFont, "Inter", system-ui, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

a { color: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
.hero-title, .section-head h2, .bento-statement, .contact-info h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.eyebrow.on-dark { color: var(--on-deep-soft); }

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 1px rgba(0, 113, 227, 0.6);
}

.kicker {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.9rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  /* transform is owned by the JS spring (hover lift + press) for true
     interruptible motion — see initSpringPress() in script.js. Only
     non-positional properties ease here. */
  transition: box-shadow 220ms var(--ease), background 220ms var(--ease),
    border-color 220ms var(--ease), filter 220ms var(--ease);
  will-change: transform;
}

.btn-primary-dark {
  background: #fff;
  color: var(--deep);
}
.btn-primary-dark:hover { box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.25); }

.btn-primary {
  background: var(--deep);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); box-shadow: 0 10px 30px -10px rgba(91, 61, 245, 0.45); }

.btn-ghost-dark {
  border-color: var(--deep-line);
  color: var(--on-deep);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }

.btn-ghost-light {
  border-color: var(--accent-soft);
  color: var(--ink);
  background: transparent;
}
.btn-ghost-light:hover { background: var(--accent-soft); border-color: var(--accent); }

.btn .icon { width: 1.05em; height: 1.05em; transition: transform 220ms var(--ease); }
.btn:hover .icon-shift { transform: translateX(3px); }

/* ---------- Nav — solid white, always (Tinuiti keeps its nav light even
   over the dark hero; a subtle shadow signals scroll instead of a color
   swap) ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 251, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.nav.scrolled {
  background: rgba(251, 251, 255, 0.82);
  border-bottom-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 24px -4px rgba(26, 14, 82, 0.1);
}

.nav-inner {
  width: min(1240px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; opacity: 0.92; transition: opacity 180ms var(--ease); }
.logo:hover { opacity: 1; }
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0071e3, #4f46e5);
}
.logo-word { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); }
.logo-img { height: 28px; width: auto; display: block; }
.footer-logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 0.3rem 0.6rem; }
.footer-logo-chip img { height: 24px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 180ms var(--ease);
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
}

.nav-dropdown { position: relative; }
.nav-dropdown::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 560px; height: 1rem; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 180ms var(--ease);
}
.nav-dropdown-toggle .chev { width: 11px; height: 11px; transition: transform 220ms var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--accent); }
.nav-dropdown:hover .chev, .nav-dropdown:focus-within .chev { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  column-gap: 1.6rem;
  width: max-content;
  min-width: 560px;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem 0.9rem;
  box-shadow: 0 24px 60px -20px rgba(26, 14, 82, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-col { display: flex; flex-direction: column; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.nav-dropdown-menu a:hover { background: var(--tint); color: var(--ink); }
.nav-dropdown-menu a.nav-dropdown-all {
  grid-column: 1 / -1;
  margin-top: 0.7rem;
  padding: 0.6rem 0.6rem 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
}
.nav-dropdown-label {
  display: block;
  padding: 0.4rem 0.6rem 0.35rem;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

/* ---------- Timeline (How We Work) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 17px; left: 2%; right: 2%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--deep)); opacity: 0.35; }
.tl-step { position: relative; padding-top: 3rem; }
.tl-step::before { content: ""; position: absolute; top: 10px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-badge { display: inline-block; font-family: var(--font); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.6rem; }
.tl-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.tl-step p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; }
.sheet-dark .tl-step h3 { color: var(--on-deep); }
.sheet-dark .tl-step p { color: var(--on-deep-soft); }
.sheet-dark .timeline::before { background: linear-gradient(90deg, #b9a4ff, rgba(255, 255, 255, 0.08)); opacity: 0.5; }
.sheet-dark .tl-step::before { box-shadow: 0 0 0 6px rgba(185, 164, 255, 0.22); }

/* ---------- Values grid (How We Work operating principles) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value { border-top: 3px solid var(--line); padding-top: 1.3rem; }
.value h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.value p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }
.sheet-dark .value { border-top-color: var(--deep-line); }
.sheet-dark .value p { color: var(--on-deep-soft); }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.case-card { background: var(--bg-card, var(--paper-card)); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem 1.7rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.case-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.case-tag.illustrative { background: var(--tint); color: var(--ink-faint); border: 1px solid var(--line); }
.case-tag.verified { background: var(--accent); color: #fff; }
.case-card.verified-card { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.case-source { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: -0.3rem; margin-bottom: 1.1rem; font-size: 0.78rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.case-source:hover { text-decoration: underline; }
.case-source .icon { width: 13px; height: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.case-card h3, .case-card h4 { font-size: 1.04rem; line-height: 1.35; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.case-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1.1rem; }
.case-metrics { display: flex; gap: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.case-metric strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.case-metric span { font-size: 0.75rem; color: var(--ink-faint); }
.case-section-head { max-width: 720px; margin-bottom: 1.8rem; }
.case-section-head h2, .case-section-head h3 { font-size: 1.5rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.case-section-head p { color: var(--ink-soft); font-size: 0.96rem; }
.case-section { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.case-section:last-child { border-bottom: none; }

/* ---------- FAQ accordion (dedicated FAQ page) ---------- */
.faq-category { margin-top: 2.8rem; }
.faq-category:first-child { margin-top: 0; }
.faq-category h2, .faq-category h3 { font-size: 1.2rem; margin-bottom: 1.1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.faq-accordion-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-acc-item { background: var(--tint); border-radius: var(--radius-sm); overflow: hidden; }
.faq-acc-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.3rem;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.96rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq-acc-question .faq-icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); transition: transform 260ms var(--ease); }
.faq-acc-item.open .faq-icon { transform: rotate(135deg); }
.faq-acc-answer { max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease); }
.faq-acc-item.open .faq-acc-answer { max-height: 400px; }
.faq-acc-answer-inner { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.7; }

@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .timeline::before { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .timeline, .values-grid { grid-template-columns: 1fr; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), background 260ms var(--ease);
}
/* Bars are 2px tall with a 5px gap, so the outer bars travel 7px to cross at the middle */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0 1.4rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 1rem min(5%, 1.4rem);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile-group { border-bottom: 1px solid var(--line-soft); }
.nav-mobile-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 1rem min(5%, 1.4rem);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.nav-mobile-group summary::-webkit-details-marker { display: none; }
.nav-mobile-group summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms var(--ease);
}
.nav-mobile-group[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-mobile-group a {
  padding: 0.8rem min(5%, 1.4rem) 0.8rem calc(min(5%, 1.4rem) + 1rem);
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: none;
}
.nav-mobile-group a:last-child { padding-bottom: 1.1rem; }
.nav-mobile a.nav-mobile-cta {
  margin: 1.2rem min(5%, 1.4rem) 0;
  padding: 0.95rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
}
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  text-align: left;
}
.hero-glow {
  position: absolute;
  top: 45%;
  left: 68%;
  transform: translate(-50%, -50%);
  width: min(900px, 130vw);
  height: min(900px, 130vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 61, 245, 0.45) 0%, rgba(91, 61, 245, 0) 65%);
  filter: blur(10px);
  pointer-events: none;
  will-change: transform;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 30%, black 30%, transparent 85%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5rem, 14vw, 10rem);
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 560px; }

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.6rem, 4vw, 2.6rem);
  transform: translateX(-50%);
  z-index: 2;
  color: var(--on-deep-faint);
  animation: hero-cue-bob 2s var(--ease) infinite;
}
.hero-cue .icon { width: 20px; height: 20px; }
@keyframes hero-cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cue { animation: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2.2rem;
  transition: background 220ms var(--ease);
}
.hero-badge:hover { background: rgba(255, 255, 255, 0.1); }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.005em;
  margin-bottom: 1.6rem;
}
.hero-title .grad {
  background: linear-gradient(100deg, #b9a4ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: var(--on-deep-soft);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 0 2.4rem;
}

.hero-actions { display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap; }

/* ---------- Hero collage — circular photo + torn-paper abstract shapes,
   a nod to Tinuiti's hero graphic without copying its assets. ---------- */
.hero-collage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  justify-self: center;
}
.hero-collage-photo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hero-collage-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-collage-shape.s1 {
  top: -2%; right: 2%;
  width: 34%; height: 34%;
  background: radial-gradient(circle, #ff8fb3 0%, rgba(255, 143, 179, 0.15) 70%, transparent 100%);
  background-size: 7px 7px;
  background-image: radial-gradient(circle, #ff8fb3 1.5px, transparent 1.6px);
  opacity: 0.85;
  z-index: 1;
}
.hero-collage-shape.s2 {
  bottom: 4%; right: -6%;
  width: 40%; height: 40%;
  background: linear-gradient(135deg, #4fe0c5, #5b3df5);
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  z-index: 1;
}
.hero-collage-shape.s3 {
  bottom: -4%; left: 6%;
  width: 26%; height: 26%;
  background: #ffb24f;
  border-radius: 38% 62% 55% 45% / 45% 55% 45% 55%;
  z-index: 3;
}

/* ---------- Section rhythm ---------- */
.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }

/* Rounded "sheet" transitions — each section slides up over the one above
   it, cueing a color change (dark↔light) the way tinuiti.com does, rather
   than a hard horizontal seam. */
.sheet-light { background: var(--paper); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); z-index: 2; }
.sheet-dark { background: var(--deep-2); color: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); z-index: 3; }
.sheet-dark .section-head h2, .sheet-dark .section-head p { color: inherit; }
.sheet-dark .section-head p { color: var(--on-deep-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.section-head p {
  margin-top: 1.1rem;
  font-size: 1.18rem;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 640px;
  line-height: 1.6;
}
.on-dark .section-head h2 { color: var(--on-deep); }
.on-dark .section-head p { color: var(--on-deep-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 2.6rem; }
.faq-item h3 { font-size: 1.22rem; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.faq-item p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; max-width: 640px; }
@media (min-width: 760px) {
  .faq-list { grid-template-columns: 1fr 1fr; gap: 2.8rem 3.2rem; }
}

/* ---------- About / DNA split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.25); }
.about-media img {
  width: 100%;
  height: clamp(360px, 42vw, 560px);
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 600ms var(--ease), transform 600ms var(--ease);
}
.about-media:hover img { filter: grayscale(0); transform: scale(1.03); }
.about-media-tag {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.about-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; margin-bottom: 1.1rem; }
.about-copy strong { color: var(--ink); font-weight: 600; }

.about-quote {
  margin-top: 2.2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.about-quote p {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-style: normal;
  line-height: 1.4;
}

/* ---------- Values bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 2.6vw, 2.6rem);
  /* transform (hover lift) is owned by the JS spring — see script.js */
  transition: box-shadow 320ms var(--ease), border-color 320ms var(--ease);
  will-change: transform;
}

.bento-lead {
  grid-row: span 2;
  background: linear-gradient(155deg, var(--accent), #3a24b8);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.bento-lead::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.bento-lead:hover { box-shadow: 0 30px 70px -24px rgba(91, 61, 245, 0.55); }
.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-icon .icon { width: 22px; height: 22px; }
.bento-lead h3 { font-size: 1.7rem; margin: 1.2rem 0 0.7rem; font-family: var(--font-display); text-transform: uppercase; }
.bento-lead p { color: rgba(255, 255, 255, 0.78); font-size: 1.02rem; line-height: 1.65; max-width: 360px; }
.bento-lead .bento-statement { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.05; }
.bento-lead .bento-statement .accent { color: #ffe27a; }

.bento-small {
  background: var(--paper-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-small:hover { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.14); }
.bento-small-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.bento-small-icon .icon { width: 20px; height: 20px; }
.bento-small h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.bento-small p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

.bento-wide {
  grid-column: span 3;
  background: linear-gradient(135deg, #fff, #fff7f0);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.bento-wide:hover { box-shadow: 0 24px 60px -28px rgba(244, 148, 76, 0.3); border-color: rgba(244, 148, 76, 0.3); }
.bento-wide-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe3c7, #ffd4dc);
  color: #c2560f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-wide-icon .icon { width: 28px; height: 28px; }
.bento-wide h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.bento-wide p { color: var(--ink-soft); font-size: 1rem; max-width: 620px; line-height: 1.6; }

/* ---------- Services — pale-tint card grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.service-card {
  position: relative;
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 2.4vw, 2.3rem);
  overflow: hidden;
  /* transform (hover lift) is owned by the JS spring — see script.js */
  will-change: transform;
}
.service-card.feature {
  background: linear-gradient(155deg, var(--deep), var(--accent));
  color: #fff;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.service-card.feature .service-icon { background: rgba(255, 255, 255, 0.16); }
.service-icon .icon { width: 24px; height: 24px; color: var(--accent); }
.service-card.feature .service-icon .icon { color: #fff; }

.service-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin-bottom: 0.6rem;
}
.service-card p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.service-card.feature p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Contact ---------- */
.contact.sheet-dark { background: var(--deep); color: #fff; }
.contact-panel {
  background: var(--deep-2);
  border: 1px solid var(--deep-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  position: relative;
}
.contact-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(91, 61, 245, 0.35), transparent 70%);
  pointer-events: none;
}

.contact-info { padding: clamp(2.2rem, 4vw, 3.2rem); position: relative; z-index: 1; }
.contact-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.8rem; letter-spacing: -0.02em; }
.contact-info > p { color: var(--on-deep-soft); margin-bottom: 2.2rem; font-size: 1.02rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--deep-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon .icon { width: 17px; height: 17px; }
.contact-item h3, .contact-item h4 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.contact-item p, .contact-item a { color: var(--on-deep-soft); font-size: 0.93rem; text-decoration: none; }
.contact-item a:hover { color: #fff; }

.contact-form-wrap { background: #fff; padding: clamp(2.2rem, 4vw, 3.2rem); position: relative; z-index: 1; }
.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.field label {
  display: block;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 1.05rem;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}
.form-note { text-align: center; font-size: 0.8rem; color: var(--ink-faint); }
.form-submit { width: 100%; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-error { text-align: center; font-size: 0.85rem; color: #c0392b; margin: 0 0 0.9rem; }
.form-error a { color: inherit; text-decoration: underline; }
.form-success {
  text-align: center;
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #1fb15e; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { font-size: 1.3rem; }
.form-success p { color: var(--ink-soft); font-size: 0.95rem; }
.form-success button {
  background: none; border: none; color: var(--accent); font-weight: 600;
  font-size: 0.95rem; cursor: pointer; font-family: var(--font);
}
.form-success button:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--deep-2); color: var(--on-deep-soft); padding: 4.5rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.9fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--deep-line); }
.footer-tag { margin-top: 1.1rem; font-size: 0.95rem; max-width: 320px; line-height: 1.6; }
.footer-social {
  margin-top: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.footer-social .icon { width: 16px; height: 16px; }
.footer-social:hover { background: #fff; color: #000; }

.footer-col h4 {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--on-deep-soft);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  transition: color 180ms var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.84rem;
}
.footer-base a { text-decoration: none; color: var(--on-deep-soft); }
.footer-base a:hover { color: #fff; }
.footer-links { display: flex; gap: 1.4rem; }

/* ---------- Service / channel pages ---------- */
.page-hero {
  position: relative;
  padding: clamp(7.5rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  text-align: left;
}
.page-hero .hero-grid, .page-hero .hero-glow { position: absolute; }
.page-hero .hero-glow {
  top: 10%; left: 85%;
  transform: translate(-50%, -50%);
  width: min(700px, 120vw); height: min(700px, 120vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 61, 245, 0.4) 0%, rgba(91, 61, 245, 0) 65%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(4rem, 10vw, 7rem);
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }

/* Two-column variant: copy left, photo right */
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-hero-grid .page-hero-inner { max-width: 560px; }
.page-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
  aspect-ratio: 4 / 5;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(91, 61, 245, 0.25), rgba(10, 5, 35, 0.15) 60%);
  mix-blend-mode: multiply;
}
@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid .page-hero-inner { max-width: 100%; }
  .page-hero-media { aspect-ratio: 16 / 9; max-width: 480px; margin: 0 auto; }
}

.breadcrumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--on-deep-faint);
  text-decoration: none;
  margin-bottom: 1.8rem;
  transition: color 180ms var(--ease);
}
.breadcrumb:hover { color: #fff; }

.page-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin-bottom: 1.4rem;
}
.page-title .grad {
  background: linear-gradient(100deg, #b9a4ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-sub { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--on-deep-soft); line-height: 1.65; max-width: 540px; margin-bottom: 1.8rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.6rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--on-deep-soft);
}
.badge .icon { width: 14px; height: 14px; color: #8fd4a8; flex-shrink: 0; }

.freshness-note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--on-deep-faint); }
.freshness-note .icon { width: 14px; height: 14px; flex-shrink: 0; }

/* Sticky sub-nav for jumping between channel sections on long pages */
.jump-nav {
  position: sticky;
  top: 72px;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav-inner { display: flex; gap: 0.5rem; padding: 0.85rem 0; width: min(1180px, 90%); margin: 0 auto; }
.jump-nav a {
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.jump-nav a:hover { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }

/* Channel deep-dive blocks */
.channel-block { padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.channel-block:last-child { border-bottom: none; }
.channel-block-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.4rem; }
.channel-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-icon .icon { width: 24px; height: 24px; color: var(--accent); }
.channel-eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.channel-block h2, .channel-block h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.015em; }
.channel-desc { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.7; max-width: 760px; margin-bottom: 1.8rem; }

.channel-tactics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tactic { background: var(--tint); border-radius: var(--radius-md); padding: 1.3rem 1.4rem; }
.tactic-label {
  display: block;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.tactic p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }

/* Centered CTA band, reused at the bottom of every service page */
.cta-band { background: var(--deep-2); color: #fff; text-align: center; }
.cta-band .kicker { color: #b9a4ff; }
.cta-band h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 1rem;
}
.cta-band p { color: var(--on-deep-soft); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }

/* Services hub — index-style grid pointing at each dedicated page */
.service-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-index-card {
  display: block;
  position: relative;
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 2.4vw, 2.3rem);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  will-change: transform;
}
.service-index-card .service-icon { background: #fff; }
.service-index-card.feature { background: linear-gradient(155deg, var(--deep), var(--accent)); color: #fff; }
.service-index-card.feature .service-icon { background: rgba(255, 255, 255, 0.16); }
.service-index-card.feature .service-icon .icon { color: #fff; }
.service-index-card.feature p { color: rgba(255, 255, 255, 0.78); }
.service-index-card.feature .arrow-link { color: #fff; }
.service-index-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.service-index-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin-bottom: 1rem; }
.service-index-card .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}
.service-index-card .arrow-link .icon { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.service-index-card:hover .arrow-link .icon { transform: translateX(4px); }

/* ---------- Liquid Glass — translucent material with a reflective top
   edge, translated from Apple's iOS 26 Liquid Glass for the web (no
   native glassEffect() API exists here, so this is backdrop-filter +
   a light-catching highlight standing in for it). Reserved for
   floating/interactive chrome — nav, badges, the sticky CTA — never
   stacked on another glass surface. ---------- */
.glass-light {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 20px 50px -24px rgba(26, 14, 82, 0.25);
}
.glass-dark {
  background: rgba(36, 21, 102, 0.42);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

/* ---------- Sticky CTA — a solid brand-colored pill that tracks scroll,
   owns its own spring (independent of the hover-lift system), and steps
   aside once the real contact CTA is on screen so it never competes
   with it. ---------- */
.sticky-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  /* neutralize the shared .glass-light styling — this pill supplies its
     own solid background so it stays legible over any section color. */
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.sticky-cta.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sticky-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem 1rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--deep-2));
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  white-space: nowrap;
  box-shadow: 0 20px 40px -12px rgba(91, 61, 245, 0.55), 0 2px 10px -2px rgba(26, 14, 82, 0.3);
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.sticky-cta-link:hover {
  box-shadow: 0 22px 46px -10px rgba(91, 61, 245, 0.7), 0 2px 12px -2px rgba(26, 14, 82, 0.4);
  transform: translateY(-2px);
}
/* The site-wide :focus-visible rule draws a squared-off outline that
   doesn't track this pill's 999px radius cleanly — give it its own
   ring instead, a soft glow that actually hugs the pill's shape. */
.sticky-cta-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 61, 245, 0.45), 0 20px 40px -14px rgba(26, 14, 82, 0.4);
}
.sticky-cta-link .icon { width: 16px; height: 16px; color: #fff; transition: transform 220ms var(--ease); }
.sticky-cta-link:hover .icon { transform: translateX(3px); }
.sticky-cta-dot { display: none; }
/* Below 680px a corner-hugging pill has nothing to anchor to and ends up
   drifting over cards and gradients as the page scrolls. Swap it for a
   full-width bar flush with the viewport edge — its own dedicated strip
   of screen that nothing else ever renders in, so it can't collide with
   content (the same family as an e-commerce "add to cart" bar). */
@media (max-width: 680px) {
  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
  }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta-link {
    width: 100%;
    justify-content: center;
    border-radius: 0;
    padding: 0.95rem 1.5rem;
    padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 30px -12px rgba(26, 14, 82, 0.3);
    border-top: 1px solid rgba(26, 14, 82, 0.08);
  }
}

/* ---------- Legal prose ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin-top: 2.4rem; margin-bottom: 0.8rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-content ul { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.75; margin: 0 0 1rem 1.3rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--accent); font-weight: 600; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-updated { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 2.2rem; text-align: center; }

.disclosure-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid rgba(91, 61, 245, 0.25);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.6rem;
}
.disclosure-banner .icon { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }
.disclosure-banner p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.disclosure-banner strong { color: var(--ink); }

/* ---------- Platform bar ---------- */
.platform-bar { padding: 1.8rem 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.platform-bar-inner { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; justify-content: center; }
.platform-bar-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.platform-list { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; justify-content: center; }
.platform-item { display: flex; align-items: center; gap: 0.55rem; }
.platform-item img { width: 26px; height: 26px; flex-shrink: 0; object-fit: contain; }
.platform-item span { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Hero platform badge (service pages) ---------- */
.hero-platform-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 100px; padding: 0.45rem 1rem 0.45rem 0.55rem; margin-bottom: 1.1rem; }
.hero-platform-badge img { width: 22px; height: 22px; object-fit: contain; }
.hero-platform-badge span { font-size: 0.82rem; font-weight: 600; color: var(--on-deep-soft); letter-spacing: 0.01em; }

/* ---------- Logo chip (service index cards) ---------- */
.service-index-card .logo-chip { width: 22px; height: 22px; margin-left: 0.5rem; vertical-align: -4px; object-fit: contain; }

/* ---------- Stat band ---------- */
.stat-band { padding: 1rem 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.stat-card { background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.8rem 1.6rem; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: var(--accent); line-height: 1; margin-bottom: 0.6rem; }
.stat-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.sheet-dark .stat-card { background: rgba(255, 255, 255, 0.05); border-color: var(--deep-line); }
.sheet-dark .stat-card strong { color: #b9a4ff; }
.sheet-dark .stat-card p { color: var(--on-deep-soft); }

/* ---------- Story filters (success stories) ---------- */
.story-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.filter-pill { font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 1.1rem; cursor: pointer; font-family: var(--font); transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.filter-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-pill.active:hover { color: var(--paper); }
.story-hidden { display: none !important; }

/* ---------- Client / partner logo marquee ---------- */
.client-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.client-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: max-content;
  animation: client-scroll 32s linear infinite;
}
.client-marquee:hover .client-marquee-track { animation-play-state: paused; }
@keyframes client-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-tile { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 180px; height: 96px; background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.1rem 1.4rem; }
.client-tile.on-dark { background: var(--deep); border-color: transparent; }
.client-tile img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.client-note { margin-top: 1.4rem; font-size: 0.86rem; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  .client-marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ---------- Hero entrance ----------
   Hero content is visible from the first frame (nothing waits on JS);
   only a short CSS rise plays, so the largest paint isn't delayed. */
.hero-in { animation: hero-rise 650ms var(--ease) both; }
.hero-badge.hero-in, .hero-platform-badge.hero-in, .eyebrow.hero-in { animation-delay: 40ms; }
.hero-title.hero-in, .page-title.hero-in { animation-delay: 80ms; }
.hero-sub.hero-in, .page-sub.hero-in, .hero-collage.hero-in, .page-hero-media.hero-in { animation-delay: 120ms; }
.badge-row.hero-in { animation-delay: 160ms; }
.hero-actions.hero-in { animation-delay: 200ms; }
@keyframes hero-rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-in { animation: none; } }

/* ---------- Reveal on scroll ---------- */
/* Initial/fallback state only — the entrance itself is a JS spring
   (opacity + translateY) in script.js, so no CSS transition here:
   springs must be driven frame-by-frame, not eased on a fixed timer. */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-collage { margin-top: 2.5rem; max-width: 340px; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-lead { grid-column: span 2; grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  /* .contact-glow is sized/positioned to stay hidden behind the opaque
     white form column in the two-column desktop layout — once the panel
     stacks to one column, .contact-info is full-width and transparent,
     so the glow shows through as a stray rectangle. Not needed once stacked. */
  .contact-glow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .sheet-light, .sheet-dark { border-radius: 36px 36px 0 0; margin-top: -36px; }
  .channel-tactics { grid-template-columns: 1fr 1fr; }
  .service-index-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .bento { grid-template-columns: 1fr; }
  .bento-lead, .bento-wide { grid-column: span 1; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero { padding-top: 7rem; min-height: auto; }
  .contact-form-wrap, .contact-info { padding: 1.8rem 1.4rem; }
  .sheet-light, .sheet-dark { border-radius: 24px 24px 0 0; margin-top: -24px; }
  .channel-tactics, .service-index-grid { grid-template-columns: 1fr; }
  .channel-block-head { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr; }
  .platform-bar-inner { flex-direction: column; gap: 1rem; }
  .platform-list { gap: 1.4rem; }
  .platform-item span { font-size: 0.82rem; }
  .client-tile { width: 150px; height: 84px; padding: 0.9rem 1.1rem; }
  .client-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%); }
}

/* ============================================================
   Accessibility pass — Apple HIG foundations (apple-design skill):
   4.5:1 text contrast, 44pt touch targets, visible focus, and
   glass that falls back to solid surfaces on request.
   ============================================================ */

/* Light cards inside dark sections inherit white text unless they set their own */
.bento-small, .bento-wide { color: var(--ink); }
.sheet-dark .service-index-card:not(.feature) { color: var(--ink); }
.contact-info { color: var(--on-deep); }

/* The brand accent is 2.5:1 on the dark sections; the light lavender is 7:1+ */
.sheet-dark .kicker, .sheet-dark .tl-badge { color: #b9a4ff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sheet-dark :focus-visible, .page-hero :focus-visible, .hero :focus-visible,
.footer :focus-visible, .contact-info :focus-visible { outline-color: #b9a4ff; }

.sticky-cta-link { min-height: 44px; }
.logo { min-height: 44px; }
.breadcrumb { min-height: 44px; margin-bottom: 1rem; }
.hero-cue { padding: 12px; }
/* Bigger hit area without moving the text */
.contact-item a { display: inline-block; padding: 0.8rem 0; margin: -0.8rem 0; }

.client-marquee:focus-within .client-marquee-track,
.client-marquee.is-paused .client-marquee-track { animation-play-state: paused; }
.client-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.client-foot .client-note { margin-top: 0; }
.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--ink-soft);
  font: 600 0.84rem var(--font);
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.marquee-toggle:hover { border-color: var(--accent); color: var(--accent); }
.marquee-toggle svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .marquee-toggle { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav, .nav.scrolled, .glass-light { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #3f3a66;
    --ink-faint: #4f4a75;
    --line: rgba(26, 14, 82, 0.4);
    --on-deep-soft: rgba(255, 255, 255, 0.88);
    --on-deep-faint: rgba(255, 255, 255, 0.8);
  }
  .nav, .nav.scrolled, .glass-light { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav, .nav.scrolled { border-bottom-color: var(--ink); }
  .glass-light { border: 1px solid var(--ink); }
}

@media (max-width: 680px) {
  .nav-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
  .jump-nav a, .filter-pill { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col a { min-height: 44px; display: flex; align-items: center; margin-bottom: 0; }
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
}
