/* =================================================================
   Prime & Bold Solutions — Design System
   Dark neon brand: Navy base · Cyan accent · sparing Magenta/Gold
   Fonts: Poppins (display) + Inter (body)
   Colors sampled from official logo files (see build brief).
   ================================================================= */

:root {
  /* Brand (exact hex from brief) ----------------------------------- */
  --navy:        #04215B;   /* primary background / base                */
  --navy-deep:   #021439;   /* deep shadow / near-black sections        */
  --cyan:        #43F6FC;   /* primary accent: buttons, links, glow     */
  --cyan-light:  #90FAFD;   /* light accent / glow / hover              */
  --ink:         #EFF0F4;   /* body text on dark                        */
  --magenta:     #AD244D;   /* sparing pop accent                       */
  --gold:        #E5AF1C;   /* sparing pop accent                       */
  --white:       #ffffff;

  /* Derived surfaces & text --------------------------------------- */
  --navy-surface: #0a2e74;          /* raised cards on navy            */
  --navy-line:    rgba(144,250,253,.16); /* hairline borders          */
  --navy-line-2:  rgba(144,250,253,.28);
  --muted:        #9db4dd;          /* muted text on navy (AA on navy) */
  --muted-deep:   #7e95c4;
  --overlay:      rgba(2,10,28,.72);

  /* Glow ----------------------------------------------------------- */
  --glow-cyan:    0 0 18px rgba(67,246,252,.45), 0 0 44px rgba(67,246,252,.18);
  --glow-cyan-sm: 0 0 12px rgba(67,246,252,.40);
  --glow-text:    0 0 14px rgba(67,246,252,.55);
  --glow-magenta: 0 0 18px rgba(173,36,77,.5);

  /* Type ----------------------------------------------------------- */
  --font-display: "Space Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;

  /* Spacing / radius / shadow ------------------------------------- */
  --container: 1220px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow:    0 16px 40px -18px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 70px -24px rgba(0,0,0,.7);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--navy-deep); }

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.display { font-size: clamp(2.6rem, 6.2vw, 4.7rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4vw, 3.05rem); }
.h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.lead { font-size: clamp(1.075rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.6; max-width: 58ch; }
p { max-width: 68ch; }
strong { font-weight: 600; color: var(--ink); }
.text-cyan { color: var(--cyan); }
.glow { text-shadow: var(--glow-text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cyan); box-shadow: var(--glow-cyan-sm); }
.eyebrow--center { justify-content: center; }

/* ---------- Layout helpers ---------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--deep { background: var(--navy-deep); }
.section--panel { background: linear-gradient(180deg, #052a72, #04215B); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.7rem); }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }

/* subtle top glow divider for some sections */
.section--glow-top::after {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(680px, 80%); height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .6;
}

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .9rem 1.6rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform; white-space: nowrap; cursor: pointer;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--cyan { background: var(--cyan); color: var(--navy-deep); box-shadow: var(--glow-cyan-sm); }
.btn--cyan:hover { background: var(--cyan-light); box-shadow: var(--glow-cyan); }
.btn--outline { border-color: var(--cyan); color: var(--cyan); }
.btn--outline:hover { background: rgba(67,246,252,.12); box-shadow: var(--glow-cyan-sm); }
.btn--ghost { border-color: var(--navy-line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--magenta { background: var(--magenta); color: var(--white); }
.btn--magenta:hover { box-shadow: var(--glow-magenta); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--cyan); position: relative; font-family: var(--font-display); }
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); box-shadow: var(--glow-cyan-sm); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pills / tags ------------------------------------------------ */
.pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(67,246,252,.08); border: 1px solid var(--navy-line); color: var(--ink); padding: .4rem .85rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 500; }
.pill svg { width: 1em; height: 1em; color: var(--cyan); }
.tag { font-size: .76rem; font-weight: 600; padding: .25rem .6rem; border-radius: var(--radius-pill); background: rgba(67,246,252,.1); color: var(--cyan-light); border: 1px solid var(--navy-line); }
.tag--gold { background: rgba(229,175,28,.14); color: var(--gold); border-color: rgba(229,175,28,.4); }

