/* borandabak.com, v3. Two colours that get along plus one that does not,
   and the odd one only goes on the primary button. Two sets ship:
   charcoal, sand and electric blue (default), and cream, ink black and
   burnt orange (html[data-palette="cream"]). Every tint is rgba(var(--tint), a),
   so a set is switched by tokens alone. */

:root {
  --bg: #1e1e1c;
  --bg-2: #252522;
  --panel: rgba(var(--tint), 0.035);
  --panel-strong: rgba(var(--tint), 0.06);
  --stroke: rgba(var(--tint), 0.08);
  --stroke-strong: rgba(var(--tint), 0.16);
  --fg: #d8cbb3;
  --tint: 216, 203, 179;
  --fg-2: rgba(var(--tint), 0.72);
  --fg-3: rgba(var(--tint), 0.48);
  --glow-a: 216, 203, 179;  /* sand, used only as faint tints */
  --glow-b: 216, 203, 179;
  --gold: #d8cbb3;
  --ok: #d8cbb3;
  --accent: #2f6bff;        /* electric blue, primary buttons only */
  --accent-hover: #4a7fff;
  --accent-rgb: 47, 107, 255;
  --header-bg: rgba(30, 30, 28, 0.78);
  --console-bg: linear-gradient(180deg, rgba(43, 43, 40, 0.96), rgba(33, 33, 31, 0.98));
  --shadow-rgb: 0, 0, 0;
  --shadow-a: 0.9;

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 3.6vw, 2.75rem);
  --step-4: clamp(2.5rem, 5.4vw, 4.25rem);
  --step-5: clamp(2.75rem, 7.2vw, 5.75rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-palette="cream"] {
  --bg: #f3eee3;            /* cream */
  --bg-2: #faf7f0;
  --fg: #111111;            /* ink black */
  --tint: 17, 17, 17;
  --glow-a: 255, 255, 255;
  --glow-b: 17, 17, 17;
  --gold: #111111;
  --ok: #111111;
  --accent: #d9541e;        /* burnt orange, primary buttons only */
  --accent-hover: #c2481a;
  --accent-rgb: 217, 84, 30;
  --header-bg: rgba(243, 238, 227, 0.82);
  --console-bg: #faf7f0;
  --shadow-rgb: 60, 45, 20;
  --shadow-a: 0.18;
}
html[data-palette="cream"] .hero::before,
html[data-palette="cream"] .cta::before,
html[data-palette="cream"] .console-stage::before { display: none; }
html[data-palette="cream"] body::after { opacity: 0.035; mix-blend-mode: multiply; }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Film grain over everything, very faint. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection { background: var(--fg); color: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid rgba(var(--glow-b), 0.9); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--fg); color: var(--bg); padding: 0.6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: var(--gutter); top: 0.75rem; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
h1 { font-size: var(--step-5); letter-spacing: -0.045em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.3; }

/* Headlines fade from white to soft white, Linear style. */
.shine { color: var(--fg); }

.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); color: var(--fg-2); padding: 0.35rem 0.8rem 0.35rem 0.4rem; border: 1px solid var(--stroke); border-radius: 999px; background: var(--panel); backdrop-filter: blur(8px); }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: none; display: inline-block; margin-left: 0.35rem; }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--fg-2); max-width: 48ch; font-weight: 400; letter-spacing: -0.01em; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  height: 46px; padding: 0 1.3rem; border-radius: 999px;
  font: 500 0.95rem/1 var(--font); letter-spacing: -0.01em; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(var(--accent-rgb), 0.7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--panel); color: var(--fg); border-color: var(--stroke-strong); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--panel-strong); border-color: rgba(var(--tint), 0.28); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 0.95rem; font-size: 0.85rem; }

/* Header ----------------------------------------------------------------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: var(--header-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--stroke); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 500; letter-spacing: -0.02em; margin-right: auto; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 600; color: var(--bg); background: var(--fg); }

.face-switch { display: inline-flex; padding: 3px; border: 1px solid var(--stroke); border-radius: 999px; background: var(--panel); backdrop-filter: blur(10px); }
.face-switch a { padding: 0.42rem 0.9rem; border-radius: 999px; font-size: 0.82rem; color: var(--fg-3); transition: color 0.3s, background 0.3s; }
.face-switch a:hover { color: var(--fg); }
.face-switch a[aria-current="page"] { background: rgba(var(--tint), 0.1); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(var(--tint), 0.08); }

.nav-links { display: flex; gap: 1.5rem; font-size: 0.88rem; color: var(--fg-3); margin-right: 0.5rem; }
.nav-links a:hover { color: var(--fg); }

/* Hero ------------------------------------------------------------------- */

