/* Arsofic — design system. Dark-first, editorial, teal as a deliberate accent. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #08090b;
  --coal: #111318;
  --coal-2: #171a20;
  --paper: #f3f1eb;
  --paper-2: #c9c8c2;
  --teal: #43d6be;
  --teal-dim: rgb(67 214 190 / 0.14);
  --graphite: #8b919b;
  --line: rgb(243 241 235 / 0.12);
  --line-2: rgb(243 241 235 / 0.22);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

.meta { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); }
.h-xl { font-size: clamp(2rem, 4.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; max-width: 18ch; margin-top: 22px; text-wrap: balance; }
.h-xxl { font-size: clamp(2.4rem, 6.4vw, 5.9rem); line-height: 1; letter-spacing: -0.04em; font-weight: 500; max-width: 16ch; margin-top: 22px; text-wrap: balance; }
.h-xl em, .h-xxl em, .display em { color: var(--paper); font-size: 1.06em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--paper-2); max-width: 46ch; }
.lede p + p { margin-top: 1em; }
.note { color: var(--graphite); font-size: 0.92rem; max-width: 60ch; margin-top: 18px; }
.n { font: 500 0.75rem var(--mono); letter-spacing: 0.1em; color: var(--teal); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; background: var(--paper); color: var(--ink); border: 1px solid var(--paper); border-radius: 999px; font: 600 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn-sm { padding: 11px 18px; font-size: 0.85rem; }
.arr { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(5px); }
.link[href="#problem"]:hover .arr { transform: translateY(4px); }
.link { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 1px solid var(--line-2); transition: border-color 0.25s; }
.link:hover { border-color: var(--teal); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgb(8 9 11 / 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.18em; font-size: 0.86rem; }
.logo svg { width: 22px; height: 22px; fill: var(--teal); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-links a:not(.btn) { text-decoration: none; font-size: 0.88rem; color: var(--paper-2); position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--paper); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 96px var(--pad) 40px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: clamp(1.9rem, 8vw, 2.8rem); letter-spacing: -0.03em; color: var(--paper); padding: 8px 0; }
  .nav-links .btn { margin-top: 24px; padding: 16px 24px; font-size: 0.95rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 1100px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(8 9 11 / 0.92) 0%, rgb(8 9 11 / 0.55) 42%, transparent 70%),
  linear-gradient(0deg, var(--ink) 0%, transparent 26%); }
.hero-in { padding-top: 120px; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(20px, 4vh, 44px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-dim); }
.meta-r { margin-left: auto; color: var(--paper-2); }
.display { font-size: clamp(2.6rem, min(7.4vw, 12.6vh), 7.6rem); line-height: 0.96; letter-spacing: -0.045em; font-weight: 500; }
.display .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.display .line > span { display: inline-block; }
.js .display .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .display .line:nth-child(2) > span { animation-delay: 0.09s; }
.js .display .line:nth-child(3) > span { animation-delay: 0.18s; }
.js .display .line:nth-child(4) > span { animation-delay: 0.27s; }
@keyframes rise { to { transform: none; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 30rem) auto; justify-content: space-between; align-items: end; gap: 28px 48px; margin-top: clamp(24px, 4.5vh, 52px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero-sub { color: var(--paper-2); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-legend { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.hero-legend i { flex: 0 1 120px; height: 1px; background: linear-gradient(90deg, var(--graphite), var(--teal)); }
.hero-legend span:last-child { color: var(--teal); }
@media (max-width: 820px) {
  .hero-foot { grid-template-columns: 1fr; }
  .meta-r { display: none; }
  .hero-veil { background: linear-gradient(0deg, var(--ink) 4%, rgb(8 9 11 / 0.72) 55%, rgb(8 9 11 / 0.35) 100%); }
}

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 13vw, 190px) 0; position: relative; }
.sec-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--coal) 0%, var(--ink) 100%); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; align-items: start; } }

/* problem list */
.frictions { margin-top: clamp(40px, 6vw, 84px); border-top: 1px solid var(--line); }
.frictions li { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 32px; align-items: baseline; padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding 0.4s var(--ease); }
.frictions li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.frictions h3 { font-size: clamp(1.25rem, 2.5vw, 2.15rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; transition: color 0.3s; }
.frictions p { color: var(--graphite); font-size: 0.98rem; transition: color 0.3s; }
@media (hover: hover) {
  .frictions:hover h3 { color: var(--graphite); }
  .frictions li:hover { padding-left: 14px; }
  .frictions li:hover h3 { color: var(--paper); }
  .frictions li:hover p { color: var(--paper-2); }
  .frictions li:hover::before { transform: scaleX(1); }
}
@media (max-width: 760px) { .frictions li { grid-template-columns: 40px 1fr; } .frictions p { grid-column: 2; } }

/* philosophy morph */
.morph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border: 1px solid var(--line); }
.morph li { padding: clamp(20px, 2.6vw, 36px); position: relative; }
.morph li + li { border-left: 1px solid var(--line); }
.morph li + li::before { content: "→"; position: absolute; left: -0.55em; top: 50%; translate: 0 -50%; font: 400 1.4rem var(--sans); color: var(--teal); background: var(--coal); padding: 6px 0; }
.morph svg { width: 100%; height: auto; margin-bottom: 22px; fill: none; stroke: var(--paper-2); stroke-width: 1.2; }
.morph h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 8px; }
.morph p:not(.meta) { color: var(--graphite); font-size: 0.95rem; }
.m1 .frag rect { fill: var(--coal-2); stroke: var(--graphite); }
.m1 .dash path { stroke: var(--graphite); stroke-dasharray: 3 5; opacity: 0.6; }
.m2 .wire path { stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 400; stroke-dashoffset: 400; }
.m2 .node rect { fill: var(--coal-2); }
.m2 .core { fill: var(--teal); stroke: none; }
.m2 .halo { stroke: var(--teal); opacity: 0.35; }
.m3 .grid path { stroke: var(--line-2); stroke-width: 1; }
.m3 .trend { stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.m3 .pts circle { fill: var(--ink); stroke: var(--teal); stroke-width: 1.6; }
.morph.in .m2 .wire path, .morph.in .m3 .trend { animation: draw 1.8s var(--ease) 0.4s forwards; }
html:not(.js) .m2 .wire path, html:not(.js) .m3 .trend { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (hover: hover) { .m1:hover .frag rect { animation: jitter 0.9s ease-in-out infinite alternate; } }
@keyframes jitter { to { translate: 2px -2px; } }
@media (max-width: 860px) {
  .morph { grid-template-columns: 1fr; }
  .morph li + li { border-left: 0; border-top: 1px solid var(--line); }
  .morph li + li::before { content: "↓"; left: 50%; top: -0.9em; translate: -50% 0; padding: 0 10px; }
  .morph svg { max-width: 300px; }
}

/* services */
.services { margin-top: clamp(40px, 6vw, 84px); border-top: 1px solid var(--line-2); }
.svc { border-bottom: 1px solid var(--line-2); }
.svc h3 { font: inherit; }
.svc button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 0 20px; padding: clamp(22px, 3vw, 40px) 0; cursor: pointer; }
.svc button:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.svc .t { font-size: clamp(1.5rem, 4.2vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; color: var(--paper-2); transition: color 0.3s, transform 0.5s var(--ease); }
.svc.open .t, .svc button:hover .t { color: var(--paper); }
.svc button:hover .t { transform: translateX(10px); }
.pm { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; transition: background 0.3s, border-color 0.3s, transform 0.5s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--paper); translate: -50% -50%; transition: transform 0.4s var(--ease), background 0.3s; }
.pm::after { transform: rotate(90deg); }
.svc.open .pm { background: var(--teal); border-color: var(--teal); transform: rotate(180deg); }
.svc.open .pm::before, .svc.open .pm::after { background: var(--ink); }
.svc.open .pm::after { transform: rotate(0deg); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.svc.open .svc-body { grid-template-rows: 1fr; }
html:not(.js) .svc-body { grid-template-rows: 1fr; }
.svc-grid { overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); padding-left: 84px; }
.svc-grid > div { padding-bottom: clamp(26px, 3.4vw, 44px); border-top: 1px solid var(--line); padding-top: 18px; }
.svc-grid p:not(.meta) { margin-top: 10px; color: var(--paper-2); font-size: 0.98rem; }
.svc-grid > div:last-child .meta { color: var(--teal); }
@media (max-width: 860px) { .svc button { grid-template-columns: 40px 1fr 44px; gap: 0 10px; } .svc-grid { grid-template-columns: 1fr; padding-left: 0; } .svc-grid > div { padding-bottom: 18px; } .svc-grid > div:last-child { padding-bottom: 30px; } }

/* industries */
.explorer { display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); }
.ind-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ind-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--graphite); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; transition: color 0.25s, padding 0.35s var(--ease); }
.ind-tabs button::after { content: "→"; color: var(--teal); opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.35s var(--ease); }
.ind-tabs button:hover { color: var(--paper); }
.ind-tabs button[aria-selected="true"] { color: var(--paper); padding-left: 12px; }
.ind-tabs button[aria-selected="true"]::after { opacity: 1; transform: none; }
.ind-tabs button:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.ind-panel { border: 1px solid var(--line); background: var(--ink); padding: clamp(22px, 3.4vw, 52px); min-height: 100%; position: relative; }
.ind-panel::before, .ind-panel::after { content: ""; position: absolute; width: 14px; height: 14px; border: solid var(--teal); }
.ind-panel::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.ind-panel::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.js .ind-panel:not([hidden]) { animation: panel 0.5s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(10px); } }
html:not(.js) .ind-panel[hidden] { display: block; margin-top: 16px; }
.ind-panel h3 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin-bottom: clamp(22px, 3vw, 40px); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 48px); }
.cols li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line); color: var(--paper-2); position: relative; font-size: 0.98rem; }
.cols li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 8px; height: 1px; background: var(--graphite); }
.cols > div:last-child li::before { background: var(--teal); height: 2px; }
.cols .meta { margin-bottom: 12px; }
.cols > div:last-child .meta { color: var(--teal); }
@media (max-width: 860px) {
  .explorer { grid-template-columns: 1fr; }
  .ind-tabs { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .ind-tabs button { white-space: nowrap; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-size: 0.9rem; }
  .ind-tabs button::after { display: none; }
  .ind-tabs button[aria-selected="true"] { padding-left: 16px; background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .cols { grid-template-columns: 1fr; }
}

/* journey */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 100px); position: relative; --p: 0; }
.journey::before, .journey::after { content: ""; position: absolute; left: 0; top: 5px; height: 1px; }
.journey::before { width: 100%; background: var(--line-2); }
.journey::after { width: calc(var(--p) * 100%); background: var(--teal); transition: width 0.2s linear; }
.journey li { padding: 36px clamp(12px, 1.6vw, 28px) 0 0; position: relative; }
.journey li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--graphite); z-index: 1; transition: background 0.4s, border-color 0.4s, box-shadow 0.4s; }
.journey li.on::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 5px var(--teal-dim); }
.journey h3 { font-size: clamp(1.35rem, 2.3vw, 2.1rem); font-weight: 500; letter-spacing: -0.035em; margin: 10px 0 12px; }
.journey p { color: var(--graphite); font-size: 0.94rem; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; padding-left: 30px; }
  .journey::before, .journey::after { left: 5px; top: 0; width: 1px; height: 100%; }
  .journey::after { height: calc(var(--p) * 100%); width: 1px; transition: height 0.2s linear; }
  .journey li { padding: 0 0 34px; }
  .journey li::before { left: -30px; top: 5px; }
}