/* ---------- Header / nav ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 1.05rem;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(2,11,32,.82);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--navy-line); padding-block: .6rem;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__link { position: relative; font-weight: 500; font-size: .96rem; padding: .5rem .85rem; border-radius: var(--radius-sm); color: var(--ink); transition: color .2s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease); box-shadow: var(--glow-cyan-sm); }
.nav__link:hover { color: var(--cyan); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--cyan); }
/* login-aware Admin / Sign out items: keep them out of the flex row until revealed.
   The <button> variant needs no extra styling — `button { font: inherit }` in the
   reset means it already matches the <a> links exactly. */
.nav__link[hidden] { display: none; }
.nav__actions { display: flex; align-items: center; gap: .85rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo img { height: 46px; width: auto; transition: height .35s var(--ease); filter: drop-shadow(0 0 10px rgba(67,246,252,.35)); }
.site-header.scrolled .logo img { height: 40px; }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1; color: var(--ink); white-space: nowrap; }
.logo__word b { color: var(--cyan); font-weight: 700; }

/* cart button + badge */
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--navy-line); color: var(--ink); transition: all .25s var(--ease); }
.cart-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan-sm); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; box-shadow: var(--glow-magenta); }
.cart-badge[hidden] { display: none; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__drawer { display: none; }
.nav__backdrop { display: none; }

/* ---------- Hero -------------------------------------------------------- */
.hero {
  position: relative; min-height: min(90vh, 900px); display: flex; align-items: center;
  padding-top: clamp(6.5rem, 12vh, 8rem); padding-bottom: clamp(2.5rem, 6vh, 4rem);
  background-image: url("../img/header-bg-extended.jpg");
  background-size: cover; background-position: center bottom; background-color: var(--navy-deep);
  overflow: hidden;
}
/* legibility gradient: darken top for nav + headline */
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,24,.85) 0%, rgba(2,8,24,.35) 34%, rgba(2,8,24,0) 55%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 880px; text-align: center; margin-inline: auto; }
.hero__logo { width: auto; height: clamp(104px, 15vh, 164px); margin: 0 auto 1.3rem; filter: drop-shadow(0 0 22px rgba(67,246,252,.45)); }
.hero__title { margin: 0 auto .8rem; max-width: 16ch; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.hero__title .pop { color: var(--cyan); text-shadow: var(--glow-text); }
.hero__sub { color: var(--ink); opacity: .92; font-size: clamp(1.1rem,1.7vw,1.4rem); max-width: 52ch; margin: 0 auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.6rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 1; color: var(--cyan); opacity: .8; }
.hero__scroll svg { width: 26px; height: 26px; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

/* ---------- Marquee (trust / services) ---------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.marquee__item svg { width: 1.3em; height: 1.3em; color: var(--cyan); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Generic card ------------------------------------------------ */
.card {
  background: linear-gradient(180deg, rgba(67,246,252,.05), rgba(67,246,252,0)) , var(--navy-surface);
  border: 1px solid var(--navy-line); border-radius: var(--radius); padding: clamp(1.5rem,2.5vw,2.1rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--navy-line-2); box-shadow: var(--shadow-lg); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; background: rgba(67,246,252,.1); color: var(--cyan); border: 1px solid var(--navy-line); transition: all .35s var(--ease); }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { box-shadow: var(--glow-cyan-sm); }
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.1rem; }
.card .link-arrow { margin-top: auto; }

/* product-line card (home) with image header */
.line-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--navy-line); background: var(--navy-surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); display: flex; flex-direction: column; height: 100%; }
.line-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--shadow-lg); }
.line-card__media { aspect-ratio: 16/10; overflow: hidden; }
.line-card__media svg, .line-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.line-card:hover .line-card__media svg, .line-card:hover .line-card__media img { transform: scale(1.06); }
.line-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.line-card__body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.line-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.line-card__body .link-arrow { margin-top: auto; }

/* ---------- Steps -------------------------------------------------------- */
.step { position: relative; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; color: var(--cyan); background: rgba(67,246,252,.08); border: 1.5px solid var(--cyan); box-shadow: var(--glow-cyan-sm); }
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--muted); }

