/* ============================================================
   Ideallio — shared stylesheet
   Palette: cream #EDEBE2 · ink #15171E · accent #2B3FF2
            coral #FF6A4D · lime #D7E022 · sky #9DB8FF
   Type: Figtree (400 / 500 / 600, italic)
   ============================================================ */

:root {
  --bg: #EDEBE2;
  --bg-hover: #E4E1D5;
  --ink: #15171E;
  --ink-60: rgba(21, 23, 30, 0.6);
  --ink-55: rgba(21, 23, 30, 0.55);
  --ink-45: rgba(21, 23, 30, 0.45);
  --ink-40: rgba(21, 23, 30, 0.4);
  --ink-35: rgba(21, 23, 30, 0.35);
  --line: rgba(21, 23, 30, 0.14);
  --line-soft: rgba(21, 23, 30, 0.12);
  --ac: #2B3FF2;
  --coral: #FF6A4D;
  --lime: #D7E022;
  --sky: #9DB8FF;
  --cream: #EDEBE2;
  --cream-70: rgba(237, 235, 226, 0.7);
  --cream-62: rgba(237, 235, 226, 0.62);
  --cream-55: rgba(237, 235, 226, 0.55);
  --cream-45: rgba(237, 235, 226, 0.45);
  --cream-42: rgba(237, 235, 226, 0.42);
  --cream-line: rgba(237, 235, 226, 0.16);
  --pad-x: clamp(18px, 4vw, 56px);
  --max-w: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ac); }
::selection { background: var(--sky); color: var(--ink); }

img, svg { max-width: 100%; }

/* ---------- utilities ---------- */

.wrap { max-width: var(--max-w); margin: 0 auto; }

.label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.label--tight { letter-spacing: 0.16em; }

.h-display {
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--ink-60);
  text-wrap: pretty;
}

.accent { color: var(--ac); }
.italic { font-style: italic; }

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

.btn {
  display: inline-block;
  padding: 15px 26px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease;
}
.btn:hover { background: var(--ac); color: var(--cream); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(21, 23, 30, 0.25);
}
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--ac); color: var(--cream); }

/* ---------- progress bar ---------- */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(21, 23, 30, 0.08);
}
.progress__bar { height: 100%; width: 0%; background: var(--ac); }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: clamp(16px, 4vw, 60px);
  padding: 22px var(--pad-x);
  transition: background 420ms ease, backdrop-filter 420ms ease,
              padding 420ms cubic-bezier(.16, 1, .3, 1), border-color 420ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(237, 235, 226, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(21, 23, 30, 0.12);
  padding-top: 13px;
  padding-bottom: 13px;
}

.brand { flex: none; display: flex; align-items: center; gap: 11px; }
.brand__word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.brand__word span { color: rgba(21, 23, 30, 0.38); }
.brand:hover .brand__word { color: var(--ink); }

.site-nav {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a[data-navlink] { color: var(--ink-55); }
.site-nav a[data-navlink]:hover,
.site-nav a[data-navlink].active { color: var(--ac); }

.nav-cta { padding: 11px 18px; background: var(--ink); color: var(--cream); transition: background 280ms ease; }
.nav-cta:hover { background: var(--ac); color: var(--cream); }

/* mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 300ms ease, opacity 300ms ease; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--bg);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--pad-x);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

@media (max-width: 1020px) {
  .site-nav a[data-navlink] { display: none; }
  .nav-toggle { display: flex; }
}

body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px var(--pad-x) 60px;
  overflow: hidden;
}
.hero__geometry {
  position: absolute;
  top: 50%; right: -18%;
  width: min(125vh, 1240px);
  height: min(125vh, 1240px);
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__geometry svg {
  width: 100%; height: 100%;
  animation: idlOrbit 280s linear infinite;
  transform-origin: center;
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.hero__copy { max-width: 640px; }
.hero__kicker { margin-bottom: clamp(20px, 3.5vh, 40px); animation: idlRise 1s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 { font-size: clamp(36px, 5vw, 82px); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; animation: idlRise 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .28s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .4s; }
.hero__lede { margin-top: clamp(24px, 3.5vh, 36px); max-width: 46ch; animation: idlRise 1.1s cubic-bezier(.16, 1, .3, 1) both .5s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 4vh, 44px); animation: idlRise 1.1s cubic-bezier(.16, 1, .3, 1) both .62s; }

/* page hero (interior pages) */
.page-hero {
  position: relative;
  padding: clamp(150px, 24vh, 240px) var(--pad-x) clamp(50px, 8vh, 90px);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 72px); }
