/* Gouldy08 theme styles. Mobile first. Fonts are loaded from assets/fonts/fonts.css. */

:root {
	--red: #dd3333;
	--red-dark: #b82727;
	--red-ink: #c42b2b;          /* red text on white / light grey (AA) */
	--ink: #484848;
	--ink-soft: #666;
	--grey: #ececec;
	--line: #dcdcdc;
	--white: #fff;
	--font-body: 'Quattrocento', Georgia, 'Times New Roman', serif;
	--font-head: 'Tinos', 'Times New Roman', Times, serif;
	--wrap: 1100px;
	--gutter: 1rem;
	--topbar-h: 34px;
	--brand-h: 64px;
	--logo-h: 52px;
	--navbar-h: 0px;
	--scroll-off: 0px;
}

@media (min-width: 900px) {
	:root {
		--gutter: 1.5rem;
		--brand-h: 150px;
		--logo-h: 132px;
		--navbar-h: 52px;
		--scroll-off: calc(var(--topbar-h) + var(--brand-h));
	}
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + var(--brand-h) + var(--navbar-h) + 1rem); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.65;
	overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--red-ink); }
a:hover { color: var(--red-dark); }
ul, ol { padding-left: 1.25rem; }
address { font-style: normal; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; z-index: 1000; top: .5rem; left: .5rem; width: auto; height: auto; margin: 0; padding: .75rem 1rem;
	clip: auto; clip-path: none; background: #fff; color: #000; font-weight: 700; text-decoration: none; outline: 3px solid #000;
}
:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }
.topbar :focus-visible, .site-nav :focus-visible, .site-footer :focus-visible, .btn:focus-visible { outline-color: #fff; }
.btn:focus-visible { box-shadow: 0 0 0 3px #1a1a1a; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.wrap--narrow { width: min(46rem, 100% - (var(--gutter) * 2)); }
.section { padding: clamp(2.25rem, 6vw, 4.5rem) 0; }
.section--grey { background: var(--grey); }
.section--center { text-align: center; }
.page-content { display: block; }

.h-section {
	color: var(--red-ink); text-transform: uppercase; text-align: center; font-weight: 700;
	font-size: clamp(1.75rem, 4.4vw, 2.6rem); margin-bottom: .55em;
}
.h-left { color: var(--red-ink); font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; text-align: left; }
.section--center .h-left { text-align: center; }

.prose > :last-child { margin-bottom: 0; }
.prose a { text-underline-offset: .15em; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose strong { color: #333; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block; background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: 2px;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none; text-align: center; padding: .9em 1.4em; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover, .btn:focus-visible { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--large { font-size: 1.2rem; padding: 1em 2.2em; }
.btn--outline { background: transparent; color: var(--red-ink); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.btn-row { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.section--center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: calc(var(--scroll-off) * -1); z-index: 100; background: var(--white);
}
.topbar { height: var(--topbar-h); background: var(--red); color: #fff; font-family: var(--font-head); font-size: .9rem; }
.topbar__in { height: 100%; width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
@media (min-width: 900px) { .topbar__in { justify-content: flex-end; } }
.topbar__link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; line-height: 1; padding: .5rem 0; }
.topbar__link:hover { color: #fff; text-decoration: underline; }
.topbar__link--icon { padding-inline: .25rem; }

.brand { height: var(--brand-h); display: flex; align-items: center; justify-content: center; padding-inline: 4.25rem; }
.site-logo { height: var(--logo-h); display: flex; align-items: center; }
.site-logo a, .site-logo picture { display: block; height: 100%; }
.site-logo img, .site-logo .custom-logo { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 899px) { .brand { justify-content: flex-start; padding-inline: var(--gutter) 4.25rem; } }

/* Nav: red bar on desktop, toggled panel on mobile */
.site-nav { background: transparent; }
.nav-toggle {
	position: absolute; right: .5rem; top: var(--topbar-h); height: var(--brand-h); width: 3.25rem; display: flex; align-items: center; justify-content: center;
	background: transparent; border: 0; cursor: pointer; color: var(--red-ink);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--red); box-shadow: 0 8px 14px rgba(0, 0, 0, .18); }
.site-nav__list.is-open { display: block; }
.site-nav__list li { margin: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.site-nav__list a {
	display: block; padding: 1rem var(--gutter); color: #fff; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.site-nav__list a:hover, .site-nav__list a:focus-visible { background: var(--red-dark); color: #fff; }
.site-nav__list a[aria-current="page"] { background: var(--red-dark); font-weight: 700; }

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.site-nav { background: var(--red); height: var(--navbar-h); }
	.site-nav__list {
		display: flex; position: static; justify-content: center; align-items: stretch; height: 100%; background: transparent; box-shadow: none;
	}
	.site-nav__list li { border: 0; }
	.site-nav__list a { height: 100%; display: flex; align-items: center; padding: 0 1rem; font-size: 1.1rem; }
	.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -4px 0 #fff; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero { position: relative; isolation: isolate; color: #fff; }
.hero { min-height: clamp(420px, 46vw, 600px); display: flex; align-items: center; background: #3a3a3a; }
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__img, .page-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero--focus-left .hero__img, .hero--focus-left .page-hero__img { object-position: 20% center; }
.hero--focus-right .hero__img, .hero--focus-right .page-hero__img { object-position: 80% center; }
.hero--focus-top .hero__img, .hero--focus-top .page-hero__img { object-position: center 15%; }
.hero--focus-bottom .hero__img, .hero--focus-bottom .page-hero__img { object-position: center 85%; }
.hero__inner { padding-block: 2rem; }
.hero__panel { width: min(100%, 36rem); padding: clamp(1.1rem, 3vw, 2rem); background: rgba(0, 0, 0, .58); }
.hero__kicker { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; margin: 0 0 .25rem; }
.hero__title { margin: 0 0 1.1rem; color: #fff; text-transform: uppercase; letter-spacing: .05em; font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.9rem); }
.hero__btns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__btns li { margin: 0; }

.page-hero--photo { min-height: clamp(180px, 22vw, 320px); display: flex; align-items: center; justify-content: center; background: #3a3a3a; }
.page-hero--photo .page-hero__inner { display: flex; justify-content: center; padding-block: 2rem; }
.page-hero--photo .page-hero__title { margin: 0; padding: .6em 1.2em; background: rgba(0, 0, 0, .55); color: #fff; text-align: center; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: .04em; }
.page-hero--plain { color: var(--red-ink); padding: clamp(1.75rem, 4vw, 3rem) 0 0; }
.page-hero--plain .page-hero__title { margin: 0; text-align: center; text-transform: uppercase; font-size: clamp(1.75rem, 4.4vw, 2.6rem); }

/* ---------- Cards ---------- */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3rem; margin-top: 1.5rem; --card-min: 300px; }
.cards--3 { --card-min: 260px; }
.cards--4 { --card-min: 220px; gap: 2rem; }
.card { flex: 1 1 var(--card-min); max-width: 34rem; text-align: center; }
.cards--1 .card { max-width: 34rem; }
.card__title { margin-bottom: .6em; }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cards.is-grey img { filter: grayscale(1); transition: filter .4s ease; }
@media (hover: hover) {
	.cards.is-grey .card__media:hover img { filter: grayscale(0); }
}
.cards.is-grey .card:focus-within img { filter: grayscale(0); }
.card__text { margin: 1rem 0 0; }
.card .btn-row { justify-content: center; margin-top: 1rem; }

/* ---------- Photo strip ---------- */
.strip { padding: 0; }
.strip--contained { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.strip__bleed { width: 100%; }
.strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.strip--contained .strip__list { gap: 1rem; }
.strip__item { margin: 0; flex: 0 0 50%; }
.strip--contained .strip__item { flex-basis: calc(50% - .5rem); }
.strip__item:last-child:nth-child(odd) { flex-basis: 100%; }
.strip--contained .strip__item:last-child:nth-child(odd) { flex-basis: 100%; }
.strip__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip__list.is-grey img { filter: grayscale(1); transition: filter .4s ease; }
@media (hover: hover) {
	.strip__list.is-grey .strip__item:hover img { filter: grayscale(0); }
}
@media (min-width: 700px) {
	.strip__list--3 .strip__item { flex-basis: 33.3333%; }
	.strip__list--4 .strip__item { flex-basis: 25%; }
	.strip--contained .strip__list--3 .strip__item { flex-basis: calc(33.3333% - .7rem); }
	.strip--contained .strip__list--4 .strip__item { flex-basis: calc(25% - .75rem); }
	.strip__list .strip__item:last-child:nth-child(odd) { flex-basis: auto; }
	.strip__list--3 .strip__item:last-child:nth-child(odd) { flex-basis: 33.3333%; }
	.strip__list--4 .strip__item:last-child:nth-child(odd) { flex-basis: 25%; }
	.strip--contained .strip__list--3 .strip__item:last-child:nth-child(odd) { flex-basis: calc(33.3333% - .7rem); }
	.strip--contained .strip__list--4 .strip__item:last-child:nth-child(odd) { flex-basis: calc(25% - .75rem); }
}

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; margin-top: 1rem; }
.contact__details { flex: 1 1 18rem; }
.contact__form { flex: 2 1 22rem; }
.contact__address span, .contact__phones span { display: block; }
.contact__phones { margin-top: 1rem; }
.contact__sub { font-size: 1.15rem; margin: 1.5rem 0 .4rem; color: var(--red-ink); text-transform: uppercase; }
.hours { margin: 0; }
.hours div { display: flex; gap: 1rem; }
.hours dt { min-width: 7.5rem; font-weight: 700; }
.hours dd { margin: 0; }
.contact__form-intro { margin-bottom: 1rem; }
.block-empty { padding: 1rem; margin: 1rem; border: 2px dashed var(--line); color: var(--ink-soft); text-align: center; }

/* Gravity Forms: plugin CSS loads after ours, so overrides need !important (lesson 23). Class names verified from rendered markup. */
.contact__form .gform_wrapper .gform_button,
.contact__form .gform-theme--foundation .gform_button {
	background: var(--red) !important; color: #fff !important; border: 2px solid var(--red) !important; border-radius: 2px !important;
	font-family: var(--font-head) !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .04em !important; padding: .9em 2em !important; cursor: pointer;
}
.contact__form .gform_wrapper .gform_button:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }
.contact__form .gform_wrapper input[type="text"],
.contact__form .gform_wrapper input[type="email"],
.contact__form .gform_wrapper input[type="tel"],
.contact__form .gform_wrapper textarea {
	font-family: var(--font-body) !important; font-size: 1.05rem !important; border: 1px solid #b9b9b9 !important; border-radius: 2px !important; padding: .7em .8em !important; background: #fff !important; color: var(--ink) !important;
}
.contact__form .gform_wrapper .gfield_label { font-family: var(--font-head) !important; font-weight: 700 !important; color: #333 !important; }
.contact__form .gform_wrapper .gfield_required { color: var(--red-ink) !important; }
.contact__form .gform_wrapper .gform_validation_errors, .contact__form .gform_wrapper .gfield_validation_message { color: #9b1c1c !important; }

/* ---------- Footer ---------- */
.site-footer { color: #fff; }
.site-footer__main { background: var(--red); padding: clamp(2rem, 5vw, 3.25rem) 0; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2rem 4rem; }
.footer-col { flex: 0 1 15rem; }
.footer-col__title { color: #fff; font-size: 1.15rem; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: .8rem; position: relative; }
.footer-col__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: rgba(0, 0, 0, .25); }
.footer-col__body span { display: block; }
.footer-link { color: #fff; text-underline-offset: .15em; }
.footer-link:hover { color: #fff; text-decoration-thickness: 2px; }
.footer-hours { margin: 0; }
.footer-hours div { display: flex; gap: .75rem; }
.footer-hours dt { min-width: 6.5rem; font-weight: 700; }
.footer-hours dd { margin: 0; }
.site-footer__base { background: #000; color: #bdbdbd; padding: 1rem 0; font-size: .95rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-base p { margin: 0; }
.footer-base strong { color: #fff; }
.footer-base__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.footer-base__list a { color: #e6e6e6; }

/* ---------- Menus (from the management dashboard) ---------- */
.wrap--medium { width: min(60rem, 100% - (var(--gutter) * 2)); }
.section--menu { padding-top: 0; padding-bottom: 1.5rem; }
.menu__section { margin: 0 0 2.25rem; }
.menu__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); margin-bottom: .25rem; }
.menu__title { margin: 0; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: #333; }
.menu__sub { margin: 0; color: var(--ink-soft); font-style: italic; font-size: 1rem; }
.menu__items { list-style: none; margin: 0; padding: 0; }
.menu__item { margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.menu__line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.menu__name { color: #333; }
.menu__price { white-space: nowrap; font-weight: 700; color: #333; font-variant-numeric: tabular-nums; }
.menu__price small { font-weight: 400; color: var(--ink-soft); }
.menu__desc { margin: .15rem 0 0; font-size: .98rem; color: var(--ink-soft); max-width: 85%; }
.menu__tag { display: inline-block; font-size: .68rem; font-weight: 700; line-height: 1; padding: .28em .45em; border: 1px solid currentColor; border-radius: 3px; vertical-align: middle; text-decoration: none; color: var(--ink-soft); cursor: help; }
.menu__key { margin: 1.25rem 0 0; font-size: .95rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.menu__key .menu__tag { cursor: default; }

/* Boxes layout (drinks): two framed columns, centred items, like the original site. */
.menu--boxes { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.menu--boxes .menu__section { flex: 1 1 20rem; margin: 0; border: 1px solid var(--line); background: #fff; }
.menu--boxes .menu__head { display: block; text-align: center; border: 0; margin: 0; padding: 0; }
.menu--boxes .menu__title { padding: .6rem 1rem; background: #f6f6f6; border-bottom: 1px solid var(--line); font: 700 .95rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .03em; color: #555; }
.menu--boxes .menu__sub { padding: 1.25rem 1rem .25rem; font: 400 clamp(1.5rem, 3vw, 2rem)/1.2 var(--font-body); font-style: normal; color: #111; }
.menu--boxes .menu__items { padding: .5rem clamp(1rem, 4vw, 3rem) 1.5rem; }
.menu--boxes .menu__item { text-align: center; }
.menu--boxes .menu__line { justify-content: center; flex-wrap: wrap; gap: .25rem .5rem; }
.menu--boxes .menu__desc { max-width: none; }
.menu--boxes .menu__key { flex-basis: 100%; }
@media (max-width: 549px) { .menu__desc { max-width: none; } }

/* ---------- Events ---------- */
.badge { display: inline-block; margin-left: .35rem; padding: .15em .6em; border-radius: 99px; font: 700 .78rem/1.4 var(--font-head); letter-spacing: .03em; text-transform: uppercase; background: #e7f0e9; color: #1f5b36; vertical-align: .08em; }
.badge--sold-out, .badge--cancelled { background: #f9dcdc; color: #8f1d1d; }
.event-list { display: grid; gap: 1.75rem; }
.event-card { display: flex; flex-wrap: wrap; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); text-align: left; }
.event-card__media { flex: 1 1 18rem; max-width: 100%; min-height: 12rem; background: #ddd; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { flex: 2 1 20rem; padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; justify-content: center; }
.event-card__title { margin: 0 0 .5rem; font-size: clamp(1.25rem, 3vw, 1.6rem); text-transform: uppercase; color: var(--red-ink); }
.event-card__title a { color: inherit; text-decoration: none; }
.event-card__title a:hover, .event-card__title a:focus-visible { text-decoration: underline; }
.event-card__body p { margin: 0 0 .35rem; }
.event-card__when { font-weight: 700; color: #333; }
.event-card__text { margin-top: .5rem !important; }
.event-card .btn-row { margin-top: 1rem; }
.event-card.is-sold-out .event-card__media img, .event-card.is-cancelled .event-card__media img { filter: grayscale(.85); }
.event-card--compact { box-shadow: none; border: 1px solid var(--line); }
.event-card--compact .event-card__media { flex-basis: 9rem; min-height: 7rem; }
.event-card--compact .event-card__body { padding: 1rem 1.25rem; }
.btn-row--center { justify-content: center; }
.event-empty { text-align: center; padding: 2rem 0; }
.event-past-title { margin-top: 3rem; }

.event-single { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-start; }
.event-single__media { flex: 1 1 18rem; max-width: 28rem; }
.event-single__media img { width: 100%; height: auto; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); }
.event-single__main { flex: 2 1 22rem; min-width: 0; }
.event-facts { margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.event-facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; }
.event-facts dt { font: 700 .95rem/1.65 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--red-ink); }
.event-facts dd { margin: 0; color: #333; }
.event-single__desc { margin-top: 1.5rem; }
.notice { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-left: 4px solid var(--red); background: #f7f1f1; font-weight: 700; color: #333; }
.notice a { font-weight: 400; margin-left: .5rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