/* ---------- Stats -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat { text-align: center; padding: 1rem; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,5vw,3.2rem); line-height: 1; color: var(--ink); }
.stat__num .suffix { color: var(--cyan); text-shadow: var(--glow-text); }
.stat__label { margin-top: .55rem; font-size: .92rem; color: var(--muted); }
.stat + .stat { border-left: 1px solid var(--navy-line); }

/* ---------- Shop: filters + product grid -------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter { padding: .58rem 1.2rem; border-radius: var(--radius-pill); border: 1.5px solid var(--navy-line); background: transparent; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .25s var(--ease); }
.filter:hover { border-color: var(--cyan); color: var(--cyan); }
.filter.is-active { background: var(--cyan); color: var(--navy-deep); border-color: var(--cyan); box-shadow: var(--glow-cyan-sm); }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.1rem,2vw,1.6rem); }
.product { display: flex; flex-direction: column; background: var(--navy-surface); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.product.is-hidden { display: none; }
.product:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: var(--shadow-lg); }
.product__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-deep); }
.product__media svg, .product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product__media svg, .product:hover .product__media img { transform: scale(1.05); }
.product__cat { position: absolute; top: .7rem; left: .7rem; }
.product__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; margin-bottom: .3rem; }
.product__name a:hover { color: var(--cyan); }
.product__blurb { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.product__price { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.product__price .from { color: var(--muted); font-weight: 400; font-size: .8rem; }
.product__price.quote { color: var(--cyan); }

/* ---------- Product detail ---------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.pdp__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--navy-line); background: var(--navy-deep); box-shadow: var(--shadow); }
.pdp__media svg, .pdp__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pdp__info h1 { font-size: clamp(1.8rem,3.2vw,2.6rem); margin: .6rem 0 .5rem; }
.pdp__price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--cyan); margin-bottom: 1.1rem; }
.pdp__desc { color: var(--muted); margin-bottom: 1.4rem; }
/* variant "type" picker — Amazon-style image thumbnails */
.pdp__thumbs { display: flex; flex-wrap: nowrap; gap: .6rem; margin-top: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .4rem; scrollbar-width: thin; scrollbar-color: var(--navy-line-2) transparent; }
.pdp__thumbs::-webkit-scrollbar { height: 6px; }
.pdp__thumbs::-webkit-scrollbar-track { background: transparent; }
.pdp__thumbs::-webkit-scrollbar-thumb { background: var(--navy-line-2); border-radius: 10px; }
.pdp__thumb { flex: 0 0 auto; scroll-snap-align: start; width: 66px; height: 66px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid var(--navy-line); background: var(--navy-deep); cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb:hover { border-color: var(--navy-line-2); }
.pdp__thumb.is-active { border-color: var(--cyan); box-shadow: var(--glow-cyan-sm); }
.field-row { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.opt label, .opt .opt__label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.opt select, .opt input, .opt textarea { width: 100%; }

/* personalization: free-text brief + reference-file picker on the product page */
.opt textarea { resize: vertical; min-height: 96px; font: inherit; line-height: 1.5; display: block; }
.opt__hint { margin: .45rem 0 0; font-size: .8rem; color: var(--muted); }
.opt input[type="file"], .field input[type="file"] { padding: .5rem .6rem; cursor: pointer; }
.opt input[type="file"]::file-selector-button, .field input[type="file"]::file-selector-button {
  margin-right: .8rem; padding: .5rem .95rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--cyan); background: transparent; color: var(--cyan);
  font: inherit; font-weight: 600; font-size: .85rem;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.opt input[type="file"]::file-selector-button:hover, .field input[type="file"]::file-selector-button:hover { background: rgba(67,246,252,.12); box-shadow: var(--glow-cyan-sm); }
.opt__files { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.opt__files li {
  display: flex; align-items: center; gap: .5rem; min-width: 0;
  padding: .45rem .7rem; border-radius: 8px; font-size: .85rem;
  background: rgba(67,246,252,.08); border: 1px solid var(--navy-line);
}
.opt__files svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--cyan); }
.opt__files li > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt__size { flex: 0 0 auto; color: var(--muted); font-size: .78rem; }
.opt__err { margin: .55rem 0 0; font-size: .82rem; color: #f3a6b9; }

/* purchase paths: [data-purchase="fixed"] → PayPal Buy Now, "quote" → request form */
.pdp__actions form { display: contents; }           /* PayPal form must not break the flex row */
.pdp__actions .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.pdp__actions .btn[disabled]:hover { transform: none; }
.pdp__note { margin: -.5rem 0 1.2rem; font-size: .84rem; color: var(--muted); }
.quote-panel { margin: 1.4rem 0 0; }
.quote-panel[hidden] { display: none; }
.quote-panel .form-card { padding: clamp(1.2rem, 2.4vw, 1.7rem); }

/* swatch dropdown — a colour chip beside each variant name (see `swatch` in products.js) */
.swatch { position: relative; }
.swatch__btn {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; cursor: pointer;
  background: rgba(2,11,32,.6); border: 1.5px solid var(--navy-line); border-radius: var(--radius-sm);
  padding: .7rem 1rem; color: var(--ink); font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.swatch__btn:hover { border-color: var(--navy-line-2); }
.swatch__btn:focus-visible { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan-sm); background: rgba(2,11,32,.85); }
.swatch.is-open .swatch__btn { border-color: var(--cyan); box-shadow: var(--glow-cyan-sm); }
.swatch__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch__caret { width: 16px; height: 16px; flex: 0 0 auto; color: var(--cyan); transition: transform .22s var(--ease); }
.swatch.is-open .swatch__caret { transform: rotate(180deg); }
/* the chip carries its own ring so near-black and white products stay visible on navy */
.swatch__chip {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.45);
}
/* variants distinguished by shape rather than colour show a thumbnail as their sample */
.swatch__chip--img { overflow: hidden; background: var(--navy-deep); }
.swatch__chip--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch__list {
  position: absolute; z-index: 30; top: calc(100% + .4rem); left: 0; right: 0;
  max-height: 17rem; overflow-y: auto; margin: 0; padding: .35rem; list-style: none;
  background: #061c46; border: 1.5px solid var(--cyan); border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(1,6,20,.6), var(--glow-cyan-sm);
  scrollbar-width: thin; scrollbar-color: var(--navy-line-2) transparent;
  display: none;
}
.swatch__list::-webkit-scrollbar { width: 8px; }
.swatch__list::-webkit-scrollbar-track { background: transparent; }
.swatch__list::-webkit-scrollbar-thumb { background: var(--navy-line-2); border-radius: 10px; }
.swatch.is-open .swatch__list { display: block; }
.swatch__list:focus { outline: none; }
.swatch__opt {
  display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 8px; cursor: pointer;
  transition: background-color .15s var(--ease);
}
.swatch__opt:hover, .swatch__opt.is-active { background: rgba(67,246,252,.12); }
.swatch__opt.is-selected { background: rgba(67,246,252,.18); }
.swatch__tick { width: 16px; height: 16px; flex: 0 0 auto; color: var(--cyan); opacity: 0; }
.swatch__opt.is-selected .swatch__tick { opacity: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--navy-line); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 42px; height: 44px; color: var(--cyan); font-size: 1.3rem; display: grid; place-items: center; }
.qty button:hover { background: rgba(67,246,252,.1); }
.qty input { width: 48px; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .5rem; }
.pdp__meta { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--navy-line); display: grid; gap: .7rem; }
.pdp__meta li { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.pdp__meta svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 2px; }

