:root {
  --ink: #15130f;
  --charcoal: #24221d;
  --cream: #f6efe2;
  --paper: #fbf8ef;
  --olive: #5f6d4c;
  --moss: #293523;
  --gold: #c59a51;
  --clay: #a45f3f;
  --line: rgba(21, 19, 15, 0.14);
  --shadow: 0 22px 60px rgba(21, 19, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(251, 248, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.site-header.scrolled .brand-mark span {
  color: var(--cream);
  background: var(--ink);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a {
  opacity: 0.88;
}

.cart-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.site-header.scrolled .cart-button {
  background: #fff;
  border-color: var(--line);
}

.cart-icon {
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 9, 0.82), rgba(13, 12, 9, 0.34) 52%, rgba(13, 12, 9, 0.1)),
    linear-gradient(0deg, rgba(13, 12, 9, 0.68), rgba(13, 12, 9, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 11vh;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  font-size: clamp(4.2rem, 14vw, 9.4rem);
}

h2 {
  font-size: clamp(2.25rem, 6vw, 5rem);
}

h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.primary {
  color: var(--ink);
  background: var(--cream);
}

.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.drop-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
}

.drop-strip button {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: inherit;
  background: transparent;
  border-right: 1px solid rgba(246, 239, 226, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.drop-strip button:hover,
.drop-strip button.active {
  color: var(--ink);
  background: var(--gold);
}

.section,
.pillars-section,
.media-section,
.community-section {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 4vw, 56px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
}

.intro-section p:last-child,
.section-heading > p,
.media-copy p {
  margin: 0;
  color: rgba(21, 19, 15, 0.72);
  font-size: 1.06rem;
  line-height: 1.7;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p {
  max-width: 390px;
}

.shop-section {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  gap: 18px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.product-art::before {
  content: "";
  position: absolute;
  width: 66%;
  aspect-ratio: 0.78;
  border-radius: 44% 44% 12px 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -28px 48px rgba(0, 0, 0, 0.22);
}

.product-art:has(img) {
  background: #fff;
}

.product-art:has(img)::before {
  display: none;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tee-art {
  color: var(--ink);
  background: #e9dfce;
}

.cap-art {
  background: var(--olive);
}

.journal-art {
  background: var(--clay);
}

.garment,
.print {
  position: relative;
  z-index: 1;
}

.garment {
  align-self: start;
  margin-top: 22px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.print {
  max-width: 130px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.04;
}

.product-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-info p {
  margin: 7px 0 0;
  color: rgba(21, 19, 15, 0.64);
  line-height: 1.45;
}

.product-card button {
  width: 100%;
  color: var(--cream);
  background: var(--ink);
}

.pillars-section {
  background: var(--moss);
  color: var(--cream);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: rgba(246, 239, 226, 0.18);
}

.pillar-grid article {
  min-height: 300px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--moss);
}

.pillar-grid span {
  color: var(--gold);
  font-weight: 900;
}

.pillar-grid h3 {
  margin-top: 88px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.pillar-grid p {
  max-width: 300px;
  color: rgba(246, 239, 226, 0.72);
  line-height: 1.6;
}

.media-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  color: var(--cream);
  background:
    linear-gradient(110deg, rgba(21, 19, 15, 0.94), rgba(21, 19, 15, 0.72)),
    radial-gradient(circle at 80% 20%, rgba(197, 154, 81, 0.42), transparent 30%),
    var(--charcoal);
}

.media-copy p {
  color: rgba(246, 239, 226, 0.72);
  margin: 22px 0 28px;
}

.episode-stack {
  display: grid;
  gap: 14px;
}

.episode-stack article,
.episode-stack a {
  padding: clamp(20px, 4vw, 34px);
  background: rgba(246, 239, 226, 0.08);
  border: 1px solid rgba(246, 239, 226, 0.16);
}

.episode-stack a {
  display: block;
}

.episode-stack a:hover {
  background: rgba(197, 154, 81, 0.18);
}

.episode-stack span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.episode-stack h3 {
  margin-top: 16px;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--cream);
}

.signup-form {
  display: grid;
  gap: 12px;
}

.signup-form label {
  font-weight: 900;
}

.signup-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  background: #fff;
}

.signup-form input {
  min-width: 0;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  outline: 0;
}

.signup-form button {
  padding: 0 22px;
  color: var(--cream);
  background: var(--ink);
}

.signup-form p {
  min-height: 22px;
  margin: 0;
  color: var(--olive);
  font-weight: 700;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: end;
  background: rgba(21, 19, 15, 0.48);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  width: min(460px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cart-header,
.cart-footer {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.cart-header button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.cart-items {
  padding: 24px;
  overflow: auto;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line span {
  color: rgba(21, 19, 15, 0.64);
}

.empty-cart {
  margin: 0;
  color: rgba(21, 19, 15, 0.64);
}

.cart-footer {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-footer div {
  display: flex;
  justify-content: space-between;
}

.cart-footer button {
  color: var(--cream);
  background: var(--olive);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--cream);
  background: var(--ink);
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

.policy-header {
  position: sticky;
}

.policy-shop-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--cream);
  background: var(--ink);
  font-weight: 800;
}

.policy-page {
  background: var(--paper);
}

.policy-hero {
  padding: clamp(100px, 14vw, 160px) clamp(18px, 4vw, 56px) clamp(48px, 8vw, 86px);
  background: var(--cream);
}

.policy-hero h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
}

.policy-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(21, 19, 15, 0.72);
  font-size: 1.12rem;
  line-height: 1.7;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(18px, 4vw, 56px);
  background: var(--line);
}

.policy-grid article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
}

.policy-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.policy-grid p {
  margin: 18px 0 0;
  color: rgba(21, 19, 15, 0.72);
  line-height: 1.7;
}

.policy-grid a {
  color: var(--clay);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.checkout-result {
  width: min(720px, 100%);
  padding: clamp(36px, 8vw, 80px);
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: center;
}

.checkout-result h1 {
  color: var(--ink);
  font-size: clamp(3.5rem, 12vw, 7rem);
}

.checkout-result p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px auto 28px;
  color: rgba(21, 19, 15, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .intro-section,
  .media-section,
  .community-section,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drop-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark strong {
    max-width: 96px;
    line-height: 1.1;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .drop-strip,
  .product-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .product-art {
    min-height: 240px;
  }

  .signup-form div {
    grid-template-columns: 1fr;
  }
}
