:root {
  --near-black: #0b0a08;
  --soft-black: #12100d;
  --surface-black: #181512;
  --cream: #f4efe4;
  --warm-cream: #eadcc4;
  --gold: #c99a3d;
  --muted-gold: #b88734;
  --espresso: #3b2418;
  --wood: #6b4b2f;
  --green: #4c6042;
  --cream-muted: rgba(244, 239, 228, 0.72);
  --dark-muted: rgba(11, 10, 8, 0.68);
  --line-light: rgba(244, 239, 228, 0.14);
  --line-dark: rgba(11, 10, 8, 0.14);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
  --shadow-gold: 0 14px 32px rgba(201, 154, 61, 0.2);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --container: 1440px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Source Sans 3", Arial, sans-serif;
  --condensed: "Oswald", "Arial Narrow", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--near-black);
  color: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--near-black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--near-black);
  font-weight: 700;
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(201, 154, 61, 0.18);
  background: rgba(7, 7, 6, 0.88);
  backdrop-filter: blur(20px);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

.brand__logo-shell {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(11, 10, 8, 0.86);
  box-shadow: 0 0 0 1px rgba(201, 154, 61, 0.42), 0 10px 26px rgba(0, 0, 0, 0.28);
}

.brand__logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 1.06;
}

.brand__text strong,
.brand__text span {
  font-size: 0.92rem;
  font-weight: 700;
}

.brand--footer .brand__logo-shell {
  width: 68px;
  height: 68px;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text span {
  font-size: 1rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}

.desktop-nav a,
.mobile-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cream-muted);
  font-family: var(--condensed);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.desktop-nav a[aria-current="page"],
.desktop-nav a:hover,
.mobile-nav a[aria-current="page"],
.mobile-nav a:hover {
  color: var(--gold);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(244, 239, 228, 0.04);
  color: var(--cream);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-light);
  background: var(--soft-black);
}

.mobile-nav .container {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.mobile-shop {
  width: 100%;
  justify-content: center;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gold);
  color: var(--near-black);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: #d6aa4d;
  color: var(--near-black);
}

.btn--secondary,
.btn--secondary-dark {
  border-color: rgba(201, 154, 61, 0.58);
  background: rgba(11, 10, 8, 0.28);
  color: var(--warm-cream);
}

.btn--secondary-dark {
  background: transparent;
  color: var(--espresso);
}

.btn--secondary:hover,
.btn--secondary-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--arrow::after {
  content: "->";
  font-size: 1rem;
  line-height: 1;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--soft-black), var(--near-black));
}

.hero__grid,
.page-hero__grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 58px;
  padding: 72px 0;
}

.hero__copy,
.page-hero__copy {
  max-width: 585px;
}

.hero__media {
  position: relative;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  font-size: 4.45rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
}

.hero p,
.page-hero p {
  margin-top: 22px;
  max-width: 530px;
  color: var(--cream-muted);
  font-size: 1.08rem;
}

.hero .button-row,
.page-hero .button-row {
  margin-top: 34px;
}

.hero--cinematic {
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--near-black);
  isolation: isolate;
}

.hero--cinematic::before,
.hero--cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero--cinematic::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.99) 0%, rgba(8, 8, 7, 0.92) 34%, rgba(8, 8, 7, 0.46) 60%, rgba(8, 8, 7, 0.14) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.12) 0%, rgba(8, 8, 7, 0.42) 100%),
    url("/public/assets/gallery/optimized/brotherhood-owner-sack-roaster-1400.webp");
  background-size: cover;
  background-position: 69% 31%;
  filter: saturate(0.82) contrast(1.08) brightness(0.72);
}

.hero--cinematic::after {
  z-index: -1;
  opacity: 0.18;
  background:
    repeating-linear-gradient(112deg, transparent 0 15px, rgba(201, 154, 61, 0.16) 16px, transparent 17px 32px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 42%);
}

.hero__grid--cinematic {
  min-height: clamp(500px, 56vh, 610px);
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  align-items: center;
  padding: 52px 0 40px;
}

