:root {
  --ink: #17201b;
  --ink-soft: #394139;
  --paper: #f7f0e3;
  --paper-deep: #efe0c7;
  --cream: #fffaf1;
  --mushroom: #8c6a45;
  --gold: #c79d4e;
  --green: #263d2c;
  --green-light: #dae2d0;
  --line: rgba(23, 32, 27, 0.14);
  --shadow: 0 22px 70px rgba(42, 31, 20, 0.16);
  --row-media-height: clamp(350px, 34vw, 430px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("assets/background-morel-no-grid.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  opacity: 0.95;
}

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

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

em {
  font-style: italic;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4.6vw, 72px);
  background: rgba(247, 240, 227, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

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

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--mushroom);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.1;
}

.header-cta,
.button.primary {
  background: var(--green);
  color: var(--cream);
  border: 1px solid var(--green);
}

.button.secondary {
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(38, 61, 44, 0.35);
}

.button.secondary.dark {
  color: var(--cream);
  border-color: rgba(255, 250, 241, 0.44);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 7vw, 96px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(280px, 360px);
  gap: clamp(26px, 3.5vw, 46px);
  justify-content: center;
  align-items: center;
  min-height: calc(92vh - 72px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  color: var(--mushroom);
  font-size: clamp(2.1rem, 3.35vw, 3.55rem);
}

h2 {
  max-width: 920px;
  color: var(--mushroom);
  font-size: clamp(2.1rem, 3.35vw, 3.55rem);
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.hero-kicker {
  margin-top: 22px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero-text {
  max-width: 720px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.hero-text.small {
  max-width: 690px;
  font-size: 0.98rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  align-self: center;
  min-height: 0;
  aspect-ratio: 4 / 5;
  height: var(--row-media-height);
  width: min(100%, 360px);
  justify-self: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green);
}

.hero-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  align-items: center;
}

#morels {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(34px, 5.5vw, 72px);
}

.section-copy p {
  max-width: 690px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.split > .section-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.quality-panel,
.text-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.quality-panel {
  display: flex;
  align-items: center;
  align-self: center;
  padding: 0;
  background: transparent;
  border-left: 0;
  border-radius: 0;
}

.attribute-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(140, 106, 69, 0.24);
  border-bottom: 1px solid rgba(140, 106, 69, 0.24);
}

.attribute-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.attribute-list li + li {
  border-top: 1px solid rgba(140, 106, 69, 0.18);
}

.attribute-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mushroom);
}

.attribute-list strong {
  display: block;
  color: var(--mushroom);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.05;
}

.attribute-list span {
  display: block;
  margin-top: 2px;
}

.quality-panel p {
  margin-top: 22px;
}

.culinary-section {
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  align-items: center;
}

.culinary-section .section-copy {
  order: 2;
}

.culinary-section .inline-video {
  order: 1;
}

.media-story {
  display: grid;
  gap: 34px;
  padding-top: 0;
}

.media-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: 32px;
  align-items: end;
}

