/* Shoreplace lightbox — site styles */

:root {
  --ink: #EEF2F8;
  --ink-dim: #96A3B8;
  --bg: #070A11;
  --bg-2: #0B1120;
  --line: rgba(255, 255, 255, 0.10);
  --card: rgba(255, 255, 255, 0.035);
  --gold: #E9BA4F;
  --gold-hot: #FFC42B;
  --blue: #2B4BE0;
  --radius: 16px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(43, 75, 224, 0.20), transparent 60%),
    radial-gradient(760px 520px at 8% 4%, rgba(233, 186, 79, 0.11), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800; line-height: 1.06; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.gold { color: var(--gold); }

.skip {
  position: absolute; top: 0; left: 0; z-index: 99;
  transform: translateY(-140%);
  background: var(--gold); color: #1a1300; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------- announce */
.announce {
  background: rgba(233, 186, 79, .12);
  border-bottom: 1px solid rgba(233, 186, 79, .28);
  color: var(--ink);
  font-size: 13.5px;
  text-align: center;
}
.announce .wrap { padding: 8px 40px; }
.announce a { color: var(--gold); font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 17, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__text { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .2px; }
.brand__mark { width: 40px; height: 30px; display: block; flex: none; }
.brandMark .lb-svg { width: 100%; height: 100%; }
.nav__links { display: flex; gap: 22px; }
.nav__links a { color: var(--ink-dim); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--gold); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--gold); color: #1B1400; }
.btn--primary:hover { background: var(--gold-hot); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { display: flex; width: 100%; }

.chip {
  appearance: none; cursor: pointer;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font: inherit; font-size: 14px; font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.chip:hover { border-color: rgba(233, 186, 79, .55); }
.chip[aria-pressed="true"], .chip.is-on {
  background: rgba(233, 186, 79, .14); border-color: var(--gold); color: var(--gold);
}
.chip--wide { width: 100%; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------- font modal */
@font-face {
  /* Self-hosted — drop the supplied files in assets/fonts/. Until then this
   * rule simply fails to match and the stack falls back to system-ui, so
   * nothing breaks. */
  font-family: "Super Funky";
  src: url("../fonts/super-funky.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Freshman";
  src: url("../fonts/freshman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Boulder";
  src: url("../fonts/boulder.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cake Mania";
  src: url("../fonts/cake-mania.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* One scrolling column — the whole dialog scrolls as a single unit if its
 * content is taller than the screen, with the head and foot pinned via
 * position: sticky. This is deliberately NOT nested flex containers with
 * flex:1/min-height:0/overflow-y:auto — that combination is a known
 * cross-browser trap inside <dialog> elements (it renders fine in some
 * browsers and silently collapses the middle content to zero height in
 * others). Sticky positioning can't produce that failure: unsupported, it
 * just scrolls normally instead of staying pinned — content never disappears. */
.font-modal {
  width: min(100% - 32px, 640px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--ink);
}
.font-modal::backdrop { background: rgba(3, 5, 10, .72); backdrop-filter: blur(2px); }

.font-modal__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.font-modal__head h3 { font-size: 19px; }
.font-modal__close {
  appearance: none; cursor: pointer; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-dim); width: 32px; height: 32px; border-radius: 999px; font-size: 14px;
  line-height: 1; display: flex; align-items: center; justify-content: center;
}
.font-modal__close:hover { color: var(--ink); border-color: rgba(233, 186, 79, .45); }

.font-modal__body { display: flex; }
@media (max-width: 560px) { .font-modal__body { flex-direction: column; } }

.font-modal__list {
  display: flex; flex-direction: column; gap: 4px;
  width: 190px; flex: none; padding: 14px; border-right: 1px solid var(--line);
}
@media (max-width: 560px) {
  .font-modal__list {
    width: auto; flex-direction: row; flex-wrap: wrap;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
}

.font-modal__row {
  appearance: none; cursor: pointer; text-align: left; font: inherit; font-size: 14.5px;
  color: var(--ink-dim); background: transparent; border: 1px solid transparent; border-radius: 10px;
  padding: 10px 12px;
}
.font-modal__row:hover { color: var(--ink); background: var(--card); }
.font-modal__row[aria-pressed="true"] {
  color: var(--gold); background: rgba(233, 186, 79, .12); border-color: rgba(233, 186, 79, .4);
}

.font-modal__preview {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: #0A0A0B; margin: 14px; border-radius: 14px;
  min-width: 0; min-height: 140px;
}
.font-modal__previewText {
  color: var(--gold); font-size: clamp(28px, 6vw, 46px); text-align: center;
  line-height: 1.15; word-break: break-word; letter-spacing: .015em;
}

.font-modal__foot {
  position: sticky; bottom: 0;
  padding: 14px 20px; border-top: 1px solid var(--line); display: flex;
  justify-content: flex-end; background: var(--bg-2);
}

/* ---------------------------------------------------------- hero */
.hero { padding: 64px 0 40px; }
@media (max-width: 899px) { .hero { padding-top: 28px; } }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1fr 1.05fr; gap: 56px; } }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px;
  font-weight: 600; color: var(--gold); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(42px, 7.5vw, 76px); letter-spacing: -.5px; }
.lede { color: var(--ink-dim); font-size: 17px; max-width: 46ch; margin-top: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.hero__facts strong { display: block; font-size: 15px; }
.hero__facts span { color: var(--ink-dim); font-size: 13px; }

.hero__shot { margin: 0; }
.hero__shot figcaption { color: var(--ink-dim); font-size: 13px; margin-top: 12px; text-align: center; }

.carousel {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line); background: #000;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6), 0 0 90px rgba(233, 186, 79, .13);
}
.carousel__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
}
.carousel__slide.is-active { opacity: 1; }
.carousel__slide img, .carousel__slide video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.carousel__dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 7px;
}
.carousel__dot {
  width: 7px; height: 7px; padding: 0; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .25);
  cursor: pointer;
}
.carousel__dot.is-active { background: var(--gold); border-color: var(--gold); }

/* ---------------------------------------------------------- sections */
.section { padding: 76px 0; }
.section--tight-top { padding-top: 24px; }
.section--alt { background: rgba(255, 255, 255, .022); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 36px; max-width: 60ch; }
.section__head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section__head p { color: var(--ink-dim); margin-top: 10px; }

/* ---------------------------------------------------------- designer */
.designer { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 980px) { .designer { grid-template-columns: 1.08fr 1fr; gap: 40px; } }

.designer__preview { position: sticky; top: 78px; }
@media (max-width: 979px) { .designer__preview { position: static; } }

.stage {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, #1B1F28 0%, #0F1219 100%);
  padding: 8px; overflow: hidden;
  transition: background .4s ease;
}
.stage.lb-stage--lit { background: linear-gradient(180deg, #141824 0%, #080A11 100%); }
.stage.lb-stage--wall { background: linear-gradient(180deg, #232732 0%, #161A23 100%); }
.stage .lb-svg { width: 100%; height: auto; display: block; }

.stage__bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 12px; }
.stage__bar-right { display: flex; gap: 8px; flex-wrap: wrap; }
.stage__note { color: var(--ink-dim); font-size: 13px; margin-top: 10px; }

/* ---------------------------------------------------------- controls */
.field { border: 0; margin: 0 0 24px; padding: 0; }
.field legend {
  padding: 0; margin-bottom: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim);
}
.field__row { display: flex; align-items: center; gap: 12px; }
.field__row--split { flex-wrap: wrap; gap: 16px; }
.hint { color: var(--ink-dim); font-size: 13px; margin-top: 8px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px;
}
input[type="text"] { font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .06em; font-size: 17px; }
textarea { resize: vertical; font-family: inherit; }
input:hover, textarea:hover { border-color: rgba(255, 255, 255, .22); }
input:focus, textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .07); }
input:user-invalid, textarea:user-invalid { border-color: #E06A5B; }

.count { color: var(--ink-dim); font-size: 13px; font-variant-numeric: tabular-nums; flex: none; min-width: 46px; text-align: right; }

.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.switch input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.switch--card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 16px; margin-bottom: 10px;
}
.switch--card:hover { border-color: rgba(233, 186, 79, .45); }
.switch--card strong { display: block; margin-bottom: 4px; }
.switch--card em { color: var(--ink-dim); font-size: 13.5px; font-style: normal; line-height: 1.5; display: block; }
.switch--card.is-disabled { opacity: .45; cursor: not-allowed; }
.switch--card.is-disabled:hover { border-color: var(--line); }
.switch--card input:disabled { cursor: not-allowed; }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.option {
  appearance: none; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 10px; text-align: center; display: grid; gap: 4px; justify-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.option:hover { border-color: rgba(233, 186, 79, .5); }
.option.is-on { border-color: var(--gold); background: rgba(233, 186, 79, .12); }
.option svg { width: 44px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: .85; }
.option.is-on svg { color: var(--gold); opacity: 1; }
.option__title { font-weight: 600; font-size: 14px; }
.option__sub { color: var(--ink-dim); font-size: 12px; }

.qty { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-dim); }
.qty input { width: 76px; text-align: center; }

/* ---------------------------------------------------------- price */
.price {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 18px; margin-top: 8px;
}
.price__row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 14.5px; }
.price__row--muted { color: var(--ink-dim); }
.price__total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px;
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 26px;
}
.price__total span:last-child { color: var(--gold); }
.price .btn { margin-top: 16px; }
.price__note {
  margin-top: 10px; font-size: 13px; color: var(--ink-dim); text-align: center;
}
.price__note strong { color: var(--gold); }
.price__note a, .card a { text-decoration: none; }
.price__note a:hover strong, .card a:hover strong { text-decoration: underline; }

/* ---------------------------------------------------------- details */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 22px; }
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--gold); }
.card p { color: var(--ink-dim); font-size: 14.5px; }
.card strong { color: var(--ink); }
.card--highlight { border-color: rgba(233, 186, 79, .45); background: rgba(233, 186, 79, .07); }
.card--highlight h3 { color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.gallery img.is-art { object-fit: contain; background: #0E1118; padding: 10px; }
.gallery figcaption { color: var(--ink-dim); font-size: 13px; margin-top: 8px; }

/* ---------------------------------------------------------- faq */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 70ch; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 4px 20px;
}
.faq__item + .faq__item { margin-top: 0; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 16.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; color: var(--gold); font-size: 20px; line-height: 1;
  transition: transform .15s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-dim); font-size: 14.5px; padding-bottom: 18px; }

