/* =========================================================
   BpatsSolutions — styles
   Dark editorial theme. Tokens first, then base, then sections.
   ========================================================= */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #050607;
  --bg-2: #08090b;
  --card: #0c0d10;
  --card-2: #111317;
  --fg: #fafafa;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #e1c4aa;
  --accent-dim: rgba(225, 196, 170, 0.3);
  --accent-wash: rgba(225, 196, 170, 0.1);
  --ink: #1a1410;
  --cool: #7aa2ff;
  --max: 1440px;
  --gutter: 24px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --menu-w: min(88vw, 440px);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100000;
  background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Lenis (smooth scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Keep animated content invisible until JS has set up its initial state (never if JS fails) */
html.js:not(.js-ready) [data-reveal],
html.js:not(.js-ready) [data-blur-text],
html.js:not(.js-ready) [data-scrub-heading] { visibility: hidden; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); opacity: 0.85;
}
.eyebrow--center { text-align: center; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-dim); transition: text-decoration-color 0.3s; }
.text-link:hover { text-decoration-color: var(--accent); }

/* BlurText containers (words are injected by JS) */
.bt { display: flex; flex-wrap: wrap; }
.bt-word { display: inline-block; will-change: filter, opacity; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 9999px; font-weight: 600; font-size: 14px; line-height: 20px; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease-expo);
}
.btn .i { transition: transform 0.4s var(--ease-expo); }
.btn:hover .i { transform: translateX(3px); }
.btn-white { background: #fff; color: var(--bg); padding: 16px 20px; }
.btn-white:hover { background: var(--accent); }
.btn-tan { background: var(--accent); color: var(--ink); padding: 14px 24px; }
.btn-tan:hover { background: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); padding: 15px 24px; }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); padding: 15px 28px; }
.btn-outline:hover { background: var(--accent); color: var(--ink); }
.btn-block { width: 100%; }

.icon-btn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.75); transition: color .3s, background .3s, opacity .3s; }
.icon-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.icon-btn:disabled { opacity: 0.25; cursor: default; background: none; }
.icon-btn .i { width: 20px; height: 20px; }
.ring-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; transition: background .3s, color .3s; }
.ring-btn:hover { background: var(--accent); color: var(--ink); }
.ring-btn .i { width: 20px; height: 20px; }

