/* Site styles. Colours and heading font are injected from site.json by tools/build.py. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --primary: #2b4a3f;
  --primary-dark: #1d332b;
  --accent: #c79a3e;
  --accent-text: #86621c;
  --background: #fbf9f4;
  --surface: #f4efe4;
  --ink: #1c2622;
  --muted: #52605a;
  --line: #e2dacb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 12px; }
h3 { font-size: 1.3rem; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; padding: 10px 14px; background: var(--primary); color: var(--white); z-index: 100; border-radius: 8px; }

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

.eyebrow { display: inline-block; margin: 0 0 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--background) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { max-width: 1240px; }  /* a little wider than the page, so the full menu fits */
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-right .btn { white-space: nowrap; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-group { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600; font-size: 0.97rem; color: var(--ink); cursor: pointer; white-space: nowrap; }
.nav-top::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.nav-top[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav-top:hover, .nav-group.open .nav-top { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.nav-group.is-current .nav-top { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-sub { display: none; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 250px; margin: 8px 0 0; padding: 8px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }  /* keeps the list open while the pointer crosses the gap */
.nav-group.open .nav-sub { display: block; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.nav-sub a:hover { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); text-decoration: none; }
.nav-sub a[aria-current="page"] { color: var(--primary); box-shadow: inset 3px 0 0 var(--accent); }
.nav-note { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.menu-toggle { display: none; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 0.95rem; background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.menu-icon { position: relative; display: inline-block; width: 18px; height: 12px; }
.menu-icon span, .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.menu-icon::before { top: 0; }
.menu-icon span { top: 5px; }
.menu-icon::after { top: 10px; }
.nav-open .menu-icon::before { top: 5px; transform: rotate(45deg); }
.nav-open .menu-icon span { opacity: 0; }
.nav-open .menu-icon::after { top: 5px; transform: rotate(-45deg); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Starting-point shortcuts */
.starting { background: var(--white); border-bottom: 1px solid var(--line); }
.starting-inner { display: flex; align-items: center; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.starting-label { margin: 0; flex: 0 0 auto; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.chip { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--primary); color: var(--primary); background: var(--white); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.chip:hover { background: var(--primary); color: var(--white); }
.starting + .trust { border-top: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.btn:hover { text-decoration: none; }  /* no lift: a button that moves under the pointer can miss the click */
.btn.small { padding: 9px 18px; font-size: 0.95rem; }
.btn.primary { background: var(--primary); color: var(--white); }
.btn.primary:hover { background: var(--primary-dark); color: var(--white); }
.btn.gold { background: var(--accent); color: var(--ink); }
.btn.gold:hover { filter: brightness(1.08); color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn.secondary { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn.secondary:hover { background: var(--primary); color: var(--white); }
.btn { cursor: pointer; }
.btn:not(.small):not(.ghost):not(.gold):not(.primary):not(.secondary) { background: var(--white); border-color: var(--line); color: var(--ink); }

/* Hero */
.hero { position: relative; padding: 72px 0; background: var(--surface); }
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 0 0 16px; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero.photo {
  display: flex; align-items: flex-end;
  min-height: min(78vh, 720px);
  padding: 140px 0 72px;
  color: var(--white);
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(180deg, rgba(12, 18, 16, 0.6) 0%, rgba(12, 18, 16, 0.62) 45%, rgba(12, 18, 16, 0.9) 100%),
    url("/assets/img/hero-800.webp");
  background-size: cover;
  background-position: center 40%;
}
@media (min-width: 800px) {
  .hero.photo { background-image:
    linear-gradient(90deg, rgba(12, 18, 16, 0.85) 0%, rgba(12, 18, 16, 0.55) 45%, rgba(12, 18, 16, 0.05) 80%),
    url("/assets/img/hero-1600.webp"); align-items: center; padding: 96px 0; }
}
.hero.photo h1 { color: var(--white); }
.hero.photo .lead { color: rgba(255, 255, 255, 0.88); }
.hero.photo p a:not(.btn) { color: var(--white); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.hero.photo p a:not(.btn):hover { color: var(--accent); }
.hero.photo .eyebrow { color: var(--accent); }
.hero.photo .btn.ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.hero.photo .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); color: var(--white); }

.page-hero { padding: 64px 0 56px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .hero-inner { max-width: 820px; }
.crumbs { margin: 0 0 12px; font-size: 0.9rem; color: var(--muted); }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; color: var(--muted); }
.trust strong { display: block; color: var(--ink); font-size: 1rem; }
.trust svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--accent-text); margin-top: 2px; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); }
.section-intro { color: var(--muted); max-width: 720px; margin: 0 0 8px; font-size: 1.08rem; }
.note { color: var(--muted); max-width: 820px; margin-top: 18px; font-size: 0.97rem; }
.tour-group { margin: 48px 0 6px; font-size: 1.45rem; }
.assurance { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.assurance li { display: inline-flex; align-items: center; gap: 7px; }
.assurance svg { width: 16px; height: 16px; color: var(--accent-text); flex: 0 0 16px; }
.site-footer .tag + .tag { margin-top: 6px; }
.tour-group + .section-intro { margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 22px; }
@media (min-width: 700px) { .cards.two { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 14px 32px rgba(0, 0, 0, 0.1); }
.card h3, .card h4 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.25; }
.card .card-meta { order: -1; margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.card p { margin: 0 0 18px; color: var(--muted); }
.card .btn { margin-top: auto; width: 100%; }
.card.featured { border: 2px solid var(--primary); position: relative; }
.card .badge { position: absolute; top: -12px; left: 20px; background: var(--primary); color: var(--white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* Reserve the measured height of third-party embeds so the page does not jump while they load. Measure yours and adjust. */
.embed { margin-top: 22px; min-height: 495px; }
@media (max-width: 600px) { .embed { min-height: 1480px; } }

/* Plan */
.plan-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; padding: 0; margin: 24px 0 0; list-style: none; }
.plan-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--muted); }
.plan-list li strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 2px; }
details .plan-list { grid-template-columns: 1fr; }
@media (min-width: 700px) { .plan-list.two { grid-template-columns: repeat(2, 1fr); } }

/* FAQs */
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0; margin: 12px 0; }
summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 52px 18px 20px; position: relative; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details > div, details > ul, details > p { padding: 0 20px 18px; margin: 0; }
details > div p { margin: 0 0 8px; color: var(--muted); }
.faq-wrap { max-width: 840px; }

/* Feature box (inner pages) */
.feature { margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature h3 { margin: 0 0 10px; font-size: 1.5rem; }
.feature p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: 12px; border: 1px solid var(--line); }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; background: var(--white); }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--primary); color: var(--white); font-family: var(--serif); font-weight: 600; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare .nw { white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* Gallery */
.gallery { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 12px; }

/* Contact */
.contact-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-box h2 { margin: 0 0 4px; font-size: 1.7rem; }
.contact-box p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.85); }
.site-footer a { color: var(--surface); }
.site-footer a:hover { color: var(--accent); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; padding: 48px 24px 28px; gap: 24px; }
.site-footer .brand { color: var(--surface); }
.site-footer .brand span { font-size: 1.2rem; }
.brand.small img { width: 36px; height: 36px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.tag { margin: 10px 0 0; max-width: 360px; }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.9rem; padding: 16px 24px 28px; }
.legal p { margin: 0; }

/* Seasonal gift section */
.section.feature-band { background: var(--primary-dark); color: rgba(255, 255, 255, 0.88); }
.section.feature-band h2 { color: var(--surface); }
.section.feature-band .eyebrow { color: var(--accent); }
.section.feature-band .section-intro { color: rgba(255, 255, 255, 0.85); }
.section.feature-band .card { border-color: transparent; }
.section.feature-band .card-meta { color: var(--accent-text); }

/* Mobile booking bar */
.mobile-cta { display: none; }

/* Cookie choice and consent fallbacks */
.cookie-banner { position: fixed; z-index: 40; left: 20px; bottom: 20px; max-width: 420px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18); padding: 18px 20px; font-size: 0.95rem; }
.cookie-banner p { margin: 0 0 12px; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; }
.consent-fallback { margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 18px; }
.consent-fallback-list { list-style: none; margin: 0; padding: 0; }
.consent-fallback-list li { border-bottom: 1px solid var(--line); }
.consent-fallback-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; font-weight: 600; text-decoration: none; }
.consent-fallback-list a::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-right: 2px solid var(--accent-text); border-top: 2px solid var(--accent-text); transform: rotate(45deg); margin-right: 4px; }
.consent-fallback-note { margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); }
.link-button, .footer-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-link { color: var(--surface); font-weight: 600; text-decoration: none; }
.footer-link:hover { color: var(--accent); }

