/* Shared palette and controls for the splash, gallery, and private workshop.
   Edit these variables to change the colors throughout the site. */
:root {
  color-scheme: dark;
  --navy: #0d1d37;
  --navy2: #172e52;
  --glow: #294567;
  --cream: #f8f4eb;
  --muted: #b8c5d7;
  --accent: #a9caef;
  --accent-hover: #c4ddf8;
  --soft-text: #dce5f1;
  --link: #d9e9ff;
  --brand-stroke: #d3e5ff;
  --hero-placeholder: #d1dcdf;
  --chip-line: rgba(255, 255, 255, .18);
  --chip-bg: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .16);
  --surface: #172e52;
  --field: #10213d;
  --table-head: #203b60;
  --hover: #243f63;
  --ink: var(--cream);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 10%, var(--glow) 0%, var(--navy) 65%);
  color: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-underline-offset: 5px; }
button {
  border: 1px solid var(--accent);
  border-radius: 9px;
  background: var(--accent);
  color: var(--navy);
  padding: 12px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
button:hover { background: var(--accent-hover); }
button:disabled { opacity: .5; cursor: wait; }
.secondary, .quiet { background: transparent; border-color: var(--line); color: var(--cream); }
.secondary:hover, .quiet:hover { background: var(--hover); }
input, select {
  font: inherit;
  font-size: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--cream);
  accent-color: var(--accent);
}
input::placeholder { color: var(--muted); opacity: 1; }
input:focus, button:focus-visible, a:focus-visible, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -.025em;
}
.brand svg { height: 32px; width: 32px; flex: none; fill: none; stroke: var(--brand-stroke); stroke-width: 2; stroke-linejoin: round; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

.brand-logo { display:block; width:260px; max-width:100%; height:auto; flex:none; object-fit:contain; }
@media(max-width:650px) { .brand-logo { width:190px; } }

.account-menu { position:relative; font-size:.88rem; }
.account-menu summary { cursor:pointer; padding:6px 0; }
.account-menu summary:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.account-menu-items { position:absolute; right:0; top:100%; width:210px; max-width:calc(100vw - 24px); z-index:20; padding:12px; display:grid; gap:8px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 12px 30px rgba(0,0,0,.35); }
.account-menu-items a { display:block; padding:10px; text-decoration:none; }
.account-menu-items a:hover { background:var(--hover); border-radius:6px; }
.account-menu-items form { margin:0; }
.account-menu-items button { width:100%; text-align:left; }
@media(max-width:650px) { .account-menu-items { position:static; margin-top:8px; } }