.media-copy p:last-child {
  font-size: 1.02rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.compact-media {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

figure {
  margin: 0;
}

.cultivation-grid figure,
.inline-video {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

.media-grid img,
.media-grid video,
.cultivation-grid img,
.inline-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inline-video {
  width: min(100%, 242px);
  height: var(--row-media-height);
  max-width: none;
  justify-self: center;
  align-self: center;
  background: #111;
}

.inline-video video {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #111;
}

.video-figure video {
  background: #111;
}

.inline-video video:fullscreen,
.inline-video video:-webkit-full-screen,
.video-figure video:fullscreen,
.video-figure video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #000;
}

.single-photo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

.single-photo img {
  width: auto;
  max-width: 100%;
  height: var(--row-media-height);
  aspect-ratio: 4 / 5;
  max-height: none;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: none;
}

.cultivation {
  display: grid;
  gap: 24px;
}

.section-heading {
  max-width: 1180px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cultivation-grid {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.text-panel {
  display: grid;
  align-content: center;
  gap: 18px;
}

.cultivation-grid figure {
  height: var(--row-media-height);
  max-width: 320px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  align-self: center;
}

.story {
  width: 100%;
  max-width: none;
  padding: clamp(72px, 9vw, 120px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--paper-deep);
}

.story-header {
  max-width: 780px;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px clamp(26px, 5vw, 72px);
  margin-top: 32px;
}

.story-columns p {
  color: var(--ink);
  font-size: 1.04rem;
}

.trade {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.trade-mark {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.trade-mark img {
  width: 100%;
  max-width: 280px;
  border-radius: 0;
}

.trade-copy p {
  max-width: 760px;
  margin-top: 20px;
}

.looking {
  width: min(1180px, calc(100% - 40px));
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  background: var(--green);
  color: var(--cream);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.looking::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='920' height='300' viewBox='0 0 920 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23fffaf1' stroke-opacity='.18' stroke-width='7'%3E%3Cpath d='M38 56h260M38 92h260M38 128h260M38 164h260M38 200h260M38 236h260'/%3E%3Crect x='38' y='38' width='118' height='106' fill='%23fffaf1' fill-opacity='.08' stroke='none'/%3E%3C/g%3E%3Cg fill='%23fffaf1' fill-opacity='.18'%3E%3Ccircle cx='70' cy='68' r='4'/%3E%3Ccircle cx='96' cy='68' r='4'/%3E%3Ccircle cx='122' cy='68' r='4'/%3E%3Ccircle cx='70' cy='94' r='4'/%3E%3Ccircle cx='96' cy='94' r='4'/%3E%3Ccircle cx='122' cy='94' r='4'/%3E%3Ccircle cx='70' cy='120' r='4'/%3E%3Ccircle cx='96' cy='120' r='4'/%3E%3Ccircle cx='122' cy='120' r='4'/%3E%3Cpath d='M702 80l13 39h41l-33 24 13 39-34-24-33 24 13-39-33-24h41z'/%3E%3Ccircle cx='790' cy='76' r='9'/%3E%3Ccircle cx='823' cy='112' r='8'/%3E%3Ccircle cx='823' cy='158' r='8'/%3E%3Ccircle cx='790' cy='194' r='9'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(900px, 120%) auto;
  opacity: 0.56;
}

.looking > * {
  position: relative;
  z-index: 1;
}

.looking h2 {
  color: var(--cream);
  font-size: clamp(2rem, 2.7vw, 2.7rem);
  white-space: nowrap;
}

.looking p {
  color: rgba(255, 250, 241, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 0.78fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy p {
  margin-top: 20px;
}

.inquiry-form {
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

label {
  display: grid;
  gap: 4px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(23, 32, 27, 0.22);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(199, 157, 78, 0.55);
  outline-offset: 2px;
}

.form-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
}

.form-note {
  display: none;
  margin-top: 16px;
  padding: 14px;
  color: var(--green);
  background: var(--green-light);
  border-radius: 6px;
  font-weight: 700;
}

.form-note.is-visible {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 42px clamp(20px, 4vw, 56px);
  color: var(--green);
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 116px;
  height: auto;
}

.site-footer strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.site-footer p {
  margin-top: 4px;
  color: var(--mushroom);
}

.site-footer a,
.site-footer span {
  color: var(--green);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(38, 61, 44, 0.14);
  }

  .nav-toggle span:not(.sr-only) {
    background: var(--cream);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 4vw, 28px);
    left: auto;
    width: min(240px, calc(100vw - 28px));
    display: none;
    grid-column: 1 / -1;
    justify-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--cream);
    background: var(--green);
    border: 1px solid rgba(255, 250, 241, 0.2);
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(23, 32, 27, 0.28);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 22px;
    width: 16px;
    height: 16px;
    background: var(--green);
    border-left: 1px solid rgba(255, 250, 241, 0.2);
    border-top: 1px solid rgba(255, 250, 241, 0.2);
    transform: rotate(45deg);
  }

  .site-nav a {
    position: relative;
    z-index: 1;
    padding: 13px 14px;
    color: var(--cream);
    border-radius: 6px;
  }

  .site-nav a + a {
    border-top: 1px solid rgba(255, 250, 241, 0.12);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--gold);
    background: rgba(255, 250, 241, 0.08);
  }

  .header-cta {
    display: none;
  }

  .hero,
  .split,
  .split.reverse,
  #morels,
  .media-copy,
  .cultivation-grid,
  .trade,
  .looking,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .hero-media {
    min-height: 0;
  }

  .story-columns,
  .media-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .looking {
    align-items: start;
  }

  .split {
    width: min(100% - 40px, 1080px);
  }

  #morels {
    gap: 26px;
    align-items: start;
  }

  #morels .section-copy p {
    max-width: none;
  }

  .quality-panel {
    width: 100%;
  }

  .section-heading,
  .cultivation-grid {
    width: min(100% - 40px, 1180px);
  }

  .cultivation {
    width: 100%;
    max-width: none;
  }

  .looking h2 {
    white-space: normal;
  }

  .culinary-section .section-copy {
    grid-row: auto;
  }

  .trade-mark {
    display: flex;
    justify-content: center;
  }

  .trade-mark img {
    max-width: min(300px, 78vw);
  }
}

@media (max-width: 680px) {
  .section {
    width: min(100% - 40px, 1180px);
    padding: 48px 0;
  }

  .split {
    width: min(100% - 40px, 1080px);
  }

  .section-heading,
  .cultivation-grid {
    width: min(100% - 40px, 1180px);
  }

  .story {
    width: 100%;
    padding: 56px 20px;
  }

  .story-columns {
    gap: 20px;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  .hero-media,
  .media-grid figure,
  .cultivation-grid figure,
  .inline-video,
  .text-panel {
    min-height: 0;
  }

  .hero-media,
  .single-photo img,
  .cultivation-grid figure,
  .inline-video {
    height: auto;
  }

  .hero-media,
  .single-photo img,
  .cultivation-grid figure {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .form-grid,
  .attribute-list {
    grid-template-columns: 1fr;
  }

  .attribute-list li {
    padding: 13px 0 13px 24px;
    font-size: 0.93rem;
  }

  .attribute-list strong {
    font-size: 1.12rem;
  }

  .inline-video {
    width: min(100%, 300px);
    max-width: none;
  }

  .looking {
    width: min(100% - 40px, 1180px);
    padding: 26px 20px;
  }
}