.page-hero .label { display: block; margin-bottom: clamp(18px, 3vh, 30px); }
.page-hero__lede { margin-top: clamp(20px, 3vh, 32px); max-width: 56ch; }
.page-hero__rings {
  position: absolute;
  top: -30%; right: -14%;
  width: min(70vh, 720px);
  height: min(70vh, 720px);
  pointer-events: none;
  opacity: 0.8;
}

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

.ticker {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: idlMarquee 40s linear infinite;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.ticker__group { display: flex; gap: 40px; padding-right: 40px; }
.ticker__item { display: flex; gap: 40px; align-items: center; white-space: nowrap; }
.ticker__item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ac);
  flex: none;
}

/* ---------- sections ---------- */

.section { padding: clamp(72px, 12vh, 150px) var(--pad-x); }
.section--flush-bottom { padding-bottom: 0; }
.section--line-top { border-top: 1px solid var(--line-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.section-head .label { display: block; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 68px); max-width: 20ch; }

/* ---------- approach pillars (home) ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.approach-grid__intro { position: sticky; top: 16vh; padding-bottom: 10vh; }
.approach-grid__intro .label { display: block; margin-bottom: 26px; }
.approach-grid__intro h2 { font-size: clamp(34px, 3.8vw, 64px); line-height: 1.05; }
.approach-grid__intro p { margin-top: 26px; max-width: 40ch; font-size: 17px; line-height: 1.6; color: var(--ink-60); text-wrap: pretty; }
.approach-grid__cards { padding-bottom: 8vh; }

.pillar {
  position: sticky;
  margin-bottom: 38vh;
  height: min(64vh, 600px);
  padding: clamp(26px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 -18px 50px rgba(21, 23, 30, 0.14);
}
.pillar--1 { top: calc(11vh + 0vh); background: var(--ac); color: #EDF0FF; }
.pillar--2 { top: calc(11vh + 2.5vh); background: #22242e; color: #E9EBF2; }
.pillar--3 { top: calc(11vh + 5vh); background: var(--lime); color: #1A1D04; }
.pillar__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pillar__glyph {
  width: 64px; height: 64px;
  background-image: radial-gradient(circle, currentColor 2px, transparent 2.7px);
  background-size: 9px 9px;
  opacity: 0.8;
}
.pillar__tag { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.pillar h3 { font-weight: 500; font-size: clamp(40px, 4.4vw, 72px); line-height: 1; }
.pillar__sub { margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.pillar__copy { font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.6; max-width: 46ch; opacity: 0.92; text-wrap: pretty; }

@media (max-width: 860px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid__intro { position: static; padding-bottom: 0; }
  .pillar { position: static; margin-bottom: 20px; height: auto; min-height: 380px; gap: 40px; }
}

/* ---------- product rows ---------- */

.rows { margin-top: clamp(40px, 7vh, 76px); border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: clamp(12px, 2.2vw, 36px);
  align-items: baseline;
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 340ms cubic-bezier(.16, 1, .3, 1), background 300ms ease;
}
.row:hover { padding-left: 18px; background: var(--bg-hover); color: var(--ink); }
.row__num { font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-35); }
.row__name { font-weight: 500; font-size: clamp(26px, 2.8vw, 42px); line-height: 1; }
.row__desc { display: block; font-size: 15.5px; line-height: 1.55; color: var(--ink-60); max-width: 48ch; }
.row__cat {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21, 23, 30, 0.42);
}
.row__meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.row__dot { width: 6px; height: 6px; border-radius: 50%; animation: idlBlinkDot 2.8s ease-in-out infinite; }
.row__dot--sky { background: var(--sky); }
.row__dot--lime { background: var(--lime); }
.row__dot--ac { background: var(--ac); }
.row__arrow {
  display: inline-block;
  margin-left: 2px;
  color: var(--ac);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 320ms cubic-bezier(.16, 1, .3, 1), opacity 260ms ease;
}
.row:hover .row__arrow { transform: translateX(0); opacity: 1; }

@media (max-width: 760px) {
  .row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .row__desc { grid-column: 2; }
  .row__meta { grid-column: 2; justify-self: start; }
}

/* ---------- dark sections ---------- */

.dark {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.dark .label { color: var(--cream-45); }
.dark a:hover { color: var(--sky); }

.sweep {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ac), var(--sky), transparent);
  animation: idlSweep 7s ease-in-out infinite;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.studio-grid h2 { margin-bottom: 22px; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.04; }
.studio-grid .label { display: block; margin-bottom: 24px; }
.studio-grid__lede { margin-bottom: 34px; font-size: 17px; line-height: 1.6; color: var(--cream-62); max-width: 44ch; text-wrap: pretty; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--cream-line);
}
.fact { background: var(--ink); padding: 20px 18px; }
.fact__k { font-weight: 500; font-size: 36px; line-height: 1; }
.fact__v {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-45);
}