.hero { position: relative; padding: 160px 0 72px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 1300px; height: 900px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 35% 45%, rgba(var(--glow-a), 0.09), transparent 70%),
    radial-gradient(closest-side at 68% 40%, rgba(var(--glow-b), 0.05), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.35;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 20%, transparent 75%);
}
.hero h1 { margin: 1.6rem auto 0; max-width: 15ch; }
.hero .lede { margin: 1.6rem auto 0; text-align: center; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-meta { margin-top: 1.4rem; font-size: var(--step--1); color: var(--fg-3); display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 14px; height: 14px; opacity: 0.7; }

/* Product console: the memorable element. A glass window showing an
   internal assistant answering from connected systems. */
.console-stage { position: relative; margin-top: 80px; perspective: 1800px; }
.console-stage::before { content: ""; position: absolute; inset: 10% 8% -10%; background: radial-gradient(closest-side, rgba(var(--glow-a), 0.08), transparent); filter: blur(60px); z-index: -1; }
.console {
  text-align: left; border-radius: var(--r-l); border: 1px solid var(--stroke-strong);
  background: var(--console-bg);
  box-shadow: 0 1px 0 rgba(var(--tint), 0.08) inset, 0 40px 120px -30px rgba(var(--shadow-rgb), var(--shadow-a)), 0 0 0 1px rgba(var(--shadow-rgb), calc(var(--shadow-a) * 0.6));
  overflow: hidden; transform: rotateX(8deg) scale(0.98); transform-origin: 50% 0; transition: transform 1.4s var(--ease);
}
.console.in { transform: rotateX(0) scale(1); }
.console-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--stroke); font-size: 0.78rem; color: var(--fg-3); }
.console-bar .dots { display: flex; gap: 6px; margin-right: 0.75rem; }
.console-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(var(--tint), 0.12); }
.console-bar .status { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem; }
.console-bar .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.console-body { display: grid; grid-template-columns: 220px 1fr; min-height: 400px; }
.console-side { border-right: 1px solid var(--stroke); padding: 1rem; font-size: 0.82rem; color: var(--fg-3); }
.console-side h4 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0; color: var(--fg-3); margin: 0.4rem 0 0.6rem; opacity: 0.8; }
.console-side ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.console-side li { padding: 0.38rem 0.55rem; border-radius: 7px; display: flex; align-items: center; gap: 0.55rem; }
.console-side li.on { background: rgba(var(--tint), 0.06); color: var(--fg); }
.console-side li b { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; }
.console-chat { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.9rem; }
.msg { max-width: 90%; }
.msg .who { font-size: 0.75rem; color: var(--fg-3); margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.45rem; }
.msg .who .av { width: 18px; height: 18px; border-radius: 6px; background: var(--fg); display: inline-block; }
.msg .who .av.u { background: rgba(var(--tint), 0.25); }
.msg .bubble { padding: 0.75rem 0.95rem; border-radius: 12px; background: rgba(var(--tint), 0.04); border: 1px solid var(--stroke); color: var(--fg-2); line-height: 1.55; }
.msg.user .bubble { background: rgba(var(--tint), 0.08); color: var(--fg); }
.msg table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.msg th, .msg td { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid var(--stroke); }
.msg th { color: var(--fg-3); font-weight: 400; }
.msg td.warn { color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--tint), 0.45); text-underline-offset: 3px; }
.msg .src { margin-top: 0.6rem; font-size: 0.72rem; color: var(--fg-3); display: flex; flex-wrap: wrap; gap: 0.35rem; }
.msg .src span { padding: 0.15rem 0.5rem; border: 1px solid var(--stroke); border-radius: 999px; }
.typing { display: inline-flex; gap: 4px; padding: 0.7rem 0.9rem; border: 1px solid var(--stroke); border-radius: 12px; background: rgba(var(--tint), 0.03); }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.console-flow { border-left: 1px solid var(--stroke); padding: 1rem; position: relative; }
.console-flow h4 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0; color: var(--fg-3); margin: 0.4rem 0 0.8rem; }
.flow-svg { width: 100%; height: auto; display: block; }
.flow-svg .edge { fill: none; stroke: rgba(var(--tint), 0.14); stroke-width: 1.2; }
.flow-svg .pulse { fill: none; stroke: url(#pulseGrad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 18 220; animation: flow 3.2s linear infinite; }
.flow-svg .pulse.d2 { animation-delay: -1.1s; } .flow-svg .pulse.d3 { animation-delay: -2.2s; } .flow-svg .pulse.d4 { animation-delay: -0.6s; }
@keyframes flow { to { stroke-dashoffset: -238; } }
.flow-svg .node rect { fill: rgba(var(--tint), 0.04); stroke: rgba(var(--tint), 0.16); }
.flow-svg .node text { fill: rgba(var(--tint), 0.8); font: 500 10.5px var(--font); }
.flow-svg .hub rect { fill: rgba(var(--glow-a), 0.18); stroke: rgba(var(--glow-a), 0.7); }
.flow-svg .hub text { fill: #fff; }

/* Client strip ----------------------------------------------------------- */

.clients { padding: 40px 0 20px; }
.clients p { text-align: center; color: var(--fg-3); font-size: var(--step--1); margin-bottom: 1.6rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; color: rgba(var(--tint), 0.42); white-space: nowrap; transition: color 0.3s; }
.marquee-track span:hover { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections --------------------------------------------------------------- */

.section { position: relative; padding: clamp(64px, 8vw, 108px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
/* Wide heads: title left, supporting line right, so the right half of the page is never empty */
.wrap > .section-head:not(.center) { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.wrap > .section-head:not(.center) .tag { grid-column: 1 / -1; justify-self: start; }
.wrap > .section-head:not(.center) h2 { grid-column: 1; margin-bottom: 0; font-size: clamp(2.3rem, 4.3vw, 3.6rem); }
h1, h2, h3 { text-wrap: balance; }
.wrap > .section-head:not(.center) p { grid-column: 2; padding-bottom: 0.35rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .tag { display: inline-block; font-size: var(--step--1); color: rgba(var(--glow-b), 0.95); margin-bottom: 1.1rem; letter-spacing: 0; }
body[data-face="freelancers"] .section-head .tag { color: var(--gold); }
.section-head h2 { margin-bottom: 1.2rem; }
.section-head p { font-size: var(--step-1); color: var(--fg-2); line-height: 1.55; letter-spacing: -0.01em; margin: 0; }
.section-head.center p { margin-inline: auto; max-width: 52ch; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--stroke-strong), transparent); border: 0; margin: 0; }

/* Spotlight cards: border and glow follow the cursor (set in site.js). */
.card {
  position: relative; border-radius: var(--r-l); border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(var(--tint), 0.045), rgba(var(--tint), 0.015));
  overflow: hidden; isolation: isolate; transition: border-color 0.4s, transform 0.6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow-a), 0.05), transparent 45%);
}
.card:hover { border-color: var(--stroke-strong); }
.card:hover::before { opacity: 1; }

/* Case study bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.case { padding: 2rem; display: flex; flex-direction: column; }
.case.w3 { grid-column: span 3; } .case.w2 { grid-column: span 2; } .case.w4 { grid-column: span 4; } .case.w6 { grid-column: span 6; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--step--1); color: var(--fg-3); margin-bottom: 0; padding-bottom: 1.6rem; min-height: 1.9rem; }
.case-client { color: var(--fg-2); font-weight: 500; }
.case .pill { padding: 0.2rem 0.6rem; border: 1px solid var(--stroke); border-radius: 999px; white-space: nowrap; }
.case .pill.live { color: var(--fg); border-color: rgba(var(--tint), 0.3); }
.case-metric { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin-bottom: 0.4rem; }
.case h3 { font-size: 1.3rem; margin-bottom: 0.65rem; color: var(--fg); }
.case p { color: var(--fg-3); margin: 0; font-size: 0.95rem; line-height: 1.6; max-width: 52ch; }
.case blockquote { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--stroke); color: var(--fg-2); font-size: 0.95rem; }
.case blockquote footer { font-size: var(--step--1); color: var(--fg-3); margin-top: 0.4rem; }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap { padding: 2rem; }
.cap .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.6rem; background: linear-gradient(180deg, rgba(var(--tint), 0.1), rgba(var(--tint), 0.03)); border: 1px solid var(--stroke-strong); }
.cap .ico svg { width: 20px; height: 20px; stroke: var(--fg); }
.cap h3 { margin-bottom: 0.6rem; }
.cap p { color: var(--fg-3); font-size: 0.95rem; }
.cap ul { list-style: none; margin: 1.2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--stroke); display: grid; gap: 0.55rem; }
.cap li { font-size: 0.9rem; color: var(--fg-2); display: flex; gap: 0.6rem; align-items: baseline; }
.cap li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(var(--glow-b), 0.9); flex: none; transform: translateY(-2px); }

.caps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.cap-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: 2.5rem; }
.cap-feature::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 520px; height: 420px; background: radial-gradient(closest-side, rgba(var(--glow-a), 0.06), transparent); filter: blur(10px); pointer-events: none; }
.cap-feature h3 { font-size: var(--step-3); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1rem; }
.cap-feature p { font-size: 1.02rem; color: var(--fg-2); max-width: 46ch; }
.cap-label { display: inline-block; font-size: var(--step--1); color: rgba(var(--glow-b), 0.95); margin-bottom: 0.7rem; }
.cap-examples { display: grid; gap: 10px; align-content: start; }
.ex { padding: 1.1rem 1.2rem; border-radius: var(--r-m); border: 1px solid var(--stroke); background: rgba(var(--tint), 0.025); display: grid; gap: 0.25rem; transition: border-color 0.3s, background 0.3s; }
.ex:hover { border-color: var(--stroke-strong); background: rgba(var(--tint), 0.045); }
.ex-client { font-size: var(--step--1); color: var(--fg-3); }
.ex b { font-weight: 500; font-size: 1.02rem; letter-spacing: -0.02em; }
.ex span:last-child { font-size: 0.9rem; color: var(--fg-3); line-height: 1.5; }

/* Process timeline */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stroke); }
.process li { list-style: none; padding: 2rem 1.75rem 0 0; position: relative; }
.process li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 4px var(--bg); }
.process .when { font-size: var(--step--1); color: var(--fg-3); display: block; margin-bottom: 0.8rem; }
.process h3 { margin-bottom: 0.55rem; }
.process p { color: var(--fg-3); font-size: 0.95rem; }
ol.process { margin: 0; padding: 0; }

