/* Rebrand Oct 2026: warm neutral + gold, soft 3D depth. Loaded after each page's own styles so it overrides them. */
:root {
  --bg: #f5efe6; --surface: #fffcf7; --fg: #2b2219; --muted: #6b5d4f;
  --line: #e7dccb; --brass: #8a6721; --brass-ink: #ffffff; --tint: #f3e7cf;
  --gold-1: #e2c27a; --gold-2: #b98f3b; --gold-3: #8a6721;
  --display: "Fraunces", "Georgia", serif;
  --shadow-1: 0 1px 1px rgba(60,40,15,.06), 0 2px 4px rgba(60,40,15,.06), 0 8px 16px rgba(60,40,15,.07);
  --shadow-2: 0 2px 2px rgba(60,40,15,.06), 0 8px 16px rgba(60,40,15,.08), 0 24px 48px rgba(60,40,15,.12);
  --shadow-3: 0 4px 6px rgba(60,40,15,.08), 0 16px 32px rgba(60,40,15,.12), 0 40px 80px rgba(60,40,15,.16);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #17130f; --surface: #221c16; --fg: #f1e9de; --muted: #b9aa97;
  --line: #3a3027; --brass: #e2c27a; --brass-ink: #1d160c; --tint: #2e251a;
  --gold-1: #f0d595; --gold-2: #d4ad5c; --gold-3: #a7812f;
  --shadow-1: 0 2px 6px rgba(0,0,0,.35); --shadow-2: 0 10px 28px rgba(0,0,0,.45); --shadow-3: 0 24px 60px rgba(0,0,0,.55); } }
:root[data-theme="dark"] {
  --bg: #17130f; --surface: #221c16; --fg: #f1e9de; --muted: #b9aa97;
  --line: #3a3027; --brass: #e2c27a; --brass-ink: #1d160c; --tint: #2e251a;
  --gold-1: #f0d595; --gold-2: #d4ad5c; --gold-3: #a7812f;
  --shadow-1: 0 2px 6px rgba(0,0,0,.35); --shadow-2: 0 10px 28px rgba(0,0,0,.45); --shadow-3: 0 24px 60px rgba(0,0,0,.55); }

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(226,194,122,.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(185,143,59,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
h1, h2 { font-weight: 700; letter-spacing: -0.015em; }
h1 { font-variation-settings: "opsz" 144, "SOFT" 50; }
h3 { font-family: var(--display); font-weight: 600; }

/* Glassy sticky brand bar with a thin gold rule */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(185,143,59,.35), var(--shadow-1); }
.brand { font-family: var(--display); font-weight: 700; }
.brand .logo { filter: drop-shadow(0 3px 4px rgba(90,60,20,.35)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.brand:hover .logo { transform: rotateY(18deg) rotateX(-8deg) scale(1.06); }
.sitenav a[aria-current="page"] { color: var(--brass); box-shadow: inset 0 -2px 0 var(--gold-2); border-radius: 6px 6px 0 0; }

/* Raised gold buttons that press in */
.btn { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: #24190a;
  border: 1px solid rgba(110,80,25,.45); border-radius: 10px; text-shadow: 0 1px 0 rgba(255,240,205,.55);
  box-shadow: inset 0 1px 0 rgba(255,250,235,.7), 0 3px 0 #6d5119, 0 6px 14px rgba(110,80,25,.30);
  transform: translateY(0); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.05); transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,250,235,.7), 0 5px 0 #6d5119, 0 12px 22px rgba(110,80,25,.32); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,250,235,.5), 0 0 0 #6d5119, 0 2px 6px rgba(110,80,25,.25); }
.pick .more, .toppick { color: var(--brass); }
.toppick { background: linear-gradient(180deg, #fbf1da, #f1dfb6); border: 1px solid rgba(185,143,59,.45); color: #6d5119; }

/* Floating 3D cards */
.pick, .check, .pin-band, .welcome, .card, .room-grid a, nav ul li a {
  transform-style: preserve-3d; will-change: transform; }
.pick { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1);
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--surface) 88%, var(--tint)));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; position: relative; }
.pick::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(255,236,190,.35), transparent 40%);
  opacity: 0; transition: opacity .3s; }
.pick:hover { box-shadow: var(--shadow-3); }
.pick:hover::after { opacity: 1; }
.pick > * { transform: translateZ(18px); }
.pick .btn { transform: translateZ(30px); }
.pick .btn:hover { transform: translateZ(30px) translateY(-2px); }
.check, .pin-band { border-radius: 16px; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.check { background: linear-gradient(160deg, var(--tint), color-mix(in srgb, var(--tint) 70%, var(--surface))); }

/* Photos with depth */
figure.photo img, .room-grid img { border-radius: 16px; box-shadow: var(--shadow-2); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; }
.room-grid a { perspective: 800px; }
.room-grid a:hover img { transform: translateY(-6px) rotateX(6deg) scale(1.02); box-shadow: var(--shadow-3); }
.room-grid .gift img { border-radius: 999px 999px 16px 16px; }

/* Hero: arch floats with a gold frame and layered shadow */
.hero-arch { perspective: 1000px; }
.hero-arch img { border-radius: 999px 999px 18px 18px; border: 6px solid var(--surface);
  outline: 1px solid rgba(185,143,59,.55); outline-offset: 6px;
  box-shadow: var(--shadow-3); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero h1 { background: linear-gradient(180deg, var(--fg) 40%, color-mix(in srgb, var(--fg) 70%, var(--gold-3)));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--brass); }
.promise li::before { border-color: var(--gold-2); }

/* Pills and section rules in gold */
nav a { box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
nav a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-2); }
section.guide { border-top: 0; position: relative; }
section.guide::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,143,59,.6), transparent); }
.disclose { border-left-color: var(--gold-2); }
ol.tips li::marker { color: var(--gold-2); }

/* Scroll reveal: content rises into place (JS adds .rv / .in) */
.rv { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(8deg); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

.sitefoot { background: linear-gradient(180deg, var(--surface), var(--tint)); box-shadow: 0 -1px 0 rgba(185,143,59,.35); }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .pick, .room-grid img, .hero-arch img, .btn, nav a, .brand .logo { transition: none; }
}