.hero__copy--cinematic {
  max-width: 720px;
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: var(--condensed);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero--cinematic h1 {
  max-width: 900px;
  color: #ece8df;
  font-family: var(--condensed);
  font-size: clamp(3.25rem, 4.8vw, 5.6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.52);
}

.hero--cinematic h1 span {
  display: block;
  white-space: nowrap;
}

.hero--cinematic .hero__copy p:not(.hero-kicker) {
  max-width: 585px;
  margin-top: 22px;
  color: rgba(244, 239, 228, 0.78);
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero--cinematic .btn {
  min-width: 178px;
  min-height: 54px;
  padding-inline: 26px;
}

.hero-proof-rail {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(201, 154, 61, 0.24);
  border-bottom: 1px solid rgba(201, 154, 61, 0.18);
  background: rgba(9, 9, 8, 0.82);
  backdrop-filter: blur(14px);
}

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

.hero-proof-item {
  min-height: 74px;
  padding: 18px 22px 16px;
  border-left: 1px solid rgba(201, 154, 61, 0.26);
}

.hero-proof-item:first-child {
  border-left: 0;
}

.hero-proof-item span {
  color: var(--warm-cream);
  font-family: var(--condensed);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-proof-item p {
  margin-top: 5px;
  color: rgba(244, 239, 228, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-origin-band {
  padding: 18px 0 28px;
  border-bottom: 1px solid rgba(201, 154, 61, 0.18);
  background:
    linear-gradient(180deg, rgba(11, 10, 8, 0.96), rgba(8, 8, 7, 1)),
    var(--near-black);
  color: var(--cream);
}

.origin-panel-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.origin-lead-panel,
.origin-image-panel {
  min-height: 250px;
  border: 1px solid rgba(201, 154, 61, 0.24);
  background: rgba(244, 239, 228, 0.025);
}

.origin-lead-panel {
  display: grid;
  align-content: center;
  padding: 30px;
}

.origin-lead-panel h2 {
  color: #ece8df;
  font-family: var(--condensed);
  font-size: clamp(2.05rem, 3vw, 3rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.origin-lead-panel p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 16px;
  color: rgba(244, 239, 228, 0.72);
  line-height: 1.55;
}

.origin-lead-panel .btn {
  justify-self: start;
  margin-top: 24px;
}

.origin-image-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  isolation: isolate;
}

.origin-image-panel__media {
  position: absolute;
  inset: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.78);
}

.origin-image-panel__media img {
  filter: saturate(0.82) contrast(1.04) brightness(0.78);
}

.origin-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 26%, rgba(8, 8, 7, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 8, 7, 0.34), transparent 58%);
  pointer-events: none;
}

.origin-image-panel__copy {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
}

.origin-image-panel__copy p,
.origin-image-panel__copy h3 {
  font-family: var(--condensed);
  text-transform: uppercase;
}

.origin-image-panel__copy p {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.origin-image-panel__copy h3 {
  color: var(--cream);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 0.98;
}

.origin-image-panel__copy span {
  display: block;
  max-width: 250px;
  margin-top: 8px;
  color: rgba(244, 239, 228, 0.76);
  font-size: 0.9rem;
  line-height: 1.38;
}

.image-frame {
  --media-aspect: 4 / 3;
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-aspect);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 228, 0.13);
  border-radius: var(--radius-lg);
  background: #d4c8b7;
  box-shadow: var(--shadow-soft);
}

.image-frame picture,
.image-frame img {
  width: 100%;
  height: 100%;
}

.image-frame picture {
  display: block;
}

.image-frame img {
  object-fit: cover;
  object-position: var(--media-position, center);
  transform-origin: var(--media-position, center);
  transform: scale(var(--media-scale, 1));
}

.image-frame--placeholder {
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(244, 239, 228, 0.94), rgba(191, 176, 151, 0.9) 48%, rgba(76, 96, 66, 0.36)),
    repeating-linear-gradient(45deg, rgba(59, 36, 24, 0.05) 0 1px, transparent 1px 10px);
}

.image-frame--placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(11, 10, 8, 0.08);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.placeholder-mark {
  width: 38%;
  max-width: 170px;
  min-width: 86px;
  color: rgba(11, 10, 8, 0.22);
}

.placeholder-mark svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-frame figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: rgba(11, 10, 8, 0.48);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.hero-image {
  min-height: 520px;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 10, 8, 0.08), rgba(11, 10, 8, 0.28)),
    linear-gradient(90deg, rgba(11, 10, 8, 0.18), transparent 46%);
  pointer-events: none;
}

