/* Source stylesheet: edit this file and rebuild to refresh public/styles.css. */
/* -------------------------------------------------------------------------- */
/* Foundations                                                                 */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
  --bg-cream: #f5efe4;
  --bg-soft: #ece4d5;
  --paper: #faf5ed;
  --ink: #1c2430;
  --ink-soft: #4e565f;
  --deep-plum: #5c1722;
  --deep-plum-2: #6d1f2d;
  --earth: #7a5e48;
  --forest: #213d37;
  --forest-soft: #2d4b43;
  --line: rgba(28, 36, 48, 0.12);
  --shadow: 0 24px 60px rgba(37, 24, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

#root {
  overflow-x: hidden;
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                       */
/* -------------------------------------------------------------------------- */

.top-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(12, 12, 12, 0.38);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 220ms ease;
}

.top-shell-hidden {
  transform: translateY(-100%);
}

.navigation-shell {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 1vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-wave {
  font-size: 3.4rem;
  line-height: 1;
  color: #9b1d3b;
  transform: translateY(-6px);
}

.brand-kicker,
.section-kicker,
.footer-kicker,
.hero-eyebrow,
.farm-card-location {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.brand-kicker {
  color: rgba(255, 244, 228, 0.76);
  margin-bottom: 4px;
}

.brand-name {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 248, 240, 0.96);
}

.primary-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.nav-link {
  font-size: 1rem;
  color: rgba(255, 248, 240, 0.82);
  font-weight: 500;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-link.is-active {
  color: rgba(255, 250, 244, 0.98);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.nav-link-home {
  opacity: 0.8;
}

.nav-badge {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-badge-pill {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 248, 240, 0.94);
  font-weight: 600;
}

.nav-badge-text {
  font-size: 0.88rem;
  color: rgba(255, 244, 228, 0.72);
}

/* -------------------------------------------------------------------------- */
/* Hero section                                                                 */
/* -------------------------------------------------------------------------- */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: #161616;
  color: white;
  overflow: hidden;
}

.hero-media-stack,
.hero-media,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-media {
  margin: 0;
  opacity: 0;
  transform: translateX(7%) scale(1.08);
  transition: opacity 0.95s ease, transform 1.1s ease;
  overflow: hidden;
  will-change: opacity, transform;
}

.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.08) contrast(0.96) brightness(0.72);
  transform: scale(1.03);
  transition: transform 0.9s ease;
}

.hero-media.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-media.is-active .hero-media-image {
  transform: scale(1);
}

.hero-media.is-past {
  transform: translateX(-5%) scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.42) 0%, rgba(10, 10, 10, 0.12) 40%, rgba(10, 10, 10, 0.3) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.02) 0%, rgba(10, 10, 10, 0.2) 100%);
}

.hero-grain {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06) 0, transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.04) 0, transparent 22%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0, transparent 18%);
  mix-blend-mode: screen;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 16vh;
  padding-left: 19%;
  padding-right: 4vw;
  min-height: 100vh;
}

.hero-copy {
  max-width: min(56vw, 549px);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: min(29vh, 320px);
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
}

.hero-title,
.section-title,
.detail-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-title {
  max-width: 100%;
  font-size: clamp(3.5rem, 6.4vw, 5.7rem);
}

.hero-text,
.section-body,
.benefit-text,
.detail-text,
.footer-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  line-height: 1.34;
}

.hero-text {
  max-width: 100%;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: calc(16px + 2vh);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-size: 0.9rem;
}

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

.button-primary {
  background: white;
  color: var(--deep-plum);
  font-weight: 700;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.button-accent {
  background: #39479b;
  color: white;
  font-weight: 600;
}

.hero-carousel-shell {
  position: absolute;
  left: 50%;
  bottom: 3vh;
  transform: translateX(-50%);
  width: min(94vw, 1290px);
  max-width: 94vw;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: clamp(4px, 0.45vw, 8px);
  overflow: hidden;
}

.hero-floating-strip {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, calc((100% - 48px) / 4)));
  justify-content: start;
  gap: 16px;
  margin-top: auto;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.24s ease, transform 0.31s ease;
  will-change: opacity, transform;
}