/* Testimonial */
.quote-hero { text-align: center; }
.quote-hero blockquote { margin: 0; }
.quote-hero blockquote p { font-size: clamp(1.6rem, 3.3vw, 2.6rem); line-height: 1.25; letter-spacing: -0.035em; font-weight: 400; max-width: 30ch; margin: 0 auto 2rem; }
.quote-hero footer { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--fg-3); font-size: 0.9rem; }
.quote-hero footer .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; background: var(--fg); color: var(--bg); }
.quote-hero footer b { display: block; color: var(--fg); font-weight: 500; text-align: left; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 72px; }
.quote-grid .card { padding: 1.75rem; }
.quote-grid p { color: var(--fg-2); font-size: 0.98rem; }
.quote-grid footer { color: var(--fg-3); font-size: var(--step--1); }
.stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.8rem; margin-bottom: 0.9rem; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--stroke); border-radius: var(--r-l); overflow: hidden; background: var(--panel); }
.stats div { padding: 2rem 1.75rem; }
.stats div + div { border-left: 1px solid var(--stroke); }
.stats b { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; }
.stats span { display: block; margin-top: 0.35rem; font-size: var(--step--1); line-height: 1.4; color: var(--fg-3); }

/* CTA */
.cta { position: relative; text-align: center; padding: clamp(80px, 10vw, 136px) 0; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -380px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--glow-a), 0.1), rgba(var(--glow-b), 0.03) 55%, transparent 75%); filter: blur(20px); }
.cta h2 { max-width: 16ch; margin: 0 auto 1.4rem; }
.cta p { color: var(--fg-2); font-size: var(--step-1); max-width: 46ch; margin: 0 auto 2.4rem; }
.cta .fine { font-size: var(--step--1); color: var(--fg-3); margin: 1.4rem auto 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 2.2rem 0; color: var(--fg-3); font-size: var(--step--1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-left: auto; }
.site-footer a:hover { color: var(--fg); }

/* Freelancer face -------------------------------------------------------- */

.fl-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; text-align: left; }
.fl-hero h1 { margin: 1.6rem 0 0; max-width: 14ch; font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.fl-hero .lede { margin: 1.5rem 0 0; text-align: left; }
.fl-hero .hero-actions, .fl-hero .hero-meta { justify-content: flex-start; }

.price-card { padding: 2.25rem; border-radius: var(--r-l); }
.price-card .label { font-size: var(--step--1); color: var(--gold); }
.price-card .price { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.9rem 0 0.3rem; }
.price-card .price b { font-size: 4.5rem; font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.price-card .price span { color: var(--fg-3); }
.price-card ul { list-style: none; padding: 1.4rem 0 0; margin: 1.4rem 0 1.8rem; border-top: 1px solid var(--stroke); display: grid; gap: 0.7rem; }
.price-card li { display: flex; gap: 0.7rem; color: var(--fg-2); font-size: 0.95rem; }
.price-card li svg { flex: none; width: 18px; height: 18px; stroke: var(--gold); margin-top: 2px; }
.price-card .btn { width: 100%; }
.capacity { margin-top: 1.2rem; font-size: var(--step--1); color: var(--fg-3); display: flex; align-items: center; gap: 0.6rem; }
.capacity .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(var(--tint), 0.08); overflow: hidden; }
.capacity .bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 4px; transition: width 1.6s var(--ease); }

