:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #68736a;
  --paper: #f7f2e8;
  --paper-soft: #fbfaf5;
  --cream: #fffdf7;
  --forest: #163d2c;
  --leaf: #527d46;
  --moss: #9aa85d;
  --fig: #6f234a;
  --plum: #2f182d;
  --berry: #b94b68;
  --citrus: #f3b33f;
  --clay: #b86c45;
  --sky: #9fc6ca;
  --line: rgba(23, 33, 27, 0.14);
  --shadow: 0 22px 70px rgba(23, 33, 27, 0.16);
  --soft-shadow: 0 12px 36px rgba(23, 33, 27, 0.1);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 61, 44, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper), var(--paper-soft) 46%, #edf4ef);
  background-size: 74px 74px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(243, 179, 63, 0.42);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--forest);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px 36px;
  color: var(--cream);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.solid,
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 8px 26px rgba(23, 33, 27, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: fit-content;
}

.brand-symbol {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  background: rgba(255, 248, 233, 0.96);
  border: 1px solid rgba(255, 253, 247, 0.5);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(22, 61, 44, 0.18);
}

.site-header.solid .brand-symbol,
.site-header.is-scrolled .brand-symbol {
  border-color: rgba(22, 61, 44, 0.18);
}

.brand-name,
.brand-kicker {
  display: block;
  white-space: nowrap;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
}

.brand-kicker {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.72;
  text-transform: uppercase;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.12);
}

.site-header.solid .nav,
.site-header.is-scrolled .nav {
  border-color: rgba(22, 61, 44, 0.12);
  background: rgba(22, 61, 44, 0.05);
}

.nav a {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(255, 253, 247, 0.18);
}

.site-header.solid .nav a:hover,
.site-header.solid .nav a[aria-current="page"],
.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a[aria-current="page"] {
  background: rgba(22, 61, 44, 0.09);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  color: currentColor;
  background: rgba(255, 253, 247, 0.12);
  border: 1px solid rgba(255, 253, 247, 0.24);
  border-radius: var(--radius);
  cursor: pointer;
}

.site-header.solid .menu-toggle,
.site-header.is-scrolled .menu-toggle {
  border-color: rgba(22, 61, 44, 0.16);
  background: rgba(22, 61, 44, 0.05);
}

.menu-line {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 3px;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 18, 13, 0.8), rgba(8, 18, 13, 0.4) 48%, rgba(8, 18, 13, 0.06)),
    linear-gradient(0deg, rgba(8, 18, 13, 0.9), rgba(8, 18, 13, 0.02) 56%);
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 168px 0 190px;
  color: var(--cream);
}

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

.eyebrow.light {
  color: var(--citrus);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: 6.8rem;
  line-height: 0.88;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.86rem;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #172012;
  background: var(--citrus);
  box-shadow: 0 18px 44px rgba(243, 179, 63, 0.28);
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(255, 253, 247, 0.38);
  background: rgba(255, 253, 247, 0.08);
  backdrop-filter: blur(8px);
}

.hero-panel {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  color: var(--cream);
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: var(--radius);
  background: rgba(13, 31, 22, 0.62);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 253, 247, 0.16);
}

.hero-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 0.9;
}

.hero-panel span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 253, 247, 0.78);
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-warm {
  background:
    linear-gradient(135deg, rgba(243, 179, 63, 0.16), rgba(159, 198, 202, 0.2)),
    var(--cream);
}

.intro-section {
  color: var(--cream);
  background: linear-gradient(90deg, var(--forest), var(--plum));
}

.split-intro,
.home-showcase,
.tasting-layout,
.principles {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.split-intro h2,
.section-heading h2,
.showcase-copy h2,
.tasting-layout h2,
.principles h2,
.contact-band h2,
.editorial-copy h2 {
  font-size: 4.5rem;
  line-height: 0.98;
}

.split-intro p:last-child {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 1.18rem;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p,
.showcase-copy p,
.tasting-layout p,
.principles p,
.page-hero p,
.library-copy p,
.about-copy p,
.editorial-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.chapter-grid,
.matrix-grid,
.fig-feature-grid,
.journal-grid,
.principle-grid {
  display: grid;
  gap: 14px;
}

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

.chapter-card,
.matrix-card,
.fig-feature-grid article,
.journal-grid article,
.principle-grid article,
.cultivar-card,
.stat-card,
.family-key,
.note-stack div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: var(--soft-shadow);
}

.chapter-card {
  display: grid;
  min-height: 315px;
  align-content: end;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.chapter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(135deg, var(--accent-a), transparent 58%),
    linear-gradient(45deg, transparent, var(--accent-b));
}

.chapter-card > * {
  position: relative;
}

.chapter-card span,
.matrix-card span,
.fig-feature-grid span,
.journal-grid span,
.principle-grid span {
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chapter-card h3,
.matrix-card h3,
.fig-feature-grid h3,
.journal-grid h3,
.principle-grid h3,
.cultivar-card h3 {
  font-size: 2rem;
  line-height: 1;
}

.chapter-card p,
.matrix-card p,
.fig-feature-grid p,
.journal-grid p,
.principle-grid p,
.cultivar-card p {
  margin: 0;
  color: var(--muted);
}

.fig-card {
  --accent-a: var(--fig);
  --accent-b: var(--citrus);
}

.citrus-card {
  --accent-a: var(--citrus);
  --accent-b: var(--sky);
}

.vine-card {
  --accent-a: var(--leaf);
  --accent-b: var(--berry);
}

.editorial-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 620px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--plum), var(--forest));
}

