/* ==========================================================================
   Habtamu Specialty Coffee Grower — stylesheet
   Mobile-first. Sections:
   1. Tokens   2. Base   3. Layout   4. Type   5. Buttons & links
   6. Header & navigation   7. Hero   8. Home sections   9. Shared components
   10. Page-specific   11. Footer   12. Lightbox   13. Motion
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --espresso: #241710;
  --dark-coffee: #38251b;
  --coffee: #654634;
  --cream: #f5f0e7;
  --ivory: #faf8f3;
  --sand: #d8c8b1;
  --olive: #73765b;
  --bronze: #b08a5b;

  --ink: var(--espresso);
  --muted: #6a5647;
  --line: rgba(36, 23, 16, 0.14);
  --line-light: rgba(250, 248, 243, 0.18);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 84rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(5.5rem, 12vw, 10.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1120px) {
  :root { --header-h: 88px; }
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--sand); color: var(--espresso); }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

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

/* 3. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section--cream { background: var(--cream); }
.section--sand { background: #ece3d5; }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--coffee { background: var(--dark-coffee); color: var(--ivory); }

.section-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head .lede { margin-top: 1.5rem; }

@media (min-width: 900px) {
  .section-head--split {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: end;
  }
  .section-head--split .lede { margin-top: 0; }
}

/* 4. Type ---------------------------------------------------------------- */
.display,
.title,
.serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.display {
  font-size: clamp(3rem, 9.4vw, 7.2rem);
  line-height: 0.96;
}

.title {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
}

.title--md { font-size: clamp(2.05rem, 4.2vw, 3.3rem); line-height: 1.06; }

.display em,
.title em {
  font-style: italic;
  font-weight: 500;
}

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  max-width: 34rem;
  color: var(--muted);
}
.section--dark .lede,
.section--coffee .lede { color: rgba(250, 248, 243, 0.78); }

.prose { max-width: 34rem; }
.prose p { color: var(--muted); }
.section--dark .prose p,
.section--coffee .prose p { color: rgba(250, 248, 243, 0.78); }

.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coffee);
}
.section--dark .label,
.section--coffee .label { color: var(--bronze); }

.statement {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
}

/* Editable placeholder: information still to be supplied by the business. */
.tbc {
  font-style: italic;
  color: var(--muted);
  opacity: 0.85;
}
.section--dark .tbc,
.section--coffee .tbc { color: rgba(250, 248, 243, 0.6); }

/* 5. Buttons & links ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--espresso);
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--dark-coffee); border-color: var(--dark-coffee); }

.btn--outline { background: transparent; color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: var(--ivory); }

.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }

.btn--ghost-light { background: transparent; border-color: rgba(250, 248, 243, 0.6); color: var(--ivory); }
.btn--ghost-light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--espresso); }

.btn--bronze { background: var(--bronze); border-color: var(--bronze); color: var(--espresso); }
.btn--bronze:hover { background: var(--sand); border-color: var(--sand); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow::after {
  content: "";
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  box-shadow: none;
  transition: width 0.35s var(--ease);
}
.link-arrow:hover::after { width: 1.8rem; }

/* 6. Header & navigation ------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.site-header--overlay:not(.is-scrolled) {
  background: transparent;
  border-color: transparent;
  color: var(--ivory);
}
.menu-open .site-header {
  background: transparent;
  border-color: transparent;
  color: var(--ivory);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 1;
}
.brand__logo {
  width: 50px;
  height: 50px;
  flex: none;
  object-fit: contain;
}
@media (min-width: 1120px) {
  .brand__logo { width: 60px; height: 60px; }
}
.footer__logo {
  width: clamp(96px, 12vw, 128px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; gap: 0.3rem; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Right side of the header: phone number above the navigation links */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.icon-phone { width: 15px; height: 15px; flex: none; color: var(--bronze); }
.header-phone:hover .header-phone__num { text-decoration: underline; text-underline-offset: 0.25em; }

