/* Orbs site. Same structure as Bezel's (bar, live showcase, two-column studio, code, two-tone footer),
   on a dark stage so glow and colour read properly. Fonts match Bezel: Geist, Geist Mono, and
   Fraunces for the big headings. */
:root {
  --ground: #0E0F0B;
  --ground-2: #16170F;
  --panel: #18191A;
  --tile: #131410;
  --line: #2F302A;
  --line-soft: #24251F;
  --ink: #F2EDE4;
  --ink-2: #B9B3A7;
  --ink-3: #908A7F;
  --accent: #FF7A45;
  --sand: #EADCC6;
  --code-bg: #0A0B08;
  --code-ink: #E9E4DA;
  --code-dim: #847F74;
  --code-key: #FF9A6E;
  --code-str: #E3C9A0;
  --focus: #FFB089;
  --seg-on: #2C2D27;
  --shadow: 0 1px 1px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.7);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;
  --r-1: 8px; --r-2: 14px; --r-3: 22px;
  --maxw: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
code { font-family: var(--f-mono); font-size: .92em; }
.bar__in, .hero, .section, .foot__in, .foot__bar {
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .bar__in, .hero, .section, .foot__in, .foot__bar { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* ---- Bar ---- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ground), transparent 14%);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 40%);
}
.bar__in { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: var(--s-4); }
.mark { display: inline-flex; align-items: center; gap: 9px; font: 650 18px/1 var(--f-body); letter-spacing: -0.02em; text-decoration: none; }
.mark__orb { width: 26px; height: 26px; display: block; color: var(--accent); }
.bar__nav { display: flex; gap: var(--s-1); font-size: 14px; font-weight: 500; }
.bar__nav a { text-decoration: none; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); }
.bar__nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink), transparent 94%); }
@media (max-width: 420px) { .bar__nav a { padding: 6px 7px; } }

/* ---- Hero ---- */
.hero { padding-block: var(--s-8) var(--s-7); }
.hero__copy { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5) var(--s-7); flex-wrap: wrap; }
.hero h1 { font: 400 clamp(44px, 6.4vw, 84px)/0.98 var(--f-display); letter-spacing: -0.02em; font-variation-settings: "opsz" 144; max-width: 14ch; }
.hero h1 em { color: var(--accent); }
.hero__lede { color: var(--ink-2); max-width: 42ch; font-size: 17px; }
@media (max-width: 900px) { .hero { padding-block: var(--s-7) var(--s-6); } }

