/* ==========================================================================
   Composer Touch Control — product page
   1. Tokens  2. Base  3. Utilities  4. Buttons  5. Header
   6. Product  7. Options, quantity + order  7b. Product section  8. FAQs  9. Contact  10. Footer
   10b. Legal pages  10c. Loading screen  11. Responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --c-black:      #080b10;
  --c-bg:         transparent;
  --c-panel:      rgba(16, 20, 27, .72);
  --c-field:      rgba(17, 21, 29, .72);
  --c-red:        #e60f2b;
  --c-red-bright: #ff2b45;
  --c-text:       #ffffff;
  --c-text-muted: #c2c8d0;
  --c-text-dim:   #8d95a0;
  --c-border:     rgba(255, 255, 255, .11);
  --c-hairline:   rgba(255, 255, 255, .09);

  --g-red:       linear-gradient(90deg, #ff2b45 0%, #e60f2b 50%, #c4091f 100%);
  --g-red-hover: linear-gradient(90deg, #ff4359 0%, #f4142f 50%, #d60c24 100%);
  --sh-red:      0 0 22px rgba(230, 15, 43, .28);

  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   12px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;

  --container: 1400px;
  --gutter: 40px;
  --header-h: 96px;

  /* loading screen */
  --ld-w:   clamp(118px, 20vmin, 200px);
  --ld-gap: clamp(16px, 2.8vmin, 28px);

  /* squared, techno letterforms to match the headline artwork and the logo */
  --ff-display: "Chakra Petch", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Chakra Petch", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1 { font-family: var(--ff-display); margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--c-red-bright);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute; top: -100px; left: var(--s-4); z-index: 200;
  padding: 10px 16px; background: var(--c-red); border-radius: var(--r-sm);
  font-family: var(--ff-display); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.red { color: var(--c-red); }

/* asset placeholder — visible only until the real render is dropped into /assets */
.asset-slot { position: relative; margin: 0; }
.asset-slot .asset-ph { display: none; }
.asset-slot.is-missing > img { display: none; }
.asset-slot.is-missing .asset-ph { display: block; position: relative; }

.asset-ph .asset-note {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  font-family: var(--ff-body); font-size: 11px; letter-spacing: .06em;
  color: rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .55);
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: var(--r-sm); padding: 2px 8px; white-space: nowrap;
}

/* ---------- 4. Buttons ---------- */
.i {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 20px 32px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--ff-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: background .2s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary { background: var(--g-red); color: #fff; box-shadow: var(--sh-red); }
.btn-primary:hover { background: var(--g-red-hover); box-shadow: 0 0 30px rgba(230, 15, 43, .50); }
.btn-order { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(6, 8, 13, .94), rgba(6, 8, 13, .55));
  border-bottom: 1px solid var(--c-hairline);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-5);
}

.brand { display: inline-flex; align-items: center; }

/* the supplied lockup image, backdrop keyed out */
.brand-lockup {
  height: 46px;
  width: auto;
  display: block;
}

.nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: var(--s-6); }

.nav-link {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--ff-display);
  font-size: 17px; font-weight: 400;
  color: rgba(255, 255, 255, .82);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--c-red);
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(.6); }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after { transform: scaleX(1); }

.cart {
  position: relative;
  justify-self: end;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: transparent; border: none; cursor: pointer;
  color: #fff;
}
.cart .i { width: 28px; height: 28px; stroke-width: 1.5; }
.cart-badge {
  position: absolute; top: 2px; right: 0;
  min-width: 22px; height: 22px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--c-red); border-radius: 999px;
  font-family: var(--ff-display); font-size: 12px; font-weight: 600;
  line-height: 1;
}

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-border);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle-bars { display: block; width: 20px; }
.nav-toggle-bars i {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-bars i + i { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Product ---------- */
.product {
  position: relative;
  padding-top: calc(var(--header-h) + var(--s-7));
  padding-bottom: var(--s-8);
}


.product-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
  gap: var(--s-8);
}

.product-media { display: flex; justify-content: center; min-width: 0; align-self: stretch; }

/* gallery */
.gallery { width: 100%; max-width: 640px; }

/* one image set per version — swapped by the option chosen on the right */
.gallery-set { display: none; }
.gallery-set.is-active { display: block; }

.gallery-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: #101218;
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform .35s var(--ease);
  touch-action: pan-y;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 6%;
}
.slide img { max-height: 100%; width: auto; object-fit: contain; }
.slide .asset-ph svg { width: 100%; max-height: 100%; }

