@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --parchment: #F0ECE2;
  --graphite: #3B3B3B;
  --oxblood: #6B1F26;
  --dark: #17130f;
  --hairline: rgba(59, 59, 59, 0.16);
  --dim: rgba(59, 59, 59, 0.6);
  --ph-bg: #DCD7C9;
  --ph-text: rgba(59, 59, 59, 0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--graphite);
  font-family: 'Inter', -apple-system, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--parchment);
  border-bottom: 1px solid var(--hairline);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
}

.wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: inherit;
}

.doors {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.doors a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--graphite);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.doors a:hover, .doors a.active { opacity: 1; color: var(--oxblood); }

/* Kicker / labels */
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--oxblood);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}
.link-arrow:hover { border-color: var(--oxblood); }
.link-arrow.on-dark { color: #f2efe9; }
.link-arrow.on-dark:hover { border-color: #f2efe9; }

/* Placeholder */
.ph {
  background: var(--ph-bg);
  color: var(--ph-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 1rem;
}

/* Page head (Shop / Archive / About) */
.page-head { padding: 4rem 0 3rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-head .sub { margin-top: 1rem; color: var(--dim); font-size: 1.02rem; max-width: 50ch; }

/* ============ HOME ============ */

/* Hero: framed photo over blurred backdrop */
.hero-frame {
  position: relative;
  height: 78vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
  background: #000;
}

.hero-frame .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.92);
  transform: scale(1.15);
}

.hero-frame .inset-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-frame .inset {
  border: 6px solid #fdfcfa;
  max-width: min(680px, 62%);
  max-height: 76%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}

/* THE 78 split */
.the78-split {
  padding: 5rem 0;
  border-top: 1px solid var(--hairline);
}

.the78-split .wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: center;
}

.the78-split h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.the78-split .the78-text p { margin-top: 0.6rem; color: var(--dim); }
.the78-split .the78-text .link-arrow { margin-top: 1.1rem; display: inline-flex; }
.the78-split .ph { height: 380px; }

/* OBJECTS (home) */
.objects-home { padding: 5rem 0; border-top: 1px solid var(--hairline); }
.objects-home h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.objects-home .sub { margin-top: 0.5rem; font-size: 0.9rem; color: var(--dim); }

.objects-home .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.objects-home .grid3 .ph, .objects-home .grid3 img { height: 300px; width: 100%; object-fit: cover; }

/* ORIGIN (home) — full-bleed photo with overlaid copy */
.origin-full {
  position: relative;
  height: 62vh;
  min-height: 420px;
  overflow: hidden;
}

.origin-full img { width: 100%; height: 100%; object-fit: cover; }

.origin-full .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,10,8,0.05) 30%, rgba(12,10,8,0.8) 100%);
}

.origin-full .copy {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  color: #f2efe9;
}

.origin-full .copy .kicker { color: #e7c9ba; margin-bottom: 0.6rem; }

.origin-full .figures {
  font-family: 'Newsreader', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.3;
}

.origin-full .tag { margin-top: 0.6rem; font-size: 0.85rem; opacity: 0.85; }

.origin-full .discover {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
}

/* ============ SHOP ============ */
.shop-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.shop-cats a { text-decoration: none; color: inherit; display: block; }
.shop-cats .ph { height: 260px; }
.shop-cats .name { margin-top: 1rem; font-size: 1.15rem; }
.shop-cats .cap { margin-top: 0.3rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

.featured { padding: 4.5rem 0; border-top: 1px solid var(--hairline); }
.featured .ph { height: 440px; margin-top: 2rem; }

.featured-row {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
}
.featured-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.featured-row p { margin-top: 0.4rem; color: var(--dim); font-size: 0.92rem; }

/* ============ PRODUCT ============ */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 3.5rem 0;
}

.product-layout .ph { height: 640px; }

.product-info h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.15; }
.product-info .price { margin-top: 1rem; font-size: 1.1rem; }

