/* Night garden: midnight sky, starlight text, petal and wisteria highlights, gold from the SinuoMotion hoop.
   Shared by every public page: home, displays, enquiry form, quote, review, hello, terms, privacy. */
:root {
  --bg: #0c0a1d; --panel: #16132e; --panel-2: #1c1838; --glass: rgba(22, 19, 46, .8); --line: #2c2650; --line-2: #3b3466;
  --star: #eef0ff; --dim: #a9a6cc; --petal: #f2b8d4; --lilac: #b79cf0; --gold: #d8b25a; --gold-ink: #1d1505;
  --ok: #7fd6a8; --ok-soft: #173226; --warn: #e6b45c; --warn-soft: #352a14; --bad: #f0907f; --bad-soft: #3a1d1b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--star); font: 400 17px/1.6 var(--sans); min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--petal); }
a:hover { color: var(--star); }
:focus-visible { outline: 2px solid var(--petal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 70px); }
h2 { font-size: clamp(30px, 4.5vw, 44px); }
h3 { font-size: 24px; font-weight: 600; }
p { margin: 0; }
.dim { color: var(--dim); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.sky { position: fixed; inset: 0; background: url(/img/sky.jpg) center / cover no-repeat; opacity: .45; pointer-events: none; z-index: 0; }
.veil { position: fixed; inset: 0; background: radial-gradient(ellipse at 65% 30%, transparent 0%, rgba(12,10,29,.55) 50%, var(--bg) 100%); pointer-events: none; z-index: 0; }
.shell { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }

/* Top bar */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 6px 18px; }
.wordmark { font: italic 400 28px var(--serif); color: var(--star); text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.nav a { color: var(--dim); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--star); }
.nav .btn { color: var(--gold-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--star); border-radius: 10px; padding: 8px 12px; font: 500 15px var(--sans); }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; right: max(20px, env(safe-area-inset-right)); top: 64px; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px; min-width: 220px; z-index: 20; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; border-radius: 8px; color: var(--star); }
  .nav a:hover { background: var(--panel-2); }
}

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--gold-ink); border: 0; cursor: pointer;
  font: 600 16px var(--sans); padding: 13px 24px; border-radius: 99px; text-decoration: none; min-height: 48px; transition: transform .15s ease, filter .15s ease; }
.btn:hover { color: var(--gold-ink); filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: rgba(22,19,46,.6); color: var(--star); border: 1px solid var(--line-2); }
.btn.ghost:hover { color: var(--star); border-color: var(--lilac); }
.btn.block { width: 100%; }
.btn.small { min-height: 38px; padding: 8px 16px; font-size: 14px; }

.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-size: 14px; font-weight: 600; color: var(--dim); }
.field .hint { font-size: 13px; color: var(--dim); }
.input { width: 100%; background: var(--bg); color: var(--star); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font: 400 16px var(--sans); min-height: 48px; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,178,90,.25); }
textarea.input { min-height: 96px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row2.stack { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 99px; padding: 9px 16px; font-size: 15px; background: rgba(22,19,46,.6); min-height: 42px; cursor: pointer; }
.chip input:checked + span { border-color: var(--gold); background: #2a2440; color: var(--star); box-shadow: 0 0 0 1px var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--petal); outline-offset: 2px; }

.panel { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(6px); }
.notice { border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.notice.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(127,214,168,.35); }
.notice.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(230,180,92,.35); }
.notice.bad { background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(240,144,127,.35); }

.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.swatches { display: inline-flex; gap: 3px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; display: block; border: 1px solid rgba(255,255,255,.25); }
.placeholder { background: repeating-linear-gradient(45deg, var(--panel) 0 8px, var(--panel-2) 8px 16px); display: grid; place-items: center; color: var(--dim); font-size: 13px; text-align: center; padding: 8px; }

footer.site { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 56px; }
footer.site a { color: var(--dim); }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