/* ---------- Cart -------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.5rem,3vw,2.5rem); align-items: start; }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 1.1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--navy-line); }
.cart-line__media { width: 92px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--navy-line); background: var(--navy-deep); }
.cart-line__media svg, .cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-family: var(--font-display); font-weight: 600; }
.cart-line__opts { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.cart-line__remove { color: var(--muted); font-size: .82rem; margin-top: .4rem; display: inline-flex; align-items: center; gap: .3rem; }
.cart-line__remove:hover { color: #f3a6b9; }
.cart-line__remove svg { width: 14px; height: 14px; }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cart-line__price { font-family: var(--font-display); font-weight: 600; }
.summary { background: var(--navy-surface); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: 100px; }
.summary h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.summary__row { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--muted); }
.summary__row.total { border-top: 1px solid var(--navy-line); margin-top: .5rem; padding-top: 1rem; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.summary__note { font-size: .82rem; color: var(--muted-deep); margin: .8rem 0 1.2rem; }
.empty-state { text-align: center; padding: clamp(2.5rem,6vw,4.5rem) 1rem; }
.empty-state svg { width: 64px; height: 64px; color: var(--cyan); opacity: .6; margin: 0 auto 1.2rem; }
/* the paragraph inherits a max-width measure, so it needs auto margins to sit
   centred like the icon and heading above it — otherwise it hangs to the left */