/* ---------- brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--accent); }
.brand-mark { width: 30px; height: 33px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 20px; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.brand-text i { font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 0.42em; margin-top: 5px; color: var(--accent); }
.brand--lg .brand-mark { width: 38px; height: 42px; }
.brand--lg .brand-text b { font-size: 24px; }
.brand--lg .brand-text i { font-size: 10.5px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 99999; display: none; color: #fff; height: 100vh; height: 100dvh; }
html.js:not(.loader-done) .loader { display: block; }
.loader-bg { position: absolute; inset: 0; background: var(--bg); overflow: hidden; }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0.35em; font-size: 16px; background: var(--accent); transform-origin: 0 50%; transform: scale3d(0, 1, 1); }
.loader-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loader-frame { position: relative; width: min(420px, 78vw); height: 6em; font-size: 16px; }
.loader-logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.loader-logo--muted { opacity: 0.2; }
.loader-logo--fill { clip-path: inset(0% 100% 0% 0%); }
.loader-mark { width: 46px; height: 50px; color: var(--accent); }
.loader-word { display: flex; flex-direction: column; line-height: 1; }
.loader-word b { font-size: clamp(34px, 9vw, 44px); font-weight: 700; letter-spacing: 0.08em; }
.loader-word i { font-style: normal; font-size: clamp(10px, 2.6vw, 12.5px); letter-spacing: 0.44em; font-weight: 600; margin-top: 7px; color: var(--accent); }
.loader-captions { position: absolute; left: 0; right: 0; bottom: 3.5em; height: 1.5em; font-size: 16px; text-align: center; }
.loader-captions span { position: absolute; left: 0; right: 0; text-transform: uppercase; white-space: nowrap; font-size: 0.85rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); opacity: 0; padding-bottom: 0.25em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s, opacity 0.9s ease;
}
html.js:not(.loader-done) .site-header { opacity: 0; }
.site-header.is-scrolled {
  background: rgba(5, 6, 7, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header-actions { display: none; }
.nav-pill {
  display: none; padding: 12px 16px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px;
  font-size: 13px; font-weight: 600; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.9; transition: opacity 0.2s;
}
.nav-link .i { width: 14px; height: 14px; transition: transform .3s var(--ease-expo); }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link { opacity: 1; }
.nav-item:hover .nav-link .i, .nav-item:focus-within .nav-link .i { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%; min-width: 340px; padding: 10px; border-radius: 16px;
  background: rgba(14, 14, 16, 0.95);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.25s, transform 0.35s var(--ease-expo), visibility 0s 0.25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.dropdown--grid { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.dd-item { display: flex; align-items: flex-start; padding: 12px 14px; border-radius: 10px; transition: background 0.2s; }
.dd-item:hover { background: rgba(255, 255, 255, 0.06); }
.dd-item strong { display: block; font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; }
.dd-item span span { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.45; margin-top: 2px; }

@media (min-width: 1024px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; height: 96px; }
  .brand { justify-self: start; }
  .nav-pill { display: block; }
  .header-actions { display: flex; justify-self: end; }
}

/* ---------- burger + mobile menu ---------- */
.burger {
  position: fixed; top: 20px; right: 20px; z-index: 80; height: 40px; padding: 0 4px;
  display: inline-flex; align-items: center; gap: 12px; transition: opacity 0.9s ease;
}
html.js:not(.loader-done) .burger { opacity: 0; pointer-events: none; }
.burger-label { height: 1.2em; overflow: hidden; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.2; }
.burger-label [data-toggle-label] { display: flex; flex-direction: column; }
.burger-bars { position: relative; width: 22px; height: 14px; display: block; }
.burger-bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: #fff; }
.burger-bars span:nth-child(1) { top: 2px; }
.burger-bars span:nth-child(2) { bottom: 2px; }
@media (min-width: 1024px) { .burger { display: none; } }

