:root {
  color-scheme: light;

  --ink: #2c332e;
  --muted: #687068;
  --green: #315340;
  --cream: #f8f6ef;
  --line: #e5e5db;
  --accent: #a64d2d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button, input {
  font: inherit;
}

button, a, input {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 20;
  padding: 12px;
  background: #fff;
}

.skip-link:focus {
  top: 12px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 9px max(5%, calc((100% - 1200px) / 2));
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.top-bar div {
  display: flex;
  gap: 24px;
}

.top-bar a {
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: auto;
  padding: 30px 60px;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.2;
}

.brand img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.brand-accent {
  color: var(--accent);
  margin-left: 4px;
}

.brand small {
  display: block;
  margin-top: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
}

nav a {
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover, nav a[aria-current] {
  color: var(--accent);
}

.nav-search {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.menu-toggle {
  display: none;
  padding: 8px 15px;
  border: 1px solid var(--green);
  color: var(--green);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1440px;
  margin: auto;
  background: var(--cream);
}

.hero-copy {
  align-self: center;
  padding: 65px max(40px, 12%);
}

.hero-copy p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
}

.button:hover {
  background: #233e2f;
}

.button span {
  margin-left: 12px;
}

.button-outline {
  color: var(--green);
  background: transparent;
}

.button-outline:hover {
  color: #fff;
}

.text-link {
  display: inline-block;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-copy .text-link {
  display: block;
  margin-top: 24px;
}

.hero-photo {
  position: relative;
  min-height: 530px;
  text-decoration: none;
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: block;
  padding: 20px 24px;
  background: rgb(255 255 255 / 95%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero-caption small {
  display: block;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.hero-caption span {
  float: right;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 72px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
  gap: 20px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

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

.card {
  min-width: 0;
}

.card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card-image:hover img {
  transform: scale(1.035);
}

.card-copy {
  padding-top: 22px;
}

.card-copy .eyebrow {
  margin-bottom: 10px;
}

.card-copy h3 a {
  text-decoration: none;
}

.card-copy h3 a:hover {
  color: var(--accent);
}

.card-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.card-meta {
  color: var(--muted);
  font-size: 0.7rem;
}

.browse-band {
  padding: 55px 24px;
  text-align: center;
  background: var(--cream);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px;
}

.chip {
  padding: 8px 18px;
  border: 1px solid #c5cdbf;
  color: var(--green);
  font-size: 0.8rem;
  text-decoration: none;
  background: #fff;
}

.chip:hover {
  background: var(--green);
  color: #fff;
}

.about-band {
  text-align: center;
  padding: 68px 24px;
  background: var(--cream);
}

.about-band p:not(.eyebrow) {
  max-width: 530px;
  margin: 0 auto 24px;
  color: var(--muted);
}

footer {
  max-width: 1200px;
  margin: auto;
  padding: 55px 0 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  text-decoration: none;
}

footer p {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.75rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-heading {
  padding: 65px 24px;
  text-align: center;
  background: var(--cream);
}

.page-heading h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.page-heading > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
}

.article {
  max-width: 900px;
  margin: auto;
  padding: 60px 0;
}

.article-heading {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.article-heading h1 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.article-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.article-intro {
  font-size: 1.15rem;
  color: var(--muted);
}

.article-cover {
  margin: 35px 0;
}

.article-cover img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.prose {
  max-width: 740px;
  margin: auto;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

.prose p {
  margin-bottom: 25px;
}

.prose img {
  margin: auto;
}

.prose figure {
  margin: 35px 0;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
}

.prose iframe {
  max-width: 100%;
}

.privacy-update {
  background: var(--cream);
  padding: 24px;
}

.recipe-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.recipe-box {
  padding: 40px;
  margin-top: 40px;
  border: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.recipe-box > h2 {
  font-size: 2rem;
}

.recipe-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 20px 0;
  margin-bottom: 30px;
  border-block: 1px solid var(--line);
}

.recipe-details dt {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.recipe-details dd {
  margin: 0;
  font-size: 0.95rem;
}

.recipe-columns {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 45px;
}

.ingredients {
  padding: 0;
  list-style: none;
}

.ingredients li {
  margin-bottom: 13px;
  font-size: 0.9rem;
}

.ingredients label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
}

.ingredients input {
  accent-color: var(--green);
}

.ingredients input:checked + span {
  text-decoration: line-through;
  color: var(--muted);
}

.ingredients small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.ingredient-heading {
  font-weight: 700;
  padding-top: 10px;
}

.instructions {
  padding-left: 24px;
}

.instructions li {
  margin-bottom: 25px;
  padding-left: 8px;
}

.instructions li::marker {
  color: var(--accent);
  font-weight: 700;
}

.instructions img {
  margin-top: 16px;
  max-height: 350px;
  width: 100%;
  object-fit: cover;
}

.recipe-notes {
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.recipe-notes p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.recipe-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.search-form {
  max-width: 720px;
  margin: 0 auto 35px;
}

.search-form label {
  display: block;
  margin-bottom: 12px;
}

.search-form > div {
  display: flex;
  gap: 10px;
}

.search-form input {
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--muted);
  border-radius: 0;
}

#search-status {
  color: var(--muted);
  margin-bottom: 30px;
}

@media (width <= 1300px) {
  .section, footer {
    margin-inline: 5%;
  }

  .site-header {
    padding-inline: 5%;
  }

  nav {
    gap: 16px;
  }
}

@media (width <= 1000px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 24px;
    gap: 20px;
  }

  .brand {
    font-size: 1.7rem;
  }

  .brand small {
    font-size: 0.5rem;
  }

  .brand img {
    width: 45px;
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  nav.is-open {
    display: flex;
  }

  .hero-copy {
    padding: 40px 30px;
  }

  .hero-photo {
    min-height: 460px;
  }

  .article {
    margin-inline: 5%;
  }
}

@media (width <= 650px) {
  .top-bar {
    justify-content: center;
  }

  .top-bar div {
    display: none;
  }

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

  .hero-copy {
    padding: 45px 7%;
  }

  .hero-photo {
    min-height: 380px;
  }

  .hero-caption {
    inset: auto 20px 20px;
    font-size: 1.15rem;
  }

  .section {
    padding-block: 45px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .card-copy {
    padding-top: 16px;
  }

  .card-image {
    aspect-ratio: 3 / 2;
  }

  .page-heading {
    padding-block: 45px;
  }

  .article {
    padding-block: 40px;
  }

  .recipe-box {
    padding: 24px 18px;
  }

  .recipe-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recipe-details {
    gap: 18px;
  }

  .recipe-actions {
    flex-wrap: wrap;
  }

  .recipe-gallery {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .footer-links {
    gap: 16px;
  }

  .search-form > div {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-image img {
    transition: none;
  }
}

@media print {
  .top-bar, .site-header, footer, .skip-link, .recipe-actions, .article-cover, .article-meta, .chip-list, .recipe-gallery, .article + .section {
    display: none;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .article {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .article-heading h1 {
    font-size: 24pt;
  }

  .recipe-box {
    padding: 0;
    border: 0;
  }

  .recipe-box > h2 {
    display: none;
  }

  .recipe-columns {
    grid-template-columns: 1fr 2fr;
    gap: 30px;
  }

  .ingredients input {
    display: none;
  }

  .ingredients input:checked + span {
    color: #000;
    text-decoration: none;
  }

  .instructions li {
    break-inside: avoid;
  }

  .instructions img {
    max-height: 180px;
    object-fit: contain;
  }

  a {
    text-decoration: none;
  }
}
