/* ============================================================
   Nexora Technologies — editorial design system
   Instrument Serif display · Instrument Sans text
   Bone paper, ink, one burnt accent. No build step.
   ============================================================ */

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-var-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- tokens ---------- */

:root {
  --paper: #f4f0e7;
  --paper-2: #eee9dd;
  --paper-3: #e6e0d1;
  --ink: #12161a;
  --ink-2: #1a2025;
  --text: #1b2126;
  --muted: #5b6266;
  --muted-2: #868c8f;
  --dim: #a9b0b3;
  --dim-2: #757c80;
  --line: rgba(18, 22, 26, 0.14);
  --line-2: rgba(18, 22, 26, 0.26);
  --line-d: rgba(244, 240, 231, 0.16);
  --paper-t: #f4f0e7;
  --accent: #bc3f18;
  --accent-2: #9c3212;
  --accent-wash: rgba(188, 63, 24, 0.09);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --gut: clamp(20px, 4.6vw, 56px);
  --gap: clamp(20px, 2.4vw, 32px);
  --sec: clamp(72px, 8.4vw, 124px);
  --hdr: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
}

em {
  font-style: italic;
}

::selection {
  background: rgba(188, 63, 24, 0.16);
}

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

[id] {
  scroll-margin-top: calc(var(--hdr) + 24px);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper-t);
  padding: 12px 18px;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 16px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sec {
  padding: var(--sec) 0;
}

.sec--tight {
  padding: clamp(56px, 6vw, 92px) 0;
}

.sec--alt {
  background: var(--paper-2);
}

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__n {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}

/* section head: label + title left, note right */

.head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(36px, 4.6vw, 64px);
}

.head .eyebrow {
  margin-bottom: 20px;
}

.head h2 {
  max-width: 22ch;
}

.head__note {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 42ch;
  padding-bottom: 0.35em;
}

/* ---------- buttons & links ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper-t);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.9em 1.35em;
  border: 1px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn .arw {
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  --bg: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn:hover .arw {
  transform: translate(2px, -2px);
}

.btn--accent {
  --bg: var(--accent);
  --fg: #fff;
  border-color: var(--accent);
}

.btn--accent:hover {
  --bg: var(--accent-2);
  border-color: var(--accent-2);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  --bg: var(--ink);
  --fg: var(--paper-t);
  border-color: var(--ink);
}

.btn--sm {
  padding: 0.7em 1.05em;
  font-size: 0.8125rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link .arw {
  transition: transform 0.35s var(--ease);
}

.link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.link:hover .arw {
  transform: translate(2px, -2px);
}

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

.hdr {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper);
}

.hdr::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.hdr.is-stuck::before {
  opacity: 1;
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
  height: var(--hdr);
}

.hdr__prog {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  height: 2px;
  width: calc(var(--p, 0) * 100%);
  background: var(--accent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.brand__sub {
  margin-top: 4px;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}

.brand--inv .brand__name {
  color: var(--paper-t);
}

.brand--inv .brand__sub {
  color: var(--dim-2);
}

.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hdr__end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hdr__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.05em;
  background: var(--ink);
  color: var(--paper-t);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}

.hdr__cta .arw {
  transition: transform 0.35s var(--ease);
}

.hdr__cta:hover {
  background: var(--accent);
}

.hdr__cta:hover .arw {
  transform: translate(2px, -2px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  position: relative;
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: background 0.3s var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* mobile menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  flex-direction: column;
  padding: calc(var(--hdr) + 24px) var(--gut) 32px;
  background: var(--paper);
  overflow-y: auto;
}

.menu.is-open {
  display: flex;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.42em 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.75rem);
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
}

.menu__nav a span {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.menu__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
}

.menu__contact span {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.menu__contact a {
  text-decoration: none;
  color: var(--ink);
}

.menu__foot .btn {
  justify-content: space-between;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(36px, 5.4vw, 68px);
  padding-bottom: clamp(44px, 5.6vw, 80px);
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-bottom: clamp(24px, 3.6vw, 44px);
  border-bottom: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__meta span:last-child {
  color: var(--ink);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.hero__title {
  grid-column: 1 / 11;
  margin-top: clamp(28px, 4.2vw, 54px);
  font-size: clamp(2.7rem, 7.2vw, 6.4rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.hero__copy {
  grid-column: 1 / 7;
  margin-top: clamp(28px, 3.8vw, 46px);
}

.hero__lede {
  margin-bottom: 26px;
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
}

.hero__acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__side {
  grid-column: 9 / 13;
  margin-top: clamp(28px, 3.8vw, 46px);
  align-self: end;
}

/* facts list */

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 0.72em 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  flex: none;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.facts dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.sec__note {
  margin-top: clamp(36px, 4.6vw, 56px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted-2);
  max-width: 62ch;
}