.hero-logo-badge {
  position: absolute;
  bottom: 32px;
  left: -22px;
  z-index: 2;
  width: 88px;
  height: 88px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(11, 10, 8, 0.88);
  box-shadow: 0 0 0 1px rgba(201, 154, 61, 0.5), 0 14px 30px rgba(0, 0, 0, 0.28);
  object-fit: contain;
}

.tall-image {
  min-height: 520px;
}

.wide-image {
  min-height: 330px;
}

.section {
  padding: 104px 0;
}

.section--cream {
  background: var(--cream);
  color: var(--near-black);
}

.section--dark {
  background: var(--near-black);
  color: var(--cream);
}

.section--split {
  background:
    linear-gradient(90deg, var(--near-black) 0 50%, var(--surface-black) 50% 100%);
  color: var(--cream);
}

.section--split-asymmetric {
  background:
    linear-gradient(90deg, var(--near-black) 0 calc(50% + 55px), var(--surface-black) calc(50% + 55px) 100%);
}

.section--compact {
  padding: 78px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  color: inherit;
}

.section-header p:not(.eyebrow) {
  margin-top: 14px;
  color: currentColor;
  opacity: 0.72;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 60px;
}

.split-layout--balanced {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr);
}

.split-layout__media,
.split-layout__copy {
  min-width: 0;
}

.split-layout__copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--cream-muted);
  font-size: 1.02rem;
}

.split-layout__copy .btn {
  margin-top: 30px;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(244, 239, 228, 0.035);
}

.section--cream .feature-card,
.feature-grid--cream .feature-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.42);
  color: var(--near-black);
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 154, 61, 0.36);
  border-radius: 50%;
  color: var(--gold);
}

.feature-card__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.3rem;
}

.feature-card p {
  margin-top: 10px;
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section--cream .feature-card p,
.feature-grid--cream .feature-card p {
  color: var(--dark-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 276px));
  justify-content: center;
  gap: 18px;
}

.product-grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.section--catalog .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin-inline: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(11, 10, 8, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 38px rgba(11, 10, 8, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 154, 61, 0.45);
  box-shadow: 0 22px 46px rgba(11, 10, 8, 0.14);
}

.product-card__media {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.product-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__badges span,
.note-list span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.product-card__badges span {
  background: rgba(76, 96, 66, 0.14);
  color: var(--green);
}

.product-card h3 {
  color: var(--espresso);
  font-size: 1.38rem;
}

.product-card__roast {
  color: var(--dark-muted);
  font-weight: 700;
}

.note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.note-list span {
  border: 1px solid rgba(59, 36, 24, 0.16);
  color: var(--espresso);
}

.price-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dark-muted);
  font-size: 0.88rem;
}

.price-list strong {
  color: var(--near-black);
}

.delivery-wholesale,
.card-grid--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.info-panel {
  min-height: 300px;
  padding: 36px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(244, 239, 228, 0.035);
}

.info-panel h2,
.delivery-card h2,
.delivery-reminder h2 {
  font-size: 2.3rem;
}

