/* Sun, hills, green and tomato red come from the logo. Photo labels match the Instagram posts. */
:root {
  --sun: #fcbd36;
  --sun-light: #ffd062;
  --green: #0f4a2f;
  --leaf-tint: #e4f0cf;
  --tomato: #c9271a;
  --ink: #1b1f1c;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 1.125rem/1.55 Rubik, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, p, ul, figure { margin: 0; }
h1, h2 { line-height: 1.08; font-weight: 800; letter-spacing: -0.015em; color: var(--green); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
a { color: inherit; text-underline-offset: 3px; }
img, video { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

.btn, form button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn { background: var(--tomato); color: #fff; }
.btn:hover { background: #a91d12; }

.label {
  padding: 4px 10px; border-radius: 6px; background: #fff; color: #000;
  font-weight: 700; font-size: 1.125rem; line-height: 1.75;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Sky */
.sky {
  position: relative; overflow: hidden; background: var(--sun);
  background-image: repeating-conic-gradient(from -3deg at 50% 92%, var(--sun-light) 0 6deg, transparent 6deg 14deg);
}
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.site-header img { width: 132px; border-radius: 50%; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: var(--green); font-weight: 700; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 24px; }
.hero .btn { margin-top: 32px; }
.hills { display: block; width: 100%; height: clamp(120px, 16vw, 240px); margin-top: -8px; }

.clip, .shot { position: relative; overflow: hidden; border-radius: 20px; }
.clip { border: 8px solid #fff; transform: rotate(1.5deg); }
.clip figcaption { position: absolute; left: 16px; bottom: 16px; }
.clip button {
  position: absolute; right: 12px; top: 12px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: rgb(0 0 0 / 0.65); color: #fff; font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer;
}
.shot figcaption { position: absolute; inset: auto 16px 18px; text-align: center; text-wrap: balance; }

.social { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.social a:hover { text-decoration: underline; }
.social svg { width: 26px; height: 26px; }
.hero .social { margin-top: 20px; color: var(--green); }

/* For sale */
.week { position: relative; margin-top: -3px; background: var(--green); color: #fff; padding-block: 32px 72px; }
.week .wrap { display: grid; grid-template-columns: 150px minmax(0, 720px); gap: 40px; align-items: center; justify-content: center; }
.week h2 { color: var(--sun); margin-bottom: 14px; }
.week p { font-size: 1.25rem; }
.week ul:not([hidden]) { list-style: none; padding: 0; }
.week li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 12px; border-bottom: 1px solid rgb(255 255 255 / 0.25); font-size: 1.25rem; }
.week :focus-visible { outline-color: var(--sun); }
.item-name { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.item-note { display: block; font-weight: 400; font-size: 1.0625rem; }
.item-price { white-space: nowrap; color: var(--sun); font-weight: 700; }
.week #week-note { margin-top: 14px; font-size: 1.0625rem; }
.sticker { width: 150px; transform: rotate(-8deg); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 96px; }
.about > div { display: grid; gap: 18px; }

/* Photos */
.farm { background: var(--leaf-tint); padding-block: 88px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.shots .shot { aspect-ratio: 4 / 5; }
.shots img { height: 100%; object-fit: cover; }
.more { margin-top: 32px; text-align: center; font-size: 1.25rem; font-weight: 500; color: var(--green); }

/* Emails */
.emails { background: var(--tomato); color: #fff; padding-block: 80px; }
.emails .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.emails h2 { color: #fff; margin-bottom: 14px; }
.emails :focus-visible { outline-color: #fff; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input { min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); font: inherit; }
.field input[aria-invalid="true"] { box-shadow: 0 0 0 4px var(--sun); }
.error, .form-status.is-error { font-weight: 700; color: #fff; }
form button { justify-self: start; background: var(--sun); color: var(--ink); }
form button:hover { background: var(--sun-light); }
form button:disabled { opacity: 0.6; cursor: wait; }
.thanks { font-size: 1.75rem; font-weight: 800; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: var(--green); color: #fff; padding-block: 28px; font-size: 1rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; justify-content: space-between; }

@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .site-header { padding-block: 14px; }
  .site-header img { width: 96px; }
  .site-header nav { gap: 16px; font-size: 1rem; }
  .hero, .about, .emails .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 8px; }
  .hero .btn { margin-top: 24px; }
  .hills { margin-top: 12px; }
  .week { padding-block: 20px 56px; }
  .week .wrap { grid-template-columns: 1fr; gap: 20px; }
  .sticker { width: 104px; }
  .about, .farm, .emails { padding-block: 64px; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shots .label { font-size: 0.9375rem; padding: 3px 7px; }
  .shots .shot figcaption { inset: auto 8px 12px; }
}

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