/* STAY IN MEDIA — design system
   Ink ground, one blue taken from the mark, hairlines instead of boxes.
   Display: Archivo (wide axis). Text: Inter. Micro-labels: JetBrains Mono. */

@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jbmono-latin.woff2') format('woff2');
  font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --ink:        #07090E;
  --ink-2:      #0C1018;
  --ink-3:      #131924;
  --paper:      #F2F4F8;
  --paper-2:    #E4E8F0;
  --blue:       #0A63E0;
  --blue-lift:  #4A9BFF;
  --blue-deep:  #04347E;
  --text:       #E8ECF4;
  --text-dim:   #97A1B4;
  --on-paper:   #0A0D14;
  --on-paper-d: #5C6679;
  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.18);
  --line-dark:  rgba(10,13,20,.12);

  --display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

  --gut: clamp(20px, 5vw, 76px);
  --max: 1420px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 clamp(15px, 1.05vw, 17px)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-lift);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 18px;
  font: 500 14px var(--body); border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

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

/* ---------- type ---------- */

.kicker {
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-lift);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker .idx { color: var(--text-dim); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }

.h-xl { font-size: clamp(38px, 6.6vw, 92px); font-stretch: 112%; }
.h-lg { font-size: clamp(30px, 4.6vw, 64px);  font-stretch: 108%; }
.h-md { font-size: clamp(22px, 2.3vw, 34px);  font-stretch: 105%; font-weight: 700; }

.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--text-dim); max-width: 60ch; }

/* ---------- section frame ---------- */

.section { padding-block: clamp(76px, 9vw, 150px); position: relative; }
.section--paper { background: var(--paper); color: var(--on-paper); }
/* Two light sections in a row would otherwise show one doubled dead band. */
.section--paper + .section--paper { padding-top: 0; }
.section--paper .lead { color: var(--on-paper-d); }
.section--paper .kicker { color: var(--blue); }
.section--paper .kicker .idx { color: var(--on-paper-d); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: end;
  padding-bottom: clamp(34px, 4vw, 62px);
}
.section-head > div:first-child { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--paper .rule { background: var(--line-dark); }

/* signal meter — the one decorative motif, an audio level bar */
.meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 13px; }
.meter i { width: 3px; background: currentColor; border-radius: 1px; height: 30%; animation: lvl 1.4s var(--ease) infinite; }
.meter i:nth-child(2) { height: 65%; animation-delay: .18s; }
.meter i:nth-child(3) { height: 100%; animation-delay: .36s; }
.meter i:nth-child(4) { height: 50%; animation-delay: .54s; }
@keyframes lvl { 0%, 100% { transform: scaleY(.35); } 45% { transform: scaleY(1); } }
.meter i { transform-origin: bottom; }
@media (prefers-reduced-motion: reduce) { .meter i { animation: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font: 500 14px/1 var(--body);
  letter-spacing: .01em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--fill { background: var(--blue); color: #fff; }
.btn--fill:hover { background: var(--blue-lift); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.05); }
.section--paper .btn--ghost { border-color: var(--line-dark); color: var(--on-paper); }
.section--paper .btn--ghost:hover { border-color: var(--on-paper); background: rgba(10,13,20,.04); }

/* ---------- header ---------- */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90;
  padding-block: 18px;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(7,9,14,.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand__mark { width: 34px; height: 34px; color: #fff; flex: none; }
.brand__name {
  font: 800 15px/1 var(--display); font-stretch: 118%;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.brand__name b { font-weight: 800; color: var(--blue-lift); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav a {
  font: 500 13.5px/1 var(--body); text-decoration: none; color: var(--text-dim);
  transition: color .25s var(--ease); position: relative; padding-block: 6px;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--blue-lift); transition: right .35s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.nav a:hover::after { right: 0; }

.hdr .btn { padding: 11px 20px; font-size: 13px; }
/* The nav holds its own CTA for the mobile sheet; on desktop the header one
   is the single call to action. */
.nav > .btn { display: none; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-2);
  background: transparent; border-radius: 999px; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { bottom: 16px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--ink);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 96px var(--gut) 40px;
    transform: translateY(-100%); transition: transform .5s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(30px, 8vw, 46px); color: var(--text); padding-block: 10px; }
  .nav a::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 22px; font-size: 14px; }
  .hdr__cta { display: none; }
}

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg video, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,9,14,.86) 0%, rgba(7,9,14,.42) 34%, rgba(7,9,14,.80) 76%, var(--ink) 100%),
    linear-gradient(94deg, rgba(4,20,52,.62) 0%, rgba(7,9,14,0) 62%);
}
/* film grain keeps the compressed gradient from banding */
.hero__grain {
  position: absolute; inset: -50%; z-index: 2; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-4%); } 60% { transform: translate(-3%,-2%); } 80% { transform: translate(2%,4%); } }
