/* =========================================================
   SponsorLoom — Design System v2
   Ivory + Ink, one bold accent, editorial serif highlights
   ========================================================= */

:root {
  --ink: #0c0d16;
  --ink-2: #161827;
  --ink-3: #22253a;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --white: #ffffff;
  --text: #23252f;
  --muted: #626679;
  --muted-dark: #9a9db0;
  --line: #e4e0d6;
  --line-dark: rgba(255, 255, 255, .1);
  --accent: #ff5b2e;
  --accent-2: #ff8a3d;
  --violet: #5b4cf5;
  --lav: #ecebff;
  --peach: #ffeae1;
  --mint: #e2f4ea;
  --sky: #e3eefc;
  --sun: #fff4d6;
  --green: #14a46c;
  --grad: linear-gradient(110deg, #5b4cf5 0%, #a24cf0 45%, #ff5b2e 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(12, 13, 22, .35);
  --shadow-sm: 0 10px 30px -14px rgba(12, 13, 22, .22);
  --container: 1220px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.04em; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--accent); }
.dark h1 em, .dark h2 em { color: var(--accent-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--white { background: var(--white); }
.dark { background: var(--ink); color: var(--muted-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 46, .18); }
.head { max-width: 780px; margin-bottom: 64px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { font-size: 1.15rem; color: var(--muted); }
.dark .head p { color: var(--muted-dark); }
.lead { font-size: 1.18rem; color: var(--muted); }
.dark .lead { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 8px 8px 26px; min-height: 56px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn .arr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s ease; flex: none; }
.btn .arr svg { width: 18px; height: 18px; }
.btn:hover .arr { transform: rotate(-45deg); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 16px 34px -14px rgba(255, 91, 46, .7); }
.btn--accent .arr { background: #fff; color: var(--accent); }
.btn--accent:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink .arr { background: var(--accent); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 8px 26px; }
.btn--line:hover { background: var(--ink); color: #fff; }
.dark .btn--line, .btn--line-light { color: #fff; border: 1.5px solid rgba(255,255,255,.35); background: transparent; padding: 8px 26px; }
.dark .btn--line:hover, .btn--line-light:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white .arr { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.dark .text-link { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 20px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(247, 245, 240, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo img { width: 40px; height: 40px; }
.logo-text { font-weight: 800; font-size: 1.32rem; letter-spacing: -.04em; color: #fff; transition: color .3s; }
.logo-text span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.45rem; color: var(--accent-2); letter-spacing: -.01em; }
.scrolled .logo-text { color: var(--ink); }
.scrolled .logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: .3s; }
.nav-links a { padding: 9px 18px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.82); transition: .25s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { background: #fff; color: var(--ink); }
.scrolled .nav-links { background: var(--white); border-color: var(--line); }
.scrolled .nav-links a { color: var(--muted); }
.scrolled .nav-links a:hover { color: var(--ink); background: var(--paper); }
.scrolled .nav-links a.active { background: var(--ink); color: #fff; }
.nav-cta { min-height: 48px; padding: 6px 6px 6px 22px; font-size: .9rem; }
.nav-cta .arr { width: 36px; height: 36px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); cursor: pointer; position: relative; flex: none; }
.nav-toggle span { position: absolute; left: 14px; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 18px; } .nav-toggle span:nth-child(2) { top: 23px; } .nav-toggle span:nth-child(3) { top: 28px; }
.scrolled .nav-toggle, .nav-open .nav-toggle { border-color: var(--line); background: #fff; }
.scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 180px 0 120px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 85% 10%, rgba(91, 76, 245, .32), transparent 65%),
              radial-gradient(600px 400px at 5% 90%, rgba(255, 91, 46, .22), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-top { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; }
.hero h1 { margin-bottom: 0; }
.hero h1 em { display: inline; }
.hero-side p { font-size: 1.12rem; color: #c3c6d6; margin-bottom: 28px; }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #d9dbe7; font-size: .86rem; font-weight: 500; margin-bottom: 30px; }
.hero-chip b { background: var(--accent); color: #fff; font-size: .72rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; }

/* Loom flow diagram */
.loom { margin-top: 80px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; align-items: stretch; position: relative; }
.loom-col { position: relative; z-index: 1; }
.loom-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px; height: 100%; backdrop-filter: blur(6px); }
.loom-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 14px; }
.loom-card h4 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.loom-card p { font-size: .9rem; color: var(--muted-dark); margin: 0; }
.loom-list { display: grid; gap: 8px; margin-top: 18px; }
.loom-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #dfe1ec; background: rgba(255,255,255,.05); padding: 9px 12px; border-radius: 10px; }
.loom-list li i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none; }
.loom-core { margin: 0 34px; background: linear-gradient(160deg, rgba(91,76,245,.35), rgba(255,91,46,.18)); border-color: rgba(255,255,255,.18); text-align: center; }
.loom-core .logo-big { width: 64px; height: 64px; margin: 0 auto 14px; }
.loom-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.loom-steps div { background: rgba(12,13,22,.45); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 8px; }
.loom-steps b { display: block; color: #fff; font-size: .95rem; }
.loom-steps span { font-size: .75rem; color: var(--muted-dark); line-height: 1.4; display: block; margin-top: 2px; }
.loom-lead { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 12px; margin-top: 10px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); animation: slideIn 4.5s ease-in-out infinite; }
.loom-lead:nth-child(2) { animation-delay: 1.5s; } .loom-lead:nth-child(3) { animation-delay: 3s; }
.loom-lead .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; background: var(--grad); flex: none; }
.loom-lead b { display: block; font-size: .84rem; line-height: 1.2; }
.loom-lead span { font-size: .72rem; color: var(--muted); }
.loom-lead .ok { margin-left: auto; font-size: .68rem; font-weight: 700; color: var(--green); background: var(--mint); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
@keyframes slideIn { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
.loom-threads { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
.loom-threads path { fill: none; stroke-width: 1.6; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--accent); color: #fff; overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.ticker-track span { display: flex; align-items: center; gap: 48px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: .9rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Simple 3 (We find / warm / hand over) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trio-item { padding: 40px 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.trio-item .n { font-family: var(--serif); font-style: italic; font-size: 4.5rem; line-height: 1; color: var(--accent); margin-bottom: 18px; display: block; }
.trio-item h3 { font-size: 1.55rem; }
.trio-item p { color: var(--muted); margin: 0; }
.trio-item:nth-child(1) { background: var(--lav); border-color: transparent; }
.trio-item:nth-child(2) { background: var(--peach); border-color: transparent; }
.trio-item:nth-child(3) { background: var(--mint); border-color: transparent; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--top { align-items: start; }

/* Pain points */
.pains { display: grid; gap: 14px; }
.pain { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; transition: .3s; }
.pain:hover { border-color: var(--ink); transform: translateX(6px); }
.pain .q { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-weight: 800; color: var(--accent); }
.pain b { color: var(--ink); display: block; margin-bottom: 2px; }
.pain span { font-size: .93rem; color: var(--muted); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, border-color .35s; position: relative; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; }
.svc-card .ico svg { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-card .best { font-size: .82rem; color: var(--ink); background: var(--paper); border-radius: 10px; padding: 10px 12px; margin-bottom: 18px; line-height: 1.5; }
.svc-card .best b { color: var(--accent); }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .more svg { transform: translateX(4px); }
.svc-card--wide { grid-column: span 2; background: var(--ink); color: var(--muted-dark); border-color: var(--ink); }
.svc-card--wide h3 { color: #fff; font-size: 1.7rem; }
.svc-card--wide p { color: var(--muted-dark); }
.svc-card--wide .best { background: rgba(255,255,255,.06); color: #dfe1ec; }
.svc-card--wide .more { color: #fff; }
.c-lav { background: var(--lav); color: var(--violet); }
.c-peach { background: var(--peach); color: var(--accent); }
.c-mint { background: var(--mint); color: var(--green); }
.c-sky { background: var(--sky); color: #2b6cd4; }
.c-sun { background: var(--sun); color: #b7791f; }
.c-dark { background: rgba(255,255,255,.08); color: var(--accent-2); }

/* ---------- Steps (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px); }
.step { padding-right: 26px; position: relative; }
.step .dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1.5px solid rgba(255,255,255,.2); color: #fff; font-weight: 800; position: relative; z-index: 1; margin-bottom: 26px; box-shadow: 0 0 0 10px var(--ink); transition: .3s; }
.step:hover .dot { background: var(--accent); border-color: var(--accent); }
.step .when { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .93rem; color: var(--muted-dark); margin: 0; }

/* ---------- Sample lead card ---------- */
.lead-card { background: var(--white); border-radius: 26px; box-shadow: var(--shadow); padding: 34px; border: 1px solid var(--line); position: relative; }
.lead-card .tag { position: absolute; top: -14px; left: 34px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.lead-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.lead-head .av { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.lead-head b { display: block; font-size: 1.15rem; color: var(--ink); }
.lead-head span { color: var(--muted); font-size: .9rem; }
.lead-head .score { margin-left: auto; text-align: center; background: var(--mint); color: var(--green); border-radius: 14px; padding: 8px 14px; }
.lead-head .score b { color: var(--green); font-size: 1.3rem; line-height: 1; }
.lead-head .score span { font-size: .68rem; font-weight: 700; color: var(--green); }
.lead-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--paper-2); font-size: .92rem; }
.lead-rows li:last-child { border: 0; }
.lead-rows span { color: var(--muted); }
.lead-rows b { color: var(--ink); text-align: right; font-weight: 600; }
.lead-rows .yes { color: var(--green); }
.ticks li { position: relative; padding-left: 40px; margin-bottom: 18px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks b { color: var(--ink); }
.dark .ticks b { color: #fff; }
.ticks--sm li { font-size: .95rem; margin-bottom: 12px; padding-left: 34px; }
.ticks--sm li::before { width: 22px; height: 22px; background-size: 11px; }

/* ---------- Deliverables ---------- */
.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.deliver-item { border-top: 2px solid var(--ink); padding-top: 24px; }
.deliver-item .freq { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.deliver-item h3 { margin: 8px 0 8px; }
.deliver-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 38px 34px; display: flex; flex-direction: column; position: relative; }
.plan .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 1.8rem; margin: 10px 0 8px; }
.plan .plain { color: var(--muted); font-size: .97rem; min-height: 52px; }
.plan .how { margin: 22px 0 26px; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-size: .92rem; }
.plan .how b { display: block; color: var(--ink); }
.plan .ticks { flex: 1; margin-bottom: 26px; }
.plan--hot { background: var(--ink); border-color: var(--ink); color: var(--muted-dark); box-shadow: var(--shadow); }
.plan--hot h3, .plan--hot .ticks b { color: #fff; }
.plan--hot .plain, .plan--hot .lbl { color: var(--muted-dark); }
.plan--hot .how { background: rgba(255,255,255,.06); color: #dfe1ec; }
.plan--hot .how b { color: #fff; }
.plan--hot .ticks li { color: #dfe1ec; }
.plan .flag { position: absolute; top: 26px; right: 26px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* ---------- Industries ---------- */
.chips-xl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips-xl span { padding: 14px 24px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: .25s; }
.chips-xl span:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Glossary ---------- */
.gloss { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gloss-item { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; }
.gloss-item .term { display: inline-block; font-weight: 800; color: var(--ink); background: var(--accent-2); padding: 4px 12px; border-radius: 8px; font-size: .9rem; margin-bottom: 14px; }
.gloss-item h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.gloss-item p { font-size: .93rem; margin: 0; color: var(--muted-dark); }

/* ---------- Promise ---------- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise-item { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.promise-item b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.promise-item b em { color: var(--accent); font-size: 2.8rem; }
.promise-item span { color: var(--muted); font-size: .93rem; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: .3s; }
.faq-item.open { border-color: var(--ink); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.faq-q i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); position: relative; transition: .3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: .3s; }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { background: var(--accent); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: #fff; }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 28px 24px; margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { border-radius: 34px; padding: 90px 70px; background: var(--ink); color: var(--muted-dark); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,91,46,.55), transparent 65%); }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(91,76,245,.5), transparent 65%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { font-size: 1.12rem; margin: 0; }
.cta-side { display: grid; gap: 14px; }
.cta-side .btn { width: 100%; justify-content: space-between; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: .25s; }
.doc-link:hover { background: rgba(255,255,255,.12); }
.doc-link .pdf { width: 44px; height: 52px; border-radius: 8px; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex: none; }
.doc-link b { display: block; font-size: .95rem; }
.doc-link span { font-size: .8rem; color: var(--muted-dark); }

/* ---------- Page hero ---------- */
.page-hero { padding: 190px 0 100px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(91,76,245,.35), transparent 65%), radial-gradient(500px 340px at 0% 100%, rgba(255,91,46,.22), transparent 65%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 950px; }
.page-hero p { font-size: 1.18rem; max-width: 680px; color: #c3c6d6; }
.crumbs { font-size: .85rem; color: var(--muted-dark); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #dfe1ec; font-size: .88rem; font-weight: 600; transition: .25s; }
.jump a:hover { background: #fff; color: var(--ink); }

/* ---------- Service detail ---------- */
.svc-detail { padding: 100px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:nth-of-type(odd) { background: var(--white); }
.svc-detail .num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent); display: block; margin-bottom: 10px; }
.svc-detail h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.simple { background: var(--paper); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 22px 0 26px; }
.svc-detail:nth-of-type(even) .simple { background: var(--white); }
.simple small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.simple p { margin: 0; color: var(--ink); font-weight: 500; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.svc-detail:nth-of-type(odd) .box { background: var(--paper); border-color: transparent; }
.box h4 { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.box + .box { margin-top: 18px; }
.mini-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mini-flow span { background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.mini-flow i { color: var(--accent); font-style: normal; font-weight: 800; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { font-size: .82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }

/* ---------- Process page timeline ---------- */
.phase { display: grid; grid-template-columns: 260px 1fr; gap: 60px; padding: 60px 0; border-top: 1px solid var(--line); }
.phase:first-child { border-top: 0; padding-top: 0; }
.phase-meta .pn { font-family: var(--serif); font-style: italic; font-size: 5rem; line-height: .9; color: var(--accent); display: block; }
.phase-meta .when { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; }
.phase-body h3 { font-size: 1.9rem; }
.phase-body > p { color: var(--muted); font-size: 1.08rem; }
.phase-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.phase-cols .box h4 { margin-bottom: 14px; }
.phase-cols .box ul li { font-size: .94rem; padding: 7px 0 7px 22px; position: relative; color: var(--text); }
.phase-cols .box ul li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.phase-cols .box--you ul li::before { background: var(--violet); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table.raci { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.raci th, .raci td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.raci th { background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.raci tr:last-child td { border-bottom: 0; }
.raci td:first-child { font-weight: 600; color: var(--ink); }
.raci .y { color: var(--accent); font-weight: 700; }
.raci .v { color: var(--violet); font-weight: 700; }

/* ---------- About ---------- */
.big-quote { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; color: var(--ink); max-width: 1000px; }
.big-quote em { color: var(--accent); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 32px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value .vn { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 16px; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.role .ri { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.07); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 18px; }
.role .ri svg { width: 22px; height: 22px; }
.role p { color: var(--muted-dark); font-size: .94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.c-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-item .ci { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.c-item .ci svg { width: 20px; height: 20px; }
.c-item b { display: block; color: var(--ink); }
.c-item a, .c-item span { color: var(--muted); font-size: .96rem; }
.c-item a:hover { color: var(--accent); }
.form-card { background: var(--white); border-radius: 30px; padding: 46px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .lbl { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .96rem; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--text); width: 100%; transition: .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e5484d; }
.field .err { display: none; font-size: .78rem; color: #e5484d; }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--muted); transition: .2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .tick { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.form-success .tick svg { width: 34px; height: 34px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 100px 0 34px; overflow: hidden; }
.footer-big { font-size: clamp(2.6rem, 9vw, 8.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; color: #fff; margin-bottom: 70px; }
.footer-big em { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 50px; border-top: 1px solid var(--line-dark); }
.site-footer .logo-text { color: #fff; }
.footer-about p { margin: 18px 0 22px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.site-footer li { margin-bottom: 11px; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* Grid children may shrink below content width */
.hero-top > *, .loom > *, .trio > *, .split > *, .bento > *, .steps > *, .deliver > *, .plans > *,
.gloss > *, .promise > *, .cta > *, .phase > *, .phase-cols > *, .values > *, .team > *,
.contact-grid > *, .form-grid > *, .footer-grid > * { min-width: 0; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .deliver, .promise, .values { grid-template-columns: repeat(2, 1fr); }
  .loom { grid-template-columns: 1fr; gap: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .loom-core { margin: 0; }
  .loom-threads { display: none; }
  .loom-col:not(:last-child)::after { content: "↓"; display: block; text-align: center; color: var(--accent-2); font-weight: 800; font-size: 1.4rem; margin-top: 12px; }
}
@media (max-width: 980px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { position: absolute; top: 100%; left: 16px; right: 16px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 14px; flex-direction: column; margin-top: 8px; }
  .nav-open .mobile-menu { display: flex; }
  .mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 12px; font-weight: 600; color: var(--ink); }
  .mobile-menu a:not(.btn):hover, .mobile-menu a.active { background: var(--paper); }
  .mobile-menu .btn { margin-top: 10px; justify-content: space-between; }
  .nav-open .site-header { background: rgba(247,245,240,.96); }
  .nav-open .logo-text { color: var(--ink); }
  .nav-open .logo-text span { color: var(--accent); }
  .hero-top, .split, .cta, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .trio, .plans, .gloss, .team { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 90px 0; }
  .cta { padding: 64px 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 80px; }
  .page-hero { padding: 140px 0 70px; }
  .head { margin-bottom: 44px; }
  .bento, .steps, .deliver, .promise, .values, .phase-cols, .form-grid { grid-template-columns: 1fr; }
  .svc-card--wide { grid-column: auto; }
  .loom { margin-top: 56px; }
  .loom-steps span { display: none; }
  .btn-row .btn { flex: 1 1 100%; justify-content: space-between; }
  .cta { padding: 50px 22px; border-radius: 26px; }
  .form-card { padding: 28px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .lead-card { padding: 26px 20px; }
  .lead-head { flex-wrap: wrap; }
  .lead-head .score { margin-left: 0; }
  .ticker-track span { font-size: 1.05rem; }
  .phase-meta .pn { font-size: 3.6rem; }
}
