@font-face { font-family: "Cinzel Black"; src: url("fonts/cinzel-black.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Rubik Wet Paint"; src: url("fonts/rubik-wet-paint.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Pirata One"; src: url("fonts/pirata-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #0a0805; --panel: #15110a; --panel-2: #1f1910; --line: #c79a32; --line-soft: #6a5122;
  --gold: #e6bd4c; --gold-hi: #fff0b0; --gold-deep: #8a5a0c; --ink: #1a1002; --text: #fbf4e4; --muted: #d8cbae; --danger: #ffb0a0; --ok: #b9e6a3;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-callig: "Cinzel Black", "Cinzel", Georgia, serif;
  --font-graffiti: "Rubik Wet Paint", "Pirata One", Impact, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  /* 14 kt gold: bright specular top, hard "horizon" band, warm deep base, second highlight */
  --foil: linear-gradient(178deg, #fffbe3 0%, #ffe9a0 11%, #f7d062 24%, #d19a1c 41%, #7d4e08 50%, #c8921e 58%, #f5cf5c 72%, #fff4c0 86%, #e9b83c 100%);
  --foil-edge: linear-gradient(135deg, #fff7c8 0%, #e9b93f 22%, #8a5a0c 42%, #f6d56a 58%, #fffbe0 74%, #b88418 100%);
  --btn: linear-gradient(180deg, #fffadb 0%, #ffe68a 13%, #f6c747 36%, #d29a1a 60%, #9a6508 84%, #7d5006 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.05) 1px 2px, transparent 2px 4px);
  font: 16px/1.5 var(--font-ui);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--text); min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 50% -140px, rgba(247,200,80,.38), transparent 70%),
    radial-gradient(800px 460px at 105% 38%, rgba(217,160,50,.12), transparent 70%),
    radial-gradient(800px 460px at -5% 82%, rgba(217,160,50,.11), transparent 70%),
    var(--bg);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
/* gold-leaf grain over everything (no pointer events) */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .82  0 0 0 0 .4  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: var(--gold-hi); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.foil-text { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 #fff2b0) drop-shadow(0 3px 0 #4b3005) drop-shadow(0 5px 0 #2a1a02) drop-shadow(0 0 20px rgba(255,200,70,.5)); }
.graffiti { font-family: var(--font-graffiti); letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2.section-title { font: 400 clamp(2.1rem, 7vw, 3rem)/1.02 var(--font-graffiti); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 16px; }
.top-rule { height: 7px; background: var(--foil-edge); box-shadow: 0 0 28px rgba(255,205,80,.65), 0 2px 0 #3d2a06, inset 0 1px #fffbe0; }

/* Buttons — thick gold edge */
button, .btn {
  font: 800 1rem/1.2 var(--font-ui); color: var(--gold-hi); border: 3px solid transparent;
  background: linear-gradient(#1c150a, #120d06) padding-box, var(--foil-edge) border-box;
  border-radius: 16px; min-height: 52px; padding: 12px 18px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  box-shadow: inset 0 1px rgba(255,236,160,.25), 0 2px 0 #3d2a06, 0 0 14px rgba(230,185,70,.18);
  text-shadow: 0 1px 0 #000;
}
/* glowing 14 kt gold buttons */
.btn-gold, button.btn-gold {
  background: var(--brushed), var(--btn) padding-box, var(--foil-edge) border-box; color: var(--ink);
  box-shadow: inset 0 2px #fffbe0, inset 0 -4px #7d5006, inset 0 0 18px rgba(255,255,255,.18), 0 6px 0 #4b3005, 0 0 26px rgba(255,200,70,.55), 0 10px 34px rgba(230,170,40,.4);
  text-shadow: 0 1px 0 rgba(255,248,210,.75);
  letter-spacing: .01em;
}
button:disabled { opacity: .5; cursor: default; }
a, button, input, select, summary, [role="tab"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(230,185,70,.3); }
@media (hover: hover) and (pointer: fine) {
  button:hover:not(:disabled), .btn:hover { filter: brightness(1.12); }
  .btn-gold:hover:not(:disabled) { filter: brightness(1.08) saturate(1.1); box-shadow: inset 0 2px #fffbe0, inset 0 -4px #7d5006, 0 6px 0 #4b3005, 0 0 40px rgba(255,210,90,.8), 0 10px 40px rgba(240,180,50,.5); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes goldGlow { 0%, 100% { box-shadow: inset 0 2px #fffbe0, inset 0 -4px #7d5006, inset 0 0 18px rgba(255,255,255,.18), 0 6px 0 #4b3005, 0 0 22px rgba(255,200,70,.45), 0 10px 30px rgba(230,170,40,.32); } 50% { box-shadow: inset 0 2px #fffbe0, inset 0 -4px #7d5006, inset 0 0 22px rgba(255,255,255,.3), 0 6px 0 #4b3005, 0 0 42px rgba(255,214,100,.85), 0 12px 42px rgba(240,180,50,.55); } }
  .glow-pulse { animation: goldGlow 3.2s ease-in-out infinite; }
}
:focus-visible { outline: 3px solid #fff0a0; outline-offset: 3px; }

/* Forms */
label { display: block; font-weight: 700; color: var(--gold-hi); margin: 12px 0 6px; letter-spacing: .03em; }
input, select, textarea {
  font: 16px/1.3 var(--font-ui); color: var(--text); background: #100c06; border: 2px solid var(--line-soft);
  border-radius: 13px; min-height: 54px; padding: 12px 14px; width: 100%;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.6);
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: inset 0 2px 8px rgba(0,0,0,.6), 0 0 0 3px rgba(240,195,80,.35), 0 0 18px rgba(240,195,80,.3); }
select { appearance: none; background: #100c06 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Cpath d='m3 4 5 5 5-5' fill='none' stroke='%23f6c747' stroke-width='2.6'/%3E%3C/svg%3E") right 14px center/16px 12px no-repeat; padding-right: 40px; }
fieldset { border: 3px solid transparent; border-radius: 20px; padding: 8px 16px 18px; margin: 0 0 18px; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.3)) padding-box, linear-gradient(135deg, #8a5a0c, #e6bd4c 30%, #6a4408 55%, #c79a32 80%, #8a5a0c) border-box; }
legend { font: 400 1.5rem/1 var(--font-graffiti); text-transform: uppercase; color: var(--gold); padding: 0 10px; letter-spacing: .04em; text-shadow: 0 2px 0 #3d2a06, 0 0 14px rgba(255,200,70,.5); }
.panel {
  background: radial-gradient(600px 220px at 50% 0, rgba(247,200,80,.16), transparent 70%), linear-gradient(180deg, rgba(230,185,70,.10), rgba(230,185,70,.02) 30%) padding-box, linear-gradient(var(--panel), var(--panel)) padding-box, var(--foil-edge) border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  border: 5px solid transparent; border-radius: 28px; padding: clamp(16px, 4vw, 30px);
  box-shadow: inset 0 0 0 2px rgba(255,236,160,.16), inset 0 0 50px rgba(230,185,70,.07), 0 22px 70px rgba(0,0,0,.7), 0 0 54px rgba(240,190,70,.22);
}
.status { padding: 14px 16px; border-radius: 14px; background: #2a210f; border: 2px solid var(--line); color: var(--gold-hi); font-weight: 650; margin: 14px 0 0; }
.status:empty { display: none; }
.status.error { background: #331a14; border-color: #8a3b2b; color: var(--danger); }
.status.success { background: #18240f; border-color: #5e8a3c; color: var(--ok); }
.muted { color: var(--muted); }
.filigree { display: block; width: min(100%, 620px); height: auto; margin: 22px auto; filter: drop-shadow(0 0 8px rgba(255,200,70,.55)) drop-shadow(0 2px 0 #3d2a06); }
.site-footer { text-align: center; padding: 26px 0 40px; color: var(--muted); font-size: .85rem; }
.small-link { font: 700 .72rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); text-decoration: none; padding: 10px 14px; border: 2px solid var(--line-soft); border-radius: 999px; display: inline-block; }

/* Installed-app launch splash (only when opened from the Home Screen) */
.splash { display: none; }
.standalone .splash { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; align-content: center; gap: 18px; pointer-events: none;
  background: radial-gradient(520px 420px at 50% 42%, rgba(247,200,80,.34), transparent 70%), #070503; animation: splashOut .5s ease 1.15s forwards; }
.splash img { width: min(54vw, 230px); height: auto; filter: drop-shadow(0 0 34px rgba(255,200,70,.6)); }
.splash span { font: 400 clamp(2.4rem, 11vw, 3.4rem)/1 var(--font-callig); }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .standalone .splash { animation-duration: .01s; animation-delay: .4s; } }

/* Discreet browser-only staff entry; hidden in the installed customer app */
.staff-entry { font-size: .6rem; letter-spacing: .2em; color: #5a4a2e; border-color: #2a2414; opacity: .4; margin-top: 16px; }
.standalone .staff-entry { display: none !important; }
