/* =========================================================
   HyeTeam
   Virtual Assistants from Armenia
   ========================================================= */

/* Tokens
   --------------------------------------------------------- */
:root {
  --ink: #0a0e12;
  --ink-2: #111820;
  --ink-3: #1a232c;
  --paper: #f2f6f9;
  --paper-2: #e6f1f8;
  --brand: #02adff;        /* HyeTeam blue */
  --brand-soft: #89cff0;   /* logo blue */
  --brand-deep: #0088cf;   /* brand blue for large text on light backgrounds */
  --brand-ink: #0070ad;    /* brand blue for small text on light backgrounds */
  --error: #b42318;        /* form errors, 5.9:1 on paper */

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --fs-hero: clamp(2.75rem, 10.4vw, 12rem);
  --fs-h1: clamp(3rem, 8.6vw, 9.5rem);
  --fs-h2: clamp(2.4rem, 6.2vw, 6.6rem);
  --fs-h3: clamp(1.45rem, 2.2vw, 2.15rem);
  --fs-xl: clamp(1.75rem, 4vw, 4.25rem);
  --fs-lead: clamp(1.08rem, 1.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --radius: clamp(16px, 1.8vw, 28px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --bg: var(--ink);
  --fg: var(--paper);
  --muted: rgba(242, 246, 249, .64);
  --soft: rgba(242, 246, 249, .07);
  --card: var(--ink-2);
  --accent: var(--brand);
  --accent-text: var(--brand);
}

[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: rgba(242, 246, 249, .64);
  --soft: rgba(242, 246, 249, .07);
  --card: var(--ink-2);
  --accent: var(--brand);
  --accent-text: var(--brand);
}

[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: rgba(10, 14, 18, .66);
  --soft: rgba(10, 14, 18, .06);
  --card: #ffffff;
  --accent: var(--brand-deep);
  --accent-text: var(--brand-ink);
}

[data-theme="brand"] {
  --bg: var(--brand);
  --fg: var(--ink);
  --muted: rgba(10, 14, 18, .8);
  --soft: rgba(10, 14, 18, .08);
  --card: var(--ink);
  --accent: #ffffff;
  --accent-text: var(--ink);
}

/* Light with a soft blue tint: heroes, and a change of background between light sections */
[data-theme="light"].tint { --bg: var(--paper-2); }

[data-theme] {
  background: var(--bg);
  color: var(--fg);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  background: var(--paper-2);
  color: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--brand); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
  border-radius: 6px;
}
#main:focus { outline: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Film grain for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .4s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Layout
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }

.stack > * + * { margin-top: var(--stack, 1.5rem); }

/* Type
   --------------------------------------------------------- */
.display,
.h1, .h2, .h3 {
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .92;
  text-wrap: balance;
}

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.05; }

.display em,
.h1 em, .h2 em, .h3 em,
.xl em, .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--accent);
}

[data-theme="brand"] .h2 em,
[data-theme="brand"] .xl em { color: var(--ink); }

.xl {
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
  max-width: 42ch;
  text-wrap: pretty;
}

.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: .9em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .num { color: var(--accent-text); letter-spacing: .08em; }
[data-theme="brand"] .eyebrow .num { color: var(--ink); }

/* Split text */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .12em;
  margin: 0 -.06em -.12em;
}
.wi { display: inline-block; will-change: transform; }
[data-scrub] .w,
[data-scrub] .wi { display: inline; overflow: visible; }

