/*
Theme Name: Sim Village Cooking
Theme URI: https://www.youtube.com/@SimVillageCooking
Author: Sim Village Cooking
Description: A responsive one-page WordPress theme for traditional food and mountain-life films from Azerbaijan.
Version: 2.1.9
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: sim-village-cooking
*/

/*
 * SIM VILLAGE COOKING - STYLE MAP
 * 01. Design tokens and global rules
 * 02. Header and navigation
 * 03. Hero
 * 04. Recipe/story cards
 * 05. Video detail
 * 06. Village-life feature
 * 07. Shorts film reel
 * 08. About
 * 09. Contact
 * 10. Footer
 * 11. Accessibility and responsive breakpoints
 */

/* 01. DESIGN TOKENS AND GLOBAL RULES */

:root {
  --milk: #f7f3e9;
  --paper: #fffdf7;
  --sand: #ded0b8;
  --olive: #52603b;
  --olive-dark: #354027;
  --sage: #8c9875;
  --oxblood: #7b302b;
  --ink: #25261f;
  --muted: #6e6d62;
  --line: rgba(37, 38, 31, 0.17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0.24;
  pointer-events: none;
  background-image: radial-gradient(rgba(37, 38, 31, 0.18) 0.55px, transparent 0.55px);
  background-size: 5px 5px;
}

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

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

.section-shell {
  width: min(1480px, calc(100% - 128px));
  margin-inline: auto;
}

/* 02. HEADER AND NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 18px max(32px, calc((100vw - 1480px) / 2));
  background: rgba(247, 243, 233, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  border: 1px solid rgba(53, 64, 39, 0.35);
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(37, 38, 31, 0.12);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #58594e;
  font-size: 0.83rem;
  font-weight: 700;
}

.desktop-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--oxblood);
}

.social-icons {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.desktop-socials {
  justify-self: end;
}

.social-icon-item {
  position: relative;
}

.social-icon-link {
  position: relative;
  overflow: hidden;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d4d4d;
  background: #fff;
  border: 1px solid rgba(37, 38, 31, 0.1);
  border-radius: 50%;
  transition: color 300ms ease-in-out, box-shadow 300ms ease-in-out, transform 300ms ease-in-out;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  color: #fff;
  box-shadow: 3px 2px 45px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.social-icon-link svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
}

.social-icon-fill {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: #000;
  transition: height 300ms ease-in-out;
}

.social-icon-link:hover .social-icon-fill,
.social-icon-link:focus-visible .social-icon-fill {
  height: 100%;
}

.social-icon-link[data-social="tiktok"] .social-icon-fill,
.social-icon-link[data-social="tiktok"] + .social-tooltip {
  background: #111;
}

.social-icon-link[data-social="instagram"] .social-icon-fill,
.social-icon-link[data-social="instagram"] + .social-tooltip {
  background: linear-gradient(45deg, #405de6, #5b51db, #b33ab4, #c135b4, #e1306c, #fd1f1f);
}

.social-icon-link[data-social="youtube"] .social-icon-fill,
.social-icon-link[data-social="youtube"] + .social-tooltip {
  background: #f00;
}

.social-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 90;
  padding: 6px 10px;
  color: #fff;
  border-radius: 5px;
  font-size: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 300ms ease, transform 300ms ease, visibility 300ms ease;
  white-space: nowrap;
}

.social-icon-item:hover .social-tooltip,
.social-icon-link:focus-visible + .social-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Restoring focus after the account dialog closes must not pin this tooltip. */
.auth-menu-item:not(:hover) .social-tooltip {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
}

.mobile-menu {
  display: none;
  justify-self: end;
  position: relative;
}

.mobile-menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(430px, calc(100vw - 36px));
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  display: grid;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(37, 38, 31, 0.16);
}