.hero-floating-strip.is-forward.is-exiting {
  opacity: 0;
  transform: translateX(-36px) translateY(10px);
}

.hero-floating-strip.is-forward.is-entering {
  opacity: 0;
  transform: translateX(36px) translateY(-10px);
}

.hero-floating-strip.is-backward.is-exiting {
  opacity: 0;
  transform: translateX(36px) translateY(10px);
}

.hero-floating-strip.is-backward.is-entering {
  opacity: 0;
  transform: translateX(-36px) translateY(-10px);
}

.hero-thumb-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(20, 16, 15, 0.24);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 3;
  min-height: 0;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  color: white;
  cursor: pointer;
  transform: none;
}

.hero-thumb-media {
  height: 100%;
  overflow: hidden;
}

.hero-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: grayscale(0.08) contrast(0.96) brightness(0.96);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-thumb-card:hover .hero-thumb-image {
  transform: scale(1.03);
}

.hero-thumb-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 4px;
}

.hero-carousel-arrow {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-self: center;
  flex: 0 0 32px;
  font-size: 1.1rem;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-carousel-arrow-prev {
  transform: none;
}

.hero-carousel-arrow-next {
  transform: none;
}

.hero-carousel-arrow-prev:hover {
  transform: translateY(-1px);
}

.hero-carousel-arrow-next:hover {
  transform: translateY(-1px);
}

.hero-carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 16, 15, 0.35);
  box-shadow: 0 0 0 3px rgba(20, 16, 15, 0.16);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.hero-carousel-dot.is-active {
  background: #9f9f9f;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.hero-carousel-dot:hover {
  transform: scale(1.08);
}

.hero-thumb-body {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 22px 22px;
  color: white;
  background: linear-gradient(180deg, rgba(15, 13, 13, 0) 0%, rgba(15, 13, 13, 0.84) 100%);
}

.hero-mini-index {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.74);
}

.hero-thumb-text {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.12;
  max-width: 200px;
}

.hero-thumb-link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* -------------------------------------------------------------------------- */
/* Story section                                                                */
/* -------------------------------------------------------------------------- */

.story-panel-section {
  position: relative;
  width: 100vw;
  height: min(100vh, 56.25vw);
  margin: 0;
  padding: 0;
  background: #e9dece;
  overflow: hidden;
}

.story-panel-section .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.story-panel-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 0;
}

.story-frame {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.story-frame-image,
.story-frame-image-primary,
.story-frame-image-secondary {
  margin: 0;
}

.story-frame-image {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.story-frame-image-primary {
  border-right: 1px solid rgba(28, 36, 48, 0.12);
  border-bottom: 1px solid rgba(28, 36, 48, 0.12);
}

.story-frame-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}

.story-frame-copy-light {
  position: relative;
  background: #e1eb34;
  border-bottom: 1px solid rgba(28, 36, 48, 0.12);
}

.story-frame-copy-light::before {
  content: "“";
  position: absolute;
  top: -10%;
  left: calc(-2% + 1vw);
  z-index: 1;
  font-size: clamp(160px, 22vw, 300px);
  color: rgba(64, 44, 18, 0.48);
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
  pointer-events: none;
}

.story-frame-copy-light::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(120, 90, 30, 0.12);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.story-frame-copy-quote {
  padding: clamp(28px, 4.2vw, 56px);
}

.story-frame-copy-accent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e1eb34;
  border-right: 1px solid rgba(28, 36, 48, 0.12);
}

.story-frame-image-secondary {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.story-frame-media {
  display: block;
  width: 100%;
  height: 100%;
}

.story-frame-image-primary .story-frame-media {
  object-fit: cover;
  object-position: 50% 42%;
}

.story-frame-media-graph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  padding: 0;
}

.story-frame-image-primary img,
.story-frame-image-secondary img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}

