/* The Dragon's Nest: brand tokens come from the logo (see /brand) */
:root {
  --ivory: #FAF6E7;
  --parchment: #F2ECD7;
  --linen: #E9E1C8;
  --jade: #1E3A2B;
  --jade-deep: #142A1F;
  --sage: #6C7854;
  --gold: #B4975A;
  --gold-soft: #D8C79E;
  --blossom: #EDB8BE;
  --blossom-soft: #F7E3E3;
  --lacquer: #A8352B;
  --twig: #8C6B43;
  --ink: #23302A;
  --muted: #5E6A60;

  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: 'Jost', 'Avenir Next', system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 42, 31, .06), 0 12px 32px -12px rgba(20, 42, 31, .18);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); }
a:hover { color: var(--lacquer); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--jade); line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em { font-style: italic; color: var(--sage); }
p { margin: 0 0 1em; }
.lede { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.eyebrow {
  font: 600 .74rem/1 var(--display);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold-soft); }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linen);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--jade); }
.brand img { width: 46px; height: 46px; }
.brand span { font: 600 1.02rem/1.05 var(--display); letter-spacing: .06em; }
.brand small { display: block; font: 500 .6rem/1.4 var(--display); letter-spacing: .24em; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font: 500 .82rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--jade); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--gold); color: var(--jade); }
.nav .btn { border: 0; }
.menu-btn { display: none; background: none; border: 1px solid var(--linen); border-radius: 10px; width: 44px; height: 44px; color: var(--jade); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 600 .8rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 999px;
  background: var(--jade); color: var(--ivory) !important; border: 1px solid var(--jade);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--jade-deep); transform: translateY(-1px); }
.btn.small { padding: 12px 20px; font-size: .72rem; }
.btn.ghost { background: transparent; color: var(--jade) !important; border-color: var(--gold); }
.btn.ghost:hover { background: var(--parchment); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .seal { position: relative; justify-self: center; width: min(440px, 100%); }
.hero .seal img { width: 100%; filter: drop-shadow(0 24px 40px rgba(20, 42, 31, .18)); }
.hero .seal::before {
  content: ''; position: absolute; inset: -6%; border-radius: 50%;
  border: 1px solid var(--gold-soft); box-shadow: inset 0 0 0 10px var(--ivory), inset 0 0 0 11px var(--gold-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--gold); }

.sprig { position: absolute; pointer-events: none; opacity: .9; }

/* Ornament rule */
.ornament { display: flex; align-items: center; gap: 16px; justify-content: center; color: var(--gold); margin: 0 auto; }
.ornament::before, .ornament::after { content: ''; height: 1px; flex: 1; max-width: 180px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.ornament::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }

/* Sections */
section { padding: 88px 0; }
.band { background: var(--parchment); border-block: 1px solid var(--linen); }
.band-jade { background: var(--jade); color: var(--ivory); }
.band-jade h2, .band-jade h3 { color: var(--ivory); }
.band-jade h2 em { color: var(--gold-soft); }
.band-jade .eyebrow { color: var(--gold-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.card {
  background: var(--ivory); border: 1px solid var(--linen); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.feature { text-align: center; padding: 36px 28px; }
.feature .icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--jade); background: var(--blossom-soft); }
.feature p { color: var(--muted); margin: 0; }

/* Event card */
.event-card { display: grid; grid-template-columns: 170px 1fr; gap: 0; padding: 0; overflow: hidden; }
.event-date {
  background: var(--jade); color: var(--ivory); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px;
  position: relative;
}
.event-date::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(216, 199, 158, .45); border-radius: 8px; }
.event-date .mo { font: 600 .8rem/1 var(--display); letter-spacing: .3em; color: var(--gold-soft); }
.event-date .day { font: 500 4.2rem/1 var(--serif); margin: 6px 0; }
.event-date .dow { font: 500 .72rem/1 var(--display); letter-spacing: .22em; opacity: .85; }
.event-body { padding: 30px 34px; }
.event-body h3 { margin-bottom: .3em; }
.event-facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: var(--muted); }
.event-facts li { display: flex; gap: 10px; align-items: center; }
.event-facts svg { color: var(--gold); flex: none; }

