/* twofiveone — shared design system
   Tokens and components used across every page. Page-specific styles live
   in a small <style> block in each page's <head>. */

/* ---------- tokens ---------- */
:root {
  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --accent: #1F5EFF;
  --accent-hover: #1348D6;
  --accent-dark: #93B0FF;
  --accent-dark-hover: #B9CCFF;
  --accent-tint: #DCE5FF;
  --paper: #F5F5F2;
  --paper-soft: #E8EAEE;
  --ink: #14161A;
  --ink-60: #4C525B;
  --ink-50: #666D76;
  --ink-40: #8A929C;
  --line: rgba(20, 22, 26, 0.14);
  --line-soft: rgba(20, 22, 26, 0.12);
  --on-dark: #A9B2BE;
  --on-dark-strong: #E4E8EE;
  --gutter: clamp(20px, 5vw, 40px);
  --pad-y: clamp(64px, 9vw, 104px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent-tint); color: var(--ink); }

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

.container { max-width: 1180px; margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--paper); }

/* ---------- animations ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 4%) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 22, 26, 0.09);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-dot { color: var(--accent); }

.nav-desktop { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--ink-60); transition: color .2s; }
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .25s;
}
.btn-dark:hover { background: var(--accent); color: var(--paper); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(20, 22, 26, 0.16);
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px clamp(16px, 4vw, 40px) 20px;
  border-top: 1px solid rgba(20, 22, 26, 0.08);
  animation: fadeIn .2s ease both;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.nav-mobile a[aria-current="page"] { color: var(--accent); }
.nav-mobile .btn-dark {
  margin-top: 8px;
  justify-content: center;
  padding: 16px 20px;
  font-size: 16px;
  color: var(--paper);
}

@media (max-width: 859px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 112px) var(--gutter) 96px;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.blob-a {
  top: -180px; right: -140px;
  width: 620px; height: 620px;
  background: radial-gradient(circle at 35% 35%, rgba(31, 94, 255, 0.22), rgba(246, 246, 244, 0) 68%);
  animation: drift 18s ease-in-out infinite;
}
.blob-b {
  bottom: -220px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(31, 94, 255, 0.16), rgba(246, 246, 244, 0) 70%);
  animation: drift 24s ease-in-out infinite reverse;
}
.hero-inner { position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(20, 22, 26, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  background: rgba(255, 255, 255, 0.5);
  animation: riseIn .7s cubic-bezier(.2,.8,.2,1) both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #26A66E;
  box-shadow: 0 0 0 4px rgba(38, 166, 110, 0.18);
}

.hero-h1 {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 17ch;
  animation: riseIn .8s cubic-bezier(.2,.8,.2,1) .08s both;
}
/* The rotator stacks an invisible copy of every word (.rotator-sizer) in one
   grid cell, so the block is always as tall as its tallest word at the current
   width. Without this, a word wrapping to two lines while the next fits on one
   makes the whole page jump on each rotation. */
.rotator {
  display: grid;
  position: relative;
  width: fit-content;
  color: var(--accent);
}
.rotator > * { grid-area: 1 / 1; }
.rotator-sizer {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}
.rotator-live {
  position: relative;
  align-self: start;
  justify-self: start;
  width: fit-content;
}
.rotator-underline {
  position: absolute;
  left: 0; right: 0;
  bottom: 0.1em;
  height: 2px;
  background: rgba(31, 94, 255, 0.3);
  transform-origin: left;
  animation: underline .6s cubic-bezier(.2,.8,.2,1) both;
}