/* orbit diagram */
.orbits { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.orbits__ring { position: absolute; border: 1px solid var(--cream-line); border-radius: 50%; }
.orbits__ring--outer { inset: 0; border-color: rgba(237, 235, 226, 0.2); animation: idlOrbit 70s linear infinite; }
.orbits__ring--mid { left: 14%; top: 14%; width: 72%; height: 72%; border-color: rgba(237, 235, 226, 0.14); animation: idlOrbitRev 52s linear infinite; }
.orbits__ring--inner { left: 30%; top: 30%; width: 40%; height: 40%; border-color: rgba(237, 235, 226, 0.28); animation: idlOrbit 34s linear infinite; }
.orbits__sat { position: absolute; border-radius: 50%; }
.orbits__sat--sky { top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; background: var(--sky); }
.orbits__sat--lime { bottom: 2%; left: 46%; width: 7px; height: 7px; background: var(--lime); }
.orbits__sat--ac { top: 44%; right: -4px; width: 8px; height: 8px; background: var(--ac); }
.orbits__core {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--cream);
  animation: idlGlow 4.5s ease-in-out infinite;
}
.orbits__caption {
  position: absolute;
  bottom: 0; left: 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 235, 226, 0.4);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: clamp(90px, 17vh, 200px) var(--pad-x);
  text-align: center;
  overflow: hidden;
}
.cta__rings {
  position: absolute;
  top: 50%; left: 50%;
  width: min(120vw, 900px);
  height: min(120vw, 900px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta__rings div { position: absolute; border-radius: 50%; }
.cta__rings div:nth-child(1) { inset: 0; border: 1px solid var(--line-soft); animation: idlOrbit 80s linear infinite; }
.cta__rings div:nth-child(2) { left: 20%; top: 20%; width: 60%; height: 60%; border: 1px solid rgba(21, 23, 30, 0.1); animation: idlOrbitRev 60s linear infinite; }
.cta__inner { position: relative; max-width: 980px; margin: 0 auto; }
.cta .label { display: block; margin-bottom: 26px; }
.cta h2 { margin-bottom: 26px; font-size: clamp(38px, 6.6vw, 104px); line-height: 0.98; }
.cta__lede { margin: 0 auto 38px; max-width: 48ch; font-size: 18px; line-height: 1.55; color: var(--ink-60); }

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

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(52px, 8vh, 88px) var(--pad-x) 28px;
  overflow: hidden;
}
.site-footer a:hover { color: var(--sky); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--cream-line);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand span { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-tag { font-size: 14.5px; line-height: 1.55; color: var(--cream-55); max-width: 28ch; }
.footer-col h4 {
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-42);
}
.footer-col nav { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--cream-70); }
.footer-col address { font-style: normal; font-size: 14.5px; line-height: 1.65; color: rgba(237, 235, 226, 0.6); }
.footer-word {
  margin: 34px 0 0;
  font-weight: 500;
  font-size: clamp(58px, 16vw, 260px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: rgba(237, 235, 226, 0.14);
  user-select: none;
}
.footer-legal {
  margin-top: 20px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 235, 226, 0.35);
}

/* ---------- product page ---------- */

.product-hero__cat { color: var(--ac); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec { background: var(--bg); padding: clamp(22px, 2.6vw, 36px); }
.spec:hover { background: var(--bg-hover); }
.spec h3 { font-weight: 500; font-size: clamp(19px, 1.7vw, 24px); margin-bottom: 12px; }
.spec p { font-size: 15px; line-height: 1.6; color: var(--ink-60); text-wrap: pretty; }
.spec .label { display: block; margin-bottom: 14px; font-size: 10.5px; }

.metric-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--cream-line);
}
.metric-band .fact__k { font-size: clamp(34px, 3.6vw, 54px); }

.prose-cols {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.prose-cols__sticky { position: sticky; top: 16vh; }
.prose-cols__sticky .label { display: block; margin-bottom: 22px; }
.prose-cols__sticky h2 { font-size: clamp(30px, 3.4vw, 54px); line-height: 1.06; }
.prose-cols__body { font-size: 17px; line-height: 1.7; color: var(--ink-60); display: flex; flex-direction: column; gap: 20px; }
.prose-cols__body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .prose-cols { grid-template-columns: 1fr; }
  .prose-cols__sticky { position: static; }
}