/* Buttons
   --------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--ink);
  --btn-hover: var(--paper);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .9em;
  padding: .55em .55em .55em 1.5em;
  min-height: 3.4rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: color .5s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }

[data-theme="light"] .btn,
[data-theme="brand"] .btn { --btn-hover: var(--ink); }
[data-theme="light"] .btn:hover,
[data-theme="brand"] .btn:hover { color: var(--paper); }

[data-theme="brand"] .btn:not(.btn--ghost) { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: var(--paper); }
[data-theme="brand"] .btn:not(.btn--ghost):hover { color: var(--ink); }

.btn__label {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 1.25;
}
.btn__label > span { display: block; transition: transform .6s var(--ease); }
.btn__label > span + span { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label > span { transform: translateY(-100%); }

.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: currentColor;
  transition: transform .6s var(--ease);
}
.btn__icon svg {
  width: .95rem;
  height: .95rem;
  color: var(--btn-bg);
  transition: transform .6s var(--ease);
}
.btn:hover .btn__icon svg { transform: rotate(45deg); }
.btn:hover .btn__icon svg { color: var(--btn-hover); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-hover: var(--fg);
  padding: .55em 1.5em;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 28%, transparent);
}
.btn--ghost:hover,
[data-theme="light"] .btn--ghost:hover,
[data-theme="brand"] .btn--ghost:hover { color: var(--bg); }

.btn--sm { min-height: 2.75rem; font-size: .85rem; padding: .35em .35em .35em 1.15em; }
.btn--sm .btn__icon { width: 2rem; height: 2rem; }
.btn--sm.btn--ghost { padding: .35em 1.15em; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-weight: 600;
  letter-spacing: -.01em;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(.35em) rotate(-45deg); }
.link-arrow:hover { color: var(--accent); }
[data-theme="brand"] .link-arrow:hover { color: var(--paper); }

/* Header
   --------------------------------------------------------- */
.site-header {
  --hfg: var(--paper);
  --hbg: var(--ink);
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem var(--gutter);
  color: var(--hfg);
  transition: transform .7s var(--ease), color .45s ease;
}

.site-header { --logo: var(--brand-soft); --accent: var(--brand); --accent-text: var(--brand); }
.site-header[data-header-theme="light"] { --hfg: var(--ink); --hbg: var(--paper); --logo: var(--ink); --accent: var(--brand-deep); --accent-text: var(--brand-ink); }
.site-header[data-header-theme="brand"] { --hfg: var(--ink); --hbg: var(--brand); --logo: var(--ink); --accent: var(--ink); --accent-text: var(--ink); }
.site-header.menu-open { --hfg: var(--paper); --hbg: var(--ink); --logo: var(--brand-soft); --accent: var(--brand); --accent-text: var(--brand); }

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--hbg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0;
  transition: opacity .45s ease, background .45s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.menu-open::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-110%); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--logo);
  transition: color .45s ease;
}
.logo svg {
  display: block;
  height: clamp(1.9rem, 2.4vw, 2.3rem);
  width: auto;
  aspect-ratio: 1225 / 293;
  fill: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  font-size: .92rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 1.3;
}
.nav a > span { display: block; transition: transform .55s var(--ease); }
.nav a > span + span { position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav a:hover > span { transform: translateY(-100%); }
.nav a[aria-current="page"] { color: var(--accent-text); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hfg) 30%, transparent);
}
.menu-toggle__bars {
  position: relative;
  width: 1.1rem;
  height: .6rem;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: calc(100% - 1.5px); }
.menu-open .menu-toggle__bars::before { top: calc(50% - .75px); transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: calc(50% - .75px); transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 7rem var(--gutter) 2rem;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .85s var(--ease-in-out), visibility 0s linear .85s;
  overflow-y: auto;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .85s var(--ease-in-out), visibility 0s;
}
.menu__links a {
  display: block;
  overflow: hidden;
  font-size: clamp(2.6rem, 12vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.04;
}
.menu__links a > span {
  display: block;
  transform: translateY(105%);
  transition: transform .8s var(--ease);
  transition-delay: calc(.08s * var(--i, 0));
}
.menu.is-open .menu__links a > span {
  transform: translateY(0);
  transition-delay: calc(.25s + .07s * var(--i, 0));
}
.menu__links a[aria-current="page"] { color: var(--accent); }
.menu__foot {
  display: grid;
  gap: 1.25rem;
  font-size: .95rem;
  color: rgba(242, 246, 249, .7);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .8s var(--ease);
}
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .55s; }
.menu__foot a:hover { color: var(--accent); }

/* Curtain (page transitions)
   --------------------------------------------------------- */
