.intro-dialog {
  --intro-ivory: #f3eee9;
  --intro-plum: #493640;
  --intro-muted: #796a72;
  --intro-ease: cubic-bezier(.22, 1, .36, 1);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--intro-ivory);
  color: var(--intro-plum);
  box-shadow: none;
  overflow: auto;
  overscroll-behavior: contain;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.intro-dialog[open] { display: block; animation: intro-open .45s ease both; }
.intro-dialog::backdrop { background: var(--intro-ivory); animation: none; backdrop-filter: none; }
body:has(.intro-dialog[open]) { overflow: hidden; }
.intro-shell { min-height: 100%; display: flex; flex-direction: column; }
.intro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  min-height: 100px;
  margin: 0;
  padding: 10px clamp(24px, 5vw, 84px);
  border: 0;
  background: transparent;
  flex-shrink: 0;
}
.intro-brand { position: relative; width: 142px; height: 80px; overflow: hidden; flex: 0 0 auto; }
.intro-brand img { position: absolute; width: 232px; height: auto; max-width: none; left: -45px; top: -35px; mix-blend-mode: darken; }
.intro-dialog button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.intro-dialog .intro-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 12px 12px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  color: var(--intro-plum);
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}
.intro-skip:hover { text-decoration: underline; text-underline-offset: 5px; }
.intro-dialog button:focus-visible { outline: 2px solid #8e6b82; outline-offset: 5px; }
.intro-panel { display: grid; place-items: center; flex: 1; width: 100%; padding: 6px 24px 46px; }
.intro-content { width: min(100%, 740px); text-align: center; animation: intro-enter .6s var(--intro-ease) both; }
.intro-art { width: 220px; height: 165px; margin: 0 auto 9px; }
.intro-symbol { display: block; width: 100%; height: 100%; overflow: visible; color: var(--intro-plum); }
.intro-symbol path, .intro-symbol circle { stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.intro-symbol .intro-breath-ring { opacity: .28; transform-origin: 120px 90px; transform: scale(.9); }
.intro-symbol .intro-inner-ring { opacity: .13; }
.intro-symbol .intro-eye-pupil { fill: currentColor; stroke: none; }
.intro-eye-closed { display: none; }
.intro-dialog[data-intro-step="1"] .intro-eye-open { display: none; }
.intro-dialog[data-intro-step="1"] .intro-eye-closed { display: block; }
.intro-motion-running .intro-breath-ring { animation: intro-breathe 8s ease-in-out 1 both; }
.intro-motion-running.intro-motion-paused .intro-breath-ring { animation-play-state: paused; }
#unseen-intro .intro-eyebrow { margin: 0 0 19px; color: var(--intro-muted); font-size: 10px; line-height: 1.5; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.intro-dialog .intro-title {
  margin: 0;
  color: var(--intro-plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.055em;
}
.intro-title:focus { outline: none; }
.intro-title em { font: inherit; font-style: italic; color: #745a69; }
#unseen-intro .intro-description {
  max-width: 445px;
  margin: 24px auto 0;
  color: var(--intro-muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -.01em;
}
.intro-description strong { color: var(--intro-plum); font-weight: 500; }
.intro-actions { display: flex; flex-direction: column; align-items: center; min-height: 98px; gap: 7px; margin-top: 28px; }
.intro-dialog .intro-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: auto;
  min-width: 238px;
  max-width: 100%;
  min-height: 50px;
  padding: 16px 26px;
  border: 1px solid var(--intro-plum);
  border-radius: 100px;
  background: var(--intro-plum);
  color: var(--intro-ivory);
  font-size: 12px;
  font-weight: 500;
  transition: background .25s, box-shadow .25s;
}
.intro-primary:hover { background: #624b58; box-shadow: 0 7px 22px #49364016; }
.intro-primary span { font-size: 16px; }
.intro-dialog .intro-motion-toggle { min-height: 40px; padding: 10px 14px; border: 0; border-radius: 4px; background: transparent; color: var(--intro-muted); font-size: 11px; }
.intro-motion-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.intro-motion-toggle[hidden] { display: none; }
.intro-progress { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 5px; height: 12px; }
.intro-progress-dot { width: 4px; height: 4px; border-radius: 50%; background: #bca9b3; }
.intro-progress-current { width: 18px; border-radius: 10px; background: var(--intro-plum); }

@keyframes intro-open { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes intro-breathe {
  0% { transform: scale(.9); opacity: .28; }
  45% { transform: scale(1.13); opacity: .62; }
  100% { transform: scale(.9); opacity: .28; }
}

@media (max-width: 600px) {
  .intro-header { min-height: 88px; gap: 12px; padding: 6px 20px; }
  .intro-brand { width: 112px; height: 72px; }
  .intro-brand img { width: 202px; left: -45px; top: -29px; }
  .intro-dialog .intro-skip { gap: 8px; font-size: 10px; padding-left: 4px; }
  .intro-panel { padding: 5px 24px max(28px, env(safe-area-inset-bottom)); }
  .intro-art { width: 175px; height: 131px; margin-bottom: 11px; }
  .intro-dialog .intro-title { font-size: clamp(41px, 10vw, 59px); }
  #unseen-intro .intro-eyebrow { font-size: 8px; margin-bottom: 17px; }
  #unseen-intro .intro-description { max-width: 340px; font-size: 13px; line-height: 1.8; margin-top: 22px; }
  .intro-actions { margin-top: 25px; }
  .intro-dialog .intro-primary { min-width: 230px; padding: 16px 22px; }
}

@media (max-height: 720px) and (min-width: 601px) {
  .intro-header { min-height: 82px; padding-top: 0; padding-bottom: 0; }
  .intro-panel { padding-top: 0; padding-bottom: 24px; }
  .intro-art { width: 145px; height: 109px; margin-bottom: 0; }
  .intro-dialog .intro-title { font-size: 56px; }
  #unseen-intro .intro-eyebrow { margin-bottom: 12px; }
  #unseen-intro .intro-description { margin-top: 16px; }
  .intro-actions { margin-top: 21px; min-height: 91px; }
}

@media (max-width: 600px) and (max-height: 700px) {
  .intro-art { width: 125px; height: 94px; margin-bottom: 6px; }
  .intro-dialog .intro-title { font-size: 41px; }
  #unseen-intro .intro-description { margin-top: 17px; }
  .intro-actions { margin-top: 20px; min-height: 91px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-dialog, .intro-dialog *, .intro-dialog::backdrop { animation: none !important; transition: none !important; }
  .intro-motion-toggle { display: none !important; }
}
