:root {
  --page: #F4F1E9;
  --glass-bg: rgba(244, 241, 233, .74);
  --glass-border: rgba(20, 19, 17, .10);
  --glass-ink: rgba(20, 19, 17, .76);
  --glass-shadow: 0 8px 22px rgba(20, 19, 17, .06);
  --surface: #F7F4EC;
  --surface-ink: #171614;
  --surface-muted: rgba(23, 22, 20, .54);
  --surface-rule: rgba(23, 22, 20, .12);
  --surface-shadow: 0 24px 80px rgba(20, 19, 17, .18);
  --rust: #B14922;
  --rust-rgb: 177, 73, 34;
  --action-bg: rgba(244, 241, 233, .92);
  --fog-wash: rgba(244, 241, 233, .24);
  --terrain: url("assets/mobile-terrain.a7fd8e442578.svg");
  --terrain-opacity: .06;
  --art-filter: none;
  --logo: url("assets/pono-logo.1f8b1c5cf091.svg");
}

html[data-theme="dark"] {
  --page: #000;
  --glass-bg: rgba(14, 14, 14, .72);
  --glass-border: rgba(255, 255, 255, .10);
  --glass-ink: rgba(255, 255, 255, .82);
  --glass-shadow: 0 10px 24px rgba(0, 0, 0, .26);
  --surface: #10100f;
  --surface-ink: #f4f1e9;
  --surface-muted: rgba(244, 241, 233, .54);
  --surface-rule: rgba(244, 241, 233, .12);
  --surface-shadow: 0 24px 80px rgba(0, 0, 0, .58);
  --action-bg: rgba(14, 14, 14, .82);
  --fog-wash: rgba(0, 0, 0, .24);
  --terrain-opacity: .15;
  --art-filter: invert(1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  background: var(--page);
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: fixed;
  inset: 0;
  min-width: 320px;
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a, input, textarea { -webkit-tap-highlight-color: transparent; }

/* Hero is art: fog clears into terrain, then PONO. */
.hero {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--page);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: var(--art-filter);
}

.hero::before {
  inset: 0;
  z-index: 0;
  background: var(--terrain) center / cover no-repeat;
  opacity: var(--terrain-opacity);
  animation: arrival-terrain 4.2s cubic-bezier(.20,.58,.28,1) both;
}

.hero::after {
  z-index: 7;
  left: 50%;
  top: 50%;
  width: 37.97%;
  aspect-ratio: 1758 / 988;
  background: var(--logo) center / contain no-repeat;
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: arrival-pono 4.2s cubic-bezier(.20,.58,.28,1) both;
}

.arrival-fog {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: var(--fog-wash);
  backdrop-filter: blur(12px) saturate(.80) contrast(.97);
  -webkit-backdrop-filter: blur(12px) saturate(.80) contrast(.97);
  animation: arrival-fog-clear 4.2s cubic-bezier(.20,.58,.28,1) both;
  will-change: opacity;
  transform: translateZ(0);
}

.arrival-copy {
  position: absolute;
  z-index: 9;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.arrival-copy-line {
  grid-area: 1 / 1;
  margin: 0;
  color: var(--glass-ink);
  font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  white-space: nowrap;
}

.arrival-copy-line--fog {
  animation: arrival-from-fog 4.2s ease both;
}

.arrival-copy-line--focus {
  color: var(--rust);
  animation: arrival-to-focus 4.2s ease both;
}

.theme-toggle,
.provenance-trigger,
.bottom-actions {
  animation: arrival-controls 4.2s ease both;
}

@keyframes arrival-terrain {
  0%, 18% { opacity: 0; }
  62%, 100% { opacity: var(--terrain-opacity); }
}

@keyframes arrival-fog-clear {
  0%, 18% { opacity: 1; }
  50% { opacity: .72; }
  76% { opacity: .20; }
  100% { opacity: 0; }
}

@keyframes arrival-from-fog {
  0%, 5% { opacity: 0; }
  12%, 26% { opacity: 1; }
  36%, 100% { opacity: 0; }
}

@keyframes arrival-to-focus {
  0%, 33% { opacity: 0; }
  42%, 56% { opacity: 1; }
  66%, 100% { opacity: 0; }
}

@keyframes arrival-pono {
  0%, 55% { opacity: 0; }
  82%, 100% { opacity: 1; }
}

@keyframes arrival-controls {
  0%, 80% { opacity: 0; visibility: hidden; }
  80.01% { opacity: 0; visibility: visible; }
  100% { opacity: 1; visibility: visible; }
}

.chrome-button {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2rem;
  padding: .45rem .72rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  color: var(--glass-ink);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.2,.7,.2,1), background-color 180ms ease, color 180ms ease;
}

.theme-toggle,
.provenance-trigger {
  width: 2rem;
  min-width: 2rem;
  padding: .45rem;
  justify-content: center;
}

.theme-toggle {
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
}

.provenance-trigger {
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
}

.provenance-card {
  position: fixed;
  z-index: 12;
  top: calc(max(1rem, env(safe-area-inset-top)) + 2.55rem);
  right: max(1rem, env(safe-area-inset-right));
  left: max(1rem, env(safe-area-inset-left));
  width: auto;
  max-height: calc(75vh - env(safe-area-inset-top));
  padding: 1.2rem 1.25rem 1.05rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--glass-border);
  border-radius: 1.15rem;
  background: var(--glass-bg);
  color: var(--glass-ink);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.provenance-card[hidden] { display: none; }

.provenance-origin p,
.provenance-copyright {
  margin: 0;
}

.provenance-origin p {
  color: var(--surface-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: .82rem;
  line-height: 1.58;
  letter-spacing: -.006em;
}

.provenance-origin p + p {
  margin-top: 1rem;
}

.provenance-origin em {
  font-weight: 500;
}

.provenance-card .pono-word {
  color: var(--rust);
  font-style: italic;
}

.provenance-copyright {
  margin-top: 1rem;
  padding-top: .82rem;
  border-top: 1px solid var(--glass-border);
  color: var(--surface-muted);
  font-size: .64rem;
  line-height: 1.48;
  letter-spacing: .04em;
}

.bottom-actions {
  position: absolute;
  z-index: 4;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.bottom-actions .chrome-button {
  position: static;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  justify-content: center;
  padding: .72rem 1rem;
  border-color: var(--rust);
  background: var(--action-bg);
  color: var(--rust);
  box-shadow: 0 5px 14px rgba(var(--rust-rgb), .07);
}

.bottom-actions .announcement-trigger {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--rust-rgb), .18);
}

.chrome-button:hover { transform: translateY(-1px); }
.chrome-button:active { transform: translateY(0); }
.chrome-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.chrome-icon {
  width: .86rem;
  height: .86rem;
  flex: 0 0 auto;
  display: block;
}

.theme-glyph--moon,
html[data-theme="dark"] .theme-glyph--sun { display: none; }
html[data-theme="dark"] .theme-glyph--moon { display: block; }

.fire-icon {
  width: .96rem;
  height: .96rem;
  color: inherit;
  transform-origin: 50% 80%;
  transition: transform 180ms cubic-bezier(.16,.86,.26,1.04);
}
.announcement-trigger:active .fire-icon { transform: scale(.9) rotate(-4deg); }

@media (hover:hover) and (pointer:fine) {
  .bottom-actions .hello-trigger:hover {
    background: var(--action-bg);
    background: color-mix(in srgb, var(--action-bg) 92%, var(--rust) 8%);
    box-shadow: 0 7px 18px rgba(var(--rust-rgb), .10);
  }
  .bottom-actions .announcement-trigger:hover {
    background: var(--rust);
    box-shadow: 0 8px 20px rgba(var(--rust-rgb), .22);
  }
}

.sr-only,
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* PONO is an immovable canvas. An open dialog owns the whole interaction plane. */
dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--surface-ink);
  overflow: hidden;
}