/* Services: three equal columns, same anatomy, proof pinned to the bottom */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.svc { padding: 2rem; display: flex; flex-direction: column; }
.svc .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.6rem; background: linear-gradient(180deg, rgba(var(--tint), 0.1), rgba(var(--tint), 0.03)); border: 1px solid var(--stroke-strong); }
.svc .ico svg { width: 20px; height: 20px; stroke: var(--fg); }
.svc h3 { font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.75rem; }
.svc-for { color: var(--fg-2); font-size: 0.97rem; line-height: 1.55; margin: 0 0 1.4rem; min-height: 4.65em; }
.svc-gets { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 0.6rem; }
.svc-gets li { font-size: 0.92rem; color: var(--fg-2); display: flex; gap: 0.6rem; align-items: baseline; }
.svc-gets li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(var(--glow-b), 0.9); flex: none; transform: translateY(-2px); }
.svc-proof { margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--stroke); }
.svc-proof-label { display: block; font-size: var(--step--1); color: var(--fg-3); margin-bottom: 0.8rem; }
.svc-proof ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.svc-proof li { font-size: 0.86rem; line-height: 1.5; color: var(--fg-3); }
.svc-proof b { display: block; font-weight: 500; color: var(--fg); font-size: 0.88rem; margin-bottom: 0.1rem; }