@media (max-width: 639px) {
  .header-phone { min-width: 44px; justify-content: center; }
  .header-phone .icon-phone { width: 19px; height: 19px; }
  .header-phone__num {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (max-width: 479px) {
  .site-header__inner { gap: 0.5rem; }
  .site-header__right { gap: 0; }
  .brand { gap: 0.6rem; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__sub { letter-spacing: 0.12em; }
  .menu-toggle { min-width: 44px; justify-content: center; }
  .menu-toggle__label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (min-width: 1120px) {
  .site-header__right { flex-direction: column; align-items: flex-end; gap: 0.1rem; }
  .header-phone { min-height: 0; padding-top: 0.2rem; }
}

.mobile-menu__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  align-self: flex-start;
  min-height: 44px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--bronze);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.mobile-menu__phone .icon-phone { width: 18px; height: 18px; }

.nav { display: none; }

@media (min-width: 1120px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: clamp(1.25rem, 2vw, 2.25rem); }
  .nav__link {
    position: relative;
    display: inline-block;
    padding-block: 0.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.15rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after,
  .nav__item.is-current > .nav__link::after { transform: scaleX(1); }

  /* Our Farm dropdown */
  .nav__item--sub { position: relative; display: flex; align-items: center; gap: 0.2rem; }
  .nav__sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .nav__sub-toggle svg { transition: transform 0.3s var(--ease); }
  .nav__item--sub.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
  .nav__sub {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    z-index: 5;
    min-width: 15rem;
    padding: 0.6rem 0;
    border-top: 0.65rem solid transparent;
    background: var(--ivory) padding-box;
    color: var(--ink);
    box-shadow: 0 18px 40px -24px rgba(36, 23, 16, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav__item--sub:hover .nav__sub,
  .nav__item--sub:focus-within .nav__sub,
  .nav__item--sub.is-open .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav__item--sub.is-closed .nav__sub { opacity: 0; visibility: hidden; }
  .nav__sub a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s, color 0.25s;
  }
  .nav__sub a:hover,
  .nav__sub a:focus-visible { background: var(--cream); }
  .nav__sub a[aria-current="page"] { color: var(--coffee); box-shadow: inset 2px 0 0 var(--bronze); }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 26px; height: 10px; }
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 4px; transform: rotate(-45deg); }

@media (min-width: 1120px) {
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  background: var(--espresso);
  color: var(--ivory);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease), visibility 0s;
}
.mobile-menu__list > li + li { border-top: 1px solid var(--line-light); }
.mobile-menu__sub { padding: 0 0 0.85rem 1.1rem; border-left: 1px solid var(--bronze); margin-left: 0.15rem; }
.mobile-menu__list .mobile-menu__sub a {
  padding-block: 0.3rem;
  font-size: clamp(1.3rem, 5vw, 1.6rem);
  color: rgba(250, 248, 243, 0.82);
}
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  line-height: 1.15;
  text-decoration: none;
}
.mobile-menu__list a[aria-current="page"] { color: var(--bronze); }
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.7);
}
.mobile-menu__foot a { color: var(--ivory); }

@media (min-width: 1120px) {
  .mobile-menu { display: none; }
}

.menu-open { overflow: hidden; }

/* 7. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--espresso);
  color: var(--ivory);
}
.hero--page { min-height: clamp(560px, 84svh, 900px); }

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, center);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 15, 10, 0.5) 0%, rgba(24, 15, 10, 0) 26%),
    linear-gradient(0deg, rgba(24, 15, 10, 0.82) 0%, rgba(24, 15, 10, 0.36) 48%, rgba(24, 15, 10, 0.08) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3.5rem, 10vh, 7.5rem);
}
.hero__content .display { max-width: 20ch; }
.hero__lede {
  max-width: 33rem;
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: rgba(250, 248, 243, 0.88);
}

/* Split hero (Auction, Contact) */
.hero-split {
  display: grid;
  min-height: 100svh;
  padding-top: var(--header-h);
}
.hero-split__media { position: relative; min-height: 46svh; overflow: hidden; }
.hero-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, center);
}
.hero-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
}
.hero-split__content .lede { margin-top: 1.6rem; }
.hero-split--dark .hero-split__media::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 30%;
  background: linear-gradient(180deg, rgba(24, 15, 10, 0.6), rgba(24, 15, 10, 0));
}
.hero-split--dark { background: var(--espresso); color: var(--ivory); }
.hero-split--dark .lede { color: rgba(250, 248, 243, 0.8); }
.hero-split--cream { background: var(--cream); }