.empty-state p { margin-inline: auto; }

/* ---------- Forms ------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field .req { color: var(--cyan); }
.field input, .field select, .field textarea, .opt input, .opt select, .opt textarea {
  background: rgba(2,11,32,.6); border: 1.5px solid var(--navy-line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder, .opt textarea::placeholder { color: var(--muted-deep); }
.field select, .opt select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2343F6FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus, .opt input:focus, .opt select:focus, .opt textarea:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan-sm); background: rgba(2,11,32,.85); }
.field--error input, .field--error select, .field--error textarea { border-color: #f3637b; }
.field__msg { font-size: .8rem; color: #f3a6b9; min-height: 1em; }

/* Terms agreement — required checkbox on every quote form. The box is 24px for
   a comfortable phone tap target; the label shares its line and wraps beside it.
   Every form card sits on a navy surface, so links take the cyan accent — if a
   light-background form ever appears, give its links var(--navy) instead. */
.form-agreement { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: .45rem .7rem; }
.form-agreement input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--cyan); cursor: pointer; }
.form-agreement label { flex: 1; min-width: 0; padding-top: 2px; font-size: .88rem; line-height: 1.5; cursor: pointer; }
.form-agreement a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; transition: color .2s var(--ease); }
.form-agreement a:hover { color: var(--cyan-light); }
.form-agreement__err { flex-basis: 100%; margin: 0; font-size: .82rem; color: #f3a6b9; }

/* Links inside the submit-failure box. The global `a { color: inherit }` would
   otherwise leave the phone and email indistinguishable from the message text —
   on this magenta-tinted background they keep the message colour and earn their
   affordance from the underline and weight instead. */
.form-error a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-error a:hover { color: var(--ink); }

/* A held-back submit (terms unchecked, or mid-send) has to look held back.
   Also covers the PayPal Buy Now placeholder state. */
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.form-card { background: var(--navy-surface); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.4rem); }
.form-success { display: none; align-items: center; gap: .9rem; background: rgba(67,246,252,.1); border: 1px solid var(--cyan); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-top: 1.25rem; box-shadow: var(--glow-cyan-sm); }
.form-success.show { display: flex; }
.form-success svg { width: 28px; height: 28px; color: var(--cyan); flex: none; }
/* The degraded confirmation (email sent, no DB record) carries phone and email
   links; `a { color: inherit }` would otherwise hide them in the message text. */
.form-success a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-success a:hover { color: var(--cyan); }

/* ---------- Legal pages (privacy / terms) -------------------------------
   The only reading-length prose on the site: constrained measure, generous
   leading, and a genuinely emphatic `strong` — the bold in the approved copy
   marks the clauses a customer must not skim past, so it has to carry weight.
   The provider table scrolls inside .legal__table rather than squashing; its
   min-width is what forces the scroll instead of a crushed 3-column grid. */
.legal { max-width: 78ch; margin-inline: auto; }
.legal__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-top: 1.2rem; }
.legal__org { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.legal__updated { font-size: .9rem; color: var(--muted); }
.legal h2 { font-size: clamp(1.22rem,2.4vw,1.55rem); margin: 2.5rem 0 1rem; padding-top: 1.7rem; border-top: 1px solid var(--navy-line); }
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p { color: var(--muted); line-height: 1.75; margin-bottom: 1.1rem; }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; transition: color .2s var(--ease); }
.legal a:hover { color: var(--cyan-light); }
.legal ul { list-style: none; display: grid; gap: .6rem; margin: 0 0 1.3rem; padding: 0; }
.legal li { position: relative; padding-left: 1.5rem; color: var(--muted); line-height: 1.7; }
.legal li::before { content: ""; position: absolute; left: .35rem; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan-sm); }
.legal__contact { padding: 1.2rem 1.4rem; border: 1px solid var(--navy-line); border-radius: var(--radius); background: rgba(2,11,32,.4); line-height: 1.9; }

.legal__table { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--navy-line); border-radius: var(--radius); background: rgba(2,11,32,.4); }
.legal table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .85rem 1rem; line-height: 1.6; border-bottom: 1px solid var(--navy-line); }
.legal thead th { font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); background: rgba(67,246,252,.06); white-space: nowrap; }
.legal tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.legal td { color: var(--muted); }
.legal tbody tr:last-child th, .legal tbody tr:last-child td { border-bottom: 0; }