.slide.asset-slot.is-missing .asset-ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  background: repeating-linear-gradient(45deg, #0a0c10 0 14px, #0d1015 14px 28px);
}
.slide .asset-ph .asset-note { bottom: 10px; }

.zoom-btn, .gal-nav {
  position: absolute; z-index: 3;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: rgba(8, 9, 11, .75);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.zoom-btn:hover, .gal-nav:hover { background: rgba(230, 15, 43, .85); border-color: transparent; }
.zoom-btn svg, .gal-nav svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.zoom-btn { top: 16px; left: 16px; }
.gal-nav { top: 50%; transform: translateY(-50%); }
.gal-prev { left: 16px; }
.gal-next { right: 16px; }

.gal-count {
  position: absolute; z-index: 3;
  right: 16px; bottom: 14px;
  font-family: var(--ff-display);
  font-size: 12px; letter-spacing: .14em;
  color: rgba(255, 255, 255, .7);
}

/* thumbnails */
.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  padding: 8%;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: #101218;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.thumb:hover { border-color: rgba(255, 255, 255, .3); }
.thumb.is-active { border-color: var(--c-red); }
.thumb img { max-height: 100%; width: auto; object-fit: contain; }

.thumb .asset-ph { display: none; }
.thumb.is-missing .asset-ph {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  font-family: var(--ff-display);
  font-size: 15px; font-weight: 500;
  color: rgba(255, 255, 255, .35);
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: var(--r-sm);
}

/* fullscreen viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[hidden] { display: none; }

.lb-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .93); }

.lb-stage {
  position: relative; z-index: 2;
  width: min(1000px, 100%);
  aspect-ratio: 1 / 1;
  max-height: 80vh;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: zoom-in;
}
.lb-stage.is-zoomed { cursor: zoom-out; }
.lb-stage img {
  max-width: 100%; max-height: 100%;
  width: auto;
  transition: transform .25s var(--ease);
}
.lb-stage.is-zoomed img { transform: scale(2.2); }

.lb-missing {
  font-family: var(--ff-body);
  font-size: 13px; letter-spacing: .06em;
  color: rgba(255, 255, 255, .45);
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  padding: 8px 14px;
}

.lb-close {
  position: absolute; z-index: 3;
  top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: var(--g-red); color: #fff;
  cursor: pointer;
}
.lb-close svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}

.lb-nav { z-index: 3; }
.lightbox .gal-prev { left: clamp(12px, 3vw, 32px); }
.lightbox .gal-next { right: clamp(12px, 3vw, 32px); }

.lb-hint {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: clamp(14px, 3vw, 28px);
  text-align: center;
  font-family: var(--ff-display);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

body.is-locked { overflow: hidden; }

.product-details { max-width: 620px; }

/* supplied headline artwork — the black in the file sits flush against the page background */
.product-headline { margin: 0 0 var(--s-5); }
.product-headline img { width: 100%; }

.product-text {
  max-width: 48ch;
  margin-bottom: var(--s-6);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text-muted);
}




/* version options */
.options {
  display: grid;
  gap: var(--s-3);
  margin: 0 0 var(--s-5);
  padding: 0;
  border: 0;
}
.options-legend {
  padding: 0;
  margin-bottom: var(--s-3);
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c-text-muted);
}

.option {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-field);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}
/* no hover treatment: the border only changes when a version is selected */
.option.is-selected {
  border-color: var(--c-red);
  box-shadow: 0 0 26px rgba(230, 15, 43, .35), inset 0 0 22px rgba(230, 15, 43, .10);
}
.option input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.option:has(input:focus-visible) { outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 3px; }

