:root {
  --bg: #07060a;
  --bg-2: #0e0c12;
  --ink: #f5f1ea;
  --ink-2: rgba(245, 241, 234, 0.66);
  --ink-3: rgba(245, 241, 234, 0.4);
  --line: rgba(245, 241, 234, 0.1);
  --orange: #ff9a2e;
  --coral: #ff4660;
  --grad: linear-gradient(100deg, var(--orange), var(--coral));
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--coral); color: var(--bg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 60; pointer-events: none;
  opacity: 0.1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain { 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } }

main, [data-footer] { position: relative; z-index: 1; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow { color: var(--ink-3); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.line-mask { padding: 0 0.1em 0.14em 0; margin: 0 -0.1em -0.14em 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 99px;
  background: var(--grad); color: #140806;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 40px -12px rgba(255, 90, 60, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(255, 90, 60, 0.8); }
.btn:hover::after { transform: translateX(120%); }
.btn iconify-icon { font-size: 18px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }

/* ---------- Header ---------- */
[data-header] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: linear-gradient(to bottom, rgba(7, 6, 10, 0.85), rgba(7, 6, 10, 0));
  transition: background 0.4s, padding 0.4s var(--ease), box-shadow 0.4s;
}
[data-header].is-scrolled {
  padding-block: 10px;
  background: rgba(7, 6, 10, 0.72);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { position: relative; display: inline-block; width: 34px; height: 34px; flex: none; }
.logo-svg { display: block; width: 100%; height: 100%; animation: spin 24s linear infinite; }
/* Live WebGL atom replaces the SVG once it's running. */
.logo-mark.is-live .logo-svg { visibility: hidden; }
.logo-gl { position: absolute; left: 50%; top: 50%; width: 160%; height: 160%; transform: translate(-50%, -50%); pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.wordmark span { font-weight: 300; margin-left: 4px; color: var(--ink-2); }
.nav {
  display: flex; gap: 4px; padding: 5px;
  border-radius: 99px; background: rgba(20, 18, 26, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav a { padding: 8px 16px; border-radius: 99px; font-size: 14px; color: var(--ink-2); transition: color 0.3s, background 0.3s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(245, 241, 234, 0.08); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.phone { color: var(--ink-2); transition: color 0.3s; }
.phone:hover { color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(245, 241, 234, 0.08); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 24px; }
.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: rgba(7, 6, 10, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-links { display: grid; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 500; font-size: clamp(30px, 9vw, 44px); letter-spacing: -0.04em;
}
.menu-links a .mono { color: var(--ink-3); }
.menu-links a[aria-current="page"] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-actions { display: grid; gap: 10px; }
.menu-actions .btn { justify-content: center; padding: 17px 24px; }
@media (min-width: 1081px) { .menu { display: none; } }

/* ---------- Page heads ---------- */
.page-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 6.8vw, 112px); line-height: 0.98; letter-spacing: -0.045em;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); max-width: 46ch; }

.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) clamp(32px, 7vh, 72px);
}
.hero .page-title { max-width: 11ch; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.hero-row .lead { max-width: 38ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-hint { position: absolute; right: var(--gutter); top: 50%; color: var(--ink-3); writing-mode: vertical-rl; }

.sub-hero { padding: 160px var(--gutter) clamp(48px, 10vh, 100px); min-height: 62svh; display: flex; flex-direction: column; justify-content: flex-end; }
.sub-hero .lead { margin-top: 24px; }
/* Keep sub-page titles clear of the atom in the top-right corner. */
.sub-hero .page-title { max-width: 62%; }
@media (max-width: 760px) { .sub-hero .page-title { max-width: 100%; } }

section { position: relative; }
.section { padding: clamp(90px, 14vh, 160px) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 72px); }
.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.04em; max-width: 16ch;
  text-wrap: balance;
}
.section-head .eyebrow { display: block; margin-bottom: 20px; }

/* ---------- Orbitals (pinned) ---------- */
.orb-pin { height: 100svh; position: relative; padding: 110px var(--gutter) clamp(28px, 6vh, 56px); display: grid; grid-template-rows: auto 1fr auto; }
.orb-top { display: flex; justify-content: space-between; align-items: baseline; }
.orb-count { font-family: var(--display); font-size: 15px; color: var(--ink-3); }
.orb-count span { color: var(--ink); }
.orb-steps { position: relative; }
.orb-step { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.orb-name {
  grid-column: 1; grid-row: 1; align-self: center;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(48px, 8vw, 140px); line-height: 0.95; letter-spacing: -0.05em;
}
.orb-detail { grid-column: 1; grid-row: 2; max-width: 44ch; }
.orb-detail p { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); }
.orb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.orb-tags span { padding: 7px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-2); }
.orb-label { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; text-align: right; color: var(--ink-3); line-height: 1.7; }
.orb-label b { color: var(--orange); font-weight: 400; }
.orb-progress { height: 1px; background: var(--line); margin-top: 28px; overflow: hidden; }
.orb-progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ---------- Elements (periodic tiles) ---------- */
.elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.el {
  position: relative; isolation: isolate; aspect-ratio: 1.15; padding: clamp(18px, 2vw, 28px);
  border-radius: 18px; background: rgba(16, 14, 22, 0.6);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.el::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity 0.5s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.el::after {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; z-index: -1;
  left: var(--mx, 80%); top: var(--my, 20%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 110, 60, 0.35), transparent 65%);
  opacity: 0; transition: opacity 0.6s; pointer-events: none;
}
.el:hover { transform: translateY(-4px); }
.el:hover::before, .el:hover::after { opacity: 1; }
.el-top { display: flex; justify-content: space-between; color: var(--ink-3); }
.el-sym {
  margin-top: auto; font-family: var(--display); font-weight: 600;
  font-size: clamp(48px, 5.5vw, 92px); line-height: 1; letter-spacing: -0.04em;
}
.el-name { margin-top: 10px; font-weight: 600; font-size: 18px; }
.el-desc { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; max-width: 34ch; }

/* ---------- Reaction data ---------- */
.data { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.datum { padding: 32px 24px 36px 0; border-bottom: 1px solid var(--line); }
.datum:not(:nth-child(4n)) { border-right: 1px solid var(--line); margin-right: 24px; }
.datum-num { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; letter-spacing: -0.05em; }
.datum-num small { font-size: 0.45em; margin-left: 4px; letter-spacing: 0; }
.datum h3 {
  margin-top: 18px; font-size: clamp(18px, 1.35vw, 22px); font-weight: 600; width: fit-content;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.datum p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ---------- Energy levels (pricing) ---------- */
.levels { position: relative; padding-left: 64px; }
.levels::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to top, var(--line), var(--coral)); }
.levels-axis { position: absolute; left: 0; top: -28px; color: var(--ink-3); }
.electron {
  position: absolute; left: 12px; top: 0; width: 17px; height: 17px; margin-top: -8px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 25%, var(--orange) 45%, transparent 70%);
  box-shadow: 0 0 24px 6px rgba(255, 120, 60, 0.6); z-index: 2;
}
.photon { position: absolute; left: 4px; top: 0; width: 33px; height: 33px; margin-top: -16px; border-radius: 50%; box-shadow: 0 0 0 1px var(--orange); opacity: 0; pointer-events: none; }
.level {
  display: grid; grid-template-columns: 90px minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 26px 0; cursor: default;
}
.level + .level { border-top: 1px dashed var(--line); }
.level-line { grid-column: 1 / -1; grid-row: 1; height: 1px; background: var(--line); align-self: start; margin-top: -26px; transition: background 0.4s; }
.level.is-on .level-line { background: var(--grad); }
.level-n { color: var(--ink-3); }
.level-price { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4vw, 64px); letter-spacing: -0.05em; line-height: 1; transition: color 0.4s; }
.level-price small { font-family: var(--sans); font-size: 17px; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.level h3 { font-family: var(--display); font-size: clamp(24px, 2.1vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.level p { color: var(--ink-2); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; margin-top: 6px; max-width: 42ch; }
.level ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; font-size: clamp(15px, 1.1vw, 17px); color: var(--ink-2); }
.level li { display: flex; gap: 10px; align-items: baseline; }
.level li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); transform: translateY(-1px); }
.level:not(.is-on) .level-price { color: var(--ink-2); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.member { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 0.78; isolation: isolate; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform-origin: top center; filter: grayscale(1) contrast(1.05) brightness(0.8); transform: scale(1.04); transition: filter 0.7s var(--ease), transform 0.9s var(--ease); z-index: -1; }
.member::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 6, 10, 0.92) 8%, rgba(7, 6, 10, 0) 55%); }
.member:hover img { filter: grayscale(0) brightness(0.95); transform: scale(1); }
.member-top { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; color: var(--ink-2); }
.member-body { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.member-sym { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.member h3 { margin-top: 10px; font-size: 18px; font-weight: 600; }
.member p { color: var(--ink-2); font-size: 14px; }
.member.is-empty { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, rgba(255, 110, 60, 0.16), transparent 60%), var(--bg-2); }
.member.is-empty .member-sym { font-size: clamp(64px, 7vw, 110px); }
.member.is-join { background: var(--grad); color: #140806; box-shadow: none; }
.member.is-join .member-top, .member.is-join p { color: rgba(20, 8, 6, 0.7); }
.member.is-join::after { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 980px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 12px;
  padding: 26px 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--ink-3); }
.faq summary iconify-icon { font-size: 22px; color: var(--ink-3); transition: transform 0.5s var(--ease), color 0.3s; justify-self: end; }
.faq details[open] summary iconify-icon { transform: rotate(45deg); color: var(--orange); }
.faq .answer { padding: 0 44px 28px 68px; color: var(--ink-2); font-size: 16.5px; max-width: 72ch; }
.faq details[open] .answer { animation: open 0.6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-aside { display: grid; gap: 28px; }
.form-aside .mono { color: var(--ink-3); display: block; margin-bottom: 8px; }
.form-aside a, .form-aside p { font-size: 18px; }
.form {
  display: grid; gap: 14px; padding: clamp(20px, 3vw, 40px); border-radius: 24px;
  background: rgba(16, 14, 22, 0.6); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 16px 10px; border-radius: 12px; border: 0;
  background: rgba(245, 241, 234, 0.04); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); font: inherit; font-size: 16px; resize: vertical;
  transition: box-shadow 0.3s, background 0.3s;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 16px; top: 18px; color: var(--ink-3); font-size: 16px; pointer-events: none; transition: transform 0.3s var(--ease), font-size 0.3s, color 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--orange); background: rgba(255, 140, 60, 0.05); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: 12px; color: var(--orange); }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--coral); width: 16px; height: 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form button[disabled] { opacity: 0.6; pointer-events: none; }
