/* ============================================================
   BRAIN QUEST — Attio-faithful design system
   White canvas · near-black type · huge tight headlines ·
   soft shadows · colorful product mockups · 8px-radius buttons
   ============================================================ */

@font-face { font-family: 'Switzer'; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/Switzer-400.woff2") format('woff2'); }
@font-face { font-family: 'Switzer'; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/Switzer-500.woff2") format('woff2'); }
@font-face { font-family: 'Switzer'; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/Switzer-600.woff2") format('woff2'); }
@font-face { font-family: 'Switzer'; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/Switzer-700.woff2") format('woff2'); }
@font-face { font-family: 'Switzer'; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/Switzer-800.woff2") format('woff2'); }

:root {
  /* ---- Color ---- */
  --bg:        #ffffff;
  --bg-soft:   #f6f6f4;   /* light section / footer */
  --bg-soft-2: #efefec;
  --surface:   #ffffff;

  --ink:    #191917;      /* near-black headings */
  --ink-2:  #5b5b54;      /* gray body */
  --ink-3:  #8c8c84;      /* muted captions */
  --line:   #ececea;      /* hairline */
  --line-2: #e2e2de;      /* stronger border */

  --accent:      #2f6bff; /* product blue */
  --accent-2:    #1f54da; /* hover */
  --accent-soft: #ebf1ff;

  --dark:    #17120e;     /* near-black ink for dark CTA */
  --dark-2:  #221d18;
  --dark-line:#33302b;
  --on-dark: #f4f1ec;
  --on-dark-2:#a39e95;

  /* product UI pastels (Attio-style colorful tiles) */
  --p-pink:   #ffd3df;  --p-pink-i:   #ff5d8f;
  --p-blue:   #cfe0ff;  --p-blue-i:   #2f6bff;
  --p-green:  #c7f0d8;  --p-green-i:  #14b866;
  --p-yellow: #ffe6ad;  --p-yellow-i: #e8a300;
  --p-purple: #e3daff;  --p-purple-i: #7a5bff;

  /* ---- Type ---- */
  --sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* ---- Radius / shadow ---- */
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(20,18,15,.05);
  --shadow-sm: 0 1px 3px rgba(20,18,15,.05), 0 6px 16px rgba(20,18,15,.04);
  --shadow:    0 2px 6px rgba(20,18,15,.05), 0 16px 44px rgba(20,18,15,.08);
  --shadow-lg: 0 8px 28px rgba(20,18,15,.09), 0 36px 90px rgba(20,18,15,.12);

  /* ---- Layout ---- */
  --maxw: 1200px;
  --maxw-wide: 1296px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Type scale ---- */
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.display {
  font-size: clamp(42px, 6.6vw, 86px); font-weight: 600;
  line-height: 0.99; letter-spacing: -0.04em;
}
.h1 { font-size: clamp(33px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.03em; }
.h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--ink-2); font-weight: 400; letter-spacing: -0.012em; }
.small { font-size: 14px; }
.muted { color: var(--ink-2); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---- Badge pill (Attio "Meet the…" badge) ---- */
.badge {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 6px 7px 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: var(--shadow-xs); transition: border-color .15s, transform .15s;
}
.badge:hover { border-color: var(--line-2); transform: translateY(-1px); }
.badge .chip { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }
.badge .arr { color: var(--ink-3); }

/* ---- Eyebrow (small label) ---- */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; }
.eyebrow.muted { color: var(--ink-3); }

/* ---- Buttons (8px radius, NOT pills) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, color .16s, border-color .16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-sm); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: var(--accent-2); }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.on-dark .btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--dark-line); }
.on-dark .btn-ghost:hover { border-color: var(--on-dark-2); background: rgba(255,255,255,.05); }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--accent); }
.link-arrow .arrow { transition: transform .2s ease; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 124px); }
.section-sm { padding-block: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.row { display: flex; gap: 12px; align-items: center; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: clamp(22px, 3vw, 32px); }
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }

/* ============================================================
   HEADER
   ============================================================ */
.announce { background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; }
.announce .wrap-wide { display: flex; align-items: center; justify-content: center; gap: 10px; height: 40px; position: relative; }
.announce a { display: inline-flex; align-items: center; gap: 8px; color: #fff; white-space: nowrap; }
.announce a span:not(.arrow) { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px){ .announce { font-size: 12px; } .announce .wrap-wide { padding-right: 36px; } }
.announce a:hover .arrow { transform: translateX(3px); }
.announce .arrow { transition: transform .2s; color: var(--on-dark-2); }
.announce .x { position: absolute; right: var(--gutter); color: var(--on-dark-2); cursor: pointer; font-size: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 64px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.wordmark.invert { color: var(--on-dark); }
.brand-logo { height: 26px; width: auto; display: block; mix-blend-mode: multiply; }
.brand-logo.invert { filter: invert(1); mix-blend-mode: screen; }
.site-footer .brand-logo { height: 34px; }
.logo-dot { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); position: relative; flex: none; }
.logo-dot::after { content:''; position:absolute; inset:7px; border-radius:3px; border:2px solid #fff; border-right-color:transparent; transform: rotate(-45deg); }
.nav-links { display: flex; gap: 4px; align-items: center; justify-content: center; }
.nav-links a { font-size: 15px; font-weight: 450; color: var(--ink-2); padding: 7px 13px; border-radius: var(--r-sm); transition: color .15s, background .15s; letter-spacing: -0.014em; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-signin { font-size: 15px; font-weight: 450; color: var(--ink-2); letter-spacing: -0.014em; transition: color .15s; }
.nav-signin:hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display:block; width:17px; height:2px; background: var(--ink); border-radius: 2px; position: relative; content:''; }
.nav-toggle span::before { position:absolute; top:-5px; } .nav-toggle span::after { position:absolute; top:5px; }

.mobile-menu { display: none; position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--bg); z-index: 110; padding: 22px; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .26s ease; }
.mobile-menu.open { display: flex; transform: none; }
.mobile-menu .mhead { display:flex; justify-content: space-between; align-items:center; margin-bottom: 16px; }
.mobile-menu a.mlink { font-size: 19px; font-weight: 600; padding: 13px 8px; border-radius: var(--r-sm); letter-spacing: -0.02em; }
.mobile-menu a.mlink:hover { background: var(--bg-soft); }
.menu-scrim { display:none; position: fixed; inset: 0; background: rgba(20,18,15,.32); z-index: 109; }
.menu-scrim.open { display: block; }
@media (max-width: 940px) {
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-signin { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   HERO + MESH
   ============================================================ */
.mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.mesh i.a { width: 540px; height: 460px; left: 8%; top: -120px; background: radial-gradient(circle, rgba(120,160,255,.5), transparent 64%); }
.mesh i.b { width: 520px; height: 440px; right: 8%; top: -80px; background: radial-gradient(circle, rgba(255,180,210,.5), transparent 64%); }
.mesh i.c { width: 460px; height: 380px; left: 36%; top: 40px; background: radial-gradient(circle, rgba(190,230,200,.45), transparent 64%); }

/* interior page hero */
.page-hero { position: relative; padding-block: clamp(52px, 7vw, 96px) clamp(36px, 4.5vw, 60px); overflow: hidden; }
.page-hero .wrap, .page-hero .wrap-wide { position: relative; z-index: 2; }
.breadcrumb { font-size: 13.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--ink); }

/* ============================================================
   PRODUCT MOCKUP (glassy app)
   ============================================================ */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--line); background: #fcfcfb; }
.mock-bar .tl { width: 11px; height: 11px; border-radius: 50%; background: #e4e4e0; }
.mock-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); background: #fcfcfb; padding: 0 8px; overflow-x: auto; }
.mock-tab { padding: 13px 18px; font-size: 14px; font-weight: 500; color: var(--ink-3); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s; }
.mock-tab:hover { color: var(--ink-2); }
.mock-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.tile { padding: 15px 17px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 72px; }
.bars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--p-blue); display: block; }
.bars i.a { background: var(--accent); }
.swatch { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.dotrow { display:flex; gap:6px; }
.dotrow i { width:8px; height:8px; border-radius:50%; display:block; }
.idea-panel { min-height: 252px; }
@media (max-width: 600px) { .idea-panel { grid-template-columns: 1fr !important; } }

/* ---- Idea carousel ---- */
.cs-stage { position: relative; }
.cs-slide { display: none; padding: 22px; background: #fcfcfb; min-height: 300px; box-sizing: border-box; }

/* ---- Idea slide: converging rays ---- */
.rf-card { position: relative; overflow: hidden; }
.rays { position: relative; width: 100%; min-height: 252px; background: radial-gradient(circle at 50% 50%, #f3efff, #ffffff 72%); }
.rays svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ray-line { stroke: rgba(122,91,255,.17); stroke-width: .6; }
.ray-dot { fill: rgba(122,91,255,.42); }
.ray-dot.tw { animation: ray-twk 3.4s ease-in-out infinite; }
@keyframes ray-twk { 0%,100% { opacity: .3; } 50% { opacity: .9; } }
.ray-center { fill: var(--p-purple-i); }
.ray-glow { fill: var(--p-purple-i); transform-box: fill-box; transform-origin: center; animation: ray-pulse 2.8s ease-in-out infinite; }
@keyframes ray-pulse { 0%,100% { opacity: .16; transform: scale(1); } 50% { opacity: .4; transform: scale(1.55); } }
@media (prefers-reduced-motion: reduce) { .ray-dot.tw, .ray-glow { animation: none; } }
.cs-slide.active { display: block; animation: cs-fade .5s cubic-bezier(.2,.7,.2,1); }
@keyframes cs-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cs-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fcfcfb; }
.cs-title { font-weight: 600; font-size: 14px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-dots { display: flex; gap: 7px; justify-self: center; }
.cs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); border: 0; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.cs-dot.active { background: var(--ink); transform: scale(1.25); }
.cs-arrows { display: flex; gap: 6px; justify-self: end; }
.cs-arrow { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); font-size: 16px; line-height: 1; transition: border-color .15s, color .15s; }
.cs-arrow:hover { border-color: var(--ink-3); color: var(--ink); }
@media (max-width: 560px) { .cs-controls { grid-template-columns: 1fr auto; } .cs-title { grid-column: 1 / -1; } .cs-dots { justify-self: start; } }

/* ---- Interactive rectangle wall (case thumbnails) ---- */
.dotwall { position: absolute; inset: 0; display: grid; gap: 6px; padding: 14px; z-index: 1; pointer-events: none; }
.dotwall i { border-radius: 3px; background: currentColor; opacity: .1; transform: scale(.8); transform-origin: center; will-change: transform, opacity; display: block; }
.work-thumb .photo-label { position: absolute; left: 16px; bottom: 14px; z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink); background: rgba(255,255,255,.78); backdrop-filter: blur(4px); padding: 5px 11px; border-radius: 999px; }

/* Hiring Genie: wall cells become tiny human avatars */
.dotwall.aw i { border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .dotwall i { opacity: .14; transform: scale(.85); } }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: bq-marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee b { font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink-3); white-space: nowrap; opacity: .85; }
@keyframes bq-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   BENTO / FEATURE GRID
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .b { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.bento .b:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.bento .sp2 { grid-column: span 2; } .bento .sp3 { grid-column: span 3; } .bento .sp4 { grid-column: span 4; } .bento .sp6 { grid-column: span 6; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .b, .bento .sp2, .bento .sp3, .bento .sp4 { grid-column: span 2; } }

.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.ico svg { width: 21px; height: 21px; }
.ico.pink { background: var(--p-pink); color: var(--p-pink-i); }
.ico.green { background: var(--p-green); color: var(--p-green-i); }
.ico.purple { background: var(--p-purple); color: var(--p-purple-i); }
.ico.yellow { background: var(--p-yellow); color: var(--p-yellow-i); }

/* feature rows */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat-row.flip .feat-media { order: -1; }
@media (max-width: 880px) { .feat-row { grid-template-columns: 1fr; } .feat-row.flip .feat-media { order: 0; } }

/* stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-grid .num { font-size: clamp(38px, 4.6vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stat-grid .lbl { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* thin variant — always 1x4, hairline dividers, no accent */
.stat-grid--thin { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-grid--thin > div { padding: 28px 28px; }
.stat-grid--thin > div + div { border-left: 1px solid var(--line); }
.stat-grid--thin .num { font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
.stat-grid--thin .lbl { font-size: 14px; }
@media (max-width: 720px) {
  .stat-grid--thin { grid-template-columns: repeat(2, 1fr); }
  .stat-grid--thin > div:nth-child(3) { border-left: 0; }
  .stat-grid--thin > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { padding-top: 26px; border-top: 1.5px solid var(--ink); }
.step .n { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }

/* testimonial */
.quote { font-size: clamp(23px, 2.7vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.26; color: var(--ink); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; gap: 20px; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 24px 0; cursor: pointer; font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.018em; }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:''; position:absolute; background: var(--ink-3); border-radius: 2px; left:50%; top:50%; transform: translate(-50%,-50%); transition: transform .25s ease; }
.faq-q .pm::before { width: 13px; height: 2px; } .faq-q .pm::after { width: 2px; height: 13px; }
.faq-item.open .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > div { padding: 0 0 24px; color: var(--ink-2); max-width: 72ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); padding: clamp(40px, 6vw, 80px); }
.cta-band .glow { position:absolute; width: 560px; height: 460px; right: -100px; bottom: -180px; border-radius: 50%; filter: blur(80px); background: radial-gradient(circle, rgba(47,107,255,.4), transparent 64%); opacity: .8; }
.cta-band .mz { position:absolute; left:-80px; top:-120px; width:420px;height:380px;border-radius:50%;filter:blur(80px);background:radial-gradient(circle,rgba(255,140,180,.28),transparent 64%);}
.on-dark { color: var(--on-dark); }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-2); }

/* work / case study cards */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.work-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-card .meta { padding: 22px 24px 26px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.tag { font-size: 12px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card .ph { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; margin-bottom: 13px; }

/* photo placeholder */
.photo { background: var(--bg-soft); position: relative; overflow: hidden; }
.photo::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); opacity: .7; }
.photo.pink   { background: linear-gradient(150deg, var(--p-pink),   #ffe9ef); }
.photo.blue   { background: linear-gradient(150deg, var(--p-blue),   #e8f0ff); }
.photo.green  { background: linear-gradient(150deg, var(--p-green),  #e6faee); }
.photo.purple { background: linear-gradient(150deg, var(--p-purple), #f0ebff); }
.photo.yellow { background: linear-gradient(150deg, var(--p-yellow), #fff3d6); }
.photo.dark   { background: linear-gradient(150deg, #2a241d, #17120e); }
.photo.dark::after { color: var(--on-dark-2); }

/* job rows */
.job-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: padding-left .2s ease; }
.job-row:hover { padding-left: 12px; }
.job-row .jt { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }

/* forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 120px; }

/* blog skeleton */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.blog-card .ph { aspect-ratio: 16/10; }
.blog-card .body { padding: 22px; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft) 25%, #efefec 50%, var(--bg-soft) 75%); background-size: 200% 100%; animation: bq-shimmer 1.6s infinite; border-radius: 6px; }
@keyframes bq-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ============================================================
   FOOTER (light, with big watermark)
   ============================================================ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 15px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: background .15s, color .15s, border-color .15s; }
.footer-social a:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-3); }
.footer-watermark { font-weight: 800; letter-spacing: -0.05em; line-height: .8; font-size: clamp(70px, 17vw, 230px); color: var(--ink); opacity: .045; white-space: nowrap; margin-top: 28px; user-select: none; text-align: center; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, [style*="floaty"] { animation: none !important; } }