/* Below 1,000px the menu becomes a button */
@media (max-width: 999px) {
  .site-header .header-inner { flex-wrap: wrap; padding: 10px 16px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-right { display: none; }
  /* Pinned while the menu is open: the page scroll is locked then, which stops sticky from sticking */
  .site-header.nav-open { position: fixed; top: 0; left: 0; right: 0; backdrop-filter: none; background: var(--background); }
  .site-header.nav-open .header-right {
    display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 28px;
    position: fixed; left: 0; right: 0; top: var(--header-h, 62px); bottom: 0;
    padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
    background: var(--background); overflow-y: auto; animation: menu-in .22s ease;
  }
  .nav { flex-direction: column; gap: 0; }
  .nav-top { width: 100%; justify-content: space-between; padding: 17px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.55rem; letter-spacing: -0.01em; }
  .nav-top::after { width: 9px; height: 9px; margin-right: 6px; border-color: var(--accent-text); }
  .nav-top:hover, .nav-group.open .nav-top { background: none; }
  .nav-group.is-current .nav-top { text-decoration: none; }
  .nav-sub { position: static; min-width: 0; margin: 0; padding: 6px 0 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 11px 2px 11px 14px; font-size: 1.1rem; white-space: normal; }
  .nav-sub a:hover { background: none; }
  .nav-note { display: inline; margin-left: 6px; }
  .header-right .btn.small { width: 100%; padding: 16px 20px; font-size: 1.05rem; }
  html.menu-open, html.menu-open body { overflow: hidden; }
}

/* Mobile */
@media (max-width: 860px) {
  .cookie-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; }
  html.has-banner .mobile-cta { display: none; }
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--background) 97%, transparent); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-cta.show { transform: translateY(0); }
  .mobile-cta .btn { flex: 1; padding: 12px 14px; }
  .hero.photo { min-height: 0; padding: 48px 0 40px; background-position: center 30%; }
  .hero.photo .lead { margin-bottom: 22px; }
  html.menu-open .mobile-cta { display: none; }
  .trust ul { grid-template-columns: 1fr; gap: 12px; }
  .starting .starting-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 16px; padding-bottom: 16px; padding-right: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 2px 16px 4px 0; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { scroll-snap-align: start; }
  .footer-inner { flex-direction: column; }
  .container { padding-left: 16px; padding-right: 16px; }
  .footer-inner, .legal { padding-left: 16px; padding-right: 16px; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.15rem; }
  .lead { font-size: 1.05rem; }
  .brand span { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .cta-group .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .mobile-cta, .chip, .menu-icon span, .menu-icon::before, .menu-icon::after { transition: none; }
  .site-header.nav-open .header-right { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
@media (max-width: 600px) { .embed.pair { min-height: 740px; } }

/* Vineyard directory entries */
.vine-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 24px; }
.vine { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; }
.vine h3 { margin: 0 0 4px; font-size: 1.25rem; }
.vine .place { order: -1; margin: 0 0 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.vine p { margin: 0 0 10px; color: var(--muted); }
.vine .visit { font-size: 0.95rem; color: var(--ink); }
.vine .visit strong { font-weight: 700; }
.vine .links { margin: auto 0 0; padding-top: 6px; font-size: 0.95rem; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.area-intro { color: var(--muted); max-width: 760px; margin: 0; }
.area + .area { margin-top: 56px; }
.area h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Find out more + Book now */
.card-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 130px; width: auto; margin-top: 0; padding-left: 14px; padding-right: 14px; }

/* Tour pages */
.tour-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; }
.tour-facts li { display: flex; flex-direction: column; font-weight: 700; color: var(--ink); }
.tour-facts li span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.tour-gallery { padding: 36px 0 0; }
.tour-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.tour-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; background: var(--surface); }
.tour-photos .main { aspect-ratio: 4 / 3; }
.tour-photos .thumbs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.tour-photos .thumbs img { aspect-ratio: auto; min-height: 0; }
.photo-credit { margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); }
.tour-body { max-width: 820px; }
.provider-text p { color: var(--muted); }
@media (max-width: 700px) {
  .tour-photos { grid-template-columns: 1fr; }
  .tour-photos .thumbs { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .tour-photos .thumbs img { aspect-ratio: 4 / 3; }
}

/* Booking hand-off page */
.go-page { min-height: 70vh; display: flex; align-items: center; }
.go-box { max-width: 560px; margin: 0 auto; text-align: center; }
.go-box h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 18px 0 12px; }
.go-box .lead { margin-left: auto; margin-right: auto; }
.go-spinner { width: 36px; height: 36px; margin: 0 auto 24px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: go-spin 0.9s linear infinite; }
@keyframes go-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .go-spinner { animation: none; } }

