/* ABE ERB landing pages — shared styles
   Built from the Abe Erb design system (abeerb.com): barrel brown + harvest gold on white,
   one rounded geometric sans, square corners, hand-drawn heritage pattern.
   Layout: full-bleed photo hero with the enquiry form beside it (desktop), then stacked
   content bands that alternate white / pattern / barrel, ending on the form again. */

:root {
  /* colour */
  --barrel: #5e5337;        /* brand; text on light (7.6:1 on white) */
  --barrel-soft: #6e6449;   /* secondary text on light (6.0:1) */
  --tint-15: #e7e5e1;       /* hairlines */
  --tint-10: #efeeeb;       /* quiet fills, chips */
  --tint-04: #f9f9f8;       /* panel fill */
  --harvest: #c59745;       /* CTA gold; text on it is cellar (6.9:1) */
  --harvest-deep: #a87d33;  /* CTA hover */
  --cellar: #16130c;        /* deepest ink, scrims */
  --linen: #f6f6f2;         /* text on barrel/cellar */
  --white: #ffffff;
  --error: #9b2c1f;         /* form errors (7.3:1 on white) */
  --scrim: rgba(22, 19, 12, 0.62);

  /* type */
  --font: "Edmondsans", "Outfit", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.4rem + 3.6vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.2rem);
  --fs-h3: 1.4rem;
  --fs-lead: 1.2rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 64px; --s8: 96px;
  --content: 1140px;
  --text: 680px;
  --radius: 2px;
  --bar-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--barrel);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--harvest); outline-offset: 2px; }

.wrap { max-width: var(--content); margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 720px) { .wrap { padding-inline: var(--s5); } }

.skip { position: absolute; left: -999px; top: 0; background: var(--cellar); color: var(--linen); padding: var(--s3) var(--s4); z-index: 100; }
.skip:focus { left: var(--s4); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: var(--s3) var(--s5);
  font: 500 1rem/1.2 var(--font); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--harvest); border-color: var(--harvest); color: var(--cellar); }
.btn--primary:hover { background: var(--harvest-deep); border-color: var(--harvest-deep); }
.btn--outline { background: transparent; border-color: var(--barrel); color: var(--barrel); }
.btn--outline:hover { background: var(--tint-10); }
.btn--light { background: transparent; border-color: var(--linen); color: var(--linen); }
.btn--light:hover { background: rgba(246, 246, 242, 0.12); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; font-size: 1.1rem; padding-inline: var(--s6); }

.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding-top: env(safe-area-inset-top, 0px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s4); }
.top__logo img { height: 64px; width: auto; }
.top__phone { color: var(--linen); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
.top__links { display: flex; align-items: center; gap: var(--s2) var(--s5); }
.top__phone { justify-content: center; min-width: 44px; }
.top__phone span { display: none; }
@media (min-width: 600px) { .top__phone span { display: inline; } .top__logo img { height: 76px; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--cellar); color: var(--linen); isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22,19,12,.55) 0%, rgba(22,19,12,.45) 35%, rgba(22,19,12,.82) 100%);
}
.hero__grid { display: grid; gap: var(--s6); padding-block: 116px var(--s6); align-items: center; }
.hero__copy { display: grid; gap: var(--s4); max-width: 620px; }
.eyebrow { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--harvest); }
.hero h1 { font-size: var(--fs-display); color: var(--white); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--linen); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); padding-top: var(--s2); }
.hero__form { scroll-margin-top: var(--s4); }

@media (min-width: 960px) {
  .hero::before { background: linear-gradient(90deg, rgba(22,19,12,.86) 0%, rgba(22,19,12,.66) 48%, rgba(22,19,12,.30) 100%); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; padding-block: 132px var(--s7); gap: var(--s7); }
  .hero__actions { display: none; }
}