.mobile-menu nav a {
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.mobile-menu nav a:hover,
.mobile-menu nav a:focus-visible {
  background: var(--milk);
}

.mobile-social-icons {
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 13px 4px;
}

.mobile-menu nav .social-icon-link {
  padding: 0;
}

/* 02B. OPTIONAL SEASON NAVIGATION */
.nav-home-menu {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-block: -22px;
  padding-block: 22px;
}

.season-dropdown {
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  z-index: 100;
  width: 184px;
  display: grid;
  gap: 3px;
  padding: 8px;
  background: rgba(255, 253, 247, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(37, 38, 31, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.season-dropdown::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
  content: "";
}

.desktop-nav .season-dropdown a {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.8rem;
}

.desktop-nav .season-dropdown a:hover,
.desktop-nav .season-dropdown a:focus-visible {
  color: var(--olive-dark);
  background: rgba(222, 208, 184, 0.38);
}

.nav-home-menu:hover .season-dropdown,
.nav-home-menu:has(> a:focus-visible) .season-dropdown,
.season-dropdown:focus-within {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-home-menu.is-route-closing .season-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
}

.mobile-season-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 7px 10px;
  padding: 11px;
  background: rgba(222, 208, 184, 0.26);
  border: 1px solid rgba(37, 38, 31, 0.08);
  border-radius: 12px;
}

.mobile-season-links > span {
  grid-column: 1 / -1;
  padding: 0 3px 5px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu nav .mobile-season-links a {
  padding: 9px 5px;
  text-align: center;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(37, 38, 31, 0.08);
  border-radius: 8px;
  font-size: 0.76rem;
}


/* 02A. AUTHENTICATION PANEL */

body.auth-modal-open {
  overflow: hidden;
}

.auth-modal-backdrop[hidden],
.auth-form[hidden],
.auth-tabs[hidden] {
  display: none;
}

.auth-logout {
  display: grid;
  place-items: center;
  margin-top: 22px;
}

.auth-status.is-error {
  color: var(--oxblood);
  background: rgba(123, 48, 43, 0.09);
  border-color: rgba(123, 48, 43, 0.2);
}

.auth-icon-button {
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.social-icon-link[data-social="login"] .social-icon-fill,
.social-icon-link[data-social="login"] + .social-tooltip {
  background: var(--olive-dark);
}

.auth-person-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: block;
}

.auth-person-icon i,
.auth-person-icon b {
  position: absolute;
  left: 50%;
  display: block;
  border: 2px solid currentColor;
  transform: translateX(-50%);
}

.auth-person-icon i {
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.auth-person-icon b {
  bottom: 1px;
  width: 20px;
  height: 10px;
  border-radius: 12px 12px 5px 5px;
  border-bottom-width: 0;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(24, 27, 20, 0.66);
  backdrop-filter: blur(8px);
  animation: auth-backdrop-in 180ms ease-out both;
}

.auth-dialog {
  position: relative;
  width: min(100%, 470px);
  max-height: min(820px, calc(100vh - 56px));
  overflow-y: auto;
  padding: 38px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(222, 208, 184, 0.24), transparent 130px),
    var(--paper);
  border: 1px solid rgba(53, 64, 39, 0.28);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(18, 22, 15, 0.34);
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
  animation: auth-dialog-in 240ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.auth-dialog::-webkit-scrollbar {
  width: 8px;
}

.auth-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.auth-dialog::-webkit-scrollbar-thumb {
  background: var(--sage);
  border: 2px solid var(--paper);
  border-radius: 999px;
}

.auth-dialog::before {
  position: absolute;
  top: 0;
  left: 38px;
  right: 38px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--olive-dark), #8a9b68, var(--oxblood));
  border-radius: 0 0 999px 999px;
}

.auth-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: rgba(222, 208, 184, 0.28);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.auth-close:hover,
.auth-close:focus-visible {
  color: var(--paper);
  background: var(--olive-dark);
  transform: rotate(4deg);
}

.auth-heading {
  padding-right: 38px;
}

.auth-kicker {
  margin: 0 0 9px;
  color: var(--olive);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.auth-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.auth-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.auth-tabs {
  --auth-tab-index: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 25px;
  padding: 4px;
  background: rgba(222, 208, 184, 0.35);
  border: 1px solid rgba(37, 38, 31, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.auth-tabs::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  z-index: -1;
  width: calc((100% - 13px) / 2);
  content: "";
  background: var(--paper);
  border-radius: 9px;
  box-shadow: 0 4px 15px rgba(37, 38, 31, 0.08);
  transform: translateX(calc(var(--auth-tab-index) * (100% + 5px)));
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-tabs button {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 220ms ease;
}

.auth-tabs button[aria-selected="true"] {
  color: var(--olive-dark);
  background: transparent;
  box-shadow: none;
}

.auth-tabs button:hover {
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.auth-tabs button[aria-selected="true"]:hover {
  color: var(--olive-dark);
}

.auth-form {
  display: grid;
  gap: 17px;
  margin-top: 23px;
}

.auth-input-group {
  display: grid;
  gap: 7px;
}

.auth-input-group > label {
  color: var(--olive-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.auth-form-options {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.auth-password-field button,
.auth-form-options button,
.auth-back {
  padding: 0;
  color: var(--oxblood);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.auth-password-field {
  position: relative;
}

.auth-password-field input {
  padding-right: 72px !important;
}

.auth-password-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 52px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transform: translateY(-50%);
}

.auth-password-field button:hover,
.auth-password-field button:focus-visible {
  background: rgba(123, 48, 43, 0.08);
  text-decoration: none;
}

.auth-input-group input[type="text"],
.auth-input-group input[type="email"],
.auth-input-group input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(247, 243, 233, 0.62);
  border: 1px solid rgba(53, 64, 39, 0.28);
  border-radius: 10px;
  outline: 0;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-input-group input:focus {
  background: var(--paper);
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(82, 96, 59, 0.13);
}

.auth-form-options {
  margin-top: 2px;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  cursor: pointer;
  user-select: none;
}

.auth-check-control {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  transition: transform 180ms ease;
}

.auth-remember:hover .auth-check-control {
  transform: scale(1.06);
}

.auth-check-control input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.auth-checkmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 2px solid rgba(82, 96, 59, 0.32);
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(37, 38, 31, 0.08);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 160ms ease;
}

.auth-checkmark svg {
  width: 65%;
  height: 65%;
  fill: none;
  stroke: var(--paper);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 220ms ease 80ms;
}

.auth-check-control input:checked + .auth-checkmark {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  box-shadow: 0 4px 12px rgba(53, 64, 39, 0.24);
}

.auth-check-control input:checked + .auth-checkmark svg {
  stroke-dashoffset: 0;
}

.auth-check-control input:focus-visible + .auth-checkmark {
  outline: 3px solid rgba(123, 48, 43, 0.32);
  outline-offset: 3px;
}

.auth-check-control input:active + .auth-checkmark {
  transform: scale(0.86);
}

.auth-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  padding: 13px 18px;
  color: var(--paper);
  background: var(--olive-dark);
  border: 1px solid var(--olive-dark);
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 9px 24px rgba(53, 64, 39, 0.18);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: var(--oxblood);
  border-color: var(--oxblood);
  box-shadow: 0 12px 30px rgba(123, 48, 43, 0.2);
  transform: translateY(-1px);
}

.auth-legal-note {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.auth-legal-note a {
  color: var(--oxblood);
  text-underline-offset: 3px;
}

.auth-back {
  margin-top: 17px;
}

.auth-form-options button:hover,
.auth-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-security-note {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.auth-security-note > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--olive);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.auth-security-note p,
.auth-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.auth-status {
  margin-top: 14px;
  padding: 11px 13px;
  color: var(--olive-dark);
  background: rgba(140, 152, 117, 0.15);
  border: 1px solid rgba(82, 96, 59, 0.2);
  border-radius: 9px;
}

.auth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@keyframes auth-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes auth-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
  .auth-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .auth-dialog {
    width: 100%;
    max-height: calc(100dvh - 18px);
    padding: 31px 22px 25px;
    border-radius: 24px 24px 0 0;
  }

  .auth-dialog::before {
    left: 22px;
    right: 22px;
  }

  .auth-heading h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-modal-backdrop,
  .auth-dialog {
    animation: none;
  }
}


/* 03. HERO */
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: clamp(60px, 7vw, 118px);
  padding-block: 68px 72px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 710px;
}

.eyebrow,
.kicker {
  margin: 0 0 24px;
  color: var(--olive-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow span {
  width: 38px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 5.25vw, 6rem);
  line-height: 0.91;
  letter-spacing: -0.057em;
}

.hero-intro {
  max-width: 630px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--olive);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--olive-dark);
}

.button-secondary {
  border-color: rgba(37, 38, 31, 0.56);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: #fff;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin: 35px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-notes li:not(:last-child)::after {
  content: "\00b7";
  margin-left: 24px;
  color: var(--oxblood);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: block;
  border-radius: 30px;
  background: var(--sand);
  box-shadow: 0 22px 54px rgba(37, 38, 31, 0.15);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transform: scale(1.045);
  transform-origin: center;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-media:hover img,
.hero-media:focus-visible img {
  transform: scale(1.07);
}

.media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 27, 19, 0.72), transparent 54%);
}

.latest-label,
.play-button {
  position: absolute;
  z-index: 2;
}

.latest-label {
  top: 24px;
  left: 24px;
  padding: 10px 13px;
  background: rgba(247, 243, 233, 0.88);
  border-radius: 999px;
  color: var(--olive-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.play-button {
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  transform: translate(-50%, -50%);
  background: rgba(247, 243, 233, 0.9);
  border-radius: 50%;
  color: var(--oxblood);
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease;
}

.hero-media:hover .play-button,
.hero-media:focus-visible .play-button {
  transform: translate(-50%, -50%) scale(1.08);
}

/* 04. RECIPE AND STORY CARDS */
.stories {
  padding-block: 92px 112px;
}

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

.section-heading h2,
.village-copy h2,
.about-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 4.3vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.section-heading .kicker {
  margin-bottom: 16px;
}

.section-heading > a,
.text-link {
  color: var(--oxblood);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.section-heading > a {
  margin-bottom: 8px;
  white-space: nowrap;
}

.story-carousel {
  position: relative;
}

.story-carousel-viewport {
  overflow: hidden;
}

.story-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 3);
  gap: 30px;
}

.story-slide {
  min-width: 0;
}

.carousel-arrow {
  position: absolute;
  top: clamp(125px, 11vw, 180px);
  z-index: 5;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--olive-dark);
  border-radius: 50%;
  color: var(--olive-dark);
  cursor: pointer;
  font-size: 1.35rem;
  box-shadow: 0 14px 34px rgba(37, 38, 31, 0.18);
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover:not(:disabled),
.carousel-arrow:focus-visible:not(:disabled) {
  background: var(--olive-dark);
  color: var(--paper);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel-arrow-left {
  left: -32px;
}

.carousel-arrow-right {
  right: -32px;
}

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

.story-card {
  min-width: 0;
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  margin-bottom: 24px;
  border-radius: 20px;
  background: var(--sand);
  box-shadow: 0 14px 32px rgba(37, 38, 31, 0.13);
  transition: box-shadow 400ms ease;
}

.story-card:hover .card-image {
  box-shadow: 0 18px 38px rgba(37, 38, 31, 0.17);
}

.card-image-link {
  width: 100%;
  height: 100%;
  display: block;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 550ms ease;
}

.story-card:hover .card-image img,
.card-image:focus-visible img {
  transform: scale(1.075);
}

/* Uiverse cssbuttons-io interaction, adapted to open from right to left. */
.card-youtube-button {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 2;
  width: 44px;
  height: 44px;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(247, 243, 233, 0.48);
  border-radius: 999px;
  background: var(--olive-dark);
  box-shadow: 0 9px 24px rgba(24, 27, 19, 0.24);
  color: var(--milk);
  transition: width 450ms cubic-bezier(0.65, 0, 0.076, 1), box-shadow 300ms ease;
}

.card-youtube-button:hover,
.card-youtube-button:focus-visible {
  width: 206px;
  box-shadow: 0 12px 30px rgba(24, 27, 19, 0.3);
}

.card-youtube-button:focus-visible {
  outline: 3px solid rgba(247, 243, 233, 0.88);
  outline-offset: 3px;
}

.card-youtube-label {
  position: absolute;
  inset: 0 44px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  color: var(--milk);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
  transform: translateX(12px);
  transition: opacity 220ms ease 80ms, transform 450ms cubic-bezier(0.65, 0, 0.076, 1);
}

.card-youtube-button:hover .card-youtube-label,
.card-youtube-button:focus-visible .card-youtube-label {
  opacity: 1;
  transform: translateX(0);
}

.card-youtube-circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--olive-dark);
}

.card-youtube-play {
  display: block;
  padding-left: 2px;
  color: var(--milk);
  font-size: 0.7rem;
  transition: transform 450ms cubic-bezier(0.65, 0, 0.076, 1);
}

.card-youtube-button:hover .card-youtube-play,
.card-youtube-button:focus-visible .card-youtube-play {
  transform: translateX(-2px) scale(1.08);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--olive-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-meta span:last-child {
  color: var(--muted);
  text-align: right;
}

.story-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.story-card h3 a {
  background-image: linear-gradient(var(--oxblood), var(--oxblood));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 250ms ease;
}

.story-card h3 a:hover,
.story-card h3 a:focus-visible {
  background-size: 100% 1px;
}

.story-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.67;
}

/* Keep the original YouTube copy but reveal only a calm three-line preview. */
.story-card-description {
  position: relative;
  max-height: 5.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-card-description::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 1.67em;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 243, 233, 0), rgba(247, 243, 233, 0.78) 58%, var(--milk) 100%);
}

/* 05. VIDEO DETAIL */
.recipe-detail-page {
  min-height: 70vh;
}

.recipe-detail {
  padding-block: 58px 112px;
}

.detail-back-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-bottom: 42px;
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  color: var(--oxblood);
}

.detail-meta {
  margin: 0 0 22px;
}

.detail-player {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: var(--milk);
  box-shadow: 0 24px 62px rgba(37, 38, 31, 0.18);
}

.detail-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  transform: scale(1.012);
  transform-origin: center;
}