.form-status { font-size: 14px; color: var(--ink-2); min-height: 1.4em; }
.form-status[data-state="ok"] { color: #7ee2b0; }
.form-status[data-state="error"] { color: #ff8a8a; }
.form button.btn { border: 0; cursor: pointer; font-family: inherit; }

/* ---------- CTA + footer ---------- */
.cta { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 80px; }
.cta-title { font-family: var(--display); font-weight: 500; font-size: clamp(48px, 9vw, 150px); line-height: 0.95; letter-spacing: -0.05em; max-width: 9ch; }
.cta-copy { margin-top: 28px; max-width: 44ch; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 20px); }
.cta-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.foot {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px;
  padding: 32px var(--gutter) 28px; border-top: 1px solid var(--line);
}
.foot-tag { color: var(--ink-3); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; color: var(--ink-3); font-size: 11px; }
.foot-legal a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color 0.3s, text-decoration-color 0.3s; }
.foot-legal a:hover { color: var(--ink); text-decoration-color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .phone { display: none; }
  .burger { display: block; }
  .elements { grid-template-columns: repeat(2, 1fr); }
  .el { aspect-ratio: auto; min-height: 260px; }
  .data { grid-template-columns: repeat(2, 1fr); }
  .datum:not(:nth-child(4n)) { border-right: 0; margin-right: 0; }
  .datum:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 20px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .level { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .level ul { grid-column: 2 / -1; }
  .level .btn { grid-column: 2 / -1; justify-self: start; }
  .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .btn-sm { display: none; }
  .orb-step { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; }
  .orb-name { grid-row: 1; align-self: start; margin-top: 8px; }
  .orb-detail { grid-row: 3; }
  .orb-label { grid-column: 1; grid-row: 4; justify-self: start; text-align: left; margin-top: 14px; }
  .elements { grid-template-columns: 1fr; }
  .el { aspect-ratio: auto; min-height: 220px; }
  .data { grid-template-columns: 1fr; }
  .datum:nth-child(odd) { border-right: 0; margin-right: 0; }
  .levels { padding-left: 46px; }
  .level { grid-template-columns: 1fr; gap: 8px; }
  .level ul, .level .btn { grid-column: 1; }
  .form .row { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 36px 1fr 28px; }
  .faq .answer { padding: 0 0 24px 48px; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .hero-hint { position: static; writing-mode: horizontal-tb; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .logo-svg { animation: none; }
}

/* Supporting copy that sits under a table, bottom-right. */
.levels-foot { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-top: clamp(32px, 5vh, 56px); }
.levels-foot .lead { max-width: 44ch; }
@media (max-width: 760px) { .levels-foot { align-items: flex-start; text-align: left; } }

/* Phones: the role already shows under the name, so drop the duplicate in the card corner. */
@media (max-width: 760px) { .member-top span:last-child { display: none; } }
