/* hookeui.org. A plain, light page in Inter; footage sits in dark frames so the specimen carries the colour.
   The blue is the studio's own action colour. */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --alt: #f6f7f9;
  --text: #16181d;
  --muted: #5b6170;
  --quiet: #80869a;
  --line: #e4e6eb;
  --stage: #0c0d10;
  --accent: #2f6fd6;
  --accent-hover: #255fbd;
  --amber: #c98a0b;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); }
h1 { font-size: clamp(48px, 8vw, 84px); line-height: 1; letter-spacing: -0.045em; font-weight: 650; }
h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 12px; }
h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 6px; }
h4 { font-size: 13px; line-height: 1.4; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
p { margin: 0 0 12px; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }

/* Bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top { transition: background-color 0.3s ease, border-color 0.3s ease; }
.top.on-sky { background: #04050b; border-bottom-color: rgba(243, 239, 231, 0.07); }
.top.on-sky .brand, .top.on-sky .brand:hover { color: #f3efe7; }
.top.on-sky nav a { color: rgba(232, 226, 214, 0.7); }
.top.on-sky nav a:hover { color: #f3efe7; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
nav { display: flex; gap: 24px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--text); }
/* Shared navigation retains the 60px header used by home overlays. */
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-180%); z-index: 30; padding: 10px 18px; background: white; color: #172c29; }
.skip-link:focus { transform: none; }
.site-menu { display: none; }
.top a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 900px) {
  .top .desktop-links { display: none; }
  .site-menu { display: block; }
  .site-menu summary { cursor: pointer; list-style: none; min-height: 44px; padding: 10px 0 10px 18px; font-size: 14px; }
  .site-menu summary::-webkit-details-marker { display: none; }
  .site-menu summary span { padding-left: 10px; }
  .site-menu[open] summary span { display: inline-block; transform: rotate(45deg); }
  .site-menu nav { position: absolute; top: 60px; left: 0; right: 0; padding: 16px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; background: #fcfaf6; border-bottom: 1px solid #ded9ce; box-shadow: 0 16px 24px #172c2910; }
  .site-menu nav a { padding: 10px 0; min-height: 44px; color: #233c35; }
  .top.on-sky .site-menu summary { color: #f3efe7; }
  .top.on-sky .site-menu nav a { color: #233c35; }
  .top.on-sky .site-menu nav a:hover { color: #122f27; }
}
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }

/* Hero: a night sky made of a specimen's cells (hero-scene.js). Dark here only; the page below stays light. */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.tagline { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; color: var(--text); font-weight: 550; letter-spacing: -0.015em; margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px;
  border-radius: 8px; font: 550 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  color: var(--text); background: var(--bg); border: 1px solid var(--line);
}
.button:hover { background: var(--alt); color: var(--text); }
.button.primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button:disabled { cursor: default; color: var(--quiet); background: var(--alt); border-color: var(--line); }
.note { font-size: 14px; color: var(--quiet); margin-top: 12px; }

.sky {
  --ink: #f3efe7; --ink-2: rgba(232, 226, 214, 0.74); --ink-3: rgba(222, 216, 204, 0.52);
  position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
  min-height: clamp(600px, 88vh, 880px); background: #04050b 70% 50% / cover no-repeat;
  color: var(--ink); color-scheme: dark;
}
.sky-stage { position: absolute; inset: 0; z-index: 0; }
.sky.still-bg { background-image: url("media/hero-scene.jpg"); } /* no WebGL, or no script: a still of the sky */
.sky-stage canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.25s ease; }
.sky-stage.live canvas { opacity: 1; }
.sky-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 5, 11, 0.9) 0%, rgba(4, 5, 11, 0.62) 30%, rgba(4, 5, 11, 0) 50%); }
.sky-labels { position: absolute; inset: 0; z-index: 2; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.sky-label { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.sky-label button {
  pointer-events: auto; display: block; position: relative; margin: 0; padding: 6px 8px; border: 0; background: none;
  font: 500 13px/1.2 var(--sans); letter-spacing: 0.01em; color: var(--ink); opacity: 0.86; cursor: default;
  text-shadow: 0 0 14px rgba(4, 5, 11, 0.95), 0 0 3px rgba(4, 5, 11, 0.9); white-space: nowrap;
}
.sky-label.open button { opacity: 1; }
.sky-name { display: block; }
.sky-what {
  position: absolute; left: 50%; top: 100%; width: max-content; max-width: 24ch; transform: translate(-50%, -3px);
  font-weight: 400; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); white-space: normal; text-align: center;
  opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none;
}
.sky-label.open .sky-what { opacity: 1; transform: translate(-50%, 0); }
.sky-label button:focus-visible { outline-color: rgba(243, 239, 231, 0.7); }
.hero-inner { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 96px; pointer-events: none; }
.hero-copy { max-width: 510px; pointer-events: auto; }
.sky h1 { color: var(--ink); font-size: clamp(56px, 6.4vw, 88px); }
.sky .tagline { color: var(--ink); font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1.24; letter-spacing: -0.022em; margin-top: 20px; }
.sky .lede { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; margin-top: 18px; }
.sky .status { color: var(--ink-2); border-color: rgba(243, 239, 231, 0.16); }
.sky .button { color: var(--ink); background: rgba(243, 239, 231, 0.04); border-color: rgba(243, 239, 231, 0.22); }
.sky .button:hover { background: rgba(243, 239, 231, 0.1); }
.sky .button:disabled { color: rgba(243, 239, 231, 0.5); background: rgba(243, 239, 231, 0.06); border-color: rgba(243, 239, 231, 0.12); }
.sky .note { color: var(--ink-3); }
.sky a:focus-visible, .sky .button:focus-visible { outline-color: rgba(243, 239, 231, 0.7); }
.sky-caption { position: absolute; z-index: 2; right: 24px; bottom: 18px; margin: 0; max-width: 68ch; text-align: right;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 999px) {
  .sky, .sky.still-bg { flex-direction: column; align-items: stretch; min-height: 0; background-image: none; }
  .hero-inner { order: 1; padding-top: 56px; padding-bottom: 8px; }
  .sky-stage { position: relative; order: 2; height: 460px; background: #04050b center / cover no-repeat; }
  .sky.still-bg .sky-stage { background-image: url("media/hero-scene-phone.jpg"); }
  .sky-stage::after { background: linear-gradient(180deg, #04050b 0%, rgba(4, 5, 11, 0) 22%, rgba(4, 5, 11, 0) 84%, #04050b 100%); }
  .sky-caption { position: static; order: 3; text-align: left; max-width: none; padding: 0 24px 32px; }
}
@media (max-width: 640px) { .sky-stage { height: 420px; } .sky-caption { padding: 0 16px 28px; } }

/* Media */
figure { margin: 0; }
.frame {
  background: var(--stage); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(12, 13, 16, 0.08);
  box-shadow: 0 1px 2px rgba(12, 13, 16, 0.06), 0 16px 40px -12px rgba(12, 13, 16, 0.18);
}
.frame video, .frame img { display: block; width: 100%; height: auto; }
.caption { font-size: 13.5px; line-height: 1.55; color: var(--quiet); margin-top: 12px; }
.sky-label.you button { color: #ffd9a0; font-weight: 550; font-size: 14px; letter-spacing: 0.02em; opacity: 0.95; }
.sky-label.you .sky-what { color: rgba(255, 222, 176, 0.75); }

/* The dawn: the hero's night carried down the page, its stars thinning, lightening into the page below. */
.dawn {
  position: relative; isolation: isolate; color: #f3efe7; margin-top: -1px;
  padding: 40px 0 clamp(170px, 19vw, 250px);
  background: linear-gradient(180deg, #04050b 0%, #04050b 52%, #0b1230 64%, #2b2f63 74%, #7d6f9e 83%, #d7bfc8 91%, #f1e6e2 96%, var(--day) 100%);
}
.sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 5, 11, 0), #04050b); }
.dawn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("media/dawn-stars.svg") center top / 1600px 700px repeat-x;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 72%); mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 72%);
}
.dawn-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.dawn h2 { color: #f3efe7; font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; margin: 0; max-width: 16ch; }
.beats { list-style: none; margin: 6px 0 0; padding: 0; position: relative; display: grid; gap: 34px; }
.beats::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, rgba(255, 217, 160, 0.7), rgba(255, 217, 160, 0.15)); }
.beats li { position: relative; padding-left: 36px; }
.beats li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle, #fff7e8 0 22%, #ffd9a0 40%, rgba(255, 190, 110, 0) 72%);
  box-shadow: 0 0 14px 3px rgba(255, 200, 130, 0.45); }
