/*
Theme Name: Stableside Farmstand
Author: Third Oak Productions LLC
Version: 1.0.0
Description: Custom Stableside theme adapted from the supplied homepage design.
Text Domain: stableside
Requires PHP: 8.0
*/
:root {
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --paper-deep: #eee5d8;
  --ink: #2d2923;
  --muted: #6f685e;
  --red: #a5272a;
  --red-dark: #7e171c;
  --olive: #797244;
  --olive-dark: #54512e;
  --line: #d9cfc1;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Montserrat, "Avenir Next", "Century Gothic", Arial, sans-serif;
  --shadow: 0 16px 45px rgba(55, 43, 30, 0.11);
  --content: min(1280px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 18px; font-weight: 400; line-height: 1.58; letter-spacing: .002em; }
body.menu-open { overflow: hidden; }
img { display: block; width: auto; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.keep-together { white-space: nowrap; }
p, li, blockquote { text-wrap: pretty; }
.content-width { width: var(--content); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 15px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.announcement-bar { min-height: 36px; padding: 7px max(24px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--olive-dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.announcement-bar p { margin: 0; }
.announcement-bar nav { display: flex; gap: 25px; }
.announcement-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: relative; z-index: 50; background: rgba(255, 253, 248, .98); border-bottom: 1px solid rgba(113, 96, 75, .18); }
.nav-shell { width: min(1320px, calc(100% - 50px)); min-height: 100px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); font-size: 14px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.primary-nav--right { justify-content: flex-end; }
.primary-nav a { position: relative; padding-block: 8px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--red); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.wordmark { display: flex; flex-direction: column; align-items: center; color: var(--red-dark); line-height: 1; }
.wordmark-main { font-family: var(--serif); font-size: clamp(32px, 3vw, 44px); letter-spacing: .14em; text-transform: uppercase; }
.wordmark-sub { margin-top: 5px; font-family: var(--serif); font-size: 16px; letter-spacing: .42em; text-transform: uppercase; }
.wordmark-meta { margin-top: 8px; color: var(--olive); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.search-button { width: 39px; height: 39px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.search-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; display: grid; grid-template-columns: .98fr 1.02fr; grid-template-rows: 695px auto; background: var(--paper-deep); overflow: hidden; }
.hero-content { position: relative; z-index: 2; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 42px 40px max(42px, calc((100vw - 1280px) / 2)); background: linear-gradient(135deg, #fbf8f2 0%, #f3ebdf 100%); }
.hero-content > * { max-width: 590px; }
.hero-media { grid-column: 2; grid-row: 1; min-width: 0; min-height: 695px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.03; letter-spacing: .012em; text-wrap: balance; }
.hero h1 { margin: 0; font-size: clamp(48px, 4.15vw, 59px); letter-spacing: .005em; }
.flourish { display: flex; align-items: center; width: 140px; gap: 10px; margin: 17px 0; color: var(--olive); }
.flourish span { flex: 1; height: 1px; background: currentColor; }
.flourish b { font-size: 14px; font-weight: 400; }
.hero-copy { max-width: 565px; margin: 0 0 22px; font-size: 18px; line-height: 1.52; text-wrap: pretty; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 800; letter-spacing: .085em; line-height: 1.2; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; cursor: pointer; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--red { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(126, 23, 28, .16); }
.button--red:hover { background: var(--red-dark); }
.button--outline { border-color: var(--red); background: rgba(255,255,255,.35); color: var(--red-dark); }
.button--outline:hover { background: var(--red-dark); color: #fff; }
.button--olive { background: var(--olive); color: #fff; }
.hero-values { position: relative; z-index: 3; grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; padding: 15px max(32px, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-block: 1px solid rgba(120, 112, 68, .17); }
.hero-values div { min-height: 98px; display: grid; place-items: center; align-content: center; gap: 2px; padding: 13px 20px; text-align: center; border-right: 1px solid rgba(121,114,68,.24); }
.hero-values div:last-child { border: 0; }
.hero-values span { color: var(--olive); font-family: var(--serif); font-size: 30px; line-height: 1; }
.hero-values strong { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hero-values small { color: var(--muted); font-size: 14px; }

.section { padding: clamp(58px, 6vw, 80px) 0; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2, .split-heading h2, .meet-copy h2, .weekend-copy h2, .newsletter-card h2 { margin: 0; font-size: clamp(39px, 4.6vw, 62px); letter-spacing: .008em; }
.section-heading > p:last-child { color: var(--muted); text-wrap: pretty; }
.swirl { display: block; margin-top: 9px; color: var(--red); font-family: var(--serif); font-size: 29px; transform: rotate(12deg); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.category-card { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; border-radius: 3px; background: var(--ink); box-shadow: 0 8px 24px rgba(60, 48, 35, .1); }
.category-card::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(35,29,24,.3)); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.category-card span { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; min-height: 54px; display: flex; align-items: center; justify-content: center; padding: 10px 8px; background: rgba(48, 43, 36, .72); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .065em; line-height: 1.25; text-align: center; text-transform: uppercase; backdrop-filter: blur(2px); }
.category-card:hover img { transform: scale(1.045); }
.centered-action { display: flex; justify-content: center; margin-top: 30px; }

.currently-section { background: var(--paper); border-block: 1px solid var(--line); }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 55px; margin-bottom: 30px; }
.split-heading p:last-child { margin: 0 0 5px; color: var(--muted); }
.split-heading--single { display: block; }
.recipe-grid { display: grid; gap: 17px; }
.recipe-grid--four { grid-template-columns: repeat(4, 1fr); }
.recipe-card { background: var(--cream); border: 1px solid var(--line); }
.recipe-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.card-copy { padding: 19px 20px 21px; }
.card-copy small, .course-card small, .story-card small { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.card-copy h3 { min-height: 56px; margin: 7px 0 14px; font-size: 24px; line-height: 1.17; }
.card-copy span { color: var(--olive-dark); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.meet-section { position: relative; overflow: hidden; padding-top: 92px; padding-bottom: 112px; }
.meet-section::before { content: "S"; position: absolute; right: 2vw; top: -120px; color: rgba(121,114,68,.055); font-family: var(--serif); font-size: 520px; line-height: 1; }
.meet-layout { position: relative; display: grid; grid-template-columns: 1fr .96fr; align-items: center; column-gap: clamp(50px, 6vw, 82px); }
.photo-frame { position: relative; padding: 14px; border: 1px solid #c8b99f; background: var(--paper); box-shadow: var(--shadow); }
.photo-frame::before { content: ""; position: absolute; inset: 28px -25px -28px 30px; z-index: -1; background: var(--paper-deep); }
.photo-frame { grid-column: 1; grid-row: 1 / span 2; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center 32%; }
.meet-copy { grid-column: 2; grid-row: 1; align-self: end; }
.meet-copy .lead { font-family: var(--serif); font-size: 24px; line-height: 1.45; }
.meet-copy > p:not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--olive-dark); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.meet-note { position: relative; grid-column: 2; grid-row: 2; align-self: start; max-width: 500px; margin: 24px 0 8px; padding: 24px 30px; background: var(--red); color: #fff; font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1.38; letter-spacing: .006em; box-shadow: var(--shadow); }

.built-section { color: #fff; background: var(--olive-dark); }
.light-heading { max-width: 980px; }
.light-heading .eyebrow { color: #efd7bf; }
.light-heading > p:last-child { color: rgba(255,255,255,.72); }
.story-recipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.story-card { position: relative; aspect-ratio: 1; overflow: hidden; background: #211f18; }
.story-card--large { grid-row: auto; }
.story-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .4s ease, opacity .4s ease; }
.story-card::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent, rgba(24,22,17,.92)); }
.story-card div { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 22px; }
.story-card small { color: #f4d7c1; }
.story-card h3 { margin: 7px 0 12px; font-size: 28px; }
.story-card a { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.story-card:hover img { transform: scale(1.035); opacity: .92; }

.newsletter-section { padding-block: 64px; background: var(--paper-deep); }
.newsletter-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; padding: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(60, 44, 30, .1); }
.newsletter-image { min-width: 0; min-height: 440px; overflow: hidden; }
.newsletter-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.newsletter-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vw, 70px); }
.newsletter-card h2 { font-size: clamp(31px, 3.2vw, 44px); }
.newsletter-card p { margin-bottom: 0; color: var(--muted); font-size: 16px; }
.newsletter-form { position: relative; display: grid; grid-template-columns: 1fr auto; margin-top: 28px; }
.newsletter-form input { min-width: 0; min-height: 52px; padding: 13px 17px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.newsletter-form .button { border-radius: 0; }
.form-message { position: absolute; top: calc(100% + 6px); left: 0; font-size: 12px; }

.school-section { background: var(--paper); }
.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.school-card { background: var(--cream); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(59,46,32,.07); }
.school-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.school-card > div { position: relative; padding: 24px 27px 27px; }
.school-card > div > span { position: absolute; right: 24px; top: 18px; color: rgba(165,39,42,.16); font-family: var(--serif); font-size: 52px; }
.school-card h3 { position: relative; margin: 0 0 11px; font-size: 31px; }
.school-card p { color: var(--muted); }

.learn-section { background: #ece6da; }
.learn-section .split-heading { grid-template-columns: minmax(0, 1.7fr) minmax(275px, .55fr); }
#learn-title { font-size: clamp(43px, 4vw, 57px); }
.course-grid { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 18px; align-items: stretch; }
.course-card { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(55,43,30,.08); }
.course-image { position: relative; }
.course-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.course-card--featured .course-image span { position: absolute; top: 18px; left: 18px; padding: 7px 11px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.course-card > div:last-child { padding: 23px 25px 27px; }
.course-card h3, .bundle-card h3 { margin: 8px 0 14px; font-size: 34px; }
.course-card p, .bundle-card p { color: var(--muted); }
.bundle-card { display: flex; flex-direction: column; justify-content: center; padding: 31px; border: 1px solid rgba(255,255,255,.22); background: var(--olive-dark); color: #fff; }
.bundle-card .eyebrow { color: #f0d8c1; }
.bundle-card p { color: rgba(255,255,255,.76); }
.bundle-card ul { margin: 12px 0 28px; padding: 0; list-style: none; }
.bundle-card li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.bundle-card .text-link { color: #fff; }

.weekend-section { background: var(--paper); }
.weekend-card { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 510px; background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); }
.weekend-image { overflow: hidden; }
.weekend-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 74%; transform: scale(1.16); transform-origin: center 76%; }
.weekend-copy { padding: clamp(38px, 4vw, 56px); }
.weekend-copy h2 { margin-bottom: 22px; }
.weekend-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 22px; border-block: 1px solid var(--line); }
.weekend-details div { display: flex; flex-direction: column; }
.weekend-details small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.weekend-details strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.weekend-details span { color: var(--muted); font-size: 14px; }
.weekend-copy h3 { margin: 28px 0 10px; font-size: 24px; }
.menu-list { margin: 0 0 26px; padding: 0; list-style: none; }
.menu-list li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px dotted #c8bdad; }
.menu-list em { color: var(--muted); font-size: 14px; }
.social-proof-section { overflow: hidden; background: var(--cream); }
.proof-layout { display: grid; grid-template-columns: .98fr 1.02fr; align-items: stretch; height: 600px; gap: 38px; }
.community-photo { position: relative; overflow: hidden; }
.community-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 36%; }
.community-photo span { position: absolute; right: -28px; bottom: 35px; max-width: 230px; padding: 18px 22px; background: var(--paper); color: var(--red); font-family: var(--serif); font-size: 21px; font-style: italic; transform: rotate(-3deg); box-shadow: var(--shadow); }
.testimonials { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.testimonials blockquote { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 20px 28px; background: var(--paper); border: 1px solid var(--line); }
.stars { color: var(--red); font-size: 15px; letter-spacing: .2em; }
.testimonials blockquote p { margin: 8px 0 10px; font-family: var(--serif); font-size: clamp(20px, 1.75vw, 25px); line-height: 1.3; letter-spacing: .006em; }
.testimonials cite { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-footer { padding-top: 70px; color: #302d28; background: #eee7db; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.65fr repeat(3, .68fr) .9fr; gap: 32px; padding-bottom: 55px; }
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo { width: clamp(165px, 13vw, 190px); height: auto; }
.footer-brand p { max-width: 355px; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(84,81,46,.45); border-radius: 50%; color: var(--olive-dark); transition: background .2s ease, color .2s ease, transform .2s ease; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--olive-dark); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.footer-social svg rect, .footer-social svg circle { fill: none; }
.footer-grid > div:not(.footer-brand):not(.footer-photo) { display: flex; flex-direction: column; gap: 7px; }
.footer-grid h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a:not(.wordmark) { color: #4d4841; font-size: 15px; }
.footer-grid a:hover { color: var(--red); }
.footer-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; filter: grayscale(1) sepia(.12); }
.footer-photo span { display: block; margin-top: 8px; color: var(--red); font-family: var(--serif); font-size: 15px; font-style: italic; }
.footer-bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #fff; font-size: 13px; background: var(--olive-dark); box-shadow: 0 0 0 100vmax var(--olive-dark); clip-path: inset(0 -100vmax); }
.footer-bottom nav { display: flex; gap: 18px; }

.search-dialog { width: min(700px, calc(100% - 32px)); padding: 55px; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.search-dialog::backdrop { background: rgba(39,35,30,.72); backdrop-filter: blur(4px); }
.search-dialog label { display: block; margin-bottom: 25px; font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.search-dialog form > div { display: grid; grid-template-columns: 1fr auto; }
.search-dialog input { min-width: 0; padding: 15px; border: 1px solid var(--line); }
.search-dialog p { color: var(--muted); font-size: 13px; }
.dialog-close { position: absolute; top: 12px; right: 18px; padding: 0; border: 0; background: transparent; font-family: var(--serif); font-size: 34px; cursor: pointer; }

:focus-visible { outline: 3px solid #d59f46; outline-offset: 3px; }

@media (max-width: 1050px) {
  .primary-nav { gap: 15px; font-size: 11px; }
  .nav-shell { gap: 18px; }
  .wordmark-main { font-size: 31px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .bundle-card { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-photo { display: none; }
}

@media (max-width: 800px) {
  :root { --content: min(100% - 34px, 680px); }
  .announcement-bar { justify-content: center; }
  .announcement-bar nav { display: none; }
  .nav-shell { width: calc(100% - 32px); min-height: 88px; grid-template-columns: 44px 1fr 44px; gap: 10px; }
  .primary-nav { display: none; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 23px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-shell::after { content: "⌕"; grid-column: 3; grid-row: 1; justify-self: center; font-family: var(--serif); font-size: 28px; }
  .wordmark { grid-column: 2; }
  .wordmark-main { font-size: clamp(24px, 8vw, 34px); }
  .wordmark-sub { font-size: 11px; }
  .mobile-menu { position: absolute; inset: 100% 0 auto; display: grid; max-height: calc(100vh - 124px); overflow-y: auto; padding: 22px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a, .mobile-menu button { padding: 14px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hero-media { grid-column: 1; grid-row: 1; min-height: 0; height: 390px; }
  .hero-media img { object-position: center 55%; }
  .hero-content { grid-column: 1; grid-row: 2; padding: 42px max(17px, calc((100vw - 680px) / 2)); }
  .hero-values { grid-column: 1; grid-row: 3; }
  .hero h1 { font-size: clamp(45px, 12vw, 68px); }
  .hero-copy { font-size: 16px; }
  .hero-values { grid-template-columns: repeat(2, 1fr); }
  .hero-values div { min-height: 130px; }
  .hero-values div:nth-child(2) { border-right: 0; }
  .hero-values div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-values { margin: 0; padding: 14px max(17px, calc((100vw - 680px) / 2)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid--four { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 15px; }
  .learn-section .split-heading { grid-template-columns: 1fr; align-items: start; }
  .meet-layout { grid-template-columns: 1fr; }
  .photo-frame { grid-column: auto; grid-row: auto; max-width: 520px; margin: auto; }
  .meet-copy { grid-column: auto; grid-row: auto; margin-top: 45px; }
  .meet-note { grid-column: auto; grid-row: auto; margin-top: 20px; justify-self: start; }
  .story-recipe-grid { grid-template-columns: 1fr 1fr; }
  .story-card--large { grid-column: auto; grid-row: auto; }
  .newsletter-card { grid-template-columns: 1fr; min-height: 0; }
  .newsletter-image { min-height: 0; aspect-ratio: 16 / 9; }
  .newsletter-content { padding: 42px; }
  .school-grid { grid-template-columns: 1fr; }
  .school-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .school-card img { height: 100%; aspect-ratio: auto; }
  .course-grid { grid-template-columns: 1fr; }
  .bundle-card { grid-column: auto; }
  .weekend-card { grid-template-columns: 1fr; }
  .weekend-image { grid-row: 1; height: 410px; }
  .weekend-copy { grid-row: 2; }
  .proof-layout { grid-template-columns: 1fr; gap: 50px; }
  .proof-layout { height: auto; }
  .community-photo { max-width: 540px; }
  .community-photo img { height: auto; aspect-ratio: 4 / 3; object-position: center 36%; }
  .community-photo span { right: -8px; }
  .testimonials { grid-template-rows: auto; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 25px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .announcement-bar { font-size: 11px; text-align: center; }
  .wordmark-meta { display: none; }
  .hero-media { height: 310px; }
  .hero-content { padding-top: 36px; padding-bottom: 40px; }
  .hero-values div { padding: 16px 10px; }
  .hero-values small { max-width: 135px; }
  .button-row .button { flex: 1 1 150px; }
  .section { padding-block: 54px; }
  .section-heading h2, .split-heading h2, .meet-copy h2, .weekend-copy h2 { font-size: 40px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .recipe-grid--four { grid-template-columns: 1fr; }
  .card-copy h3 { min-height: auto; }
  .story-recipe-grid { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .story-recipe-grid::-webkit-scrollbar { display: none; }
  .story-card { min-width: 82%; height: 340px; scroll-snap-align: start; }
  .newsletter-card { grid-template-columns: 1fr; padding: 0; text-align: center; }
  .newsletter-image { min-height: 0; aspect-ratio: 4 / 3; }
  .newsletter-content { padding: 34px 24px 38px; }
  .newsletter-form { grid-template-columns: 1fr; gap: 8px; }
  .form-message { position: static; }
  .school-card { grid-template-columns: 1fr; }
  .school-card img { height: auto; aspect-ratio: 16 / 9; }
  .course-card > div:last-child, .bundle-card { padding: 25px; }
  .weekend-image { height: 270px; }
  .weekend-image img { object-position: center 70%; transform: scale(1.08); }
  .weekend-copy { padding: 46px 25px 35px; }
  .weekend-details { grid-template-columns: 1fr; }
  .menu-list li { flex-direction: column; gap: 0; }
  .community-photo img { min-height: 0; }
  .community-photo { overflow: visible; margin-bottom: 20px; }
  .community-photo span { right: 8px; bottom: -22px; max-width: 190px; padding: 12px 16px; font-size: 18px; }
  .testimonials blockquote { padding: 27px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo { width: 155px; }
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 18px; }
  .footer-bottom nav { flex-wrap: wrap; }
  .footer-bottom > span { display: none; }
  .search-dialog { padding: 55px 24px 35px; }
  .search-dialog form > div { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
