/* Earshot holding page.
   Palette and motif come from docs/brand/earshot-brand-starter-kit.md §5:
   near-black + warm off-white gallery neutral, one saturated signal orange,
   and the "radius" metaphor — concentric rings as the logo. No photographs:
   Earshot has no faces.
   Deliberately self-contained (no external fonts) — the app's CSP is
   default-src 'self', so a webfont CDN would be blocked. */

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

:root {
  --ink: #0b0b0c;          /* near-black, gallery wall at night */
  --paper: #f1ebe0;        /* warm off-white */
  --paper-dim: #9a948b;    /* metadata, placard labels */
  --signal: #ff5a17;       /* safety orange — phone infrastructure */
  --rule: #26252a;

  --font-display: "Helvetica Neue", Helvetica, Inter, "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, monospace;
}

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

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  /* A faint radius behind everything: the page itself is inside earshot. */
  background-image: radial-gradient(circle at 50% 38%, #17161a 0%, var(--ink) 62%);
}

.stage {
  width: 100%;
  max-width: 34rem;
  margin: auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* === Wordmark: ears(o)ht — the "o" is a ring stack === */

.wordmark {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 13vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--paper);
}

.wordmark__part { display: block; }

/* Optically match the ring to the x-height of the lowercase letters and close
   the gap the SVG box would otherwise open on both sides. */
.ring {
  display: block;
  width: 0.78em;
  height: 0.78em;
  margin: 0 -0.055em 0 -0.045em;
  flex: none;
}

.ring svg { display: block; width: 100%; height: 100%; overflow: visible; }

.ring__core { fill: var(--signal); }

.ring__still {
  fill: none;
  stroke: var(--paper);
  stroke-width: 15;
}

.ring__pulse {
  fill: none;
  stroke: var(--signal);
  stroke-width: 10;
  transform-origin: 50% 50%;
  opacity: 0;
  animation: earshot-ripple 9s cubic-bezier(0.16, 0.7, 0.3, 1) 0.6s infinite;
}

@keyframes earshot-ripple {
  0%   { transform: scale(1);   opacity: 0.9; stroke-width: 10; }
  22%  { transform: scale(2.4); opacity: 0;   stroke-width: 3; }
  100% { transform: scale(2.4); opacity: 0;   stroke-width: 3; }
}

/* === Copy === */

.headline {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--paper);
}

.blurb {
  margin-top: 1.1rem;
  max-width: 30rem;
  color: #cec7bb;
}

.blurb--second { color: var(--paper-dim); }

/* === Placard: the anonymized-metadata motif, set as gallery signage === */

.placard {
  margin-top: 2.5rem;
  width: 100%;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.placard__row {
  display: flex;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.placard dt {
  flex: none;
  width: 4.5rem;
  color: var(--paper-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  padding-top: 0.15em;
}

.placard dd { color: var(--paper); }

/* === Foot === */

.foot {
  margin-top: 2.75rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--paper-dim);
}

.foot__host { color: var(--signal); letter-spacing: 0.02em; }

.foot__links a {
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.foot__links a:hover,
.foot__links a:focus-visible { color: var(--paper); border-bottom-color: var(--signal); }

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

@media (prefers-reduced-motion: reduce) {
  .ring__pulse { animation: none; }
}