.option-body { display: block; }
.option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: 6px;
}
.option-name {
  font-family: var(--ff-display);
  font-size: 16px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  transition: color .2s var(--ease);
}
.option-price {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.option.is-selected .option-name,
.option.is-selected .option-price { color: var(--c-red-bright); }
.option-desc {
  display: block;
  color: var(--c-text-dim);
  font-size: 14.5px;
  line-height: 1.5;
}

/* total */
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  margin-bottom: var(--s-4);
  border-top: 1px solid var(--c-hairline);
}
.total-label {
  font-family: var(--ff-display);
  font-size: 13px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--c-text-muted);
}
.total-value {
  font-family: var(--ff-display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: .01em;
}

/* ---------- 7. Options, quantity + order ---------- */
.qty { margin-bottom: var(--s-5); }

.qty-label {
  display: block;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c-text-muted);
  margin-bottom: var(--s-3);
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 62px 1fr 62px;
  align-items: stretch;
  width: 250px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-field);
  overflow: hidden;
}

.qty-btn {
  display: grid; place-items: center;
  background: transparent; border: none; cursor: pointer;
  color: #fff;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.qty-btn:hover { background: rgba(255, 255, 255, .06); color: var(--c-red-bright); }
.qty-btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}

.qty-input {
  width: 100%;
  padding: 18px 4px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }

/* clicking + or - no longer rings the whole control in red; keyboard users
   still get a clear, neutral focus ring on the part they're actually on */
.qty-control:focus-within { border-color: var(--c-border); }
.qty-btn:focus-visible,
.qty-input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .55);
  outline-offset: -2px;
}

.order-status {
  min-height: 22px;
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--c-text-dim);
}



/* ---------- 7b. Product section ---------- */
.product-info {
  background: transparent;
  border-top: 1px solid var(--c-hairline);
  padding-block: var(--s-9);
  text-align: center;
}

.section-lead {
  max-width: 62ch;
  margin: 0 auto var(--s-8);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-text-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}

.info-card {
  text-align: left;
  padding: 24px 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-field);
  transition: border-color .2s var(--ease);
}
.info-card:hover { border-color: rgba(230, 15, 43, .55); }
.info-card h3 {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.info-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-text-dim);
}

.compare {
  max-width: 900px;
  margin: 0 auto var(--s-7);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-field);
  overflow-x: auto;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.compare th,
.compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-hairline);
  font-weight: 400;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare thead th {
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  vertical-align: bottom;
}
.compare thead th:first-child { text-align: left; }
.compare thead th span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-red-bright);
}

.compare tbody th {
  text-align: left;
  font-size: 15px;
  color: var(--c-text-muted);
}
.compare tbody td { text-align: center; }
.compare .yes { color: var(--c-red-bright); font-size: 16px; }
.compare .no { color: rgba(255, 255, 255, .28); }

.info-cta { margin: 0; }

.notfound { text-align: center; }
.notfound .legal-lead { margin-inline: auto; border-bottom: 0; }

/* ---------- 8. FAQs ---------- */
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 var(--s-6);
}

.faqs {
  background: transparent;
  text-align: center;
  border-top: 1px solid var(--c-hairline);
  padding-block: var(--s-9);
}

.faq-list { display: grid; gap: var(--s-3); max-width: 900px; margin-inline: auto; }

.faq {
  text-align: left;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-field);
  transition: border-color .2s var(--ease);
}
.faq[open], .faq:hover { border-color: rgba(230, 15, 43, .55); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-size: 15px; font-weight: 500;
  letter-spacing: .04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  border-right: 2px solid var(--c-red);
  border-bottom: 2px solid var(--c-red);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
  flex: none;
}
.faq[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq-body {
  padding: 0 20px 20px;
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 72ch;
}

/* ---------- 9. Contact ---------- */
.contact {
  background: transparent;
  border-top: 1px solid var(--c-hairline);
  padding-block: var(--s-9);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--s-8);
  align-items: start;
}