/* Seats meter */
.seats { margin: 0 0 22px; }
.seats-label { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.seats-label strong { color: var(--jade); font-weight: 600; }
.seats-bar { height: 8px; border-radius: 99px; background: var(--linen); overflow: hidden; }
.seats-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--jade)); border-radius: inherit; transition: width .8s ease; }
.tag { display: inline-block; font: 600 .66rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: var(--blossom-soft); color: var(--lacquer); }

/* Details grid on events page */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--linen); border: 1px solid var(--linen); border-radius: var(--radius); overflow: hidden; margin: 36px 0; }
.details div { background: var(--ivory); padding: 22px 24px; }
.details dt { font: 600 .68rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.details dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; color: var(--jade); line-height: 1.3; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 .7rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--jade); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #FFFDF6; border: 1px solid var(--linen); border-radius: 10px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180, 151, 90, .18); }
.field textarea { min-height: 96px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { cursor: pointer; position: relative; }
.choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choices span {
  display: inline-block; padding: 11px 16px; border-radius: 99px; border: 1px solid var(--linen); background: #FFFDF6;
  font: 500 .92rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink);
}
.choices input:checked + span { background: var(--jade); color: var(--ivory); border-color: var(--jade); }
.choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--jade); margin-top: 2px; flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-top: 6px; }
.form-foot small { color: var(--muted); }
.form-error { grid-column: 1 / -1; display: none; padding: 12px 16px; border-radius: 10px; background: #FBEAE7; color: var(--lacquer); font-size: .95rem; }
.form-error.show { display: block; }

.success { display: none; text-align: center; padding: 20px 8px; }
.success.show { display: block; }
.success .seal-sm { width: 120px; margin: 0 auto 18px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--linen); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 1.35rem; color: var(--jade); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Founders */
.founder { text-align: center; }
.monogram {
  width: 168px; height: 168px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--parchment);
  border: 1px solid var(--gold-soft); box-shadow: inset 0 0 0 8px var(--ivory), inset 0 0 0 9px var(--gold-soft);
  font: 500 3.2rem/1 var(--serif); color: var(--jade); font-style: italic;
}
.founder .role { font: 600 .7rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.founder p { color: var(--muted); }

.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.35; color: var(--jade); max-width: 820px; margin: 0 auto; }

/* Page heading */
.page-head { padding: 72px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-head p { max-width: 640px; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--jade-deep); color: rgba(250, 246, 231, .8); padding: 56px 0 36px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 76px; margin-bottom: 14px; }
.site-footer h4 { font: 600 .7rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin: 6px 0 16px; }
.site-footer a { color: rgba(250, 246, 231, .85); text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--blossom); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(216, 199, 158, .2); padding-top: 22px; margin-top: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: rgba(250, 246, 231, .55); font-size: .82rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero .seal { width: min(300px, 80%); order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
  section { padding: 64px 0; }
}
@media (max-width: 760px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--linen); padding: 8px 16px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--linen); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; gap: 14px; padding: 18px; }
  .event-date .day { font-size: 2.6rem; margin: 0; }
  .event-body { padding: 24px 22px; }
  .form { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .brand span { font-size: .9rem; }
}
.hero .wrap, .page-head .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .sprig { display: none; }
  .details { grid-template-columns: 1fr 1fr; }
  .details div { padding: 18px; }
  .details dd { font-size: 1.12rem; }
}
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .site-header { position: static; backdrop-filter: none; }
}
.field label.check { font: 400 .95rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }

/* ===== Animated mahjong hero ===== */
.hero-stage { padding: 56px 0 72px; min-height: calc(100svh - 72px); display: flex; align-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 78% 45%, rgba(237, 184, 190, .18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(108, 120, 84, .10), transparent 70%),
    var(--ivory); }
.hero-stage .wrap { width: min(var(--wrap), 100% - 32px); grid-template-columns: 1fr 1fr; }
.hero-copy { max-width: 560px; }

/* staged entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
h1 .rise { display: inline-block; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* nest: the logo stage */
.nest { position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.nest .glow { position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 199, 158, .55), rgba(237, 184, 190, .25) 45%, transparent 70%);
  filter: blur(18px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }

.nest .dial { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.dial-text { font: 600 13px var(--display); letter-spacing: .34em; fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

.nest .seal { position: relative; width: 66%; z-index: 2; opacity: 0; transform: scale(.82);
  animation: seal-in 1.4s cubic-bezier(.2, .7, .2, 1) .2s forwards, float 7s ease-in-out 1.6s infinite; }
.nest .seal::before { content: none; }
.nest .seal img { width: 100%; height: auto; border-radius: 50%; filter: drop-shadow(0 28px 44px rgba(20, 42, 31, .22)); }
@keyframes seal-in { to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1deg); } }

/* tiles */
.tile { position: absolute; width: 58px; height: 80px; border-radius: 9px; z-index: 3;
  background: linear-gradient(170deg, #FFFDF4, #F3EDD9);
  box-shadow: 0 0 0 1px rgba(180, 151, 90, .35), 0 8px 0 -1px #2E5A3F, 0 9px 0 -1px #1E3A2B, 0 20px 30px -12px rgba(20, 42, 31, .45);
  display: grid; place-items: center; opacity: 0;
  animation: tile-in 1.1s cubic-bezier(.2, .7, .2, 1) forwards, drift var(--t, 9s) ease-in-out var(--s, 0s) infinite; }
.tile::after { content: ''; position: absolute; inset: 5px; border-radius: 6px; border: 1px solid rgba(180, 151, 90, .25); pointer-events: none; }
@keyframes tile-in { to { opacity: 1; } }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
  33% { transform: translate3d(6px, -14px, 0) rotate(calc(var(--r, 0deg) + 3deg)); }
  66% { transform: translate3d(-5px, -6px, 0) rotate(calc(var(--r, 0deg) - 2deg)); } }