@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .hero-split__media { order: 2; min-height: 100%; }
  .hero-split__content {
    padding-top: calc(var(--header-h) + 4rem);
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
    padding-right: clamp(2rem, 5vw, 5rem);
  }
}

/* 8. Home sections ------------------------------------------------------- */

/* Featured coffee / lot cards */
.lots {
  display: grid;
  gap: clamp(4rem, 8vw, 6rem);
}
@media (min-width: 1000px) {
  .lots { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3.5rem); }
  .lots > :nth-child(2) { margin-top: clamp(4rem, 8vw, 7rem); }
  .lots .lot-card__name { font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
}

.lot-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}
.lot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.lot-card__media:hover img { transform: scale(1.035); }
.lot-card__body { padding-top: 2rem; }
.lot-card__place { margin-bottom: 0.75rem; }
.lot-card__name {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 1.75rem;
}
.lot-card__notes { margin: 1.75rem 0 2rem; color: var(--muted); max-width: 30rem; }

/* Spec list (used for lots, listings, auction) */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.specs > div {
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 0.2rem;
}
.specs dd { font-size: 0.98rem; line-height: 1.45; }
.section--dark .specs,
.section--dark .specs > div,
.hero-split--dark .specs,
.hero-split--dark .specs > div { border-color: var(--line-light); }
.section--dark .specs dt,
.hero-split--dark .specs dt { color: var(--bronze); }

@media (min-width: 640px) {
  .specs--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Split feature (Who we are, grower, auction teaser) */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.split__media { overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, center); }
.split__text .title { margin-bottom: 2rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 6fr 5fr; gap: clamp(4rem, 8vw, 8rem); }
  .split--reverse { grid-template-columns: 5fr 6fr; }
  .split--reverse .split__media { order: 2; }
}

/* Story (editorial) */
.story-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.story-grid__tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-grid__wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story-grid__text { max-width: 33rem; }
.story-grid__text p { color: var(--muted); }
.story-grid figcaption {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(1.5rem, 3vw, 3rem);
    row-gap: 0;
    align-items: start;
  }
  .story-grid__tall { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .story-grid__wide { grid-column: 7 / span 6; margin-top: clamp(4rem, 9vw, 8rem); }
  .story-grid__text { grid-column: 7 / span 5; margin-top: 3.5rem; }
}

/* Grower */
.grower__name {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1;
}
.grower__role { margin-top: 0.75rem; }
.grower__quote {
  margin-block: clamp(2.25rem, 4vw, 3rem);
  padding-left: clamp(1.25rem, 2vw, 2rem);
  border-left: 1px solid var(--bronze);
}
.grower__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.3;
}
.grower__facts > div {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.grower__facts > div:last-child { border-bottom: 1px solid var(--line); }
.grower__facts dd { color: var(--muted); max-width: 32rem; }
@media (min-width: 640px) {
  .grower__facts > div { grid-template-columns: 13rem 1fr; gap: 2rem; }
}
.grower__portrait figcaption {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Approach (dark, sticky image) */
.approach {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
}
.approach__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.principles { counter-reset: principle; }
.principle {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line-light);
}
.principle:last-child { border-bottom: 1px solid var(--line-light); }
.principle__num {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--bronze);
  line-height: 1.4;
}
.principle h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.principle p { color: rgba(250, 248, 243, 0.75); max-width: 30rem; }
.section:not(.section--dark):not(.section--coffee) .principle { border-color: var(--line); }
.section:not(.section--dark):not(.section--coffee) .principle p { color: var(--muted); }
.section:not(.section--dark):not(.section--coffee) .principle__num { color: var(--coffee); }