.curtain {
  --accent: var(--brand-deep);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink);
  pointer-events: none;
  visibility: hidden;
}
.js .curtain { visibility: visible; }
.curtain__logo {
  display: none;
  width: min(72vw, 720px);
  color: var(--brand-deep);
}
.curtain__logo svg { display: block; width: 100%; height: auto; fill: currentColor; overflow: visible; }
.curtain.is-intro .curtain__logo { display: block; }
.curtain.is-intro .curtain__label { display: none; }
.curtain__label {
  display: flex;
  overflow: hidden;
  padding: 0 .08em .14em;
  font-size: clamp(3rem, 13vw, 12rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
}
.curtain__label .c { display: inline-block; white-space: pre; }
.curtain__label .c.hl { color: var(--accent); }
.curtain__label em {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--accent);
}

/* Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(2rem, 4.5vw, 4rem);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  right: -25vmax;
  top: -30vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2, 173, 255, .22), rgba(2, 173, 255, 0));
  pointer-events: none;
}

.hero__eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.hero__badge {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(120px, 11vw, 176px);
  aspect-ratio: 1;
  margin-top: calc(clamp(120px, 11vw, 176px) / -2);
  color: var(--fg);
  transition: color .4s ease;
}
.hero__badge:hover { color: var(--accent); }
.hero__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__badge-ring text {
  font-size: 9.2px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  fill: currentColor;
}
.hero__badge-core {
  display: grid;
  place-items: center;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  transition: transform .7s var(--ease);
}
.hero__badge-core svg { width: 38%; height: 38%; rotate: 135deg; color: var(--ink); }
.hero__badge:hover .hero__badge-core { transform: scale(1.12); }
@media (max-width: 1100px) { .hero__badge { display: none; } }

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -.058em;
  line-height: .88;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--accent);
  padding-right: .04em;
}

.pill-img {
  position: relative;
  display: inline-block;
  width: 1.75em;
  height: .74em;
  margin: 0 .06em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: baseline;
  transform: translateY(.04em);
  background: var(--ink-3);
}
.pill-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem 3rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.hero__meta {
  display: grid;
  gap: .35rem;
  text-align: right;
  font-size: var(--fs-small);
  color: var(--muted);
}
.hero__meta strong { color: var(--fg); font-weight: 600; }

@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__meta { text-align: left; }
}
@media (max-width: 600px) {
  .hero__title { font-size: 14.6vw; }
}

/* Inner page hero */
.page-hero {
  position: relative;
  padding-top: clamp(9rem, 18vw, 14rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.page-hero .h1 { max-width: 14ch; margin-top: 1.75rem; }
.page-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* Expanding media
   --------------------------------------------------------- */
.expand { position: relative; padding-bottom: var(--section); }
.expand__frame {
  position: relative;
  height: 92vh;
  height: 92svh;
  min-height: 420px;
  overflow: hidden;
  border-radius: 0;
}
.expand__frame img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}
.expand__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 18, 0) 22%, rgba(10, 14, 18, .5) 50%, rgba(10, 14, 18, .88) 100%);
  pointer-events: none;
}
.expand__caption {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.5rem, 4vw, 3.5rem);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--paper);
}
.expand__caption .h2 { max-width: 12ch; }
.expand__caption p { font-size: var(--fs-small); color: rgba(242, 246, 249, .9); }
.expand__caption .h2 em { color: var(--brand-soft); }