.menu-overlay { position: fixed; inset: 0; z-index: 65; background: rgba(5, 6, 7, 0.6); visibility: hidden; opacity: 0; }
.menu-panel {
  position: fixed; top: 0; right: calc(var(--menu-w) * -1); z-index: 70; width: var(--menu-w); height: 100vh; height: 100dvh;
  background: var(--card); border-left: 1px solid var(--line); visibility: hidden; overflow-y: auto;
  padding: 104px 32px 32px; display: flex; flex-direction: column;
}
.menu-list { display: flex; flex-direction: column; gap: 6px; }
.menu-link { display: inline-block; font-size: 34px; line-height: 1.2; font-weight: 300; text-transform: uppercase; letter-spacing: 0.01em; padding: 6px 0; color: #fff; transition: color .3s; }
.menu-link:hover { color: var(--accent); }
.menu-sub { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 12px; }
.menu-sub a { font-size: 14px; color: var(--muted); transition: color .3s; display: inline-block; }
.menu-sub a:hover { color: var(--accent); }
.menu-foot { margin-top: auto; padding-top: 32px; }
.menu-border { display: block; height: 1px; background: var(--line-2); margin-bottom: 24px; transform-origin: 0 50%; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--bg);
}
.hero-canvas, .start-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.hero-canvas.is-ready, .start-canvas.is-ready { opacity: 1; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 96px 96px; background-position: center top;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 32%, #000 18%, transparent 78%);
  mask-image: radial-gradient(75% 70% at 50% 32%, #000 18%, transparent 78%);
}
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(5, 6, 7, 0.5) 100%); pointer-events: none; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade--bottom { background: linear-gradient(to top, rgb(5, 6, 7), rgba(5, 6, 7, 0), transparent); }
.hero-shade--top { inset: 0 0 auto 0; height: 25%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay; background-size: 160px 160px; animation: grain 1.1s steps(6) infinite; }
@keyframes grain {
  0% { background-position: 0 0; } 20% { background-position: -40px 22px; } 40% { background-position: 30px -50px; }
  60% { background-position: -60px -20px; } 80% { background-position: 50px 40px; } 100% { background-position: 0 0; }
}
.hero-content { position: relative; z-index: 10; width: 100%; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-h1 { font-weight: 400; margin: 0; }
.hero-lead, .hero-trail {
  position: relative; z-index: 10; width: 100%; color: rgba(255, 255, 255, 0.9);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.35;
  font-size: clamp(11px, 3.1vw, 14px);
}
.hero-lead { margin-bottom: 6px; text-align: left; }
.hero-trail { margin-top: 8px; text-align: right; justify-content: flex-end; }
.hero-fit {
  display: block; white-space: nowrap; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 0.84; font-size: 10vw;
  opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease;
}
.hero.is-in .hero-fit { opacity: 1; transform: none; }
html:not(.js) .hero-fit, html.reduced .hero-fit { opacity: 1; transform: none; }
.hero-fit__inner { display: inline-block; white-space: nowrap; }
.hero-fit.is-stacked .hero-fit__inner { display: block; }
.hero-fit.is-stacked .hero-word { display: block; width: fit-content; }
.hero-fit.is-stacked .hero-word + .hero-word { margin-top: 0.06em; }
@media (min-width: 640px) { .hero-lead, .hero-trail { font-size: 2vw; } }
@media (min-width: 768px) { .hero-lead, .hero-trail { font-size: 1.8vw; } }
@media (min-width: 1024px) { .hero-lead, .hero-trail { font-size: 1.5vw; } }
@media (min-width: 1440px) { .hero-lead, .hero-trail { font-size: 22px; } }

/* ---------- intro ---------- */
.intro { padding: 128px 0; background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: start; }
.intro-title {
  font-weight: 300; text-transform: uppercase; line-height: 0.9; color: var(--accent);
  font-size: clamp(3rem, 6.4vw, 7rem);
}
.intro-text { color: var(--accent); font-size: 16px; line-height: 26px; max-width: 560px; }
.intro-text + .intro-text { margin-top: 18px; }
.circle-link {
  display: inline-flex; align-items: center; gap: 20px; margin-top: 40px; color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.circle-link__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--accent);
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease-expo);
}
.circle-link:hover .circle-link__btn { background: var(--accent); color: var(--ink); transform: rotate(45deg); }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 1fr 1fr; } .intro-right { padding-top: 32px; } }