/* Showcase: eight presets, each a real orb on its own tile. Selecting one loads it into the Studio. */
.showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5) clamp(14px, 2vw, 24px); margin-top: var(--s-7); }
.show { all: unset; box-sizing: border-box; display: grid; gap: var(--s-3); min-width: 0; cursor: pointer; border-radius: var(--r-3); }
.show__tile {
  display: block; aspect-ratio: 1; border-radius: var(--r-3); border: 1px solid var(--line-soft);
  background: radial-gradient(90% 90% at 50% 35%, #1B1C16 0%, var(--tile) 75%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .2s;
}
.show__tile canvas { display: block; width: 100%; height: 100%; }
.show:hover .show__tile { transform: translateY(-4px); border-color: var(--line); }
.show:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.show__label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); font-size: 14px; padding-inline: 4px; }
.show__label b { font-weight: 600; }
.show__label span { color: var(--ink-3); font: 500 12px/1.3 var(--f-mono); text-align: end; }
@media (max-width: 900px) { .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); } }
@media (max-width: 600px) { .show__label { flex-direction: column; gap: 0; } .show__label span { text-align: start; } }
@media (prefers-reduced-motion: reduce) { .show__tile { transition: none; } .show:hover .show__tile { transform: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  font: 550 15px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { border-color: color-mix(in srgb, var(--ink), transparent 65%); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--accent); color: #1C0A02; border-color: var(--accent); }
.btn--solid:hover { background: color-mix(in srgb, var(--accent), #fff 10%); }
.btn--quiet { background: transparent; height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.btn[data-copied] { background: #2FB463; border-color: #2FB463; color: #04140A; }

/* ---- Sections ---- */
.section { padding-block: var(--s-8); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-6); }
.section__head h2, .studio__head h2 { font: 400 clamp(32px, 3.8vw, 46px)/1.02 var(--f-display); letter-spacing: -0.015em; font-variation-settings: "opsz" 144; }
.section__head p { color: var(--ink-2); max-width: 46ch; }

/* ---- Studio ----
   Desktop: preview and settings side by side at one height that fits the screen.
   Mobile: the preview pins to the top while the settings scroll underneath it. */
.studio { padding-top: var(--s-6); }
.studio__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4) var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-5); }
.studio__sub { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.studio__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.studio__note { min-height: 1.5em; margin-top: var(--s-3); font-size: 13px; color: var(--ink-2); }
.studio__body {
  --studio-h: clamp(520px, calc(100vh - 230px), 700px);
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-4); align-items: stretch; height: var(--studio-h);
}

.canvas {
  position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; container-type: inline-size;
  border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--line-soft);
  background: radial-gradient(120% 90% at 50% 0%, #1E1F19 0%, #070806 100%);
  transition: background .4s;
}
.canvas[data-bg="light"] { background: radial-gradient(120% 90% at 50% 0%, #FBF8F2 0%, #E3DCCF 100%); }
.canvas__stage { display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; container-type: size; padding: var(--s-4); }
/* The preview shrinks to fit the stage; the copied code keeps the real size. */
.canvas__orb { display: block; width: 320px; height: 320px; max-width: min(100cqw, 100cqh); max-height: min(100cqw, 100cqh); }
.canvas__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s-3);
  margin: 0 var(--s-4) var(--s-4); padding: 6px; min-height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.canvas[data-bg="light"] .canvas__foot { background: rgba(255,255,255,.6); border-color: rgba(0,0,0,.07); }
.canvas__bg { display: flex; align-items: center; gap: 10px; justify-self: start; min-width: 0; }
.canvas__bg-l, .canvas__live, .canvas__size { font: 500 12px/1 var(--f-mono); letter-spacing: .01em; color: rgba(255,255,255,.62); white-space: nowrap; }
.canvas[data-bg="light"] :is(.canvas__bg-l, .canvas__live, .canvas__size) { color: #5B564C; }
.canvas__bg-l { padding-left: 10px; }
.canvas__live { justify-self: center; display: inline-flex; align-items: center; gap: 8px; }
.canvas__live i { width: 7px; height: 7px; border-radius: 50%; background: #2FB463; animation: live-pulse 2.4s ease-out infinite; }
.canvas__live[data-sound] i { background: var(--accent); }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(47,180,99,.45); } 70%, 100% { box-shadow: 0 0 0 6px rgba(47,180,99,0); } }
@media (prefers-reduced-motion: reduce) { .canvas__live i { animation: none; } }
.canvas__size { justify-self: end; padding-right: 10px; font-variant-numeric: tabular-nums; }
@container (max-width: 600px) { .canvas__bg-l { display: none; } }
@container (max-width: 360px) { .canvas__live { display: none; } .canvas__foot { grid-template-columns: 1fr auto; } }
.canvas .seg--small { background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.1); }
.canvas .seg--small button { color: rgba(255,255,255,.72); }
.canvas .seg--small button[aria-pressed="true"] { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.canvas[data-bg="light"] .seg--small { background: rgba(0,0,0,.05); border-color: transparent; }
.canvas[data-bg="light"] .seg--small button { color: #5B564C; }
.canvas[data-bg="light"] .seg--small button[aria-pressed="true"] { background: #fff; color: #17140F; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Mobile: the preview pins under the bar while the settings scroll beneath it. This block must come
   after the base .canvas rules, or their position: relative wins and the preview never sticks. */
@media (max-width: 960px) {
  .studio__body { grid-template-columns: 1fr; height: auto; align-items: start; }
  .canvas { position: sticky; top: 56px; z-index: 5; height: clamp(240px, 44vh, 400px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
  .canvas__foot { margin: 0 var(--s-2) var(--s-2); min-height: 40px; padding: 4px; }
}

/* ---- Panel: one group of settings at a time ---- */
.panel {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0;
  border-radius: var(--r-3); background: var(--panel); border: 1px solid var(--line-soft); overflow: hidden;
}
.ptabs { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line-soft); background: var(--panel); }
.ptabs button { all: unset; flex: 1; text-align: center; cursor: pointer; padding: 9px 4px; border-radius: 9px; font-size: 13px; font-weight: 550; color: var(--ink-3); white-space: nowrap; position: relative; }
.ptabs button:hover { color: var(--ink); background: var(--ground-2); }
.ptabs button[aria-selected="true"] { color: var(--ink); background: var(--ground-2); }
.ptabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.ptabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.panel__body { display: grid; align-content: start; gap: var(--s-4); padding: var(--s-5); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.panel__foot { border-top: 1px solid var(--line-soft); padding: var(--s-3) var(--s-4); display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: var(--s-2); background: var(--panel); }
.panel__foot .btn { width: 100%; height: 40px; font-size: 14px; border-radius: 10px; }
@media (max-width: 960px) {
  .panel { overflow: visible; }
  .panel__body { overflow: visible; }
}

/* State picker: named states as small buttons. */
.states { display: flex; flex-wrap: wrap; gap: 6px; }
.states button { all: unset; cursor: pointer; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--ground-2); font-size: 12.5px; font-weight: 550; color: var(--ink-2); }
.states button:hover { border-color: var(--line); color: var(--ink); }
.states button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.states button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Shape picker: every shape as a small live orb. */
.shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.shp {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 2px;
  padding: 8px 4px 7px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--ground-2);
  transition: border-color .15s, background .15s;
}
.shp canvas { width: 44px; height: 44px; display: block; color: var(--ink-2); }
.shp span { font-size: 11.5px; font-weight: 550; color: var(--ink-3); }
.shp:hover { border-color: var(--line); }
.shp[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent), var(--ground-2) 90%); }
.shp[aria-checked="true"] canvas { color: var(--accent); }
.shp[aria-checked="true"] span { color: var(--ink); }
.shp:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.field { display: grid; gap: 7px; }
.field__l { font-size: 13px; font-weight: 550; color: var(--ink-2); display: flex; justify-content: space-between; gap: var(--s-2); }
.field__l output { font: 500 12px/1.4 var(--f-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seg { display: flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--ground-2); border: 1px solid var(--line-soft); }
.seg button { all: unset; flex: 1; text-align: center; cursor: pointer; padding: 7px 8px; border-radius: 8px; font-size: 13px; font-weight: 550; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 0 0 1px var(--line); }
.seg button:focus-visible { outline: 2px solid var(--focus); }
.seg--small button { padding: 5px 10px; font-size: 12px; }

.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
  all: unset; box-sizing: border-box; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; position: relative;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.swatch--custom { background: conic-gradient(#FF5A5A, #FFD15A, #5AFF8C, #5AD7FF, #8C5AFF, #FF5AD7, #FF5A5A); }
.swatch--custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.swatch--custom:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; }
.swatch--custom[data-on] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--ink); }

input[type="range"] { width: 100%; accent-color: var(--accent); margin: 0; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: 14px; cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 12px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.35); transition: transform .2s; }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: translateX(16px); }
.toggle input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hint { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.hint--lead { font-size: 13.5px; color: var(--ink-2); }
.hint code { color: var(--code-str); }
.soundbtns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.soundbtns .btn { height: 40px; font-size: 14px; padding: 0 10px; }

/* ---- Get the code ---- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.way { display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-3); background: var(--code-bg); border: 1px solid var(--line-soft); min-width: 0; }
.way__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: center; }
.way__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-soft); }
.way__icon svg { width: 19px; height: 19px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.way__t { font: 600 16px/1.25 var(--f-body); letter-spacing: -0.01em; }
.way__s { font-size: 13.5px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.way__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.way__actions .btn { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.code { margin: 0; padding: var(--s-4) var(--s-5); overflow-x: auto; font: 450 13px/1.7 var(--f-mono); tab-size: 2; border-radius: var(--r-2); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); color: var(--code-ink); min-width: 0; }
.code .t { color: var(--code-key); } .code .a { color: #CFC8BB; } .code .v { color: var(--code-str); } .code .c { color: var(--code-dim); }
.way--wide { grid-column: 1 / -1; grid-template-rows: auto auto auto auto; }
.code--url code { word-break: break-all; white-space: pre-wrap; }
.toggle--inline { font-size: 14px; color: var(--ink-2); justify-content: flex-start; gap: var(--s-3); }
.install { padding-bottom: var(--s-6); }

/* ---- Export dialog ---- */
.export { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--panel); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.export::backdrop { background: rgba(5,5,4,.66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.export__in { display: grid; gap: var(--s-4); padding: var(--s-5); }
.export__head { display: flex; justify-content: space-between; align-items: center; }
.export__head h2 { font: 400 28px/1 var(--f-display); letter-spacing: -0.01em; font-variation-settings: "opsz" 144; }
.export__close { all: unset; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 22px; color: var(--ink-2); cursor: pointer; }
.export__close:hover { background: var(--ground-2); color: var(--ink); }
.export__close:focus-visible { outline: 2px solid var(--focus); }
.export .seg button[disabled] { opacity: .35; cursor: not-allowed; }
.export__go { display: grid; gap: var(--s-3); }
.export__go .btn { width: 100%; }
.export__go .btn[disabled] { opacity: .6; cursor: progress; }
.export__bar { height: 6px; border-radius: 3px; background: var(--ground-2); overflow: hidden; }
.export__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s linear; }
.export__status { min-height: 1.4em; font-size: 13px; color: var(--ink-2); }
.export__status a { color: var(--accent); font-weight: 600; }
/* The orb being recorded renders here, invisibly, at the export size. */
.export-stage { position: fixed; left: 0; top: 0; opacity: 0; pointer-events: none; z-index: -1; }

/* ---- Desk mode ---- */
.desk { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; }
.desk[data-idle] { cursor: none; }
.desk__stage { display: grid; place-items: center; width: 100%; height: 100%; transition: transform 2s ease; }
.desk__orb { width: min(86vw, 86vh); height: min(86vw, 86vh); display: block; }
.desk__exit {
  all: unset; position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px));
  padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font: 550 14px/1 var(--f-body); cursor: pointer;
  transition: opacity .4s;
}
.desk[data-idle] .desk__exit { opacity: 0; pointer-events: none; }
.desk__exit:focus-visible { outline: 2px solid #fff; }
@media (prefers-reduced-motion: reduce) { .desk__stage { transition: none; } }
.install__note { min-height: 1.5em; margin-top: var(--s-3); font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .way { padding: var(--s-4); } .code { padding: var(--s-3) var(--s-4); font-size: 12px; } }

/* ---- Footer ----
   Split on the diagonal from top right to bottom left: orange above, sand below.
   The content is drawn twice (the second copy is made by site.js), each clipped to its own
   triangle, so every letter keeps full contrast even where a word crosses the line. */
.foot {
  --sun: #FF7A45; --night: #EADCC6;
  position: relative; isolation: isolate; margin-top: var(--s-5); overflow: hidden;
  background: linear-gradient(to bottom right, var(--sun) 50%, var(--night) 50%);
}
.foot__layer {
  --f-ink: #3A2912; --f-ink-2: rgba(58, 41, 18, .92); --f-ink-3: rgba(58, 41, 18, .86); --f-line: rgba(58, 41, 18, .22);
  color: var(--f-ink-2);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.foot__layer--sun {
  --f-ink: #2B0E02; --f-ink-2: rgba(43, 14, 2, .92); --f-ink-3: rgba(43, 14, 2, .86); --f-line: rgba(43, 14, 2, .22);
  position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.foot .mark { color: var(--f-ink); }
.foot .mark__orb { color: var(--f-ink); }
.foot a:focus-visible { outline-color: var(--f-ink); }
.foot__in {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: var(--s-6) var(--s-7);
  padding-block: var(--s-8) var(--s-7);
}
.foot__about { display: grid; align-content: start; gap: var(--s-3); }
.foot__eyebrow { font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--f-ink-3); margin-top: var(--s-2); }
.foot__lede { font-size: 15px; line-height: 1.6; color: var(--f-ink-2); max-width: 46ch; }
.foot__specs { display: grid; align-content: start; gap: var(--s-4); margin: 0; }
.foot__specs div { display: grid; gap: 2px; padding-bottom: var(--s-3); border-bottom: 1px solid var(--f-line); }
.foot__specs div:last-child { border-bottom: 0; padding-bottom: 0; }
.foot__specs dt { font: 500 12px/1.3 var(--f-mono); color: var(--f-ink-3); letter-spacing: .03em; }
.foot__specs dd { margin: 0; font: 600 20px/1.2 var(--f-body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--f-ink); }
.foot__h { font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--f-ink-3); margin-bottom: var(--s-4); }
.foot__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--f-ink-2); }
.foot__links a { color: var(--f-ink); text-decoration: none; font-weight: 550; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__bar-in {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  padding-block: var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--f-line);
  font-size: 14px; color: var(--f-ink-2);
}
.foot__bar a { color: var(--f-ink); font-weight: 650; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.foot__bar a:hover { border-bottom-width: 2.5px; }
.foot__copy { color: var(--f-ink-3); font-size: 13px; }
@media (max-width: 1000px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__about { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .foot__in { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); padding-block: var(--s-7) var(--s-6); }
  .foot__specs { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
  .foot__specs div { border-bottom: 0; padding-bottom: 0; }
  .foot__specs dd { font-size: 17px; }
  .foot__bar-in { flex-direction: column; align-items: flex-start; }
}