.detail-content {
  width: min(100%, 1180px);
  padding-block: 36px 34px;
  border-bottom: 1px solid var(--line);
}

.detail-content h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(2rem, 3.25vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.detail-description {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  white-space: pre-line;
}

.detail-description-shell {
  position: relative;
  max-width: 820px;
  margin-top: 8px;
}

.detail-description-viewport {
  max-height: var(--description-collapsed-height, 3.5em);
  overflow: hidden;
  transition: max-height 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-description-shell:not(.has-overflow) .detail-description-viewport {
  max-height: none;
}

.detail-description-shell.is-expanded .detail-description-viewport {
  max-height: var(--description-expanded-height, 1200px);
}

/* The measured preview replaces the clipped copy and always ends on a complete word. */
.detail-description-shell.has-overflow:not(.is-expanded) .detail-description-viewport {
  visibility: hidden;
  opacity: 0;
}

.detail-description-preview {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.detail-description-fade {
  display: inline;
  margin-left: 0.16em;
  white-space: nowrap;
}

.detail-description-fade i {
  font: inherit;
  font-style: normal;
}

.detail-description-fade i:nth-child(1) {
  opacity: 0.18;
}

.detail-description-fade i:nth-child(2) {
  opacity: 0.5;
}

.detail-description-fade i:nth-child(3) {
  opacity: 0.86;
}

.detail-description-inline-action,
.detail-description-measure-more {
  margin-left: 0.18em;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.detail-description-inline-action {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 220ms ease;
}

.detail-description-inline-action:hover {
  color: var(--oxblood);
}

.detail-description-inline-action:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 2px;
  border-radius: 2px;
}

.detail-description-collapse {
  display: inline-block;
  margin-top: 7px;
}

.detail-description-measure {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  max-height: none;
  overflow: visible;
  visibility: hidden;
  pointer-events: none;
  white-space: normal;
}

.detail-about {
  max-width: 900px;
  margin-top: 24px;
}

.detail-section-label {
  margin: 0;
  color: var(--olive-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.detail-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.detail-like-button,
.detail-youtube-link,
.detail-channel-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--olive-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--olive-dark);
  cursor: pointer;
  font: 700 0.78rem var(--sans);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.detail-like-button span {
  font-size: 1.25rem;
  line-height: 1;
}

.detail-like-button:hover,
.detail-like-button:focus-visible,
.detail-channel-link:hover,
.detail-channel-link:focus-visible {
  background: var(--olive-dark);
  color: var(--milk);
  transform: translateY(-2px);
}

.detail-youtube-link {
  border-color: var(--oxblood);
  background: var(--oxblood);
  color: #fff;
}

.detail-youtube-link:hover,
.detail-youtube-link:focus-visible {
  background: #612723;
  color: #fff;
  transform: translateY(-2px);
}

.detail-comments {
  width: min(100%, 930px);
  height: auto;
  overflow: visible;
  padding-top: 42px;
}

.detail-comments-header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.detail-comments-header h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.detail-comments-header > span {
  min-width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  padding-inline: 7px;
  border-radius: 999px;
  background: rgba(82, 96, 59, 0.12);
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.detail-comment-form {
  display: grid;
  gap: 12px;
  margin-top: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.detail-comment-form textarea {
  width: 100%;
  height: auto;
  resize: none;
  min-height: 58px;
  overflow-y: hidden;
  padding: 13px 14px;
  border: 1px solid rgba(82, 96, 59, 0.22);
  border-radius: 13px;
  outline: none;
  background: rgba(222, 208, 184, 0.18);
  color: var(--ink);
  font: 0.96rem/1.6 var(--sans);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.detail-comments.has-comments .detail-comment-form {
  padding-bottom: 12px;
  border-bottom: 0;
}

.detail-comment-form textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(82, 96, 59, 0.12);
}

.detail-comment-actions {
  display: flex;
  justify-content: flex-end;
}

.detail-comment-actions .button {
  min-height: 42px;
  padding: 10px 18px;
  cursor: pointer;
}

.detail-comment-list {
  margin-top: 8px;
}

.detail-comment-empty {
  margin: 0;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-comment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.detail-comment-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(82, 96, 59, 0.14);
  color: var(--moss);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-comment header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  margin-bottom: 7px;
}

.detail-comment header strong {
  font-size: 0.84rem;
}

.detail-comment header time {
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-comment-text,
.detail-comment-text p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Reserved layout only; no advertising code is loaded at this stage. */
.ad-placeholder {
  width: min(100%, 930px);
  min-height: 136px;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 26px;
  border: 1px dashed rgba(82, 96, 59, 0.3);
  border-radius: 18px;
  background: rgba(222, 208, 184, 0.13);
  color: var(--muted);
  text-align: center;
}

.ad-placeholder span {
  color: var(--olive-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ad-placeholder p {
  margin: 0;
  font-size: 0.82rem;
}

.recipe-detail > .ad-placeholder {
  margin-top: 38px;
}

.home-ad-reservation {
  display: flex;
  justify-content: center;
  padding-bottom: 86px;
}

/* Related episodes are ranked from the catalogue by content similarity. */
.related-recipes {
  margin-top: 68px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.related-recipes-heading {
  max-width: 720px;
}

.related-recipes-heading h2 {
  margin: 8px 0 12px;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1;
}

.related-recipes-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.related-recipe-card {
  min-width: 0;
}

.related-recipe-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 17px;
  background: var(--milk);
  box-shadow: 0 14px 34px rgba(37, 38, 31, 0.13);
}

.related-recipe-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 350ms ease;
}

.related-recipe-image:hover img,
.related-recipe-image:focus-visible img {
  transform: scale(1.055);
}

.related-recipe-copy {
  padding-top: 17px;
}

.related-match {
  margin: 0 0 8px;
  color: var(--olive);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.related-recipe-copy h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.8vw, 1.52rem);
  line-height: 1.15;
}

.related-recipe-copy h3 a:hover,
.related-recipe-copy h3 a:focus-visible {
  color: var(--oxblood);
}

.related-recipe-copy > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

/* Legal documents use a dedicated readable body while preserving the shell. */
.legal-page {
  min-height: 70vh;
}

.legal-document {
  width: min(100% - 96px, 1040px);
  padding-block: 64px 110px;
}

.legal-heading {
  max-width: 850px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  margin: 12px 0 10px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.legal-updated {
  margin: 0;
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.legal-introduction {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.legal-sections {
  max-width: 850px;
}

.legal-sections section {
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
  gap: 34px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-sections h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
}

.legal-sections p,
.legal-sections ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.legal-section-copy { display: grid; gap: 15px; }
.legal-section-copy ul { padding-left: 20px; }
.legal-section-copy li + li { margin-top: 8px; }

.legal-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.legal-switcher a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--olive-dark);
  border-radius: 999px;
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-switcher a:hover,
.legal-switcher a:focus-visible {
  background: var(--olive-dark);
  color: var(--milk);
}

/* FAQ uses native details/summary controls for resilient keyboard access. */
.faq-page { min-height: 70vh; }
.faq-document { width: min(100% - 96px, 1180px); padding-block: 64px 110px; }
.faq-heading { max-width: 920px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.faq-heading h1 { max-width: 850px; margin: 12px 0 20px; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: 0.95; }
.faq-heading > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.72; }
.faq-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(42px, 7vw, 92px); padding-block: 58px 28px; }
.faq-category-nav { position: sticky; top: 122px; align-self: start; display: grid; gap: 7px; }
.faq-category-nav p { margin: 0 0 9px; color: var(--olive); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.faq-category-nav a { padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 0.83rem; font-weight: 700; }
.faq-category-nav a:hover,
.faq-category-nav a:focus-visible { background: rgba(82, 96, 59, 0.1); color: var(--olive-dark); }
.faq-categories { display: grid; gap: 54px; }
.faq-categories > section { scroll-margin-top: 120px; }
.faq-categories h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.faq-accordion { border-top: 1px solid var(--line); }
.faq-accordion details { border-bottom: 1px solid var(--line); }
.faq-accordion summary { min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 24px; padding: 18px 4px; color: var(--ink); cursor: pointer; font-size: 1rem; font-weight: 800; line-height: 1.45; list-style: none; }
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary i { position: relative; width: 28px; height: 28px; border: 1px solid rgba(82, 96, 59, 0.35); border-radius: 50%; }
.faq-accordion summary i::before,
.faq-accordion summary i::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1px; content: ""; background: var(--olive-dark); transform: translate(-50%, -50%); transition: transform 220ms ease; }
.faq-accordion summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-accordion details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-width: 760px; padding: 0 56px 24px 4px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.75; }
.faq-contact-card { display: grid; grid-template-columns: minmax(230px, 0.65fr) minmax(280px, 1fr) auto; align-items: center; gap: clamp(28px, 5vw, 64px); margin-top: 50px; padding: 34px; border: 1px solid rgba(82, 96, 59, 0.22); border-radius: 24px; background: rgba(222, 208, 184, 0.18); }
.faq-contact-card .kicker { margin-bottom: 8px; }
.faq-contact-card h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.faq-contact-card > p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.faq-contact-card .button { white-space: nowrap; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav,
  .desktop-socials { display: none; }
  .mobile-menu { display: block; }
  .mobile-social-icons .social-tooltip { display: none; }
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-category-nav { position: static; display: flex; flex-wrap: wrap; }
  .faq-category-nav p { width: 100%; }
  .faq-contact-card { grid-template-columns: 1fr; }
  .faq-contact-card .button { width: fit-content; }
}

@media (max-width: 640px) {
  .faq-document { width: calc(100% - 36px); padding-block: 42px 82px; }
  .faq-heading h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .faq-layout { gap: 40px; padding-top: 42px; }
  .faq-category-nav a { padding: 8px 10px; }
  .faq-accordion summary { min-height: 70px; gap: 15px; font-size: 0.92rem; }
  .faq-answer { padding-right: 4px; }
  .faq-contact-card { padding: 25px 22px; }
}

.login-required-notice {
  position: fixed;
  right: clamp(18px, 4vw, 48px);
  bottom: 26px;
  z-index: 90;
  width: min(480px, calc(100vw - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 17px 20px;
  border: 1px solid rgba(123, 48, 43, 0.25);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(37, 38, 31, 0.2);
  color: var(--oxblood);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, calc(100% + 42px), 0);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease,
    visibility 0s linear 420ms;
  will-change: transform, opacity;
}

.login-required-notice.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.login-required-notice[hidden] {
  display: none;
}

.login-required-notice button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
}

/* 06. VILLAGE-LIFE FEATURE */
.village-section {
  overflow: hidden;
  background: var(--olive-dark);
  color: var(--milk);
}

.village-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  gap: clamp(60px, 8vw, 130px);
  padding-block: 104px;
}

.village-image-wrap {
  position: relative;
  min-height: 650px;
}

.village-image-wrap::before {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid rgba(247, 243, 233, 0.25);
  border-radius: 50%;
}

.village-image-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 160px 22px 22px 22px;
  box-shadow: 0 22px 50px rgba(12, 16, 10, 0.28);
}

.village-image-clip img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  transform: scale(1.045);
  transform-origin: center;
}

.image-note {
  position: absolute;
  right: -24px;
  bottom: 25px;
  max-width: 250px;
  margin: 0;
  padding: 17px 20px;
  background: var(--sand);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.35;
}

.village-copy {
  align-self: center;
}

.eyebrow.light {
  color: #d8dfc9;
}

.village-copy h2 {
  margin-bottom: 30px;
}

.village-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 33px;
  color: rgba(247, 243, 233, 0.75);
  font-size: 1.02rem;
  line-height: 1.75;
}

.values-list {
  margin-bottom: 34px;
  border-top: 1px solid rgba(247, 243, 233, 0.18);
}

.values-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(247, 243, 233, 0.18);
  color: rgba(247, 243, 233, 0.9);
  font-size: 0.91rem;
  line-height: 1.45;
}

.values-list strong {
  color: #c9a978;
  font-family: var(--serif);
  font-weight: 400;
}

.daily-story-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 34px;
  border-top: 1px solid rgba(247, 243, 233, 0.18);
  border-bottom: 1px solid rgba(247, 243, 233, 0.18);
}

.daily-story-meta div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 17px 16px;
  border-right: 1px solid rgba(247, 243, 233, 0.18);
}