/* Marquee
   --------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.25rem, 2.6vw, 2.25rem);
}
.marquee--tilt { transform: rotate(-2deg) scale(1.04); margin-block: -1.5rem; z-index: 3; }
.marquee__inner { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding-right: clamp(1.25rem, 3vw, 2.75rem);
  font-size: clamp(1.9rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
}
.marquee__group em {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.02em;
}
.marquee__star { width: .62em; height: .62em; flex: none; }
.no-gsap .marquee__inner,
.reduced-motion .marquee__inner { animation: marquee 40s linear infinite; }
.marquee.is-paused .marquee__inner { animation-play-state: paused; }
.marquee__toggle {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 50%;
  z-index: 2;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 .45rem var(--brand), 0 10px 24px rgba(10, 14, 18, .25);
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.marquee__toggle:hover { background: var(--ink); color: var(--paper); }
.marquee__toggle svg { width: 1.25rem; height: 1.25rem; }
.marquee__toggle .i-play,
.marquee.is-paused .marquee__toggle .i-pause { display: none; }
.marquee.is-paused .marquee__toggle .i-play { display: block; }
.marquee__toggle:focus-visible { outline-color: var(--ink); }
.has-motion .marquee__toggle,
.reduced-motion .marquee__toggle,
.no-gsap .marquee__toggle { display: grid; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__inner { animation: none !important; }
  .marquee__toggle { display: none !important; }
}

/* Statement
   --------------------------------------------------------- */
.statement__text { margin-top: clamp(1.75rem, 3vw, 2.75rem); max-width: 24ch; }
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}
.statement__copy { display: grid; gap: 1.75rem; max-width: 34rem; padding-bottom: 1rem; }
.statement__copy p { font-size: var(--fs-lead); line-height: 1.45; }

@media (max-width: 800px) {
  .statement__grid { grid-template-columns: 1fr; }
}

/* Media frames */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--portrait { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--parallax img {
  position: absolute;
  inset: -9% 0;
  height: 118%;
}
.media figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(10, 14, 18, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
}

/* Section heads */
.head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 4rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.head__title { display: grid; gap: 1.5rem; }
.head .lead { max-width: 30rem; }

/* Horizontal scroll (pinned)
   --------------------------------------------------------- */
.hs { position: relative; overflow: hidden; }
.hs__pin {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 4vh, 3.5rem);
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(6rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4rem);
}
.hs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.hs__head .h2 { margin-top: 1.25rem; }
.hs__count {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.hs__count b { color: var(--fg); font-weight: 600; }

.hs__track {
  display: flex;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: none;
  width: clamp(290px, 27vw, 430px);
  height: clamp(440px, 60vh, 600px);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.svc__media {
  position: relative;
  flex: 0 0 56%;
  min-height: 0;
  overflow: hidden;
}
.svc__media img {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.svc__body {
  display: grid;
  gap: .7rem;
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
}
.svc__num {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-text);
}
.svc__body h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.svc__body p { font-size: .95rem; line-height: 1.5; color: var(--muted); }

.svc--cta {
  justify-content: space-between;
  padding: clamp(1.5rem, 2.2vw, 2.25rem);
  background: var(--brand);
  color: var(--ink);
}
.svc--cta .h3 { font-size: clamp(1.9rem, 2.6vw, 2.75rem); }
.svc--cta .h3 em { color: var(--ink); }
.svc--cta p { color: rgba(10, 14, 18, .75); }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .hs__pin { min-height: 0; padding-block: var(--section); }
  .hs__track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: .25rem;
  }
  .hs__track::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: start; width: min(80vw, 380px); height: 520px; }
  .svc__media img { left: 0; width: 100%; }
}

.hs__track:focus-visible,
.rail__track:focus-visible { outline-offset: -4px; border-radius: var(--radius); }

/* Rail (scroll linked horizontal)
   --------------------------------------------------------- */
.rail { overflow: hidden; }
.rail__track {
  display: flex;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}
.ind {
  position: relative;
  flex: none;
  width: clamp(280px, 31vw, 500px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink-3);
}
.ind img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease);
}
.ind:hover img { scale: 1.06; }
.ind::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 18, .05) 30%, rgba(10, 14, 18, .82) 100%);
}
.ind__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  gap: .6rem;
  padding: clamp(1.25rem, 2vw, 2rem);
}
.ind__tag {
  justify-self: start;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--brand);
  color: var(--ink);
}
.ind__body h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}
.ind__body p { font-size: .95rem; color: rgba(242, 246, 249, .8); max-width: 34ch; }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .rail__track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .rail__track::-webkit-scrollbar { display: none; }
  .ind { scroll-snap-align: start; width: min(80vw, 380px); }
}

/* Qualities list
   --------------------------------------------------------- */