.beats h3 { color: #f3efe7; font-size: clamp(19px, 1.7vw, 23px); font-weight: 550; letter-spacing: -0.015em; margin-bottom: 6px; }
.beats p { color: rgba(232, 226, 214, 0.74); font-size: 16px; line-height: 1.6; }
@media (max-width: 860px) { .dawn-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; } .dawn { padding-top: 24px; } }

/* The eyepiece over the sky: the lens is the cursor. */
.sky.lens-on .sky-stage, .sky.lens-on .hero-inner { cursor: none; }
.sky-lens-note { position: absolute; left: 0; top: 0; z-index: 3; margin: 0; pointer-events: none; white-space: nowrap;
  font-size: 12.5px; color: rgba(243, 239, 231, 0.82); text-shadow: 0 0 12px rgba(4, 5, 11, 0.95); opacity: 0; transition: opacity 0.2s ease; }

/* Below the dawn: a day at the microscope. Morning paper with the night's ink on it, then dusk, then night again. */
:root { --day: #f6f2f1; --ink-day: #1c1f47; --ink-day-2: #3d4160; --gold-day: #a8730f; }

.say { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-day-2); max-width: 46ch; }
.plate-sec h2, .obs-sec h2 {
  font-size: clamp(32px, 3.7vw, 50px); font-weight: 480; line-height: 1.1; letter-spacing: -0.032em;
  color: var(--ink-day); margin: 0 0 24px; max-width: 19ch;
}

