/* =========================================================
   PenXtool — main stylesheet
   Brand: Ink #010052 · Cyan #4ADEDE · Azure #007FFF · Volt #021BF9
   Display font: Owners XWide (drop licensed files in /assets/fonts),
   falls back to Archivo Expanded from Google Fonts.
   ========================================================= */

/* Owners XWide — add your licensed webfont files to /assets/fonts/
   with these names and they will be picked up automatically. */
@font-face {
  font-family: "Owners XWide";
  src: local("Owners XWide Bold"), local("OwnersXWide-Bold"),
       url("../fonts/OwnersXWide-Bold.woff2") format("woff2"),
       url("../fonts/OwnersXWide-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Owners XWide";
  src: local("Owners XWide Medium"), local("OwnersXWide-Medium"),
       url("../fonts/OwnersXWide-Medium.woff2") format("woff2"),
       url("../fonts/OwnersXWide-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #010052;
  --ink-2: #0b0a6b;
  --cyan: #4adede;
  --azure: #007fff;
  --volt: #021bf9;
  --paper: #f4f5fb;
  --white: #ffffff;
  --muted: #45457a;
  --muted-on-ink: #c3c6f0;
  --line: #e1e3f1;
  --line-on-ink: rgba(255, 255, 255, 0.16);

  --f-display: "Owners XWide", "Archivo", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .section--light :focus-visible { outline-color: var(--volt); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--cyan); color: var(--ink); padding: 12px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(44px, 8.2vw, 124px); }
h2 { font-size: clamp(34px, 5vw, 68px); }
h3 { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 38ch; }
.muted { color: var(--muted); }
.kicker { font-size: 15px; font-weight: 600; color: var(--volt); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--ink .kicker { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--volt); transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--white); }
.btn .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px) rotate(-45deg); }
.btn--cyan { --bg: var(--cyan); --fg: var(--ink); }
.btn--white { --bg: var(--white); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::after { background: var(--white); }
.btn--ghost:hover { color: var(--ink); }
.section--light .btn--ghost::after, .on-light .btn--ghost::after { background: var(--ink); }
.section--light .btn--ghost:hover, .on-light .btn--ghost:hover { color: var(--white); }

.link-line {
  font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px; transition: background-size .4s var(--ease);
}
.link-line:hover { background-size: 0% 2px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--white);
  transition: background .35s, transform .45s var(--ease), box-shadow .35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.site-header.is-scrolled { background: rgba(1, 0, 82, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-on-ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 16px; border-radius: 999px; position: relative;
  transition: background .25s, color .25s;
}
.nav a:hover { background: rgba(255, 255, 255, 0.1); }
.nav a[aria-current="page"] { color: var(--cyan); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  background: var(--cyan); border-radius: 50%;
}
.header-cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); position: relative;
}
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white);
  padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(32px, 9vw, 52px);
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-on-ink);
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .2s;
}
.mobile-menu nav a[aria-current="page"] { color: var(--cyan); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu .mm-foot { display: flex; flex-direction: column; gap: 6px; color: var(--muted-on-ink); }
.mobile-menu .mm-foot a { color: var(--white); text-decoration: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); position: relative; }
.section--ink { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }
.section--ink .muted, .hero .muted, .page-hero .muted { color: var(--muted-on-ink); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head p { max-width: 44ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--ink); color: var(--white); position: relative; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 140px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-on-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-ink) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-mark {
  position: absolute; right: -6vw; top: 50%; width: min(48vw, 680px); aspect-ratio: 1;
  transform: translateY(-62%); pointer-events: none;
}
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-mark .s { transform-box: fill-box; transform-origin: center; }
.hero-mark .s1 { fill: var(--cyan); }
.hero-mark .s2 { fill: var(--azure); }
.hero-mark .s3 { fill: var(--volt); }
.hero-mark .ghost { fill: none; stroke: var(--line-on-ink); stroke-width: .25; }