/* trust strip */
.trust { background: var(--barrel); color: var(--linen); }
.trust ul { list-style: none; margin: 0; padding: var(--s3) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1) var(--s4); }
.trust li { font-size: 0.95rem; font-weight: 500; display: inline-flex; align-items: center; gap: var(--s2); }
.trust li::before { content: ""; width: 5px; height: 5px; background: var(--harvest); flex: none; }
@media (min-width: 720px) {
  .trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s4); }
  .trust li { gap: var(--s4); }
  .trust li:first-child::before { display: none; }
}
.hero .trust { background: rgba(94, 83, 55, 0.92); }

/* ---------- sections ---------- */
.section { padding-block: var(--s7); }
@media (min-width: 960px) { .section { padding-block: var(--s8); } }
.section--pattern { background: var(--white) url("../img/pattern.png") center / 1600px auto repeat; }
.section--tint { background: var(--tint-04); }
.section--barrel { background-color: var(--barrel); color: var(--linen); position: relative; isolation: isolate; }
.section--barrel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern.png") center / 1600px auto repeat; mix-blend-mode: multiply; opacity: .16; }

.intro { display: grid; gap: var(--s3); max-width: var(--text); margin: 0 auto var(--s6); text-align: center; justify-items: center; }
.intro h2 { font-size: var(--fs-h2); }
.intro p { font-size: var(--fs-lead); line-height: 1.5; }
.intro .rule { width: 48px; height: 3px; background: var(--harvest); }
.section--barrel .intro h2 { color: var(--white); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* reasons */
.reason { display: grid; gap: var(--s3); align-content: start; padding: var(--s5); background: var(--white); border-top: 3px solid var(--harvest); }
.reason .ico { width: 32px; height: 32px; color: var(--barrel); }
.reason h3 { font-size: 1.2rem; }

/* cards with photos */
.card { background: var(--white); border: 1px solid var(--tint-15); display: flex; flex-direction: column; min-width: 0; }
.card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--tint-10); }
.card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.card__kicker { font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.card h3 { font-size: var(--fs-h3); }
.card__cap { font-size: 1.05rem; font-weight: 600; }
.card__cap b { font-size: 2rem; font-weight: 600; line-height: 1; margin-right: var(--s1); font-variant-numeric: tabular-nums; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card__note { margin-top: auto; font-size: var(--fs-small); font-weight: 500; }

/* event tiles */
.tile { display: grid; grid-template-columns: auto 1fr; gap: var(--s3) var(--s4); align-items: start; padding: var(--s5); background: var(--white); border: 1px solid var(--tint-15); }
.tile .ico { width: 32px; height: 32px; margin-top: 2px; }
.tile h3 { font-size: 1.25rem; }
.tile p { grid-column: 2; }
.tile .btn { grid-column: 2; justify-self: start; margin-top: var(--s2); min-height: 44px; padding-inline: var(--s4); font-size: .9rem; }

/* location blocks with spaces */
.venue { display: grid; gap: 0; background: var(--white); border: 1px solid var(--tint-15); }
.venue + .venue { margin-top: var(--s5); }
.venue__img { width: 100%; height: 100%; min-height: 220px; max-height: 340px; object-fit: cover; }
.venue__body { padding: var(--s5); display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.venue__body h3 { font-size: 1.6rem; }
.venue__addr { font-size: var(--fs-small); }
.spaces { list-style: none; margin: 0; padding: 0; display: grid; }
.space { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s4); padding-block: var(--s3); border-top: 1px solid var(--tint-15); align-items: baseline; }
.space__cap { font-size: 1.7rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.space__cap small { white-space: normal; display: block; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.space h4 { margin: 0 0 2px; font-size: 1.1rem; font-weight: 600; }
.space p { font-size: .95rem; color: var(--barrel-soft); }
@media (min-width: 900px) {
  .venue { grid-template-columns: 5fr 7fr; }
  .venue__img { max-height: none; }
  .venue:nth-child(even) .venue__img { order: 2; }
}

/* games band */
.games { display: grid; gap: var(--s5); align-items: center; }
.games__photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.games__photos img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.games__list { display: grid; gap: var(--s4); }
.games__list h2 { font-size: var(--fs-h2); color: var(--white); }
.games__list .eyebrow { color: var(--linen); }
.gamegroup { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid rgba(246,246,242,.3); }
.gamegroup h3 { font-size: 1.1rem; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.chips li { padding: var(--s1) var(--s3); border: 1px solid rgba(246,246,242,.55); font-size: .95rem; font-weight: 500; }
@media (min-width: 900px) { .games { grid-template-columns: 6fr 5fr; gap: var(--s7); } }

/* testimonials */
.quotes { display: grid; gap: var(--s4); }
.quote { margin: 0; padding: var(--s5); background: rgba(22,19,12,.28); display: grid; gap: var(--s4); align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--linen); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .7; color: var(--harvest); margin-bottom: var(--s2); }
.quote figcaption { font-weight: 600; color: var(--white); letter-spacing: .02em; }
.quote figcaption span { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--linen); }
.quote-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) {
  .quotes--mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quotes--mosaic .quote-img:nth-of-type(odd) { grid-row: span 1; }
}

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 3px solid var(--barrel); }
.steps li::before { content: counter(step); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--harvest-deep); }
.steps h3 { font-size: 1.25rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }

/* faq */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--tint-15); }
.faq details { border-bottom: 1px solid var(--tint-15); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0; min-height: 56px; font-size: 1.15rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--barrel); border-bottom: 2px solid var(--barrel); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 var(--s5); max-width: 680px; display: grid; gap: var(--s2); }
.flag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--tint-10); border: 1px dashed var(--barrel-soft); padding: 2px 8px; }

/* menu options */
.menu-opt .card__img { aspect-ratio: 3 / 2; }
.aside-note { margin-top: var(--s5); text-align: center; font-size: 1.1rem; font-weight: 500; }

/* final cta (contact band, no second form) */
.final--band { max-width: var(--text); margin-inline: auto; display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.final--band h2 { font-size: var(--fs-h2); }
.final--band p { font-size: var(--fs-lead); }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); padding-top: var(--s2); }
.final--band .email { font-weight: 500; font-size: 1.1rem; display: inline-flex; gap: var(--s2); align-items: center; min-height: 44px; }

/* ---------- form ---------- */
.form-card { background: var(--white); color: var(--barrel); padding: var(--s5); border: 1px solid var(--tint-15); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.hero .form-card { border: 0; }
.form-card h2, .form-card h3 { font-size: 1.45rem; margin-bottom: var(--s1); }
.form-card > p.sub { font-size: .95rem; margin-bottom: var(--s4); }
.enquiry { display: grid; gap: var(--s4); }
.enquiry .row { display: grid; gap: var(--s4); }
@media (min-width: 480px) { .enquiry .row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field > .legend, fieldset legend { font-weight: 500; font-size: 1rem; padding: 0; }
.req { font-weight: 400; font-size: .85rem; color: var(--barrel-soft); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.input {
  width: 100%; min-height: 48px; padding: var(--s2) var(--s3);
  font: 400 1rem/1.4 var(--font); color: var(--barrel); background: var(--white);
  border: 1px solid #8e8673; border-radius: 0;
}
textarea.input { min-height: 96px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--barrel) 50%), linear-gradient(135deg, var(--barrel) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus { outline: 3px solid var(--harvest); outline-offset: 0; border-color: var(--barrel); }
.input:disabled { background: var(--tint-10); color: var(--barrel-soft); }
.loc-chips { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: 6px; }
.loc-chip { position: relative; }
.loc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.loc-chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: var(--s2);
  border: 1px solid #8e8673; font-weight: 500; line-height: 1.2; cursor: pointer; background: var(--white);
}
.loc-chip span small { display: block; font-size: .78rem; font-weight: 400; margin-top: 2px; }
.loc-chip input:checked + span { background: var(--barrel); border-color: var(--barrel); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.loc-chip input:focus-visible + span { outline: 3px solid var(--harvest); outline-offset: 1px; }
.check { display: inline-flex; align-items: center; gap: var(--s2); font-size: .95rem; min-height: 32px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--barrel); }
.more summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; gap: var(--s2); }
.more summary::before { content: "+"; font-size: 1.3rem; width: 20px; }
.more[open] summary::before { content: "\2212"; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--error); font-size: .9rem; font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.err::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .75rem; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.err:empty { display: none; }
.is-invalid .input, .is-invalid .loc-chip span { border-color: var(--error); border-width: 2px; }
.form-alert { background: #f8ecea; border-left: 4px solid var(--error); padding: var(--s3) var(--s4); color: var(--error); font-weight: 500; }
.form-foot { display: grid; gap: var(--s2); font-size: .92rem; }
.form-foot a { font-weight: 500; }
.small-print { font-size: .8rem; color: var(--barrel-soft); }
.success { display: grid; gap: var(--s3); padding: var(--s3) 0; }
.success__mark { width: 52px; height: 52px; border-radius: 50%; background: var(--barrel); color: var(--white); display: grid; place-items: center; }
.success__mark svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.success h3 { font-size: 1.5rem; }
.success p { font-size: 1.05rem; }

/* ---------- footer ---------- */
.foot { background: var(--cellar); color: var(--linen); padding-block: var(--s7) calc(var(--s6) + var(--bar-h)); }
.foot__grid { display: grid; gap: var(--s5); }
.foot__logo img { height: 84px; width: auto; }
.foot h3 { font-size: 1rem; font-weight: 600; color: var(--harvest); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s2); }
.foot address { font-style: normal; line-height: 1.6; }
.foot a { color: var(--linen); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.foot__base { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid rgba(246,246,242,.2); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: .9rem; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.2fr repeat(3, 1fr); } }
@media (min-width: 720px) { .foot { padding-block: var(--s7) var(--s6); } }

/* ---------- mobile action bar ---------- */
.mbar {
  position: fixed; inset: auto 0 0 0; z-index: 20; display: grid; grid-template-columns: 1fr 1.4fr;
  background: var(--harvest); padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -1px 0 rgba(22,19,12,.25);
  transition: transform .2s ease;
}
.mbar a { display: flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--bar-h); color: var(--cellar); text-decoration: none; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.mbar a + a { background: var(--cellar); color: var(--linen); }
.mbar.is-hidden { transform: translateY(110%); }
@media (min-width: 960px) { .mbar { display: none; } }

/* ---------- privacy page ---------- */
.plain-top { background: var(--cellar); }
.plain-top .wrap { padding-block: var(--s4); display: flex; justify-content: space-between; align-items: center; }
.plain-top img { height: 64px; width: auto; }
.prose { max-width: var(--text); margin-inline: auto; display: grid; gap: var(--s4); }
.prose h1 { font-size: var(--fs-h2); }
.prose h2 { font-size: 1.3rem; margin-top: var(--s3); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s2); }

/* centred cards (weddings: choose your location) */
.card--center .card__body { text-align: center; align-items: center; }
.card--center .btn { align-self: center; }

/* weddings: centred "how it works" steps */
.steps--center li { text-align: center; justify-items: center; }

/* phones: centred footer */
@media (max-width: 599px) {
  .foot__grid { justify-items: center; text-align: center; }
  .foot__logo img { margin-inline: auto; }
  .foot__base { justify-content: center; text-align: center; }
}

/* weddings: centred "why couples choose" blocks */
.reason--center { text-align: center; justify-items: center; }

/* events: centred room blocks and games */
.venue--center .venue__body { text-align: center; justify-items: center; }
.venue--center .spaces { width: 100%; }
.venue--center .space { grid-template-columns: 1fr; justify-items: center; gap: var(--s1); }
.games__list--center { text-align: center; justify-items: center; }
.games__list--center .gamegroup { justify-items: center; width: 100%; }
.games__list--center .chips { justify-content: center; }

/* phones and tablets: centred hero text */
@media (max-width: 959px) {
  .hero__copy { text-align: center; justify-items: center; margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
}