.qualities { display: grid; }
.quality {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem);
  align-items: center;
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(.6rem, 1.4vw, 1.1rem);
  cursor: default;
}
.quality__num {
  align-self: start;
  padding-top: .9em;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.quality__word {
  font-size: clamp(2.7rem, 8vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .95;
  transition: transform .7s var(--ease), color .5s ease;
}
.quality__word em {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.02em;
}
.quality__text {
  color: var(--muted);
  font-size: 1rem;
  transition: color .5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .qualities:hover .quality__word { color: color-mix(in srgb, var(--fg) 22%, transparent); }
  .qualities .quality:hover .quality__word { color: var(--fg); transform: translateX(.12em); }
  .qualities .quality:hover .quality__text { color: var(--fg); }
}
@media (max-width: 800px) {
  .quality { grid-template-columns: auto minmax(0, 1fr); }
  .quality__text { grid-column: 2; margin-top: -.25rem; }
}

.hover-img {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: clamp(220px, 20vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* Steps (sticky)
   --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 8vw, 9rem);
}
.steps__aside { position: relative; }
.steps__sticky {
  position: sticky;
  top: 22vh;
  display: grid;
  gap: 1.75rem;
}
.steps__list { display: grid; gap: clamp(3.5rem, 9vw, 8rem); padding-block: 2rem 4rem; }
.step { display: grid; gap: 1.25rem; }
.step__num {
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.step h3 {
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}
.step p { font-size: var(--fs-lead); color: var(--muted); max-width: 30rem; line-height: 1.45; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .steps__sticky { position: static; }
}

/* Pricing
   --------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: clamp(26rem, 38vw, 34rem);
  padding: clamp(1.75rem, 3.2vw, 3.25rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.plan__tag {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.plan__title {
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .9;
}
.plan__title em { font-family: var(--font-serif); font-weight: 400; color: var(--accent); letter-spacing: -.02em; }
.plan p { color: rgba(242, 246, 249, .68); max-width: 30rem; }
.plan .plan__tag { color: var(--accent-text); max-width: none; }
.plan ul { display: grid; gap: .7rem; margin-top: auto; }
.plan li { display: flex; gap: .75rem; align-items: center; font-weight: 500; }
.plan li svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--accent); }
.plan .btn { align-self: flex-start; margin-top: .5rem; }
.plan { --accent: var(--brand); --accent-text: var(--brand); }
.plan--alt { --accent: var(--brand-deep); --accent-text: var(--brand-ink); background: var(--paper); color: var(--ink); }
.plan--alt p { color: rgba(10, 14, 18, .66); }
.plan--alt li svg { color: var(--accent); }
.plan--alt .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: var(--brand); }
.plan--alt .btn:hover { color: var(--ink); }
.plans__note { margin-top: 2rem; max-width: 46rem; font-size: var(--fs-lead); }

[data-theme] .plan .btn { --btn-bg: var(--brand); --btn-fg: var(--ink); --btn-hover: var(--paper); }
[data-theme] .plan .btn:hover { color: var(--ink); }
[data-theme] .plan--alt .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: var(--brand); }
[data-theme] .plan--alt .btn:hover { color: var(--ink); }

@media (max-width: 800px) {
  .plans { grid-template-columns: 1fr; }
}

/* Cards (blog)
   --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
}
.card { display: grid; gap: 1.25rem; align-content: start; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease);
}
.card:hover .card__media img { scale: 1.06; }
.card__meta {
  display: flex;
  gap: 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__meta span:first-child { color: var(--accent-text); }
.card h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-wrap: balance;
  transition: color .4s ease;
}
.card:hover h3 { color: var(--accent); }

.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--feature { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.cards--feature .card:first-child { grid-row: span 2; }
.cards--feature .card:first-child .card__media { aspect-ratio: 5 / 4; }
.cards--feature .card:first-child h3 { font-size: clamp(1.9rem, 3.4vw, 3.4rem); letter-spacing: -.045em; line-height: 1; }

@media (max-width: 900px) {
  .cards, .cards--feature { grid-template-columns: 1fr; }
  .cards--feature .card:first-child { grid-row: auto; }
}

/* CTA
   --------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(7rem, 16vw, 14rem);
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10, 14, 18, .25), rgba(10, 14, 18, .9) 75%);
}
.cta .container { position: relative; z-index: 1; display: grid; justify-items: center; gap: 2rem; }
.cta .h1 { max-width: 13ch; }
.cta .lead { margin-inline: auto; text-align: center; }
.cta .btn-row { justify-content: center; }

/* Footer
   --------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.5rem, 9vw, 8rem);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(2rem, 4vw, 4rem);
}
.footer__lead .h3 { max-width: 15ch; font-size: clamp(1.75rem, 2.8vw, 2.75rem); }
.footer__lead .btn { margin-top: 1.75rem; }
.footer__col { display: grid; gap: .9rem; align-content: start; font-size: .98rem; }
.footer__col h2 {
  margin-bottom: .35rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__col a { transition: color .3s ease; justify-self: start; }
.footer__col a:hover { color: var(--accent); }
.footer__col address { font-style: normal; color: var(--muted); line-height: 1.6; }

.footer__logo {
  margin-top: clamp(3.5rem, 8vw, 7rem);
  color: var(--brand-soft);
}
.footer__logo svg { display: block; width: 100%; height: auto; fill: currentColor; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-block: 1.75rem 2rem;
  margin-top: clamp(1rem, 2vw, 1.75rem);
  font-size: .85rem;
  color: var(--muted);
}
.footer__bottom a { color: var(--fg); font-weight: 600; transition: color .3s ease; }
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__lead { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* About
   --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.glyph {
  font-family: "Noto Serif Armenian", var(--font-serif);
  font-size: clamp(8rem, 26vw, 26rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  user-select: none;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.tile {
  display: grid;
  align-content: space-between;
  gap: 3rem;
  min-height: 20rem;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--card);
  transition: background .5s ease, color .5s ease;
}
.tile:hover { background: var(--ink); color: var(--paper); }
.tile:hover p { color: rgba(242, 246, 249, .7); }
.tile:hover .tile__num { color: var(--brand); }
[data-theme="dark"] .tile:hover { background: var(--ink-3); }
.tile__num {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-text);
}
.tile h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: .9rem;
}
.tile p { color: var(--muted); }
.tiles--stack { grid-template-columns: 1fr; }
.tile--compact { min-height: 0; gap: 1.5rem; }
.about-intro { margin-top: clamp(3.5rem, 8vw, 7rem); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}

/* Why Armenia gallery: a grid on wide screens, a swipe row on phones */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(320px, 31vw, 520px), auto);
  gap: clamp(1rem, 1.6vw, 1.75rem);
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.gallery:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.gallery-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 2.2vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--card);
}
.gallery-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .95;
}
.gallery-card h3 em { font-family: var(--font-serif); font-weight: 400; color: var(--accent); letter-spacing: -.02em; }
.gallery-card p { color: var(--muted); }
.gallery-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
}
.gallery-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-photo figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(10, 14, 18, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
}
@media (max-width: 899px) {
  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-card, .gallery-photo { flex: none; scroll-snap-align: start; width: min(80vw, 380px); height: 480px; }
}