.contact-text {
  color: var(--c-text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 44ch;
}
.contact-direct { margin-top: var(--s-5); }
.contact-direct a {
  position: relative;
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--c-red-bright);
  text-decoration: none;
  padding-bottom: 3px;
}
/* the underline grows out from the centre on hover and stays red */
.contact-direct a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-red-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
/* the FAQ email is plain red with no underline */
.faq-body a {
  color: var(--c-red-bright);
  text-decoration: none;
}

.contact-direct a:hover::after,
.contact-direct a:focus-visible::after { transform: scaleX(1); }

.contact-form { display: grid; gap: var(--s-4); }

.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-field);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 15.5px;
  resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--c-red); }
.field input::placeholder,
.field textarea::placeholder { color: var(--c-text-dim); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--c-red-bright); }

.contact-form .btn { justify-self: start; }

.form-status {
  min-height: 22px;
  font-size: 14px;
  color: var(--c-text-dim);
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background: transparent;
  text-align: center;
  border-top: 1px solid var(--c-hairline);
  padding-block: var(--s-8) var(--s-7);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }

/* the lockup sits centred at every width */
.footer-brand { display: inline-flex; align-self: center; }
.footer-brand .brand-lockup { height: 58px; }

.footer-rule {
  width: 100%;
  align-self: stretch;
  height: 1px;
  border: 0;
  margin: var(--s-7) 0 var(--s-6);
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .28) 12%, rgba(255, 255, 255, .28) 88%, rgba(255, 255, 255, .05));
}

/* one centred, stacked layout at every screen size */
.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}

.footer-legal {
  font-size: 15px;
  color: var(--c-text-muted);
}

.footer-links { display: flex; align-items: center; justify-content: center; gap: var(--s-5); }
.footer-links a {
  font-size: 15px;
  color: var(--c-text-muted);
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--c-red-bright); }
.footer-sep { color: rgba(255, 255, 255, .3); }


/* ---------- 10b. Legal pages ---------- */
.legal {
  padding-top: calc(var(--header-h) + var(--s-8));
  padding-bottom: var(--s-9);
}
.legal-inner { max-width: 820px; margin-inline: auto; }

.legal-title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 var(--s-3);
}
.legal-updated {
  font-size: 14px;
  color: var(--c-text-dim);
  margin-bottom: var(--s-6);
}
.legal-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-text-muted);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--c-hairline);
  margin-bottom: var(--s-6);
}

.legal h2 {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin: var(--s-7) 0 var(--s-3);
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-muted);
}
.legal p + p { margin-top: var(--s-3); }
.legal ul {
  list-style: none;
  display: grid;
  gap: var(--s-3);
}
.legal li { position: relative; padding-left: 20px; }
.legal li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 7px; height: 1px;
  background: var(--c-red);
}
.legal strong { color: #fff; font-weight: 500; }
.legal a { color: var(--c-red-bright); text-decoration: none; }

@media (max-width: 640px) {
  .legal { padding-top: calc(var(--header-h) + var(--s-6)); padding-bottom: var(--s-8); }
  .info-grid { grid-template-columns: 1fr; }
  .legal p, .legal li { font-size: 15.5px; }
}

/* ---------- 10c. Loading screen ----------
   The C draws itself clockwise from the bottom arm, TC settles in, then the screen lifts.
   Runs once per visit (and on reload); the markup is the first element of the page body, logic is in script.js. */
@property --ld-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

html.ctc-loading { overflow: hidden; }
html.ctc-intro-seen .ctc-loader { display: none; }

.ctc-loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--c-black);
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
  /* failsafe: never trap the page if script.js doesn't run */
  animation: ld-failsafe .4s var(--ease) 7s forwards;
}

.ld-logo {
  position: relative;
  grid-area: 1 / 1;
  width: var(--ld-w);
  aspect-ratio: 560 / 525;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}

.ld-logo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  user-select: none; -webkit-user-drag: none;
}

.ld-mark {
  --ld-mask: conic-gradient(from 120deg at 50.1% 50.8%,
             #000 0deg, #000 max(0deg, calc(var(--ld-sweep) - 18deg)),
             transparent var(--ld-sweep));
  -webkit-mask-image: var(--ld-mask);
          mask-image: var(--ld-mask);
  animation: ld-draw 1s cubic-bezier(.65, 0, .35, 1) .15s both;
}