@media (min-width: 900px) {
  .approach { grid-template-columns: 5fr 6fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
  .approach__media { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .approach__media img { aspect-ratio: 3 / 4; }
}

/* Vision, mission & values */
.vm {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.vm .label { margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .vm { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 8rem); }
}

.values-head { margin-bottom: 2.5rem; }
.values {
  display: grid;
  border-top: 1px solid var(--line);
}
.values li {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.values h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}
.values p { color: var(--muted); font-size: 0.95rem; max-width: 22rem; }
@media (min-width: 640px) {
  .values { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .values { grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
  .values li { border-bottom: 0; padding-right: 1.5rem; }
  .values li + li { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* Photo grid (farm gallery) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(9rem, 34vw, 13rem);
  grid-auto-flow: dense;
  gap: 0.5rem;
}
.photo-grid > * { position: relative; overflow: hidden; background: var(--sand); }
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, center);
  transition: transform 1.2s var(--ease);
}
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid .is-big { grid-column: span 2; grid-row: span 2; }
.photo-grid .is-wide { grid-column: span 2; }
.photo-grid .is-tall { grid-row: span 2; }

@media (min-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(11rem, 17vw, 17rem);
    gap: 0.75rem;
  }
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 0.9rem;
  font-size: 0.8rem;
  color: var(--ivory);
  background: linear-gradient(0deg, rgba(24, 15, 10, 0.6), rgba(24, 15, 10, 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.photo-grid a:hover .gallery-caption,
.photo-grid a:focus-visible .gallery-caption { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery-caption { display: none; }
}

.section-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Instagram */
.insta-head { text-align: center; margin-inline: auto; max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.insta-head .lede { margin: 1.25rem auto 0; }
.insta-head .actions { justify-content: center; }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.insta-grid a { display: block; overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.4s; }
.insta-grid a:hover img { transform: scale(1.05); opacity: 0.9; }
@media (min-width: 768px) {
  .insta-grid { grid-template-columns: repeat(6, 1fr); gap: 0.6rem; }
}

/* Closing call to action */
.cta {
  display: grid;
  gap: 2.5rem;
}
.cta .title { max-width: 12ch; }
.inquiry-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.inquiry-types li { position: relative; }
@media (min-width: 900px) {
  .cta { grid-template-columns: 7fr 5fr; gap: 6rem; align-items: end; }
}

/* 9. Shared components --------------------------------------------------- */

/* Full-bleed image band */
.band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); }

/* Intro statement under a hero */
.intro {
  display: grid;
  gap: 2rem;
}
.intro .statement { max-width: 26ch; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 7fr 4fr; gap: 6rem; align-items: end; }
}

/* Story chapters (About page) */
.chapters { display: grid; gap: clamp(5rem, 10vw, 9rem); }
.chapter {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.chapter__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, center); }
.chapter__media--wide img { aspect-ratio: 3 / 2; }
.chapter__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--coffee);
  margin-bottom: 1rem;
}
.chapter h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.chapter p { color: var(--muted); max-width: 32rem; }
.chapter--text-only { max-width: 46rem; }

@media (min-width: 900px) {
  .chapter { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 8rem); }
  .chapter--flip .chapter__media { order: 2; }
  .chapter--text-only { grid-template-columns: 1fr; margin-left: 50%; padding-left: clamp(2rem, 4vw, 4rem); max-width: none; }
}

/* Process steps (Our Coffee) */
.steps {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
}
.step__media { overflow: hidden; margin-bottom: 1.5rem; }
.step__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: var(--focus, center); }
.step__num { font-family: var(--serif); font-size: 1.2rem; color: var(--bronze); }
.step h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  margin: 0.25rem 0 0.6rem;
}
.step p { color: rgba(250, 248, 243, 0.75); font-size: 0.96rem; }
@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (min-width: 1200px) {
  .steps { grid-template-columns: repeat(5, 1fr); column-gap: 1.75rem; }
  .steps > :nth-child(even) { margin-top: 4rem; }
}

@media (min-width: 1200px) {
  .steps--4 { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
}

/* Brand motto */
.motto {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--bronze);
}
.hero__motto { margin-top: 1.1rem; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.2; }
.hero .motto,
.section--dark .motto,
.section--coffee .motto {
  color: #e6cc9f;
  text-shadow: 0 1px 14px rgba(20, 12, 8, 0.45);
}

/* Featured auction lot */
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 1.75rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.price__value {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ivory);
}
.price__unit { font-family: var(--serif); font-size: 1.4rem; color: rgba(250, 248, 243, 0.75); }
.section--dark .product,
.section--coffee .product { border-color: var(--line-light); }
.section--dark .product__desc,
.section--coffee .product__desc { color: rgba(250, 248, 243, 0.8); }
.section--dark .note,
.section--coffee .note { color: rgba(250, 248, 243, 0.65); }
.section--coffee .specs,
.section--coffee .specs > div { border-color: var(--line-light); }
.section--coffee .specs dt { color: var(--bronze); }
.product__name--xl { font-size: clamp(2.8rem, 6vw, 5rem); }