/* ---------------------------------------------------------- order */
.order { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .order { grid-template-columns: 1fr 1fr; gap: 40px; } }

.order__summary, .order__form {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 24px;
}
.order__summary h3 { font-size: 20px; margin-bottom: 14px; }
.summary {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; line-height: 1.75; color: var(--ink-dim);
}
.order__form { display: grid; gap: 16px; }
.input { display: grid; gap: 7px; font-size: 14px; }
.input > span { color: var(--ink-dim); font-weight: 500; }
.input em { font-style: normal; opacity: .7; }

.status { border-radius: 12px; padding: 13px 15px; font-size: 14px; border: 1px solid var(--line); }
.status--ok { border-color: rgba(120, 210, 150, .45); background: rgba(120, 210, 150, .10); }
.status--warn { border-color: rgba(233, 186, 79, .5); background: rgba(233, 186, 79, .10); }

/* ---------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; color: var(--ink-dim); font-size: 14px; }

/* ==========================================================
   The sign itself — stroke widths are real millimetres
   ========================================================== */
.lb-svg {
  --lb-body: #0A0A0B;
  --lb-gold: #E9BA4F;
  --lb-blue: #0E2760;
  --lb-white: #FFFFFF;
  --lb-halo: #000000;
  --lb-cord: #3E4553;
  --lb-umb-a: var(--lb-blue);
  --lb-umb-b: var(--lb-gold);
  --lb-outline: #000000;
}