.hero-p {
  margin: 30px 0 0;
  max-width: 52ch;
  font-size: 19.5px;
  line-height: 1.62;
  color: var(--ink-60);
  text-wrap: pretty;
  animation: riseIn .8s cubic-bezier(.2,.8,.2,1) .16s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  animation: riseIn .8s cubic-bezier(.2,.8,.2,1) .24s both;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(31, 94, 255, 0.55);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn-accent:hover {
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -14px rgba(31, 94, 255, 0.62);
}
.btn-accent .arrow { font-size: 18px; line-height: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(20, 22, 26, 0.2);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: background .25s, border-color .25s;
}
.btn-ghost:hover {
  background: rgba(20, 22, 26, 0.05);
  border-color: rgba(20, 22, 26, 0.35);
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  margin-top: 76px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  animation: riseIn .9s cubic-bezier(.2,.8,.2,1) .34s both;
}
.stat {
  background: #FFFFFF;
  padding: 26px 28px;
  /* Lets the heading size itself against this card's width rather than the
     viewport, so it stays on one line however the grid reflows. */
  container-type: inline-size;
}
.stat-h {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;

  /* Plain fallback for browsers without container query units. */
  font-size: 40px;
  /* 40px is the design size, but the longest heading, "Found everywhere",
     measures 8.494em in Archivo 600 (measured from the font's own advance
     widths). An exact fit is 11.77cqi; 11cqi fills 93.4% of the card, leaving
     margin for the fallback font before Archivo loads. All three cards are the
     same width, so they all resolve to the same size and stay visually even.
     Raise this above ~11.7 and "Found everywhere" will overflow. */
  font-size: min(40px, 11cqi);
}
.stat p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-50); }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid rgba(20, 22, 26, 0.1);
  border-bottom: 1px solid rgba(20, 22, 26, 0.1);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  white-space: nowrap;
  opacity: 0.9;
}
.marquee-item i {
  color: var(--accent-dark);
  font-size: 14px;
  font-style: normal;
}

/* ---------- generic section ---------- */
.section { padding: var(--pad-y) var(--gutter); }
.section-dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-dark .eyebrow { color: var(--accent-dark); }

.h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}
.section-note {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-50);
}

/* ---------- row lists (work / process / proof) ---------- */
.work-list { border-top: 1px solid var(--line); }
.work-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 24px clamp(12px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background .3s;
}
.work-row:hover { background: #FFFFFF; color: var(--ink); }
.work-num { font-size: 13px; font-weight: 600; color: var(--ink-40); letter-spacing: 0.06em; }
.work-name {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.work-tags { flex: 1 1 190px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 12px;
  border: 1px solid rgba(20, 22, 26, 0.18);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-60);
  white-space: nowrap;
}
.work-visit {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.work-visit span { font-size: 17px; }
/* Rows without a live link carry an invisible copy of the visit label, so
   their tag column lines up with the linked rows around them. */
.work-visit-ghost { visibility: hidden; }

/* ---------- service / pillar cards (dark sections) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 32px 36px;
  border: 1px solid rgba(246, 246, 244, 0.16);
  border-radius: 20px;
  background: rgba(246, 246, 244, 0.035);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s, border-color .35s;
}
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(246, 246, 244, 0.075);
  border-color: rgba(147, 176, 255, 0.55);
}
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-num { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-40); }
.service-mark { font-size: 22px; color: var(--accent-dark); }
.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.service-card > p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--on-dark); text-wrap: pretty; }

.ticks {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--on-dark-strong);
}
.ticks li::before {
  content: "\25C6";
  flex: none;
  color: var(--accent-dark);
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 32px;
  border-radius: 20px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.plan:hover { transform: translateY(-5px); }
.plan-light { border: 1px solid var(--line-soft); background: #FFFFFF; color: var(--ink); }
.plan-dark { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.plan-price-row { display: flex; align-items: baseline; gap: 8px; }
.plan-pre { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.6; }
.plan-price { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1; }
.plan-unit { font-size: 14px; opacity: 0.7; }
.plan > p { margin: 0; font-size: 15px; line-height: 1.6; opacity: 0.8; text-wrap: pretty; }

.plan .ticks { margin-top: 8px; }
.plan .ticks li { color: inherit; }
.plan .ticks li::before { color: inherit; opacity: 0.55; }

.pricing-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 5vw, 34px) clamp(20px, 4.5vw, 32px);
  border-radius: 20px;
  border: 1px solid var(--line-soft);
}
.panel-white { background: #FFFFFF; }
.panel-grey { background: var(--paper-soft); }
.panel h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-60); text-wrap: pretty; }
.poa-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.poa-price { display: flex; align-items: baseline; gap: 8px; }
.poa-price b { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1; }
.poa-price span { font-size: 14px; color: var(--ink-50); }

.feature-grid {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px;
}
.feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.feature-grid li::before {
  content: "\25C6";
  flex: none;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.6;
}

.extras-list { list-style: none; margin: 4px 0 0; padding: 0; }
.extras-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
}
.extras-list li span { flex: none; font-size: 13.5px; color: var(--ink-50); white-space: nowrap; }

/* ---------- testimonials ---------- */
.testimonials { padding: 0 var(--gutter) var(--pad-y); }
.testimonials-inner {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--paper-soft);
  border: 1px solid rgba(20, 22, 26, 0.1);
}
.testimonials-inner .eyebrow { margin-bottom: 36px; display: block; }
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 30px 28px;
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid rgba(20, 22, 26, 0.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -26px rgba(20, 22, 26, 0.35);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-hover);
}
.quote-who { display: flex; flex-direction: column; }
.quote-who b { font-size: 14.5px; font-weight: 600; }
.quote-who span { font-size: 13px; color: var(--ink-50); }