.ld-tc {
  opacity: 0;
  transform: translateX(-6%);
  animation:
    ld-tc .6s var(--ease) .95s forwards,
    ld-breathe 1.8s ease-in-out 1.6s infinite;
}

/* progress line: no numbers, just a filling rule */
.ld-bar {
  grid-area: 1 / 1;
  /* half the mark's height (525/560 = .9375, halved) plus a gap */
  transform: translateY(calc(var(--ld-w) * 0.46875 + var(--ld-gap)));
  width: calc(var(--ld-w) * 0.8);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .10);
  overflow: hidden;
}
.ld-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, .35), #ffffff);
  transform: scaleX(0);
  transform-origin: left center;
}
/* fallback if the script never runs; JS removes this class and drives it live */
.ld-bar-fill.is-auto {
  animation: ld-bar 6.5s cubic-bezier(.16, .8, .3, 1) .15s forwards;
}
@keyframes ld-bar { to { transform: scaleX(1); } }

@keyframes ld-draw {
  from { --ld-sweep: 0deg; }
  to   { --ld-sweep: 340deg; }
}
@keyframes ld-tc {
  to { opacity: 1; transform: none; }
}
@keyframes ld-breathe {
  0%, 100% { filter: none; }
  50%      { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .45)); }
}
@keyframes ld-failsafe {
  to { opacity: 0; visibility: hidden; }
}

/* exit: the logo pushes forward slightly while the screen fades out */
.ctc-loader.is-done {
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.ctc-loader.is-done .ld-logo {
  transform: scale(1.08);
  filter: blur(2px);
}

@media (prefers-reduced-motion: reduce) {
  .ld-bar-fill.is-auto { animation-duration: 1s; }
  .ld-mark { -webkit-mask-image: none; mask-image: none; }
  .ld-tc   { opacity: 1; transform: none; animation: none; }
  .ctc-loader.is-done .ld-logo { transform: none; filter: none; }
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 28px; }
  .product-inner { gap: var(--s-7); }
  .nav-list { gap: var(--s-6); }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; --gutter: 22px; }

  .header-inner { grid-template-columns: 1fr auto auto; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    justify-self: stretch;
    background: rgba(6, 8, 13, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-hairline);
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav.is-open { max-height: 50vh; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4); }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-list > li:last-child { border-bottom: none; }
  .nav-link { display: block; padding: 16px 0; }
  .nav-link::after { right: auto; width: 26px; bottom: 10px; }

  .nav-toggle { display: inline-flex; }
  .brand-lockup { height: 38px; }
  .footer-brand .brand-lockup { height: 48px; }

  .cart { width: 42px; height: 42px; }
  .cart .i { width: 24px; height: 24px; }

  .product {
    padding-top: calc(var(--header-h) + var(--s-6));
    padding-bottom: var(--s-7);
  }
  .product-inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .product-media { order: -1; }
  .gallery { max-width: 520px; }
  .product-details { max-width: 560px; margin-inline: auto; text-align: center; }
  .product-text { margin-inline: auto; }
    .qty-control { width: 100%; max-width: 280px; }
  .options { text-align: left; }

  .product-info, .faqs, .contact { padding-block: var(--s-8); }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: 1fr; gap: var(--s-6); }

}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  .brand-lockup { height: 30px; }
  .footer-brand .brand-lockup { height: 42px; }

  .product-text { font-size: 16px; }
  .btn-order { padding: 18px 20px; font-size: 15px; letter-spacing: .14em; }
  .thumbs { gap: var(--s-2); }
  .zoom-btn, .gal-nav { width: 38px; height: 38px; }
}

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

/* ============================================================
   FIT-TO-SCREEN BUY PANEL
   On desktop, keeps the gallery, the version options, the total
   and the ORDER NOW button inside the first screen. Spacing and
   type scale with the viewport height, so short laptop screens
   compress instead of pushing the button below the fold.
   Phones are left to scroll normally — see the phone block.
   ============================================================ */