.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.pager a { flex: 1; padding: clamp(24px, 3vw, 40px) 0; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.pager .label { display: block; margin-bottom: 10px; }
.pager__name { font-weight: 500; font-size: clamp(20px, 2.2vw, 30px); }

/* ---------- blog ---------- */

.post-list { margin-top: clamp(40px, 7vh, 76px); border-top: 1px solid var(--line); }
.post-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr) auto;
  gap: clamp(12px, 2.2vw, 36px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 340ms cubic-bezier(.16, 1, .3, 1), background 300ms ease;
}
.post-card:hover { padding-left: 18px; background: var(--bg-hover); color: var(--ink); }
.post-card__title { font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.12; text-wrap: balance; }
.post-card__excerpt { font-size: 15.5px; line-height: 1.55; color: var(--ink-60); max-width: 52ch; }
.post-card__meta {
  justify-self: end;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .post-card { grid-template-columns: 1fr; row-gap: 10px; }
  .post-card__meta { justify-self: start; }
}

.article { padding: clamp(150px, 22vh, 220px) var(--pad-x) clamp(60px, 10vh, 110px); }
.article__inner { max-width: 760px; margin: 0 auto; }
.article__head .label { display: block; margin-bottom: 22px; color: var(--ac); }
.article h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; }
.article__meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.article__body { margin-top: 40px; font-size: 17.5px; line-height: 1.75; color: rgba(21, 23, 30, 0.78); }
.article__body > * + * { margin-top: 22px; }
.article__body h2 {
  margin-top: 52px;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article__body h3 { margin-top: 36px; font-weight: 600; font-size: 20px; color: var(--ink); }
.article__body strong { color: var(--ink); font-weight: 600; }
.article__body a { color: var(--ac); border-bottom: 1px solid rgba(43, 63, 242, 0.3); }
.article__body a:hover { border-bottom-color: var(--ac); }
.article__body ul, .article__body ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.article__body blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  background: var(--bg-hover);
  border-left: 3px solid var(--ac);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}
.article__foot { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }

/* ---------- legal ---------- */

.legal-body { max-width: 760px; font-size: 16px; line-height: 1.7; color: rgba(21, 23, 30, 0.72); }
.legal-body > * + * { margin-top: 18px; }
.legal-body h2 { margin-top: 42px; font-weight: 500; font-size: 26px; color: var(--ink); }
.legal-body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-card { border: 1px solid var(--line); padding: clamp(26px, 3vw, 44px); }
.contact-card:hover { background: var(--bg-hover); }
.contact-card .label { display: block; margin-bottom: 18px; }
.contact-card__big { font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; word-break: break-word; }
.contact-card p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink-60); }

/* ---------- reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1100ms cubic-bezier(.16, 1, .3, 1),
              transform 1100ms cubic-bezier(.16, 1, .3, 1),
              clip-path 1200ms cubic-bezier(.16, 1, .3, 1),
              filter 1000ms ease;
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translate3d(-46px, 0, 0); }
[data-reveal="scale"] { transform: scale(0.92); filter: blur(5px); }
[data-reveal="scale"].in { filter: blur(0); }
[data-reveal="wipe"] { transform: translate3d(-26px, 0, 0); clip-path: inset(0 100% 0 0); }
[data-reveal="wipe"].in { clip-path: inset(0 0 0 0); }
[data-reveal="word"] { display: inline-block; transform: translate3d(0, 0.55em, 0) rotate(2deg); }
[data-reveal="word"].in { transform: none; }

/* ---------- keyframes ---------- */

@keyframes idlOrbit { to { transform: rotate(360deg); } }
@keyframes idlOrbitRev { to { transform: rotate(-360deg); } }
@keyframes idlGlow { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.22); opacity: 1; } }
@keyframes idlRise { 0% { opacity: 0; transform: translateY(120%); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes idlMarquee { to { transform: translateX(-50%); } }
@keyframes idlFire { 0%, 100% { transform: scale(0.7); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes idlDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes idlPop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.25); } 100% { transform: scale(1); opacity: 1; } }
@keyframes idlSweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes idlBlinkDot { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0.15; } }

.logo-mark path { stroke-dasharray: 100; animation: idlDraw 1.6s cubic-bezier(.6, 0, .2, 1) both; }
.logo-mark path:nth-of-type(2) { animation-delay: .25s; }
.logo-mark circle { transform-box: fill-box; transform-origin: center; }
.logo-mark circle:nth-of-type(1) { animation: idlPop 0.6s cubic-bezier(.34, 1.56, .64, 1) both 2.5s; }
.logo-mark circle:nth-of-type(2) { animation: idlPop 0.6s cubic-bezier(.34, 1.56, .64, 1) both 2.7s; }
.logo-mark circle:nth-of-type(3) { animation: idlPop 0.6s cubic-bezier(.34, 1.56, .64, 1) both 2.9s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; filter: none; }
}
