:root {
  --bg: #000;
  --ink: #f2f1ee;
  --muted: #9da1ad;
  --gold: #d4bc8e;
  --paper: #f6f5f2;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Photo strip tuning */
  --strip-angle: -6deg;
  --frame-w: clamp(150px, 17vw, 230px);
  --frame-gap: clamp(10px, 1.1vw, 14px);
  --strip-speed: 60s;          /* fallback only; script.js sets the real speed */
}

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

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1000px 520px at 50% -10%, #1c2130 0%, transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
}

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

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: clamp(56px, 12vh, 130px) 20px 0;
}

/* Small caps label with hairlines on each side */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(24px, 6vw, 60px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.logo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* Letter-spacing adds trailing space after the last letter of each line;
     matching padding on the left keeps every line centered. */
  padding-left: 0.14em;
}

.logo .amp {
  display: inline-block;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  line-height: 0;
  letter-spacing: 0;
  text-transform: none;
  /* No spaces around the & in the markup. The left margin is smaller
     because "Shot" already ends with letter-spacing. */
  margin-left: 0.085em;
  margin-right: 0.235em;
}

/* Narrow screens: stack the logo as SHOT / & / CHASER and tighten the
   label above it so neither wraps unevenly. */
@media (max-width: 600px) {
  .eyebrow {
    gap: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 20px;
  }

  .logo {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .logo .amp {
    display: block;
    line-height: 1.1;
    margin: 0;
    /* Undo the logo's centering padding; the & has no letter-spacing. */
    margin-left: -0.122em; /* 0.14em of the logo size, in the &'s larger em */
  }
}

.tagline {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

/* ---------- Diagonal photo strip ---------- */

.strip-band {
  position: relative;
  padding-block: clamp(70px, 11vw, 150px);
  /* The tilted strip is wider than the screen. Clip it here: phones ignore
     overflow-x on <body> and would zoom out or scroll sideways instead. */
  overflow: hidden;
}

.strip {
  position: relative;
  width: 140vw;
  left: 50%;
  transform: translateX(-50%) rotate(var(--strip-angle));
  background: var(--paper);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.strip-track {
  --dot: radial-gradient(circle, rgba(13, 14, 18, 0.14) 1px, transparent 1.5px);
  display: flex;
  gap: var(--frame-gap);
  width: max-content;
  padding: 14px 0 14px var(--frame-gap);
  /* Edge dots scroll with the photos; script.js sets --dot-spacing so they
     line up when the loop restarts. */
  background-image: var(--dot), var(--dot);
  background-size: var(--dot-spacing, 14px) 6px;
  background-position: 0 4px, 0 calc(100% - 4px);
  background-repeat: repeat-x;
  animation: strip-scroll var(--strip-speed) linear infinite;
}

/* Pause on hover only with a real mouse. On phones a tap counts as a hover
   that sticks, which would stop the strip. */
@media (hover: hover) {
  .strip:hover .strip-track {
    animation-play-state: paused;
  }
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.frame {
  position: relative;
  flex: 0 0 auto;
  width: var(--frame-w);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(170deg, var(--ph, #888), color-mix(in srgb, var(--ph, #888) 60%, #000));
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.frame:has(img) figcaption {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .strip-track {
    animation: none;
  }
}

/* ---------- Details ---------- */

.details {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 48px;
  text-align: center;
}

.details h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding-left: 0.3em;
}

.rule {
  width: 48px;
  height: 1px;
  margin: 20px auto 24px;
  background: var(--gold);
}

.details p {
  text-wrap: balance;
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Small gold diamonds between items */
.features li + li::before {
  content: "◆";
  margin: 0 0.9em 0 0.65em;
  color: var(--gold);
  font-size: 0.6em;
  vertical-align: 0.25em;
}

.footer {
  padding: 24px 20px 44px;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