@media (prefers-reduced-motion: reduce) { .hero__grain { animation: none; } }

.hero__inner { position: relative; z-index: 3; width: 100%; padding-block: clamp(110px, 14vh, 170px) clamp(30px, 5vh, 58px); }
.hero__grid { display: grid; gap: clamp(22px, 3vw, 40px); }
.hero h1 { max-width: 16ch; }
.hero h1 .w { display: inline-block; }
.hero__lead { max-width: 52ch; color: #C6CEDC; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero__foot {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 54px); align-items: center;
  border-top: 1px solid var(--line); padding-top: 22px; margin-top: clamp(24px, 4vh, 48px);
}
.hero__foot dl { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.hero__foot dt { font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.hero__foot dd { margin: 0; font: 600 14.5px/1.3 var(--body); color: var(--text); }
.hero__foot a { text-decoration: none; }
.hero__foot a:hover { color: var(--blue-lift); }

.scroll-cue { margin-left: auto; margin-right: 66px; display: inline-flex; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(var(--blue-lift), transparent); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) {
  .scroll-cue { display: none; }
  /* keep the last item clear of the floating WhatsApp button */
  .hero__foot { padding-right: 64px; }
}

/* ---------- marquee ---------- */

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 15px; background: var(--ink-2); }
.marquee__track { display: flex; gap: 42px; width: max-content; animation: slide 46s linear infinite; }
.marquee span {
  font: 800 clamp(15px, 1.5vw, 21px)/1 var(--display); font-stretch: 112%;
  letter-spacing: .04em; text-transform: uppercase; color: rgba(232,236,244,.30);
  display: inline-flex; align-items: center; gap: 42px; white-space: nowrap;
}
.marquee span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- portfolio rail ---------- */

.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.rail-btn:hover { background: rgba(255,255,255,.07); border-color: var(--text); }
.rail-btn[disabled] { opacity: .3; cursor: default; }
.rail-btn svg { width: 16px; height: 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 26px 4px; }
.chip {
  font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text-dim); cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-pressed='true'] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* The shell clips the right-hand bleed so the page never gains a horizontal
   scrollbar of its own. */
.rail-shell { padding-inline: 0; overflow: hidden; }

/* Bleeds to the right only. A symmetric negative margin would push the first
   card under the page's overflow clip on viewports near --max. */
.rail {
  display: flex; gap: clamp(14px, 1.4vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 30px var(--gut) 34px 0;
  margin-right: calc(var(--gut) * -1);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }

.card {
  flex: 0 0 clamp(216px, 20vw, 272px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  cursor: pointer;
  transition: border-color .35s var(--ease), transform .45s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card.is-hidden { display: none; }
.card__media { position: absolute; inset: 0; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__media video { opacity: 0; transition: opacity .5s var(--ease); }
.card.is-playing .card__media video { opacity: 1; }
.card__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,14,.30) 0%, rgba(7,9,14,0) 34%, rgba(7,9,14,.78) 100%); }

.card__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card__cat { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(7,9,14,.62); backdrop-filter: blur(6px); padding: 6px 9px; border-radius: 999px; }
.card__play { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease); }
.card:hover .card__play { opacity: 1; }
.card__play svg { width: 10px; height: 10px; color: #fff; }

.card__body { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.card__title { font: 700 15.5px/1.25 var(--display); font-stretch: 104%; color: #fff; margin: 0; }
.card__cap {
  margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.66);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease);
}
.card:hover .card__cap, .card:focus-within .card__cap { max-height: 76px; opacity: 1; }
.card__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-lift); transition: width .12s linear; }