.editorial-image {
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.editorial-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 72px;
}

.editorial-copy p {
  color: rgba(255, 253, 247, 0.78);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 900;
}

.light-link {
  color: var(--citrus);
}

.home-showcase {
  align-items: center;
}

.image-frame,
.page-hero-image,
.library-hero,
.about-hero {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame {
  min-height: 520px;
  position: relative;
}

.image-frame img,
.page-hero-image img,
.editorial-image img {
  position: absolute;
  inset: 0;
}

.page-main {
  padding-top: 92px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 42px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 70px;
  align-items: center;
}

.page-hero h1,
.library-hero h1,
.about-hero h1 {
  max-width: 780px;
  font-size: 5.4rem;
  line-height: 0.92;
}

.page-hero p {
  max-width: 640px;
  margin-top: 22px;
}

.page-hero-image {
  min-height: 410px;
  position: relative;
}

.collection-tool-section {
  padding-top: 20px;
}

.collection-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 18px;
  margin-bottom: 24px;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  outline: none;
}

.search-field input:focus {
  border-color: rgba(82, 125, 70, 0.5);
  box-shadow: 0 0 0 4px rgba(82, 125, 70, 0.16), var(--soft-shadow);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-pill,
.season-tab {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.filter-pill:hover,
.season-tab:hover {
  border-color: rgba(22, 61, 44, 0.35);
}

.filter-pill.is-active,
.season-tab.is-active {
  color: var(--cream);
  background: var(--forest);
  border-color: var(--forest);
}

.collection-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: start;
}

.collection-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
}

.stat-card,
.family-key {
  padding: 18px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.family-key {
  display: grid;
  gap: 11px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.dot.fig {
  background: var(--fig);
}

.dot.citrus {
  background: var(--citrus);
}

.dot.berry {
  background: var(--berry);
}

.dot.vine {
  background: #7d4a92;
}

.dot.tree {
  background: var(--leaf);
}

.dot.tropical {
  background: var(--sky);
}

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

.cultivar-card {
  position: relative;
  min-height: 206px;
  overflow: hidden;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cultivar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 61, 44, 0.28);
  box-shadow: var(--shadow);
}

.cultivar-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--accent, rgba(22, 61, 44, 0.12));
  opacity: 0.18;
}

.cultivar-card .family {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  color: var(--forest);
  background: rgba(22, 61, 44, 0.08);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cultivar-card h3 {
  position: relative;
  z-index: 1;
  margin: 28px 0 8px;
}

.cultivar-card p {
  position: relative;
  z-index: 1;
}

.library-hero,
.about-hero {
  position: relative;
  display: grid;
  min-height: 680px;
  width: min(var(--max), calc(100% - 40px));
  margin: 26px auto 0;
  align-items: end;
}

.library-hero img,
.about-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.library-hero::after,
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 19, 16, 0.82), rgba(15, 19, 16, 0.38) 52%, rgba(15, 19, 16, 0.08)),
    linear-gradient(0deg, rgba(15, 19, 16, 0.78), transparent 50%);
}

.library-copy,
.about-copy {
  max-width: 720px;
  padding: 64px;
  color: var(--cream);
}

.library-copy p,
.about-copy p {
  margin-top: 22px;
  color: rgba(255, 253, 247, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.28;
}

.fig-matrix-section {
  padding-top: 86px;
}

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

.matrix-card,
.fig-feature-grid article,
.journal-grid article,
.principle-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 20px;
}

.section-plum {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(111, 35, 74, 0.94), rgba(47, 24, 45, 0.96)),
    var(--plum);
}

.light-heading p,
.section-plum .section-heading p {
  color: rgba(255, 253, 247, 0.76);
}

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

.fig-feature-grid article {
  background: rgba(255, 253, 247, 0.1);
  border-color: rgba(255, 253, 247, 0.16);
  box-shadow: none;
}

.fig-feature-grid p {
  color: rgba(255, 253, 247, 0.76);
}

.note-stack {
  display: grid;
  gap: 12px;
}

.note-stack div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 18px;
}

.note-stack strong {
  color: var(--forest);
  text-transform: uppercase;
}

.note-stack span {
  color: var(--muted);
}

.season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.season-card {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: var(--soft-shadow);
  outline: none;
}

.season-visual {
  min-height: 340px;
  background:
    linear-gradient(135deg, rgba(22, 61, 44, 0.82), rgba(111, 35, 74, 0.48)),
    var(--season-image);
  background-position: center;
  background-size: cover;
}

.season-content {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 42px;
}