/* ---------- Page hero (interior) ---------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(8.5rem,18vh,11rem); padding-bottom: clamp(2.5rem,6vw,4rem); background: radial-gradient(60% 80% at 80% -10%, rgba(67,246,252,.16), transparent 60%), radial-gradient(50% 70% at 0% 0%, rgba(173,36,77,.14), transparent 60%), var(--navy-deep); }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.3rem,5vw,3.4rem); margin: .9rem 0 .8rem; }
.page-hero .lead { color: var(--muted); }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- Feature split (about / feature sections) -------------------- */
.check-list { display: grid; gap: .75rem; margin: 1.3rem 0 1.6rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.check-list svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 2px; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--navy-line); background: var(--navy-deep); box-shadow: var(--shadow); }
.media-frame img, .media-frame svg { width: 100%; height: auto; display: block; }

/* ---------- FAQ --------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--navy-line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq__icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; box-shadow: var(--glow-cyan-sm); }
.faq__icon::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); transition: opacity .3s var(--ease); }
.faq__item.open .faq__icon::after { opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 0 1.4rem; color: var(--muted); }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.2rem,5vw,3.5rem); text-align: center; background: radial-gradient(70% 130% at 50% 0%, rgba(67,246,252,.18), transparent 60%), var(--navy-deep); border: 1px solid var(--navy-line); }
.cta-band h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: .9rem; }
.cta-band p { margin: 0 auto 1.8rem; color: var(--muted); }
.cta-band .btn-row { display: inline-flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Footer ------------------------------------------------------ */
.footer { background: var(--navy-deep); padding-block: clamp(3.5rem,6vw,5rem) 2rem; border-top: 1px solid var(--navy-line); }
.footer a { color: var(--muted); transition: color .2s var(--ease); }
.footer a:hover { color: var(--cyan); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--navy-line); }
.footer__about { margin: 1.1rem 0; max-width: 34ch; font-size: .95rem; color: var(--muted); }
.footer__col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .7rem; font-size: .95rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; font-size: .95rem; color: var(--muted); overflow-wrap: anywhere; }
.footer__contact svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--navy-line); display: grid; place-items: center; transition: all .25s var(--ease); }
.socials a:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan-sm); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .85rem; color: var(--muted-deep); }
.footer__bottom .badges { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Atmospheric section depth (subtle, not busy) ---------------- */
.section--deep { isolation: isolate; }
.section--deep::before, .section--panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 60% at 8% -12%, rgba(67,246,252,.10), transparent 55%),
    radial-gradient(52% 64% at 100% 112%, rgba(173,36,77,.07), transparent 55%),
    linear-gradient(rgba(144,250,253,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144,250,253,.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 58px 58px, 58px 58px;
}
.section:not(.section--deep):not(.section--panel)::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 52% at 90% -12%, rgba(67,246,252,.06), transparent 58%);
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Handcrafted micro-interactions ------------------------------ */
.card, .product { position: relative; }
/* cursor-tracked neon spotlight */
.card::after, .line-card::after, .product::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(67,246,252,.14), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover::after, .line-card:hover::after, .product:hover::after { opacity: 1; }
/* tilt cards: smooth settle for the JS-driven transform */
.line-card, .product { transition: transform .45s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
/* sheen sweep on the primary button */
.btn { position: relative; overflow: hidden; }
.btn--cyan::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: left .55s var(--ease); pointer-events: none;
}
.btn--cyan:hover::after { left: 130%; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }

/* ---------- Reveal — focus-in (blur to sharp) --------------------------- */
.reveal, .reveal-left, .reveal-scale { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(8px); }
.js .reveal-left { opacity: 0; transform: translateX(-28px); filter: blur(8px); }
.js .reveal-scale { opacity: 0; transform: scale(.965); filter: blur(8px); }
.reveal.in, .reveal-left.in, .reveal-scale.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Utilities --------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--cyan); color: var(--navy-deep); padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Gallery: Our Work (bento grid + lightbox) ------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: clamp(.8rem, 1.6vw, 1.2rem); }
.work-item {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--navy-line);
  background: var(--navy-deep); padding: 0; text-align: left; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.work-item--wide { grid-column: span 2; }