/* ---------- desktop / tablet landscape ---------- */
@media (min-width: 961px) and (min-height: 520px) {
  .product {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + clamp(10px, 2.4svh, 40px));
    padding-bottom: clamp(10px, 2.4svh, 40px);
  }
  .product > .container { width: 100%; }

  .product-inner {
    align-items: center;
    gap: clamp(26px, 3.2vw, 64px);
  }
  .product-media { align-self: center; }

  /* the stage takes the height that is left instead of forcing a square */
  .gallery { max-width: min(640px, 44vw); }
  .gallery-stage {
    aspect-ratio: auto;
    height: clamp(250px, 53svh, 600px);
  }
  .thumbs {
    gap: clamp(6px, .9svh, 14px);
    margin-top: clamp(6px, 1svh, 14px);
  }
  .thumb {
    aspect-ratio: auto;
    height: clamp(42px, 7.2svh, 92px);
  }

  /* right column rhythm follows the viewport height */
  .product-headline { margin-bottom: clamp(6px, 1.4svh, 22px); }
  .product-text {
    margin-bottom: clamp(8px, 1.8svh, 30px);
    font-size: clamp(14px, 1.75svh, 17px);
    line-height: 1.55;
  }

  .options { gap: clamp(6px, 1svh, 14px); margin-bottom: clamp(8px, 1.7svh, 26px); }
  .options-legend { margin-bottom: clamp(4px, .9svh, 14px); font-size: clamp(13px, 1.5svh, 15px); }
  .option { padding: clamp(9px, 1.55svh, 18px) 20px; }
  .option-head { margin-bottom: clamp(2px, .45svh, 6px); }
  .option-name { font-size: clamp(14px, 1.6svh, 16px); }
  .option-price { font-size: clamp(17px, 2.1svh, 22px); }
  .option-desc { font-size: clamp(12.5px, 1.45svh, 14.5px); line-height: 1.45; }

  .qty { margin-bottom: clamp(8px, 1.6svh, 24px); }
  .qty-label { margin-bottom: clamp(4px, .8svh, 12px); font-size: clamp(13px, 1.5svh, 15px); }
  .qty-control { width: clamp(190px, 26svh, 250px); }
  .qty-input { padding: clamp(9px, 1.5svh, 18px) 4px; font-size: clamp(16px, 1.9svh, 19px); }
  .qty-btn svg { width: clamp(16px, 2svh, 20px); height: clamp(16px, 2svh, 20px); }

  .total { padding: clamp(8px, 1.5svh, 22px) 0; margin-bottom: clamp(8px, 1.4svh, 22px); }
  .total-value { font-size: clamp(24px, 3.2svh, 36px); }

  .btn-order { padding: clamp(12px, 1.9svh, 20px) 24px; }
  .order-status { min-height: 0; margin-top: clamp(4px, .8svh, 12px); }
}

/* ---------- phone / tablet portrait ---------- */
/* No squeeze here. The page scrolls normally, the artwork keeps its
   square, and ORDER NOW sits just below the first screen. */
@media (max-width: 960px) {
  .gallery-stage { aspect-ratio: 1 / 1; height: auto; }
  .thumb { aspect-ratio: 1 / 1; height: auto; }
}

/* very short windows: let the section grow and scroll rather than crush */
@media (max-height: 480px) {
  .product { min-height: 0; display: block; }
}

/* ============================================================
   MATCH THE GALLERY HEIGHT TO THE DETAILS COLUMN
   Both columns stretch to the same row height, and the image
   stage takes whatever is left after the thumbnail strip — so
   the left panel starts and ends level with the right column.
   ============================================================ */
@media (min-width: 961px) and (min-height: 520px) {
  .product-inner { align-items: stretch; }
  .product-media { align-self: stretch; align-items: stretch; }

  .gallery {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .gallery-set.is-active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  /* no longer a square, and no longer a fixed viewport slice:
     it simply fills the column */
  .gallery-stage {
    flex: 1 1 auto;
    height: auto;
    aspect-ratio: auto;
    min-height: 220px;
  }

  .thumbs { flex: 0 0 auto; }
}