.lb-stage--lit .lb-svg {
  --lb-gold: #FFC42B;
  --lb-blue: #2C49F2;
  --lb-white: #B4CCFF;
  --lb-halo: #2A3AA0;
  --lb-cord: #4C556A;
}

/* 2 mm rim, stroked on the centreline so 1 mm falls either side. */
.lb-umbOutline { stroke: var(--lb-outline); stroke-width: 2; stroke-linejoin: round; }
.lb-umbBody { fill: var(--lb-umb-a); }
.lb-panel { fill: var(--lb-umb-b); }
.lb-lip { stroke-width: 2.3; stroke-linecap: round; }
.lb-lip--a { stroke: var(--lb-umb-a); }
.lb-lip--b { stroke: var(--lb-umb-b); }
.lb-finial { fill: var(--lb-umb-a); stroke: var(--lb-outline); stroke-width: 2; }
.lb-pole { fill: var(--lb-umb-a); stroke: var(--lb-outline); stroke-width: 2; }
.lb-box { fill: var(--lb-body); stroke: rgba(255, 255, 255, .085); stroke-width: 0.6; }
.lb-line1 { fill: var(--lb-gold); letter-spacing: .015em; }
.lb-line2 { fill: var(--lb-white); letter-spacing: .04em; }

.lb-shadow { fill: rgba(0, 0, 0, .55); opacity: .7; }
.lb-haloShape { opacity: 0; transition: opacity .45s ease; }
.lb-cord { stroke: var(--lb-cord); stroke-width: 2; stroke-linecap: round; }

.lb-stage--lit .lb-haloShape { opacity: 1; }
.lb-stage--lit .lb-lit,
.lb-stage--lit .lb-finial,
.lb-stage--lit .lb-line1,
.lb-stage--lit .lb-line2,
.lb-stage--lit .lb-pole { filter: var(--lb-glow); }
.lb-stage--lit .lb-umbBody { filter: brightness(1.12); }

.lb-stage--wall .lb-shadow { opacity: 0; }
.lb-stage--wall .lb-sign { filter: drop-shadow(1.5px 4px 4.5px rgba(0, 0, 0, .55)); }

@media (prefers-reduced-motion: reduce) {
  .lb-haloShape, .stage { transition: none; }
}