.work-item--tall { grid-row: span 2; }
.work-item--big  { grid-column: span 2; grid-row: span 2; }
.work-item:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: var(--shadow-lg); }
.work-item__media { position: absolute; inset: 0; }
.work-item__media svg, .work-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-item:hover .work-item__media svg, .work-item:hover .work-item__media img { transform: scale(1.05); }
.work-item__cat { position: absolute; top: .8rem; left: .8rem; z-index: 3; }
.work-item__zoom {
  position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; z-index: 3; color: var(--cyan);
  background: rgba(2,11,32,.55); border: 1px solid var(--navy-line);
  opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.work-item__zoom svg { width: 18px; height: 18px; }
.work-item:hover .work-item__zoom, .work-item:focus-visible .work-item__zoom { opacity: 1; transform: none; }
.work-item__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.05rem 1.15rem; z-index: 2;
  background: linear-gradient(180deg, rgba(2,11,32,0) 42%, rgba(2,11,32,.9));
}
.work-item__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.work-item__sub { color: var(--muted); font-size: .84rem; margin-top: .18rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem); background: rgba(2,8,24,.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__dialog {
  position: relative; width: min(880px, 100%); background: var(--navy-surface);
  border: 1px solid var(--navy-line-2); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .35s var(--ease-out);
}
.lightbox.open .lightbox__dialog { transform: none; }
.lightbox__media { position: relative; aspect-ratio: 16 / 10; background: var(--navy-deep); }
.lightbox__media svg, .lightbox__media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__body { padding: 1.2rem 1.4rem 1.5rem; }
.lightbox__cat { margin-bottom: .65rem; }
.lightbox__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lightbox__sub { color: var(--muted); margin-top: .35rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 4; display: grid; place-items: center; border-radius: 50%;
  background: rgba(2,11,32,.62); border: 1px solid var(--navy-line); color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan-sm); background: rgba(2,11,32,.8); }
