:root {
  --orange: #d24f12;
  --bone: #f4f1e8;
  --paper: #f7f2e7;
  --gunmetal: #303534;
  --light-gunmetal: #46413C;
  --ink: #252523;
  --teal: #142c31;
  --kraft: #E6D6BA;
  --dusty-pink: #C28A86;
  --gutter: clamp(18px, 4vw, 64px);
  --heading: Montserrat, "Arial Narrow", Arial, sans-serif;
  --body: Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Iris + Mira: proximity everywhere — less mechanical than mandatory */
  scroll-snap-type: y proximity;
  background: var(--teal);
}

body {
  margin: 0;
  color: var(--gunmetal);
  background: var(--teal);
  font-family: var(--body);
  line-height: 1.45;
}

/* Lightbox open: lock scroll */
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  color: var(--bone);
  background: var(--ink);
}

/* ============================================================
   HERO CTAs — brief §20: two buttons, top-right, ~60px
   ============================================================ */
.hero-cta {
  position: fixed;
  z-index: 50;
  top: 60px;
  right: 60px;
  display: flex;
  gap: 10px;
}

.hero-cta__btn {
  display: inline-flex;
  min-width: 68px;
  padding: 11px 18px;
  color: var(--bone);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgb(0 0 0 / .22);
  backdrop-filter: blur(4px);
  transition: background .2s, transform .15s;
}

.hero-cta__btn:hover {
  background: #b8430f;
  border-color: #b8430f;
  transform: translateY(-1px);
}

.hero-cta__btn--outline {
  background: rgb(20 44 49 / .72);
  border-color: rgb(210 79 18 / .55);
}

.hero-cta__btn--outline:hover {
  background: rgb(210 79 18 / .86);
  border-color: rgb(210 79 18 / .86);
}

/* ============================================================
   SCREEN SECTIONS — brief §24: standardised board wrapper
   ============================================================ */
.screen-section {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background-color: var(--teal);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  scroll-snap-align: start;
  scroll-snap-stop: normal; /* Iris: proximity + normal = smoother flow */
  isolation: isolate;
}

.screen-section--hero {
  background-image: url("assets/site-bg-01.png");
}

.screen-section--brand {
  background-image: url("assets/site-bg-07.png");
}

.screen-section--real-places {
  background-image: url("assets/site-bg-03.png");
}

.screen-section--tee {
  background-image: url("assets/site-bg-04.png");
}

.screen-section--cap {
  background-image: url("assets/site-bg-05.png");
}

.screen-section--hoodie {
  background-image: url("assets/site-bg-06.png");
}

/* Iris: soft gradient edges between sections — not hard cuts */
.screen-section::before,
.screen-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: clamp(60px, 10vh, 120px);
  pointer-events: none;
}

.screen-section::before {
  top: -1px;
  background: linear-gradient(
    to bottom,
    rgb(20 44 49 / .45) 0%,
    rgb(20 44 49 / .15) 50%,
    transparent 100%
  );
}

.screen-section::after {
  bottom: -1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgb(20 44 49 / .15) 50%,
    rgb(20 44 49 / .45) 100%
  );
}

/* ============================================================
   SCREEN BOARD — brief §24 exact spec
   ============================================================ */
.screen-board {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(90vw, 1440px);
  max-height: 84vh;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Iris: remove border and shadow — let artwork breathe */
.locked-screen {
  display: block;
  width: 100%;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  object-position: center center;
}

/* ============================================================
   HOTSPOTS — brief §25: invisible, hover response, keyboard
   ============================================================ */
.hotspot-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  width: 14%;
  height: 32%;
  padding: 0;
  margin: 0;
  color: transparent;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color .2s, box-shadow .2s;
  /* Screen-reader only label via aria-label on each button */
}

/* Desktop hover: subtle orange glow */
@media (hover: hover) {
  .hotspot:hover {
    border-color: rgb(210 79 18 / .45);
    box-shadow: 0 0 16px rgb(210 79 18 / .25);
  }
}