.story-frame-kicker {
  margin: 0 0 18px;
  color: #6b5240;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-frame-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: #122f49;
  max-width: 15ch;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.story-frame-title span:first-child {
  transform: translateX(-12px);
}

.story-frame-title span:last-child {
  transform: translateX(28px);
}

.story-frame-title-quote {
  max-width: none;
  font-size: clamp(2.3rem, 3.7vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.story-frame-copy-light .story-frame-title {
  position: relative;
  z-index: 1;
  color: #3f3636;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  max-width: 18ch;
  padding-left: 40px;
}

.story-frame-copy-light .story-frame-title.story-frame-title-quote {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1;
  max-width: 14ch;
  padding-left: 0;
}

.story-frame-copy-light .story-frame-text {
  display: none;
}

.story-frame-text {
  max-width: calc(520px + 10vh);
  margin: calc(24px - 1vh) auto 0 auto;
  transform: translateX(5vh);
  text-align: center;
  color: #36414d;
  font-size: 1.28rem;
  line-height: 1.65;
  font-family: "Oswald", sans-serif;
}

.story-frame-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(18, 47, 73, 0.22);
  background: transparent;
  color: #122f49;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-link-inline {
  color: #122f49;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.story-link-inline:hover {
  opacity: 0.7;
}

@media (max-width: 1330px) and (min-width: 1181px) {
  .story-frame-copy-accent .story-frame-title {
    max-width: 100%;
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .story-frame-copy-accent .story-frame-title span:first-child,
  .story-frame-copy-accent .story-frame-title span:last-child {
    transform: none;
  }
}

.measurements-page-section {
  padding: 72px 0 110px;
}

.measurements-layout {
  display: block;
}

.measurements-card {
  max-width: 760px;
  padding: 32px;
  border: 1px solid rgba(18, 47, 73, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.measurements-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.measurements-text {
  max-width: 52ch;
}

.measurements-list {
  margin: 24px 0 0;
  padding-left: 20px;
  color: #36414d;
  font-size: 1rem;
  line-height: 1.7;
}

.measurements-item + .measurements-item {
  margin-top: 8px;
}

/* -------------------------------------------------------------------------- */
/* Inner hero sections                                                          */
/* -------------------------------------------------------------------------- */

.inner-hero {
  position: relative;
  padding: 112px 0 96px;
  color: white;
}

.philosophy-hero {
  background:
    linear-gradient(180deg, rgba(20, 14, 13, 0.76), rgba(20, 14, 13, 0.6)),
    url("./images/philosophy-hero.jpg") center/cover no-repeat;
}

.locations-hero {
  background:
    linear-gradient(180deg, rgba(20, 14, 13, 0.76), rgba(20, 14, 13, 0.6)),
    url("./images/locations-hero.jpg") center/cover no-repeat;
}

.inner-hero-layout {
  max-width: 860px;
}

.inner-hero-text {
  max-width: 700px;
  margin: 22px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.36;
  color: rgba(255, 255, 255, 0.9);
}

.philosophy-page-section,
.locations-page-section {
  padding: 72px 0 110px;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.locations-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.locations-content {
  display: grid;
  gap: 24px;
}

.locations-content-header,
.finder-panel {
  padding: 30px;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 12px 30px rgba(32, 24, 22, 0.06);
}

.finder-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.finder-intro,
.locations-helper {
  margin: 14px 0 0;
  line-height: 1.65;
  color: var(--ink-soft);
}

.finder-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.finder-label {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0c3450;
}

.finder-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(12, 52, 80, 0.16);
  background: #fbf8f2;
  font-size: 1rem;
  color: var(--ink);
}

.finder-input:focus {
  outline: none;
  border-color: rgba(92, 23, 34, 0.42);
  box-shadow: 0 0 0 4px rgba(92, 23, 34, 0.08);
}

.finder-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5c1722, #7d2c3d);
  color: white;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(92, 23, 34, 0.22);
}

.finder-feedback {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.5;
  background: #f7f1e4;
  color: #6d4d16;
}

.finder-feedback.is-success {
  background: #edf6ef;
  color: #1e5b2f;
}

.finder-feedback.is-invalid,
.finder-feedback.is-unknown-postcode {
  background: #fbebea;
  color: #8b2d2a;
}

.nearest-card {
  margin-top: 18px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf8, #f4eadb);
  border: 1px solid rgba(92, 23, 34, 0.12);
}

.nearest-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(92, 23, 34, 0.1);
  color: #5c1722;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nearest-distance {
  margin: 12px 0 0;
  color: #0c3450;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1.2;
}

.finder-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.finder-stat {
  padding: 16px;
  border-radius: 18px;
  background: #f8f3e9;
}

.finder-stat dt {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.finder-stat dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.philosophy-sidebar {
  display: grid;
  gap: 14px;
}

.philosophy-nav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(28, 36, 48, 0.1);
  text-align: left;
  box-shadow: 0 10px 28px rgba(32, 24, 22, 0.06);
}

.philosophy-nav-card.is-active {
  border-color: rgba(92, 23, 34, 0.28);
  background: #f3eadb;
}

.philosophy-nav-icon,
.philosophy-detail-icon,
.philosophy-related-icon {
  font-size: 1.4rem;
}

.philosophy-nav-title {
  font-weight: 600;
  color: var(--ink);
}

.philosophy-detail-card {
  padding: 34px;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

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

.philosophy-lead {
  margin: 16px 0 0;
  color: #0c3450;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  line-height: 1.28;
}

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

.philosophy-related-card,
.location-card {
  padding: 22px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 12px 30px rgba(32, 24, 22, 0.06);
}

.philosophy-related-text,
.location-card-text,
.location-card-meta {
  margin: 12px 0 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-image-badge {
  position: absolute;
  left: 38px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(22, 23, 31, 0.58);
  color: white;
  backdrop-filter: blur(8px);
}

.story-text-card {
  border-radius: 42px;
  padding: 88px 60px;
}

.section-kicker {
  color: var(--earth);
  margin-bottom: 18px;
}

.section-kicker-light {
  color: rgba(245, 239, 228, 0.76);
}

.section-title {
  font-size: clamp(2.9rem, 4.8vw, 4.6rem);
}

.section-title-dark {
  color: #0c3450;
}

.section-title-light {
  color: var(--paper);
  max-width: 820px;
}

.section-body {
  max-width: 650px;
  margin: 18px 0 34px;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------------------- */
/* Benefits and quote band                                                      */
/* -------------------------------------------------------------------------- */

.benefits-section {
  position: relative;
  padding: 168px 0 156px;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.64) 0%, rgba(16, 16, 16, 0.74) 40%, rgba(16, 16, 16, 0.82) 100%),
    url("./images/farm-thumb-2.jpg") center/cover no-repeat;
}

.benefits-section::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 160px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.62) 100%);
  pointer-events: none;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.benefit-card {
  min-height: 330px;
  padding: 32px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 38px rgba(20, 10, 12, 0.18);
}

.benefit-icon {
  font-size: 2.3rem;
  margin-bottom: 26px;
}

.benefit-title,
.detail-subtitle,
.farm-card-title {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.1;
}

.benefit-text {
  margin: 18px 0 0;
  font-size: 1.16rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.84);
}

.quote-band {
  padding: 108px 0 108px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96) 0, rgba(18, 18, 18, 0.98) 100%);
  color: white;
}

