/* The Apple Farm — site styles
   Colours come from the logo and juice label. Change them here and every page follows. */
:root {
  --ink: #3A2A1F;          /* dark brown text, footer */
  --ink-soft: #5C4632;     /* body copy */
  --muted: #6E5A44;        /* small print, captions */
  --gold: #C9B27E;         /* label-style borders */
  --line: #E6DCC2;         /* light dividers */
  --line-soft: #EFE9DA;
  --stone: #F7F5EF;        /* soft section background */
  --photo: #F3F0E8;        /* photo placeholders */
  --bg: #FFFEFB;           /* page background */
  --copper: #8A5A24;       /* buttons and highlights */
  --copper-dark: #6E4619;
  --green: #2E5530;        /* bottle green: borders, headings */
  --orange: #E8892A;       /* dashed rule from the logo ring */
  --footer-text: #F2ECDD;
  --display: 'Cinzel', Georgia, serif;
  --body: 'EB Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: #7A4F1E; }
a:hover { color: #5A3912; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(34px, 4.5vw, 58px); }
h2 { font-size: clamp(28px, 3vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0; color: var(--ink-soft); }
.green { color: var(--green); }
[id] { scroll-margin-top: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 48px; padding-bottom: 48px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 48px; }
.row > * { flex: 1 1 380px; min-width: 0; }
.center { text-align: center; align-items: center; }
.eyebrow { font-family: var(--display); font-size: 15px; letter-spacing: 0.24em; color: var(--copper); text-transform: uppercase; }
.rule { width: 72px; height: 0; border-top: 2px dashed var(--orange); }
.center .rule { margin: 0 auto; }
.lead { font-size: 21px; }
.small { font-size: 17px; }
.italic { font-style: italic; }

/* Top bar and header */
.topbar { border-bottom: 2px solid var(--green); color: var(--green); font-size: 15px; letter-spacing: 0.04em; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.topbar .dot { color: var(--gold); }
@media (max-width: 700px) { .topbar .dot { display: none; } }

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: 64px; }
.brand span { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: 0.08em; }

.nav { display: flex; align-items: center; gap: 4px 26px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; }
.nav > a, .nav .dd > a { color: var(--ink); text-decoration: none; padding: 12px 0; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--copper); border-bottom-color: var(--copper); }
.nav .nav-contact { padding: 12px 20px; border: 1px solid var(--copper); color: var(--copper); }
.nav .nav-contact[aria-current="page"] { background: var(--copper); color: #fff; }

.dd { position: relative; }
.dd-menu { display: none; position: absolute; top: 100%; left: -18px; z-index: 20; min-width: 230px; background: #fff; border: 1px solid var(--gold); border-top: 3px solid var(--green); padding: 8px 0; flex-direction: column; font-family: var(--body); font-size: 17px; font-weight: 400; letter-spacing: 0; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: flex; }
.dd-menu a { color: var(--ink); text-decoration: none; padding: 10px 18px; }
.dd-menu a:hover { background: var(--stone); }

.menu-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--ink); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; padding: 12px 16px; cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: #fff; border-top: 3px solid var(--green); border-bottom: 1px solid var(--gold); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .dd-menu { position: static; display: flex; border: 0; padding: 0 0 8px 16px; min-width: 0; }
  .dd > a svg { display: none; }
  .nav .nav-contact { margin-top: 16px; text-align: center; justify-content: center; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; background: var(--copper); color: #fff; padding: 15px 28px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; border: 1px solid var(--copper); cursor: pointer; text-transform: uppercase; }
.btn:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 10px 18px; font-size: 13px; letter-spacing: 0.12em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 0; display: inline-block; }

/* Label-style double frame */
.frame { border: 1px solid var(--gold); padding: 6px; }
.frame-inner { border: 1px solid var(--gold); display: flex; flex-wrap: wrap; align-items: stretch; }
.frame-text { flex: 1 1 480px; min-width: 0; padding: 56px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.frame-photo { flex: 1 1 420px; min-width: 0; min-height: 460px; }
@media (max-width: 600px) { .frame-text { padding: 32px 24px; } .frame-photo { min-height: 280px; } }

/* Photo placeholders: replace each <div class="photo"> with <img src="images/..." alt="..."> */
.photo { background: var(--photo); display: flex; align-items: center; justify-content: center; color: var(--muted); font-style: italic; font-size: 17px; text-align: center; padding: 24px; min-height: 220px; }
img.photo-img { width: 100%; height: 100%; object-fit: cover; }

/* Soft band with green rules */
.band { background: var(--stone); border-top: 3px solid var(--green); border-bottom: 3px solid var(--green); }

/* Green double-bordered box */
.boxed { border: 1px solid var(--green); outline: 1px solid var(--green); outline-offset: 5px; margin: 6px; padding: 48px 56px; background: #fff; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.boxed > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 600px) { .boxed { padding: 32px 24px; } }

.notice { border: 1px solid var(--green); color: var(--green); padding: 14px 20px; font-size: 17px; text-align: center; margin-top: 20px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); display: flex; flex-direction: column; }
.card .photo, .card .card-img { height: 220px; min-height: 0; }
.card .card-img { width: 100%; object-fit: contain; background: #fff; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; border-top: 1px solid var(--line-soft); }
.card-body h3 { font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.card-body .line { color: var(--muted); font-size: 17px; line-height: 1.4; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 600; font-size: 19px; }
.card-foot form { margin: 0; }

/* Three-across intro links on the homepage */
.paths { display: flex; flex-wrap: wrap; }
.paths a { flex: 1 1 300px; min-width: 0; text-decoration: none; color: var(--ink); padding: 32px 36px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
.paths a:nth-child(2) { border: 1px solid var(--gold); }
.paths h2 { font-size: 24px; color: var(--green); }

/* Chips and lists */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.center .chips { justify-content: center; }
.chips span { background: #fff; border: 1px solid var(--gold); padding: 9px 18px; }
.list-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.list-rows span { padding: 14px 0; border-bottom: 1px solid var(--line); }
.table-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.table-row:last-child { border-bottom: 0; }
.table-row strong { font-weight: 600; }
.award-row { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.award-row strong { flex: 0 0 84px; font-weight: 600; }
.award-row span { color: var(--ink-soft); }

/* Awards strip */
.awards-strip { border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 44px 0; display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.awards-strip .items { display: flex; flex-wrap: wrap; gap: 28px 0; width: 100%; }
.awards-strip .items > div { flex: 1 1 300px; padding: 0 24px; display: flex; flex-direction: column; gap: 4px; }
.awards-strip .items > div + div { border-left: 1px solid var(--line); }
.award-title { font-family: var(--display); font-size: 20px; font-weight: 600; }
.award-by { color: var(--muted); font-style: italic; }
@media (max-width: 700px) { .awards-strip .items > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }

/* Stats */
.stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.stats > div { flex: 1 1 260px; padding: 28px 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--green); line-height: 1.1; }
@media (max-width: 820px) { .stats > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Timeline */
.timeline { border-left: 1px solid var(--gold); padding-left: 36px; display: flex; flex-direction: column; gap: 36px; }
.timeline .when { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--copper); }

/* Page jump links */
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-top: 36px; }
.jump a { text-decoration: none; border: 1px solid var(--gold); color: var(--ink); padding: 10px 18px; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.jump a.alt { border-color: var(--green); color: var(--green); }

/* Embeds */
.map-embed { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.weather-wide { display: block; width: 520px; max-width: 100%; height: 480px; border: 0; }
.weather-slim { display: none; width: 100%; height: 550px; border: 0; }
@media (max-width: 760px) { .weather-wide { display: none; } .weather-slim { display: block; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--footer-text); font-size: 16px; }
.site-footer a { color: var(--footer-text); }
.site-footer .container { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 88px; height: 88px; }
.footer-brand div { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: 0.08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { padding: 8px 0; }
.footer-produce { border-top: 1px solid #5A4636; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 22px; font-size: 15px; text-align: center; }
.footer-produce span { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; padding: 0 0 4px; flex-basis: 100%; }
.footer-produce a { padding: 8px 0; }
.footer-copy { font-size: 14px; color: #CDBFA8; text-align: center; }

/* ---------- Content pages (fruit, attractions, camping extras) ---------- */
.page-head .frame-inner { padding: 48px 56px; flex-direction: column; gap: 16px; }
@media (max-width: 600px) { .page-head .frame-inner { padding: 32px 24px; } }
.prose { max-width: 820px; margin: 0 auto; padding: 56px 24px 88px; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 28px; color: var(--green); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 0.5em; }
.prose strong { color: var(--ink); }
.prose figure { margin: 0 0 1.6em; }
.prose figure img { width: 100%; height: auto; border: 1px solid var(--gold); padding: 6px; background: #fff; }
.prose .float-img { float: right; width: 42%; max-width: 360px; margin: 6px 0 20px 28px; border: 1px solid var(--gold); padding: 6px; background: #fff; height: auto; }
.prose::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) { .prose .float-img { float: none; width: 100%; max-width: none; margin: 0 0 20px; } }
.prose .btn-row { margin-top: 2em; clear: both; }
.back-link { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.crumb { font-family: var(--display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }
.crumb a { color: var(--copper); text-decoration: none; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border: 1px solid var(--gold); padding: 6px; background: #fff; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-switch a { text-decoration: none; border: 1px solid var(--gold); color: var(--ink); padding: 8px 16px; font-size: 16px; }
.lang-switch a[aria-current="true"] { border-color: var(--green); color: var(--green); }
.card .card-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card .card-body p { font-size: 17px; }
.link-columns { columns: 3 260px; column-gap: 40px; }
.link-columns a { display: block; padding: 6px 0; break-inside: avoid; }
.issue-list { display: flex; flex-wrap: wrap; gap: 8px; }
.issue-list a { text-decoration: none; border: 1px solid var(--gold); background: #fff; color: var(--ink); padding: 8px 14px; font-size: 17px; }
.issue-list a:hover { border-color: var(--green); color: var(--green); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field textarea { font: inherit; font-size: 18px; color: var(--ink); border: 1px solid var(--gold); background: var(--bg); padding: 12px 14px; }
.field input:focus, .field textarea:focus, .qty-row input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qty-list { border-top: 1px solid var(--line); }
.qty-row { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qty-row input[type="number"] { width: 84px; flex: 0 0 auto; font: inherit; font-size: 18px; text-align: center; border: 1px solid var(--gold); background: #fff; padding: 8px 6px; }
.qty-row label { flex: 1 1 auto; }
.qty-row .each { font-weight: 600; white-space: nowrap; }
.case-status { position: sticky; bottom: 0; background: #fff; border: 1px solid var(--green); padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 24px; z-index: 5; }
.case-status output { font-weight: 600; font-size: 18px; }
.btn:disabled { background: #B8AE9C; border-color: #B8AE9C; cursor: not-allowed; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--gold); border-top: 3px solid var(--green); box-shadow: 0 8px 30px rgba(58, 42, 31, 0.18); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: 17px; }
.cookie-banner p { flex: 1 1 380px; margin: 0; color: var(--ink-soft); }
.cookie-buttons { display: flex; gap: 10px; }

/* ---------- Photos ---------- */
.frame-photo { position: relative; overflow: hidden; }
.frame-photo .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-img-block { display: block; width: 100%; object-fit: cover; border: 1px solid var(--gold); }
.prose figure img { max-height: 560px; object-fit: cover; }

/* Gentle motion (js/motion.js). Nothing here applies to visitors who have
   "reduce motion" switched on, because the script never adds .af-motion for them. */
.af-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.af-motion .reveal.is-in { opacity: 1; transform: none; }
[data-apples] { position: relative; }
.apple-host { position: relative; }
.apple-drop { position: absolute; top: 0; left: 0; width: 0; height: 0; pointer-events: none; z-index: 2; }
.apple-drop .apple { position: absolute; will-change: transform; filter: drop-shadow(0 2px 1.5px rgba(58, 42, 31, 0.28)); }