/* Problem section: the reader's own situation, in their words */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain { padding: 1.8rem; }
.pain h3 { font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.pain p { color: var(--fg-3); font-size: 0.93rem; margin: 0; }
.cost-note { margin: 2.6rem 0 0; max-width: 62ch; font-size: var(--step-1); line-height: 1.55; color: var(--fg-2); letter-spacing: -0.01em; }
.cost-note b { color: var(--fg); font-weight: 500; }

/* Case studies: what was wrong, then what is true now */
.case .before { margin: 0 0 0.6rem; }
.case .before b, .case .after b { color: var(--fg-2); font-weight: 500; }

/* What changes for the reader */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.outcome { padding: 1.9rem; }
.outcome h3 { margin-bottom: 0.55rem; }
.outcome p { color: var(--fg-3); font-size: 0.95rem; margin: 0; }

.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic { padding: 1.9rem; }
.topic .n { font-size: var(--step--1); color: var(--gold); margin-bottom: 2.2rem; display: block; }
.topic h3 { margin-bottom: 0.55rem; }
.topic p { color: var(--fg-3); font-size: 0.95rem; margin: 0; }

.booking { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking-embed { border-radius: var(--r-l); border: 1px solid var(--stroke-strong); background: var(--panel); min-height: 560px; overflow: hidden; }
.booking-embed iframe { width: 100%; height: 720px; border: 0; display: block; background: #fff; }
.booking-fallback { padding: 2.5rem; min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.booking-fallback h3 { font-size: var(--step-2); margin-bottom: 0.8rem; }
.booking-fallback p { color: var(--fg-3); max-width: 44ch; margin-bottom: 1.6rem; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0.4rem 0 1rem; }
.slot-day { display: grid; gap: 8px; text-align: center; }
.slot-day span { font-size: var(--step--1); color: var(--fg-3); }
.slot-day b { font-weight: 500; font-size: 0.9rem; padding: 0.45rem 0.2rem; border-radius: 8px; border: 0; background: rgba(var(--tint), 0.035); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.booking-status { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--fg-2); margin: 0.4rem 0 0; }
.booking-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: none; flex: none; }
.slot-note { font-size: var(--step--1) !important; color: var(--fg-3); margin: 0 0 1.4rem !important; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.6rem 0 1.4rem; }
.btn.is-disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.policies { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
.policies div { padding-left: 1.1rem; border-left: 1px solid var(--stroke-strong); }
.policies h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.policies p { color: var(--fg-3); font-size: 0.92rem; margin: 0; }

.faq details { border-bottom: 1px solid var(--stroke); }
.faq details:first-of-type { border-top: 1px solid var(--stroke); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-size: 1.1rem; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--stroke-strong); display: grid; place-items: center; flex: none; transition: transform 0.5s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { color: var(--fg-3); margin: 0 0 1.4rem; max-width: 64ch; }

/* Reveal ----------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .console { transform: none; transition: none; }
  .marquee-track, .flow-svg .pulse, .typing i { animation: none; }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1020px) {
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .bento .case.w2, .bento .case.w4, .bento .case.w3 { grid-column: span 3; }
  .caps, .topics, .quote-grid, .pains, .outcomes { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; max-width: 640px; }
  .svc-for { min-height: 0; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--stroke); }
  .fl-hero, .booking, .cap-feature { grid-template-columns: 1fr; }
  .wrap > .section-head:not(.center) { display: block; max-width: 720px; }
  .wrap > .section-head:not(.center) h2 { margin-bottom: 1.2rem; }
  .cap-feature { padding: 2rem; }
  .nav-links { display: none; }
}

@media (max-width: 700px) {
  .hero { padding: 130px 0 60px; }
  .site-header .wrap { height: 60px; }
  .face-switch a { padding: 0.38rem 0.65rem; font-size: 0.76rem; }
  .header-cta { display: none; }
  .console-body { grid-template-columns: 1fr; min-height: 0; }
  .console-flow { border-left: 0; border-top: 1px solid var(--stroke); }
  .bento { grid-template-columns: 1fr; }
  .bento .case.w2, .bento .case.w3, .bento .case.w4, .bento .case.w6 { grid-column: auto; }
  .case { min-height: 0; padding: 1.6rem; }
  .caps, .caps-2, .topics, .quote-grid, .process, .pains, .outcomes { grid-template-columns: 1fr; }
  .cap-feature { padding: 1.6rem; }
  .svc { padding: 1.6rem; }
  .section-head p { font-size: 1.06rem; }
  .process { border-top: 0; border-left: 1px solid var(--stroke); row-gap: 2rem; }
  .process li { padding: 0 0 0 1.5rem; }
  .process li::before { top: 0.35rem; left: -4px; }
  .process .when { margin-bottom: 0.4rem; }
  .stats div { padding: 1.4rem 1.2rem; }
}

/* Client work: three deep case studies, then an index -------------------- */

.features { display: grid; gap: clamp(56px, 7vw, 96px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--stroke); }
.feature.flip .feature-text { order: 2; }
.feature-client { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; margin: 0 0 1.1rem; font-size: var(--step--1); color: var(--fg-3); }
.feature-client b { font-size: 0.95rem; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 1.6rem; max-width: 22ch; }
.feature-story { margin: 0; display: grid; gap: 1rem; }
.feature-story div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; }
.feature-story dt { font-size: var(--step--1); color: var(--fg-3); padding-top: 0.2rem; }
.feature-story dd { margin: 0; color: var(--fg-2); line-height: 1.6; max-width: 54ch; }
.feature-results { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.feature-results li { border-top: 1px solid var(--stroke-strong); padding-top: 0.9rem; }
.feature-results b { display: block; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; color: var(--fg); line-height: 1.15; }
.feature-results span { display: block; margin-top: 0.35rem; font-size: var(--step--1); color: var(--fg-3); line-height: 1.45; }
.feature-quote { margin: 2rem 0 0; padding: 0 0 0 1.2rem; border-left: 2px solid var(--stroke-strong); color: var(--fg); font-size: 1.08rem; line-height: 1.55; letter-spacing: -0.01em; }
.feature-quote footer { margin-top: 0.6rem; font-size: var(--step--1); color: var(--fg-3); }

.artifact { margin: 0; border-radius: var(--r-m); border: 1px solid var(--stroke-strong); background: var(--bg-2); box-shadow: 0 30px 80px -40px rgba(var(--shadow-rgb), var(--shadow-a)); overflow: hidden; font-size: 0.86rem; position: relative; }
.artifact-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--stroke); color: var(--fg-2); font-weight: 500; }
.ok-dot { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; font-weight: 400; color: var(--fg-3); white-space: nowrap; }
.ok-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
.artifact-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; padding: 0.85rem 1.1rem; border-top: 1px solid var(--stroke); color: var(--fg-3); font-size: 0.78rem; }
.artifact figcaption { position: absolute; right: 0.9rem; bottom: -1.7rem; font-size: 0.72rem; color: var(--fg-3); }
.feature .artifact { overflow: visible; margin-bottom: 1.7rem; }
.feature .artifact > :first-child { border-radius: var(--r-m) var(--r-m) 0 0; }

.runlog { list-style: none; margin: 0; padding: 0.4rem 0; }
.runlog li { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 0.8rem; align-items: center; padding: 0.7rem 1.1rem; color: var(--fg-2); }
.runlog li + li { border-top: 1px solid var(--stroke); }
.runlog time { color: var(--fg-3); font-variant-numeric: tabular-nums; }
.runlog em { font-style: normal; font-size: 0.74rem; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--stroke-strong); color: var(--fg-3); }
.runlog em.ok { color: var(--fg); }
.runlog em.warn { color: var(--bg); background: var(--fg); border-color: var(--fg); }