.quote-band-inner {
  max-width: 920px;
}

.quote-mark {
  margin: 0 0 8px;
  font-size: 5rem;
  line-height: 0.7;
  color: rgba(255, 255, 255, 0.36);
}

.quote-text {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.quote-credit {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------------------- */
/* Farms gallery and detail                                                     */
/* -------------------------------------------------------------------------- */

.gallery-section {
  padding: 96px 0 54px;
}

.gallery-title {
  max-width: 920px;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.gallery-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.farm-card {
  padding: 0;
  border: 1px solid rgba(28, 36, 48, 0.12);
  background: white;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(32, 24, 22, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.farm-card:hover,
.farm-card.is-selected {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(32, 24, 22, 0.12);
  border-color: rgba(92, 23, 34, 0.28);
}

.farm-card-image {
  aspect-ratio: 0.82 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.farm-card-image::after,
.detail-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 14, 12, 0.24) 100%);
}

.farm-card-body {
  padding: 16px 14px 16px;
}

.farm-card-location {
  color: var(--earth);
  margin-bottom: 12px;
}

.farm-card-title {
  color: var(--ink);
}

.farm-card-summary {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.92rem;
}

.farm-tone-bw .farm-card-image,
.farm-tone-bw img {
  filter: grayscale(1) contrast(1.02) brightness(0.94);
}

.farm-tone-sepia .farm-card-image,
.farm-tone-sepia img {
  filter: sepia(0.64) saturate(0.78) contrast(0.94) brightness(0.96);
}

.farm-tone-matte .farm-card-image,
.farm-tone-matte img {
  filter: saturate(0.72) contrast(0.9) brightness(0.94);
}

.detail-section {
  padding: 44px 0 120px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-image-panel {
  position: sticky;
  top: 24px;
  border-radius: 28px;
  overflow: hidden;
  min-height: 680px;
  box-shadow: var(--shadow);
}

.detail-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
}

.detail-copy-panel {
  padding-top: 12px;
}

.detail-title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  color: #122f49;
}

.detail-location {
  margin: 18px 0 28px;
  font-size: 1.05rem;
  color: var(--earth);
}

.detail-quote {
  margin: 0;
  padding: 22px 22px;
  border-radius: 22px;
  background: #f0e6d6;
  color: var(--ink);
}

.detail-quote p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  line-height: 1.18;
}

.detail-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: var(--ink-soft);
}