.daily-story-meta div:first-child { padding-left: 0; }
.daily-story-meta div:last-child { padding-right: 0; border-right: 0; }
.daily-story-meta span { color: #c9a978; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.daily-story-meta strong { color: rgba(247, 243, 233, 0.92); font-size: 0.8rem; line-height: 1.45; }

.button-light {
  background: var(--milk);
  color: var(--olive-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: #fff;
}

/* 07. SHORTS FILM REEL */
.shorts-section { overflow: hidden; padding-block: 108px 96px; border-bottom: 1px solid var(--line); }
.shorts-heading { max-width: 900px; text-align: center; }
.shorts-heading h2 { margin: 0; font-size: clamp(2.9rem, 5.6vw, 6rem); line-height: 0.98; }
.shorts-heading > p:last-child { max-width: 720px; margin: 24px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.shorts-reel-window { position: relative; width: 100%; overflow: hidden; margin: 48px 0 0; padding-block: 38px; background: var(--olive-dark); border-radius: 0; box-shadow: inset 0 16px 34px rgba(17, 22, 13, 0.2), inset 0 -16px 34px rgba(17, 22, 13, 0.2); }
.shorts-reel-window::before,
.shorts-reel-window::after { position: absolute; right: 0; left: 0; z-index: 2; height: 11px; content: ""; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(247, 243, 233, 0.94) 0 14px, transparent 14px 31px); }
.shorts-reel-window::before { top: 12px; }
.shorts-reel-window::after { bottom: 12px; }
.shorts-reel-track { width: max-content; display: flex; will-change: transform; animation: shorts-film-reel 190s linear infinite; }
.shorts-reel-window:has(.short-card:hover) .shorts-reel-track,
body.short-modal-open .shorts-reel-track { animation-play-state: paused; }
.shorts-reel-group { display: flex; gap: 22px; padding-right: 22px; }
.short-card { position: relative; width: clamp(174px, 15vw, 238px); aspect-ratio: 9 / 16; flex: 0 0 auto; overflow: hidden; display: block; padding: 0; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 22px; appearance: none; background: #1c2118; box-shadow: 0 18px 35px rgba(10, 13, 8, 0.28); color: #fff; cursor: pointer; text-align: left; transition: transform 280ms ease, box-shadow 280ms ease; }
.short-card:hover,
.short-card:focus-visible { z-index: 3; outline: 3px solid rgba(247, 243, 233, 0.82); outline-offset: 4px; box-shadow: 0 23px 45px rgba(10, 13, 8, 0.38); transform: translateY(-5px); }
.short-card img { width: 100%; height: 100%; object-fit: cover; background: linear-gradient(145deg, #2a3320, #151a12); transform: scale(1.025); transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.short-card:hover img,
.short-card:focus-visible img { transform: scale(1.07); }
.short-card-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 18, 12, 0.94), rgba(15, 18, 12, 0.06) 60%); }
.short-card-play { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; display: grid; place-items: center; padding-left: 4px; border: 1px solid rgba(255, 255, 255, 0.62); border-radius: 50%; background: rgba(247, 243, 233, 0.9); box-shadow: 0 13px 30px rgba(10, 13, 8, 0.24); color: var(--oxblood); font-size: 0.92rem; transform: translate(-50%, -50%); transition: transform 240ms ease, background 240ms ease; }
.short-card:hover .short-card-play,
.short-card:focus-visible .short-card-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.short-card-copy { position: absolute; right: 17px; bottom: 18px; left: 17px; min-width: 0; display: grid; gap: 7px; }
.short-card-copy > span { color: rgba(255, 255, 255, 0.72); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.short-card-copy strong { min-height: 3.48em; display: -webkit-box; overflow: hidden; font-family: var(--serif); font-size: clamp(1.05rem, 1.45vw, 1.34rem); font-weight: 700; line-height: 1.16; overflow-wrap: anywhere; text-wrap: balance; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shorts-motion-note { margin-top: 20px; color: var(--muted); font-size: 0.74rem; text-align: center; }
@keyframes shorts-film-reel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.short-modal-open { overflow: hidden; }
.shorts-modal-backdrop[hidden] { display: none; }
.shorts-modal-backdrop { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 30px; background: rgba(18, 21, 15, 0.75); backdrop-filter: blur(13px); animation: shorts-backdrop-in 220ms ease-out both; }
.shorts-dialog { position: relative; width: min(100%, 880px); max-height: calc(100dvh - 60px); overflow-y: auto; display: grid; grid-template-columns: minmax(250px, 405px) minmax(240px, 1fr); align-items: center; gap: clamp(28px, 5vw, 58px); padding: 24px 46px 24px 24px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 30px; outline: none; background: var(--paper); box-shadow: 0 34px 90px rgba(8, 10, 7, 0.42); animation: shorts-dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.shorts-close { position: absolute; top: 15px; right: 15px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 50%; background: var(--milk); color: var(--ink); cursor: pointer; font: 1.7rem/1 var(--sans); }
.shorts-close:hover,
.shorts-close:focus-visible { background: var(--olive-dark); color: #fff; }
.shorts-player { width: min(100%, 405px); max-height: calc(100dvh - 108px); overflow: hidden; aspect-ratio: 9 / 16; border-radius: 20px; background: #0d0f0b; box-shadow: 0 18px 44px rgba(18, 21, 15, 0.24); }
.shorts-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.shorts-dialog-copy { min-width: 0; align-self: center; }
.shorts-dialog-copy > p { margin: 0 0 12px; color: var(--olive); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.shorts-dialog-copy h3 { max-width: 100%; margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.35vw, 2.2rem); line-height: 1.12; overflow-wrap: anywhere; text-wrap: balance; }
.shorts-dialog-copy h3.is-long { font-size: clamp(1.28rem, 1.9vw, 1.78rem); line-height: 1.16; }
.shorts-dialog-copy h3.is-very-long { font-size: clamp(1.12rem, 1.58vw, 1.5rem); line-height: 1.2; }
.shorts-dialog-copy a { width: fit-content; display: inline-flex; align-items: center; gap: 7px; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid var(--oxblood); color: var(--oxblood); font-size: 0.78rem; font-weight: 800; }
@keyframes shorts-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shorts-dialog-in { from { opacity: 0; transform: translateY(20px) scale(0.975); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* 08. ABOUT */
.about-section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: center;
  gap: clamp(38px, 6vw, 95px);
  padding-block: 110px;
}

.about-mark {
  width: 138px;
  height: 138px;
  overflow: hidden;
  border: 1px solid var(--olive);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(37, 38, 31, 0.13);
}

.about-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 3.9vw, 4.6rem);
}

.about-copy > p:not(.kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.about-details article {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.about-details h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.about-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.about-action {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.about-action p {
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

/* 09. CONTACT */
.contact-section {
  background: #e9e0cd;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding-block: clamp(78px, 8vw, 104px);
}

.contact-copy h2 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(2.8rem, 4.1vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.contact-cards {
  display: block;
  max-width: 760px;
}

.contact-card {
  display: grid;
  gap: 26px;
  padding: clamp(27px, 3vw, 36px);
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(37, 38, 31, 0.14);
  border-radius: 20px;
}

.contact-card-intro {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.contact-email-group {
  display: grid;
  gap: 9px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.contact-label {
  color: var(--olive-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-value {
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

a.contact-value {
  color: var(--oxblood);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-pending {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 400;
}

/* WORK WITH US PAGE */
.work-page { padding-bottom: 96px; }
.work-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.72fr); gap: clamp(52px, 7vw, 108px); align-items: center; padding-block: clamp(68px, 7vw, 102px); }
.work-hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(3.1rem, 4.8vw, 4.8rem); line-height: 0.98; letter-spacing: -0.048em; }
.work-hero-copy > p:not(.eyebrow) { max-width: 660px; margin: 25px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.work-fit-card { padding: clamp(28px, 3vw, 40px); color: var(--milk); background: var(--olive-dark); border: 1px solid rgba(247, 243, 233, 0.16); border-radius: 24px; box-shadow: 0 22px 50px rgba(31, 36, 25, 0.16); }
.work-fit-card .kicker { color: #d9c7a7; }
.work-fit-card h2 { margin: 0; font-size: clamp(1.8rem, 2.5vw, 2.55rem); line-height: 1.08; }
.work-fit-card > p:not(.kicker) { margin: 18px 0 0; color: rgba(247, 243, 233, 0.74); font-size: 0.9rem; line-height: 1.68; }
.work-fit-card ul { display: grid; gap: 0; margin: 23px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(247, 243, 233, 0.18); }
.work-fit-card li { position: relative; padding: 15px 0 15px 25px; border-bottom: 1px solid rgba(247, 243, 233, 0.18); color: rgba(247, 243, 233, 0.9); font-size: 0.84rem; line-height: 1.55; }
.work-fit-card li::before { position: absolute; top: 22px; left: 2px; width: 8px; height: 8px; content: ""; background: #c9a978; border-radius: 50%; }
.work-section { padding-block: 88px; scroll-margin-top: 90px; }
.work-section-heading { max-width: 740px; }
.work-section-heading h2,
.work-contact h2 { margin: 0; font-size: clamp(2.35rem, 3.8vw, 3.9rem); line-height: 1.04; letter-spacing: -0.04em; }
.work-section-heading > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.work-type-grid { max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 46px; }
.work-type-card { min-height: 250px; display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 253, 247, 0.62); box-shadow: 0 10px 30px rgba(37, 38, 31, 0.05); }
.work-type-card > span { color: var(--oxblood); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.work-type-card h3 { min-height: 2.25em; display: flex; align-items: end; margin: 31px 0 14px; font-family: var(--serif); font-size: clamp(1.55rem, 1.9vw, 1.9rem); line-height: 1.12; }
.work-type-card p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.68; }
.work-contact { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.02fr); gap: clamp(42px, 6vw, 86px); align-items: start; margin-top: 16px; padding: clamp(34px, 4.5vw, 56px); border: 1px solid rgba(82, 96, 59, 0.22); border-radius: 24px; background: rgba(222, 208, 184, 0.2); }
.work-contact-copy > p:last-child { max-width: 580px; margin: 22px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.work-brief-panel { padding: 28px; border: 1px solid rgba(82, 96, 59, 0.18); border-radius: 18px; background: rgba(255, 253, 247, 0.78); }
.work-brief-panel h3 { margin: 0; font-family: var(--serif); font-size: 1.55rem; }
.work-brief-panel ul { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.work-brief-panel li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.work-brief-panel li::before { position: absolute; top: 19px; left: 2px; width: 7px; height: 7px; content: ""; background: var(--olive); border-radius: 50%; }
.work-terms-note { margin: 20px 0 0; padding: 16px 17px; color: var(--muted); background: rgba(222, 208, 184, 0.24); border-left: 3px solid var(--olive); border-radius: 0 10px 10px 0; font-size: 0.78rem; line-height: 1.62; }
.work-email-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 24px; }
.work-email-row > div { min-width: 0; display: grid; gap: 6px; }
.work-email-row > div > span { color: var(--muted); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.work-email-row a { color: var(--oxblood); font-family: var(--serif); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.work-copy-button { flex: 0 0 auto; border: 0; cursor: pointer; font: inherit; font-size: 0.76rem; font-weight: 800; }

/* OPTIONAL SEASON ARCHIVE PAGES */
.season-page {
  --season-base: #edf0e2;
  --season-deep: #45593b;
  position: relative;
  isolation: isolate;
  min-height: 75vh;
  overflow: hidden;
  background: var(--season-base);
}

.season-summer {
  --season-base: #f1e7c7;
  --season-deep: #59602f;
}

.season-autumn {
  --season-base: #eadcca;
  --season-deep: #713f2b;
}

.season-winter {
  --season-base: #e4ebec;
  --season-deep: #415b62;
}

.season-weather {
  position: fixed;
  top: 92px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.season-particles {
  position: absolute;
  inset: 0;
}

.season-particles i {
  --particle-size: 10px;
  --particle-drift: 32px;
  position: absolute;
  top: -70px;
  width: var(--particle-size);
  height: calc(var(--particle-size) * 1.35);
  display: block;
  opacity: 0;
  background: #f2d7d9;
  border-radius: 75% 25% 72% 28%;
  animation: season-particle-fall 18s linear infinite;
  will-change: transform, opacity;
}

.season-particles i:nth-child(1)  { left: 3%;  --particle-size: 8px;  --particle-drift: 38px; animation-delay: -3s;  animation-duration: 17s; }
.season-particles i:nth-child(2)  { left: 9%;  --particle-size: 12px; --particle-drift: -28px; animation-delay: -12s; animation-duration: 21s; }
.season-particles i:nth-child(3)  { left: 16%; --particle-size: 7px;  --particle-drift: 22px; animation-delay: -8s;  animation-duration: 15s; }
.season-particles i:nth-child(4)  { left: 23%; --particle-size: 10px; --particle-drift: -42px; animation-delay: -17s; animation-duration: 23s; }
.season-particles i:nth-child(5)  { left: 30%; --particle-size: 6px;  --particle-drift: 30px; animation-delay: -6s;  animation-duration: 18s; }
.season-particles i:nth-child(6)  { left: 37%; --particle-size: 11px; --particle-drift: -24px; animation-delay: -14s; animation-duration: 20s; }
.season-particles i:nth-child(7)  { left: 44%; --particle-size: 8px;  --particle-drift: 44px; animation-delay: -10s; animation-duration: 24s; }
.season-particles i:nth-child(8)  { left: 51%; --particle-size: 13px; --particle-drift: -34px; animation-delay: -2s;  animation-duration: 19s; }
.season-particles i:nth-child(9)  { left: 58%; --particle-size: 7px;  --particle-drift: 24px; animation-delay: -16s; animation-duration: 22s; }
.season-particles i:nth-child(10) { left: 64%; --particle-size: 10px; --particle-drift: -40px; animation-delay: -7s;  animation-duration: 16s; }
.season-particles i:nth-child(11) { left: 70%; --particle-size: 6px;  --particle-drift: 36px; animation-delay: -19s; animation-duration: 25s; }
.season-particles i:nth-child(12) { left: 76%; --particle-size: 12px; --particle-drift: -22px; animation-delay: -11s; animation-duration: 20s; }
.season-particles i:nth-child(13) { left: 81%; --particle-size: 8px;  --particle-drift: 28px; animation-delay: -4s;  animation-duration: 18s; }
.season-particles i:nth-child(14) { left: 86%; --particle-size: 11px; --particle-drift: -36px; animation-delay: -15s; animation-duration: 23s; }
.season-particles i:nth-child(15) { left: 90%; --particle-size: 7px;  --particle-drift: 34px; animation-delay: -9s;  animation-duration: 17s; }
.season-particles i:nth-child(16) { left: 94%; --particle-size: 9px;  --particle-drift: -26px; animation-delay: -20s; animation-duration: 26s; }
.season-particles i:nth-child(17) { left: 33%; --particle-size: 7px;  --particle-drift: 18px; animation-delay: -22s; animation-duration: 27s; }
.season-particles i:nth-child(18) { left: 68%; --particle-size: 9px;  --particle-drift: -18px; animation-delay: -13s; animation-duration: 24s; }

.season-spring .season-particles i:nth-child(3n) {
  background: rgba(255, 249, 242, 0.94);
}

.season-spring .season-particles i:nth-child(4n) {
  background: #c6d69c;
}

.season-summer .season-particles i {
  background: #668344;
  opacity: 0;
  box-shadow: 0 0 12px rgba(231, 191, 75, 0.18);
  animation-duration: 23s;
}

.season-summer .season-particles i:nth-child(3n) {
  background: #d7b94f;
}

.season-autumn .season-particles i {
  background: #d69a38;
  border-radius: 90% 12% 88% 16%;
}

.season-autumn .season-particles i:nth-child(3n) {
  background: #b95e32;
}

.season-autumn .season-particles i:nth-child(4n) {
  background: #e0b64c;
}

.season-winter .season-particles i {
  width: var(--particle-size);
  height: var(--particle-size);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.78);
  animation-name: season-snow-fall;
}

.season-winter .season-particles i:nth-child(4n) {
  filter: blur(1px);
  opacity: 0;
}

@keyframes season-particle-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -8vh, 0) rotate(0deg);
  }
  12%,
  86% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--particle-drift), calc(100vh + 140px), 0) rotate(460deg);
  }
}

@keyframes season-snow-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -8vh, 0);
  }
  10%,
  90% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--particle-drift), calc(100vh + 140px), 0);
  }
}

.season-hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 7vw, 90px) clamp(66px, 8vw, 104px);
  border-bottom: 1px solid color-mix(in srgb, var(--season-deep) 22%, transparent);
}

.season-home-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--season-deep);
  font-size: 0.77rem;
  font-weight: 800;
}

.season-home-link:hover,
.season-home-link:focus-visible {
  color: var(--oxblood);
}

.season-hero .eyebrow {
  margin-top: clamp(38px, 5vw, 62px);
  color: var(--season-deep);
}

.season-hero .eyebrow span {
  background: var(--season-deep);
}

.season-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.052em;
}

.season-intro {
  max-width: 760px;
  margin: 25px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, var(--season-deep));
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  line-height: 1.75;
}