/* The plate: Hooke's cork, answered by today's stem */
.plate-sec { background: linear-gradient(180deg, var(--day) 0%, #fbf9f8 30%, #ffffff 70%); padding: 24px 0 120px; }
.plate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.plate-copy p:not(.say) { color: var(--muted); font-size: 16px; margin-top: 22px; max-width: 46ch; }
.plate { margin: 0; max-width: 600px; justify-self: end; width: 100%; }
.plate-disc {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 46%, #ffffff 0%, #fbfaf9 55%, #f1edf0 100%);
  box-shadow: inset 0 0 0 1px rgba(28, 31, 71, 0.28), 0 0 0 7px #ffffff, 0 0 0 8px rgba(28, 31, 71, 0.16),
    0 30px 70px -30px rgba(28, 31, 71, 0.35);
}
.plate-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 40px 6px rgba(246, 242, 241, 0.95); }
.plate-ink { display: block; width: 100%; height: 100%; }
.plate-ink path {
  fill: rgba(214, 160, 60, 0); stroke: var(--ink-day); stroke-width: 0.85; stroke-linejoin: round; stroke-opacity: 0.82;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.45, 0, 0.2, 1), fill 0.5s ease;
}
.plate-ink.drawn path { stroke-dashoffset: 0; }
.plate-ink path.lit { fill: rgba(222, 168, 62, 0.42); transition: fill 1.2s ease, stroke-dashoffset 1.6s; }
.plate-ink path.on { fill: rgba(222, 168, 62, 0.78); stroke: #6f4a05; stroke-opacity: 1; transition: fill 0.12s ease; }
.plate-read { font-size: 15px; color: var(--ink-day); text-align: center; margin: 22px auto 4px; max-width: none;
  font-variant-numeric: tabular-nums; min-height: 1.6em; }
.plate figcaption { font-size: 13.5px; line-height: 1.55; color: var(--quiet); text-align: center; max-width: 52ch; margin: 0 auto; }

.vows { list-style: none; margin: 112px 0 0; padding: 40px 0 0; border-top: 1px solid rgba(28, 31, 71, 0.12);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.vows li { position: relative; padding-top: 30px; }
.vows li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px;
  background: var(--gold-day); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.vows h3 { font-size: 19px; font-weight: 550; color: var(--ink-day); letter-spacing: -0.015em; margin-bottom: 8px; }
.vows p { color: var(--muted); font-size: 15.5px; }

/* Observations */
.obs-sec { background: #ffffff; padding: 40px 0 140px; }
.obs-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: end; margin-bottom: 56px; }
.obs-head h2 { margin: 0; }
.obs-head .say { margin: 0; }
.frame {
  background: var(--stage); border-radius: 10px; overflow: hidden; border: 0;
  box-shadow: 0 0 0 1px rgba(28, 31, 71, 0.1), 0 24px 50px -28px rgba(28, 31, 71, 0.45);
}
.obs h3 { font-size: 19px; font-weight: 550; color: var(--ink-day); letter-spacing: -0.015em; margin: 22px 0 8px; }
.obs-n { color: var(--gold-day); font-weight: 500; margin-right: 2px; }
.obs p { color: var(--muted); font-size: 15.5px; }
.obs p.caption { color: var(--quiet); font-size: 13.5px; margin-top: 8px; }
.obs video { aspect-ratio: 16 / 10; object-fit: contain; }
.obs.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; margin-bottom: 88px; }
.obs.lead video { aspect-ratio: auto; }
.obs.lead h3 { font-size: clamp(22px, 2vw, 26px); margin-top: 0; }
.obs.lead p { font-size: 17px; }
.obs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 48px; }

