/* Two surfaces, not one brand.
   School band: the school site's own colors and the Open Sans / Arial request.
   Shop and footer: the spirit store's own theme. Store red is the button, never body text.
   No font files are embedded. License is unknown, so the painted face may fall through. */

:root {
  --shop-bg: #fcfcfc;
  --shop-ink: #333333;
  --shop-btn: #f50c0c;
  --shop-btn-ink: #000000;
  --shop-btn-hover: #c60808;
  --shop-btn-hover-ink: #eaedf3;
  --shop-footer: #060606;
  --shop-footer-ink: #eaedf3;
  --school-dark: #1a1a1a;
  --school-band: #b8b8b8;
  --school-ink: #333333;
  --school-muted: #b8b8b8;
  --school-heading: #ec2a2e;
  --school-font: "Open Sans", Arial, sans-serif;
  --shop-font: "Avenir Next", Montserrat, sans-serif;
  --measure: 72rem;
  --space: clamp(1rem, 2vw, 1.5rem);
}

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

html {
  background: var(--school-dark);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--shop-bg);
  color: var(--shop-ink);
  font-family: var(--shop-font);
  font-size: 1.0625rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--shop-footer);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 5;
  background: var(--shop-bg);
  color: var(--shop-ink);
  padding: 0.6rem 0.8rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--measure), calc(100% - 2rem));
  max-width: calc(100% - 2rem);
  margin-inline: auto;
}

.hero,
.hero p,
.hero h1,
.school-body,
.school-body p,
.school-body blockquote {
  font-family: var(--school-font);
}

.hero {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--school-dark);
  color: var(--school-muted);
  padding: 2.5rem 0;
}

.hero :focus-visible {
  outline-color: var(--school-muted);
}

.hero-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  width: min(var(--measure), calc(100% - 2rem));
}

.hero img {
  width: 96px;
  height: auto;
  background: var(--school-band);
}

.eyebrow {
  margin: 0 0 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  color: var(--school-heading);
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 9.5em;
}

.gap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}

.gap-chips li {
  margin: 0;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--school-muted);
  border-radius: 999px;
  color: var(--school-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.school-role,
.hero-note {
  margin: 0.7rem 0 0;
  max-width: 36rem;
}

.hero-action {
  margin-top: 0.4rem;
}

.hero-action .hero-note a {
  color: var(--school-muted);
  font-weight: 600;
}

.hero-note {
  margin-top: 0.65rem;
  max-width: 28rem;
  font-size: 0.92rem;
}

.school-body {
  background: var(--school-band);
  color: var(--school-ink);
}

.school-body .wrap {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 4px solid var(--school-ink);
  max-width: 40rem;
}

blockquote p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
}

blockquote footer {
  margin-top: 0.55rem;
  font-size: 0.92rem;
}

.visit-path {
  margin: 0.95rem 0 0;
  max-width: 40rem;
  font-size: 0.95rem;
}

.visit-path a {
  font-weight: 600;
}

.shop-intro {
  background: var(--shop-bg);
  color: var(--shop-ink);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.shop-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.shop-intro h2,
.product-copy h2,
.steps h2,
.faq h2,
.shop h2,
.empty h2,
.empty h3,
.panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.empty h3,
.steps h3,
.faq h3,
.panel h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}

.lede,
.welcome {
  max-width: 40rem;
  margin: 0.35rem 0 0;
}

.store-mark {
  margin: 0;
  max-width: 34rem;
}

.store-mark img {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  background: var(--shop-bg);
}

.store-mark figcaption,
.quiet,
.hint,
.fine,
.meta,
.hero-note {
  font-size: 0.92rem;
}

.store-mark figcaption {
  margin-top: 0.45rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0;
}

.btn,
.choice,
.stepper button,
input,
select {
  font: inherit;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 180ms ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  background: var(--shop-btn);
  color: var(--shop-btn-ink);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--shop-btn);
  cursor: pointer;
}

.btn:hover {
  background: var(--shop-btn-hover);
  border-color: var(--shop-btn-hover);
  color: var(--shop-btn-hover-ink);
}

.btn-secondary {
  background: transparent;
  color: var(--shop-ink);
  border-color: var(--shop-footer);
}

.btn-secondary:hover {
  background: var(--shop-footer);
  color: var(--shop-footer-ink);
}

.trust-row p {
  margin: 0.3rem 0;
  max-width: 42rem;
}

.steps {
  padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  background: var(--shop-bg);
}

.steps ol {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--shop-ink);
}

.step-num {
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
}

.steps p,
.faq p {
  margin: 0;
}

.shop {
  padding: 0.25rem 0 2.5rem;
}

.tool-row {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0.25rem;
}

.tool label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input[type="search"],
select {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--shop-ink);
  border-radius: 0;
  background: var(--shop-bg);
  color: var(--shop-ink);
}