/* Our Farm overview cards */
.farm-cards { display: grid; gap: clamp(3.5rem, 7vw, 5rem); }
@media (min-width: 900px) {
  .farm-cards { grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 3vw, 3rem); }
  .farm-cards > :nth-child(2) { margin-top: clamp(3rem, 7vw, 6rem); }
}
.farm-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.farm-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); transition: transform 1.2s var(--ease); }
.farm-card__media:hover img { transform: scale(1.035); }
.farm-card h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 1.75rem 0 0.75rem;
}
.farm-card h2 a { text-decoration: none; }
.farm-card p { color: var(--muted); max-width: 26rem; margin-bottom: 1.5rem; }

/* Calendar */
.calendar {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1000px) {
  .calendar { grid-template-columns: 6fr 5fr; align-items: start; gap: clamp(3rem, 6vw, 6rem); }
}
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.calendar__month {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
}
.calendar__nav { display: flex; gap: 0.5rem; }
.calendar__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.calendar__nav button:hover { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.calendar__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendar__grid th {
  padding: 0.6rem 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coffee);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.calendar__grid td {
  height: clamp(2.9rem, 6vw, 4.25rem);
  padding: 0;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  position: relative;
}
.calendar__grid td.is-outside { color: rgba(36, 23, 16, 0.25); }
.calendar__grid td.is-today span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--espresso);
  border-radius: 50%;
  font-weight: 700;
}
.calendar__grid td.has-event { font-weight: 700; color: var(--espresso); }
.calendar__grid td.has-event::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--bronze);
}
.calendar__list h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.event {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.event:last-of-type { border-bottom: 1px solid var(--line); }
.event__date { font-family: var(--serif); line-height: 1; text-align: center; }
.event__day { display: block; font-size: 2.3rem; font-weight: 500; }
.event__mon { display: block; margin-top: 0.3rem; font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coffee); }
.event__type { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coffee); }
.event h4 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; margin: 0.2rem 0 0.35rem; }
.event p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.5rem; }
.calendar__empty {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar__empty p { color: var(--muted); max-width: 30rem; }

/* Grower biography and background list */
.grower__bio p { color: var(--muted); max-width: 34rem; }
.grower__bio { margin-top: 2rem; }
.bg-list { display: grid; gap: 0.45rem; }
.bg-list li { display: flex; gap: 0.85rem; color: var(--muted); }
.bg-list li::before { content: "—"; color: var(--bronze); flex: none; }

/* Origin facts */
.origin {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
}
@media (min-width: 900px) {
  .origin { grid-template-columns: 5fr 6fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
}
.facts > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coffee);
  padding-top: 0.25rem;
}
.facts dd { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
@media (min-width: 640px) {
  .facts > div { grid-template-columns: 12rem 1fr; }
}

/* Product rows (Our Coffee) and listings */
.product {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}
.product:first-child { border-top: 0; padding-top: 0; }
.product__media { overflow: hidden; background: var(--sand); }
.product__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, center); }
.product__name {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1;
  margin: 0.75rem 0 1.5rem;
}
.product__desc { color: var(--muted); max-width: 32rem; margin-bottom: 2rem; }
.product .actions { margin-top: 2.25rem; }
@media (min-width: 900px) {
  .product { grid-template-columns: 5fr 6fr; gap: clamp(4rem, 8vw, 7rem); align-items: center; }
  .product--flip .product__media { order: 2; }
}

.note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 36rem;
}

/* Media page */
.media-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid var(--line);
}
.media-nav ul {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.media-nav ul::-webkit-scrollbar { display: none; }
.media-nav a {
  display: block;
  padding-block: 1.1rem;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
}
.media-nav a:hover { color: var(--ink); }

.gallery-group + .gallery-group { margin-top: clamp(4.5rem, 9vw, 7rem); }
.gallery-group__head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.gallery-group__head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.05;
}
.gallery-group__head p { color: var(--muted); max-width: 32rem; }
@media (min-width: 900px) {
  .gallery-group__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; }
}