.lightbox__close { top: .8rem; right: .8rem; width: 42px; height: 42px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.lightbox__nav--prev { left: .8rem; }
.lightbox__nav--next { right: .8rem; }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .work-item--wide, .work-item--tall, .work-item--big { grid-column: auto; grid-row: auto; }
}

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__drawer { display: flex; position: fixed; inset: 0 0 0 auto; width: min(86vw,360px); background: var(--navy-deep); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 60; padding: 6rem 2rem 2rem; flex-direction: column; gap: .3rem; border-left: 1px solid var(--navy-line); }
  body.menu-open .nav__drawer { transform: translateX(0); }
  .nav__backdrop { display: block; position: fixed; inset: 0; background: rgba(2,8,24,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 55; }
  body.menu-open .nav__backdrop { opacity: 1; pointer-events: auto; }
  .nav__drawer .nav__link { font-size: 1.12rem; padding: .85rem .5rem; border-bottom: 1px solid var(--navy-line); border-radius: 0; }
  .nav__drawer .nav__link::after { display: none; }
  .nav__drawer .btn { margin-top: 1.25rem; }
  .split, .pdp { grid-template-columns: 1fr; }
  .pdp__media { order: -1; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2n+1) { border-left: none; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line__media { width: 70px; height: 56px; }
  .cart-line__right { grid-column: 2; align-items: flex-start; }
  :root { --section-y: clamp(3.25rem, 11vw, 4.5rem); }
}
@media (max-width: 600px) {
  /* free up the phone header: CTA lives in the drawer menu */
  .nav__actions .btn { display: none; }
  .nav { gap: .6rem; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .nav { gap: .6rem; }
  .nav__actions { gap: .45rem; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-left, .reveal-scale { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee__track { animation: none; }
  .hero__scroll svg { animation: none; }
  .line-card, .product { transform: none !important; }
}

/* ---------- Order admin (admin.html) ------------------------------------ */
.admin-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.admin-list { display: grid; gap: 1.1rem; }
.admin-card {
  background: var(--navy-surface); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: clamp(1.1rem, 2.2vw, 1.5rem);
}
.admin-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.admin-ref { font-family: var(--font-display); font-weight: 700; color: var(--cyan); letter-spacing: .02em; }
.admin-status {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: .25rem .6rem; border-radius: var(--radius-pill);
  background: rgba(67,246,252,.14); border: 1px solid var(--navy-line-2); color: var(--cyan);
}
.admin-card__head time { font-size: .82rem; margin-left: auto; }
.admin-dl { display: grid; gap: .45rem; margin: 0; }
.admin-row { display: grid; grid-template-columns: 140px 1fr; gap: .8rem; align-items: start; }
.admin-row dt { font-size: .82rem; font-weight: 600; color: var(--muted); }
.admin-row dd { margin: 0; font-size: .92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-files { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.admin-files .muted { font-weight: 400; font-size: .82rem; }

/* Status, three stops: new (cyan) → in production (gold) → shipped (green).
   Same look whether it's the read-only pill on account.html or the editable
   select on admin.html. */
.admin-status[data-status="in production"] { background: rgba(229,175,28,.14); color: var(--gold); }
.admin-status[data-status="shipped"] { background: rgba(111,220,154,.14); color: #6fdc9a; }
.admin-status--select {
  appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding-right: 1.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2343F6FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .5rem center;
}
.admin-status--select option { background: var(--navy-deep); color: var(--ink); text-transform: none; letter-spacing: normal; }

/* ---------- Account page ------------------------------------------------ */
.acct-layout { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.acct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1rem; }
.acct-reorder-note { font-size: .82rem; }
.acct-reorder-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* Reorder confirmation dialog. The site had no modal pattern before this;
   scoped to .modal so it can be reused. Panel scrolls internally rather than
   the page, and caps out at 90vh so a long options list stays reachable. */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--navy-surface); border: 1px solid var(--navy-line-2);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-lg);
}
.modal__panel > .muted { line-height: 1.6; }
.modal__details {
  margin: 1.2rem 0; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: rgba(2,11,32,.45); border: 1px solid var(--navy-line);
}
.modal__terms { font-size: .86rem; }
.modal__terms a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; margin-top: 1.4rem; }
.modal__actions .btn { flex: 1 1 auto; justify-content: center; }
#reorder-error a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 480px) { .modal__actions .btn { flex: 0 0 auto; } }

/* auth pages: pane-switch line + inline confirmations */
.auth-switch { margin-top: 1.2rem; font-size: .9rem; }
.auth-switch a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin: .8rem 0 0; font-size: .9rem; color: var(--cyan); }

@media (max-width: 900px) {
  .acct-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-row { grid-template-columns: 1fr; gap: .1rem; }
  .admin-card__head time { margin-left: 0; width: 100%; }
}

/* ---------- PWA install button (footer) --------------------------------- */
.badges [data-pwa-install],
[data-pwa-install] { gap: .45rem; }
[data-pwa-install][hidden] { display: none; }
[data-pwa-install] svg { width: 1em; height: 1em; }

/* typable quantity field: invalid state matches the form-field error styling */
.opt input[type="number"].is-invalid { border-color: #f3637b; }
.opt input[type="number"].is-invalid:focus { border-color: #f3637b; box-shadow: 0 0 12px rgba(243,99,123,.35); }

/* ---------- Google Maps embed (contact page) ---------------------------- */
/* aspect-ratio box so the iframe scales instead of overflowing its column */
.map-embed {
  position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--navy-line);
  background: var(--navy-deep); box-shadow: var(--shadow);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 1 / 1; } }

/* ---------- Google Maps embed (contact page) ---------------------------- */
/* aspect-ratio box so the iframe scales with the column instead of overflowing */
.map-embed {
  position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--navy-line);
  background: var(--navy-deep); box-shadow: var(--shadow);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 1 / 1; } }

/* ---------- Overflow containment ---------------------------------------- */
/* Grid and flex children default to `min-width: auto`, which refuses to shrink
   below their content's min-content width. On a 360px screen that pushed the
   contact cards ~39px past the viewport and gave the whole page a horizontal
   scrollbar. Allowing them to shrink is the standard fix and changes nothing on
   wider screens, where the content never hits the floor anyway. */
.split > *, .grid > *, .card, .card > * { min-width: 0; }
/* long unbroken strings (URLs, emails, reference numbers) must wrap rather than
   push their card wider */
.card, .admin-row dd, .opt__files li { overflow-wrap: anywhere; }