.season-summary {
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.season-summary > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #fff;
  background: var(--season-deep);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-summary p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.season-switcher {
  --season-index: 0;
  position: relative;
  width: min(100%, 408px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  padding: 6px;
  background: rgba(255, 253, 247, 0.54);
  border: 1px solid color-mix(in srgb, var(--season-deep) 18%, transparent);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.season-switcher-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  z-index: 0;
  width: calc((100% - 12px) / 4);
  background: var(--season-deep);
  border-radius: 999px;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--season-deep) 20%, transparent);
  pointer-events: none;
  transform: translateX(calc(var(--season-index) * 100%));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.season-switcher.is-positioning .season-switcher-indicator {
  transition: none;
}

.season-switcher a {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--season-deep);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  transition: color 180ms ease;
}

.season-switcher a:not(.is-active):hover {
  color: var(--oxblood);
}

.season-switcher a:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: -2px;
}

.season-switcher a.is-active {
  color: #fff;
}

.season-stories {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 8vw, 110px) clamp(94px, 10vw, 140px);
}

.season-section-heading {
  max-width: 740px;
}

.season-section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.043em;
}

.season-section-heading > p:last-child {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.season-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 54px) clamp(22px, 3vw, 38px);
  margin-top: 48px;
}

.season-story-grid .story-card {
  padding: 12px 12px 26px;
  background: rgba(255, 253, 247, 0.58);
  border: 1px solid color-mix(in srgb, var(--season-deep) 14%, transparent);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(37, 38, 31, 0.06);
}

