/* 58D Products and Services LLC: site styles */
:root {
  --ink: #090d16;
  --ink-2: #0e1420;
  --ink-3: #151c2b;
  --bone: #f4f1ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --brass: #c9a86c;
  --brass-deep: #7d6230;
  --text: #121724;
  --muted: #5b6272;
  --muted-dark: #9aa3b5;
  --line: rgba(18, 23, 36, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 160px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--brass); }
::selection { background: var(--brass); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--brass { color: var(--brass); }
.on-dark .label { color: var(--muted-dark); }
.on-dark .label--brass { color: var(--brass); }

.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.h-section {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h-card {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}
.on-dark .lede { color: #b9c0cf; }
em.accent { font-style: normal; color: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0.005em;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: #d9bb85; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #1b2436; }
.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--white);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(9, 13, 22, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; color: var(--brass); flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__58d { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; }
.brand__sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-dark); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 14.5px; color: #cfd5e1; position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--white); }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 140px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 70% 40%, #000 20%, transparent 78%);
}
.hero__glow {
  position: absolute; right: -8%; top: 6%; width: min(72vw, 980px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(201,168,108,0.30) 0%, rgba(201,168,108,0.10) 34%, rgba(201,168,108,0) 62%);
}
.hero__art {
  position: absolute; right: clamp(-60px, 2vw, 60px); top: 50%; transform: translateY(-54%);
  width: min(52vw, 760px); color: var(--brass); opacity: 0.95;
}
.hero__art .rotor { transform-origin: 300px 168px; animation: rotor 5.5s ease-in-out infinite; }
@keyframes rotor { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.93); } }
.hero__in { position: relative; z-index: 2; padding-bottom: clamp(36px, 5vw, 64px); }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.hero h1 { max-width: 12ch; }
.hero__sub { margin-top: clamp(24px, 3vw, 36px); max-width: 56ch; font-size: clamp(18px, 1.55vw, 21.5px); line-height: 1.55; color: #c3cad8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 3.6vw, 44px); }
.idbar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-dark);
  background: linear-gradient(to bottom, rgba(9,13,22,0.2), rgba(9,13,22,0.75));
}
.idbar__in { display: grid; grid-template-columns: 1.15fr 1.15fr 1fr 0.8fr 1.3fr; }
.idbar__cell { padding: 22px 24px 24px 0; }
.idbar__cell + .idbar__cell { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.idbar__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.idbar__v { margin-top: 8px; font-family: var(--display); font-size: clamp(16px, 1.45vw, 20px); font-weight: 500; letter-spacing: -0.01em; color: var(--white); }
.idbar__v.mono { font-family: var(--mono); font-size: clamp(14px, 1.25vw, 17px); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink2 { background: var(--ink-2); color: var(--white); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head .label { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.sec-head .label .n { color: var(--brass-deep); }
.on-dark .sec-head .label .n { color: var(--brass); }
.sec-head--stack { grid-template-columns: 1fr; max-width: 900px; }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap {
  position: relative; padding: clamp(28px, 3.4vw, 52px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.35s var(--ease);
  overflow: hidden;
}
.cap:hover { background: var(--white); }
.cap::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.cap:hover::before { transform: scaleX(1); }
.cap__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); }
.cap__icon { width: 54px; height: 54px; color: var(--text); }
.cap__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.cap p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.cap ul { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.cap li { font-size: 13.5px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; color: #363d4d; background: rgba(255,255,255,0.5); }
.caps-note { margin-top: 28px; display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: 15.5px; }
.caps-note a { color: var(--text); border-bottom: 1px solid var(--brass); padding-bottom: 1px; }

/* ---------- Advantage (dark) ---------- */
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.adv__item { padding: clamp(30px, 3.6vw, 56px) clamp(0px, 3vw, 48px) clamp(30px, 3.6vw, 56px) 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; }
.adv__item:nth-child(even) { padding-left: clamp(24px, 3vw, 48px); padding-right: 0; border-left: 1px solid var(--line-dark); }
.adv__n { font-family: var(--mono); font-size: 13px; color: var(--brass); letter-spacing: 0.1em; padding-top: 7px; }
.adv__item p { grid-column: 2; margin-top: 10px; color: #aab2c2; max-width: 48ch; }

.figures { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(56px, 7vw, 110px); border-top: 1px solid var(--line-dark); }
.figure { padding: 32px 24px 0 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.figure__v { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.045em; line-height: 1; color: var(--white); }
.figure__v sup { font-size: 0.42em; color: var(--brass); vertical-align: top; position: relative; top: 0.25em; margin-left: 2px; letter-spacing: 0; }
.figure__k { margin-top: 14px; font-size: 14.5px; color: var(--muted-dark); max-width: 22ch; line-height: 1.45; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--text); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--brass); border-radius: 50%; }
.step__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brass-deep); }
.step h3 { margin-top: 16px; }
.step p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* ---------- Markets ---------- */
.markets { border-top: 1px solid var(--line); }
.market { display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 6fr); gap: 24px; align-items: baseline; padding: clamp(24px, 2.8vw, 38px) 0; border-bottom: 1px solid var(--line); }
.market__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.market p { color: var(--muted); }

/* ---------- Company data ---------- */
.data { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.badges { display: grid; gap: 14px; margin-top: 36px; }
.badge { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.025); border-radius: 3px; }
.badge__seal { width: 56px; height: 56px; color: var(--brass); }
.badge__t { font-family: var(--display); font-weight: 500; font-size: 18.5px; letter-spacing: -0.01em; line-height: 1.25; }
.badge__s { font-size: 13.5px; color: var(--muted-dark); margin-top: 4px; }
.sheet { border: 1px solid var(--line-dark); border-radius: 3px; background: var(--ink-3); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--line-dark); }
.sheet__head .label { color: var(--muted-dark); }
.sheet dl { display: grid; grid-template-columns: minmax(130px, 3fr) 7fr; }
.sheet dt, .sheet dd { padding: 17px 26px; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; }
.sheet dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); padding-top: 21px; }
.sheet dd { color: #e7eaf0; }
.sheet dd.mono { font-family: var(--mono); letter-spacing: 0.05em; font-size: 15px; }
.sheet dl > :nth-last-child(-n+2) { border-bottom: 0; }
.codes { display: grid; gap: 9px; }
.codes li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.4; color: #c9cfdb; }
.codes-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.codes b { font-family: var(--mono); font-weight: 500; color: var(--brass); letter-spacing: 0.04em; }
.copy { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; letter-spacing: inherit; }
.copy svg { width: 14px; height: 14px; color: var(--muted-dark); transition: color 0.2s; }
.copy:hover svg { color: var(--brass); }
.copy .copied { font-family: var(--body); font-size: 12px; letter-spacing: 0; color: var(--brass); opacity: 0; transition: opacity 0.2s; }
.copy.is-copied .copied { opacity: 1; }

/* ---------- Leadership ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--ink); color: var(--brass); overflow: hidden; border-radius: 3px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__art { position: absolute; inset: 0; display: grid; place-items: center; }
.portrait__art::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,108,0.32), rgba(201,168,108,0) 66%); }
.portrait__art svg { position: relative; width: 92%; }
.portrait__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.lead__name { margin-top: 0; }
.lead__role { margin-top: 12px; font-size: 17px; color: var(--muted); }
.lead__bio { margin-top: 30px; display: grid; gap: 18px; font-size: 17.5px; line-height: 1.65; color: #2c3342; max-width: 62ch; }
.bio-note { margin-top: 22px; font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.creds { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.cred { padding: 20px 0; border-bottom: 1px solid var(--line); }
.cred .label { display: block; margin-bottom: 8px; }
.cred p { font-size: 15.5px; color: #2c3342; line-height: 1.5; }

/* ---------- Suppliers ---------- */
.sup { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.sup__list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.sup__list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); color: #d5dae4; font-size: 16.5px; }
.sup__list svg { width: 20px; height: 20px; color: var(--brass); margin-top: 3px; }
.sup__list b { display: block; font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--white); letter-spacing: -0.01em; margin-bottom: 4px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.contact__ways { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.way { padding: 22px 0; border-bottom: 1px solid var(--line); }
.way .label { display: block; margin-bottom: 8px; }
.way a, .way p { font-family: var(--display); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.way a { border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.way a:hover { border-bottom-color: var(--brass); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 14px; background: var(--paper); border: 1px solid rgba(18, 23, 36, 0.5); border-radius: 2px; font-size: 16px;
  transition: border-color 0.2s, background 0.2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235b6272' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; border-color: var(--text); background: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__note { font-size: 13.5px; color: var(--muted); max-width: 40ch; }
.form__status { grid-column: 1 / -1; font-size: 15px; padding: 14px 16px; border-radius: 2px; display: none; }
.form__status.ok { display: block; background: #eef4ec; color: #23502b; border: 1px solid #cfe0cb; }
.form__status.err { display: block; background: #f8eeee; color: #7a2424; border: 1px solid #ecd0d0; }

/* ---------- CTA band + Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 110px) 0 36px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__blurb { margin-top: 22px; color: var(--muted-dark); font-size: 15px; max-width: 38ch; }
.footer h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.footer li { margin-bottom: 11px; font-size: 15px; color: #d0d5e0; }
.footer li a:hover { color: var(--brass); }
.footer li.mono { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.04em; }
.footer__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; padding-top: 28px; font-size: 13px; color: #7f889b; }
.footer__bot p { max-width: 86ch; line-height: 1.55; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .nav a.hide-md { display: none; }
  .hero__sub { max-width: 44ch; }
  .idbar__in { grid-template-columns: repeat(3, 1fr); }
  .idbar__cell:nth-child(4) { padding-left: 0; border-left: 0; }
  .idbar__cell:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .header { bottom: 0; background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
  .nav a:not(.btn) { font-family: var(--display); font-size: 28px; letter-spacing: -0.02em; color: var(--white); padding: 18px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav a.hide-md { display: block; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; }
  .hero { padding-top: 120px; }
  .hero__art { width: 118vw; right: -34vw; top: 30%; opacity: 0.4; }
  .hero__glow { width: 130vw; right: -45vw; top: -4%; }
  .sec-head, .data, .lead, .sup, .contact { grid-template-columns: 1fr; }
  .caps, .adv { grid-template-columns: 1fr; }
  .adv__item, .adv__item:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; grid-template-columns: 48px 1fr; }
  .figure { padding: 28px 16px 28px 0; }
  .market { grid-template-columns: 44px 1fr; gap: 8px 12px; }
  .market p { grid-column: 2; }
    .portrait { max-width: 420px; }
  .creds { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .sheet dl { grid-template-columns: 1fr; }
  .sheet dt { border-bottom: 0; padding-bottom: 0; }
  .sheet dd { padding-top: 8px; }
  .sheet dl > :nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .idbar__in { grid-template-columns: 1fr 1fr; }
  .idbar__cell { padding: 16px 12px 16px 0; }
  .idbar__cell + .idbar__cell { padding-left: 16px; }
  .idbar__cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .idbar__cell:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .idbar__cell:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .idbar__cell:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .brand__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__art .rotor { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
@media print {
  .header, .hero__bg, .menu-btn, .form { display: none; }
  .rv { opacity: 1 !important; transform: none !important; }
  .on-dark, .on-dark * { color: #000 !important; background: none !important; }
  .hero, .section--ink, .section--ink2, .footer { background: #fff; color: #000; }
}