/* ---------- services rows ---------- */

.svc {
  border-top: 1px solid var(--line);
}

.svc__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.1fr) auto;
  gap: clamp(14px, 2.2vw, 36px);
  align-items: start;
  padding: clamp(26px, 3.2vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.svc__n {
  padding-top: 0.55em;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.svc__t {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.08;
  transition: color 0.35s var(--ease);
}

.svc__row:hover .svc__t {
  color: var(--accent);
}

.svc__b p {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}

.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 0.75rem;
  color: var(--muted-2);
}

.svc__tags li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7em;
  color: var(--line-2);
}

.svc__link {
  justify-self: end;
  padding-top: 0.4em;
  white-space: nowrap;
}

.svc__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: clamp(20px, 2.4vw, 28px);
  font-size: 0.8125rem;
  color: var(--muted-2);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.steps--three {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.step__n {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.step h3 {
  margin: 12px 0 10px;
  font-size: 1.375rem;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- call to action ---------- */

.cta {
  padding: var(--sec) 0;
}

.cta__in {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: end;
}

.cta__h {
  grid-column: 1 / 8;
}

.cta__h .eyebrow {
  margin-bottom: 26px;
}

.cta__h h2 {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.cta__side {
  grid-column: 9 / 13;
}

.cta__side p {
  color: var(--dim);
  max-width: 34ch;
  margin-bottom: 26px;
}

.cta__mail {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-d);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cta__mail:hover {
  color: var(--paper-t);
  border-color: var(--paper-t);
}

.cta__acts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cta__acts .btn {
  margin-bottom: 8px;
}

.cta--light {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.cta--light .eyebrow {
  color: var(--muted);
}

.cta--light .cta__side p {
  color: var(--muted);
}

.cta--light .cta__mail {
  color: var(--muted);
  border-color: var(--line-2);
}

.cta--light .cta__mail:hover {
  color: var(--ink);
  border-color: var(--ink);
}

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

.ft {
  background: var(--ink);
  color: var(--dim-2);
  border-top: 1px solid var(--line-d);
  padding: clamp(40px, 5vw, 64px) 0 28px;
}

.ft__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.ft__brand p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--dim-2);
}

.ft__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
}

.ft__col h2 {
  margin-bottom: 5px;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
  line-height: 1.4;
}

.ft__col a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.ft__col a:hover {
  color: var(--paper-t);
}

.ft__bot {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line-d);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim-2);
}

/* ---------- inner page head ---------- */

.phead {
  padding: clamp(32px, 4.4vw, 60px) 0 clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.crumb {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.crumb a {
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.25s;
}

.crumb a:hover {
  color: var(--ink);
}

.phead h1 {
  margin-top: clamp(22px, 3.2vw, 38px);
  font-size: clamp(2.58rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 19ch;
}

.phead__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  margin-top: clamp(26px, 3.4vw, 46px);
}

.phead__lede {
  grid-column: 1 / 7;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 46ch;
}

.phead__aside {
  grid-column: 9 / 13;
}

/* ---------- services detail ---------- */

.blocks {
  border-top: 1px solid var(--line);
}

.block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  padding: clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}

.block__l {
  grid-column: 1 / 5;
}

.block__l h3 {
  margin-top: 16px;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  max-width: 18ch;
}

.block__b {
  grid-column: 5 / 10;
}

.block__b p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
}

.block__b p + p {
  margin-top: 12px;
}

.block__tags {
  grid-column: 10 / 13;
  align-self: start;
}

.block__tags li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.block__tags li:first-child {
  padding-top: 0;
}

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

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line-2);
}

.panel h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.panel__num {
  display: inline-block;
  margin: 6px 0 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.panel__num:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.panel__acts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.panel__note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--muted-2);
  max-width: 42ch;
}

.msg {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.msg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.copy {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}

.copy:hover {
  text-decoration: underline;
}

.msg__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}

.msg__status {
  min-height: 1.3em;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted-2);
}

.msg__foot {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.75rem;
  color: var(--muted-2);
}

.chans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.chan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--line-2);
  text-decoration: none;
  color: var(--ink);
}

.chan__t {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.chan__v {
  font-size: 1.0625rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease);
}

.chan__d {
  font-size: 0.8125rem;
  color: var(--muted);
}