.info-panel p:not(.eyebrow),
.delivery-card p,
.delivery-reminder p {
  margin-top: 18px;
  color: var(--cream-muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--cream-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 13px;
  height: 8px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.check-list--dark li {
  color: var(--dark-muted);
}

.page-hero--center {
  padding: 122px 0 84px;
  text-align: center;
}

.page-hero--center .page-hero__inner {
  max-width: 740px;
  margin: 0 auto;
}

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

.legal-hero .page-hero__inner {
  max-width: 760px;
}

.legal-hero .page-hero__inner > p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.legal-effective {
  color: var(--gold) !important;
  font-size: 0.84rem !important;
  font-weight: 700;
}

.legal-document {
  max-width: 780px;
  margin: 0 auto;
}

.legal-document__section + .legal-document__section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid rgba(11, 10, 8, 0.12);
}

.legal-document__section h2 {
  color: var(--espresso);
  font-size: 2rem;
  line-height: 1.05;
}

.legal-document__section p,
.legal-document__section li {
  color: var(--dark-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document__section p {
  margin-top: 16px;
}

.legal-document__section ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-document__section a {
  color: var(--muted-gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-document__section a:hover {
  color: var(--espresso);
}
.page-hero--split .page-hero__grid {
  min-height: 560px;
}

.page-hero--split .page-hero__media {
  justify-self: stretch;
}

.section--catalog {
  padding-top: 44px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-tabs button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(11, 10, 8, 0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--near-black);
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-tabs button:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.filter-tabs button.is-active {
  border-color: var(--gold);
  background: var(--gold);
}

.delivery-card,
.delivery-reminder {
  padding: 34px;
  border: 1px solid rgba(11, 10, 8, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 18px 38px rgba(11, 10, 8, 0.08);
}

.delivery-card p,
.delivery-reminder p {
  color: var(--dark-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}

.origin-feature-split {
  align-items: center;
}

.origin-feature-image {
  min-height: 620px;
  border-color: rgba(11, 10, 8, 0.12);
}

.origin-feature-copy h2 {
  color: var(--espresso);
}

.origin-feature-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 18px;
  color: var(--dark-muted);
  font-size: 1.02rem;
}

.origin-feature-copy .btn {
  margin-top: 28px;
}

.story-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 14px;
}

.story-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(11, 10, 8, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.38);
}

.story-card span {
  color: var(--muted-gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.story-card h3 {
  color: var(--espresso);
  font-size: 1.2rem;
  line-height: 1.1;
}

.story-card p {
  color: var(--dark-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.gallery-section {
  overflow: hidden;
}

.photo-gallery {
  position: relative;
}

.photo-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 132px;
  gap: 16px;
}

.photo-gallery--preview .photo-gallery__grid {
  grid-auto-rows: 148px;
}

.photo-gallery__item {
  position: relative;
  min-width: 0;
  min-height: 0;
  grid-column: span 4;
  grid-row: span 2;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(11, 10, 8, 0.12);
  border-radius: var(--radius-md);
  background: var(--surface-black);
  box-shadow: 0 18px 40px rgba(11, 10, 8, 0.16);
  color: var(--cream);
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.section--dark .photo-gallery__item {
  border-color: rgba(244, 239, 228, 0.16);
}

.photo-gallery__item--wide {
  grid-column: span 6;
  grid-row: span 2;
}

.photo-gallery__item--tall {
  grid-column: span 3;
  grid-row: span 3;
}

.photo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--gallery-position, center);
  transform: scale(1.001);
  transition: transform 360ms ease, filter 360ms ease;
}

.photo-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 10, 8, 0.66));
  pointer-events: none;
}

.photo-gallery__item span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: var(--warm-cream);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.photo-gallery__item:hover,
.photo-gallery__item:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 154, 61, 0.56);
}

.photo-gallery__item:hover img,
.photo-gallery__item:focus-visible img {
  filter: brightness(1.05);
  transform: scale(1.035);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(52px, 1fr) minmax(0, 1080px) minmax(52px, 1fr);
  grid-template-rows: 76px minmax(0, 1fr) 58px;
  gap: 0;
  padding: 18px;
  background: rgba(7, 6, 5, 0.92);
  backdrop-filter: blur(18px);
}

.gallery-lightbox__figure {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.gallery-lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.gallery-lightbox__figure figcaption {
  color: var(--warm-cream);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(201, 154, 61, 0.42);
  border-radius: 999px;
  background: rgba(244, 239, 228, 0.06);
  color: var(--warm-cream);
  font-size: 0.82rem;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-lightbox__close span,
.gallery-lightbox__nav span {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: var(--gold);
  color: var(--near-black);
}

.gallery-lightbox__close {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}

.gallery-lightbox__nav {
  align-self: center;
  justify-self: center;
}

.gallery-lightbox__nav--prev {
  grid-column: 1;
  grid-row: 2;
}

.gallery-lightbox__nav--next {
  grid-column: 3;
  grid-row: 2;
}

blockquote {
  margin: 22px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  color: var(--gold);
  font-size: 2.1rem;
  line-height: 1.1;
}

.hero--wholesale .hero__grid {
  min-height: 610px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.step-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(201, 154, 61, 0.14);
  color: var(--gold);
  font-weight: 900;
}

.step-card p {
  margin-top: 10px;
  color: var(--cream-muted);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 42px;
}

.form-layout--wide {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.form-layout__copy h2 {
  color: var(--espresso);
}

.form-layout__copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--dark-muted);
}

.form-shell {
  padding: 30px;
  border: 1px solid rgba(11, 10, 8, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 38px rgba(11, 10, 8, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--near-black);
  font-size: 0.86rem;
  font-weight: 800;
}

.form-field em {
  color: rgba(11, 10, 8, 0.5);
  font-style: normal;
  font-weight: 600;
}

.form-field--full {
  width: 100%;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(11, 10, 8, 0.14);
  border-radius: 12px;
  background: rgba(244, 239, 228, 0.72);
  color: var(--near-black);
  font-size: 0.94rem;
}

.form-field input,
.form-field select {
  min-height: 48px;
  padding: 0 13px;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
  padding: 13px;
}

.form-status {
  min-height: 22px;
  color: var(--green);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--cream-muted);
}

.contact-list li {
  position: relative;
  padding-left: 24px;
}

.contact-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.cta-section {
  background: var(--near-black);
  color: var(--cream);
}

.cta-section__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-section__inner p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 520px;
  color: var(--cream-muted);
}

.cta-section__inner .button-row {
  justify-content: center;
  margin-top: 30px;
}

.not-found {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--near-black);
}

.not-found__media {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}

.not-found__image {
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.not-found__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 130px 0;
}

.not-found__content p {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 700;
  line-height: 0.85;
}

.not-found__content span {
  display: block;
  margin: 18px 0 32px;
  color: var(--cream-muted);
}

.site-footer {
  border-top: 1px solid var(--line-light);
  background: var(--soft-black);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 1fr 0.8fr;
  gap: 36px;
  padding: 58px 0;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 18px;
  color: var(--cream-muted);
  font-size: 0.94rem;
}

.footer-brand .verse {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li,
.site-footer a {
  color: var(--cream-muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 239, 228, 0.5);
  font-size: 0.82rem;
}

.footer-bottom__meta {
  display: grid;
  gap: 10px;
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: rgba(244, 239, 228, 0.62);
  font-size: 0.78rem;
}
.footer-credit {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: rgba(244, 239, 228, 0.62);
  text-align: left;
  transition: color 180ms ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--cream);
}

.footer-credit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.footer-credit__logo {
  display: block;
  width: 96px;
  overflow: hidden;
  border: 1px solid rgba(201, 154, 61, 0.18);
  border-radius: 3px;
  background: var(--near-black);
}

.footer-credit__logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.footer-credit:hover .footer-credit__logo img,
.footer-credit:focus-visible .footer-credit__logo img {
  opacity: 1;
}

.footer-credit__copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.footer-credit__label,
.footer-credit__url {
  color: inherit;
  font-size: 0.68rem;
}

.footer-credit strong {
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .hero__copy.reveal,
.reveal-ready .page-hero__copy.reveal,
.reveal-ready .page-hero__media.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-hero {
  overflow: hidden;
  padding: 74px 0 84px;
  border-bottom: 1px solid rgba(201, 154, 61, 0.18);
  background:
    radial-gradient(circle at 76% 18%, rgba(201, 154, 61, 0.12), transparent 34%),
    linear-gradient(180deg, var(--soft-black), var(--near-black));
}

.story-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: 60px;
}

.story-hero__copy {
  max-width: 510px;
}

.story-hero__copy h1 {
  color: var(--cream);
}

.story-hero__copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--cream-muted);
  font-size: 1.14rem;
}

