:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-warm: #fdfaf4;
  --surface-soft: #f4f1eb;
  --surface-card: #fffdf9;
  --surface-image: #f4f1eb;
  --text: #181614;
  --text-soft: #5e5953;
  --text-faint: #8a837c;
  --line: rgba(24, 22, 20, 0.1);
  --line-strong: rgba(24, 22, 20, 0.16);
  --papaya: #e86a1a;
  --papaya-deep: #cb5710;
  --papaya-soft: rgba(232, 106, 26, 0.12);
  --footer: #1a1a1a;
  --shadow: 0 18px 40px rgba(23, 20, 17, 0.08);
  --shadow-soft: 0 10px 24px rgba(23, 20, 17, 0.06);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1240px;
  --text-display: 5rem;
  --text-h1: 3rem;
  --text-h2: 2rem;
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-tiny: 0.75rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 24px;
}

.surface-white {
  background: var(--surface);
}

.surface-warm {
  background: var(--surface-warm);
}

.section,
.page-hero,
.hero {
  position: relative;
}

.section {
  padding: 80px 0;
}

.section-tight-top {
  padding-top: 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 22, 20, 0.08);
}

.header-topbar {
  background: rgba(255, 255, 255, 0.96);
}

.header-topbar-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
}

.header-navstrip {
  background: #171411;
  border-top: 1px solid rgba(24, 22, 20, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-mark {
  height: 56px;
  width: auto;
}

.logo-footer .logo-mark {
  height: 46px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-height: 52px;
}

.main-nav a,
.footer-nav a,
.breadcrumbs,
.hero-eyebrow,
.section-kicker,
.guide-label,
.category-index {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav a {
  position: relative;
  font-size: var(--text-tiny);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  padding: 15px 0 13px;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--papaya);
}

.hero-home {
  overflow: hidden;
  padding: 34px 0 56px;
  background: #ffffff;
}

.hero-grid,
.page-hero-grid,
.about-layout,
.product-layout {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
}

.hero-copy,
.page-hero-grid > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow,
.section-kicker,
.guide-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--papaya);
  font-size: var(--text-tiny);
  font-weight: 800;
}

.hero-eyebrow {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 106, 26, 0.18);
  background: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.hero h1,
.page-hero h1,
.section-head h2,
.guide-card h3,
.card h3,
.category-card h3,
.about h2,
.footer-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: var(--text-display);
  line-height: 0.9;
  margin-bottom: 20px;
  max-width: 7ch;
}

.page-hero h1 {
  font-size: var(--text-h1);
  line-height: 0.95;
  margin-bottom: 16px;
}

.section-head {
  margin-bottom: 30px;
}

.section-head-left,
.prose,
.page-hero-grid {
  max-width: 980px;
}

.section-head h2,
.about h2 {
  font-size: var(--text-h2);
  line-height: 0.96;
  margin-top: 10px;
}

.hero-sub,
.page-lead,
.section-sub,
.page-side-note,
.about-copy p,
.guide-card p,
.prose p,
.prose ul,
.footer-left p,
.disclosure,
.footer-bottom p,
.category-card p {
  font-size: var(--text-body);
  color: var(--text-soft);
}

.hero-sub,
.page-lead,
.section-sub {
  max-width: 680px;
}

.page-side-note {
  max-width: 420px;
  padding-top: 56px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn-primary,
.btn-secondary,
.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 14px;
  font-size: var(--text-small);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary,
.btn-secondary {
  padding: 0 22px;
}

.btn-primary {
  background: var(--papaya);
  color: #fff;
  box-shadow: 0 12px 24px rgba(232, 106, 26, 0.22);
}

.btn-primary:hover,
.btn-card:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--papaya-deep);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: var(--surface-warm);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-panel {
  min-height: 250px;
  border-radius: 0;
  border: 1px solid rgba(24, 22, 20, 0.08);
  background: linear-gradient(180deg, #fffdf9 0%, #f4f1eb 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-panel-main {
  min-height: 560px;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.editorial-hero {
  border-bottom: 1px solid var(--line);
}

.editorial-hero-grid {
  align-items: end;
}

.editorial-hero-copy {
  padding: 0 0 26px;
}

.editorial-hero-copy .hero-sub {
  max-width: 34rem;
  font-size: 1.05rem;
}

.editorial-hero-visual {
  grid-template-columns: 1fr;
}

.editorial-hero-panel {
  background: #efe7dd;
}

.hero-caption {
  display: grid;
  gap: 8px;
  padding: 0 4px;
}

.hero-caption h2,
.about-brief h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero-caption h2 {
  font-size: 2rem;
}

.hero-caption p,
.about-brief p {
  color: var(--text-soft);
}

.page-hero {
  padding: 48px 0 42px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: var(--text-tiny);
  color: var(--text-faint);
}

.product-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.editorial-section-head {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(24, 22, 20, 0.1);
}

.editorial-section-head .section-kicker {
  font-size: 0.8rem;
  font-weight: 800;
}

.card-grid,
.guides-grid,
.category-grid {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid rgba(24, 22, 20, 0.1);
  box-shadow: none;
}

.card-image {
  aspect-ratio: 1 / 1;
  background: var(--surface-image);
  border-bottom: 1px solid rgba(24, 22, 20, 0.08);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 16px;
}

.card-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--papaya);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
}

