/* ============================================================
   AMBER TIDES — website
   Matches the game's cosy golden-hour identity: warm paper,
   rounded everything, wood-plank buttons, amber gems, soft shadows.
   Palette + treatments lifted straight from the game's HUD/menu CSS.
   ============================================================ */
:root {
  --ink: #4a3f33;
  --ink-soft: #7d6c58;
  --paper: #fdf8ec;
  --card: #f9f1de;
  --cream: #f4ead4;
  --line: #e7dac0;
  --green: #6f9e6a;
  --green-deep: #58835a;
  --honey: #dca050;
  --honey-deep: #c2873b;
  --brown: #8a6f55;
  --brown-deep: #6e5742;
  --blue: #a9cfdb;
  --blush: #e6b3a8;
  --amber: #ffb820;
  --shadow-soft: 0 6px 18px rgba(74, 63, 51, 0.16), 0 2px 5px rgba(74, 63, 51, 0.10);
  --shadow-pop: 0 14px 40px rgba(58, 47, 36, 0.26);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* golden-hour coastal gradient (from the game's title screen) */
  --coast: linear-gradient(180deg,
      #3A7FAF 0%, #5BA4D2 12%, #8EC8E8 24%,
      #F5D060 42%, #EDA420 55%,
      #C07A18 68%, #8B5518 80%,
      #5E3810 92%, #3E220A 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ambient motes canvas — fixed, behind content, never blocks clicks */
#motes {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.wrap { width: min(1120px, 92vw); margin: 0 auto; }

/* ---- shared display type (the Lilita One title treatment) ---- */
.h-display {
  font-family: "Lilita One", cursive;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.04;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 5vw, 3.1rem);
}
.kicker {
  display: inline-block;
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--honey-deep);
  margin-bottom: 10px;
}
.kicker-light { color: #ffe6ad; }

/* ============================ NAV ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px clamp(14px, 4vw, 34px);
  background: rgba(253, 248, 236, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(253, 248, 236, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding-top: 9px; padding-bottom: 9px;
}
.nav-brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.nav-name {
  font-family: "Lilita One", cursive; font-size: 1.32rem;
  color: #fff3d8; -webkit-text-stroke: 2px #7a3200;
  text-shadow: 1px 1px 0 #8b4200, 2px 2px 0 #6a3000, 3px 3px 6px rgba(0,0,0,0.35);
  transition: filter 0.3s ease;
}
.nav.scrolled .nav-name { color: var(--honey); -webkit-text-stroke-color: #b6731f; }
.nav-drop {
  width: 22px; height: 26px; flex-shrink: 0;
  background:
    radial-gradient(ellipse 60% 45% at 38% 60%, #ffe6ad 0%, transparent 60%),
    linear-gradient(160deg, #f4b04a, #d8852c);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  clip-path: path("M11 1 C16 9 21 14 21 19 A10 10 0 0 1 1 19 C1 14 6 9 11 1 Z");
  box-shadow: 0 2px 5px rgba(74,63,51,0.3);
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-weight: 800; font-size: 0.95rem; color: var(--ink);
  opacity: 0.82; position: relative; padding: 4px 0;
  transition: opacity 0.2s ease;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav:not(.scrolled) .nav-links a {
  color: #fff; opacity: 0.92; text-shadow: 0 1px 5px rgba(0,0,0,0.45);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2.5px;
  background: var(--honey); border-radius: 2px; transition: right 0.25s var(--bounce);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { right: 0; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ============================ WOOD BUTTONS ============================ */
.wood-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; border: none; outline: none;
  font-family: "Lilita One", cursive; font-weight: 400;
  color: #fff3d8; text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  border-radius: 14px; padding: 15px 26px;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s var(--bounce), box-shadow 0.12s ease, filter 0.12s ease;
}
.wood-btn-primary {
  background: linear-gradient(180deg, #C07838 0%, #9B5A20 40%, #7A4010 100%);
  box-shadow: inset 0 2px 4px rgba(255,200,120,0.30), inset 0 -3px 6px rgba(0,0,0,0.35),
    0 5px 0 #4A2408, 0 7px 16px rgba(0,0,0,0.40);
}
.wood-btn-secondary {
  background: linear-gradient(180deg, #6FA06A 0%, #58835A 45%, #3f6442 100%);
  box-shadow: inset 0 2px 4px rgba(220,255,200,0.28), inset 0 -3px 6px rgba(0,0,0,0.30),
    0 5px 0 #2c4a2e, 0 7px 16px rgba(0,0,0,0.36);
}
.wood-btn-primary:hover, .wood-btn-secondary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.wood-btn-primary:active { transform: translateY(4px); box-shadow: inset 0 2px 4px rgba(255,200,120,0.3), 0 1px 0 #4A2408; }
.wood-btn-secondary:active { transform: translateY(4px); box-shadow: inset 0 2px 4px rgba(220,255,200,0.28), 0 1px 0 #2c4a2e; }
/* amber gems on primary */
.wood-btn-primary::before, .wood-btn-primary::after {
  content: "◆"; position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--amber); font-size: 0.6rem; text-shadow: 0 0 4px rgba(255,180,30,0.8);
}
.wood-btn-primary::before { left: 11px; } .wood-btn-primary::after { right: 11px; }
/* glyphs render in Nunito (Lilita One lacks ⬇ and friends) */
.btn-ico { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 0.9em; }
.wood-btn-sm { padding: 9px 16px; font-size: 0.98rem; border-radius: 11px; }
.wood-btn-sm.wood-btn-primary, .nav .wood-btn {
  background: linear-gradient(180deg, #C07838 0%, #9B5A20 40%, #7A4010 100%);
  box-shadow: inset 0 2px 3px rgba(255,200,120,0.3), 0 3px 0 #4A2408, 0 5px 10px rgba(0,0,0,0.3);
}
.nav .wood-btn::before, .nav .wood-btn::after { display: none; }

/* ============================ HERO ============================ */
.hero {
  position: relative; min-height: 100svh; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 96px 18px 60px;
}
.hero-bg {
  position: absolute; inset: -8% 0 0 0; z-index: -3;
  background: url("assets/hero.jpg") center 38% / cover no-repeat;
  transform: scale(1.08);
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 50% 32%, rgba(255,210,90,0.30), transparent 70%),
    linear-gradient(180deg, rgba(28,90,122,0.30) 0%, rgba(28,90,122,0.05) 28%,
      rgba(60,34,10,0.10) 52%, rgba(40,28,14,0.55) 82%, rgba(30,20,10,0.82) 100%);
}
.hero-sun {
  position: absolute; top: 16%; left: 50%; transform: translateX(-50%); z-index: -1;
  width: 42vmax; height: 42vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,228,150,0.55) 0%, rgba(255,210,90,0.12) 38%, transparent 66%);
  animation: sun-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sun-breathe { 0%,100% { opacity: 0.85; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.06); } }

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: clamp(0.72rem, 2.2vw, 0.92rem);
  color: rgba(255,234,180,0.92); text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin: 0 0 6px;
}
.hero-title {
  font-family: "Lilita One", cursive; font-weight: 400;
  font-size: clamp(4rem, 17vw, 9.5rem); line-height: 0.86; margin: 0;
  color: #FFC840; -webkit-text-stroke: 3px #7A3200; letter-spacing: -1px;
  text-shadow: 2px 2px 0 #8B4200, 4px 4px 0 #7A3800, 6px 6px 0 #6A3000,
    7px 7px 0 #5A2800, 8px 8px 14px rgba(0,0,0,0.55);
}
.hero-tag {
  margin: 18px auto 0; max-width: 560px;
  font-size: clamp(1rem, 2.6vw, 1.22rem); font-weight: 600; line-height: 1.55;
  color: #fdeccd; text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-tag strong { color: #ffd97a; font-weight: 800; }
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 30px;
}
.hero-note {
  margin-top: 18px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(255,232,180,0.78); text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2.5px solid rgba(255,235,190,0.7); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero-scroll-dot { width: 5px; height: 9px; border-radius: 3px; background: rgba(255,235,190,0.9); animation: scroll-bob 1.6s ease-in-out infinite; }
@keyframes scroll-bob { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0.2; } }

/* ============================ SECTIONS ============================ */
.section { position: relative; z-index: 2; padding: clamp(64px, 9vw, 120px) 0; }
.section-paper { background: var(--paper); }
.section-cream {
  background: var(--cream);
  border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(34px, 5vw, 56px); }
.section-sub { margin: 14px auto 0; max-width: 560px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; font-weight: 600; }

/* reveal-on-scroll base state (JS adds .in) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s var(--bounce); }
.reveal.in { opacity: 1; transform: none; }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-copy p { font-size: 1.06rem; line-height: 1.7; color: #5d5141; margin: 0 0 14px; }
.about-copy .h-display { margin-bottom: 16px; }
.about-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.about-points span { font-size: 1.3rem; width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(180deg, #fff8e8, var(--cream)); border: 2px solid #e3cfa3;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.7), 0 2px 5px rgba(74,63,51,0.1); }
.about-art { position: relative; }
.framed {
  border-radius: 20px; overflow: hidden; border: 4px solid #fff;
  box-shadow: var(--shadow-pop); background: #fff;
}
.framed img { aspect-ratio: 16/10; object-fit: cover; }
.framed-float {
  position: absolute; right: -6%; bottom: -16%; width: 60%;
  border-width: 5px; box-shadow: var(--shadow-pop);
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 460px; margin: 8px auto 40px; }
  .framed-float { right: -4%; bottom: -22%; }
}

/* ---- MEET SOPHIE ---- */
.section-meet {
  background:
    radial-gradient(ellipse 60% 60% at 78% 30%, rgba(255,210,130,0.35), transparent 70%),
    linear-gradient(180deg, #fdf2dc 0%, #f8e8c9 100%);
  border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
}
.meet-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.meet-art { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.meet-art .framed { border-width: 6px; }
.meet-art .framed img { aspect-ratio: auto; width: 100%; display: block; }
.meet-badge {
  position: absolute; left: -12px; bottom: 18px;
  background: linear-gradient(180deg, #e8b164, var(--honey)); color: #fff;
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 8px 16px; border-radius: 999px; transform: rotate(-2deg);
  border: 2px solid rgba(255,255,255,0.75); box-shadow: 0 4px 10px rgba(74,63,51,0.25);
}
.meet-copy .h-display { margin-bottom: 16px; }
.meet-copy p { font-size: 1.08rem; line-height: 1.72; color: #5d5141; margin: 0 0 14px; font-weight: 600; }
.meet-copy p strong { color: var(--honey-deep); }
.meet-copy .wood-btn { margin-top: 10px; }
@media (max-width: 820px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-art { max-width: 360px; margin-bottom: 8px; }
}

/* ---- FEATURES ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.feature-card {
  background: var(--paper); border-radius: 22px; overflow: hidden;
  border: 2px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.22s var(--bounce), box-shadow 0.22s ease;
}
.feature-card:hover { box-shadow: var(--shadow-pop); }
.feature-img { aspect-ratio: 16/10; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feature-card:hover .feature-img img { transform: scale(1.06); }
.feature-body { padding: 18px 20px 22px; }
.feature-body h3 { margin: 0 0 8px; font-size: 1.22rem; font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.feature-body .fi {
  font-size: 1.1rem; width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 10px; background: linear-gradient(180deg,#fff8e8,var(--cream)); border: 2px solid #e3cfa3;
}
.feature-body p { margin: 0; line-height: 1.6; color: #5d5141; font-weight: 600; }
@media (max-width: 920px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- GUIDE ---- */
.guide {
  display: grid; grid-template-columns: 280px 1fr; gap: 26px;
  background: linear-gradient(180deg, var(--paper), var(--card));
  border: 2px solid var(--line); border-radius: 26px; padding: 22px;
  box-shadow: var(--shadow-soft);
}
.guide-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.guide-step {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 11px 13px; border-radius: 14px; font-weight: 800; color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s var(--bounce);
}
.guide-step:hover { background: rgba(231,218,192,0.45); color: var(--ink); }
.guide-step.is-active { background: linear-gradient(180deg, #84b07c, var(--green)); color: #fff; box-shadow: 0 3px 0 var(--green-deep); transform: translateX(2px); }
.gs-num {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 0.9rem;
  background: #fff6e2; color: var(--honey-deep); border: 2px solid #e6c993;
}
.guide-step.is-active .gs-num { background: #fff; color: var(--green-deep); border-color: #fff; }
.gs-label { font-size: 0.98rem; }
.guide-panels { position: relative; min-height: 280px; }
.guide-panel { display: none; animation: panel-in 0.4s ease; }
.guide-panel.is-active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.guide-panel h3 { font-family: "Lilita One", cursive; font-weight: 400; font-size: 1.5rem; margin: 4px 0 14px; color: var(--ink); }
.guide-panel p { font-size: 1.05rem; line-height: 1.72; color: #5d5141; margin: 0 0 14px; font-weight: 600; }
.guide-panel strong { color: var(--ink); }
.guide-tips {
  margin-top: 18px; padding: 16px 18px; border-radius: 16px;
  background: #fff6e2; border: 2px dashed #e3cb95;
}
.guide-tips h4 { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--honey-deep); }
.guide-tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.guide-tips li { font-weight: 700; color: #5d5141; font-size: 0.98rem; }
kbd {
  display: inline-block; min-width: 1.4em; text-align: center;
  font-family: inherit; font-weight: 800; font-size: 0.82em;
  padding: 2px 7px; margin: 0 1px; border-radius: 7px;
  background: linear-gradient(180deg,#fff8e8,#efe0c2); color: var(--ink);
  border: 1.5px solid #d8b483; box-shadow: 0 2px 0 #d9c8a6;
}
@media (max-width: 760px) {
  .guide { grid-template-columns: 1fr; gap: 14px; }
  .guide-steps { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .guide-step { padding: 8px 11px; }
  .guide-step .gs-label { font-size: 0.86rem; }
}

/* ---- GALLERY ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal {
  border: none; padding: 0; cursor: pointer; border-radius: 16px; overflow: hidden;
  background: #fff; border: 3px solid #fff; box-shadow: var(--shadow-soft);
  transition: transform 0.22s var(--bounce), box-shadow 0.22s ease;
}
.gal img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.gal:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--shadow-pop); }
.gal:hover img { transform: scale(1.07); }
.gal:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal:nth-child(1) img { aspect-ratio: auto; height: 100%; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gal:nth-child(1) { grid-column: span 2; grid-row: auto; } .gal:nth-child(1) img { aspect-ratio: 16/10; } }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(34, 24, 14, 0.86); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: panel-in 0.25s ease; }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 14px; border: 4px solid #fff; box-shadow: var(--shadow-pop); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 48px; height: 48px;
  border-radius: 50%; border: none; cursor: pointer; font-size: 22px; color: #fff;
  background: rgba(255,255,255,0.16);
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }

/* ---- PLAY BAND ---- */
.play-band { overflow: hidden; text-align: center; color: #fff; }
.play-bg {
  position: absolute; inset: 0; z-index: 0; background: var(--coast);
}
.play-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,222,130,0.4), transparent 70%);
}
.play-inner { position: relative; z-index: 2; max-width: 760px; }
.play-title { color: #fff; text-shadow: 2px 2px 0 #7a3a10, 3px 3px 10px rgba(0,0,0,0.4); }
.play-sub { font-size: 1.12rem; font-weight: 700; margin: 14px auto 30px; color: #fff4dd; text-shadow: 0 2px 8px rgba(0,0,0,0.4); max-width: 520px; }
.play-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 640px; margin: 0 auto; }
.play-card {
  cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 26px 20px; border-radius: 22px;
  background: rgba(253,248,236,0.95); color: var(--ink);
  border: 2px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-pop);
  transition: transform 0.18s var(--bounce), box-shadow 0.18s ease;
}
.play-card:hover { transform: translateY(-5px); }
.play-card-ico {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; margin-bottom: 4px;
  background: linear-gradient(180deg, #e8b164, var(--honey)); box-shadow: 0 3px 0 var(--honey-deep);
}
.play-card:nth-child(2) .play-card-ico { background: linear-gradient(180deg, #84b07c, var(--green)); box-shadow: 0 3px 0 var(--green-deep); }
.play-card-name { font-family: "Lilita One", cursive; font-size: 1.3rem; color: var(--ink); }
.play-card-meta { font-size: 0.84rem; font-weight: 700; color: var(--ink-soft); }
.play-fine { margin-top: 26px; font-size: 0.82rem; font-weight: 700; color: rgba(255,244,221,0.82); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
@media (max-width: 560px) { .play-cards { grid-template-columns: 1fr; } }

/* ---- FOOTER ---- */
.footer { background: #2c2118; color: #e9d8be; padding: 44px 0 38px; position: relative; z-index: 2; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-family: "Lilita One", cursive; font-size: 1.3rem; color: var(--honey); }
.footer-line { margin: 0; max-width: 460px; line-height: 1.6; color: #c9b596; font-weight: 600; }
.footer-dedication {
  margin: 8px 0 0; font-family: "Lilita One", cursive; font-size: 1.15rem;
  color: var(--honey); letter-spacing: 0.02em;
}
.footer-meta { margin: 6px 0 0; font-size: 0.82rem; color: #8c7a60; letter-spacing: 0.04em; }

/* ---- tilt helper (JS adds inline transform) ---- */
.tilt { transition: transform 0.18s ease; transform-style: preserve-3d; will-change: transform; }

/* ---- respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-sun, .hero-scroll-dot { animation: none; }
  #motes { display: none; }
}
