@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Grenze Gotisch";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/grenze-gotisch-latin-wght-normal.woff2") format("woff2");
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --chrome: #ECEDEF;      /* text on black */
  --steel: #A2A5AA;       /* secondary text on black */
  --line-dark: #2A2B2E;   /* rules on black */
  --gray-1: #141416;
  --gray-2: #26272A;
  --gray-3: #3B3C40;
  --gray-4: #E6E6E6;      /* light tile */
  --line: #E1E1E1;        /* rules on white */
  --ink: #000000;         /* text on white */
  --muted: #55575B;       /* secondary text on white */

  --display: "Grenze Gotisch", "Old English Text MT", serif;
  /* warm edge glow, like the lit OG sign in the store */
  --halo: drop-shadow(0 0 1.5px rgba(255, 236, 205, .95)) drop-shadow(0 0 14px rgba(255, 214, 160, .35));
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --paint:
    radial-gradient(70% 55% at 78% 18%, rgba(255, 255, 255, .13), transparent 70%),
    radial-gradient(60% 60% at 8% 100%, rgba(0, 0, 0, .9), transparent 70%),
    linear-gradient(158deg, #2A2B2F 0%, #121315 40%, #050505 75%, #000 100%);
  --chrome-grad: linear-gradient(180deg, #ffffff 0%, #eceef1 28%, #a3a8b0 47%, #5d626a 53%, #c9ccd2 72%, #ffffff 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--black);
  border-radius: 4px;
}

/* Placeholder marker: anything in .ph still needs real info */
.ph {
  background: color-mix(in srgb, currentColor 12%, transparent);
  outline: 1px dashed currentColor;
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 .25em;
}

/* ---------- Black paint surface ---------- */
.paint {
  position: relative;
  color: var(--chrome);
  background: var(--paint);
  isolation: isolate;
}
.paint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--flake);
  opacity: .14;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5em;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-chrome {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #dcdfe3 52%, #b4b8bf 100%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 rgba(0, 0, 0, .6);
}
.btn-ghost {
  color: var(--chrome);
  border: 1.5px solid rgba(236, 237, 239, .5);
}
.btn-ghost:hover { border-color: var(--chrome); }
.btn-dark {
  color: var(--white);
  background: linear-gradient(180deg, #2E2F33 0%, #000 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-line {
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.hero::after {
  /* light rolling across the paint, once */
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(104deg,
    transparent 38%,
    rgba(255, 255, 255, .16) 47%,
    rgba(255, 255, 255, .05) 51%,
    transparent 60%);
  transform: translateX(-70%);
  animation: sheen 2.4s cubic-bezier(.25, .6, .2, 1) .35s forwards;
  pointer-events: none;
  z-index: 1;
}
@keyframes sheen {
  to { transform: translateX(70%); opacity: 0; }
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  text-decoration: none;
  color: var(--chrome);
}
.nav ul {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a:not(.brand) {
  font-size: .9rem;
  font-weight: 600;
  font-stretch: 112%;
  text-decoration: none;
  opacity: .9;
}
.nav a:not(.brand):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.hero-body {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: 32px 48px;
}

/* Store sign photo as the hero backdrop: sign on the right, slats fading to black behind the headline */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 42%);
}
.hero-bg::after {
  /* keep the menu and the bottom line readable over the light strips */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .85) 0%, transparent 20%),
    linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, transparent 22%);
}
.hero-lead {
  max-width: 17ch;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.06;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero-sub {
  max-width: 44ch;
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  color: var(--chrome);
}
.hero .actions { margin-top: 28px; }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 26px;
  background: linear-gradient(rgba(236, 237, 239, .18), rgba(236, 237, 239, .18)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: .9rem;
  opacity: .85;
}

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
  line-height: .95;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head p { max-width: 44ch; color: var(--muted); }

/* ---------- What we carry ---------- */
.racks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 220px);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rack {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2vw, 26px);
  border-radius: 6px;
  overflow: hidden;
  color: var(--chrome);
  background: var(--black);
}
.rack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.rack:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .78));
  z-index: 0;
}
.rack h3, .rack p { position: relative; z-index: 1; }
.rack h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.rack p { margin-top: 4px; font-size: .95rem; opacity: .85; }

.r-tees  { grid-column: 1 / 4; grid-row: span 2; }
.r-denim { grid-column: 4 / 7; }
.r-hats  { grid-column: 4 / 6; }
.r-outer { grid-column: 6 / 7; }
.r-sets  { grid-column: 1 / 3; }
.r-kicks { grid-column: 3 / 7; }

.rack.paint { background: var(--paint); }
.r-denim { background: var(--gray-2); }
.r-hats  { background: var(--gray-4); color: var(--ink); }
.r-outer { background: var(--gray-3); }
.r-sets  { background: var(--gray-1); }
.r-kicks { background: var(--black); }

/* ---------- New arrivals (shop-ready grid) ---------- */
.section.flush-top { padding-top: 0; }
.new-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 48px;
  padding-top: clamp(40px, 6vw, 72px);
  margin-bottom: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