.season-story-grid .card-image {
  margin-bottom: 22px;
}

.season-story-grid .card-copy {
  padding-inline: 5px;
}

.season-story-grid .story-card h3 {
  font-size: clamp(1.35rem, 1.75vw, 1.72rem);
  line-height: 1.1;
}

.season-story-grid .story-card p {
  font-size: 0.87rem;
}

/* 10. FOOTER */
.site-footer {
  background: #20251b;
  color: var(--milk);
}

.footer-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding-block: 45px;
}

.footer-brand .brand-logo {
  border-color: rgba(247, 243, 233, 0.35);
}

.footer-inner > p {
  margin: 0;
  color: rgba(247, 243, 233, 0.6);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 243, 233, 0.12);
}

/* 11. ACCESSIBILITY AND RESPONSIVE BREAKPOINTS */
:focus-visible {
  outline: 3px solid #c98c35;
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .section-shell {
    width: min(100% - 64px, 1100px);
  }

  .site-header {
    padding-inline: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
    gap: 54px;
  }

  h1 {
    font-size: clamp(3.2rem, 5.4vw, 4.8rem);
  }

  .about-section {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .about-mark {
    width: 110px;
    height: 110px;
  }

  .about-action {
    grid-column: 2;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-grid {
    gap: 60px;
  }

  .work-contact { gap: 38px; }

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

@media (max-width: 900px) {
  .site-header {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .season-weather {
    top: 76px;
  }

  .desktop-nav,
  .desktop-socials {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-social-icons .social-tooltip {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 60px 68px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media,
  .hero-media img {
    min-height: 500px;
  }

  .story-carousel-track {
    grid-auto-columns: calc((100% - 28px) / 2);
    gap: 28px;
  }

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

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

  .work-fit-card { max-width: 680px; }
  .work-type-grid { grid-template-columns: 1fr; }
  .work-type-card { min-height: 0; }
  .work-type-card h3 { min-height: 0; }
  .village-image-wrap,
  .village-image-clip,
  .village-image-clip img {
    min-height: 560px;
  }

  .village-image-wrap {
    max-width: 720px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-copy {
    max-width: 720px;
  }

  .contact-cards {
    max-width: 720px;
  }

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

  .related-recipe-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p:not(.copyright) {
    grid-column: 1 / -1;
  }

}

@media (max-width: 640px) {
  .section-shell {
    width: calc(100% - 36px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    gap: 9px;
    font-size: 1.06rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 10px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
    line-height: 0.92;
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-notes {
    gap: 9px 12px;
    font-size: 0.61rem;
  }

  .hero-notes li:not(:last-child)::after {
    margin-left: 12px;
  }

  .hero-media,
  .hero-media img {
    min-height: 410px;
  }

  .hero-media {
    border-radius: 21px;
  }

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

  .section-heading h2,
  .village-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  .stories {
    padding-block: 76px 88px;
  }

  .recipe-detail {
    padding-block: 42px 82px;
  }

  .detail-back-link {
    margin-bottom: 32px;
  }

  .detail-player {
    border-radius: 18px;
  }

  .detail-content {
    padding-top: 28px;
  }

  .detail-content h1 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .detail-action-bar > * {
    flex: 1 1 auto;
  }

  .ad-placeholder {
    min-height: 116px;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .home-ad-reservation {
    padding-bottom: 70px;
  }

  .related-recipes {
    margin-top: 52px;
    padding-top: 42px;
  }

  .related-recipes-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .related-recipe-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .legal-document {
    width: calc(100% - 36px);
    padding-block: 42px 82px;
  }

  .legal-heading h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .legal-sections section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 28px;
  }

  .story-carousel-track {
    grid-auto-columns: 100%;
    gap: 20px;
  }

  .story-carousel {
    margin-inline: 12px;
  }

  .carousel-arrow {
    top: clamp(120px, 46vw, 180px);
    width: 46px;
    height: 46px;
  }

  .carousel-arrow-left {
    left: -28px;
  }

  .carousel-arrow-right {
    right: -28px;
  }

  .village-grid {
    gap: 55px;
    padding-block: 78px;
  }

  .daily-story-meta { grid-template-columns: 1fr; }
  .daily-story-meta div,
  .daily-story-meta div:first-child,
  .daily-story-meta div:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(247, 243, 233, 0.18); }
  .daily-story-meta div:last-child { border-bottom: 0; }

  .work-page { padding-bottom: 64px; }
  .work-hero { gap: 34px; padding-block: 50px 64px; }
  .work-hero-copy h1 { font-size: clamp(2.75rem, 12vw, 3.65rem); line-height: 1; }
  .work-actions .button { width: 100%; }
  .work-fit-card { padding: 24px 21px; border-radius: 20px; }
  .work-section { padding-block: 68px; }
  .work-section-heading h2,
  .work-contact h2 { font-size: clamp(2.15rem, 9.5vw, 3.1rem); }
  .work-type-grid { gap: 14px; margin-top: 34px; }
  .work-type-card { padding: 24px; }
  .work-type-card h3 { margin-top: 25px; }
  .work-contact { gap: 28px; margin-top: 0; padding: 24px 20px; border-radius: 20px; }
  .work-brief-panel { padding: 20px; }
  .work-email-row { align-items: stretch; flex-direction: column; }
  .work-email-row a { font-family: var(--sans); font-size: clamp(0.78rem, 3.7vw, 0.9rem); letter-spacing: -0.01em; }
  .work-copy-button { width: 100%; }
  .village-image-wrap,
  .village-image-clip,
  .village-image-clip img {
    min-height: 470px;
  }

  .village-image-clip {
    border-radius: 95px 18px 18px 18px;
  }

  .image-note {
    right: 12px;
    bottom: 14px;
  }

  .about-section {
    grid-template-columns: 1fr;
    padding-block: 82px;
  }

  .about-mark {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .about-action {
    grid-column: auto;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 30px;
    padding-block: 72px;
  }

  .contact-card {
    gap: 22px;
    padding: 24px 21px;
    border-radius: 18px;
  }

  .contact-card-intro {
    font-size: 0.9rem;
  }

  .contact-email-group {
    padding-top: 20px;
  }

  .contact-value {
    font-family: var(--sans);
    font-size: clamp(0.98rem, 4.7vw, 1.25rem);
  }

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

  .season-hero {
    padding-block: 48px 68px;
  }

  .season-hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.25rem);
  }

  .season-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .season-switcher {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 999px;
  }

  .season-switcher a {
    min-width: 0;
    padding-inline: 4px;
    font-size: 0.68rem;
  }

  .season-stories {
    padding-block: 68px 92px;
  }

  .season-section-heading h2 {
    font-size: clamp(2.3rem, 11vw, 3.35rem);
  }

  .season-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .season-story-grid .story-card {
    padding: 10px 10px 24px;
    border-radius: 20px;
  }

  .season-particles i:nth-child(n + 13) {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    flex-wrap: wrap;
  }

}

/* Compact Shorts player rules must follow the base reel styles. */
@media (max-width: 900px) {
  .shorts-dialog { width: min(100%, 700px); grid-template-columns: minmax(230px, 360px) minmax(190px, 1fr); }
}

@media (max-width: 640px) {
  .shorts-section { padding-block: 80px 70px; }
  .shorts-heading h2 { font-size: clamp(2.6rem, 13vw, 3.8rem); }
  .shorts-reel-window { width: 100%; margin-top: 36px; padding-block: 34px; border-radius: 0; }
  .shorts-reel-group { gap: 16px; padding-right: 16px; }
  .short-card { width: 154px; border-radius: 18px; }
  .short-card-play { width: 46px; height: 46px; }
  .shorts-modal-backdrop { align-items: center; padding: 12px; }
  .shorts-dialog { width: min(100%, 420px); max-height: calc(100dvh - 24px); grid-template-columns: 1fr; gap: 20px; padding: 12px 12px 24px; border-radius: 23px; }
  .shorts-player { width: min(100%, 330px); max-height: 68dvh; justify-self: center; border-radius: 16px; }
  .shorts-dialog-copy { padding-inline: 8px; }
  .shorts-dialog-copy h3 { font-size: 1.55rem; }
  .shorts-dialog-copy a { margin-top: 17px; }
  .shorts-close { top: 20px; right: 20px; color: #fff; background: rgba(20, 23, 17, 0.76); border-color: rgba(255, 255, 255, 0.35); }
}

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

  .shorts-reel-window { overflow-x: auto; }
  .shorts-reel-track { animation: none; }
  .shorts-reel-group[aria-hidden="true"] { display: none; }
  .shorts-modal-backdrop,
  .shorts-dialog { animation: none; }
  .season-particles { display: none; }
  .season-switcher-indicator { transition: none; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress toolbar spacing for signed-in administrators. */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
