:root {
  --ivory: #f7f3ea;
  --ivory-deep: #eee8dc;
  --paper: rgba(255, 253, 248, .78);
  --paper-solid: #fffdf8;
  --sage: #7d9787;
  --sage-deep: #50685b;
  --sage-dark: #344a40;
  --mist-blue: #abc6cf;
  --sky: #cfe2e7;
  --sky-light: #edf5f4;
  --gold: #b99d67;
  --gold-soft: #d7c39a;
  --ink: #2d3833;
  --muted: #6d7771;
  --line: rgba(62, 81, 71, .16);
  --danger: #a75549;
  --shadow: 0 30px 80px rgba(51, 68, 59, .14);
  --shadow-soft: 0 15px 45px rgba(51, 68, 59, .10);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.noscript {
  position: fixed;
  z-index: 1000;
  inset: 12px 12px auto;
  padding: 12px 16px;
  background: var(--paper-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.site-shell { min-height: 100vh; }
.scene {
  position: relative;
  display: none;
  min-height: 100svh;
  overflow: hidden;
}
.scene.is-active { display: block; }

/* WELCOME — bright elven estate */
.scene-welcome {
  background:
    linear-gradient(180deg, rgba(246,250,248,.05) 0%, rgba(244,240,231,.18) 58%, rgba(234,231,213,.72) 100%),
    linear-gradient(180deg, #dbecef 0%, #eff4ed 55%, #d7dfc8 100%);
}
.sky, .landscape, .realms-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sky { overflow: hidden; }
.sun-haze {
  position: absolute;
  width: 55vw;
  height: 55vw;
  left: -13vw;
  top: -20vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,251,226,.96), rgba(255,248,218,.36) 35%, transparent 70%);
  filter: blur(4px);
}
.cloud {
  position: absolute;
  width: 310px;
  height: 86px;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  filter: blur(.2px);
  box-shadow:
    70px -25px 0 6px rgba(255,255,255,.42),
    150px 2px 0 14px rgba(255,255,255,.35),
    215px -18px 0 1px rgba(255,255,255,.39);
  opacity: .8;
}
.cloud--one { top: 13%; left: 6%; transform: scale(.72); }
.cloud--two { top: 18%; right: 7%; transform: scale(1.08); opacity: .62; }
.cloud--three { top: 38%; left: 38%; transform: scale(.46); opacity: .44; }

.landscape { top: auto; height: 55%; bottom: 0; }
.hill {
  position: absolute;
  left: -12%;
  width: 124%;
  border-radius: 50% 50% 0 0;
  transform-origin: center bottom;
}
.hill--back {
  height: 68%;
  bottom: 3%;
  background: linear-gradient(180deg, #aebfa8 0%, #93ab91 75%);
  clip-path: ellipse(70% 48% at 52% 100%);
  opacity: .78;
}
.hill--front {
  height: 62%;
  bottom: -3%;
  background:
    radial-gradient(circle at 18% 45%, rgba(255,255,255,.4) 0 2px, transparent 3px) 0 0 / 68px 58px,
    radial-gradient(circle at 72% 58%, rgba(255,250,225,.45) 0 2px, transparent 3px) 0 0 / 91px 72px,
    linear-gradient(180deg, #97ae86, #6f8f70 78%, #617d66);
  clip-path: ellipse(75% 57% at 50% 100%);
}
.meadow-glow {
  position: absolute;
  width: 48%;
  height: 38%;
  bottom: 0;
  left: 26%;
  background: linear-gradient(180deg, rgba(245,240,209,.04), rgba(244,232,185,.34));
  clip-path: polygon(46% 0, 54% 0, 78% 100%, 22% 100%);
  filter: blur(6px);
}
.flower-field {
  position: absolute;
  width: 34%;
  height: 18%;
  bottom: 7%;
  background:
    radial-gradient(circle, rgba(255,255,255,.92) 0 2px, transparent 2.8px) 0 0 / 32px 28px,
    radial-gradient(circle, rgba(244,224,167,.8) 0 1.4px, transparent 2.1px) 12px 8px / 41px 35px;
  opacity: .68;
}
.flower-field--a { left: 0; transform: rotate(-4deg); }
.flower-field--b { right: 0; transform: rotate(5deg); }

.topbar, .realms-topbar {
  position: relative;
  z-index: 10;
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
}
.brand__crest { width: 44px; height: 44px; }
.brand__copy { display: grid; gap: 2px; }
.brand__copy strong {
  font-family: var(--serif);
  letter-spacing: .22em;
  font-size: 17px;
  font-weight: 500;
}
.brand__copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.topbar__note {
  color: rgba(45,56,51,.62);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}

.welcome-layout {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 56px));
  min-height: calc(100svh - 156px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 1.04fr) minmax(430px, .96fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  padding: 34px 0 68px;
}

.estate-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.garden-arch {
  position: relative;
  width: min(430px, 82%);
  aspect-ratio: .72;
  filter: drop-shadow(0 32px 36px rgba(67,77,67,.18));
}
.garden-arch__outer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.55), transparent 22% 74%, rgba(101,112,94,.15)),
    linear-gradient(180deg, #e7e1d4, #cfc7b8 78%, #b6ad9d);
  clip-path: polygon(12% 100%, 12% 39%, 14% 28%, 19% 18%, 27% 10%, 38% 4%, 50% 1%, 62% 4%, 73% 10%, 81% 18%, 86% 28%, 88% 39%, 88% 100%);
}
.garden-arch__outer::before {
  content: '';
  position: absolute;
  inset: 17px;
  background: rgba(150,143,130,.22);
  clip-path: inherit;
}
.garden-arch__inner {
  position: absolute;
  inset: 48px 50px 24px;
  overflow: hidden;
  border-radius: 48% 48% 9px 9px / 29% 29% 9px 9px;
  background: linear-gradient(180deg, #c7e2e7 0%, #edf2df 56%, #8faa78 56%, #628565 100%);
  box-shadow: inset 0 0 0 1px rgba(74,88,77,.18), inset 0 0 40px rgba(57,80,66,.1);
}
.garden-arch__sky {
  position: absolute;
  inset: 0 0 42%;
  background:
    radial-gradient(circle at 62% 22%, rgba(255,255,255,.92), rgba(255,255,255,.24) 16%, transparent 36%),
    linear-gradient(180deg, #b9dbe2, #eff1df);
}
.garden-arch__path {
  position: absolute;
  width: 62%;
  height: 54%;
  left: 19%;
  bottom: -7%;
  background: linear-gradient(180deg, #e1d9bd, #bfae85);
  clip-path: polygon(43% 0, 57% 0, 82% 100%, 18% 100%);
  opacity: .92;
}
.garden-arch__garden {
  position: absolute;
  bottom: 0;
  width: 46%;
  height: 52%;
  background:
    radial-gradient(circle at 20% 30%, #f9f4e8 0 2px, transparent 3px) 0 0 / 25px 27px,
    radial-gradient(circle at 75% 55%, #e9d7aa 0 2px, transparent 3px) 0 0 / 34px 31px,
    linear-gradient(180deg, #8ba87c, #56765f);
  filter: saturate(.82);
}
.garden-arch__garden--left { left: 0; clip-path: polygon(0 0, 84% 17%, 100% 100%, 0 100%); }
.garden-arch__garden--right { right: 0; clip-path: polygon(16% 17%, 100% 0, 100% 100%, 0 100%); }
.garden-arch__light {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 42% 70%, rgba(240,225,187,.16));
}
.vine {
  position: absolute;
  width: 90px;
  height: 330px;
  top: 76px;
  border-radius: 50%;
  border: 4px solid rgba(79,111,80,.72);
  border-left-color: transparent;
  border-bottom-color: transparent;
  opacity: .84;
}
.vine::before, .vine::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 9px;
  border-radius: 100% 0 100% 0;
  background: #779273;
  box-shadow: 18px 42px 0 #6f8c6e, -3px 87px 0 #91a582, 22px 133px 0 #66836b, 4px 190px 0 #839b79;
}
.vine--left { left: 4px; transform: rotate(-13deg); }
.vine--right { right: 4px; transform: scaleX(-1) rotate(-13deg); }
.vine--left::before, .vine--right::before { top: 25px; right: 2px; transform: rotate(34deg); }
.vine--left::after, .vine--right::after { top: 113px; right: 14px; transform: rotate(-30deg); }
.estate-caption {
  position: absolute;
  left: 0;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(45,56,51,.7);
}
.estate-caption span {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
}
.estate-caption p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}

.entry-panel {
  position: relative;
  width: min(100%, 520px);
  justify-self: end;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 32px;
  background: var(--paper);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  box-shadow: var(--shadow);
}
.entry-panel::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(107,126,112,.12);
  border-radius: 24px;
  pointer-events: none;
}
.entry-panel__ornament {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
}
.entry-step { display: none; opacity: 0; transform: translateY(12px); }
.entry-step.is-active { display: block; animation: stepIn .48s ease both; }
@keyframes stepIn { to { opacity: 1; transform: translateY(0); } }
.kicker {
  margin: 0 0 13px;
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.entry-panel h1, .entry-panel h2, .realms-heading h1, .realm-card h2, .modal__card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}
.entry-panel h1, .entry-panel h2 { font-size: clamp(38px, 4.3vw, 58px); }
.lead {
  margin: 20px 0 30px;
  max-width: 430px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}
.address-grid { display: grid; gap: 10px; }
.address-choice {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.43);
  cursor: pointer;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.address-choice:hover {
  transform: translateX(4px);
  border-color: rgba(80,104,91,.42);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 28px rgba(60,77,67,.08);
}
.address-choice__index { color: var(--gold); font-family: var(--serif); font-size: 12px; }
.address-choice__main { font-family: var(--serif); font-size: 20px; }
.address-choice__desc { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.microcopy { margin: 22px 0 0; color: rgba(68,79,73,.55); font-size: 11px; }
.back-link {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage-deep);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.visitor-form { display: grid; gap: 19px; }
.field { position: relative; display: grid; gap: 8px; }
.field[hidden] { display: none !important; }
.field__topline { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; color: var(--ink); font-size: 12px; font-weight: 700; }
.field__topline em { color: var(--sage); font-size: 9px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(74,92,81,.22);
  border-radius: 0;
  padding: 12px 0 13px;
  color: var(--ink);
  background: transparent;
  outline: none;
  resize: vertical;
  transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(62,75,68,.38); }
.field input:focus, .field textarea:focus { border-color: var(--sage-deep); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { min-height: 14px; color: var(--danger); font-size: 10px; }
.field__meta { position: absolute; right: 0; bottom: 19px; color: rgba(62,75,68,.45); font-size: 9px; }
.privacy-note { margin: 0; color: rgba(66,79,71,.56); font-size: 10px; line-height: 1.55; }
.form-message { min-height: 16px; color: var(--danger); font-size: 11px; }
.primary-action, .secondary-action, .text-action {
  border: 0;
  cursor: pointer;
}
.primary-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--sage-deep);
  box-shadow: 0 12px 30px rgba(80,104,91,.2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-action:hover { transform: translateY(-2px); background: #435a4e; box-shadow: 0 18px 34px rgba(80,104,91,.24); }
.primary-action:disabled { opacity: .6; cursor: wait; transform: none; }
.secondary-action {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  color: var(--sage-deep);
  font-size: 11px;
  font-weight: 700;
}
.secondary-action:hover { background: rgba(255,255,255,.82); }
.welcome-footer {
  position: absolute;
  z-index: 6;
  bottom: 22px;
  left: 50%;
  width: min(1240px, calc(100% - 56px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(45,56,51,.48);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.welcome-footer__line { width: 80px; height: 1px; background: rgba(74,92,81,.18); }

/* Soft scene transition */
.soft-transition {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 17px;
  background: rgba(249,246,238,.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .75s ease, visibility .75s ease;
}
.soft-transition.is-active { opacity: 1; visibility: visible; }
.soft-transition__crest { width: 62px; height: 62px; position: relative; z-index: 2; }
.soft-transition__ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(185,157,103,.25);
  border-radius: 50%;
  animation: breathe 2.8s ease-in-out infinite;
}
.soft-transition p { margin: 0; color: var(--sage-deep); font-family: var(--serif); font-size: 18px; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .52; } }

/* REALMS */
.scene-realms {
  background:
    linear-gradient(180deg, rgba(255,255,255,.58), transparent 24%),
    linear-gradient(180deg, #f5f2e9 0%, #edf0e6 48%, #e8eadf 100%);
}
.realms-background__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(181,211,211,.34), transparent 30%),
    radial-gradient(circle at 87% 14%, rgba(222,205,166,.24), transparent 27%),
    linear-gradient(110deg, transparent 28%, rgba(255,255,255,.24) 55%, transparent 73%);
}
.realms-background__leaf {
  position: absolute;
  width: 270px;
  height: 540px;
  border: 2px solid rgba(87,116,94,.11);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
}
.realms-background__leaf::before, .realms-background__leaf::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 17px;
  border-radius: 100% 0 100% 0;
  background: rgba(112,143,119,.09);
  box-shadow: 22px 68px 0 rgba(112,143,119,.08), -5px 145px 0 rgba(112,143,119,.08), 28px 220px 0 rgba(112,143,119,.07), 6px 315px 0 rgba(112,143,119,.07);
}
.realms-background__leaf--one { left: -110px; top: 210px; transform: rotate(-12deg); }
.realms-background__leaf--two { right: -100px; top: 120px; transform: scaleX(-1) rotate(-6deg); }
.realms-topbar { min-height: 92px; }
.brand--compact .brand__crest { width: 38px; height: 38px; }
.realms-heading {
  position: relative;
  z-index: 5;
  width: min(850px, calc(100% - 40px));
  margin: 44px auto 62px;
  text-align: center;
}
.realms-heading h1 { font-size: clamp(50px, 7vw, 88px); }
.realms-welcome { margin: 22px 0 8px; color: var(--sage-deep); font-family: var(--serif); font-size: 18px; font-style: italic; }
.realms-subtitle { margin: 0 auto; max-width: 580px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.realm-grid {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 50px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 48px);
  padding-bottom: 66px;
}
.realm-card { min-width: 0; text-align: center; }
.portal {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}
.portal__arch {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: .72;
  overflow: hidden;
  border-radius: 49% 49% 18px 18px / 32% 32% 18px 18px;
  background: linear-gradient(110deg, #e8e2d6, #cfc7b7 72%, #b8ae9d);
  box-shadow: 0 25px 55px rgba(55,69,60,.13), inset 0 0 0 1px rgba(65,77,69,.13);
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.portal__arch::before {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 16px;
  border-radius: 48% 48% 13px 13px / 31% 31% 13px 13px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.38), inset 0 0 0 4px rgba(89,96,88,.08);
  pointer-events: none;
}
.portal__scene {
  position: absolute;
  z-index: 1;
  inset: 35px 36px 23px;
  overflow: hidden;
  border-radius: 47% 47% 8px 8px / 28% 28% 8px 8px;
  transform: scale(1);
  transition: transform .65s ease, filter .45s ease;
}
.portal:hover .portal__arch { transform: translateY(-9px); box-shadow: 0 34px 70px rgba(55,69,60,.18), inset 0 0 0 1px rgba(65,77,69,.13); }
.portal:hover .portal__scene { transform: scale(1.035); filter: saturate(1.06) brightness(1.03); }
.portal__stone {
  position: absolute;
  z-index: 4;
  top: 27%;
  bottom: 17px;
  width: 25px;
  border-radius: 8px;
  background: linear-gradient(90deg, #c8c0b2, #ece7dc 48%, #bbb2a3);
  box-shadow: inset 0 0 0 1px rgba(82,81,72,.12);
}
.portal__stone--left { left: 15px; }
.portal__stone--right { right: 15px; transform: scaleX(-1); }
.portal__keystone {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 19px;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(251,248,240,.9);
  border: 1px solid rgba(185,157,103,.32);
  font-size: 13px;
}
.portal-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.22), transparent 42% 72%, rgba(255,250,223,.12));
  pointer-events: none;
}

/* Library preview */
.portal__scene--library { background: linear-gradient(180deg, #aec9d0 0 34%, #e9e0c9 34% 37%, #68776f 37% 100%); }
.library-window {
  position: absolute;
  width: 40%;
  height: 42%;
  left: 30%;
  top: 14%;
  border: 6px solid rgba(237,231,211,.86);
  border-radius: 48% 48% 3px 3px / 25% 25% 3px 3px;
  background: linear-gradient(180deg, #c9e2e7, #f2edd5);
  box-shadow: 0 0 35px rgba(255,244,198,.34);
}
.library-window::before, .library-window::after { content: ''; position: absolute; background: rgba(96,111,105,.34); }
.library-window::before { width: 2px; inset: 0 auto 0 50%; }
.library-window::after { height: 2px; inset: 48% 0 auto; }
.library-shelf { position: absolute; width: 24%; bottom: 13%; height: 41%; background: #4f5c55; border: 4px solid #7f7865; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.library-shelf::before { content: ''; position: absolute; inset: 12px 6px; background: repeating-linear-gradient(90deg, #c3a46f 0 4px, #6e8a86 4px 8px, #9d6f5c 8px 12px, #d0b989 12px 16px); opacity: .78; }
.library-shelf--one { left: 5%; }
.library-shelf--two { right: 5%; }
.library-table { position: absolute; left: 33%; bottom: 11%; width: 34%; height: 11%; border-radius: 50% 50% 7px 7px; background: #7d6d57; box-shadow: 0 17px 0 -13px #6c5e4f; }

/* Herbal preview */
.portal__scene--herbal { background: linear-gradient(180deg, #b9d5c2 0 35%, #dfe8cc 35% 38%, #6d8c6b 38% 100%); }
.herbal-window { position: absolute; left: 26%; top: 13%; width: 48%; height: 42%; border-radius: 50% 50% 6px 6px / 30% 30% 6px 6px; border: 5px solid rgba(238,232,212,.78); background: radial-gradient(circle at 58% 24%, #fbf4d5, transparent 27%), linear-gradient(180deg,#c8e3df,#d8e8c0); }
.herbal-vine { position: absolute; top: 8%; width: 38%; height: 64%; border: 4px solid rgba(60,103,67,.57); border-bottom: 0; border-radius: 50%; }
.herbal-vine::before { content: ''; position: absolute; width: 16px; height: 8px; background: #678b64; border-radius: 100% 0 100% 0; box-shadow: 15px 42px 0 #739674, -2px 88px 0 #5f805f, 17px 137px 0 #82a279; }
.herbal-vine--one { left: -10%; transform: rotate(14deg); }
.herbal-vine--two { right: -10%; transform: scaleX(-1) rotate(14deg); }
.herbal-table { position: absolute; left: 18%; bottom: 13%; width: 64%; height: 13%; border-radius: 4px; background: #826f54; box-shadow: 0 15px 0 -11px #695d4d; }
.herbal-bottle { position: absolute; bottom: 26%; width: 12%; height: 17%; border-radius: 40% 40% 30% 30%; background: rgba(91,119,79,.85); border: 2px solid rgba(255,255,255,.22); }
.herbal-bottle::before { content: ''; position: absolute; width: 48%; height: 27%; left: 26%; top: -18%; background: #77664f; border-radius: 3px; }
.herbal-bottle--one { left: 31%; }
.herbal-bottle--two { right: 28%; transform: scale(.72); transform-origin: bottom; background: rgba(151,119,78,.82); }

/* Creator preview */
.portal__scene--creator { background: linear-gradient(180deg, #d9c7a8 0 34%, #efe3c7 34% 37%, #967c61 37% 100%); }
.creator-window { position: absolute; left: 29%; top: 12%; width: 42%; height: 38%; border-radius: 48% 48% 3px 3px / 28% 28% 3px 3px; border: 5px solid rgba(246,233,207,.8); background: radial-gradient(circle at 62% 22%, #fff5cf, transparent 27%), linear-gradient(180deg,#d9dfe0,#d8d3b3); }
.creator-window::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(114,94,72,.29); }
.creator-desk { position: absolute; left: 20%; bottom: 13%; width: 62%; height: 15%; background: #725e4d; border-radius: 4px; box-shadow: 0 20px 0 -14px #5d4d41; }
.creator-frame { position: absolute; top: 24%; width: 15%; height: 16%; border: 3px solid rgba(111,88,60,.55); background: rgba(244,224,184,.18); }
.creator-frame--one { left: 6%; }
.creator-frame--two { right: 6%; top: 31%; transform: scale(.72); }
.creator-lamp { position: absolute; left: 49%; bottom: 29%; width: 4px; height: 18%; background: #765e43; }
.creator-lamp::before { content: ''; position: absolute; width: 30px; height: 17px; left: -13px; top: -4px; border-radius: 50% 50% 5px 5px; background: #d3b77a; box-shadow: 0 0 22px rgba(244,218,153,.5); }

.realm-card__copy { max-width: 310px; margin: 27px auto 0; }
.realm-card__number { display: block; margin-bottom: 9px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.realm-card h2 { font-size: 31px; }
.realm-card p { min-height: 44px; margin: 12px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.text-action { padding: 2px 0 6px; background: transparent; border-bottom: 1px solid rgba(80,104,91,.3); color: var(--sage-deep); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.text-action span { margin-left: 5px; transition: margin .2s ease; }
.text-action:hover span { margin-left: 9px; }
.realms-footer { position: relative; z-index: 5; padding: 38px 20px 52px; text-align: center; color: rgba(70,83,75,.54); font-family: var(--serif); font-style: italic; font-size: 12px; }
.realms-footer span { display: block; margin-top: 14px; color: var(--gold); font-style: normal; }

/* Modal */
.modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(44,57,50,.28); backdrop-filter: blur(5px); cursor: default; }
.modal__card {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  padding: 43px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 28px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 30px 100px rgba(45,61,51,.22);
}
.modal__close { position: absolute; right: 19px; top: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 24px; }
.modal__card h2 { font-size: 42px; }
.modal__text { margin: 20px 0 8px; color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.45; }
.modal__subtext { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.modal__actions { display: flex; gap: 10px; margin-top: 30px; }
.primary-action--modal { min-width: 190px; justify-content: center; }
.decline-message { margin-top: 23px; padding: 15px 17px; border-left: 2px solid var(--gold); background: rgba(231,223,201,.28); color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 1.55; }

.portal-transition {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(247,243,234,.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.portal-transition.is-active { opacity: 1; visibility: visible; }
.portal-transition__panel { display: grid; justify-items: center; gap: 18px; }
.portal-transition__panel img { width: 64px; height: 64px; }
.portal-transition__panel p { margin: 0; color: var(--sage-deep); font-family: var(--serif); font-size: 18px; }

@media (max-width: 980px) {
  .topbar__note { display: none; }
  .welcome-layout { grid-template-columns: 1fr; max-width: 690px; gap: 22px; padding-top: 12px; }
  .estate-visual { min-height: 410px; order: 2; }
  .garden-arch { width: min(330px, 66%); }
  .entry-panel { justify-self: center; order: 1; }
  .estate-caption { left: 8%; bottom: 25px; }
  .welcome-footer { display: none; }
  .realm-grid { grid-template-columns: 1fr; max-width: 620px; gap: 70px; }
  .portal { max-width: 360px; }
  .realm-card p { min-height: auto; }
}

@media (max-width: 640px) {
  .topbar, .realms-topbar { width: calc(100% - 30px); min-height: 78px; }
  .brand__crest { width: 38px; height: 38px; }
  .brand__copy strong { font-size: 14px; }
  .brand__copy small { font-size: 8px; }
  .welcome-layout { width: calc(100% - 26px); min-height: auto; padding: 18px 0 55px; }
  .entry-panel { padding: 30px 24px; border-radius: 25px; }
  .entry-panel h1, .entry-panel h2 { font-size: 39px; }
  .address-choice { grid-template-columns: 32px 1fr; min-height: 68px; }
  .address-choice__desc { display: none; }
  .estate-visual { min-height: 360px; }
  .garden-arch { width: min(280px, 76%); }
  .garden-arch__inner { inset: 38px 39px 20px; }
  .estate-caption { display: none; }
  .realms-topbar .brand__copy small { display: none; }
  .realms-heading { margin: 34px auto 48px; }
  .realms-heading h1 { font-size: 50px; }
  .realms-welcome { font-size: 15px; }
  .realm-grid { width: calc(100% - 28px); }
  .portal { max-width: 300px; }
  .modal__card { padding: 36px 25px 29px; }
  .modal__card h2 { font-size: 36px; }
  .modal__actions { flex-direction: column; }
  .primary-action--modal { width: 100%; }
  .secondary-action { width: 100%; }
}

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