.new-head p { max-width: 40ch; color: var(--muted); }

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product { display: flex; flex-direction: column; }
.product-media {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--chrome);
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-media-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1;
  opacity: .9;
}
.tone-0 { background: var(--paint); }
.tone-1 { background: var(--gray-2); }
.tone-2 { background: var(--gray-4); color: var(--ink); }
.tone-3 { background: var(--gray-3); }

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  margin-top: 12px;
}
.product-name { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.product-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.product-meta { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); }
.product-status {
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
}
button.product-status {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 1.2em;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  color: var(--white);
  background: var(--black);
  cursor: pointer;
}

/* ---------- Loyalty ---------- */
.loyal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 7vw, 96px);
  align-items: start;
}
.loyal .h2 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--chrome);
}
.loyal-copy { max-width: 46ch; }
.loyal-copy .lead {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
  font-weight: 600;
}
.loyal-copy p + p { margin-top: 18px; opacity: .88; }
.loyal-copy .pull {
  margin-top: clamp(28px, 4vw, 40px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.02;
  opacity: 1;
}
.loyal-copy .pull span {
  display: block;
  width: fit-content;
  padding: .04em .06em .18em;
  margin: -.04em -.06em -.18em;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loyal .btn { margin-top: 32px; }
.story-photos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-auto-rows: clamp(240px, 30vw, 440px);
  gap: 10px;
  margin-top: clamp(24px, 4vw, 48px);
}
.story-photos figure { border-radius: 6px; overflow: hidden; }
.story-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 7vw, 96px);
}
.visit address {
  margin-top: 28px;
  font-style: normal;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
}
.visit .phone {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.visit .actions { margin-top: 28px; }

.hours { align-self: start; }
.hours-title {
  font-size: 1.1rem;
  font-weight: 800;
  font-stretch: 118%;
  padding-bottom: 10px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 600;
}
.hours-title + .hours-row { border-top: 1px solid var(--line); }
.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
}
.hours-status:empty { display: none; }
.hours-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.hours-status.is-open::before { background: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .12); }
.hours-status.is-closed::before { background: transparent; }
.hours-note { margin-top: 14px; max-width: 40ch; color: var(--muted); }

.visit-media {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.visit-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.map {
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-4);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 56px 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}
.footer .brand { font-size: clamp(3rem, 7vw, 5rem); filter: var(--halo); }
.footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-stretch: 112%;
  font-size: .95rem;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer small {
  display: block;
  margin-top: 36px;
  font-size: .85rem;
  opacity: .7;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section-head, .loyal-grid, .visit-grid { grid-template-columns: 1fr; }
  .racks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .r-tees  { grid-column: 1 / 3; grid-row: span 2; }
  .r-denim, .r-hats, .r-outer, .r-sets { grid-column: span 1; }
  .r-kicks { grid-column: 1 / 3; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-rows: auto auto 1fr auto; }
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 400px;
    margin-top: -24px;
  }
  .hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    object-position: 52% 62%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  }
  .hero-bg::after { background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, transparent 25%); }
  .story-photos { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .story-photos figure { aspect-ratio: 3 / 2; }
  .visit-media { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav .hide-sm { display: none; }
  .hero-foot { flex-direction: column; }
  .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after { animation: none; opacity: 0; }
  .btn { transition: none; }
}

/* ---------- Motion: cinematic load, scroll reveals, parallax ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes kenburns { from { opacity: .35; transform: scale(1.1); } }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(255, 214, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 214, 160, 0); }
}
.hero-bg { animation: kenburns 2.8s cubic-bezier(.2, .6, .2, 1) both; transform-origin: 70% 50%; }
.hero-bg img { will-change: transform; }
.nav { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
.hero-lead { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .45s both; }
.hero-sub { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .7s both; }
.hero .actions { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .9s both; }
.hero-foot { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) 1.15s both; }
.hero-body { will-change: transform, opacity; }

/* Live "open now" light, in the warm glow of the store sign */
.open-status.is-open::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .6em;
  border-radius: 50%;
  background: #FFE2B0;
  box-shadow: 0 0 0 0 rgba(255, 214, 160, .7);
  animation: pulse 2s ease-out infinite;
  vertical-align: .08em;
}

/* Scroll reveals. Only active when the script adds .js-motion, so content is never hidden without it. */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js-motion .reveal.in { opacity: 1; transform: none; }

.visit-photo { overflow: hidden; }
.product-media img, .rack img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.product:hover .product-media img, .rack:hover img { transform: scale(1.045); }

/* Phone hero: photo first, less text */
@media (max-width: 860px) {
  .hero-bg {
    order: 1;
    min-height: 62svh;
    margin-top: -92px;
    overflow: hidden;
  }
  .hero-bg img {
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .hero-bg::after { background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, transparent 24%); }
  .hero-body { order: 2; margin-top: -56px; padding-block: 0 22px; align-self: end; }
  .hero-foot { order: 3; }
  .hero-lead { max-width: 15ch; font-size: clamp(1.7rem, 7vw, 2.2rem); }
}
@media (max-width: 560px) {
  .hero-sub, .hero .btn-ghost, .hero-foot span:first-child { display: none; }
  .hero .actions { margin-top: 18px; }
  .hero .btn-chrome, .hero .btn-call { flex: 0 0 auto; }
  .hero .btn-call { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .nav, .hero-lead, .hero-sub, .hero .actions, .hero-foot, .open-status.is-open::before { animation: none; }
  .product-media img, .rack img { transition: none; }
}