.fields { margin: 0; padding: 0.4rem 0; }
.fields div { display: grid; grid-template-columns: 6.5rem 1fr 5.5rem; gap: 0.8rem; align-items: center; padding: 0.7rem 1.1rem; }
.fields div + div { border-top: 1px solid var(--stroke); }
.fields dt { color: var(--fg-3); }
.fields dd { margin: 0; color: var(--fg); }
.fields em { font-style: normal; display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center; font-size: 0.74rem; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.fields em i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--fg) var(--v), rgba(var(--tint), 0.14) var(--v)); }
.fields .low { background: rgba(var(--tint), 0.06); box-shadow: inset 2px 0 0 var(--fg); }
.fields .low em { color: var(--fg); }

.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 0.75rem; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 0.76rem; font-weight: 500; }
.chip.ghost { background: transparent; color: var(--fg-2); border: 1px solid var(--stroke-strong); }
.who-sug { margin-left: auto; }

.doc { padding: 1.2rem 1.3rem 1rem; color: var(--fg-2); line-height: 1.75; font-size: 0.9rem; }
.doc p { margin: 0 0 0.8rem; }
.doc ins { text-decoration: none; color: var(--fg); background: rgba(var(--tint), 0.14); border-bottom: 1px solid var(--fg); padding: 0 0.15rem; }
.doc del { color: var(--fg-3); text-decoration-color: var(--fg-3); }
.doc-src { font-size: 0.74rem; color: var(--fg-3); padding-top: 0.6rem; border-top: 1px dashed var(--stroke-strong); }

.more-work { margin-top: clamp(64px, 8vw, 104px); }
.more-work h3 { font-size: var(--step--1); font-weight: 400; color: var(--fg-3); letter-spacing: 0; margin-bottom: 0.4rem; }
.work-index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--stroke); }
.work-index li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.6fr) minmax(0, 2.6fr); gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid var(--stroke); align-items: baseline; }
.work-index b { font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.work-index .ind { font-size: var(--step--1); color: var(--fg-3); }
.work-index .what { color: var(--fg-2); line-height: 1.55; }

@media (max-width: 1020px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .feature .artifact { max-width: 640px; }
}
@media (max-width: 700px) {
  .feature-results { grid-template-columns: 1fr; gap: 0.9rem; }
  .feature-story div { grid-template-columns: 1fr; gap: 0.2rem; }
  .fields div { grid-template-columns: 5.5rem 1fr; }
  .fields em { grid-column: 2; }
  .runlog li { grid-template-columns: 3rem 1fr; }
  .runlog em { grid-column: 2; justify-self: start; }
  .who-sug { margin-left: 0; width: 100%; }
  .work-index li { grid-template-columns: 1fr; gap: 0.25rem; }
}