.chan:hover .chan__v {
  color: var(--accent);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--muted-2);
  transition: color 0.25s;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq p {
  margin: -4px 0 24px;
  color: var(--muted);
  max-width: 64ch;
  font-size: 0.9375rem;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.about-grid__copy {
  grid-column: 1 / 7;
}

.about-grid__copy h2 {
  margin-bottom: 22px;
  max-width: 16ch;
}

.about-grid__copy p {
  color: var(--muted);
  max-width: 52ch;
}

.about-grid__copy p + p {
  margin-top: 16px;
}

.about-grid__side {
  grid-column: 8 / 13;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--gap);
  border-top: 1px solid var(--line-2);
}

.principle {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.principle h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.principle p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.founder {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.founder__l {
  grid-column: 1 / 6;
}

.founder__l h2 {
  margin: 18px 0 6px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.founder__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.founder__copy {
  grid-column: 7 / 13;
}

.founder__copy p {
  color: var(--muted);
  max-width: 54ch;
}

.founder__copy p + p {
  margin-top: 16px;
}

.quote {
  margin: 28px 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 40ch;
}

.founder__copy .link {
  margin-top: 4px;
}

/* ---------- 404 ---------- */

.err {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--hdr));
  padding: clamp(48px, 8vw, 96px) 0;
}

.err h1 {
  font-size: clamp(4.5rem, 16vw, 11rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.err p {
  margin: 20px 0 28px;
  color: var(--muted);
  max-width: 40ch;
}

.err .btn {
  margin-right: 8px;
}

.err__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--muted);
}

.err__links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
}

/* ---------- motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .rise {
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js .rv.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- scrollbar ---------- */

@supports (scrollbar-width: thin) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 22, 26, 0.35) transparent;
  }
}

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 1100px) {
  .hero__title {
    grid-column: 1 / 12;
  }
  .hero__copy {
    grid-column: 1 / 7;
  }
  .hero__side {
    grid-column: 8 / 13;
  }
  .svc__row {
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 14px;
  }
  .svc__link {
    grid-column: 3;
    justify-self: start;
    padding-top: 0;
  }
  .block__l {
    grid-column: 1 / 6;
  }
  .block__b {
    grid-column: 6 / 10;
  }
  .block__tags {
    grid-column: 10 / 13;
  }
}

@media (max-width: 900px) {
  :root {
    --hdr: 64px;
  }

  .nav {
    display: none;
  }

  .hdr__end {
    margin-left: auto;
  }

  .burger {
    display: inline-flex;
  }

  .hero__title,
  .hero__copy,
  .hero__side {
    grid-column: 1 / -1;
  }

  .hero__side {
    margin-top: 8px;
  }

  .svc__row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .svc__b,
  .svc__link {
    grid-column: 2;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px var(--gap);
  }

  .cta__h,
  .cta__side {
    grid-column: 1 / -1;
  }

  .cta__side {
    margin-top: 12px;
  }

  .phead__lede,
  .phead__aside {
    grid-column: 1 / -1;
  }

  .phead__aside {
    margin-top: 8px;
  }

  .block {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .block__l,
  .block__b,
  .block__tags {
    grid-column: 1;
  }

  .block__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .block__tags li {
    border-bottom: 0;
    padding: 0;
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .chans {
    grid-template-columns: 1fr;
  }

  .about-grid__copy,
  .about-grid__side {
    grid-column: 1 / -1;
  }

  .founder__l,
  .founder__copy {
    grid-column: 1 / -1;
  }

  .founder__copy {
    margin-top: 20px;
  }

  .ft__top {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .ft__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .head__note {
    padding-bottom: 0;
  }

  .hero__meta {
    font-size: 0.625rem;
  }

  .hero__meta span:nth-child(2) {
    display: none;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .ft__top {
    grid-template-columns: 1fr;
  }

  .err .btn {
    margin-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .steps--three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .steps--three {
    grid-template-columns: 1fr;
  }

  .hdr__cta {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.4rem, 11.5vw, 3.2rem);
    letter-spacing: -0.025em;
  }

  .hero__acts .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .facts dt {
    font-size: 0.5625rem;
  }

  .facts dd {
    font-size: 0.8125rem;
  }

  .block__tags {
    flex-direction: column;
    gap: 0;
  }

  .block__tags li {
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }

  .msg__top {
    align-items: flex-start;
  }

  .phead h1 {
    font-size: clamp(2.3rem, 11vw, 3.1rem);
  }

  .cta h2 {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
  }

  .ft__bot {
    flex-direction: column;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .rise,
  .js .rv {
    opacity: 1;
    transform: none;
  }
}