/* ---------- capabilities carousel ---------- */
.caps { padding: 0 0 96px; background: var(--bg); }
.caps-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.caps-hint { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.embla__viewport { overflow: hidden; cursor: grab; }
.embla__viewport:active { cursor: grabbing; }
.embla__container { display: flex; gap: 16px; touch-action: pan-y pinch-zoom; }
.embla__slide { flex: 0 0 auto; min-width: 0; width: clamp(210px, 14.4vw, 272px); user-select: none; -webkit-user-select: none; }
.embla__controls { display: flex; gap: 8px; margin-top: 20px; }
.cap-art {
  --c1: rgba(64, 112, 255, 0.4); --c2: rgba(225, 196, 170, 0.16);
  position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(120% 80% at 18% 0%, var(--c1), transparent 62%),
    radial-gradient(100% 70% at 92% 100%, var(--c2), transparent 58%),
    #0b0c0f;
}
.cap-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.9s var(--ease-expo); }
.cap:hover .cap-art svg { transform: translateY(-6px) scale(1.04); }
.cap-art .s, .cap-art .a { stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cap-art .s { stroke: rgba(255, 255, 255, 0.55); }
.cap-art .a { stroke: var(--accent); }
.cap-art .f { fill: rgba(255, 255, 255, 0.045); }
.cap-art .sf { fill: rgba(255, 255, 255, 0.16); stroke: none; }
.cap-art .af { fill: var(--accent); stroke: none; }
.cap-art--blue { --c1: rgba(64, 112, 255, 0.42); --c2: rgba(225, 196, 170, 0.16); }
.cap-art--sand { --c1: rgba(225, 196, 170, 0.36); --c2: rgba(150, 70, 50, 0.28); }
.cap-art--teal { --c1: rgba(30, 170, 170, 0.36); --c2: rgba(64, 112, 255, 0.2); }
.cap-art--violet { --c1: rgba(130, 80, 255, 0.42); --c2: rgba(255, 120, 160, 0.16); }
.cap-art--rose { --c1: rgba(255, 110, 140, 0.34); --c2: rgba(225, 196, 170, 0.18); }
.cap-art--cyan { --c1: rgba(70, 200, 255, 0.36); --c2: rgba(130, 80, 255, 0.22); }
.cap figcaption { margin-top: 14px; }
.cap h3 { font-size: 18px; font-weight: 600; line-height: 28px; color: #fff; }
.cap p { font-size: 12.5px; line-height: 1.5; color: rgba(225, 196, 170, 0.62); margin-top: 2px; }

/* ---------- start band ---------- */
.start-band { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #06070a; }
.start-shade { position: absolute; inset: 0; background: radial-gradient(100% 80% at 50% 50%, rgba(0,0,0,.18), rgba(0,0,0,.55)); }
.start-inner { position: relative; z-index: 10; width: 100%; max-width: 768px; margin: 0 auto; padding: 0 24px; text-align: center; }
.start-inner h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: #fff; margin-bottom: 24px; }
.start-form { display: flex; gap: 8px; }
.start-field { position: relative; flex: 1; display: block; }
.start-field .i { position: absolute; z-index: 2; left: 13px; top: 50%; transform: translateY(-50%); opacity: 0.7; pointer-events: none; }
.start-field input {
  width: 100%; height: 44px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 0 12px 0 38px; color: #fff; font-size: 15px;
  transition: border-color .3s, background .3s;
}
.start-field input::placeholder { color: rgba(255, 255, 255, 0.55); }
.start-field input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.14); }
.btn-tan.start-btn, .start-form .btn-tan { border-radius: 6px; height: 44px; padding: 0 22px; }

/* ---------- principles ---------- */
.principles { padding: 128px 0; background: var(--bg); }
.principles-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: start; }
.principles-left { display: flex; gap: 24px; align-items: flex-start; }
.quote-icon { width: 72px; height: 72px; flex-shrink: 0; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.principles-title { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; line-height: 1.2; color: var(--accent); text-transform: uppercase; }
.principle-stage { display: grid; }
.principle {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.8s var(--ease-expo), visibility 0s 0.5s;
}
.principle.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.principle-quote { font-size: 20px; line-height: 1.625; color: var(--accent); margin-bottom: 32px; }
.principle-by { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.principle-name { font-size: 18px; font-weight: 600; color: var(--accent); line-height: 1.3; }
.principle-sub { font-size: 14px; color: var(--accent); opacity: 0.75; margin-top: 2px; }
.principles-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; }
.counter { font-size: 14px; font-weight: 300; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; color: var(--accent); }
.arrow-btns { display: flex; gap: 8px; }
@media (min-width: 1024px) { .principles-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- selected work ---------- */
.work { padding: 80px 24px 96px; background: var(--bg-2); }
.section-title, .work-title {
  text-align: center; color: var(--accent); font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 300;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; margin-bottom: 56px;
}
.section-title { justify-content: center; }
.work-grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card > a, .work-card > button { display: block; width: 100%; text-align: left; }
.work-media { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #0d0f12; border: 1px solid rgba(255,255,255,.06); }
.work-media > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.9s var(--ease-expo); }
.work-card:hover .work-media > img:first-child { transform: scale(1.05); }
.work-phone {
  position: absolute; right: 7%; bottom: -26%; width: 24%; height: auto; border-radius: 16px; border: 3px solid #14161a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); transform: translateY(0); transition: transform 0.9s var(--ease-expo);
}
.work-card:hover .work-phone { transform: translateY(-14px); }
.chip { position: absolute; top: 12px; left: 12px; border-radius: 4px; background: #fff; color: #000; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.arrow-badge { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transition: background .3s, color .3s, transform .5s var(--ease-expo); }
.work-card:hover .arrow-badge { background: var(--accent); color: var(--ink); transform: rotate(45deg); }
.work-body { padding-top: 16px; }
.work-body h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; }
.work-desc { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.work-meta { font-size: 12.5px; color: rgba(255,255,255,.45); margin-top: 8px; }
.work-role { font-size: 12.5px; color: var(--accent); opacity: 0.85; margin-top: 2px; }
.work-card--cta > button {
  height: 100%; min-height: 300px; border: 1px dashed var(--accent-dim); border-radius: 10px; padding: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px;
  transition: border-color .3s, background .3s;
}
.work-card--cta > button:hover { border-color: var(--accent); background: var(--accent-wash); }
.work-plus { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; transition: transform .5s var(--ease-expo), background .3s, color .3s; }
.work-card--cta > button:hover .work-plus { transform: rotate(90deg); background: var(--accent); color: var(--ink); }
.work-cta-title { font-size: 20px; font-weight: 600; color: #fff; }
.work-cta-text { font-size: 14px; color: var(--muted); max-width: 260px; }
.work-more { display: flex; justify-content: center; margin-top: 56px; }
@media (min-width: 768px) and (max-width: 1099px) {
  /* two-column grid: let the "your project" card span the row instead of leaving a gap */
  .work-card--cta { grid-column: 1 / -1; }
  .work-card--cta > button { min-height: 220px; }
}

/* ---------- featured showcase ---------- */
.featured { position: relative; width: 100%; background: var(--bg-2); padding-bottom: 96px; }
.featured-stage { position: relative; width: 100%; overflow: hidden; height: 26rem; }
@media (min-width: 640px) { .featured-stage { height: 32rem; } }
@media (min-width: 768px) { .featured-stage { height: 38rem; } }
@media (min-width: 1024px) { .featured-stage { height: 44rem; } }
.featured-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s 0.9s; color: #fff; }
.featured-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.featured-img { position: absolute; inset: 0; transition: transform 0.7s ease; }
.featured-slide:hover .featured-img { transform: scale(1.02); }
.featured-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.featured-shade { position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent); pointer-events: none; }
.featured-copy { position: absolute; left: 24px; right: 24px; bottom: 32px; max-width: 760px; }
.badge { display: inline-block; margin-bottom: 12px; border-radius: 2px; background: #fff; color: #000; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.featured-title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
.featured-sub { font-size: 15px; color: rgba(255, 255, 255, 0.82); margin-top: 8px; max-width: 620px; }
.featured-meta { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 10px; letter-spacing: .04em; }
.featured-controls { position: absolute; right: 24px; bottom: 32px; z-index: 5; display: flex; align-items: center; gap: 14px; color: #fff; }
.featured-controls button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.85); transition: color .3s, background .3s; }
.featured-controls button:hover { color: #fff; background: rgba(255,255,255,.14); }
.featured-controls .i { width: 22px; height: 22px; }
.counter-light { font-size: 14px; letter-spacing: 0.2em; color: rgba(255,255,255,.9); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .featured-copy { left: 48px; bottom: 48px; }
  .featured-controls { right: 48px; bottom: 48px; }
}
.founder { max-width: 900px; margin: 0 auto; padding: 88px 0 0; text-align: center; }
.founder .eyebrow { margin-bottom: 20px; }
.founder blockquote { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; line-height: 1.45; color: var(--accent); }

/* ---------- process ---------- */
.process { padding: 112px 0; background: var(--bg); }
.process-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 28px 28px 30px;
  display: flex; flex-direction: column; min-height: 320px; transition: border-color .4s, transform .6s var(--ease-expo), background .4s;
}
.step:hover { border-color: var(--accent-dim); transform: translateY(-4px); background: var(--card-2); }
.step-num { font-size: 72px; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--accent); letter-spacing: -0.02em; margin-bottom: auto; padding-bottom: 36px; }
.step h3 { font-size: 20px; font-weight: 600; color: #fff; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-size: 11.5px; padding: 3px 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: rgba(255,255,255,.7); }

/* ---------- CTA ---------- */
.cta { padding: 128px 0; background: radial-gradient(60% 50% at 50% 0%, rgba(225, 196, 170, 0.07), transparent 70%), var(--bg); }
.cta-inner { max-width: 1000px; text-align: center; }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.05; color: var(--accent); text-transform: uppercase; margin-top: 14px; }
.cta-sub { color: rgba(255, 255, 255, 0.7); max-width: 560px; margin: 20px auto 0; }
.cta-cards { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 56px; text-align: center; }
@media (min-width: 768px) { .cta-cards { grid-template-columns: 1fr 1fr; } }
.cta-card { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 8px; padding: 48px 36px; display: flex; flex-direction: column; align-items: center; transition: border-color .4s, transform .6s var(--ease-expo); }
.cta-card:hover { border-color: var(--accent-dim); transform: translateY(-4px); }
.cta-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.cta-icon .i { width: 22px; height: 22px; }
.cta-card h3 { font-size: 16px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.cta-card p { font-size: 14px; color: var(--muted); margin: 14px 0 28px; max-width: 320px; }
.cta-card .btn { margin-top: auto; }
.cta-direct { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.55); flex-wrap: wrap; }
.cta-direct a { color: var(--accent); }
.cta-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; background: var(--bg); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.faq-eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.faq-title { font-size: clamp(2.25rem, 4.2vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.025em; color: var(--fg); margin: 16px 0 20px; }
.faq-sub { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); max-width: 280px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.faq-q { display: flex; align-items: center; gap: 20px; width: 100%; text-align: left; padding: 26px 0; font-size: 16px; line-height: 1.4; color: var(--fg); }
.faq-num { font-size: 11px; color: rgba(255, 255, 255, 0.4); font-variant-numeric: tabular-nums; width: 20px; flex-shrink: 0; }
.faq-q .q { flex: 1; transition: color .3s; }
.faq-q:hover .q { color: var(--accent); }
.faq-icon { width: 16px; height: 16px; color: rgba(255,255,255,.7); transition: transform 0.4s var(--ease-expo); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
html.js .faq-a { height: 0; }
html.js .faq-item.is-open .faq-a { height: auto; }
.faq-a p { padding: 0 36px 26px 40px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); max-width: 640px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 80px; } .faq-head { position: sticky; top: 120px; align-self: start; } }

/* ---------- footer ---------- */
.footer { padding: 80px 0 32px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 48px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; } }
.footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 320px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(225, 196, 170, 0.75); display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.footer-links a:hover { color: #fff; }
.footer-links .i { width: 13px; height: 13px; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; color: rgba(225, 196, 170, 0.85); }
.footer-contact .i { margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-contact small { display: block; font-size: 12px; color: rgba(255,255,255,.4); margin-top: 2px; }
.copy-btn { margin-left: 8px; color: rgba(255,255,255,.5); vertical-align: middle; transition: color .3s; }
.copy-btn:hover, .copy-btn.is-copied { color: var(--accent); }
.footer-lead { font-size: 14px; color: var(--muted); margin: 24px 0 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- floating widgets ---------- */
.widget { position: fixed; z-index: 40; opacity: 0; visibility: hidden; }
.widget.is-shown { visibility: visible; }
.widget-chat { right: 24px; bottom: 24px; width: 340px; max-width: calc(100vw - 48px); display: none; }
.widget-now { left: 24px; bottom: 24px; width: 320px; max-width: calc(100vw - 48px); display: none; }
@media (min-width: 640px) { .widget-chat { display: block; } }
@media (min-width: 1100px) { .widget-now { display: block; } }
.chat-card, .now-card {
  position: relative; border-radius: 10px; background: rgba(18, 19, 22, 0.9); border: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 16px 60px rgba(0, 0, 0, 0.55);
}
.chat-card { padding: 20px; }
.widget-close { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.55); transition: color .3s, background .3s; z-index: 2; }
.widget-close:hover { color: #fff; background: rgba(255,255,255,.1); }
.widget-close .i { width: 14px; height: 14px; }
.chat-head { display: flex; gap: 12px; align-items: center; padding-right: 20px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-wash); border: 1px solid var(--accent-dim); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.chat-avatar svg { width: 18px; height: 20px; }
.chat-title { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; }
.chat-sub { font-size: 12px; color: rgba(255,255,255,.5); }
.chat-lead { font-size: 13px; color: rgba(255,255,255,.6); margin: 14px 0 0; }
.chat-replies { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.chat-replies button { width: 100%; text-align: left; padding: 10px 14px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: 13.5px; color: #fff; transition: background .3s, color .3s, transform .4s var(--ease-expo); }
.chat-replies button:hover { background: var(--accent); color: var(--ink); transform: translateX(3px); }
.now-link { display: flex; gap: 14px; padding: 12px 34px 12px 12px; align-items: center; }
.now-link img { width: 58px; height: 98px; object-fit: cover; object-position: top; border-radius: 9px; border: 2px solid #1a1c20; flex-shrink: 0; }
.now-copy { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.45; }
.now-copy small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 2px; }
.now-copy strong { font-size: 16px; color: #fff; font-weight: 600; }
.now-copy em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--accent); font-weight: 600; font-size: 12.5px; }
.now-copy em .i { width: 12px; height: 12px; }

/* ---------- contact modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 5, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 40px 36px 36px;
  background: #0d0e11; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 120px rgba(0, 0, 0, 0.6);
}
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.6); transition: color .3s, background .3s; }
.modal-x:hover { color: #fff; background: rgba(255,255,255,.08); }
.modal-panel h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin-top: 10px; color: #fff; }
.modal-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.modal-form { margin-top: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); padding: 0; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); padding: 12px 14px; font-size: 15px; color: #fff; resize: vertical;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.06); }
.field .invalid { border-color: #ff8a7a; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: #fff; }
.pills input { position: absolute; opacity: 0; inset: 0; }
.pills span { display: inline-block; padding: 8px 14px; border-radius: 9999px; border: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s; cursor: pointer; }
.pills input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-error { color: #ff9a8c; font-size: 13.5px; }
.modal-done { text-align: center; padding: 12px 0 4px; }
.modal-done[hidden], [data-modal-form-wrap][hidden] { display: none; }
.modal-done p { color: var(--muted); margin: 12px auto 24px; max-width: 380px; }
.modal-done a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); display: inline-grid; place-items: center; margin-bottom: 16px; }
.done-icon .i { width: 24px; height: 24px; }

/* ---------- small screens ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .intro, .principles, .cta, .faq { padding: 88px 0; }
  .process { padding: 88px 0; }
  .work { padding: 64px 20px 72px; }
  .section-title, .work-title { margin-bottom: 40px; }
  .caps { padding-bottom: 72px; }
  .start-form { flex-direction: column; }
  .btn-tan.start-btn, .start-form .btn-tan { width: 100%; }
  .modal-panel { padding: 32px 22px 26px; }
  .founder { padding-top: 64px; }
  .featured { padding-bottom: 72px; }
  .footer { padding-top: 64px; }
  .featured-controls { gap: 4px; }
  .featured-copy { right: 20px; bottom: 64px; left: 20px; }
  .featured-controls { right: 12px; bottom: 14px; left: auto; }
  .principles-left { flex-direction: column; gap: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero-canvas, .start-canvas { opacity: 1; }
}
