@font-face {
  font-family: "Bebas Neue";
  src: url("assets/fonts/BebasNeue-Regular.woff2") format("woff2"),
       url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/CourierPrime-Regular.woff2") format("woff2"),
       url("assets/fonts/CourierPrime-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/CourierPrime-Bold.woff2") format("woff2"),
       url("assets/fonts/CourierPrime-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0B0B0F;
  --text: #F5F5F0;
  --yellow: #FFD60A;
  --hot: #FF4D2E;
  --muted: rgba(245, 245, 240, 0.68);
  --rule: rgba(245, 245, 240, 0.16);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--yellow);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skip:focus {
  top: 1rem;
}

/* ------------------------------------------------------------------
   Hero: the photo IS the canvas. Full viewport, no colored band,
   no section above or below holding the logo. Wordmark, tagline,
   and button float centered on the image. Header is transparent.
   To swap Jim's photo, replace assets/hero-bg.jpg only.
   ------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text);
  background-color: var(--bg);
  /* Photo + dark scrim. The gradient is the readability overlay. */
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.52) 45%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: 50% 45%;
  background-repeat: no-repeat;
}

.hero::after {
  /* Fine print-shop grain, very light, over the photo only. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/grain.png");
  background-size: 280px 280px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2.25rem;
  background: transparent; /* no solid bar */
  border: 0;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-family: "Courier Prime", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

.nav a {
  padding: 0.35rem 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--yellow);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: calc(var(--header-h) + 0.5rem) 1.25rem 4.5rem;
}

.hero-logo {
  width: 66vw;
  max-width: 70vw;
  margin: 0;
  line-height: 0;
}

.hero-wordmark {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
}

.hero-tagline {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.45em 1.1em 0.4em;
  font-family: "Courier Prime", monospace;
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
  font-weight: 700;
  font-variant: normal;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #FFFFFF;
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  max-width: 90vw;
  position: relative;
  z-index: 3;
}

.btn {
  display: inline-block;
  margin-top: 1.85rem;
  background: var(--yellow);
  color: var(--bg);
  border: 0;
  padding: 0.85rem 1.7rem 0.75rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--hot);
  color: var(--text);
}

.hero-meta {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 1.35rem;
  font-family: "Courier Prime", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.62;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------------------
   Story
   ------------------------------------------------------------------ */

.story {
  position: relative;
  padding: 7.5rem 1.5rem;
  background: var(--bg);
}

.story-frame {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.75rem 2rem;
}

/* Subtle crop / registration marks at the four corners */
.story-frame::before,
.story-frame::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-color: rgba(245, 245, 240, 0.35);
  border-style: solid;
}

.story-frame::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.story-frame::after {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

/* bottom-left / bottom-right marks */
.story-frame {
  background-image:
    linear-gradient(rgba(245, 245, 240, 0.35), rgba(245, 245, 240, 0.35)),
    linear-gradient(rgba(245, 245, 240, 0.35), rgba(245, 245, 240, 0.35)),
    linear-gradient(rgba(245, 245, 240, 0.35), rgba(245, 245, 240, 0.35)),
    linear-gradient(rgba(245, 245, 240, 0.35), rgba(245, 245, 240, 0.35));
  background-repeat: no-repeat;
  background-size: 12px 1px, 1px 12px, 12px 1px, 1px 12px;
  background-position: left bottom, left bottom, right bottom, right bottom;
}

.section-label {
  font-family: "Courier Prime", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

.story-copy p {
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: center;
  color: var(--text);
}

.story-copy p + p {
  margin-top: 1.35rem;
}

.dare {
  color: var(--hot);
  font-weight: 700;
}

/* ------------------------------------------------------------------
   Collection / product grid
   ------------------------------------------------------------------ */

.collection {
  padding: 2rem 1.5rem 6.5rem;
  max-width: 88rem;
  margin: 0 auto;
}

.collection .section-label {
  margin-bottom: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-link {
  display: block;
  color: inherit;
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #16161a;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.product-link:hover .product-image img,
.product-link:focus-visible .product-image img {
  transform: scale(1.03);
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "shop shop";
  align-items: baseline;
  gap: 0.15rem 1rem;
  padding: 1rem 0.1rem 0.25rem;
  border-top: 1px solid var(--rule);
  margin-top: 0;
}

.product-name {
  grid-area: name;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.product-price {
  grid-area: price;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.product-shop {
  grid-area: shop;
  margin-top: 0.45rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.product-link:hover .product-shop,
.product-link:focus-visible .product-shop {
  color: var(--hot);
}

/* ------------------------------------------------------------------
   Thin band
   ------------------------------------------------------------------ */

.thrills-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.thrills-band p {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.site-footer {
  padding: 5.5rem 1.5rem 3rem;
  text-align: center;
  background: var(--bg);
}

.footer-wordmark {
  width: min(16.5rem, 62vw);
  height: auto;
  margin: 0 auto;
}

.foot-tag {
  margin-top: 0.85rem;
  font-family: "Courier Prime", monospace;
  font-size: 0.72rem;
  font-variant: small-caps;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.foot-links {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--yellow);
}

.foot-copy {
  margin-top: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 240, 0.45);
}

/* ------------------------------------------------------------------
   Focus
   ------------------------------------------------------------------ */

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .story {
    padding: 8.5rem 2rem;
  }

  .story-frame {
    padding: 3.25rem 2.75rem;
  }

  .story-copy p {
    font-size: 1.15rem;
  }

  .collection {
    padding: 2rem 2.5rem 7.5rem;
  }
}

@media (min-width: 1100px) {
  .site-header {
    padding: 0 3rem;
  }

  .nav {
    gap: 2.15rem;
    font-size: 0.75rem;
  }

  .story-copy p {
    font-size: 1.2rem;
  }
}

@media (max-width: 719px) {
  .hero-logo {
    width: 85vw;
    max-width: 85vw;
  }

  .site-header {
    justify-content: center;
    padding: 0 1rem;
  }

  .nav {
    gap: 1.15rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    padding: 0.45em 0.8em 0.4em;
  }

  .btn {
    font-size: 1.05rem;
    padding: 0.8rem 1.4rem 0.7rem;
  }

  .hero-meta {
    font-size: 0.55rem;
  }

  .story {
    padding: 5rem 1rem 4.5rem;
  }

  .story-frame {
    padding: 2rem 1.1rem;
  }

  .story-copy p {
    font-size: 1rem;
  }
}

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

  .product-image img,
  .btn {
    transition: none;
  }

  .product-link:hover .product-image img {
    transform: none;
  }
}