/* ---------- faq ---------- */
.faq { padding: 0 var(--gutter) var(--pad-y); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.faq-intro h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.faq-intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-50); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-sign {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(20, 22, 26, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--ink-60);
}
.faq-a {
  margin: 0;
  padding: 0 60px 26px 4px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-60);
  text-wrap: pretty;
  animation: fadeIn .3s ease both;
}
.faq-a[hidden] { display: none; }

/* ---------- contact ---------- */
.contact { padding: var(--pad-y) var(--gutter); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}
.contact-intro h2 {
  margin: 14px 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
.contact-intro > p {
  margin: 0 0 36px;
  max-width: 44ch;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--on-dark);
  text-wrap: pretty;
}
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-links a,
.contact-links span.line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: var(--paper);
}
.contact-links a:hover { color: var(--accent-dark); }
.contact-links i { color: var(--accent-dark); font-style: normal; }

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(246, 246, 244, 0.16);
  border-radius: 22px;
  background: rgba(246, 246, 244, 0.04);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label,
.field > span:first-child {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--on-dark);
}
.input, .textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(246, 246, 244, 0.22);
  background: rgba(20, 22, 26, 0.4);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.textarea { line-height: 1.55; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--accent-dark); }
.input::placeholder, .textarea::placeholder { color: rgba(169, 178, 190, 0.75); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(246, 246, 244, 0.22);
  background: rgba(246, 246, 244, 0.04);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .22s;
}
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
}

.submit {
  margin-top: 6px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, opacity .2s;
}
.submit:hover:not(:disabled) { background: var(--accent-dark-hover); transform: translateY(-2px); }
.submit:disabled { opacity: 0.6; cursor: progress; }

.form-error {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #FFB4A2;
}
.form-error[hidden] { display: none; }

.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.sent-panel {
  padding: 44px 36px;
  border: 1px solid rgba(147, 176, 255, 0.55);
  border-radius: 22px;
  background: rgba(246, 246, 244, 0.06);
  animation: riseIn .5s cubic-bezier(.2,.8,.2,1) both;
}
.sent-panel[hidden] { display: none; }
.sent-panel b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  display: block;
}
.sent-panel p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--on-dark); }

/* ---------- light form variant (contact page) ---------- */
.form-light {
  background: #FFFFFF;
  border-color: rgba(20, 22, 26, 0.12);
}
.form-light .field-label,
.form-light .field > span:first-child { color: var(--ink-60); }
.form-light .input,
.form-light .textarea {
  background: var(--paper);
  border-color: rgba(20, 22, 26, 0.18);
  color: var(--ink);
}
.form-light .input:focus,
.form-light .textarea:focus { border-color: var(--accent); }
.form-light .input::placeholder,
.form-light .textarea::placeholder { color: var(--ink-40); }
.form-light .chip {
  border-color: rgba(20, 22, 26, 0.18);
  background: var(--paper);
  color: var(--ink-60);
}
.form-light .chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
}
.form-light .submit { background: var(--accent); color: #FFFFFF; }
.form-light .submit:hover:not(:disabled) { background: var(--accent-hover); }
.form-light .form-error { color: #C0392B; }

.sent-panel-light {
  border-color: rgba(31, 94, 255, 0.45);
  background: #FFFFFF;
}
.sent-panel-light p { color: var(--ink-60); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 36px var(--gutter) 40px;
  border-top: 1px solid rgba(246, 246, 244, 0.16);
}
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--paper); }
.footer-brand:hover { color: var(--paper); }
.footer-brand i { color: var(--accent-dark); font-style: normal; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; }
.footer-nav a { color: var(--on-dark); transition: color .2s; }
.footer-nav a:hover { color: var(--paper); }
.footer-nav a[aria-current="page"] { color: var(--paper); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 246, 244, 0.12);
  font-size: 13.5px;
  color: var(--ink-40);
}
.footer-meta a { color: var(--on-dark); }
.footer-meta a:hover { color: var(--paper); }

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
