@charset "UTF-8";

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --ink:    #1e1529;
  --cream:  #faf6ef;
  --gold:   #b08a5a;
  --muted:  #9b8da3;
  --dim:    #c4b5cc;
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r:      14px;
  --gap:    clamp(28px, 5vw, 48px);
}

/* ─── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box }
html { min-height: 100%; background: var(--cream) }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font: 14px/1.65 var(--sans);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
button, input { font: inherit }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent }
a { color: inherit; text-decoration: none }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
button:disabled { opacity: .35; cursor: not-allowed }
h1, h2, h3, p { margin-top: 0 }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.04em;
}
h1 { font-size: clamp(38px, 4.5vw, 60px); margin-bottom: 24px }
h1 em { font-style: italic; font-weight: 300; color: inherit }
h2 { font-size: 32px }
p { color: var(--muted) }

/* ─── BRAND ICON ────────────────────────────────────────────────────── */
.brand-pause {
  display: inline-block; width: 12px; height: 12px;
  flex-shrink: 0; color: var(--gold); vertical-align: middle;
}
.topic-marker .brand-pause { margin-left: 5px }
.report h1 .brand-pause { width: 22px; height: 22px; margin-left: 6px }
.btn .brand-pause { width: 12px; height: 12px }

/* ─── PROGRESS DOTS ─────────────────────────────────────────────────── */
.progress {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px;
}
.progress i {
  width: 11px !important; height: 11px !important;
  background: none !important; line-height: 0;
  display: grid !important; place-items: center;
  color: #cdbbc8;
}
.progress i .brand-pause { width: 10px; height: 10px; color: inherit }
.progress i.done { color: #8d6d86 }
.progress i.current {
  color: var(--ink);
  outline: 1px solid #b08a5a66;
  outline-offset: 3px;
  border-radius: 50%;
}

/* ─── ATMOSPHERE ────────────────────────────────────────────────────── */
.atmosphere {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, #fffdf5, #faf5ed00 55%);
}
.haze {
  position: absolute; bottom: -46vh; width: 95vw; height: 88vh;
  border-radius: 50%; filter: blur(80px); opacity: .4;
  animation: drift 24s ease-in-out infinite alternate;
}
.haze-a { left: -20vw; background: radial-gradient(ellipse, #c9a8be, #c9a8be00 65%) }
.haze-b {
  right: -25vw; bottom: -48vh;
  background: radial-gradient(ellipse, #a8a3c8, #a8a3c800 65%);
  animation-delay: -11s;
}
.stardust {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 32%, #b08a5a66 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 23%, #b08a5a66 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 59%, #b08a5a55 0 1px, transparent 1.5px),
    radial-gradient(circle at 28% 70%, #b08a5a44 0 1px, transparent 1.5px);
}
.atmosphere { opacity: var(--atmosphere-level, 1); transition: opacity .65s }

/* ─── HEADER ────────────────────────────────────────────────────────── */
.site-header {
  height: 80px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 44px;
  flex-shrink: 0;
}
.brand img { display: block }
.library-button {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 0; font-size: 11px;
  color: var(--muted); padding: 8px;
}
.library-count {
  font-size: 9px; border-radius: 50%;
  background: #e4d9df; padding: 0 5px;
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
.quiet-footer {
  display: flex; justify-content: center; align-items: center;
  gap: 20px 28px; padding: 20px 20px 26px;
  font-size: 9px; color: var(--muted);
  flex-wrap: wrap; flex-shrink: 0;
}
.quiet-footer button {
  background: none; border: 0; padding: 0;
  font-size: 9px; color: inherit;
}
.quiet-footer button:hover { text-decoration: underline }

/* ─── LAYOUT ────────────────────────────────────────────────────────── */
main {
  width: 100%; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  outline: 0;
}
.scene {
  width: min(100% - 48px, 580px);
  margin: auto;
  padding: 24px 0 36px;
  text-align: center;
  animation: arrive .55s cubic-bezier(.2, .7, .2, 1) both;
}
.scene.welcome { width: min(100% - 40px, 820px); padding-bottom: 32px }

/* ─── TYPE HELPERS ──────────────────────────────────────────────────── */
.eyebrow {
  font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 20px;
}
.whisper {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  font-weight: 300; color: var(--muted);
  margin-bottom: 16px; letter-spacing: -.02em;
}
.intro-copy {
  font-size: 13px; max-width: 400px;
  margin: 0 auto 28px; color: var(--muted); line-height: 1.85;
}

/* ─── PRESENCE ORB ──────────────────────────────────────────────────── */
.presence {
  width: 108px; height: 108px;
  position: relative; margin: 0 auto 32px;
  display: grid; place-items: center;
}
.presence::before {
  content: '';
  position: absolute; inset: 14px; border-radius: 50%;
  background: radial-gradient(circle at 45% 35%,
    #fffefa, #fff8dc 16%, #f5dfc880 44%,
    #dac5db30 68%, transparent 75%);
  box-shadow: 0 0 60px 15px #e1c7d41f;
  animation: breathe 5s ease-in-out infinite;
}
.presence svg {
  position: relative; z-index: 1;
  width: 36px; height: 44px;
  fill: var(--gold);
  filter: drop-shadow(0 0 8px #b08a5a30);
}
.presence .ring {
  position: absolute; inset: 2px;
  border: 1px solid #b08a5a2e; border-radius: 50%;
  transform: rotate(-28deg) scaleY(.78);
}
.presence .ring.second {
  inset: -4px; border-color: #c7b0c522;
  transform: rotate(46deg) scaleY(.74);
}
.presence .spark { position: absolute; color: var(--gold); font-size: 12px; right: 3px; top: 15px }
.presence.small { width: 64px; height: 64px; margin-bottom: 20px }
.presence.small svg { width: 24px; height: 30px }
.presence.small .spark { font-size: 9px; right: -1px; top: 6px }

/* ─── PORTALS (home) ────────────────────────────────────────────────── */
.welcome h1 {
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.08; margin-bottom: 36px;
}
.welcome .whisper { margin-bottom: 14px }

.portals {
  display: flex; justify-content: center;
  gap: 0; max-width: 740px; margin: 0 auto 32px;
}
.portal {
  flex: 1; min-width: 0;
  padding: 10px 28px 16px;
  background: none; border: 0;
  position: relative;
  transition: transform .3s;
}
.portal + .portal::before {
  content: '';
  position: absolute; left: 0; top: 16px; bottom: 17px;
  width: 1px;
  background: linear-gradient(transparent, #c5b2bf66, transparent);
}
.portal-icon {
  height: 42px; display: block;
  font: 36px var(--serif); color: #967485;
  transition: transform .35s;
}
.portal-label {
  display: block; font: 300 24px var(--serif);
  letter-spacing: -.02em; margin: 12px 0 8px;
}
.portal-arrow {
  display: inline-block; font-size: 15px;
  color: #a08598; transition: transform .3s;
}
.portal:hover { transform: translateY(-4px) }
.portal:hover .portal-icon { transform: scale(1.1); color: #a57f52 }
.portal:hover .portal-arrow { transform: translateX(5px) }
.entry-note { font-size: 9px; letter-spacing: .015em; color: var(--muted); margin: 0 }

/* ─── RETURN STATE ──────────────────────────────────────────────────── */
.return-invitation {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; flex-wrap: wrap;
  margin: 14px auto 0; font-size: 10px; color: var(--muted);
}
.return-invitation button {
  border: 0; background: none; padding: 0;
  font-size: 10px; color: var(--gold);
  text-decoration: underline; text-underline-offset: 4px;
}
/* Keep return context minimal — just a quiet link */
.return-context {
  margin: 0 auto 14px; max-width: 420px;
  font-size: 10px; color: var(--muted); line-height: 1.7;
}
.return-context span { display: block }
.return-context .quiet-action { font-size: 10px; padding-block: 3px }

/* ─── BACK / TOPIC MARKER ───────────────────────────────────────────── */
.back {
  background: none; border: 0; color: var(--muted);
  font-size: 11px; display: block;
  margin: 0 auto 28px; padding: 4px 12px;
}
.back:hover { color: var(--ink) }
.topic-marker {
  font: italic 300 17px var(--serif);
  color: var(--muted); margin-bottom: 18px;
}

/* ─── CHOICES ───────────────────────────────────────────────────────── */
.choices {
  display: flex; flex-direction: column;
  gap: 10px; margin: 30px auto 20px; max-width: 480px;
}
.choice {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  min-height: 60px;
  background: #ffffff55;
  border: 1px solid #d0bece88;
  border-radius: 12px;
  text-align: left;
  padding: 16px 22px;
  color: #594657; font-size: 13px; line-height: 1.5;
  transition: background .2s, border-color .2s, transform .2s;
}
.choice::after { content: '↗'; font-size: 15px; color: #b09aaa; flex-shrink: 0 }
.choice:hover {
  background: #fffdf9cc;
  border-color: #a88ea5;
  transform: translateY(-2px);
}
.choice.selected {
  background: #ede0ee99;
  border-color: #9d7e9a;
}
.choice.selected::after { content: '✓'; color: #70536c }

.choices.signs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px;
}
.signs .choice {
  justify-content: center; text-align: center;
  padding: 10px 8px; font-size: 12px; min-height: 48px;
}
.signs .choice::after { display: none }

/* ─── AGE CHECK ─────────────────────────────────────────────────────── */
.age-check {
  display: flex; gap: 9px; align-items: center;
  justify-content: center;
  font-size: 10px; color: var(--muted);
  margin: 24px auto 18px;
}
.age-check input { accent-color: #765b74; width: 15px; height: 15px }

/* ─── BUTTON ────────────────────────────────────────────────────────── */
.btn {
  background: var(--ink); border: 1px solid var(--ink);
  border-radius: 32px; min-height: 52px;
  padding: 13px 32px; font-size: 12px;
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 24px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover:not(:disabled) {
  background: #3a2440;
  box-shadow: 0 8px 28px #34283822;
  transform: translateY(-1px);
}
.btn.secondary { background: none; color: #775d74; border-color: #c4b1c2 }
.btn.wide { width: 100% }

/* ─── UTILITY ───────────────────────────────────────────────────────── */
.micro {
  font-size: 10px; color: var(--muted); line-height: 1.7;
  margin: 15px auto 0; max-width: 400px;
}
.quiet-action {
  background: none; border: 0; color: var(--muted);
  font-size: 10px; text-decoration: underline;
  text-underline-offset: 4px; padding: 6px 9px;
}
.question-counter {
  font-size: 9px; letter-spacing: .14em;
  color: var(--muted); margin-top: 24px;
}
.scene.quiz h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  max-width: 540px; margin-inline: auto;
}
.quiz .intro-copy { font-size: 11px; margin-bottom: 18px }

/* ─── NEXT THOUGHT ──────────────────────────────────────────────────── */
.next-thought {
  font-size: 11px; color: var(--muted);
  line-height: 1.7; margin: 26px auto -10px; max-width: 420px;
}
.next-thought span { color: #6e536a }

/* ─── READING PREVIEW (checkout) ───────────────────────────────────── */
.reading-preview {
  text-align: left;
  background: linear-gradient(145deg, #fffdf9e8, #fffcf466);
  border: 1px solid #d8c7d280;
  box-shadow: 0 20px 65px #9d799910;
  border-radius: 18px; padding: 30px 32px;
  margin: 22px auto 0;
  position: relative; overflow: hidden; max-width: 500px;
}
.reading-preview .eyebrow { font-size: 8px; margin-bottom: 12px }
.reading-preview h2 { font-size: 28px; margin-bottom: 16px }
.reading-preview p {
  font: 300 17px/1.85 var(--serif);
  color: #746370; letter-spacing: -.01em; margin: 0;
}
.reading-preview .perspective-count {
  font: 11px/1.7 var(--sans);
  letter-spacing: .025em; color: var(--muted); margin-top: 16px;
}
.reading-preview .moment-preview p {
  font: italic 300 15px/1.6 var(--serif);
  color: #6c5969; overflow-wrap: anywhere; margin-top: 5px;
}

/* ─── VEILED READING ────────────────────────────────────────────────── */
.veiled-reading {
  position: relative; margin-top: 26px;
  user-select: none; overflow: hidden; height: 148px;
}
.veiled-heading {
  font: 300 20px var(--serif); margin-bottom: 14px;
  filter: blur(4px); opacity: .38;
}
.veiled-lines { filter: blur(4px); opacity: .3 }
.veiled-lines i {
  display: block; height: 5px; border-radius: 4px;
  margin-bottom: 10px; background: #a898a3; width: 100%;
}
.veiled-lines i:nth-child(3n) { width: 72% }
.veiled-lines i:nth-child(2n) { width: 90% }
.veiled-reading::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 0%, #fcf8f260 28%, #fcf8f2 100%);
}
.veiled-section { margin-bottom: 14px }
.veiled-section .veiled-heading {
  font-size: 18px; line-height: 1.35;
  filter: blur(3px); opacity: .33; margin-bottom: 10px;
}
.veiled-section .veiled-lines { filter: blur(3px); opacity: .27 }
.veiled-section .veiled-lines i { margin-bottom: 8px; height: 5px }
.veiled-section .veiled-lines i:last-child { width: 80% }

/* ─── UNLOCK ────────────────────────────────────────────────────────── */
.unlock {
  position: relative; text-align: center;
  margin-top: -16px; padding-top: 6px;
}
.unlock-label {
  display: block;
  font: 300 18px var(--serif); margin-bottom: 8px;
}
.price-line {
  font-size: 11px; color: var(--muted); margin-bottom: 18px;
}
.price-line strong { font-weight: 500; color: var(--ink) }

/* ─── PREVIEW SCENE ─────────────────────────────────────────────────── */
.scene.preview { padding-top: 10px; padding-bottom: 16px }
.scene.preview > h1 { font-size: 40px; margin-bottom: 8px }
.scene.preview .back { margin-bottom: 14px }
.repeat-note { font-size: 11px !important; font-family: var(--sans) !important; margin: 14px 0 !important }

/* ─── CHECKOUT ──────────────────────────────────────────────────────── */
.checkout-box {
  text-align: left; max-width: 420px;
  margin: 26px auto 0; border-top: 1px solid #cdbdcc66;
}
.order-line {
  display: flex; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid #cdbdcc66;
  font-size: 12px; color: #7b6679;
}
.order-line strong { font-weight: 500; color: var(--ink) }
.checkout-actions { display: grid; gap: 10px; margin-top: 24px }
.test-tools { margin: 18px auto; font-size: 10px; color: var(--muted) }
.test-tools summary { cursor: pointer }
.test-tools button { display: block; margin: 8px auto }
.error { color: #995e55; font-size: 11px; margin: 18px 0 }

/* ─── REPORT ────────────────────────────────────────────────────────── */
.report-kicker {
  font-size: 9px; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 20px;
}
.report.scene { max-width: 650px; padding-bottom: 36px }
.report h1 { font-size: clamp(34px, 3.8vw, 48px); margin-bottom: 26px }
.report-body { max-width: 540px; margin: 0 auto; text-align: left }
.report-body p {
  font: 300 19px/2 var(--serif);
  color: #5e4b5b; letter-spacing: -.01em;
}
.report-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; max-width: 540px; margin: 32px auto 0;
}
.report-nav span { font-size: 10px; color: var(--muted) }
.report-reflection {
  font: italic 300 24px/1.55 var(--serif);
  color: #806078; margin: 32px auto; max-width: 490px;
}
.report-note {
  font-size: 10px; line-height: 1.7;
  max-width: 460px; margin: 20px auto 0;
}
.saved-tag {
  display: inline-block; font-size: 9px;
  padding: 4px 10px; border-radius: 20px;
  background: #e8e9df; color: #73765f; margin: 8px 0 20px;
}

/* ─── LIBRARY ───────────────────────────────────────────────────────── */
.library-list { max-width: 530px; margin: 26px auto }
.library-row {
  padding: 18px 0; border-bottom: 1px solid #cbb8c944;
  text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.library-row h3 { font: 300 22px var(--serif); margin: 7px 0 0; letter-spacing: -.03em }
.library-row span { font-size: 9px; color: var(--muted) }
.library-row button {
  background: none; border: 0; padding: 12px;
  color: #92718c; font-size: 22px;
}
.library-empty {
  font: 300 20px/1.65 var(--serif);
  max-width: 320px; margin: 26px auto;
}

/* ─── DIALOG ────────────────────────────────────────────────────────── */
.dialog-close {
  position: absolute; top: 10px; right: 18px;
  font-size: 26px; background: none; border: 0; color: var(--muted);
}
dialog {
  width: calc(100% - 40px); max-width: 490px;
  border: 1px solid #d4c1d0;
  background: var(--cream); border-radius: 18px;
  padding: 36px; color: var(--ink);
}
dialog::backdrop {
  background: #1e152966;
  backdrop-filter: blur(6px);
}
dialog h2 { font: 300 29px var(--serif); margin-right: 20px }
dialog p { font-size: 12px; line-height: 1.8 }

/* ─── LIVE GUIDE ────────────────────────────────────────────────────── */
.live-guide-offer {
  max-width: 380px; margin: 26px auto 0; padding: 20px 0;
  border-block: 1px solid #ded3ce;
}
.live-guide-offer > span {
  display: block; font: 300 18px/1.5 var(--serif);
  color: #6c5969; margin-bottom: 14px;
}
.live-guide-offer p { font-size: 10px; margin: 12px 0 0; color: var(--muted) }
.guide-details {
  max-width: 400px; margin: 26px auto 20px; text-align: left;
}
.guide-details > div {
  display: flex; justify-content: space-between;
  gap: 20px; border-bottom: 1px solid #ded3ce;
  padding: 12px 0; font-size: 12px; color: var(--muted);
}
.guide-details strong { font-weight: 500; color: var(--ink) }
.guide-availability { font-size: 12px; color: var(--muted) }

/* ─── A11Y ──────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── ANIMATIONS ────────────────────────────────────────────────────── */
::view-transition-old(root) { animation: depart .18s ease-out both }
::view-transition-new(root) { animation: arrive .42s ease-out both }

@keyframes arrive {
  from { opacity: 0; transform: translateY(14px); filter: blur(3px) }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0) }
}
@keyframes depart {
  to { opacity: 0; transform: translateY(-6px) }
}
@keyframes breathe {
  0%, 100% { transform: scale(.9);   opacity: .7 }
  50%       { transform: scale(1.08); opacity: 1  }
}
@keyframes drift {
  to { transform: translate(4vw, -4vh) scale(1.15) }
}

/* ─── MOBILE ────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .site-header { height: 70px; padding: 0 20px }
  .brand img { width: 118px; height: auto }
  .library-button { font-size: 10px; gap: 7px }

  .scene { width: calc(100% - 40px); padding: 10px 0 20px }
  .scene.welcome { width: calc(100% - 36px); padding: 4px 0 24px }

  .presence { width: 88px; height: 88px; margin-bottom: 24px }
  .presence svg { width: 28px; height: 36px }

  .welcome .whisper { font-size: 20px }
  .welcome h1 { font-size: 42px; margin-bottom: 24px }

  /* Mobile portals: stacked list, clean */
  .portals {
    flex-direction: column; max-width: 320px;
    gap: 0; margin-bottom: 22px;
  }
  .portal {
    padding: 14px 18px; display: flex;
    align-items: center; gap: 16px;
    text-align: left;
    border-bottom: 1px solid #c5b2bf33;
  }
  .portal:first-child { border-top: 1px solid #c5b2bf33 }
  .portal + .portal::before { display: none }
  .portal-icon { font-size: 28px; height: auto; width: 30px; flex-shrink: 0; text-align: center }
  .portal-label { font-size: 22px; margin: 0; flex: 1 }
  .portal-arrow { font-size: 16px }
  .entry-note { font-size: 9px }

  .quiet-footer { font-size: 8px; gap: 7px 14px; padding: 16px }
  .quiet-footer button { font-size: 8px }
  .quiet-footer > span { order: 3; width: 100%; text-align: center }

  .choices { margin-top: 22px; gap: 9px }
  .choice { padding: 13px 16px; min-height: 56px; font-size: 12px }
  .choices.signs { grid-template-columns: repeat(3, 1fr); gap: 7px }
  .signs .choice { font-size: 11px; min-height: 42px; padding: 8px 4px }
  .scene.quiz h1 { font-size: 32px }
  .scene.quiz { padding-top: 0 }
  .back { margin-bottom: 20px }
  .progress { margin-bottom: 24px }
  .topic-marker { font-size: 15px; margin-bottom: 14px }

  .presence.small { width: 54px; height: 54px; margin-bottom: 14px }
  .presence.small svg { width: 20px; height: 26px }

  .scene h1 { font-size: 36px }
  .intro-copy { font-size: 12px; line-height: 1.75; margin-bottom: 18px }
  .age-check { margin-top: 18px; font-size: 9px }

  .reading-preview { padding: 22px 20px; border-radius: 14px; margin-top: 16px }
  .reading-preview h2 { font-size: 24px }
  .reading-preview p { font-size: 15px; line-height: 1.8 }

  .scene.preview > h1 { font-size: 33px }
  .veiled-reading { height: 118px; margin-top: 20px }
  .unlock-label { font-size: 17px }
  .price-line { font-size: 10px }
  .btn { padding: 12px 22px; min-height: 50px; font-size: 11px }
  .scene.preview .micro { font-size: 9px }

  .report-body p { font-size: 17px; line-height: 1.9 }
  .report h1 { font-size: 34px }
  .report-reflection { font-size: 22px }
  .report-nav { margin-top: 24px }
  .report-nav .btn { padding-inline: 18px }

  .haze { bottom: -32vh; height: 70vh; filter: blur(50px); opacity: .38 }
  .scene.library h1 { font-size: 36px }
  .library-row h3 { font-size: 20px }

  .return-invitation { margin-top: 10px }
  .return-invitation > span { display: none }
  .welcome:has(.return-invitation) .presence { margin-bottom: 18px }
  .welcome:has(.return-invitation) h1 { margin-bottom: 20px }
}

@media (max-height: 740px) and (min-width: 681px) {
  .site-header { height: 68px }
  .presence { width: 80px; height: 80px; margin-bottom: 16px }
  .welcome h1 { font-size: 50px; margin-bottom: 20px }
  .scene.welcome { padding-block: 0 }
  .portals { margin-bottom: 18px }
  .quiet-footer { padding-block: 13px }
  .portal { padding-top: 5px }
  .portal-icon { font-size: 29px; height: 34px }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important }
}