.card .card-start { margin: -6px 0 16px; font-size: 0.92rem; color: var(--ink); }
.card .card-start span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-right: 4px; }
.start-line { font-size: 1.08rem; margin: 0 0 6px; }

/* Tour photo cards, built from the weekly tour data */
/* auto-fill, not auto-fit: a row with one card keeps the card's width instead of stretching across the page */
.photo-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
/* Gift cards are mostly text, so two across at most keeps the lines a comfortable length */
.gift-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card.photo-card { padding: 0; overflow: hidden; }
.photo-card-img { display: block; overflow: hidden; background: var(--line); }
.photo-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.photo-card h4 a { color: inherit; text-decoration: none; }
.photo-card h4 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card.photo-card .card-meta { order: 0; margin: 0 0 10px; font-size: 0.88rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.photo-card .stars { color: var(--accent-text); font-weight: 700; }

/* Narrow phones: stack the card buttons so neither label wraps */
@media (max-width: 430px) {
  .card-actions .btn { flex: 1 1 100%; }
}

/* Bottle shots are on white and come in any shape, so show the whole bottle */
.wine-card .photo-card-img { background: #fff; }
.wine-card .photo-card-img img { object-fit: contain; padding: 12px; }
.wine-card h3 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.25; }

/* Vineyard guide pages */
.prose > * { max-width: 780px; }
.prose h3 { margin-top: 32px; }
.glance { width: 100%; border-collapse: collapse; background: var(--white); }
.glance th, .glance td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance tr:last-child th, .glance tr:last-child td { border-bottom: 0; }
.glance th { width: 9.5em; font-weight: 700; color: var(--ink); }
.feature .table-wrap { margin: 16px 0 0; }
.experiences tbody th { white-space: normal; min-width: 260px; }
.exp-detail { display: inline-block; margin-top: 4px; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 10px 0 26px; list-style: none; }
.guide-links a { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--primary); border-radius: 999px; background: var(--white); font-weight: 700; text-decoration: none; }
.guide-links a:hover { background: var(--primary); color: var(--white); }
@media (max-width: 640px) {
  .glance th, .glance td { display: block; width: auto; }
  .glance th { padding-bottom: 0; }
  .glance td { padding-top: 4px; }
  .glance tr:last-child th { border-bottom: 0; }
  .glance th { border-bottom: 0; }
  .table-wrap:has(.experiences) { border: 0; overflow: visible; }
  .experiences { min-width: 0; background: none; }
  .experiences thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .experiences tr { display: block; margin-bottom: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
  .experiences th, .experiences td { display: block; border: 0; padding: 6px 16px; }
  .experiences tbody th { min-width: 0; padding-top: 14px; }
  .experiences td:last-child { padding-bottom: 14px; }
  .experiences td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
}

/* Vineyard maps: base image (tools/make_map_images.py) with labels on top (tools/vineyard_map.py) */
.vmap { margin: 22px 0 26px; max-width: none !important; }
.vmap-frame { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #f6f2e9; }
.vmap-frame img, .vmap-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vmap-frame.phone { display: none; }
.vmap figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.vmap-svg text { font-family: var(--sans); paint-order: stroke; stroke: rgba(246, 242, 233, 0.92); stroke-width: 4px; stroke-linejoin: round; }
.m-l-city { font-family: var(--serif) !important; font-size: 21px; font-weight: 600; fill: #2f3833; letter-spacing: 0.01em; }
.m-l-town { font-family: var(--serif) !important; font-size: 17px; font-weight: 600; fill: #3b4540; }
.m-l-village { font-size: 13.5px; fill: #56615b; }
.m-stn { fill: #ffffff; stroke: #2a2f2c; stroke-width: 2; }
.m-l-stn { font-size: 15px; font-style: italic; fill: #1c2622; }
.m-vine { fill: var(--primary); stroke: #ffffff; stroke-width: 2.5; }
.m-l-vine { font-size: 16px; font-weight: 700; fill: var(--primary); }
.vmap-svg a:hover .m-vine, .vmap-svg a:focus .m-vine { fill: var(--accent); }
.vmap-svg a:hover .m-l-vine { text-decoration: underline; }
.m-halo { fill: var(--accent); opacity: 0.3; }
.m-pin { fill: var(--accent); stroke: #ffffff; stroke-width: 3.5; }
.m-l-main { font-family: var(--serif) !important; font-size: 25px; font-weight: 700; fill: var(--ink); stroke-width: 6px !important; }
.m-panel { fill: #ffffff; opacity: 0.88; }
.m-scale path { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.m-scale text { font-size: 15px; font-weight: 600; fill: var(--ink); stroke: none; }
.m-isea { fill: #cfe0df; }
.m-iland { fill: #f6f2e9; }
.m-ilondon { fill: #ddd3c1; }
.m-iview { fill: rgba(199, 154, 62, 0.22); stroke: var(--accent); stroke-width: 2; }
.m-iframe { fill: none; stroke: #b9aa8f; stroke-width: 1.5; }
.m-l-inset { font-size: 12px; font-weight: 600; fill: #52605a; stroke-width: 3px !important; }
/* The phone map, with its larger labels, up to tablet width; the wide one shrinks too far below 900px */
@media (max-width: 900px) {
  .vmap-frame.wide { display: none; }
  .vmap-frame.phone { display: block; }
  .phone .m-l-city { font-size: 33px; } .phone .m-l-town { font-size: 26px; } .phone .m-l-village { font-size: 21px; }
  .phone .m-l-stn { font-size: 23px; } .phone .m-l-vine { font-size: 25px; }
  .phone .m-l-main { font-size: 39px; } .phone .m-scale text { font-size: 23px; }
  .phone .m-l-inset { font-size: 14px; }
  .phone .vmap-svg text { stroke-width: 6px; }
}

/* Newsletter sign-up, above the footer on every page */
.signup { background: var(--surface); border-top: 1px solid var(--line); }
.signup-inner { display: grid; gap: 18px 48px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
@media (min-width: 860px) { .signup-inner { grid-template-columns: 1fr 1fr; } }
.signup h2 { margin: 0 0 8px; font-size: 1.6rem; }
.signup-copy p { margin: 0; color: var(--muted); }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-row input { flex: 1 1 220px; min-width: 0; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; }
.signup-row input:focus-visible { border-color: var(--primary); }
.signup-row .btn { flex: 0 0 auto; }
@media (max-width: 430px) { .signup-row .btn { flex: 1 1 100%; } }
.signup-note:empty { display: none; }
.signup-note { margin: 10px 4px 0; font-size: 0.88rem; color: var(--muted); }
.signup-note.error { color: #9b2c1f; }

/* Wine style pages: tabs to switch style, and three style cards on the hub */
.style-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.style-tabs a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--primary); color: var(--primary); background: var(--white); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.style-tabs a:hover { background: var(--primary); color: var(--white); }
.style-tabs a[aria-current="page"] { background: var(--primary); color: var(--white); }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.wine-card:target { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 700px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }

/* Mid-page sign-up on long pages. While it sits in the middle of the screen, script.js adds
   .signup-spot and the rest of the page dims behind it; scrolling on clears it. */
.signup-inline-wrap { padding: 8px 0 56px; }
.signup-inline { position: relative; z-index: 26; display: grid; gap: 18px 48px; align-items: center; padding: 30px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .45s ease, transform .45s ease; }
@media (min-width: 860px) { .signup-inline { grid-template-columns: 1fr 1fr; padding: 36px 40px; } }
.signup-inline h2 { margin: 0 0 8px; font-size: 1.5rem; }
.signup-inline .signup-copy p:last-child { margin: 0; color: var(--muted); }
.signup-inline .eyebrow { margin-bottom: 6px; }
body::after { content: ""; position: fixed; inset: 0; z-index: 25; background: rgba(28, 38, 34, 0.42); opacity: 0; pointer-events: none; transition: opacity .45s ease; }
html.signup-spot body::after { opacity: 1; }
html.signup-spot .signup-inline { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22); transform: translateY(-2px); }
html.signup-spot .mobile-cta { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
  .signup-inline { transition: none; }
}

/* A vineyard's wines on its guide page: compact cards with the bottle, style, a short note and a buy button */
.wine-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.wr-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.wr-img { display: flex; align-items: center; justify-content: center; height: 150px; border-radius: 8px; background: #fff; color: #c9c2b4; }
.wr-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wr-sparkling .wr-img, .wr-off-dry .wr-img { color: #d8c88f; }
.wr-sparkling-rose .wr-img, .wr-rose .wr-img { color: #e3b3b0; }
.wr-white .wr-img { color: #d9d4a6; }
.wr-red .wr-img { color: #8e3b46; }
.wr-body { display: flex; flex-direction: column; min-width: 0; }
.wr-style { margin: 0 0 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.wr-name { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; }
.wr-note { margin: 0 0 10px; font-size: 0.93rem; line-height: 1.45; color: var(--ink); }
.wr-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wr-price { font-weight: 700; color: var(--ink); }
.wr-price { line-height: 1.25; }
.wr-price small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.wr-buy .btn { flex: 0 0 auto; min-width: 72px; }
.wine-range-more { margin-top: 16px; }
.wine-range-more summary { color: var(--primary); padding: 16px 52px 16px 20px; }
.wine-range-more > .wine-grid { margin: 0; padding: 4px 16px 16px; }
@media (max-width: 520px) {
  .wine-grid { grid-template-columns: 1fr; gap: 12px; }
  .wr-card { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .wr-img { height: 120px; }
}

/* Who wrote it, under the introduction of article pages */
.byline { margin: -6px 0 18px; font-size: 0.9rem; color: var(--muted); }
.byline a { color: inherit; }

/* Accessibility pass, October 2026 */
/* Focus ring with 3:1 contrast on light backgrounds; the lighter gold only on dark ones */
:focus-visible { outline-color: var(--accent-text); }
.hero.photo :focus-visible, .site-footer :focus-visible, .section.feature-band :focus-visible { outline-color: var(--accent); }
/* Text over the hero photo: a paler gold eyebrow and a slightly deeper shade behind the words */
.hero.photo .eyebrow { color: #f1dca6; }
.hero.photo { background-image:
    linear-gradient(180deg, rgba(12, 18, 16, 0.74) 0%, rgba(12, 18, 16, 0.7) 45%, rgba(12, 18, 16, 0.9) 100%),
    url("/assets/img/hero-800.webp"); }
@media (min-width: 800px) {
  .hero.photo { background-image:
    linear-gradient(90deg, rgba(12, 18, 16, 0.88) 0%, rgba(12, 18, 16, 0.7) 45%, rgba(12, 18, 16, 0.08) 85%),
    url("/assets/img/hero-1600.webp"); }
}
/* Keep focused links clear of the booking bar on phones */
@media (max-width: 860px) { html { scroll-padding-bottom: 96px; } }
/* Very narrow phones: keep the brand and the menu button on one line */
@media (max-width: 380px) {
  .site-header .header-inner { flex-wrap: nowrap; gap: 10px; }
  .menu-toggle { padding: 8px 12px; }
  .brand span { font-size: 1.05rem; }
}
/* Small capitals labels no smaller than 0.8rem */
.card .card-start span, .tour-facts li span, .card .badge { font-size: 0.8rem; }
/* A visible edge on the email field, and a waiting state while the sign-up is sent */
.signup-row input { border-color: #857c6b; }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: progress; }
/* Larger tap targets for footer links and breadcrumbs */
.footer-nav a { display: inline-block; padding: 6px 0; }
.crumbs a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.table-wrap[tabindex]:focus-visible { outline-offset: 4px; }
/* Keep the vineyard name in view while a comparison table scrolls sideways */
.compare:not(.experiences) tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); }

/* Our own write-up on tour pages, with who it suits */
.tour-about p { color: var(--ink); }
.tour-suits { margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 8px 8px 0; }
.tour-faq h3 { margin: 26px 0 6px; font-size: 1.12rem; }
.tour-faq h3:first-child { margin-top: 4px; }
.tour-faq p { margin: 0; color: var(--ink); }

/* Area maps (tools/area_map.py): numbered pins that link to each vineyard's entry */
.m-apin { fill: var(--primary); stroke: #ffffff; stroke-width: 2.5; }
.m-apin.g-wealden { fill: #2c5d4a; } .m-apin.g-rother { fill: #8a3b4a; } .m-apin.g-downs { fill: #86621c; }
.m-n-apin { font-size: 12px; font-weight: 700; fill: #ffffff; stroke: none !important; pointer-events: none; }
.m-l-apin { font-size: 14px; font-weight: 700; fill: var(--ink); }
.amap a:hover .m-apin, .amap a:focus .m-apin { fill: var(--accent); }
.amap a:hover .m-l-apin { text-decoration: underline; }
.phone .m-n-apin { font-size: 17px; }
.amap-key { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.m-apin-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.m-apin-swatch.g-wealden { background: #2c5d4a; } .m-apin-swatch.g-rother { background: #8a3b4a; } .m-apin-swatch.g-downs { background: #86621c; }
/* Numbered vineyard entries, matching the pins */
.vnum { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.6em; margin-right: 8px; padding: 0 4px; border-radius: 999px; background: var(--primary); color: #fff; font-family: var(--sans); font-size: 0.75em; font-weight: 700; vertical-align: 0.15em; }
.vnum.g-wealden { background: #2c5d4a; } .vnum.g-rother { background: #8a3b4a; } .vnum.g-downs { background: #86621c; }
/* A dated note on anything paused or closed for part of the year (tools/data/seasonal.json) */
.season-note { margin: 0 0 12px; padding: 8px 12px; font-size: 0.9rem; line-height: 1.45; color: var(--ink); background: #fbf3df; border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; }
.hero .season-note { max-width: 640px; font-size: 0.95rem; }
/* Kent areas on the county map */
.m-apin.g-weald, .m-apin-swatch.g-weald, .vnum.g-weald { fill: #2c5d4a; background: #2c5d4a; }
.m-apin.g-north, .m-apin-swatch.g-north, .vnum.g-north { fill: #86621c; background: #86621c; }
.m-apin.g-west, .m-apin-swatch.g-west, .vnum.g-west { fill: #8a3b4a; background: #8a3b4a; }
/* Where to stay on area pages */
.stay-heading { margin-top: 56px; }

/* Buttons that move down the page, rather than to another page, carry a small down arrow */
.btn[href^="#"]::after { content: ""; flex: none; width: 0.42em; height: 0.42em; margin: -0.2em 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