/* Auction */
.auction-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.auction-steps li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.auction-steps .principle__num { color: var(--coffee); }
.auction-steps h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; margin-bottom: 0.4rem; }
.auction-steps p { color: var(--muted); max-width: 30rem; }
@media (min-width: 900px) {
  .auction-steps { grid-template-columns: repeat(3, 1fr); column-gap: 3rem; }
  .auction-steps li { grid-template-columns: 1fr; gap: 0.75rem; border-bottom: 0; }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bronze);
}

/* Contact */
.contact {
  display: grid;
  gap: clamp(3.5rem, 7vw, 5rem);
}
@media (min-width: 1000px) {
  .contact { grid-template-columns: 4fr 7fr; gap: clamp(4rem, 8vw, 8rem); }
}
.contact__aside h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.contact__block + .contact__block { margin-top: 3rem; }
.contact-list > div { padding-block: 1rem; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { margin-bottom: 0.25rem; }
.contact-list dd { color: var(--ink); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: currentColor; }
.topics li { padding-block: 0.7rem; border-top: 1px solid var(--line); }
.topics li:last-child { border-bottom: 1px solid var(--line); }
.topics strong { font-weight: 600; display: block; }
.topics span { color: var(--muted); font-size: 0.92rem; }

.form { display: grid; gap: 1.75rem; }
.form__row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coffee);
}
.field label .optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(36, 23, 16, 0.35);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23654634' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 2rem;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--espresso); box-shadow: 0 1px 0 0 var(--espresso); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-bottom-color: #8c3b22; }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 0.5rem;
}
.form__status {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 30rem;
}
.form__status:empty { display: none; }
.form__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.form__status.is-error { color: #8c3b22; }
.form__status.is-success { color: #4c5138; font-weight: 600; }

/* 11. Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--espresso);
  color: rgba(250, 248, 243, 0.72);
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  padding-bottom: 2.5rem;
  font-size: 0.92rem;
}
.site-footer a { text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--ivory); }
.footer__top {
  display: grid;
  gap: 3.5rem;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line-light);
}
.footer__brand .brand { color: var(--ivory); }
.footer__motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
  margin-top: 2.25rem;
}
.footer__statement {
  max-width: 24rem;
  margin-top: 0.85rem;
  color: rgba(250, 248, 243, 0.72);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
}
.footer__cols h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}
.footer__cols li + li { margin-top: 0.55rem; }
.footer__cols address { font-style: normal; line-height: 1.7; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(250, 248, 243, 0.55);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 5fr 7fr; gap: 6rem; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* 12. Lightbox ----------------------------------------------------------- */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 12, 8, 0.96);
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(20, 12, 8, 0.96); }
.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--gutter);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 var(--gutter);
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100svh - 11rem);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__figure figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(250, 248, 243, 0.75);
  text-align: center;
}
.lightbox__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem var(--gutter) 1.5rem;
}
.lightbox button {
  min-width: 44px;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(250, 248, 243, 0.35);
  background: transparent;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.lightbox button:hover { background: var(--ivory); color: var(--espresso); }

/* 13. Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-delay { transition-delay: 0.15s; }

  .js .reveal-img { overflow: hidden; }
  .js .reveal-img img {
    transform: scale(1.08);
    transition: transform 1.8s var(--ease);
  }
  .js .reveal-img.is-visible img { transform: scale(1); }

  .hero__media img { animation: hero-settle 2.8s var(--ease) both; }
  .hero__content > * { animation: rise 1.3s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: 0.18s; }
  .hero__content > :nth-child(3) { animation-delay: 0.32s; }
  .hero__content > :nth-child(4) { animation-delay: 0.44s; }
}

@keyframes hero-settle {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 14. Final typography refinement ----------------------------------------
   One consistent heading weight for every serif headline and card title. */
.lot-card__name,
.grower__name,
.principle h3,
.values h3,
.chapter h2,
.step h3,
.product__name,
.gallery-group__head h2,
.contact__aside h2,
.auction-steps h3,
.farm-card h2,
.calendar__month,
.calendar__list h3,
.event h4,
.price__value,
.footer__motto { font-weight: 600; letter-spacing: -0.01em; }

.statement { font-weight: 500; }
.grower__quote p { font-weight: 500; }
.mobile-menu__list a { font-weight: 500; }
.facts dd { font-weight: 500; }
.hero__lede { font-weight: 500; }
