/* Mettlence — static site. Brand: magenta→blue gradient on deep navy, Lexend. */

:root {
  --ink: #07012c;
  --ink-2: #140c4e;
  --ink-3: #231a6b;
  --magenta: #cc03ed;
  --violet: #8d00f8;
  --blue: #3d3efe;
  --grad: linear-gradient(100deg, #cc03ed 0%, #8d00f8 45%, #3d3efe 100%);
  --grad-soft: linear-gradient(135deg, rgba(204, 3, 237, .10), rgba(61, 62, 254, .10));

  --paper: #ffffff;
  --paper-2: #f7f6fd;
  --text: #17132f;
  --muted: #5d5a75;
  --line: #e7e4f3;
  --on-dark: #f4f1ff;
  --on-dark-muted: #b9b3dc;
  --line-dark: rgba(255, 255, 255, .12);

  --f-display: "Lexend", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 19, 47, .04), 0 12px 32px -12px rgba(23, 19, 47, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.on-dark .eyebrow { color: #e3a6ff; }
.accent { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .grad-text { background: linear-gradient(100deg, #f27bff, #9c8cff 60%, #7d7eff); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: var(--on-dark-muted); }
.h-xl { font-size: clamp(40px, 6.4vw, 80px); font-weight: 600; letter-spacing: -.035em; }
.h-lg { font-size: clamp(32px, 4.2vw, 52px); }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  color: #fff; font: 600 16px/1 var(--f-display); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(141, 0, 248, .65);
  transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(141, 0, 248, .75); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-ghost {
  background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--text);
}
.btn-ghost:hover { background: rgba(141, 0, 248, .06); box-shadow: inset 0 0 0 1.5px var(--violet); }
.on-dark .btn-ghost { color: var(--on-dark); }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px #fff; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font: 600 16px var(--f-display); color: var(--violet); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 1, 44, .94);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 21px/1 var(--f-display); letter-spacing: -.02em; }
.brand img { width: 40px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font: 500 15px var(--f-display); position: relative; padding: 6px 0; transition: color .2s; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: #fff; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; margin: 0 auto; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- dark hero ---------- */
.on-dark { background: var(--ink); color: var(--on-dark); }
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 130px); }
.hero-sub { padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); }
.hero { background:
    radial-gradient(55% 60% at 88% 8%, rgba(141, 0, 248, .30), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(61, 62, 254, .28), transparent 70%),
    var(--ink); }

/* Glossy spheres: specular highlight + body gradient + inner shading + outer glow. */
.orb {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, .35) 5%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at 36% 34%, #f39bff 0%, #d22cf6 18%, #9a06f6 42%, #5512d4 66%, #1d0a62 100%);
  box-shadow:
    inset -36px -48px 90px rgba(9, 0, 48, .70),
    inset 14px 18px 40px rgba(255, 196, 255, .28),
    0 0 90px 6px rgba(176, 20, 255, .38);
}
.orb::before { /* rim light on the shadow side */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 78% 82%, rgba(140, 160, 255, .45) 0, rgba(140, 160, 255, 0) 32%);
  mix-blend-mode: screen;
}
.orb-1 { width: 460px; height: 460px; right: -110px; top: -150px; animation: drift 18s ease-in-out infinite; }
.orb-1::after { /* thin orbit ring */
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  border: 1px solid rgba(232, 190, 255, .22);
  transform: rotate(-24deg) scaleY(.32);
}
.orb-2 {
  width: 340px; height: 340px; left: -150px; bottom: -170px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, .25) 5%, rgba(255, 255, 255, 0) 15%),
    radial-gradient(circle at 38% 34%, #9fa4ff 0%, #5d5cff 22%, #3d3efe 45%, #2a1fb0 68%, #0f0a4a 100%);
  box-shadow: inset -30px -40px 80px rgba(6, 0, 40, .7), inset 12px 16px 36px rgba(200, 210, 255, .25), 0 0 80px 4px rgba(61, 62, 254, .35);
  animation: drift 22s ease-in-out infinite reverse;
}
.orb-3 { width: 86px; height: 86px; right: 22%; bottom: 14%; box-shadow: inset -10px -14px 26px rgba(9, 0, 48, .6), inset 4px 6px 12px rgba(255, 196, 255, .3), 0 0 40px 2px rgba(204, 3, 237, .45); animation: float 9s ease-in-out infinite; }
.orb-3::before { display: none; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-14px, 18px); } }
.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero h1 { max-width: 17ch; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-meta div { min-width: 120px; }
.hero-meta strong { display: block; font: 600 clamp(28px, 3.2vw, 40px)/1 var(--f-display); letter-spacing: -.03em; color: #fff; }
.hero-meta span { font-size: 14px; color: var(--on-dark-muted); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; }
.section-head.split > div { max-width: 640px; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card-icon { width: 64px; height: 64px; margin-bottom: 22px; object-fit: contain; }
.card-num { font: 600 14px var(--f-display); color: var(--violet); letter-spacing: .08em; margin-bottom: 18px; display: block; }

/* capability strip with numbered rail */
.capabilities .card { position: relative; overflow: hidden; }
.capabilities .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.capabilities .card:hover::before { transform: scaleX(1); }

/* values */
.values { counter-reset: v; }
.value { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--line); }
.value img { width: 44px; height: 44px; flex: none; }
.value h3 { font-size: 20px; margin: 4px 0 6px; }
.value p { margin: 0; color: var(--muted); font-size: 16px; }
.on-dark .value { border-color: var(--line-dark); }
.on-dark .value p { color: var(--on-dark-muted); }
.on-dark .value img { filter: brightness(1.15); }

/* brands */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-card {
  display: flex; flex-direction: column; text-decoration: none;
  border-radius: var(--radius); padding: 14px 14px 24px; background: var(--paper);
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.shot { border-radius: 12px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1effa; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d4ec; }
.shot-bar i:first-child { background: #f39bff; } .shot-bar i:nth-child(2) { background: #b9a4ff; } .shot-bar i:nth-child(3) { background: #8f90ff; }
.shot-bar b { margin-left: 10px; font: 500 12px var(--f-body); color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.brand-card:hover .shot img { transform: scale(1.03); }
.brand-meta { padding: 20px 10px 0; display: flex; flex-direction: column; flex: 1; }
.brand-meta h3 { font-size: 21px; margin: 0 0 6px; }
.brand-meta p { color: var(--muted); margin: 0 0 14px; font-size: 15.5px; }
.brand-meta .link-arrow { margin-top: auto; font-size: 15px; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stat strong { display: block; font: 600 clamp(38px, 4.6vw, 60px)/1 var(--f-display); letter-spacing: -.04em; margin-bottom: 14px; }
.stat p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }

/* split / story */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.prose p { color: var(--muted); }
.prose p:first-of-type { color: var(--text); font-size: 19px; }
.founders-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--grad-soft); position: relative; }
.founders-photo img { width: 100%; }
.founders-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(7, 1, 44, .78); backdrop-filter: blur(8px); color: #fff; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 14px; }
.founders-photo figcaption strong { display: block; font: 600 17px var(--f-display); }
.sticky { position: sticky; top: 100px; }
.signature { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.signature strong { display: block; font: 600 18px var(--f-display); }
.signature span { color: var(--muted); font-size: 15px; }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 20px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 14px; transition: transform .3s; }
.member:hover img { transform: scale(1.02); }
.member strong { display: block; font: 600 17px/1.3 var(--f-display); }
.member span { color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(40px, 6vw, 72px); background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-band .orb-1 { width: 300px; height: 300px; right: -90px; top: -140px; }
.cta-band .orb-1::after { display: none; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 56ch; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 15px var(--f-display); }
.step::after { content: ""; position: absolute; top: 23px; left: 58px; right: -12px; border-top: 2px dashed var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.benefit:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* roles */
.role-group h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.role { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.role strong { font: 600 18px/1.35 var(--f-display); }
.role p { margin: 0; color: var(--muted); font-size: 16px; }

/* quotes */
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote blockquote::before { content: "“"; display: block; font: 400 64px/0.6 var(--f-accent); color: var(--magenta); margin-bottom: 8px; }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font: 600 16px var(--f-display); }
.quote figcaption span { color: var(--muted); font-size: 14px; }

/* news */
.post-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 20px; margin: 0; }
.post-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.meta { font: 500 13px var(--f-display); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* article */
.article { max-width: 720px; margin: 0 auto; }
.article-hero { max-width: 900px; margin: clamp(-80px, -6vw, -48px) auto 0; padding: 0; position: relative; }
.article-hero img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.article p, .article li { font-size: 18px; line-height: 1.75; color: #2b2747; }
.article h2 { font-size: 26px; margin-top: 1.6em; }
.article strong { color: var(--text); }
.article blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--magenta); }
.article blockquote p { font-size: 19px; color: var(--text); }
.back-link { display: inline-flex; gap: 8px; margin-bottom: 26px; color: var(--on-dark-muted); text-decoration: none; font: 500 15px var(--f-display); }
.back-link:hover { color: #fff; }

/* legal */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin-top: 2em; }
.legal p, .legal li { color: #2b2747; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .see-also { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); color: var(--muted); }
.legal a { color: var(--violet); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-item .dot { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.contact-item .dot svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2px 0 6px; }
.contact-item p, .contact-item a { margin: 0; font-size: 16px; color: var(--text); }
.contact-item a { text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: var(--violet); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 500 14px var(--f-display); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(141, 0, 248, .12); }
.hp { position: absolute; left: -5000px; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status[data-state="ok"] { color: #0f7a4a; }
.form-status[data-state="error"] { color: #b42318; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; }
.footer-h { font: 600 13px var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer address { line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: inline-flex; gap: 10px; align-items: center; }
.footer-social svg { flex: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-base p { margin: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .g-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .site-nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; min-height: 48px; }
  .g-2, .g-3, .split, .contact-grid, .cta-band, .brand-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .role { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .g-4, .steps, .stats, .benefits { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .stat, .stat + .stat { padding: 0 0 26px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .stat:last-child { border-bottom: 0; }
  .benefit, .benefit:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .card { padding: 24px; }
  .orb-1 { width: 280px; height: 280px; right: -120px; top: -110px; }
  .orb-2 { width: 220px; height: 220px; left: -110px; bottom: -120px; }
  .orb-3 { width: 56px; height: 56px; right: 10%; bottom: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