dialog[open] { display: block; }
dialog::backdrop { background: transparent; }
dialog:focus { outline: none; }

.dialog-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 7, .35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  touch-action: none;
  transition: opacity 200ms ease-out;
}

dialog.presented .dialog-scrim { opacity: 1; }

.dialog-card {
  z-index: 1;
  background: var(--surface);
  box-shadow: var(--surface-shadow);
}

/* One surface shell: close / identity / action. Each ritual owns the content beneath it. */
.surface-header {
  position: relative;
  z-index: 2;
  min-height: 4.1rem;
  display: grid;
  grid-template-columns: var(--surface-left) minmax(0, 1fr) var(--surface-right);
  gap: .45rem;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-rule);
}

.surface-header p {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--surface-muted);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.dialog-close {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--rust);
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px rgba(var(--rust-rgb), .82);
}

.surface-action,
.contact-submit {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rust);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.surface-action:focus-visible,
.contact-submit:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.surface-action:active,
.contact-submit:active { opacity: .72; }

/* Announcement is a document. Mobile is immersive; 768px+ changes only the stage. */
.announcement { background: var(--surface); }
.announcement .dialog-scrim,
.hello .dialog-scrim { display: none; }

.announcement-card {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
  opacity: 0;
  transform: translateY(.35rem);
  transition: transform 280ms cubic-bezier(.2,.72,.18,1), opacity 220ms ease-out;
}