.card h3 {
  font-size: 1.15rem;
  line-height: 1.05;
  min-height: 2.1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.card-price {
  color: var(--papaya);
  font-size: 1.1rem;
  font-weight: 800;
}

.btn-card {
  width: 100%;
  padding: 0 18px;
  background: #171411;
  color: #fff;
}

.btn-card:hover {
  background: var(--papaya-deep);
}

.guide-promo {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(232, 106, 26, 0.16);
  background: linear-gradient(180deg, #fff8ef 0%, #fdfaf4 100%);
  box-shadow: var(--shadow-soft);
}

.guide-promo h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--text-h2);
  line-height: 0.98;
  letter-spacing: 0.02em;
  margin: 12px 0 14px;
}

.guide-promo p {
  font-size: var(--text-body);
  color: var(--text-soft);
  margin-bottom: 20px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.guide-card,
.about-panel-inner {
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--surface-card);
  box-shadow: none;
}

.category-card {
  display: block;
  padding: 0;
}

.editorial-category-card {
  display: grid;
  grid-template-rows: minmax(180px, 220px) auto;
  overflow: hidden;
}

.category-card-media {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(140deg, #211b16 0%, #4a2b17 52%, #e86a1a 140%);
}

.category-card-media span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.category-card-copy {
  padding: 18px;
}

.category-index {
  display: inline-block;
  color: var(--papaya);
  font-size: var(--text-tiny);
  font-weight: 800;
  margin-bottom: 18px;
}

.category-card h3,
.guide-card h3 {
  font-size: var(--text-h2);
  line-height: 0.96;
  margin-bottom: 10px;
}

.guides-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guides-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.editorial-guides-grid .guide-card {
  min-height: 100%;
}

.guide-label {
  font-size: var(--text-tiny);
  font-weight: 800;
}

.guide-card p {
  font-size: var(--text-small);
}

.guide-cta {
  margin-top: auto;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--papaya);
}

.about-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: stretch;
}

.about-copy {
  max-width: 720px;
}

.about-copy p + p,
.prose p + p,
.prose h2 + p,
.prose ul,
.card-grid.small {
  margin-top: 16px;
}

.about-panel-inner {
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(135deg, #fffdf9 0%, #f7eee2 56%, #fdfaf4 100%);
  border-color: rgba(232, 106, 26, 0.16);
}

.about-panel-inner span,
.about-panel-inner strong {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
}

.about-panel-inner span {
  font-size: var(--text-h2);
  color: var(--papaya);
}

.about-panel-inner strong {
  font-size: var(--text-display);
  line-height: 0.9;
}

.prose {
  max-width: 760px;
}

.prose .intro-standfirst {
  font-size: var(--text-body);
  color: var(--text);
}

.prose h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--text-h2);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin-top: 36px;
  margin-bottom: 10px;
}

.prose ul {
  padding-left: 18px;
}

.card-grid.small {
  grid-template-columns: minmax(0, 320px);
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 52px;
}

.section-about-brief {
  border-top: 1px solid var(--line);
}

.about-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: end;
}

.footer-inner,
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  padding: 32px 24px;
}

.footer-inner .logo {
  margin-bottom: 18px;
}

.footer-left p,
.disclosure,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 18px;
}

.footer-nav a {
  font-size: var(--text-tiny);
  font-weight: 700;
}

.disclosure {
  font-size: var(--text-small);
}

.footer-bottom {
  padding: 18px 24px 26px;
}

.footer-bottom p {
  font-size: var(--text-small);
}

@media (max-width: 1120px) {
  .card-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-grid,
  .guides-grid-3,
  .product-layout,
  .hero-grid,
  .about-layout,
  .about-brief {
    grid-template-columns: 1fr;
  }

  .guide-promo {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --text-display: 3.8rem;
    --text-h1: 2.45rem;
    --text-h2: 1.8rem;
  }

  .header-topbar-inner {
    min-height: 62px;
  }

  .main-nav {
    justify-content: center;
    gap: 18px;
    min-height: 48px;
  }

  .main-nav a.active::after {
    bottom: 0;
  }

  .hero-home {
    padding-top: 28px;
  }

  .hero-visual,
  .guides-grid-2,
  .guides-grid-3,
  .footer-inner,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel-main {
    min-height: 360px;
  }

  .page-side-note {
    padding-top: 0;
  }

  .card-grid,
  .home-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --text-display: 3.15rem;
    --text-h1: 2.1rem;
    --text-h2: 1.6rem;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .card-grid,
  .home-grid,
  .category-grid,
  .guides-grid-2,
  .guides-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    gap: 16px;
    justify-content: flex-start;
  }

  .btn-card {
    width: 100%;
  }
}