.story-hero__media {
  position: relative;
  min-height: 570px;
}

.story-hero__image {
  position: absolute;
  aspect-ratio: auto;
}

.story-hero__image--primary {
  inset: 0 auto 0 8%;
  z-index: 1;
  width: min(64%, 456px);
}

.story-hero__image--supporting {
  right: 0;
  bottom: 34px;
  z-index: 2;
  width: 38%;
  height: 290px;
  border-color: rgba(201, 154, 61, 0.58);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
}

.story-chapter-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.story-chapter-heading h2 {
  color: var(--espresso);
  font-size: clamp(2.75rem, 4.4vw, 4.35rem);
}

.story-family__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.7fr);
  align-items: start;
  gap: 68px;
}

.story-prose {
  max-width: 720px;
  color: var(--dark-muted);
  font-size: 1.06rem;
  line-height: 1.82;
}

.story-prose > p + p {
  margin-top: 28px;
}

.story-verse {
  margin: 36px 0;
  padding: 30px 32px;
  border: 1px solid rgba(201, 154, 61, 0.34);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
}

.story-verse blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--espresso);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  line-height: 1.12;
}

.story-verse figcaption {
  margin-top: 16px;
  color: var(--muted-gold);
  font-family: var(--condensed);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-family__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 24px;
}

.story-family__photo {
  min-height: 0;
  border-color: rgba(11, 10, 8, 0.12);
  box-shadow: 0 20px 44px rgba(11, 10, 8, 0.15);
}