.filters {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid var(--shop-ink);
}

.filters fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.filters legend {
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.35rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.choice {
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--shop-ink);
  background: var(--shop-bg);
  color: var(--shop-ink);
  cursor: pointer;
}

.choice[aria-pressed="true"] {
  background: var(--shop-footer);
  border-color: var(--shop-footer);
  color: var(--shop-footer-ink);
}

.choice:hover {
  border-color: var(--shop-footer);
}

.hint {
  margin: 0.35rem 0 0;
  overflow-wrap: anywhere;
}

.count {
  margin: 0 0 0.8rem;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.25rem;
}

.card {
  display: grid;
  grid-template-columns: 1fr;
  color: inherit;
  text-decoration: none;
  background: var(--shop-bg);
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
}

.card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.frame {
  background: var(--shop-bg);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.card-copy,
.product-copy,
.panel {
  padding: 0.85rem 0 0;
}

.card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.sku,
.flag {
  margin: 0;
}

.price {
  margin: 0.45rem 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.sizes,
.colors,
.codes {
  margin: 0.25rem 0;
}

.empty {
  padding: 1.5rem 0 2rem;
  max-width: 38rem;
}

.back {
  margin: 0 0 0.8rem;
}

.pdp {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

.gallery,
.panel,
.art-grid,
.art-grid figure,
.card {
  min-width: 0;
  max-width: 100%;
}

.gallery .frame {
  aspect-ratio: 1;
}

.art-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.art-grid figure {
  margin: 0;
  background: var(--shop-bg);
}

.art-grid .frame {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--shop-ink);
}

.art-grid figcaption {
  padding: 0.55rem 0 0.75rem;
  font-size: 0.95rem;
}

.wear-figure {
  margin: 0.75rem 0 0;
  background: var(--shop-bg);
}

.wear {
  --print-width: 23%;
  --print-top: 27%;
  position: relative;
  background: var(--shop-bg);
  line-height: 0;
  overflow: hidden;
}

.wear-back {
  --print-width: 54%;
  --print-top: 18%;
}

.wear .garment,
.wear .print {
  transition: opacity 180ms ease;
}

.wear .garment {
  width: 100%;
  height: auto;
  display: block;
}

.wear .print {
  position: absolute;
  left: 50%;
  width: var(--print-width);
  height: auto;
  top: var(--print-top);
  transform: translateX(-50%);
  pointer-events: none;
}

.letter {
  margin: 0.25rem 0 0;
}

.panel h3 {
  margin: 1rem 0 0.35rem;
}

.total {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.4rem 0;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.stepper button {
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--shop-ink);
  background: var(--shop-bg);
  color: var(--shop-ink);
  cursor: pointer;
}

.stepper button:hover {
  background: var(--shop-footer);
  color: var(--shop-footer-ink);
}

.ask {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--shop-ink);
}

.broken {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background: var(--shop-bg);
}

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

.faq {
  padding: 0 0 3rem;
  background: var(--shop-bg);
}

.faq .wrap {
  padding-top: 0.5rem;
  border-top: 1px solid var(--shop-ink);
}

.faq-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.1rem;
}

.faq article {
  max-width: 42rem;
}

.dealer {
  background: var(--shop-footer);
  color: var(--shop-footer-ink);
  padding: 2.25rem 0 1.5rem;
  font-family: var(--shop-font);
}

.dealer :focus-visible {
  outline-color: var(--school-muted);
}

.dealer a {
  color: var(--shop-footer-ink);
}

.dealer-grid {
  display: grid;
  gap: 1.75rem;
}

.wordmark {
  width: min(16rem, 100%);
  height: auto;
  background: var(--shop-bg);
  padding: 0.35rem;
}

.dealer-name {
  font-weight: 600;
  margin: 0.7rem 0 0.2rem;
  font-size: 1.15rem;
}

.dealer address {
  font-style: normal;
  margin: 0.4rem 0;
}

.quote-line {
  margin: 0.35rem 0;
}

.fine {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--shop-footer-ink);
}

.fine p {
  margin: 0.3rem 0;
  max-width: 42rem;
}

.noscript {
  padding: 1rem 0 2rem;
}

@media (min-width: 720px) {
  .hero img {
    width: 143px;
  }

  .hero-inner {
    grid-template-columns: auto 1fr;
    column-gap: 1.75rem;
    align-items: center;
  }

  .hero-action {
    grid-column: 2;
  }

  .shop-grid,
  .steps ol,
  .dealer-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .steps ol {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .tool-row {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .pdp {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .panel {
    position: sticky;
    top: 1rem;
  }

  .art-grid.pair {
    grid-template-columns: 1fr 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 2rem;
  }

  .faq article {
    max-width: none;
  }
}

@media (min-width: 1100px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