/* Dusk: the day turns back into the sky, and the catalog is its stars */
.dusk {
  position: relative; isolation: isolate; color: #f3efe7;
  padding: clamp(280px, 26vw, 360px) 0 24px;
  background: linear-gradient(180deg, #ffffff 0, #f7ece7 40px, #e6c9c6 105px, #a98ba6 175px, #5a4f80 240px, #1f2350 300px, #0a0d22 400px, #04050b 520px);
}
.dusk::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("media/dawn-stars.svg") center 180px / 1600px 700px repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 180px, #000 440px);
  mask-image: linear-gradient(180deg, transparent 0, transparent 180px, #000 440px);
}
.dusk-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.dusk h2 { color: #f3efe7; font-size: clamp(38px, 4.6vw, 64px); font-weight: 450; line-height: 1.05; letter-spacing: -0.035em; margin: 0; }
.dusk .say { color: rgba(232, 226, 214, 0.78); margin: 0; }
.atlas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 88px; }
.glyph { display: block; width: 100%; height: 120px; margin-bottom: 18px; overflow: visible; }
.glyph line { stroke: rgba(255, 217, 160, 0.5); stroke-width: 1.1; transition: stroke 0.4s ease; }
.glyph circle { fill: #fff3dc; transition: r 0.35s ease, fill 0.35s ease; }
.glyph circle.halo { fill: rgba(255, 200, 130, 0.16); }
.glyph circle.on { fill: #ffd9a0; }
.figure-col h3 { color: #f3efe7; font-size: 19px; font-weight: 550; letter-spacing: -0.015em; margin: 0; }
.figure-col .where { font-size: 13px; color: rgba(255, 217, 160, 0.72); margin: 2px 0 16px; }
.figure-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.figure-col li { font-size: 14.5px; line-height: 1.45; color: rgba(222, 216, 204, 0.6); cursor: default; transition: color 0.3s ease; }
.figure-col li b { color: #f3efe7; font-weight: 550; transition: color 0.3s ease; }
.figure-col li.on, .figure-col li.on b { color: #ffd9a0; }
.figure-col .small { color: rgba(222, 216, 204, 0.52); margin-top: 14px; }
.filling { margin-top: 88px; padding-top: 40px; border-top: 1px solid rgba(243, 239, 231, 0.1); display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); }
.filling h3 { color: #f3efe7; font-size: clamp(24px, 2.2vw, 30px); font-weight: 450; letter-spacing: -0.025em; }
.filling p { color: rgba(232, 226, 214, 0.72); font-size: 16px; line-height: 1.65; }

/* Night again: install, then the footer */
.night-end { background: #04050b; color: #f3efe7; padding: 120px 0 140px; }
.install-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.night-end h2 { color: #f3efe7; font-size: clamp(38px, 4.6vw, 64px); font-weight: 450; line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 22px; }
.night-end .say { color: rgba(232, 226, 214, 0.78); }
.night-end .small { color: rgba(222, 216, 204, 0.55); margin-top: 18px; max-width: 46ch; }
.code { display: flex; flex-direction: column; }
.code pre {
  margin: 0; padding: 20px 22px; background: rgba(243, 239, 231, 0.04); color: #ece6da; border-radius: 10px;
  border: 1px solid rgba(243, 239, 231, 0.12); overflow-x: auto; font: 14px/1.8 var(--mono);
}
.copy-btn {
  align-self: flex-end; margin-bottom: 10px; min-height: 30px; padding: 0 12px; cursor: pointer;
  font: 500 13px/1 var(--sans); color: rgba(232, 226, 214, 0.8); background: transparent;
  border: 1px solid rgba(243, 239, 231, 0.18); border-radius: 6px;
}
.copy-btn:hover { color: #f3efe7; border-color: rgba(243, 239, 231, 0.35); }
.night-end .caption { color: rgba(222, 216, 204, 0.5); }
.steps { margin: 0; padding-left: 1.3em; color: rgba(232, 226, 214, 0.78); font-size: 16px; line-height: 1.65; }
.steps li { margin: 0 0 10px; padding-left: 4px; }
.night-end .button { color: #f3efe7; background: rgba(243, 239, 231, 0.04); border-color: rgba(243, 239, 231, 0.22); }
.night-end .button.primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.night-end a:focus-visible, .night-end button:focus-visible, .dusk :focus-visible, .foot a:focus-visible { outline-color: rgba(243, 239, 231, 0.7); }

.foot { background: #04050b; border-top: 1px solid rgba(243, 239, 231, 0.07); padding: 32px 0 48px; font-size: 13.5px; color: rgba(222, 216, 204, 0.5); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 48px; }
.foot p { margin: 0; max-width: 78ch; }
.foot a { color: rgba(243, 239, 231, 0.8); }
.foot a:hover { color: #f3efe7; }

@media (max-width: 999px) {
  .plate-grid, .obs-head, .dusk-head, .filling, .install-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plate { justify-self: center; max-width: 520px; }
  .atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
  .obs.lead { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .obs.lead h3 { margin-top: 22px; }
}
@media (max-width: 760px) {
  .vows { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 72px; }
  .obs-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .plate-sec { padding-bottom: 88px; }
  .obs-sec { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  .atlas { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .glyph { height: 84px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .plate-ink path { stroke-dashoffset: 0; transition: fill 0.12s ease; }
}