.rail-hint { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- lightbox ---------- */

.lb { position: fixed; inset: 0; z-index: 140; display: none; place-items: center; padding: clamp(14px, 3vw, 40px); }
.lb.is-open { display: grid; }
.lb__back { position: absolute; inset: 0; background: rgba(4,6,10,.93); backdrop-filter: blur(10px); border: 0; cursor: zoom-out; }
.lb__panel { position: relative; display: flex; gap: clamp(18px, 3vw, 40px); align-items: center; max-width: 1040px; width: 100%; }
.lb__stage { position: relative; flex: 0 0 auto; width: min(340px, 74vw); aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.lb__stage video { width: 100%; height: 100%; object-fit: cover; }
.lb__meta { flex: 1 1 auto; min-width: 0; }
.lb__meta .kicker { margin-bottom: 14px; }
.lb__meta h3 { margin-bottom: 12px; }
.lb__meta p { color: var(--text-dim); max-width: 46ch; }
.lb__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lb__close {
  position: absolute; top: -8px; right: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(7,9,14,.7); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.lb__close:hover { background: rgba(255,255,255,.1); }
.lb__close svg { width: 15px; height: 15px; }
@media (max-width: 860px) {
  .lb__panel { flex-direction: column; overflow-y: auto; max-height: 100%; }
  .lb__stage { width: min(280px, 64vw); }
  .lb__meta { text-align: center; }
  .lb__meta p { margin-inline: auto; }
  .lb__links { justify-content: center; }
  .lb__close { top: 0; right: 0; position: fixed; margin: 14px; }
}

/* ---------- services ---------- */

.svc { border-top: 1px solid var(--line-dark); }
.svc__row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(14px, 2.4vw, 40px);
  padding-block: clamp(24px, 2.6vw, 38px);
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
  transition: background .35s var(--ease);
}
.svc__row:hover { background: rgba(10,13,20,.035); }
.svc__num { font: 500 11.5px/1.6 var(--mono); color: var(--blue); letter-spacing: .06em; }
.svc__t { display: flex; flex-direction: column; gap: 8px; }
.svc__t h3 { font-size: clamp(21px, 2.1vw, 31px); }
.svc__blurb { font-size: 14.5px; color: var(--on-paper-d); margin: 0; }
.svc__detail { margin: 0; font-size: 15px; line-height: 1.68; color: var(--on-paper-d); }
@media (max-width: 820px) {
  .svc__row { grid-template-columns: 40px minmax(0, 1fr); }
  .svc__detail { grid-column: 2; }
}

/* ---------- method ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.step { background: var(--ink); padding: clamp(24px, 2.6vw, 38px); display: flex; flex-direction: column; gap: 12px; min-height: 250px; transition: background .4s var(--ease); }
.step:hover { background: var(--ink-2); }
.step__n {
  font: 800 clamp(34px, 3.6vw, 54px)/1 var(--display); font-stretch: 118%;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: -.03em;
  transition: -webkit-text-stroke-color .4s var(--ease), color .4s var(--ease);
}
.step:hover .step__n { -webkit-text-stroke-color: var(--blue); }
.step h3 { font-size: clamp(18px, 1.55vw, 23px); }
.step p { margin: 0; font-size: 14.5px; line-height: 1.66; color: var(--text-dim); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* ---------- stats band ---------- */

.band { background: var(--blue); color: #fff; padding-block: clamp(44px, 5vw, 76px); }
.band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.band__v { font: 800 clamp(34px, 4.6vw, 66px)/1 var(--display); font-stretch: 116%; letter-spacing: -.03em; }
.band__l { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; color: rgba(255,255,255,.88); }
.band__n { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 3px; }
@media (max-width: 860px) { .band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 86px); align-items: start; }
.about__body p { margin: 0 0 18px; font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.72; }
.about__body p:last-child { margin-bottom: 0; }
.about__aside { border-left: 1px solid var(--line-dark); padding-left: clamp(20px, 2.4vw, 38px); display: flex; flex-direction: column; gap: 24px; }
.about__aside dl { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.about__aside dt { font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-paper-d); }
.about__aside dd { margin: 0; font-size: 15.5px; line-height: 1.5; }
.about__aside a { color: var(--blue); text-decoration: none; }
.about__aside a:hover { text-decoration: underline; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } .about__aside { border-left: 0; border-top: 1px solid var(--line-dark); padding: 26px 0 0; } }

/* ---------- faq ---------- */

.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font: 700 clamp(16px, 1.4vw, 21px)/1.35 var(--display); font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 13px; height: 13px;
  background: currentColor;
  clip-path: polygon(46% 0, 54% 0, 54% 46%, 100% 46%, 100% 54%, 54% 54%, 54% 100%, 46% 100%, 46% 54%, 0 54%, 0 46%, 46% 46%);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq p { margin: 0 0 24px; color: var(--on-paper-d); max-width: 68ch; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .82fr); gap: clamp(30px, 5vw, 84px); align-items: start; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid var(--line-2);
  padding: 11px 0; font: 400 16px/1.5 var(--body);
  border-radius: 0; transition: border-color .3s var(--ease);
}
.field select { cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--blue-lift); }
.field input::placeholder, .field textarea::placeholder { color: rgba(151,161,180,.5); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__note { font-size: 12.5px; color: var(--text-dim); max-width: 46ch; }
.form__note a { color: var(--blue-lift); }

.alert { padding: 15px 18px; border-radius: 10px; font-size: 14.5px; border: 1px solid; }
.alert--ok { border-color: rgba(74,155,255,.4); background: rgba(10,99,224,.12); color: #CFE0FF; }
.alert--err { border-color: rgba(255,120,120,.4); background: rgba(210,60,60,.12); color: #FFD3D3; }

.info { display: flex; flex-direction: column; gap: 4px; }
.info__block { padding-block: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.info__block:first-child { border-top: 0; padding-top: 0; }
.info__k { font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.info__v { font-size: 16px; line-height: 1.55; }
.info__v a { text-decoration: none; }
.info__v a:hover { color: var(--blue-lift); }
.info__sub { font-size: 13px; color: var(--text-dim); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px 10px 12px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none;
  font: 500 13px/1 var(--body); color: var(--text);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.social:hover { border-color: var(--line-2); background: rgba(255,255,255,.05); transform: translateY(-1px); }
.social svg { width: 18px; height: 18px; flex: none; }

/* ---------- footer ---------- */

.ftr { border-top: 1px solid var(--line); padding-block: clamp(46px, 5vw, 76px) 30px; background: var(--ink); }
.ftr__mark {
  font: 800 clamp(48px, 13.5vw, 190px)/0.86 var(--display); font-stretch: 118%;
  letter-spacing: -.035em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  margin: 0 0 clamp(30px, 4vw, 54px); user-select: none;
}
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); padding-bottom: 34px; }
@media (max-width: 860px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ftr__cols { grid-template-columns: 1fr; } }
.ftr__col h4 { margin: 0 0 14px; font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ftr__col a { text-decoration: none; font-size: 14.5px; color: var(--text); transition: color .25s var(--ease); }
.ftr__col a:hover { color: var(--blue-lift); }
.ftr__col p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }

.ftr__base {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-dim);
}
.ftr__base a { text-decoration: none; }
.ftr__base a:hover { color: var(--text); }
.ftr__base nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* floating WhatsApp */
.wa {
  position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 10px 28px rgba(37,211,102,.32);
  transition: transform .3s var(--ease);
}
.wa:hover { transform: scale(1.07); }
.wa svg { width: 27px; height: 27px; }

/* ---------- reveal ----------
   The observer watches the WRAPPER; the child is what moves. A target that is
   itself clipped or translated out of view never reports an intersection. */
.rv > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in > * { opacity: 1; transform: none; }
.rv[data-stagger] > *:nth-child(2) { transition-delay: .07s; }
.rv[data-stagger] > *:nth-child(3) { transition-delay: .14s; }
.rv[data-stagger] > *:nth-child(4) { transition-delay: .21s; }
.rv[data-stagger] > *:nth-child(5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .rv > * { opacity: 1; transform: none; transition: none; } }

/* ---------- simple pages ---------- */

.doc { padding-block: clamp(120px, 14vh, 190px) clamp(60px, 8vw, 110px); }
.doc__inner { max-width: 780px; }
.doc h1 { margin-bottom: 30px; }
.doc h2 { font-size: clamp(19px, 1.8vw, 26px); margin: 40px 0 14px; }
.doc p, .doc li { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--blue-lift); }

.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gut); }
.nf__n { font: 800 clamp(80px, 22vw, 260px)/1 var(--display); font-stretch: 118%; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