.js .hero-mark .s1 { animation: s-in-1 1.3s var(--ease) .25s both; }
.js .hero-mark .s2 { animation: s-in-2 1.1s var(--ease) .55s both; }
.js .hero-mark .s3 { animation: s-in-3 1.1s var(--ease) .7s both; }
@keyframes s-in-1 { from { transform: translate(-30%, 30%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes s-in-2 { from { transform: translate(-40%, -40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes s-in-3 { from { transform: translate(40%, 40%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 12ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { animation: rise 1.1s var(--ease) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 48px); }
.hero-row .lede { color: var(--muted-on-ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.js .hero-row { animation: fade 1s var(--ease) .55s both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-meta {
  position: relative; z-index: 2; border-top: 1px solid var(--line-on-ink);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-meta > div { padding: 26px 24px 30px 0; }
.hero-meta > div + div { padding-left: 24px; border-left: 1px solid var(--line-on-ink); }
.stat-num { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; }
.stat-label { color: var(--muted-on-ink); font-size: 15px; margin-top: 8px; }
@media (max-width: 760px) {
  .hero-mark { width: 120vw; right: -50vw; top: 30%; opacity: .55; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-meta > div:nth-child(n+3) { border-top: 1px solid var(--line-on-ink); }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--white); border-bottom: 1px solid var(--line); padding: 34px 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.marquee-track { display: flex; width: max-content; gap: 72px; align-items: center; animation: scroll-x 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 40px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Services list (home) ---------- */
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 32px; align-items: center;
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative;
}
.svc-row h3 { font-size: clamp(24px, 3.2vw, 44px); transition: transform .5s var(--ease), color .3s; }
.svc-row p { color: var(--muted); max-width: 46ch; }
.svc-row .arrow {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; transition: background .35s, border-color .35s, transform .5s var(--ease);
}
.svc-row .arrow svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.svc-row:hover h3 { transform: translateX(14px); color: var(--volt); }
.svc-row:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--white); }
.svc-row:hover .arrow svg { transform: rotate(-45deg); }
.svc-preview {
  position: fixed; left: 0; top: 0; width: 320px; aspect-ratio: 4/3; border-radius: var(--r-md);
  overflow: hidden; pointer-events: none; z-index: 60; opacity: 0; transform: translate(-50%, -50%) scale(.7);
  transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 30px 60px -20px rgba(1, 0, 82, .45);
}
.svc-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 860px) {
  .svc-preview { display: none; }
  .svc-row { grid-template-columns: 1fr 48px; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .svc-row .arrow { width: 48px; height: 48px; }
}

/* ---------- Commitments ---------- */
.commit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.commit-sticky { position: sticky; top: 130px; }
.commit-items { display: flex; flex-direction: column; gap: 16px; }
.commit {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start;
}
.commit .glyph { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--cyan); display: grid; place-items: center; }
.commit .glyph svg { width: 26px; height: 26px; }
.commit h3 { margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--white); font-weight: 500; font-size: 15px; }
.pill svg { width: 16px; height: 16px; color: var(--volt); }
@media (max-width: 860px) { .commit-grid { grid-template-columns: 1fr; } .commit-sticky { position: static; } }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.proj { text-decoration: none; display: flex; flex-direction: column; gap: 20px; }
.proj:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.proj-frame {
  border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); position: relative;
  box-shadow: 0 0 0 1px var(--line-on-ink);
}
.section--light .proj-frame { box-shadow: 0 0 0 1px var(--line); }
.proj-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: rgba(255, 255, 255, .08); }
.proj-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.section--light .proj-bar { background: var(--paper); }
.section--light .proj-bar i { background: #c9cbe0; }
.proj-shot { aspect-ratio: 4 / 3.4; overflow: hidden; position: relative; }
.proj-shot img {
  width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top;
  transform: translateY(0); transition: transform 6s cubic-bezier(.45, .05, .35, 1);
}
.proj:hover .proj-shot img, .proj:focus-visible .proj-shot img { transform: translateY(calc(-100% + var(--frame-h, 400px))); }
.proj-shot.static img { height: 100%; transition: transform .8s var(--ease); }
.proj:hover .proj-shot.static img { transform: scale(1.04); }
.proj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.proj-meta span { font-size: 15px; opacity: .72; }
.proj-hint {
  position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: var(--cyan); color: var(--ink); font-size: 13px; font-weight: 600;
  transition: opacity .3s, transform .4s var(--ease);
}
.proj:hover .proj-hint { opacity: 0; transform: translateY(8px); }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } .proj:nth-child(even) { margin-top: 0; } }

/* ---------- Testimonials ---------- */
.quotes { position: relative; }
.quote-track { display: flex; transition: transform .8s var(--ease); }
.quote-slide { min-width: 100%; padding-right: 4px; }
.quote-slide blockquote {
  margin: 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 500;
  font-size: clamp(22px, 2.9vw, 40px); line-height: 1.22; letter-spacing: -0.01em; max-width: 28ch;
}
.quote-slide blockquote.long { font-size: clamp(19px, 2vw, 28px); max-width: 44ch; line-height: 1.35; }
.quote-by { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.quote-by .av { width: 52px; height: 52px; border-radius: 50%; background: var(--cyan); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.quote-by strong { display: block; }
.stars { color: var(--cyan); letter-spacing: 2px; font-size: 14px; }
.quote-nav { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.quote-nav button {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-on-ink); background: transparent;
  cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s;
}
.quote-nav button:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.quote-nav svg { width: 20px; height: 20px; }
.quote-count { font-variant-numeric: tabular-nums; margin-left: 12px; color: var(--muted-on-ink); }
.quote-mark { position: absolute; right: 0; top: -20px; width: clamp(80px, 12vw, 160px); color: var(--cyan); opacity: .9; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.member { margin: 0; }
.member-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--paper); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform .9s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }
.member-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.member:hover .member-photo::after { transform: scaleX(1); }
.member figcaption { padding-top: 18px; }
.member figcaption span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600;
}
.faq-q .pm { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--paper); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; background: var(--ink); transition: transform .5s var(--ease), background .3s; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { background: var(--ink); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .pm::before, .faq-q[aria-expanded="true"] .pm::after { background: var(--white); }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 64px 28px 0; color: var(--muted); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--volt); color: var(--white); overflow: hidden; position: relative; }
.cta-band .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(40px, 7vw, 104px); max-width: 11ch; }
.cta-band .big-x { position: absolute; right: -6%; top: -30%; width: 46%; opacity: .14; color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h4 { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--muted-on-ink); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { text-decoration: none; transition: color .2s; }
.foot-grid a:hover { color: var(--cyan); }
.foot-about p { color: var(--muted-on-ink); max-width: 36ch; margin-top: 20px; }
.foot-about img { height: 26px; width: auto; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-on-ink); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.socials svg { width: 18px; height: 18px; }
.foot-word {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 700; line-height: .8;
  font-size: clamp(64px, 17.5vw, 268px); letter-spacing: -0.03em; white-space: nowrap;
  margin-top: clamp(56px, 7vw, 96px); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  user-select: none; text-align: center; transform: translateY(12%);
}
.foot-bottom { border-top: 1px solid var(--line-on-ink); padding: 24px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted-on-ink); position: relative; z-index: 1; background: var(--ink); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--cyan); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(160px, 18vw, 230px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero .crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted-on-ink); margin-bottom: 26px; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--cyan); }
.page-hero h1 { font-size: clamp(44px, 9vw, 136px); }
.page-hero .lede { margin-top: 28px; color: var(--muted-on-ink); max-width: 46ch; }
.page-hero .mini-x { position: absolute; right: var(--gutter); bottom: -12%; width: clamp(160px, 26vw, 380px); }
.page-hero .mini-x .s { transform-box: fill-box; transform-origin: center; }
.js .page-hero h1 { animation: fade 1s var(--ease) both; }
.js .page-hero .lede { animation: fade 1s var(--ease) .12s both; }
.js .page-hero .mini-x .s1 { animation: s-in-1 1.2s var(--ease) .1s both; }
.js .page-hero .mini-x .s2 { animation: s-in-2 1s var(--ease) .3s both; }
.js .page-hero .mini-x .s3 { animation: s-in-3 1s var(--ease) .4s both; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-toc { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 4px; }
.svc-toc a {
  text-decoration: none; padding: 12px 16px; border-radius: 12px; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; gap: 12px; transition: background .25s, color .25s;
}
.svc-toc a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .25s, transform .35s var(--ease); }
.svc-toc a:hover { color: var(--ink); background: var(--paper); }
.svc-toc a.active { color: var(--ink); background: var(--paper); }
.svc-toc a.active::before { background: var(--volt); transform: scale(1.3); }
.svc-block { padding-bottom: clamp(72px, 8vw, 120px); margin-bottom: clamp(72px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 48px; }
.svc-block-head .kicker { margin-bottom: 14px; }
.svc-block-head h2 { font-size: clamp(30px, 3.8vw, 52px); }
.svc-block-head p { margin-top: 20px; color: var(--muted); }
.svc-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-block:hover .svc-img img { transform: scale(1.05); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--paper); border-radius: var(--r-md); padding: 28px; }
.feat h3 { font-size: 19px; margin-bottom: 10px; font-stretch: 112%; }
.feat p { color: var(--muted); font-size: 16px; }
.benefits { margin-top: 24px; background: var(--ink); color: var(--white); border-radius: var(--r-md); padding: 32px; }
.benefits h3 { font-size: 19px; margin-bottom: 18px; font-stretch: 112%; }
.benefits ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.benefits li { display: flex; gap: 12px; color: var(--muted-on-ink); }
.benefits li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }
@media (max-width: 960px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-toc { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .svc-toc a { white-space: nowrap; }
  .svc-block-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .feat-grid, .benefits ul { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv { border-radius: var(--r-lg); padding: clamp(32px, 4vw, 56px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mv--ink { background: var(--ink); color: var(--white); }
.mv--cyan { background: var(--cyan); color: var(--ink); }
.mv .tag { font-weight: 600; font-size: 15px; }
.mv h3 { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 18px; }
.mv--ink p { color: var(--muted-on-ink); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line-on-ink); border-left: 1px solid var(--line-on-ink); }
.value { padding: 32px; border-right: 1px solid var(--line-on-ink); border-bottom: 1px solid var(--line-on-ink); transition: background .35s; }
.value:hover { background: var(--ink-2); }
.value h3 { font-size: 20px; font-stretch: 112%; margin-bottom: 10px; color: var(--cyan); }
.value p { color: var(--muted-on-ink); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stat-row > div { padding: 32px 24px 8px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-row .stat-num { font-size: clamp(36px, 4.6vw, 64px); color: var(--ink); }
.stat-row .stat-label { color: var(--muted); }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 16/9; display: grid; place-items: center; padding: 20px; background: var(--white); }
.logo-wall img { max-height: 44px; width: auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-wall div:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.office { border-top: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-size: 22px; margin-bottom: 10px; }
.office address { font-style: normal; color: var(--muted); }
.office .soon { display: inline-block; font-size: 13px; font-weight: 600; background: var(--cyan); color: var(--ink); padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.office a.map { align-self: start; }
.direct { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.direct a { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(20px, 2vw, 26px); text-decoration: none; transition: color .25s; }
.direct a:hover { color: var(--volt); }
.form-card { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); }
.form-card h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; }
.form-card > p { color: var(--muted-on-ink); margin-bottom: 32px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted-on-ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--white); background: rgba(255, 255, 255, .06);
  border: 1.5px solid var(--line-on-ink); border-radius: 12px; padding: 14px 16px; min-height: 52px;
  transition: border-color .25s, background .25s;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255, 255, 255, .1); }
.field .err { font-size: 13px; color: #ffb4b4; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: #ff8a8a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-on-ink); font-size: 14px; cursor: pointer; transition: all .25s; }
.chip input:checked + span { background: var(--cyan); border-color: var(--cyan); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 24px; }
.form-status.ok { color: var(--cyan); }
.form-status.bad { color: #ffb4b4; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 72ch); gap: clamp(40px, 6vw, 96px); }
.legal-toc { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--volt); }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 56px 0 16px; font-stretch: 112%; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 28px 0 10px; font-stretch: 112%; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { padding-left: 20px; margin: 14px 0; }
.legal-body li + li { margin-top: 8px; }
.legal-body dl { margin: 14px 0; }
.legal-body dt { font-weight: 600; margin-top: 14px; }
.legal-body dd { margin: 4px 0 0; color: var(--muted); }
.legal-body a { color: var(--volt); }
.updated { display: inline-block; background: rgba(255, 255, 255, .1); padding: 8px 14px; border-radius: 999px; font-size: 14px; margin-top: 24px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--white); padding: 120px var(--gutter); }
.nf .num { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: clamp(120px, 26vw, 360px); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.nf p { color: var(--muted-on-ink); margin: 16px auto 32px; max-width: 40ch; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-stagger].in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-stagger].in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal-stagger].in > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal-stagger].in > *:nth-child(6) { transition-delay: .4s; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

/* Page transition */
.page-cover { position: fixed; inset: 0; background: var(--ink); z-index: 300; pointer-events: none; transform: translateY(0); transition: transform .7s var(--ease); display: grid; place-items: center; }
.page-cover svg { width: 64px; height: 64px; }
.page-cover.out { transform: translateY(-100%); }
.page-cover.in { transform: translateY(0); transition-duration: .5s; }
.no-js .page-cover { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .page-cover { display: none; }
}