.size-label {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.size-row { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.size-row button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
  font-size: 0.85rem;
}
.size-row button:hover, .size-row button.selected { border-color: var(--graphite); background: var(--graphite); color: var(--parchment); }

.add-to-bag {
  display: block;
  width: 100%;
  margin-top: 1.75rem;
  padding: 1rem;
  background: var(--graphite);
  color: var(--parchment);
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
}
.add-to-bag:hover { background: var(--oxblood); }

.product-info .fine-print { margin-top: 1.5rem; font-size: 0.85rem; color: var(--dim); }
.product-info .fine-print p + p { margin-top: 0.2rem; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 0 4rem;
}
.detail-grid .ph { height: 280px; }

.details-block { padding: 3rem 0 4.5rem; border-top: 1px solid var(--hairline); }
.details-block dl { margin: 1.25rem 0 0; display: grid; grid-template-columns: 140px 1fr; row-gap: 0.6rem; max-width: 440px; }
.details-block dt { color: var(--dim); font-size: 0.88rem; }
.details-block dd { margin: 0; font-size: 0.88rem; }

/* ============ ARCHIVE ============ */
.archive-meta { color: var(--oxblood); font-size: 0.85rem; letter-spacing: 0.06em; margin-top: 0.75rem; }
.archive-lede { margin-top: 1rem; color: var(--dim); }

.archive-search {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  background: #fdfcfa;
  border: 1px solid var(--hairline);
  padding: 0.9rem 1.25rem;
  gap: 0.75rem;
}
.archive-search input {
  border: none;
  background: none;
  outline: none;
  flex: 1;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--graphite);
}
.archive-search .icon { color: var(--dim); }

.filter-label { margin-top: 2rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.filter-row { display: flex; gap: 0.9rem; margin-top: 0.75rem; flex-wrap: wrap; }
.filter-row .pill {
  border: 1px solid var(--hairline);
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  color: var(--graphite);
}

.bike-list { margin-top: 3rem; }
.bike-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--hairline);
}
.bike-list .bike-row:last-child { border-bottom: 1px solid var(--hairline); }
.bike-row .make { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oxblood); }
.bike-row .model { font-size: 1.3rem; margin-top: 0.2rem; }
.bike-row .spec { font-size: 0.85rem; color: var(--dim); text-align: right; min-width: 60px; }
.bike-row .arrow { color: var(--oxblood); }

.compare-panel {
  margin-top: 3.5rem;
  background: var(--dark);
  color: #f2efe9;
  padding: 3rem 2.5rem;
}
.compare-panel .kicker { color: #e7c9ba; }
.compare-panel h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 16ch; }
.compare-panel .cta { margin-top: 1.5rem; font-size: 0.82rem; letter-spacing: 0.04em; color: #f2efe9; text-align: right; }

/* ============ FILM ============ */
.film-hero { height: 55vh; min-height: 340px; overflow: hidden; }
.film-hero img { width: 100%; height: 100%; object-fit: cover; }

.film-main {
  background: var(--dark);
  color: #f2efe9;
  padding: 4rem 0 4.5rem;
}
.film-main .kicker { color: var(--oxblood); }
.film-main h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.film-main .link-arrow.on-dark { margin-top: 1.25rem; display: inline-flex; }

.film-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.film-grid .ph { height: 200px; }
.film-grid .title { margin-top: 1rem; font-size: 0.95rem; }
.film-grid .link-arrow.on-dark { margin-top: 0.4rem; display: inline-flex; font-size: 0.75rem; }

.film-tag { margin-top: 3.5rem; font-size: 0.85rem; color: rgba(242,239,233,0.6); }

/* ============ ABOUT ============ */
.about-hero { margin-top: 2rem; height: 56vh; min-height: 360px; overflow: hidden; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }

.about-stats {
  display: flex;
  gap: 4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.about-stats .stat { font-family: 'Newsreader', serif; font-size: 1.3rem; }

.about-lede { margin-top: 1.5rem; max-width: 68ch; color: var(--dim); }

.about-pair {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-pair img { width: 100%; height: 400px; object-fit: cover; }
.about-pair h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.about-pair p.small { margin-top: 0.75rem; color: var(--dim); font-size: 0.92rem; }

.about-close { margin-top: 5rem; padding: 3rem 0 4.5rem; border-top: 1px solid var(--hairline); }
.about-close h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.about-close p { margin-top: 1rem; color: var(--dim); max-width: 60ch; }

/* ============ FOOTER ============ */
footer.site {
  background: var(--dark);
  color: #f2efe9;
  padding: 2.5rem 0;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

footer.site .foot-left .wordmark { color: #f2efe9; }
footer.site .foot-left .copyright { margin-top: 0.5rem; font-size: 0.75rem; color: rgba(242,239,233,0.55); }

footer.site .doors a { color: rgba(242,239,233,0.85); opacity: 1; font-size: 0.8rem; }
footer.site .doors a:hover, footer.site .doors a.active { color: #fff; }

@media (max-width: 860px) {
  .the78-split, .about-pair, .product-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .objects-home .grid3, .shop-cats, .detail-grid, .film-grid { grid-template-columns: 1fr 1fr; }
  .bike-row { grid-template-columns: 1fr; row-gap: 0.4rem; text-align: left; }
  .bike-row .spec { text-align: left; }
  .doors { gap: 1.2rem; }
}

@media (max-width: 560px) {
  .objects-home .grid3, .shop-cats, .detail-grid, .film-grid { grid-template-columns: 1fr; }
}