.detail-copy-block {
  margin-top: 28px;
}

.detail-subtitle {
  color: var(--deep-plum);
}

.detail-text {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.detail-info-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
}

.detail-info-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.detail-info-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
}

.detail-info-value {
  margin: 10px 0 0;
  color: var(--ink);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                       */
/* -------------------------------------------------------------------------- */

.footer-section {
  padding: 42px 0 54px;
  border-top: 1px solid rgba(28, 36, 48, 0.08);
  background: #f2ebde;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.footer-kicker {
  color: var(--deep-plum);
  margin-bottom: 12px;
}

.footer-text {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
}

.footer-link {
  color: var(--deep-plum);
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                   */
/* -------------------------------------------------------------------------- */

@media (max-width: 2000px) and (min-width: 1401px) {
  .hero-carousel-shell {
    width: 85vw;
    max-width: 85vw;
  }
}

@media (max-width: 1180px) {
  .story-panel-shell,
  .detail-layout,
  .philosophy-layout,
  .locations-layout {
    grid-template-columns: 1fr;
  }

  .hero-thumb-body {
    display: none;
  }

  .hero-floating-strip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, calc((100% - 42px) / 4)));
    justify-content: start;
    gap: 14px;
  }

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

  .hero-copy {
    max-width: min(58vw, 520px);
    padding-top: 4vh;
    padding-bottom: 220px;
  }

  .hero-carousel-shell {
    width: min(94vw, 1008px);
    max-width: 94vw;
    bottom: 4vh;
    transform: translateX(-50%);
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: clamp(4px, 0.4vw, 6px);
    overflow: hidden;
  }

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

  .location-grid,
  .philosophy-related-grid {
    grid-template-columns: 1fr;
  }

  .story-panel-shell {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(320px, auto));
    min-height: auto;
    height: auto;
  }

  .story-frame-image-primary {
    order: 1;
  }

  .story-frame-copy-light {
    order: 2;
  }

  .story-frame-image-secondary {
    order: 3;
  }

  .story-frame-copy-accent {
    order: 4;
  }

  .story-panel-section {
    height: auto;
    min-height: auto;
  }

  .story-frame-image-primary,
  .story-frame-copy-light,
  .story-frame-copy-accent {
    border-right: 0;
    border-bottom: 1px solid rgba(28, 36, 48, 0.12);
  }

  .detail-image-panel {
    position: relative;
    top: 0;
    min-height: 520px;
  }

  .detail-image-panel img {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .top-shell {
    display: none;
  }

  .container {
    width: min(100% - 32px, 100%);
  }

  .hero-content {
    width: min(100% - 32px, 100%);
    margin: 0 auto;
    padding-top: 72px;
    padding-left: 0;
    padding-right: 0;
  }

  .navigation-shell,
  .footer-layout {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-badge,
  .footer-links {
    justify-self: start;
    justify-content: flex-start;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 52px;
    min-height: auto;
  }

  .hero-carousel-shell {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: fit-content;
    max-width: 100%;
    grid-template-columns: 32px auto 32px;
    align-items: center;
    gap: clamp(4px, 0.9vw, 8px);
    margin-top: 28px;
    overflow: hidden;
  }

  .hero-floating-strip {
    width: auto;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: repeat(4, minmax(0, clamp(112px, 18vw, 140px)));
    justify-content: start;
    gap: 12px;
  }

  .gallery-grid,
  .benefit-grid,
  .detail-info-grid,
  .location-grid,
  .philosophy-related-grid,
  .finder-stats {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 260px;
  }

  .hero-thumb-card {
    border-radius: 24px;
  }

  .hero-carousel-arrow {
    display: inline-flex;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    place-self: center;
    flex: 0 0 32px;
  }

  .hero-carousel-arrow-prev,
  .hero-carousel-arrow-next {
    transform: none;
  }

  .hero-carousel-arrow-prev:hover,
  .hero-carousel-arrow-next:hover {
    transform: translateY(-1px);
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .story-panel-section,
  .benefits-section,
  .gallery-section,
  .detail-section {
    padding-left: 0;
    padding-right: 0;
  }

  .story-text-card {
    padding: 44px 28px;
    border-radius: 0 0 30px 30px;
  }

  .story-frame {
    min-height: 320px;
  }

  .story-frame-copy {
    padding: 30px 24px;
  }

  .story-frame-media-graph {
    padding: 0;
  }

  .detail-copy-panel {
    padding-top: 0;
  }

  .philosophy-detail-card {
    padding: 26px;
  }
}

@media (max-width: 700px) {
  .hero-carousel-shell,
  .hero-floating-strip,
  .hero-carousel-arrow,
  .hero-carousel-dots {
    display: none;
  }

  .story-frame-title {
    max-width: 100%;
  }

  .story-frame-title span:first-child,
  .story-frame-title span:last-child {
    transform: none;
  }

  .story-frame-text {
    max-width: 100%;
    transform: none;
    font-size: 1.12rem;
  }
}

@media (max-width: 700px) and (min-width: 601px) {
  .story-frame-copy-accent .story-frame-title {
    max-width: 12.5ch;
    font-size: clamp(2.15rem, 4.25vw, 2.7rem);
    line-height: 0.96;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 1.55rem;
  }

  .hero-title {
    font-size: clamp(3rem, 11vw, 4.6rem);
  }

  .hero-eyebrow {
    font-size: 0.66rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .button {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .hero-text,
  .section-body,
  .benefit-text,
  .detail-text,
  .footer-text,
  .detail-quote p {
    font-size: 1.15rem;
  }

  .button {
    width: 100%;
  }

  .story-shape {
    width: 300px;
    border-width: 54px;
  }

  .detail-image-panel,
  .detail-image-panel img {
    min-height: 380px;
  }
}

@media (max-width: 600px) and (min-width: 470px) {
  .story-frame-copy-accent .story-frame-title {
    max-width: 12ch;
    font-size: clamp(1.95rem, 4.9vw, 2.45rem);
    line-height: 0.96;
  }
}

@media (max-width: 550px) {
  .story-panel-shell {
    grid-template-rows: auto auto auto auto;
  }

  .story-frame,
  .story-frame-image-secondary {
    min-height: 0;
  }

  .story-frame-image-secondary {
    padding: 0;
  }

  .story-frame-image-secondary img,
  .story-frame-image-secondary .story-frame-media-graph {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
  }
}