/* Tasks and skills (Hire page)
   --------------------------------------------------------- */
.tasks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.2vw, 1.25rem);
}
.task {
  display: grid;
  align-content: space-between;
  gap: 2rem;
  min-height: clamp(9.5rem, 13vw, 12rem);
  padding: clamp(1.25rem, 2vw, 1.85rem);
  border-radius: var(--radius);
  background: var(--card);
  transition: background .45s ease, color .45s ease;
}
.task:hover { background: var(--ink); color: var(--paper); }
.task__num {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.task:hover .task__num { color: var(--brand); }
.task__text {
  font-size: clamp(1.25rem, 1.75vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
@media (max-width: 960px) { .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tasks { grid-template-columns: 1fr; } .task { min-height: 0; } }

.skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.skill {
  display: grid;
  align-content: space-between;
  gap: 3rem;
  min-height: clamp(15rem, 24vw, 21rem);
  padding: clamp(1.5rem, 2.8vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--card);
}
.skill__num { font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-text); }
.skill h3 {
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .95;
  margin-bottom: 1rem;
}
.skill h3 em { font-family: var(--font-serif); font-weight: 400; color: var(--accent); letter-spacing: -.02em; }
.skill p { color: var(--muted); max-width: 32rem; font-size: 1.05rem; }
@media (max-width: 800px) { .skills { grid-template-columns: 1fr; } .skill { min-height: 0; } }

/* Perks */
.perks { display: grid; }
.perk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1rem, 2vw, 1.5rem);
}
.perk__num { font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-text); }
.perk__text {
  font-size: clamp(2.2rem, 6.2vw, 6.25rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .95;
}
.perk__text em { font-family: var(--font-serif); font-weight: 400; color: var(--accent); letter-spacing: -.02em; }

/* Forms
   --------------------------------------------------------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.field { display: grid; gap: .55rem; }
.field--full { grid-column: 1 / -1; }
.field > label,
.field > legend {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.6rem;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 16px;
  background: var(--card);
  color: var(--fg);
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 50%, transparent);
  transition: box-shadow .35s ease, background .35s ease;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088cf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1.1rem;
  padding-right: 3rem;
}
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--fg) 60%, transparent); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.field__error { display: flex; gap: .4rem; align-items: baseline; font-size: .9rem; font-weight: 500; color: var(--error); }
.field__error[hidden] { display: none; }
.req { margin-left: .2em; color: var(--error); }
.form__note { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.form__status.is-error { background: color-mix(in srgb, var(--error) 12%, transparent); }
.form__status a { text-decoration: underline; text-underline-offset: .15em; }
.form__status:focus { outline: none; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 50%, transparent);
  font-size: .92rem;
  font-weight: 500;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.chip input:checked + span { background: var(--brand); color: var(--ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-text); }

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: .75rem;
}
.form__foot small { color: var(--muted); max-width: 30rem; font-size: .85rem; }
.form__status {
  grid-column: 1 / -1;
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  font-weight: 500;
}
.form__status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.contact-list { display: grid; gap: 1rem; }
.contact-item {
  display: grid;
  gap: .4rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--card);
  transition: background .4s ease, color .4s ease;
}
a.contact-item:hover { background: var(--ink); color: var(--paper); }
a.contact-item:hover span { color: var(--brand); }
.contact-item span {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.contact-item strong,
.contact-item address {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -.025em;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Article
   --------------------------------------------------------- */
.article-hero { position: relative; overflow: hidden; padding-top: clamp(9rem, 16vw, 13rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.article-hero .h1 { font-size: clamp(2.4rem, 6vw, 6rem); max-width: 18ch; margin-top: 1.5rem; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; color: var(--muted); font-size: .92rem; }
.article-cover { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .article-cover { aspect-ratio: 4 / 3; } }

.prose {
  max-width: 44rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}
.prose > * + * { margin-top: 1.4em; }
.prose h2 {
  margin-top: 2.4em;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.prose h3 { margin-top: 2em; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.prose p, .prose li { color: color-mix(in srgb, var(--fg) 80%, transparent); }
.prose strong { color: var(--fg); }
.prose ul { display: grid; gap: .65em; }
.prose ul li { position: relative; padding-left: 1.75em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .7em;
  height: .7em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088cf'><path d='M12 0c.6 5.8 3.4 9.1 12 12-8.6 2.9-11.4 6.2-12 12-.6-5.8-3.4-9.1-12-12C8.6 9.1 11.4 5.8 12 0Z'/></svg>") center / contain no-repeat;
}
.prose a { color: var(--accent-text); font-weight: 600; }
.prose .callout {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 1.1rem;
}
.prose .callout p { color: var(--fg); }

/* 404 */
.notfound {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: 8rem 4rem;
}

/* Reveal states (JS only)
   --------------------------------------------------------- */
.js [data-hero-split] { visibility: hidden; }
.js [data-hero-split].is-split { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