.glyph { font: 700 34px/1 'Songti SC', 'STSong', 'Noto Serif SC', 'PingFang SC', 'Hiragino Sans', serif; }
.glyph.green { color: #2E6B47; }
.glyph.red { color: var(--lacquer); }
.glyph.wind { color: #243018; font-size: 32px; }
.glyph.small { font-size: 20px; line-height: 1.05; display: block; text-align: center; }
.tile.t7 { grid-auto-flow: row; gap: 2px; }
.tile.bamboo { grid-template-columns: repeat(3, auto); gap: 5px; }
.tile.bamboo i { width: 7px; height: 36px; border-radius: 3px; background: linear-gradient(#3F7A55, #2E6B47);
  box-shadow: inset 0 9px 0 -7px rgba(255, 255, 255, .5), inset 0 -9px 0 -7px rgba(255, 255, 255, .5); }
.tile.bamboo i:nth-child(2) { height: 44px; background: linear-gradient(#B4433A, var(--lacquer)); }
.tile.dots { grid-template-columns: repeat(2, auto); gap: 8px 12px; }
.tile.dots i { width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid #2E6B47; box-shadow: inset 0 0 0 3px #FFFDF4, inset 0 0 0 7px var(--lacquer); }
.tile.dots i:nth-child(2), .tile.dots i:nth-child(3) { border-color: var(--lacquer); box-shadow: inset 0 0 0 3px #FFFDF4, inset 0 0 0 7px #2E6B47; }
.tile.white b { width: 36px; height: 54px; border: 2.5px solid #2E6B47; border-radius: 4px; display: block; }

.t1 { top: 4%; left: 6%; --r: -12deg; --t: 10s; --s: 0s; animation-delay: .9s, 0s; width: 66px; height: 92px; }
.t1 .glyph { font-size: 40px; }
.t2 { top: 10%; right: 2%; --r: 10deg; --t: 11s; --s: -3s; animation-delay: 1.05s, 0s; }
.t3 { bottom: 12%; left: -2%; --r: 8deg; --t: 12s; --s: -5s; animation-delay: 1.2s, 0s; }
.t4 { bottom: 4%; right: 8%; --r: -7deg; --t: 9.5s; --s: -2s; animation-delay: 1.35s, 0s; }
.t5 { top: 44%; right: -6%; --r: 14deg; --t: 13s; --s: -7s; animation-delay: 1.5s, 0s; width: 50px; height: 70px; }
.t6 { top: 40%; left: -5%; --r: -9deg; --t: 10.5s; --s: -4s; animation-delay: 1.65s, 0s; width: 48px; height: 66px; }
.t6 b { width: 30px; height: 44px; }
.t7 { bottom: -4%; left: 36%; --r: 5deg; --t: 11.5s; --s: -1s; animation-delay: 1.8s, 0s; width: 50px; height: 70px; z-index: 1; }

/* petals */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petals i { position: absolute; top: -30px; left: var(--x); width: 12px; height: 16px; border-radius: 60% 60% 60% 60% / 80% 80% 40% 40%;
  background: radial-gradient(circle at 40% 30%, #F9E6E8, var(--blossom) 60%, #E39FA9);
  opacity: 0; animation: fall var(--t, 14s) linear var(--s, 0s) infinite; }
@keyframes fall {
  0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; }
  8% { opacity: .85; }
  90% { opacity: .7; }
  100% { transform: translate3d(var(--dx, 40px), 105vh, 0) rotate(640deg); opacity: 0; } }
.petals i:nth-child(1)  { --x: 8%;  --t: 15s; --s: -2s;  --dx: 60px; }
.petals i:nth-child(2)  { --x: 18%; --t: 19s; --s: -9s;  --dx: -40px; width: 9px; height: 12px; }
.petals i:nth-child(3)  { --x: 27%; --t: 16s; --s: -5s;  --dx: 80px; }
.petals i:nth-child(4)  { --x: 36%; --t: 21s; --s: -13s; --dx: -70px; width: 10px; height: 13px; }
.petals i:nth-child(5)  { --x: 48%; --t: 17s; --s: -7s;  --dx: 50px; }
.petals i:nth-child(6)  { --x: 56%; --t: 20s; --s: -1s;  --dx: -30px; width: 8px; height: 11px; }
.petals i:nth-child(7)  { --x: 64%; --t: 14s; --s: -11s; --dx: 70px; }
.petals i:nth-child(8)  { --x: 72%; --t: 18s; --s: -4s;  --dx: -60px; }
.petals i:nth-child(9)  { --x: 80%; --t: 22s; --s: -15s; --dx: 40px; width: 10px; height: 14px; }
.petals i:nth-child(10) { --x: 88%; --t: 16s; --s: -8s;  --dx: -50px; }
.petals i:nth-child(11) { --x: 94%; --t: 19s; --s: -3s;  --dx: 30px; width: 9px; height: 12px; }
.petals i:nth-child(12) { --x: 42%; --t: 23s; --s: -17s; --dx: -80px; }

/* scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--gold-soft); border-radius: 14px; opacity: 0; animation: rise 1s ease 1.8s forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero-stage { min-height: 0; padding: 32px 0 64px; }
  .hero-stage .wrap { grid-template-columns: 1fr; }
  .nest { width: min(360px, 88%); order: -1; margin: 0 auto 8px; }
  .tile { transform-origin: center; width: 44px; height: 62px; }
  .glyph { font-size: 26px; } .t1 .glyph { font-size: 30px; } .glyph.small { font-size: 15px; }
  .t1 { width: 50px; height: 70px; } .t5, .t6, .t7 { width: 38px; height: 54px; } .t6 b { width: 22px; height: 34px; }
  .tile.bamboo i { height: 26px; width: 5px; } .tile.bamboo i:nth-child(2) { height: 32px; }
  .tile.dots i { width: 11px; height: 11px; box-shadow: inset 0 0 0 2px #FFFDF4, inset 0 0 0 5px var(--lacquer); }
  .tile.dots i:nth-child(2), .tile.dots i:nth-child(3) { box-shadow: inset 0 0 0 2px #FFFDF4, inset 0 0 0 5px #2E6B47; }
  .dial-text { font-size: 11px; }
  .scroll-cue { display: none; }
  .hero-stage .wrap { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .tile, .nest .seal, .scroll-cue { opacity: 1; transform: none; animation: none; }
  .nest .dial, .nest .glow, .petals i, .scroll-cue span { animation: none; }
  .petals { display: none; }
}

/* ===== South Bay coast ===== */
:root { --pacific: #5B8FA8; --pacific-deep: #3F7089; --sunset: #E8A77A; --sand: #F3E7CF; }
.coast { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; pointer-events: none; overflow: hidden; z-index: 0; }
.coast .sun { position: absolute; left: 50%; bottom: 46px; width: 150px; height: 150px; margin-left: -75px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 167, 122, .55), rgba(232, 167, 122, .18) 55%, transparent 72%); animation: breathe 9s ease-in-out infinite; }
.coast .palm { position: absolute; bottom: 24px; width: 120px; height: 180px; color: var(--jade); opacity: .16; transform-origin: 56% 100%; }
.coast .palm-l { left: 2%; animation: sway 7s ease-in-out infinite; }
.coast .palm-r { right: 3%; transform: scaleX(-1); animation: sway 8s ease-in-out -3s infinite reverse; }
@keyframes sway { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
.coast .wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 44px; color: var(--pacific); }
.coast .wave-1 { opacity: .18; animation: tide 14s linear infinite; }
.coast .wave-2 { opacity: .12; height: 30px; animation: tide 9s linear -4s infinite reverse; }
@keyframes tide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-stage { padding-bottom: 150px; }
.hero-stage .wrap { position: relative; z-index: 1; }
.coast-head { padding-bottom: 150px; background: linear-gradient(var(--ivory), var(--parchment)); }
.coast-sm { height: 150px; }
.coast-sm .palm { width: 100px; height: 150px; }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--linen); background: var(--jade-deep); color: var(--gold-soft); padding: 14px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: 600 .72rem/1 var(--display); letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.ticker i { width: 6px; height: 6px; border-radius: 50%; background: var(--pacific); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* path cards */
.path-card { text-decoration: none; color: inherit; display: block; transition: transform .25s, box-shadow .25s; }
.path-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 42, 31, .06), 0 24px 44px -16px rgba(20, 42, 31, .28); color: inherit; }
.path-card h3 { margin-top: 14px; }
.path-card p { color: var(--muted); }
.link-arrow { font: 600 .74rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--jade); }
.link-arrow::after { content: ' \2192'; color: var(--gold); }
.tag-blue { background: #E2EEF3; color: var(--pacific-deep); }

@media (max-width: 760px) {
  .coast { height: 120px; } .coast .palm { width: 80px; height: 120px; bottom: 18px; } .coast .sun { width: 110px; height: 110px; margin-left: -55px; bottom: 30px; }
  .hero-stage, .coast-head { padding-bottom: 110px; }
  .ticker span { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) { .coast .wave, .coast .palm, .coast .sun, .ticker-track { animation: none; } }
.icon-link { display: inline-flex !important; align-items: center; gap: 8px; }
.site-footer .wrap { grid-template-columns: 1.4fr .8fr .9fr 1.2fr; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