.season-content span {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.season-content h3 {
  font-size: 3.4rem;
  line-height: 0.98;
}

.season-content p {
  margin: 0;
  color: var(--muted);
}

.season-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.season-list li {
  padding: 12px;
  color: var(--forest);
  background: rgba(22, 61, 44, 0.07);
  border-radius: var(--radius);
  font-weight: 900;
}

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

.principles {
  align-items: start;
}

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

.contact-band {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--forest), var(--plum));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  max-width: 760px;
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 253, 247, 0.78);
  background: var(--forest);
}

.footer-inner {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: var(--cream);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--citrus);
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 5.6rem;
  }

  .split-intro h2,
  .section-heading h2,
  .showcase-copy h2,
  .tasting-layout h2,
  .principles h2,
  .contact-band h2,
  .editorial-copy h2 {
    font-size: 3.7rem;
  }

  .page-hero h1,
  .library-hero h1,
  .about-hero h1 {
    font-size: 4.4rem;
  }

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

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

@media (max-width: 880px) {
  .site-header {
    padding: 14px 18px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex !important;
    flex-direction: column;
    position: fixed;
    top: 14px;
    right: 18px;
    z-index: 80;
    color: var(--cream);
    background: var(--forest);
    border-color: rgba(255, 253, 247, 0.36);
    box-shadow: 0 10px 30px rgba(22, 61, 44, 0.18);
  }

  .menu-toggle::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 3px;
    box-shadow: 0 7px 0 currentColor;
  }

  .menu-toggle .menu-line {
    display: none;
  }

  .site-header.solid .menu-toggle,
  .site-header.is-scrolled .menu-toggle {
    color: var(--cream);
    background: var(--forest);
    border-color: rgba(255, 253, 247, 0.36);
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    color: var(--ink);
    background: rgba(255, 253, 247, 0.96);
    border-color: rgba(22, 61, 44, 0.14);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav {
    display: flex;
  }

  .nav a {
    min-height: 44px;
  }

  .split-intro,
  .home-showcase,
  .tasting-layout,
  .principles,
  .page-hero,
  .editorial-band,
  .collection-toolbar,
  .collection-layout,
  .season-card {
    grid-template-columns: 1fr;
  }

  .filter-group {
    justify-content: flex-start;
  }

  .collection-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-key {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-copy {
    padding: 52px 28px;
  }

  .editorial-image {
    min-height: 460px;
  }

  .library-hero,
  .about-hero {
    min-height: 600px;
  }

  .journal-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .contact-band,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-symbol {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-kicker {
    display: none;
  }

  .menu-toggle {
    right: auto;
    left: min(calc(100% - 62px), 328px);
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 18, 13, 0.76), rgba(8, 18, 13, 0.38) 48%, rgba(8, 18, 13, 0.9)),
      linear-gradient(90deg, rgba(8, 18, 13, 0.46), transparent);
  }

  .hero-content {
    width: min(356px, calc(100% - 36px));
    margin-left: 18px;
    padding: 126px 0 24px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-lede {
    font-size: 1.28rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(356px, calc(100% - 36px));
    margin: 0 0 34px 18px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 13px 16px;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 253, 247, 0.16);
    border-left: 0;
  }

  .hero-panel strong {
    font-size: 2.2rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-inner,
  .page-hero,
  .library-hero,
  .about-hero,
  .contact-band {
    width: calc(100% - 32px);
    max-width: var(--max);
  }

  .split-intro h2,
  .section-heading h2,
  .showcase-copy h2,
  .tasting-layout h2,
  .principles h2,
  .contact-band h2,
  .editorial-copy h2 {
    font-size: 2.35rem;
  }

  .page-hero h1,
  .library-hero h1,
  .about-hero h1 {
    max-width: 100%;
    font-size: 2.1rem;
    line-height: 1;
  }

  .page-hero p {
    max-width: 100%;
  }

  .principles h2 {
    max-width: 330px;
    font-size: 2.1rem;
  }

  .page-main {
    padding-top: 78px;
  }

  .page-hero {
    width: 100%;
    max-width: 100%;
    padding: 50px 16px;
    overflow: hidden;
  }

  .page-hero > div,
  .page-hero-image {
    width: 100%;
    max-width: 100%;
  }

  .page-hero > div:first-child {
    max-width: 330px;
  }

  .page-hero-image,
  .image-frame {
    min-height: 320px;
  }

  .library-copy,
  .about-copy {
    max-width: 330px;
    padding: 32px 24px;
  }

  .library-copy p,
  .about-copy p {
    max-width: 300px;
    font-size: 1.1rem;
  }

  .chapter-grid,
  .cultivar-grid,
  .matrix-grid,
  .fig-feature-grid,
  .collection-aside,
  .family-key,
  .season-list {
    grid-template-columns: 1fr;
  }

  .chapter-card {
    min-height: 245px;
  }

  .note-stack div {
    grid-template-columns: 1fr;
  }

  .season-content {
    padding: 26px;
  }

  .season-content h3 {
    font-size: 2.35rem;
  }
}

@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;
  }
}
