/* =========================================================
   Ride It Out — DIY zine / skate-shop-1996 stylesheet
   Flat. High contrast. No rounded corners. No shadows. No gradients.
   ========================================================= */

:root {
  --navy: #1a2129;
  --navy-light: #232c36;
  --cream: #f0e6d2;
  --cream-dim: #ddd2b8;
  --rust: #c1502e;
  --teal: #4f7a72;
  --ink: #14181d;

  --font-head: Charter, "Iowan Old Style", "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --border: 3px solid var(--ink);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rust);
  color: var(--cream);
  padding: 0.75em 1em;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- shared ---------- */

.section-heading {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 6vw, 3.25rem);
  text-align: center;
  margin: 0 0 2.5rem;
  position: relative;
}
.section-heading span {
  display: inline-block;
  position: relative;
  padding: 0 0.2em;
}
.section-heading span::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.08em;
  height: 0.4em;
  background: var(--rust);
  z-index: -1;
  transform: rotate(-1deg);
}
.section-heading--left { text-align: left; }
.section-heading--left span::after { background: var(--teal); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.85em 1.4em;
  border: var(--border);
  background: var(--ink);
  color: var(--cream);
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.btn:hover { background: var(--rust); border-color: var(--ink); transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--teal); color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(420px, 78vw);
  margin-bottom: 1.75rem;
}

.hero__line {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  letter-spacing: 0.03em;
  margin: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  opacity: 0.85;
}
.scroll-cue svg { animation: bob 1.6s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue svg { animation: none; }
}

/* =========================================================
   MANIFESTO — zine page
   ========================================================= */

.manifesto {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.1;
  pointer-events: none;
}

.manifesto__text {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.75;
  text-align: center;
}

.manifesto__text .ellipsis {
  color: var(--rust);
  font-weight: 900;
}

.manifesto__punch {
  display: block;
  margin-top: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.1em;
  letter-spacing: 0.01em;
}

.manifesto__punch--stamp {
  color: var(--cream);
  background: var(--rust);
  padding: 0.15em 0.5em;
  transform: rotate(-1.5deg);
  margin-top: 1rem;
}

.manifesto__tape {
  position: absolute;
  width: 110px;
  height: 34px;
  background: rgba(240, 230, 210, 0.55);
  border: 1px solid rgba(20, 24, 29, 0.15);
}
.manifesto__tape--tl { top: -4px; left: 6%; transform: rotate(-6deg); }
.manifesto__tape--br { bottom: -4px; right: 7%; transform: rotate(5deg); }

.manifesto__stamp {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 84px;
  height: 84px;
  border: 3px double var(--teal);
  color: var(--teal);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(8deg);
  opacity: 0.75;
}

@media (max-width: 640px) {
  .manifesto__stamp { display: none; }
}

/* =========================================================
   SHOP
   ========================================================= */

.shop {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

.shop .section-heading { color: var(--cream); }

.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: var(--cream);
  color: var(--ink);
  border: var(--border);
  display: flex;
  flex-direction: column;
}

.product-card__frame {
  border-bottom: var(--border);
  background: repeating-linear-gradient(
    45deg,
    var(--cream-dim),
    var(--cream-dim) 10px,
    var(--cream) 10px,
    var(--cream) 20px
  );
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__name {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  margin: 1.25rem 1.25rem 0.15rem;
}

.product-card__tag {
  margin: 0 1.25rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
}

.product-card__buttons {
  margin-top: auto;
  display: flex;
  border-top: var(--border);
}

.product-card__buttons .btn {
  flex: 1;
  border: none;
  text-align: center;
  border-radius: 0;
}
.product-card__buttons .btn--ghost {
  border-left: var(--border);
  color: var(--ink);
}
.product-card__buttons .btn--ghost:hover { color: var(--ink); }

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  border-bottom: var(--border);
}

.about__inner {
  max-width: 760px;
  margin: 0 auto;
}

.about__copy {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 42rem;
}

.values {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--border);
}

.values li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.values__num {
  font-family: var(--font-body);
  font-weight: 900;
  color: var(--rust);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: var(--cream-dim);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.site-footer__logo {
  width: 64px;
  opacity: 0.9;
}

.site-footer__ig {
  color: var(--rust);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.site-footer__ig:hover { color: var(--teal); }

.site-footer__copy {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  max-width: 32rem;
  opacity: 0.7;
  margin: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shop__grid { grid-template-columns: 1fr; }
  .product-card__buttons { flex-direction: column; }
  .product-card__buttons .btn--ghost { border-left: none; border-top: var(--border); }
}