/* Keyboard focus: visible outline */
.hotspot:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgb(210 79 18 / .35);
  outline: none;
}

/* Hotspot positions — per-board, calibrated by Iris against V1.2 artwork
   Format: top%, left%, width%, height% — via CSS grid positions */

/* TEE board — bottom row has only 2 cards (info card takes bottom-left) */
.screen-section--tee .hotspot:nth-child(1) { top: 8%; left: 5%; width: 22%; height: 36%; }
.screen-section--tee .hotspot:nth-child(2) { top: 5%; left: 28%; width: 22%; height: 37%; }
.screen-section--tee .hotspot:nth-child(3) { top: 6%; left: 52%; width: 24%; height: 38%; }
.screen-section--tee .hotspot:nth-child(4) { top: 50%; left: 33%; width: 22%; height: 38%; }
.screen-section--tee .hotspot:nth-child(5) { top: 46%; left: 62%; width: 26%; height: 40%; }
.screen-section--tee .hotspot:nth-child(6) { display: none; } /* info card zone — disabled */

/* CAP board — caps arranged around central info card */
.screen-section--cap .hotspot:nth-child(1) { top: 8%; left: 3%; width: 23%; height: 34%; }
.screen-section--cap .hotspot:nth-child(2) { top: 5%; left: 30%; width: 20%; height: 33%; }
.screen-section--cap .hotspot:nth-child(3) { top: 6%; left: 66%; width: 24%; height: 32%; }
.screen-section--cap .hotspot:nth-child(4) { top: 55%; left: 5%; width: 21%; height: 33%; }
.screen-section--cap .hotspot:nth-child(5) { top: 60%; left: 34%; width: 20%; height: 30%; }
.screen-section--cap .hotspot:nth-child(6) { top: 58%; left: 70%; width: 22%; height: 30%; }

/* HOODIE board — T-shape, 5 products, info card bottom-left */
.screen-section--hoodie .hotspot:nth-child(1) { top: 8%; left: 4%; width: 24%; height: 36%; }
.screen-section--hoodie .hotspot:nth-child(2) { top: 5%; left: 33%; width: 23%; height: 35%; }
.screen-section--hoodie .hotspot:nth-child(3) { top: 4%; left: 60%; width: 26%; height: 34%; }
.screen-section--hoodie .hotspot:nth-child(4) { top: 52%; left: 30%; width: 22%; height: 34%; }
.screen-section--hoodie .hotspot:nth-child(5) { top: 50%; left: 58%; width: 24%; height: 36%; }
.screen-section--hoodie .hotspot:nth-child(6) { display: none; } /* info card zone — disabled */

/* ============================================================
   LIGHTBOX — brief §26
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(20 44 49 / .92);
  backdrop-filter: blur(6px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  height: 90vh;
  max-width: 1200px;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 64px rgb(0 0 0 / .4);
}

.lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  background: var(--gunmetal);
  border: 2px solid rgb(210 79 18 / .6);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}

.lightbox__close:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.lightbox__close:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

/* ============================================================
   JOIN SECTION — Iris: lighten, warm, inclusive
   ============================================================ */
.join-section {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: clamp(88px, 11vh, 130px) var(--gutter);
  color: var(--gunmetal);
  background-color: var(--paper);
  background-image: url("assets/site-bg-10.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  isolation: isolate;
}

/* Iris: warm kraft scrim over busy background for text readability */
.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgb(230 214 186 / .78) 0%,
    rgb(247 242 231 / .85) 50%,
    rgb(247 242 231 / .82) 100%
  );
  pointer-events: none;
}

.join-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(440px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(1120px, 100%);
  padding: clamp(24px, 4vw, 54px);
  align-items: center;
  background: rgb(255 255 255 / .88);
  border: 1px solid rgb(210 79 18 / .3);
  box-shadow: 0 24px 64px rgb(0 0 0 / .1);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.join-copy h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
  line-height: .88;
  color: var(--gunmetal);
  text-transform: uppercase;
}