/* trust */
.trust { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 6vw, 84px); align-items: start; }
.commit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.commit > div { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); }
.commit > div:nth-child(odd) { border-right: 1px solid var(--line); }
.commit > div:nth-child(even) { padding-left: 26px; }
.commit dt { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.commit dt::before { content: ""; width: 7px; height: 7px; background: var(--teal); rotate: 45deg; flex: none; }
.commit dd { color: var(--graphite); font-size: 0.95rem; }
.honest { border: 1px solid var(--line-2); padding: clamp(22px, 2.6vw, 34px); background: var(--ink); position: sticky; top: 100px; }
.honest p:not(.meta) { margin-top: 14px; color: var(--paper-2); font-size: 0.98rem; }
.honest p:nth-child(2) { font-size: 1.15rem; color: var(--paper); line-height: 1.45; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } .honest { position: static; } }
@media (max-width: 600px) { .commit { grid-template-columns: 1fr; } .commit > div, .commit > div:nth-child(odd), .commit > div:nth-child(even) { padding: 22px 0; border-right: 0; } }

/* work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 6vw, 84px); }
.slot { grid-column: span 6; }
.slot-lg { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: end; }
.frame { position: relative; aspect-ratio: 16 / 9; background:
  repeating-linear-gradient(135deg, transparent 0 14px, rgb(243 241 235 / 0.035) 14px 15px), var(--coal); display: grid; place-items: center; }
.slot-lg .frame { aspect-ratio: 16 / 8; }
.frame span { position: absolute; width: 18px; height: 18px; border: solid var(--line-2); }
.frame span:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.frame span:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.frame span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.frame span:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.slot-txt { padding-top: 16px; }
.slot h3 { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 8px; }
.slot p:not(.meta) { color: var(--graphite); font-size: 0.95rem; max-width: 40ch; }
.slot-cta { border: 1px solid var(--teal); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: radial-gradient(120% 90% at 100% 0%, var(--teal-dim), transparent 60%); }
.slot-cta .meta { color: var(--teal); margin-bottom: auto; padding-bottom: 40px; }
.slot-cta .link { align-self: flex-start; margin-top: 12px; }
@media (max-width: 860px) { .slot, .slot-lg { grid-column: span 12; } .slot-lg { grid-template-columns: 1fr; } }

/* why */
.about-split { margin-top: clamp(40px, 6vw, 84px); align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); }
.why li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.why p { color: var(--graphite); font-size: 0.94rem; margin-top: 4px; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* faq */
.faq-split { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -0.02em; position: relative; transition: color 0.25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 300 1.6rem var(--sans); color: var(--teal); transition: rotate 0.35s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--teal); }
.faq details p { color: var(--paper-2); padding: 0 44px 26px 0; max-width: 62ch; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } }

/* contact */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.glow { position: absolute; right: -20%; top: -30%; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(closest-side, rgb(67 214 190 / 0.16), transparent 70%); pointer-events: none; }
.contact .wrap { position: relative; }
.contact .h-xxl { max-width: 19ch; }
.contact-split { align-items: start; margin-top: clamp(40px, 6vw, 84px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.next { margin: 30px 0 34px; border-top: 1px solid var(--line); }
.next li { display: grid; grid-template-columns: 34px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--paper-2); font-size: 0.98rem; }
.next span { font: 500 0.75rem/1.9 var(--mono); color: var(--teal); }
.mail { font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color 0.25s, color 0.25s; }
.mail:hover { color: var(--teal); border-color: var(--teal); }
.form { display: grid; gap: 22px; background: rgb(17 19 24 / 0.72); border: 1px solid var(--line-2); padding: clamp(20px, 3vw, 40px); backdrop-filter: blur(8px); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form label { display: grid; gap: 8px; font: 500 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); }
.opt { text-transform: none; letter-spacing: 0; color: var(--graphite); opacity: 0.8; }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0; border-radius: 0; width: 100%; transition: border-color 0.25s; }
.form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2343d6be' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center / 12px; padding-right: 26px; }
.form option { background: var(--coal); color: var(--paper); }
.form textarea { resize: vertical; min-height: 110px; }
.form ::placeholder { color: var(--graphite); opacity: 0.75; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 1px 0 0 var(--teal); }
.form [aria-invalid="true"] { border-color: #ff8f80; }
.form .btn { justify-self: start; }
.form-msg { font-size: 0.95rem; color: var(--paper-2); min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.err { color: #ff8f80; }
.form-msg.ok { color: var(--teal); }
.fine { font-size: 0.82rem; color: var(--graphite); }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.foot-line { color: var(--graphite); font-size: 0.92rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: var(--paper-2); font-size: 0.88rem; }
.foot nav a:hover { color: var(--teal); }
.foot .meta { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr; } }

/* legal page */
.legal { padding: 140px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 14px; }
.legal h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 8px; }
.legal p { color: var(--paper-2); margin-top: 10px; }
.legal a { color: var(--teal); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .display .line > span { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ind-panel:not([hidden]) { animation: none; }
  .m2 .wire path, .m3 .trend { stroke-dashoffset: 0; animation: none; }
}
