:root {
  --ink: #17211a;
  --muted: #536257;
  --paper: #fbfaf6;
  --white: #ffffff;
  --leaf: #276a3b;
  --leaf-deep: #17452b;
  --apricot: #e88937;
  --fig: #543160;
  --harvest: #f4ead8;
  --sky: #dceff6;
  --line: rgba(23, 33, 26, 0.14);
  --shadow: 0 18px 50px rgba(23, 33, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(23, 33, 26, 0.82), rgba(23, 33, 26, 0.18));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(23, 33, 26, 0.34);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(23, 33, 26, 0.38);
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--leaf-deep);
}

.hero > img {
  position: absolute;
  inset: 0;
  filter: saturate(1.04) contrast(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 30, 21, 0.78), rgba(18, 30, 21, 0.38) 46%, rgba(18, 30, 21, 0.1)),
    linear-gradient(0deg, rgba(18, 30, 21, 0.62), rgba(18, 30, 21, 0.06) 42%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 122px 0 10vh;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--apricot);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.notice-content h2,
.intro-copy h2,
.events-copy h2,
.visit-section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(4.1rem, 12vw, 9.5rem);
  max-width: 9ch;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--apricot);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.dark {
  color: var(--white);
  background: var(--leaf-deep);
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 6vw, 82px);
  background: var(--sky);
}

.notice-content,
.intro-copy,
.events-copy,
.visit-section > div {
  max-width: 680px;
}

.notice-content h2,
.intro-copy h2,
.events-copy h2,
.visit-section h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 4.6rem);
}

.notice-content p:last-child,
.intro-copy p:last-child,
.events-copy p,
.visit-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.notice-button {
  margin-top: 24px;
}

.sign-figure {
  margin: 0;
}

.sign-figure img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sign-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(58px, 9vw, 118px) clamp(18px, 6vw, 82px);
}

.owners-photo {
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fruit-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 82px);
  background: var(--white);
}

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

.fruit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  column-gap: clamp(22px, 1.45vw, 30px);
  row-gap: 32px;
}

.fruit-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.image-button {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-button img {
  min-height: 100%;
  transition: transform 180ms ease;
}

.fruit-card-hand .image-button img {
  object-position: center bottom;
}

.fruit-card:nth-child(3) .image-button img {
  object-position: 50% 58%;
}

.image-button:hover img,
.image-button:focus-visible img {
  transform: scale(1.035);
}

.fruit-card div {
  padding: 22px;
}

.fruit-card h3 {
  margin: 0 0 8px;
  color: var(--leaf-deep);
  font-size: clamp(1.24rem, 2vw, 1.55rem);
}

.fruit-card p {
  margin: 0;
  color: var(--muted);
}

.apricot-card h3 {
  color: #a74f12;
}

.image-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: rgba(23, 33, 26, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.image-dialog img {
  width: 100%;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.22);
}

.image-dialog p {
  margin: 0;
  padding: 14px 18px 18px;
  color: rgba(255, 255, 255, 0.84);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: var(--white);
  background: rgba(23, 33, 26, 0.72);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 0.72fr 1.24fr;
  height: clamp(260px, 38vw, 520px);
}

.events-section {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--harvest);
  color: var(--ink);
}

.events-image {
  height: clamp(320px, 42vw, 620px);
}

.events-copy {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.events-copy h2 {
  color: var(--ink);
}

.events-copy .eyebrow {
  color: var(--apricot);
}

.events-copy p {
  color: var(--muted);
}

.share-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 82px);
  background: var(--white);
}

.share-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.share-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.share-heading p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: 18px;
}

.login-card,
.upload-card,
.preview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.login-card,
.upload-card {
  padding: clamp(20px, 3vw, 30px);
}

.panel-label {
  margin: 0 0 8px;
  color: var(--apricot);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.login-card h3,
.upload-card h3 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.google-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.google-g {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #4285f4;
  font-weight: 900;
}

.helper-text,
.form-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.upload-dropzone {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 24px;
  border: 2px dashed rgba(39, 106, 59, 0.35);
  border-radius: 8px;
  background: var(--white);
  color: var(--leaf-deep);
  text-align: center;
  cursor: pointer;
}

.upload-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone span {
  font-weight: 850;
}

.upload-dropzone small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.upload-dropzone.is-disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.note-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-weight: 800;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.submit-button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.preview-card {
  overflow: hidden;
}

.preview-card img {
  aspect-ratio: 4 / 3;
}

.preview-card p {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(52px, 8vw, 92px) clamp(18px, 6vw, 82px);
  background: var(--paper);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 6vw, 82px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    display: none;
    width: min(260px, calc(100vw - 36px));
    padding: 14px;
    border-radius: 8px;
    background: rgba(23, 33, 26, 0.95);
    box-shadow: var(--shadow);
  }

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

  .notice-band,
  .intro-section,
  .events-section,
  .share-panel,
  .visit-section {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-strip img {
    aspect-ratio: 4 / 3;
  }

  .visit-actions {
    margin-top: 0;
  }

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

@media (max-width: 760px) {
  .fruit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    padding-bottom: 7vh;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 20vw, 4.7rem);
  }

  .button {
    width: 100%;
  }

  .notice-band,
  .intro-section,
  .fruit-section,
  .share-section,
  .visit-section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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