.join-copy p {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgb(48 53 52 / .84);
}

.join-copy .join-subheading {
  margin-top: 20px;
  color: var(--gunmetal);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
}

.join-copy .join-note {
  color: rgb(48 53 52 / .6);
  font-size: 13px;
  font-weight: 700;
}

.join-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding: clamp(20px, 3vw, 34px);
  color: var(--gunmetal);
  background: rgb(247 242 231 / .95);
  border: 1px solid rgb(210 79 18 / .25);
}

.join-form label {
  color: var(--gunmetal);
  font-size: 12px;
  font-weight: 900;
}

.join-form input,
.join-form select,
.join-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: rgb(255 255 255 / .72);
  border: 1px solid rgb(48 53 52 / .2);
  border-radius: 0;
}

.join-form textarea {
  min-height: 104px;
  padding-top: 11px;
  resize: vertical;
}

.join-form__wide {
  grid-column: 1 / -1;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}

.button:hover {
  background: #b8430f;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px var(--gutter);
  color: var(--bone);
  background: linear-gradient(90deg, var(--ink), var(--gunmetal));
  border-top: 1px solid rgb(210 79 18 / .55);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.site-footer strong {
  color: var(--bone);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

/* ============================================================
   FOOTER SUB-CLASSES — shop page footer
   ============================================================ */
.site-footer__brand p {
  margin-top: 5px;
  color: rgb(244 241 232 / .68);
  font-size: 13px;
}

.site-footer__legal {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.site-footer__legal a,
.site-footer__contact {
  font-size: 12px;
}

.site-footer__contact {
  text-align: right;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  padding-top: 16px;
  color: rgb(244 241 232 / .5);
  border-top: 1px solid rgb(244 241 232 / .12);
  font-size: 10px;
}

/* ============================================================
   FORM CONSENT
   ============================================================ */
.form-consent {
  margin: -2px 0 0;
  color: rgb(48 53 52 / .72);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

/* ============================================================
   LEGAL PAGES — privacy, terms, cookies
   Iris: paper background, clean readable typography, no decoration
   ============================================================ */
.legal-body {
  min-height: 100vh;
  color: var(--gunmetal);
  background: var(--paper);
  scroll-snap-type: none;
}

.legal-page {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(80px, 10vh, 120px) var(--gutter) 80px;
  color: var(--gunmetal);
}

.legal-page__back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
}

.legal-page__back:hover {
  color: #b8430f;
}

.legal-page h1 {
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--gunmetal);
}

.legal-page h2 {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  color: var(--gunmetal);
}

.legal-page h3 {
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 800;
  margin: 28px 0 8px;
  color: var(--gunmetal);
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: rgb(48 53 52 / .85);
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: #b8430f;
}

/* ============================================================
   RESPONSIVE — brief §28
   ============================================================ */
@media (max-width: 820px) {
  .hero-cta {
    top: 16px;
    right: 16px;
    gap: 6px;
  }

  .hero-cta__btn {
    min-width: 54px;
    padding: 12px 14px;
    font-size: 12px;
    min-height: 44px;
    box-shadow: 0 6px 16px rgb(0 0 0 / .25);
  }

  .screen-board {
    width: min(95vw, 1440px);
  }

  .locked-screen {
    max-width: 95vw;
  }

  /* Hotspots: larger touch targets on mobile */
  .hotspot {
    width: 16%;
    height: 34%;
  }

  .join-section {
    padding: 78px 16px 56px;
  }

  .join-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px;
  }

  .join-copy h2 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .join-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .join-form__wide {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer__contact {
    text-align: left;
  }

  .site-footer__copyright {
    grid-column: auto;
    width: 100%;
  }

  .lightbox__content {
    width: 95vw;
    height: 80vh;
  }

  .lightbox__close {
    top: -8px;
    right: -8px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

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

  .hotspot,
  .hero-cta__btn,
  .button,
  .lightbox__close {
    transition: none;
  }
}
