/* ============================================================
   DANIEL PETCH — Agency Growth Partner
   Design language modelled on Beside (beside.com): white page,
   Inter at medium weight with tight tracking, grey secondary
   text, pill tags, black pill buttons, hairline borders, mono
   uppercase eyebrows, soft pastel accents.
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #141414;
  --text: #2a2a2a;
  --mute: #6f6f6f;
  --soft: #767676;
  --line: #e8e8e6;
  --line-2: #f0f0ee;
  --panel: #f7f7f5;
  --panel-2: #fbfbfa;
  --warm: #fff6ec;
  --warm-2: #fdecd9;
  --sage: #eef0e4;
  --olive: #9aa63a;
  --violet: #b59cf5;
  --peach: #f3a570;
  --sky: #7fb2f0;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-pill: 999px;
  --r-card: 16px;
  --r-win: 14px;
  --shadow-pill: 0 1px 2px rgba(20,20,20,.06), 0 0 0 1px rgba(20,20,20,.06);
  --shadow-win: 0 1px 2px rgba(20,20,20,.04), 0 12px 40px -12px rgba(20,20,20,.18), 0 0 0 1px rgba(20,20,20,.05);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--ink); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-n { width: min(1000px, 100% - var(--gutter) * 2); margin-inline: auto; }
section { padding: clamp(52px, 6.5vw, 92px) 0; position: relative; }
section.tight { padding: clamp(32px, 4vw, 56px) 0; }
.hr { height: 1px; background: var(--line); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(38px, 5.3vw, 66px); line-height: 1.06; letter-spacing: -.03em; }
h1 strong { font-weight: 700; }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; }
h4 { font-size: 17px; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--mute); max-width: 56ch; }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; display: block; }
.kicker { font-size: 15px; color: var(--soft); margin-bottom: 14px; display: block; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head.center { margin-inline: auto; }
.section-head h2 + .lead { margin-top: 18px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--soft); letter-spacing: .08em; }
.gradient {
  background: linear-gradient(95deg, var(--violet) 0%, var(--peach) 38%, var(--sky) 72%, var(--olive) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-pill);
  font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap;
}
.pill svg { width: 15px; height: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-pill); }
.btn-ghost:hover { background: var(--panel); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c9c9c7; font-weight: 500; }
.link:hover { text-decoration-color: var(--ink); }
.link-arrow { color: var(--ink); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.nav .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; letter-spacing: -.02em; font-size: 17px; color: var(--ink); }
.logo .mark { width: 28px; height: 28px; flex: none; }
.logo img.mark { border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 1px rgba(20,20,20,.08); }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--text); }
.nav-links a { padding: 6px 0; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-right .login { font-size: 15px; font-weight: 500; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav .nav-mobile { display: none; }

/* ---------- Full-bleed image banner (top header) ---------- */
.banner { padding: 0; position: relative; overflow: hidden; background: #d9c7ae; border-bottom: 1px solid var(--line); min-height: clamp(520px, 44vw, 700px); display: flex; align-items: center; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 73% 50%; }
.banner-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,238,229,.96) 0%, rgba(244,238,229,.9) 34%, rgba(244,238,229,.55) 50%, rgba(244,238,229,0) 68%); }
.banner-inner { position: relative; width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; padding: clamp(48px, 6vw, 80px) 0; }
.banner-text { max-width: 560px; }
.banner .avail { position: absolute; z-index: 2; left: 81%; top: 24%; display: inline-flex; font-size: 11.5px; letter-spacing: .01em; padding: 5px 10px 5px 9px; background: #eaf7ec; color: #1f6f31; border: 1px solid #cfe9d4; box-shadow: none; }
.banner-text .eyebrow { color: #7a6f60; }
.banner h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.banner h2 strong { font-weight: 800; }
.banner-text > p { color: #4f4a42; font-size: 17px; margin-top: 20px; max-width: 50ch; }
.banner-text .no { display: grid; gap: 4px; margin: 16px 0 26px; font-size: 15px; }
.banner-text .no span { position: relative; padding-left: 20px; color: #6a6358; }
.banner-text .no span::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: #c9bda9; border-radius: 2px; }
.banner-text .no span.yes { color: var(--ink); font-weight: 500; }
.banner-text .no span.yes::before { background: var(--olive); }
.banner .btn-ghost { background: rgba(255,255,255,.85); }
.banner-on-img { display: none; }
.banner .banner-card { position: absolute; right: 0; top: 0; bottom: auto; left: auto; width: max-content; max-width: 420px; }
@media (max-width: 900px) {
  .banner { min-height: 0; display: block; background: #f4eee5; }
  .banner-img { position: relative; inset: auto; width: 100%; height: min(78vw, 440px); object-fit: cover; object-position: 76% 18%; }
  .banner-fade { display: block; inset: auto; top: 0; left: 0; right: 0; height: min(78vw, 440px); background: linear-gradient(90deg, rgba(244,238,229,.78) 0%, rgba(244,238,229,.45) 40%, rgba(244,238,229,0) 60%); }
  .banner-on-img { display: block; position: absolute; left: var(--gutter); top: 50px; width: 84%; max-width: 320px; z-index: 2; }
  .banner-on-img .eyebrow { margin: 0; color: #6a6358; font-size: 8px; letter-spacing: 0; white-space: nowrap; }
  .banner-on-img h2 { font-size: clamp(17px, 5.1vw, 22px); line-height: 1.1; letter-spacing: -.025em; max-width: 230px; margin-top: clamp(30px, 12vw, 58px); }
  .banner-text .eyebrow, .banner-text h2 { display: none; }
  .banner-inner { padding: 22px 0 28px; }
  .banner .avail { left: 16px; top: 16px; }
  .banner-text > p { font-size: 15.5px; margin-top: 0; }
  .banner-text .no { margin: 12px 0 18px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 5vw, 56px) 0 0; overflow: hidden; }
.hero-inner { position: relative; text-align: center; }
.arc { position: absolute; left: 50%; top: -24px; width: max(1180px, 122%); transform: translateX(-50%); pointer-events: none; z-index: 0; overflow: visible; }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: clamp(44px, 8vw, 120px); }
.hero h1 { max-width: 26ch; font-weight: 700; letter-spacing: -.035em; }
.who { display: inline-flex; align-items: center; gap: 12px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-win); font-size: 13px; text-align: left; margin-bottom: -8px; }
.who .av { width: 40px; height: 40px; }
.who b { display: block; font-weight: 600; color: var(--ink); font-size: 13.5px; letter-spacing: -.01em; line-height: 1.2; }
.who .sub { display: block; color: var(--mute); font-size: 12px; }
.who .live { margin-left: 4px; white-space: nowrap; }
.hero .lead { max-width: 54ch; font-size: clamp(17px, 1.5vw, 19px); }
.hero-sub { font-size: 15px; color: var(--soft); margin-top: -6px; }
.tagline { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }

.search {
  display: flex; align-items: center; width: min(640px, 100%); height: 64px; padding: 6px 6px 6px 22px;
  background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-win); margin-top: 8px;
}
.search svg.ico { width: 18px; height: 18px; color: var(--soft); margin-right: 12px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--ink); }
.search input::placeholder { color: #b5b5b3; }
.search .btn { height: 52px; padding: 0 22px; background: var(--panel); color: var(--ink); flex: none; }
.search .btn:hover { background: #eeeeec; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: -8px; }

/* Hero: person-led composition */
.hero-btns { margin-top: 4px; justify-content: center; }
.hero-visual { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 340px 1fr; gap: 28px; align-items: center; width: min(1080px, 100%); margin: clamp(44px, 6vw, 72px) auto 0; text-align: left; }
.fcol { display: grid; gap: 14px; }
.fcol.l { justify-items: end; }
.fcol.r { justify-items: start; }
.portrait { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-win); background: var(--warm); }
.portrait img.ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.id-card { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 14px; box-shadow: var(--shadow-pill); font-size: 13px; }
.portrait .avail { position: absolute; top: 12px; right: 12px; font-size: 11.5px; padding: 5px 10px; background: rgba(231,246,234,.96); box-shadow: var(--shadow-pill); }
.av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.id-card b, .log-head b { display: block; font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: -.01em; }
.id-card .r, .log-head .r { display: block; color: var(--mute); font-size: 12px; }
.id-card .live, .log-head .live { margin-left: auto; white-space: nowrap; }
.card-mini { background: #fff; border-radius: 14px; box-shadow: var(--shadow-win); padding: 14px 16px; max-width: 272px; font-size: 13px; }
.card-mini .num { display: block; margin-bottom: 6px; }
.card-mini b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 14px; letter-spacing: -.01em; }
.card-mini .d { color: var(--mute); line-height: 1.5; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tagrow i { font-style: normal; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: var(--r-pill); background: var(--panel); color: var(--ink); }
.pill.float { white-space: normal; text-align: left; max-width: 272px; font-size: 13px; }
.meta-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; width: min(1080px, 100%); margin: clamp(32px, 4vw, 48px) auto 0; padding-top: 24px; border-top: 1px solid var(--line); text-align: left; }
.meta-row .eyebrow { margin-bottom: 8px; }
.meta-row b { display: block; font-weight: 500; color: var(--ink); font-size: 16px; letter-spacing: -.01em; margin-bottom: 2px; }
.meta-row .d { color: var(--mute); font-size: 14px; }

/* Hero bento: chatbot, voice agent, case study tiles */
.bento { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 236px 236px; gap: 12px; width: min(1180px, 100%); margin: clamp(40px, 6vw, 64px) auto 0; text-align: left; }
.tile { position: relative; border-radius: 16px; background: #fff; box-shadow: var(--shadow-win); overflow: hidden; margin: 0; }
.t-chat { grid-column: 1 / 6; grid-row: 1 / 3; display: flex; flex-direction: column; }
.t-voice { grid-column: 6 / 9; grid-row: 1; display: flex; flex-direction: column; }
.t-a { grid-column: 9 / 13; grid-row: 1; }
.t-stat { grid-column: 6 / 9; grid-row: 2; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, #fffaf4, #fff3e6); }
.t-b { grid-column: 9 / 11; grid-row: 2; }
.t-c { grid-column: 11 / 13; grid-row: 2; }
.tile-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; background: #fafaf9; }
.tile-head b { font-weight: 600; color: var(--ink); }
.tile-head .r { color: var(--mute); font-size: 12px; }
.tile-head .chip-lbl { position: static; margin-left: auto; }
.chip-lbl.static { background: var(--panel); box-shadow: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px rgba(154,166,58,.18); }
.dot.live { background: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.18); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(229,72,77,.18); } 50% { box-shadow: 0 0 0 7px rgba(229,72,77,.05); } }
.chat { flex: 1; padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; font-size: 13px; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: msg-in .45s var(--ease) both; }
.msg.u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.a { align-self: flex-start; background: var(--panel); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.t { align-self: flex-start; font-family: var(--mono); font-size: 11.5px; color: var(--mute); padding: 4px 2px; background: none; }
.msg.t::before { content: "▸ "; color: var(--olive); }
.msg.typing { display: inline-flex; gap: 4px; padding: 11px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9b9b6; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,80%,100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes msg-in { to { opacity: 1; transform: none; } }
.msg .acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.msg .acts span { font-size: 11.5px; font-weight: 500; padding: 4px 9px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-pill); }
.chat-in { display: flex; align-items: center; gap: 8px; margin: 8px 14px 14px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.chat-in span { color: var(--soft); font-family: var(--mono); }
.chat-in em { font-style: normal; color: var(--ink); }
.cursor { width: 1.5px; height: 14px; background: var(--ink); animation: blink 1s steps(2) infinite; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; padding: 0 14px; margin-top: 8px; }
.wave i { flex: 1; height: 8px; border-radius: 3px; background: var(--ink); opacity: .85; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 0%,100% { height: 5px; } 50% { height: 24px; } }
.transcript { padding: 6px 14px 0; font-size: 12px; line-height: 1.4; color: var(--mute); display: grid; gap: 4px; align-content: end; flex: 1; overflow: hidden; min-height: 0; }
.transcript div { opacity: 0; animation: msg-in .45s var(--ease) both; }
.transcript b { color: var(--ink); font-weight: 600; }
.tags { display: flex; gap: 6px; padding: 8px 14px 12px; flex-wrap: wrap; min-height: 42px; }
.tags span { font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: var(--r-pill); background: var(--sage); color: #5c6520; opacity: 0; animation: msg-in .4s var(--ease) both; }
.t-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; transition: opacity .6s var(--ease); }
.t-img.fade img { opacity: 0; }
.t-stat .n { font-size: 56px; font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.t-stat .l { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 8px; }
.t-stat .s { font-size: 12px; color: var(--mute); margin-top: 4px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .t-chat { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .t-voice { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .t-a, .t-stat, .t-b, .t-c { grid-column: auto; grid-row: auto; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .wave i, .dot.live, .cursor, .msg.typing i { animation: none; }
}

/* Work-log card (replaces app windows) */
.log { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-win); overflow: hidden; font-size: 13px; text-align: left; }
.log-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #fafaf9; }
.log-body { padding: 20px 18px 18px; }
.log-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; letter-spacing: -.01em; }
.log-body .sub { color: var(--mute); font-size: 12.5px; margin-bottom: 14px; }
.log-body .card-row:last-child, .log-body .task:last-child { margin-bottom: 0; }

/* App window mockup */
.win {
  position: relative; z-index: 1; width: min(1180px, 100%); margin: clamp(40px, 6vw, 72px) auto 0;
  background: #fff; border-radius: var(--r-win) var(--r-win) 0 0; box-shadow: var(--shadow-win);
  overflow: hidden; text-align: left; font-size: 13px; color: var(--text);
}
.win.full { border-radius: var(--r-win); }
.win.full .win-body { grid-template-columns: 1fr; min-height: 0; }
.win.full .main { padding-bottom: 24px; }
.win-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #fafaf9; border-bottom: 1px solid var(--line-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e5e5e3; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; height: 24px; border-radius: 8px; background: #f0f0ee; display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--soft); font-size: 11.5px; }
.url svg { width: 11px; height: 11px; }
.win-body { display: grid; grid-template-columns: 236px 1fr; min-height: 300px; }
.side { border-right: 1px solid var(--line-2); padding: 16px 12px; }
.side .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--ink); padding: 4px 8px 14px; }
.side .brand small { font-weight: 400; color: var(--soft); }
.side .grp { font-size: 11px; color: var(--soft); padding: 12px 8px 6px; }
.side a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text); font-size: 12.5px; }
.side a svg { width: 13px; height: 13px; color: var(--mute); }
.side a.on { background: var(--panel); color: var(--ink); font-weight: 500; }
.side .sep { height: 1px; background: var(--line-2); margin: 10px 4px; }
.main { padding: 28px 28px 0; }
.avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--panel); display: grid; place-items: center; margin-bottom: 16px; }
.avatar svg { width: 18px; height: 18px; color: var(--ink); }
.main h5 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.main .sub { color: var(--mute); font-size: 12px; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); box-shadow: var(--shadow-pill); font-size: 11.5px; font-weight: 500; color: var(--ink); background: #fff; }
.chip svg { width: 12px; height: 12px; }
.chip b { font-weight: 400; color: var(--soft); }
.chips .right { margin-left: auto; display: flex; gap: 6px; }
.card-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; background: #fff; }
.card-row .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--warm); display: grid; place-items: center; flex: none; }
.card-row .ic svg { width: 14px; height: 14px; color: var(--peach); }
.card-row .ic.sage { background: var(--sage); } .card-row .ic.sage svg { color: var(--olive); }
.card-row .ic.sky { background: #eaf2fc; } .card-row .ic.sky svg { color: var(--sky); }
.card-row .ic.violet { background: #f1ecfd; } .card-row .ic.violet svg { color: var(--violet); }
.card-row b { font-weight: 600; color: var(--ink); font-size: 12.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-row .live { white-space: nowrap; }
.card-row span { color: var(--mute); font-size: 12px; }
.live { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: #1f6f31; background: #e7f6ea; border-radius: var(--r-pill); padding: 2px 7px; font-weight: 500; }
.live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #2f9e44; }
.main .lbl { font-size: 12.5px; font-weight: 600; color: var(--ink); margin: 18px 0 10px; }
.main .fade { position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 8px; }
.task .cb { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #d6d6d3; flex: none; }
.task .cb.done { background: var(--ink); border-color: var(--ink); position: relative; }
.task .cb.done::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.task .t { flex: 1; font-size: 12.5px; color: var(--ink); }
.task .t small { display: block; color: var(--soft); font-size: 11px; }
.task .tag { font-size: 10.5px; color: var(--mute); background: var(--panel); border-radius: var(--r-pill); padding: 3px 8px; }

/* ---------- Case study ---------- */
.case { padding-top: clamp(44px, 5.5vw, 72px); }
.case-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(26px, 3.5vw, 40px); }
.case-label { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(20px, 3vw, 30px); }
.case-logo { height: 30px; width: auto; display: block; }
.case-sep { width: 1px; height: 26px; background: var(--line); }
.case-label strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.case-top .lead { font-size: 17px; }
.case-stats { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(26px, 3.5vw, 40px); align-items: start; }
.case-stats .big .n { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -.045em; line-height: .95; color: var(--ink); }
.case-stats .big .l { margin-top: 10px; font-size: 17px; font-weight: 500; color: var(--ink); }
.case-stats .big .s { margin-top: 4px; font-size: 14px; color: var(--mute); max-width: 32ch; }
.case-stats .sm { padding-left: 24px; border-left: 1px solid var(--line); align-self: stretch; display: flex; flex-direction: column; }
.case-stats .sm b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.case-stats .sm span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--mute); max-width: 22ch; min-height: 3.2em; }
.showcase { margin-bottom: clamp(28px, 4vw, 44px); }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-video { position: relative; border-radius: var(--r-card); overflow: hidden; background: #0f1b2d; box-shadow: var(--shadow-win); position: sticky; top: 100px; }
.case-video video { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; background: #0f1b2d; }
.play-btn { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; background: linear-gradient(180deg, rgba(10,18,30,.1), rgba(10,18,30,.45)); transition: background .3s var(--ease); }
.play-btn:hover { background: linear-gradient(180deg, rgba(10,18,30,.2), rgba(10,18,30,.55)); }
.play-btn:hover .play-ring { transform: scale(1.06); }
.play-ring { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.play-ring svg { width: 28px; height: 28px; margin-left: 3px; }
.play-txt { font-size: 13px; font-weight: 500; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.case-video.playing .play-btn { display: none; }
.case-photo { margin: 0; position: sticky; top: 100px; }
.case-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--r-card); display: block; background: #e9dfd0; }
.case-body h3 { font-size: 20px; margin-bottom: 14px; }
.res { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.res li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mute); line-height: 1.5; }
.res li b { color: var(--ink); font-weight: 500; }
.under { margin-top: 22px; font-size: 15px; color: var(--mute); line-height: 1.6; }
.focus { margin-top: 18px; font-size: 17px; color: var(--ink); font-weight: 500; letter-spacing: -.01em; line-height: 1.45; }
.focus strong { font-weight: 700; }

/* Case study showcase marquee */
.mq { overflow: hidden; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 85s linear infinite; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-card { position: relative; margin: 0; height: 232px; flex: none; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 1px 2px rgba(20,20,20,.04), 0 10px 30px -14px rgba(20,20,20,.18), 0 0 0 1px rgba(20,20,20,.05); }
.mq-card.w { width: 340px; } .mq-card.s { width: 290px; } .mq-card.t { width: 190px; }
.mq-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; transition: transform .6s var(--ease); }
.chip-lbl { position: absolute; top: 10px; left: 10px; margin: 0; padding: 4px 9px; border-radius: var(--r-pill); background: rgba(255,255,255,.94); font-size: 11.5px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-pill); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .mq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .mq-track { animation: none; }
  .mq-track [aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
  .mq-card { height: 180px; }
  .mq-card.w { width: 260px; } .mq-card.s { width: 220px; } .mq-card.t { width: 150px; }
}

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: 100px; }
.plain p { color: var(--mute); font-size: 17px; line-height: 1.65; }
.plain p strong { color: var(--ink); font-weight: 500; }
.nots { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.nots li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.nots li .x { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; background: var(--panel); color: var(--soft); }
.nots li .x.yes { background: var(--sage); color: var(--olive); }
.nots li .x svg { width: 12px; height: 12px; }

/* ---------- Tabs (pillars) ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-pill); margin: 0 auto; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--mute); transition: background .25s var(--ease), color .25s; }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.panels { margin-top: clamp(28px, 4vw, 48px); }
.panel { display: none; }
.panel.on { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: center; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-text h3 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 18px; }
.panel-text .lead { font-size: 17px; }
.feat { display: flex; gap: 14px; margin-top: 32px; }
.feat .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--panel); color: var(--ink); }
.feat .ic svg { width: 15px; height: 15px; }
.feat b { display: block; font-weight: 500; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.feat span { color: var(--mute); font-size: 15px; }
.panel .win { margin: 0; width: 100%; }
.panel .win .win-body { grid-template-columns: 1fr; min-height: 0; }
.panel .win .main { padding: 24px 24px 24px; }
.caption { font-size: 14px; color: var(--soft); text-align: right; margin-top: 18px; }

/* ---------- Services grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.svc { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.svc .num { display: block; margin-bottom: 20px; }
.svc h3 { font-size: 20px; margin-bottom: 8px; }
.svc .tag { font-size: 15.5px; color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.svc p { color: var(--mute); font-size: 15px; }
details.more { margin-top: 14px; }
details.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); padding: 6px 0; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg { width: 14px; height: 14px; transition: transform .25s var(--ease); color: var(--soft); }
details.more[open] summary svg { transform: rotate(180deg); }
details.more ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
details.more li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text); }
details.more li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #d4d4d2; }
.svc-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 0; flex-wrap: wrap; }
.svc-cta p { margin: 0; font-size: 18px; color: var(--ink); font-weight: 500; }
.svc-cta p span { color: var(--mute); font-weight: 400; }

/* ---------- Tech stack ---------- */
.stack { padding-top: 0; }
.stack-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.stack-tile { flex: 0 0 calc((100% - 6 * 12px) / 7); display: flex; align-items: center; justify-content: center; height: 96px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stack-tile img { height: 30px; width: auto; max-width: 100%; object-fit: contain; display: block; }
/* normalise optical size: files carry different internal padding */
.l-chatgpt img, .l-elevenlabs img { height: 38px; }
.l-gemini img { height: 34px; }
.l-grok img, .l-zapier img { height: 42px; }
.l-corelogic img { height: 40px; }
.l-id4me img { height: 70px; }
.l-pricefinder img { height: 24px; }
.l-rita img { height: 40px; }
.l-boards img { height: 24px; }
.l-scribe img { height: 24px; }
.l-canva img { height: 24px; }
.l-meta img { height: 23px; }
.l-claude img { height: 23px; }
@media (max-width: 1100px) { .stack-tile { flex-basis: calc((100% - 4 * 12px) / 5); } }
@media (max-width: 900px) { .stack-tile { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 600px) {
  .stack-grid { gap: 8px; }
  .stack-tile { flex-basis: calc((100% - 2 * 8px) / 3); height: 72px; padding: 0 10px; }
  .stack-tile img { height: 22px; }
  .l-chatgpt img, .l-elevenlabs img { height: 28px; }
  .l-gemini img { height: 24px; }
  .l-grok img, .l-zapier img { height: 30px; }
  .l-corelogic img { height: 30px; }
  .l-id4me img { height: 54px; }
  .l-pricefinder img { height: 18px; }
  .l-rita img { height: 30px; }
  .l-boards img { height: 18px; }
  .l-scribe img { height: 18px; }
  .l-canva img { height: 18px; }
  .l-meta img, .l-claude img { height: 18px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: 28px; }
.step .num { display: block; margin-bottom: 18px; }
.step h4 { font-size: 17px; margin-bottom: 4px; }
.step .t { font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--mute); }
.steps.five { grid-template-columns: repeat(5, 1fr); }

/* ---------- Partnerships ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.plan.flag { background: linear-gradient(180deg, #fffaf4 0%, #fff3e6 100%); border-color: #f4dcc2; }
.plan .num { display: block; }
.plan h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.25; }
.plan .price { font-size: 28px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); margin: 6px 0 0; }
.price.quote { font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.plan .price small { font-size: 13px; color: var(--mute); letter-spacing: 0; font-weight: 400; margin-left: 4px; }
.plan .t { font-size: 15px; color: var(--ink); font-weight: 500; }
.plan p { font-size: 14.5px; color: var(--mute); }
.plan ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.plan li { display: flex; gap: 9px; font-size: 14px; color: var(--text); align-items: flex-start; }
.plan li svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--olive); }
.plan .ideal { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--mute); }
.plan .ideal b { color: var(--ink); font-weight: 500; }
.plan .badge { position: absolute; top: 18px; right: 18px; }
.plan { position: relative; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: #fff; }
.fine { font-size: 13.5px; color: var(--soft); max-width: 72ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.photo { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-win); position: sticky; top: 100px; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.photo .cap { position: absolute; left: 14px; bottom: 14px; }
.about-grid h3 { font-size: 22px; margin-bottom: 4px; }
.about-grid .role { color: var(--mute); font-size: 15px; margin-bottom: 24px; white-space: nowrap; }
@media (max-width: 600px) { .about-grid .role { font-size: 13px; letter-spacing: -.01em; } }
.about-grid p { color: var(--mute); font-size: 16.5px; line-height: 1.65; }
.tenures { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.tenures-label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 12px; }
.tenures ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tenures li { font-size: 14px; font-weight: 500; color: var(--ink); padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }
.about-actions { margin-top: 24px; }
.about-grid p.hl { color: var(--ink); font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.4; margin: 28px 0; }

/* ---------- Audience rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 240px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.row b { font-weight: 500; color: var(--ink); font-size: 16px; }
.row p { margin: 0; color: var(--mute); font-size: 15px; }
.row .tag { font-size: 12.5px; color: var(--mute); justify-self: end; }
.row-note { margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; }

/* ---------- Final CTA / FAQ ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cta-grid h2 { font-size: clamp(32px, 3.8vw, 48px); }
.cta-grid .lead { margin-top: 20px; }
.cta-grid .btn-row { margin-top: 28px; }
.faq { display: grid; gap: 6px; }
.faq details { border-radius: 12px; background: #fff; transition: background .25s; }
.faq details[open] { background: var(--sage); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 16px; height: 16px; position: relative; flex: none; color: var(--mute); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.faq summary .pm::before { width: 12px; height: 1.5px; } .faq summary .pm::after { width: 1.5px; height: 12px; transition: transform .25s; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details p { padding: 0 18px 18px; margin: 0; color: var(--mute); font-size: 15px; line-height: 1.6; }
.faq details p + p { padding-top: 0; margin-top: -8px; }

/* ---------- Simple centred CTA ---------- */
.cta-center { text-align: center; }
.cta-center h2 { font-size: clamp(32px, 4vw, 52px); max-width: 20ch; margin-inline: auto; }
.cta-center .lead { margin: 20px auto 0; }
.cta-center .btn-row { justify-content: center; margin-top: 30px; }
.cta-center .fine { margin: 22px auto 0; }

/* ---------- Instagram ---------- */
.ig { padding-top: 0; }
.ig-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 30px); }
.ig-head h2 { margin: 0; }
.ig-head h2 strong { font-weight: 700; }
.ig-head .lead { font-size: 16px; }
.ig-mq { margin: 0; padding: 8px 0; }
.ig-mq .mq-track { animation-duration: 95s; }
.ig-tile { display: block; flex: none; width: 240px; height: 240px; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px rgba(20,20,20,.05); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
@media (max-width: 600px) { .ig-tile { width: 170px; height: 170px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 32px; font-size: 14px; color: var(--mute); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .logo { margin-bottom: 14px; }
.foot .strap { color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.foot p { max-width: 38ch; }
.foot h6 { margin: 0 0 12px; font-size: 13px; color: var(--soft); font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--ink); }
.foot details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.foot details summary::-webkit-details-marker { display: none; }
.foot details summary svg { width: 12px; height: 12px; transition: transform .25s; }
.foot details[open] summary svg { transform: rotate(180deg); }
.foot details ul { margin-top: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }

/* ---------- Agents page extras ---------- */
.inc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inc .item { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: #fff; }
.inc .item .num { display: block; margin-bottom: 14px; }
.inc .item h4 { margin-bottom: 6px; }
.inc .item p { font-size: 14.5px; color: var(--mute); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.offer .price-card { border-radius: var(--r-card); padding: 28px; background: linear-gradient(180deg, #fffaf4 0%, #fff3e6 100%); border: 1px solid #f4dcc2; position: sticky; top: 100px; }
.offer .price-card .price { font-size: 44px; font-weight: 500; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.offer .price-card .price small { font-size: 15px; letter-spacing: 0; color: var(--mute); margin-left: 6px; font-weight: 400; }
.offer .price-card p { color: var(--mute); font-size: 15px; margin-top: 10px; }
.offer .price-card .btn { margin-top: 20px; width: 100%; }
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cap { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: #fff; }
.cap .num { display: block; margin-bottom: 14px; }
.cap h4 { font-size: 18px; margin-bottom: 4px; }
.cap .t { font-size: 15px; color: var(--mute); margin-bottom: 14px; }
.cap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cap li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--text); }
.cap li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--olive); opacity: .9; }
.cap .note { margin-top: 14px; font-size: 13px; color: var(--soft); }
.cap.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.cap.wide h4, .cap.wide .t { grid-column: 1 / -1; }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Intro (page-load) animations, timed like Beside ---------- */
.intro { opacity: 0; animation: intro-fade .5s ease-out both; }
.intro-nav, .intro-tag { animation-duration: .45s; }
.intro-title { animation-delay: .18s; }
.intro-copy { animation: intro-up .6s cubic-bezier(.22, 1.15, .36, 1) .4s both; }
.intro-wheel { animation-duration: 1.1s; animation-delay: .45s; }
.intro-visual { animation: intro-up .7s cubic-bezier(.22, 1.15, .36, 1) .55s both; }
.chip-in { animation: chip-in .35s ease-out both; }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro, .chip-in { opacity: 1; animation: none; transform: none; } }

/* ---------- Phone accordions and rhythm ---------- */
.res-more { display: none; }
@media (max-width: 900px) {
  .acc-item .acc-head { cursor: pointer; padding-right: 30px; position: relative; -webkit-tap-highlight-color: transparent; }
  .acc-item .acc-head::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
  .acc-item.open .acc-head::after { transform: translateY(-30%) rotate(225deg); }
  .acc-item:not(.open) > :not(.acc-head):not(.acc-keep) { display: none !important; }
  .svc { padding: 16px 0; }
  .svc .num { margin-bottom: 8px; }
  .svc h3 { margin: 0; font-size: 18px; }
  .svc.open h3 { margin-bottom: 8px; }
  .plan { gap: 8px; padding: 20px 18px; }
  .plan .price.quote { font-size: 16px; margin: 0; }
  .cap { padding: 18px; }
  .cap h4 { margin: 0; }
  .cap.open h4 { margin-bottom: 4px; }
  .res.clip li:nth-child(n+4) { display: none; }
  .res-more { display: inline-flex; margin-top: 14px; }
}
@media (max-width: 600px) {
  section { padding: 40px 0; }
  .hero-content { padding-top: 26px; gap: 12px; }
  .hero-btns { flex-direction: column; width: min(300px, 100%); gap: 8px; margin-top: 6px; }
  .hero-btns .btn { width: 100%; }
  .hero .lead { font-size: 15.5px; line-height: 1.5; }
  .hero-sub { font-size: 13.5px; margin-top: 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  .lead { font-size: 16px; }
  .tagline { font-size: 11px; letter-spacing: .12em; }
  .section-head { margin-bottom: 22px; }
  .meta-row { gap: 16px; margin-top: 28px; padding-top: 20px; }
  .case-stats .big .n { font-size: 52px; }
  .case-stats { padding: 22px 0; }
  .foot { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .plans, .support { gap: 10px; }
  .steps, .steps.five { gap: 20px; }
  .about-grid, .case-body, .split, .cta-grid { gap: 24px; }
  .photo img { aspect-ratio: 1 / 1; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .inc { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; }
  .offer .price-card { position: static; }
  .steps, .steps.five { grid-template-columns: repeat(2, 1fr); gap: 32px 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .nav-links, .nav-right .login { display: none; }
}
@media (max-width: 900px) {
  .split, .panel.on, .about-grid, .cta-grid, .offer, .caps, .support, .inc, .meta-row, .case-top, .case-body, .offer-grid { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: repeat(3, 1fr); gap: 18px 14px; align-items: start; }
  .case-logo { height: 24px; }
  .case-label { gap: 12px; }
  .case-stats .big { grid-column: 1 / -1; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .case-stats .sm { padding-left: 12px; }
  .case-stats .sm:nth-child(2) { padding-left: 0; border-left: 0; }
  .case-stats .sm b { font-size: 22px; }
  .case-stats .sm span { font-size: 11.5px; line-height: 1.35; margin-top: 6px; min-height: 0; }
  .case-photo { position: static; }
  .case-video { position: relative; top: auto; }
  .hero-visual { grid-template-columns: 1fr; gap: 16px; }
  .portrait { order: -1; width: min(360px, 100%); margin-inline: auto; }
  .fcol { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .card-mini, .pill.float { max-width: 100%; }
  .split .sticky, .photo, .offer .price-card { position: static; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row .tag { justify-self: start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .tabs { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .cap.wide { grid-template-columns: 1fr; }
  .caption { text-align: left; }
}
@media (max-width: 600px) {
  .offer-photo .id-card .live { display: none; }
  .who { flex-wrap: wrap; justify-content: center; border-radius: 20px; padding: 10px 12px; gap: 10px; }
  .who .live { margin: 0; }
  .nav .wrap { height: 64px; gap: 12px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .logo { font-size: 16px; gap: 8px; }
  .logo .mark { width: 22px; height: 22px; }
  .grid-3, .plans, .steps, .steps.five { grid-template-columns: 1fr; }
  .search { height: auto; flex-wrap: wrap; border-radius: 22px; padding: 10px; gap: 8px; }
  .search input { width: 100%; padding: 10px 6px; }
  .search .btn { width: 100%; }
  .search svg.ico { display: none; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { gap: 20px; }
  .win { margin-top: 36px; }
  .main { padding: 20px 16px 0; }
  .chips .right { display: none; }
}