.story-family__photo--market {
  width: 86%;
  justify-self: start;
}

.story-family__photo--booth {
  width: 78%;
  justify-self: end;
  margin-top: -72px;
  border-color: rgba(201, 154, 61, 0.44);
}

.story-origin {
  overflow: hidden;
}

.story-origin__heading {
  max-width: 860px;
  margin-bottom: 58px;
}

.story-origin__heading h2 {
  max-width: 720px;
  color: var(--cream);
  font-size: clamp(3rem, 5vw, 5rem);
}

.story-origin__heading > p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 24px;
  color: var(--cream-muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.story-origin__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.story-origin__photo {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.story-origin__photo--landscape {
  grid-column: span 7;
}

.story-origin__photo--partners {
  grid-column: span 5;
}

.story-origin__photo--harvest {
  grid-column: span 4;
}

.story-origin__photo--cup {
  grid-column: span 8;
}

.story-origin__image {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: inherit;
}

.story-origin__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(8, 8, 7, 0.76));
  pointer-events: none;
}

.story-origin__photo > p {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  color: var(--warm-cream);
  font-family: var(--condensed);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.delivery-card h3 {
  margin-top: 24px;
  color: var(--espresso);
  font-family: var(--condensed);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 1060px) {
  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .desktop-nav {
    gap: 16px;
  }

  .hero__grid--cinematic {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
  }

  .hero--cinematic h1 {
    font-size: clamp(3.55rem, 8vw, 5.8rem);
  }

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

  .origin-lead-panel {
    grid-column: span 2;
  }

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

  .photo-gallery__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: 128px;
  }

  .photo-gallery--preview .photo-gallery__grid {
    grid-auto-rows: 136px;
  }

  .photo-gallery__item,
  .photo-gallery__item--wide {
    grid-column: span 4;
  }

  .photo-gallery__item--tall {
    grid-column: span 4;
    grid-row: span 3;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-cta {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero__grid,
  .page-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 0 62px;
  }

  .hero--cinematic {
    min-height: auto;
  }

  .hero--cinematic::before {
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.58) 0%, rgba(8, 8, 7, 0.92) 56%, rgba(8, 8, 7, 1) 100%),
      url("/public/assets/gallery/optimized/brotherhood-owner-sack-roaster-1400.webp");
    background-size: cover;
    background-position: 68% 16%;
  }

  .hero__grid--cinematic {
    min-height: 720px;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 350px 0 44px;
  }

  .hero--cinematic h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 9.8vw, 3.65rem);
  }

  .hero--cinematic h1 span {
    white-space: normal;
  }

  .hero__copy--cinematic {
    max-width: min(100%, 620px);
  }

  .hero--cinematic .button-row {
    align-items: stretch;
    width: min(100%, 320px);
  }

  .hero--cinematic .button-row .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero--cinematic .hero__media,
  .page-hero__media {
    order: initial;
  }

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

  .hero-proof-item:nth-child(odd) {
    border-left: 0;
  }

  .hero-proof-item:nth-child(n + 3) {
    border-top: 1px solid rgba(201, 154, 61, 0.22);
  }

  .hero__media,
  .page-hero__media {
    order: -1;
  }

  .hero-image,
  .tall-image,
  .wide-image {
    min-height: 340px;
  }

  .hero-logo-badge {
    bottom: 20px;
    left: 18px;
    width: 66px;
    height: 66px;
    padding: 4px;
  }

  .section {
    padding: 72px 0;
  }

  .section--split {
    background: var(--near-black);
  }

  .split-layout,
  .split-layout--balanced,
  .delivery-wholesale,
  .card-grid--two,
  .form-layout,
  .form-layout--wide {
    grid-template-columns: 1fr;
  }

  .section--catalog .product-grid,
  .product-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-row,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .origin-feature-image {
    min-height: 480px;
  }

  .origin-panel-grid {
    grid-template-columns: 1fr;
  }

  .origin-lead-panel {
    grid-column: auto;
  }

  .origin-image-panel {
    min-height: 340px;
  }

  .photo-gallery__grid,
  .photo-gallery--preview .photo-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .photo-gallery__item,
  .photo-gallery__item--wide,
  .photo-gallery__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .photo-gallery__item--wide {
    grid-column: span 2;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 64px minmax(0, 1fr) 58px;
    padding: 12px;
  }

  .gallery-lightbox__close {
    grid-column: 1 / -1;
  }

  .gallery-lightbox__figure {
    grid-column: 1 / -1;
  }

  .gallery-lightbox__nav--prev,
  .gallery-lightbox__nav--next {
    grid-row: 3;
    width: 56px;
    height: 56px;
  }

  .gallery-lightbox__nav--prev {
    grid-column: 1;
  }

  .gallery-lightbox__nav--next {
    grid-column: 2;
  }

  .gallery-lightbox__figure img {
    max-height: calc(100vh - 180px);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header__inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand__logo-shell {
    width: 46px;
    height: 46px;
  }

  .brand__text strong,
  .brand__text span {
    font-size: 0.82rem;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero--cinematic::before {
    background-position: 72% 10%;
  }

  .hero__grid--cinematic {
    min-height: 680px;
    padding-top: 315px;
  }

  .hero-kicker {
    font-size: 0.82rem;
  }

  .hero__copy--cinematic {
    max-width: min(100%, 390px);
  }

  .hero--cinematic h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.2rem);
  }

  .hero--cinematic .hero__copy p:not(.hero-kicker) {
    font-size: 1rem;
  }

  .origin-lead-panel {
    padding: 26px;
  }

  .story-card-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery__grid,
  .photo-gallery--preview .photo-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-gallery__item,
  .photo-gallery__item--wide,
  .photo-gallery__item--tall {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-gallery__item--tall {
    aspect-ratio: 3 / 4;
  }

  .photo-gallery__item--wide {
    aspect-ratio: 16 / 10;
  }

  .product-grid,
  .section--catalog .product-grid,
  .product-grid--featured {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-tabs button {
    white-space: nowrap;
  }

  .info-panel,
  .delivery-card,
  .delivery-reminder,
  .form-shell {
    padding: 22px;
  }

  .info-panel h2,
  .delivery-card h2,
  .delivery-reminder h2 {
    font-size: 2rem;
  }

  blockquote {
    font-size: 1.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .not-found__content p {
    font-size: 5.2rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .brand__text {
    max-width: 98px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 2.52rem;
  }

  .hero__grid--cinematic {
    min-height: 640px;
    padding-top: 292px;
  }

  .button-row,
  .button-row .btn {
    width: 100%;
  }

  .hero-image,
  .tall-image,
  .wide-image {
    min-height: 270px;
  }
}

@media (max-width: 1060px) {
  .story-hero__grid {
    gap: 38px;
  }

  .story-hero__media {
    min-height: 500px;
  }

  .story-hero__image--supporting {
    height: 250px;
  }

  .story-family__layout {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  .story-hero {
    padding: 42px 0 64px;
  }

  .story-hero__grid,
  .story-family__layout {
    grid-template-columns: 1fr;
  }

  .story-hero__media {
    order: -1;
    min-height: 510px;
  }

  .story-hero__copy {
    max-width: 620px;
  }

  .story-family__photos {
    max-width: 720px;
  }

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

  .story-origin__photo,
  .story-origin__photo--landscape,
  .story-origin__photo--partners,
  .story-origin__photo--harvest,
  .story-origin__photo--cup {
    grid-column: auto;
    height: 360px;
  }

  .story-origin__photo--landscape,
  .story-origin__photo--cup {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .story-hero {
    padding-top: 18px;
  }

  .story-hero__media {
    display: grid;
    min-height: 0;
    gap: 12px;
  }

  .story-hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .story-hero__image--supporting {
    margin: 0;
    aspect-ratio: 4 / 5;
  }

  .story-hero__image--primary {
    aspect-ratio: 4 / 5;
  }

  .story-chapter-heading {
    margin-bottom: 34px;
  }

  .story-family__photos,
  .story-origin__gallery {
    grid-template-columns: 1fr;
  }

  .story-family__photo,
  .story-family__photo--market,
  .story-family__photo--booth {
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .story-origin__photo,
  .story-origin__photo--landscape,
  .story-origin__photo--partners,
  .story-origin__photo--harvest,
  .story-origin__photo--cup {
    grid-column: 1;
    height: auto;
    min-height: 0;
  }

  .story-origin__image {
    height: auto;
    min-height: 0;
    aspect-ratio: var(--media-aspect);
  }

  .story-prose {
    font-size: 1rem;
    line-height: 1.75;
  }

  .story-verse {
    padding: 24px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