.announcement.presented .announcement-card {
  opacity: 1;
  transform: none;
}

.announcement-header {
  --surface-left: 5.4rem;
  --surface-right: 5.4rem;
  padding: max(.6rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) .25rem max(1rem, env(safe-area-inset-left));
}

.surface-action {
  gap: .38rem;
  font-size: .78rem;
}

.release-share {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.release-share .fire-icon {
  width: .94rem;
  height: .94rem;
}
.release-share[data-state="copied"] .fire-icon { display: none; }

.release {
  flex: 1 1 auto;
  min-height: 0;
  width: min(100%, 43rem);
  margin: 0 auto;
  padding: 1.25rem 1.45rem max(4rem, calc(env(safe-area-inset-bottom) + 2rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.release-section-title,
.boilerplate-title {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
}

.release-meta {
  margin: 0 0 2.6rem;
  color: var(--surface-muted);
  font-size: .76rem;
  letter-spacing: .025em;
}

.release h2 {
  max-width: 42rem;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.15rem, 8.8vw, 3.55rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.release-dek {
  max-width: 37rem;
  margin: 1.65rem 0 2.8rem;
  color: var(--surface-muted);
  color: color-mix(in srgb, var(--surface-ink) 70%, transparent);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.54;
  letter-spacing: -.012em;
}

.release-rule {
  height: 1px;
  margin: 0 0 2.8rem;
  border: 0;
  background: var(--surface-rule);
}

.release-body {
  width: min(100%, 36rem);
  margin: 0 auto;
}

.release-text {
  width: 100%;
  margin: 0;
}

.release-text a,
.release-source a {
  color: var(--rust);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.release-product {
  width: min(100%, 27rem);
  margin: 2.65rem auto 3rem;
}

.release-product-frame {
  padding: 1.15rem 1rem 1rem;
  border: 1px solid var(--surface-rule);
  background: color-mix(in srgb, var(--surface) 96%, var(--surface-ink));
}

.release-product img {
  display: block;
  width: 100%;
  height: auto;
}

.release-product figcaption {
  margin: .62rem .05rem 0;
  color: var(--surface-muted);
  font-size: .68rem;
  line-height: 1.4;
}

.release-text p,
.release-text blockquote {
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: -.006em;
}

.release-text > p { margin: 0 0 1.45rem; }

.release-section-title {
  margin: 3.65rem 0 1.25rem;
  color: var(--rust);
  font-size: .68rem;
}

.release-text blockquote {
  margin: 2.8rem 0 .8rem;
  padding: 0;
  border: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.25rem, 4.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -.018em;
}

.quote-attribution {
  margin: 0 0 1.7rem !important;
  padding: 0;
  color: var(--surface-muted);
  font-size: .76rem !important;
  line-height: 1.5 !important;
  letter-spacing: .012em !important;
}

.quote-attribution + blockquote {
  margin-top: 2.7rem;
}

.quote-attribution + p:not(.quote-attribution) {
  margin-top: .55rem;
}

.boilerplate {
  margin-top: 3.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-rule);
}

.boilerplate + .boilerplate {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.boilerplate-title {
  margin: 0 0 .8rem;
  color: var(--surface-muted);
  font-size: .65rem;
}

.boilerplate p {
  margin-bottom: 0;
  color: var(--surface-muted);
  color: color-mix(in srgb, var(--surface-ink) 66%, transparent);
  font-size: .9rem;
  line-height: 1.65;
}

.release-source {
  margin-top: 2.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--surface-rule);
  color: var(--surface-muted);
}

.release-source p {
  margin: 0 0 .5rem;
  font-size: .78rem;
  line-height: 1.5;
}

.official-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  margin-top: 2.6rem;
  padding: .72rem 0;
  border: solid var(--surface-rule);
  border-width: 1px 0;
  color: var(--rust);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  transition: opacity 160ms ease, transform 160ms ease;
}

.official-link:hover { opacity: .82; }
.official-link:active { transform: translateY(1px); }
.official-link:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.official-link small {
  display: block;
  margin-top: .18rem;
  color: var(--surface-muted);
  font-size: .68rem;
  font-weight: 400;
}
.official-link-arrow { font-size: 1.15rem; }


/* Say Hello is one composer ritual. Mobile is the layout baseline; only the stage changes at 768px. */
.hello { background: var(--surface); }

.hello-card {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
  opacity: 0;
  transform: translateY(.35rem);
  transition: transform 240ms cubic-bezier(.22,.72,.18,1), opacity 180ms ease-out;
}

.hello.presented .hello-card {
  opacity: 1;
  transform: none;
}

.hello-header {
  --surface-left: 2.75rem;
  --surface-right: 3.7rem;
  padding: max(.6rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) .25rem max(1rem, env(safe-area-inset-left));
}

.contact-form {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: .8rem max(1.45rem, env(safe-area-inset-right)) max(.7rem, env(safe-area-inset-bottom)) max(1.45rem, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.contact-field {
  min-width: 0;
  margin-top: 0;
}

.contact-field--message {
  min-height: 0;
  margin-top: 1rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.contact-field label {
  display: block;
  margin: 0 0 .34rem;
  color: var(--surface-muted);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--surface-ink);
  outline: none;
  appearance: none;
  box-shadow: none;
  font: inherit;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-field input {
  min-height: 2.85rem;
  padding: .25rem 0 .72rem;
  border-bottom: 1px solid var(--surface-rule);
}

.contact-field textarea { resize: none; }

.contact-field--message textarea {
  min-height: 0;
  height: 100%;
  padding: .65rem 0 calc(38vh + max(.7rem, env(safe-area-inset-bottom)));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  line-height: 1.55;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--surface-muted);
  opacity: .66;
}

.contact-field input:focus,
.contact-field textarea:focus {
  background: transparent;
  border-color: var(--surface-rule);
  box-shadow: none;
}

.contact-email-wrap { position: relative; }
.contact-email-wrap input { padding-right: 7.8rem; }

.contact-email-cue {
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  transform: translateY(-50%);
  color: var(--rust);
  font-size: .66rem;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.contact-email-cue:empty { display: none; }

.contact-submit {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  gap: .42rem;
  padding: 0 .2rem;
  border-radius: 0;
  box-shadow: none;
  font-size: .88rem;
  transition: color 160ms ease, opacity 160ms ease;
}

.send-icon {
  width: .98rem;
  height: .98rem;
  flex: 0 0 auto;
}

.contact-submit:disabled {
  cursor: default;
  color: var(--surface-muted);
  opacity: .42;
}

.hello[data-send-state="sending"] .contact-submit {
  cursor: wait;
  color: var(--rust);
  opacity: .72;
}

.hello[data-send-state="sent"] .contact-submit {
  color: var(--rust);
  opacity: 1;
}

.hello[data-send-state="sending"] .send-icon,
.hello[data-send-state="sent"] .send-icon { display: none; }

.contact-status {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: .35rem 0 0;
  color: var(--surface-muted);
  font-size: .68rem;
  line-height: 1.35;
}
.contact-status:empty { display: none; }
.contact-status:not(:empty)::before {
  content: "•";
  margin-right: .42rem;
  color: var(--rust);
}

/* One composition boundary. */
@media (min-width: 768px) {
  :root { --terrain: url("assets/terrain.bb9444ed5cde.svg"); }

  .hero::after {
    top: 46%;
    width: clamp(20rem, 36vw, 31rem);
  }

  .theme-toggle {
    top: max(1.4rem, env(safe-area-inset-top));
    right: max(1.4rem, env(safe-area-inset-right));
  }

  .provenance-trigger {
    top: max(1.4rem, env(safe-area-inset-top));
    left: max(1.4rem, env(safe-area-inset-left));
  }

  .provenance-card {
    position: absolute;
    z-index: 10;
    top: calc(max(1.4rem, env(safe-area-inset-top)) + 2.55rem);
    right: auto;
    left: max(1.4rem, env(safe-area-inset-left));
    width: min(25rem, calc(100vw - 2.8rem));
    max-height: min(38rem, calc(100vh - 6rem));
    padding: 1.15rem 1.2rem 1rem;
  }

  .bottom-actions {
    left: 50%;
    right: auto;
    bottom: auto;
    top: calc(46% + clamp(5.1rem, 8vw, 6rem));
    width: min(clamp(28rem, 39vw, 29rem), calc(100vw - 3rem));
    transform: translateX(-50%);
    gap: .8rem;
  }

  .bottom-actions .chrome-button {
    min-height: 3rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .announcement,
  .hello { background: transparent; }
  .announcement .dialog-scrim,
  .hello .dialog-scrim { display: block; }

  .announcement-card {
    inset: 0;
    margin: auto;
    width: min(46rem, calc(100vw - 3rem));
    height: min(52rem, calc(100svh - 3rem));
    border-radius: 1.65rem;
    box-shadow: var(--surface-shadow);
    transform: translateY(.5rem) scale(.992);
  }

  .announcement.presented .announcement-card { transform: none; }

  .announcement-header {
    min-height: 4rem;
    padding: .25rem 1.5rem;
  }

  .release { padding: 1rem 2.4rem 3.4rem; }


  /* Same Say Hello ritual; only the stage changes at 768px. */
  .contact-field--message textarea {
    padding-bottom: max(.7rem, env(safe-area-inset-bottom));
  }

  .hello-card {
    top: 50%;
    left: 50%;
    width: min(38rem, calc(100vw - 3rem));
    height: min(18.5rem, calc(100% - 3rem));
    max-height: calc(100% - 3rem);
    border-radius: 1.65rem;
    background: var(--surface);
    box-shadow: var(--surface-shadow);
    transform: translate(-50%, -50%) translateY(1rem) scale(.992);
  }

  .hello.presented .hello-card { transform: translate(-50%, -50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .arrival-fog,
  .arrival-copy { display: none; }

  .hero::before { opacity: var(--terrain-opacity); }
  .hero::after,
  .theme-toggle,
  .provenance-trigger,
  .bottom-actions { opacity: 1; visibility: visible; }
}
