/* ==========================================================================
   Ecology Beer Creative
   Palette is five colors. --ink and --slate are Ecology's own brand hex,
   sampled from their logo files. --canopy is sampled from the foliage in
   their own patio photography. --ember is the only accent and it is
   reserved for calls to action.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-var.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper:      #F7F4EC;
  --paper-warm: #F0EBDE;
  --canopy:     #1F3227;
  --canopy-lit: #2C4534;
  --ink:        #464C57;
  --ink-deep:   #2E3239;
  --ink-muted:  #565E6E;
  --slate:      #63708A;
  --ember:      #A8501A;
  --ember-lit:  #C2611A;

  /* Error red, kept clearly apart from the ember accent so "something is
     wrong" never wears the same colour as "buy this". 7.4:1 on paper,
     8.2:1 on white; the lit variant is 6.8:1 on the canopy band. */
  --error:      #8F2E12;
  --error-lit:  #F0A48A;

  --hair:       #D6CFBE;
  --hair-dark:  rgba(247, 244, 236, 0.22);

  --f-head: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --shell: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --band: clamp(64px, 9vw, 124px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Components here set their own display, which silently beats the UA rule for
   the hidden attribute. Without this, hiding anything built as a grid or flex
   container does nothing at all. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is load bearing. Every img carries width/height attributes for
   layout stability, and without this the attribute height wins over the
   scaled width and the picture renders stretched. */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink-deep);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ember); }
a:hover { color: var(--ember-lit); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--narrow { max-width: 760px; }

section { padding-block: var(--band); }

/* --- accessibility floor ------------------------------------------------ */

.skip-nav {
  position: absolute; top: -60px; left: 16px; z-index: 999;
  background: var(--ink-deep); color: var(--paper);
  padding: 10px 18px; text-decoration: none; font-weight: 600;
  transition: top 150ms ease;
}
.skip-nav:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- shared type helpers ------------------------------------------------ */

.eyebrow {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1.1rem;
}

.lede { font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--ink-muted); }
.lede--light { color: rgba(247, 244, 236, 0.88); }

.section-head { max-width: 620px; margin-bottom: clamp(34px, 5vw, 56px); }

/* A drawn botanical rule that echoes the leaves in their patio mural.
   Ten minutes of work, and it stops every divider being a grey line. */
.leaf-rule {
  display: flex; align-items: center; gap: 14px;
  color: var(--slate); opacity: 0.55;
}
.leaf-rule::before, .leaf-rule::after {
  content: ''; flex: 1; height: 1px; background: currentColor;
}
.leaf-rule svg { width: 22px; height: 22px; flex: none; display: block; }
.band-dark .leaf-rule { color: #A9BFA4; opacity: 0.7; }

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.005em;
  padding: 0.95em 1.7em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, transform 160ms ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--ember); color: #FFFFFF; }
.btn--primary:hover { background: #8F4415; color: #FFFFFF; }

.btn--ghost {
  background: transparent; color: var(--ink-deep);
  border-color: var(--ink-muted);
}
.btn--ghost:hover { background: var(--ink-deep); color: var(--paper); border-color: var(--ink-deep); }

.btn--ghost-light {
  background: transparent; color: var(--paper);
  border-color: rgba(247, 244, 236, 0.55);
}
.btn--ghost-light:hover { background: var(--paper); color: var(--canopy); border-color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* A proof line sits beside every ask. */
.proof-line {
  display: flex; align-items: center; gap: 0.5em;
  font-size: 0.9rem; color: var(--ink-muted); margin: 1.1rem 0 0;
}
.proof-line--light { color: rgba(247, 244, 236, 0.82); }
.proof-line svg { flex: none; }

/* --- header ------------------------------------------------------------- */

/* Solid rather than a blurred backdrop. A sticky backdrop-filter over
   full width photography costs real frames on scroll for no visible gain. */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.masthead__logo { display: flex; align-items: center; flex: none; }
.masthead__logo img { width: 152px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  font-family: var(--f-head); font-weight: 500; font-size: 0.97rem;
  color: var(--ink-deep); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--ember); }
.nav__link[aria-current="page"] { border-bottom-color: var(--ember); color: var(--ink-deep); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer;
  color: var(--ink-deep);
}

/* --- hero --------------------------------------------------------------- */

/* The photo and the copy share one grid cell. The photo sets a minimum
   height and the copy can stretch the hero past it. This used to be copy
   absolutely positioned over a fixed-height photo, so whenever the copy ran
   taller than the photo it spilled out both ends: buttons over the proof
   bar, pills up under the sticky header. Three things make the copy taller
   and any one was enough on a laptop: a short window, a larger default font
   size in the browser (every hero size is in rem), and the happy hour pill
   wrapping onto its own row. */
.hero {
  position: relative; padding: 0; background: var(--canopy);
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.hero__media, .hero__body { grid-area: 1 / 1; }

.hero__media { position: relative; min-height: clamp(430px, 62vh, 640px); }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 62% 55%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(16, 27, 20, 0.86) 0%, rgba(16, 27, 20, 0.66) 38%,
                    rgba(16, 27, 20, 0.14) 68%, rgba(16, 27, 20, 0.05) 100%),
    linear-gradient(to top, rgba(16, 27, 20, 0.55) 0%, rgba(16, 27, 20, 0) 45%);
}
.hero__body {
  position: relative; display: flex; align-items: center;
  padding-block: clamp(32px, 5vh, 56px);
}
.hero__copy { max-width: 620px; color: var(--paper); }
.hero__copy h1 { color: var(--paper); margin-bottom: 0.42em; }
.hero__copy .eyebrow { color: #E5C9A0; }

.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.15rem; }
.hero__pills .hero__status { margin-bottom: 0; }
.hero__status {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--f-head); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--canopy); background: #E7D9B4;
  padding: 0.45em 0.9em; border-radius: 100px; margin-bottom: 1.15rem;
}
.hero__status .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2F7A45; flex: none;
}
.hero__status[data-open="false"] .dot { background: #9A3520; }

/* The happy hour pill. Ember-warm so it reads as a deal rather than a
   status; 6.5:1 on its own background. Only rendered while a deal runs. */
.hero__status--deal { color: #7A3A12; background: #F1DCC9; }
.hero__status--deal svg { flex: none; }

/* --- proof bar ---------------------------------------------------------- */

.proofbar { background: var(--paper-warm); border-block: 1px solid var(--hair); padding-block: 30px; }
.proofbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px); align-items: center;
}
.proofbar__item { display: flex; flex-direction: column; gap: 3px; }
.proofbar__stat {
  font-family: var(--f-head); font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700; color: var(--ink-deep); line-height: 1.15;
}
/* The Food & Wine stat links out to the article. Underlined at stat weight
   so it is recognisably a link without turning the stat into a button. */
.proofbar__stat a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--slate);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.proofbar__stat a:hover { color: var(--ember); text-decoration-color: var(--ember); }
.proofbar__label { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.4; }
.proofbar__badge { display: flex; align-items: center; gap: 12px; }
/* Sized to carry the same visual weight as the stat text beside it, now
   that it stands alone in its cell. The processed logo is 220px, so this
   stays crisp. */
.proofbar__badge img { width: 104px; height: auto; flex: none; }

/* --- generic split ------------------------------------------------------ */

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }

.framed { position: relative; }
.framed img { position: relative; z-index: 1; border-radius: var(--radius); }
/* Offset double border. A care signal that costs nothing to serve. */
.framed::after {
  content: ''; position: absolute; inset: 16px -16px -16px 16px;
  border: 1px solid var(--slate); opacity: 0.5; border-radius: var(--radius);
  pointer-events: none; z-index: 0;
}

.stack-tight > * + * { margin-top: 1.6rem; }

/* --- fact list ---------------------------------------------------------- */

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.facts li {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px;
  align-items: start; padding: 13px 0; border-bottom: 1px solid var(--hair);
}
.facts li:first-child { border-top: 1px solid var(--hair); }
.facts__mark { color: var(--slate); padding-top: 3px; }
.facts strong { font-family: var(--f-head); font-weight: 600; display: block; }
.facts span.note { color: var(--ink-muted); font-size: 0.95rem; }

/* The muted note and the bullet are brand-dark tokens. Reused as-is on the
   canopy band they land at 2.1:1 and 2.7:1, so they get lit versions. */
.band-dark .facts li { border-color: var(--hair-dark); }
.band-dark .facts li:first-child { border-top-color: var(--hair-dark); }
.band-dark .facts span.note { color: rgba(247, 244, 236, 0.78); }
.band-dark .facts__mark { color: #A9BFA4; }

/* --- dark band ---------------------------------------------------------- */

/* Section backgrounds alternate. No two neighbouring sections share one:
   paper (the default), warm (.proofbar, .hh) and canopy (.band-dark). When a
   section is added, removed or moved, re-check its neighbours on that page.
   The homepage order is written out in the README under "Changing things". */
.band-dark { background: var(--canopy); color: var(--paper); }
.band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark .eyebrow { color: #E5C9A0; }
/* Scoped away from .btn so it cannot override a button's own text color
   and quietly break contrast on the dark bands. */
.band-dark a:not(.btn) { color: #E7C08D; }

/* --- tap list (archival index) ------------------------------------------ */

/* Capped so the style label never drifts a full container away from the
   beer name on the wide beer page. */
.taplist { display: grid; gap: 0; max-width: 880px; }

.taplist-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 24px;
  max-width: 880px; margin-bottom: 1.2em;
}
.taplist-head h2 { margin: 0; }
.taplist-stamp {
  font-family: var(--f-head); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); margin: 0;
}

/* --- Untappd embedded tap board ----------------------------------------
   Untappd renders into our own DOM rather than an iframe and ships named
   colour hooks for theming, so the live board can be repainted in the site's
   own system instead of sitting there as an obvious bolt-on. Restyled to the
   same archival index as .taplist so the two are indistinguishable.
   ---------------------------------------------------------------------- */

.untappd-embed { max-width: 880px; }
.untappd-embed:empty { display: none; }

#menu-container .ut-menu { font-family: var(--f-body); }

/* Every surface goes flat onto the paper. */
#menu-container .menu-bg-color,
#menu-container .item-bg-color,
#menu-container .header-bg-color,
#menu-container .section-header-bg-color { background: transparent !important; }

/* Their header repeats our own heading, address and phone. */
#menu-container .menu-header,
#menu-container .location-info,
#menu-container .menu-title { display: none !important; }

/* Their timestamp is live, so it replaces our hand-typed one. */
#menu-container .date-time {
  font-family: var(--f-head); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted) !important;
  margin: 0 0 1.6rem; text-align: left !important;
}

#menu-container .section-heading {
  padding: 0 !important; margin: 2.6rem 0 0.2rem; border: 0 !important;
}
#menu-container .section:first-child .section-heading { margin-top: 0; }
#menu-container .section-name,
#menu-container .section-title-color {
  font-family: var(--f-head); font-weight: 600;
  font-size: 0.76rem !important; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate) !important; margin: 0;
}

#menu-container .menu-item {
  padding: 22px 0 !important; margin: 0 !important;
  border-bottom: 1px solid var(--hair) !important; border-radius: 0 !important;
}
#menu-container .section-items-container > .menu-item:first-child,
#menu-container .menu-items-container > .menu-item:first-child {
  border-top: 1px solid var(--hair) !important;
}

#menu-container .item-label img { width: 30px; height: auto; opacity: 0.85; }

/* Must beat the .item-title-color rule below, which the name link also
   carries and which would otherwise shout every beer in caps. */
#menu-container .item-name,
#menu-container .item-name a,
#menu-container h4.item-name a.item-title-color {
  font-family: var(--f-head) !important; font-weight: 600 !important;
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  letter-spacing: -0.02em !important; color: var(--ink-deep) !important;
  text-transform: none !important; text-decoration: none;
}
#menu-container .item-name a:hover { color: var(--ember) !important; }

#menu-container .item-style,
#menu-container .item-meta,
#menu-container .item-abv,
#menu-container .item-ibu,
#menu-container .brewery,
#menu-container .item-title-color {
  font-family: var(--f-head); font-size: 0.76rem !important; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate) !important;
}

/* It is all brewed here. Repeating the brewery name on all twelve is noise. */
#menu-container .brewery { display: none !important; }

#menu-container .container-list,
#menu-container .no-price {
  font-family: var(--f-body); font-size: 0.95rem; letter-spacing: 0;
  text-transform: none; color: var(--ink-muted) !important;
}

#menu-container .divider-color { border-color: var(--hair) !important; }

/* Untappd puts .link-font-color on things that are not links, including beer
   descriptions. Scoped to anchors so body copy does not come out in the
   accent colour at 12px. */
#menu-container a.link-font-color { color: var(--ember) !important; }

/* opacity is the trap here: Untappd fades collapsed descriptions to 0.8,
   which blends a passing token down to 3.81:1. Setting the colour alone does
   not fix it, the opacity has to come off too. */
#menu-container [id$="_description"],
#menu-container .show-less,
#menu-container .show-more {
  font-family: var(--f-body) !important; font-size: 0.95rem !important;
  font-weight: 400 !important; letter-spacing: 0 !important;
  text-transform: none !important; color: var(--ink-muted) !important;
  opacity: 1 !important;
}

@media (max-width: 560px) {
  #menu-container .item-label { float: none !important; margin-bottom: 8px; }
}
.tap {
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--hair);
}
.tap:first-child { border-top: 1px solid var(--hair); }
.band-dark .tap { border-color: var(--hair-dark); }
.tap__name {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem); margin: 0; letter-spacing: -0.02em;
}
.tap__style {
  font-family: var(--f-head); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate); white-space: nowrap;
}
.band-dark .tap__style { color: #A9BFA4; }
.tap__note {
  grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink-muted);
  font-size: 0.98rem; max-width: 62ch;
}
.band-dark .tap__note { color: rgba(247, 244, 236, 0.76); }

/* --- cards -------------------------------------------------------------- */

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.card {
  background: #FFFFFF; border: 1px solid var(--hair);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; }
.card p { color: var(--ink-muted); font-size: 0.97rem; margin: 0; }

/* Whole-card link. The anchor sits on the heading and a pseudo-element
   stretches it over the card, so the entire box is clickable while the
   accessible name stays the heading and there is still only one tab stop.
   Wrapping the whole card in an <a> instead would read the fact list out
   as part of the link text. */
.card--link { position: relative; transition: transform 180ms ease, box-shadow 180ms ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 50, 39, 0.13); }
.card--link h2 a { color: inherit; text-decoration: none; }
.card--link h2 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
/* The ring belongs on the card, not on the stretched anchor box. */
.card--link h2 a:focus-visible { outline: none; box-shadow: none; }
.card--link:has(a:focus-visible) { outline: 2px solid var(--ember); outline-offset: 3px; }
.card--link:hover h2 a,
.card--link:has(a:focus-visible) h2 a { color: var(--ember); }

.card__cta {
  margin-top: auto; padding-top: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 0.92rem;
  color: var(--ember); display: inline-flex; align-items: center; gap: 0.4em;
}
.card--link:hover .card__cta { color: var(--ember-lit); }

/* A card keeps its own light surface even inside a dark band, so it has to
   opt out of every .band-dark text colour or the headings go near-white on
   white. */
.band-dark .card h2, .band-dark .card h3 { color: var(--ink-deep); }
.band-dark .card p { color: var(--ink-muted); }
.band-dark .card .eyebrow { color: var(--slate); }
.band-dark .card a:not(.btn) { color: var(--ember); }
.band-dark .card .facts li { border-color: var(--hair); }
.band-dark .card .facts li:first-child { border-top-color: var(--hair); }
.band-dark .card .facts span.note { color: var(--ink-muted); }
.band-dark .card .facts__mark { color: var(--slate); }

/* --- quotes ------------------------------------------------------------- */

.quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.quote {
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.band-dark .quote { background: var(--canopy-lit); border-color: var(--hair-dark); }
.quote__stars { color: var(--ember); letter-spacing: 0.12em; font-size: 0.95rem; }
.band-dark .quote__stars { color: #E0A85C; }
.quote blockquote { margin: 0; font-size: 1.03rem; line-height: 1.6; }
.quote figcaption { font-size: 0.87rem; color: var(--ink-muted); margin-top: auto; }
.band-dark .quote figcaption { color: rgba(247, 244, 236, 0.72); }

/* --- FAQ -----------------------------------------------------------------
   Native details/summary, so it is keyboard complete for free. The heading
   sits inside the summary the way the CR and St. Roch sites do it, keeping
   the questions in the document outline. */

.faq { border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 19px 2px; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 {
  font-family: var(--f-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--ink-deep); margin: 0;
}
.faq__q:hover h3 { color: var(--ember); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: var(--canopy);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform 200ms ease; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__a {
  margin: 0; padding: 0 2px 22px; max-width: 64ch;
  color: var(--ink); line-height: 1.65;
}
.faq__a a { color: var(--ember); text-underline-offset: 3px; }

/* --- map -----------------------------------------------------------------
   Google Maps embed on the visit page. It keeps the offset .framed border
   so it sits in the design like everything else. The iframe load is
   disclosed in privacy.html under "The map". */

.gmap-fig { margin: clamp(34px, 5vw, 52px) 0 0; }
.gmap {
  display: block; width: 100%; height: clamp(320px, 42vw, 460px);
  border: 0; border-radius: var(--radius);
  position: relative; z-index: 1; background: var(--paper-warm);
}
.gmap-fig figcaption { margin-top: 12px; font-size: 0.87rem; color: var(--ink-muted); }

/* --- happy hour ----------------------------------------------------------
   Three fixed deals on the warm paper band. The live "on right now" state
   is the hero pill, driven by SPECIALS in script.js. */

.hh { background: var(--paper-warm); border-block: 1px solid var(--hair); }
.hh-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.hh-day { border-left: 2px solid var(--canopy); padding-left: 18px; }
.hh-day h3 {
  font-family: var(--f-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); margin: 0 0 8px;
}
.hh-day__deal {
  font-family: var(--f-head); font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink-deep); margin: 0 0 5px;
}
.hh-day__when { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* --- instagram slideshow -------------------------------------------------
   A row of the latest posts that scrolls sideways and snaps tile by tile.
   It is a real scrolling list, so a swipe, a trackpad and the arrow buttons
   all work, and script.js only has to nudge it along. Four tiles show on a
   desktop, down to a little over one on a phone so the next one peeks in. */

/* On the homepage it is a dark band (Nov 2026). It sits between the warm
   proof bar and the paper "What's pouring", so dark is the one background
   that differs from both, and it still alternates when the feed is down and
   the section hides. The .band-dark rules below are what it needs there. */
/* Placeholder tiles shown until the real posts arrive. */
.insta__slide--ghost {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper-warm);
}
.band-dark .insta__slide--ghost,
.band-dark .insta__slide a { background: var(--canopy-lit); }
.insta__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(26px, 4vw, 40px);
}
.insta__head .section-head { margin-bottom: 0; }
.insta__controls { display: flex; gap: 10px; flex: none; }
.insta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: transparent; color: var(--ink-deep);
  border: 1px solid var(--ink-muted); border-radius: 50%;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.insta__btn:hover { background: var(--ink-deep); color: var(--paper); border-color: var(--ink-deep); }
.band-dark .insta__btn { color: var(--paper); border-color: rgba(247, 244, 236, 0.6); }
.band-dark .insta__btn:hover { background: var(--paper); color: var(--canopy); border-color: var(--paper); }

.insta__track {
  --insta-gap: 16px;
  --insta-show: 4;
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--insta-gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.insta__track::-webkit-scrollbar { display: none; }
.insta__slide {
  flex: 0 0 calc((100% - (var(--insta-show) - 1) * var(--insta-gap)) / var(--insta-show));
  scroll-snap-align: start;
}
.insta__slide a {
  display: block; position: relative; overflow: hidden;
  /* 4:5 is Instagram's own portrait shape, which is what Ecology posts. */
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--hair);
}
.insta__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms ease;
}
.insta__slide a:hover img { transform: scale(1.03); }
/* The outline would be clipped by the track's overflow, so draw it inside. */
.insta__slide a:focus-visible { outline-offset: -3px; box-shadow: none; }

@media (max-width: 980px) { .insta__track { --insta-show: 3; } }
@media (max-width: 760px) { .insta__track { --insta-show: 2.2; --insta-gap: 12px; } }
@media (max-width: 480px) { .insta__track { --insta-show: 1.25; } }
@media (prefers-reduced-motion: no-preference) {
  .insta__track { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .insta__slide a:hover img { transform: none; }
}

/* --- hours -------------------------------------------------------------- */

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 11px 0; border-bottom: 1px solid var(--hair);
  font-variant-numeric: tabular-nums;
}
.band-dark .hours li { border-color: var(--hair-dark); }
.hours li:first-child { border-top: 1px solid var(--hair); }
.band-dark .hours li:first-child { border-color: var(--hair-dark); }
.hours__day { font-family: var(--f-head); font-weight: 500; }
.hours li[data-today] { font-weight: 700; }
.hours li[data-today] .hours__day::after {
  content: 'Today'; margin-left: 0.7em; font-family: var(--f-body);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ember); vertical-align: 1px;
}
.band-dark .hours li[data-today] .hours__day::after { color: #E0A85C; }

/* --- news --------------------------------------------------------------- */

.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(22px, 3vw, 36px);
}
.news-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #FFFFFF; border: 1px solid var(--hair); border-radius: var(--radius);
  overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 50, 39, 0.13); }
.news-card__thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.news-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-card__date {
  font-family: var(--f-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin: 0;
}
.news-card__title { font-size: 1.22rem; margin: 0; }
.news-card__excerpt { font-size: 0.95rem; color: var(--ink-muted); margin: 0; }
.news-card__link {
  margin-top: auto; padding-top: 6px; font-family: var(--f-head);
  font-weight: 600; font-size: 0.92rem; color: var(--ember);
}
.news-card:hover .news-card__link { color: var(--ember-lit); }

/* --- article ------------------------------------------------------------ */

.article { padding-block: clamp(44px, 6vw, 76px) var(--band); }
.article__meta { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 1.4rem; }
.article__body { font-size: 1.06rem; }
.article__body p { margin-bottom: 1.35em; }
.article__body img { border-radius: var(--radius); margin-block: 2rem; }
.article__body ul { padding-left: 1.15em; }
.article__body li { margin-bottom: 0.5em; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--f-head); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; margin-bottom: 1.6rem;
}

/* --- forms -------------------------------------------------------------- */

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--f-head); font-weight: 600; font-size: 0.93rem; }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--ink-deep);
  background: #FFFFFF; border: 1px solid #A9A091; border-radius: var(--radius);
  padding: 0.8em 0.9em; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #6A6255; }
.field textarea { min-height: 130px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fine-print { font-size: 0.85rem; color: var(--ink-muted); margin: 0; }

.field__hint { font-size: 0.85rem; color: var(--ink-muted); font-weight: 400; }
.req { color: var(--ember); font-weight: 700; }

/* Grouped choices are a real fieldset with a real legend, so a screen reader
   announces "Beverages" before reading the options rather than presenting
   six unexplained checkboxes. */
.choices {
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 18px 20px 20px; margin: 0; background: #FFFFFF;
}
.choices > legend {
  font-family: var(--f-head); font-weight: 600; font-size: 0.93rem;
  padding: 0 9px; margin-left: -9px;
  background: #FFFFFF;   /* cleanly interrupts the fieldset border */
}
.choices__list { display: grid; gap: 11px; margin-top: 12px; }
.choices__list--two { grid-template-columns: 1fr 1fr; }
.choice {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px;
  align-items: start; font-size: 0.97rem; cursor: pointer;
}
.choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ember); }
.choice span { line-height: 1.45; }

.consent {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px;
  align-items: start; font-size: 0.88rem; color: var(--ink-muted);
  line-height: 1.5; cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ember); }

.form-note {
  border-left: 2px solid var(--hair); padding-left: 16px;
  font-size: 0.92rem; color: var(--ink-muted); margin: 0;
}

/* --- form error states ---
   The JS sets aria-invalid on failed fields; these rules make that state
   visible to sighted users too. Before this, a failed submit showed no
   per-field cue at all and the explanation sat below the submit button. */

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

fieldset.choices[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}
fieldset.choices[aria-invalid="true"] > legend { color: var(--error); }

.consent input[aria-invalid="true"] {
  outline: 2px solid var(--error); outline-offset: 2px;
}
.consent:has(input[aria-invalid="true"]) { color: var(--error); }
.band-dark .consent input[aria-invalid="true"] { outline-color: var(--error-lit); }
.band-dark .consent:has(input[aria-invalid="true"]) { color: var(--error-lit); }

.form-message { margin: 0; font-weight: 600; }
.form-message:empty { display: none; }
.form-message.is-error { color: var(--error); }
.band-dark .form-message { color: rgba(247, 244, 236, 0.88); }
.band-dark .form-message.is-error { color: var(--error-lit); }

/* Card kicker that carries real information (the 15-guest split). Shaped as
   a bordered tag so it reads as data, not as another eyebrow. */
.card__tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--f-head); font-weight: 600; font-size: 0.8rem;
  color: var(--ink-deep); background: var(--paper-warm);
  border: 1px solid var(--hair); border-radius: 100px;
  padding: 0.3em 0.9em; margin: 0;
}

/* The private event form sits on the canopy band. Anything on the band
   itself needs light text; the fieldsets keep their own white surface and
   so have to opt back into dark text. Getting this wrong is worth 19 axe
   violations, which is how it was found. */
.band-dark .consent,
.band-dark .form > .fine-print,
.band-dark .form-note { color: rgba(247, 244, 236, 0.82); }
.band-dark .form-note { border-left-color: var(--hair-dark); }
.band-dark .form > .fine-print a,
.band-dark .consent a { color: #E7C08D; }

.band-dark .choices { background: #FFFFFF; border-color: var(--hair); }
.band-dark .choices legend,
.band-dark .choices .choice,
.band-dark .choices .choice span { color: var(--ink-deep); }
.band-dark .choices .fine-print { color: var(--ink-muted); }
.band-dark .choices a:not(.btn) { color: var(--ember); }

/* --- footer ------------------------------------------------------------- */

.footer { background: var(--canopy); color: rgba(247, 244, 236, 0.86); padding-block: clamp(52px, 6vw, 78px) 34px; }
.footer h2 { color: var(--paper); }
.footer a { color: rgba(247, 244, 236, 0.86); text-decoration: none; }
.footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__logo { width: 168px; margin-bottom: 18px; }
.footer h2 {
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 15px; color: #E5C9A0;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__base {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hair-dark);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: 0.84rem; color: rgba(247, 244, 236, 0.7);
}
/* The footer strips underlines, which is fine for the standalone column
   links but not for one sitting mid sentence: colour alone is not enough to
   mark a link inside a text block. This one keeps its underline. */
.footer__base a { text-decoration: underline; text-underline-offset: 2px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* A quiet mark that this is a demo, never sold as the live site. */
.demo-flag {
  background: var(--ink-deep); color: var(--paper);
  font-size: 0.83rem; text-align: center; padding: 9px 16px;
}
.demo-flag a { color: #E7C08D; }

/* --- prose pages -------------------------------------------------------- */

.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2.4em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: 0.5em; }
.prose address { font-style: normal; }

/* --- plate index (photos.html) ------------------------------------------
   GALLERY PATTERN v1 - reference implementation. Archival catalog: photos
   as numbered plates with wall-label captions, arrangements that never
   repeat twice in a row, native aspect ratios throughout. No JS.
   Port notes: the six tokens below are the only styling contract; remap
   them to the target site's palette and the block travels as-is. */
.plates {
  --g-surface: var(--paper);
  --g-hair:    var(--hair);
  --g-label:   var(--slate);
  --g-ink:     var(--ink-deep);
  --g-muted:   var(--ink-muted);
  --g-radius:  var(--radius);

  display: grid;
  gap: clamp(56px, 8vw, 104px);
}

.plates-sec { display: grid; gap: clamp(28px, 4vw, 44px); }
.plates-sec__name {
  font-family: var(--f-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--g-label); margin: 0;
}

.plate-row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.plate { margin: 0; }
.plate img { width: 100%; height: auto; border-radius: var(--g-radius); display: block; }

.plate figcaption { display: grid; gap: 5px; margin-top: 12px; }
.plate__label {
  font-family: var(--f-head); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--g-label);
}
.plate__fact { font-size: 0.95rem; color: var(--g-muted); line-height: 1.5; }

/* Wide rows: the figure is itself a 12-col grid so the caption hangs
   beside the image like a museum wall label. */
.plate-row--wide .plate,
.plate-row--wide-flip .plate { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 3vw, 32px); }
.plate-row--wide .plate img { grid-column: 1 / span 8; }
.plate-row--wide .plate figcaption { grid-column: 10 / span 3; margin-top: 0; padding-top: 10px; border-top: 1px solid var(--g-hair); align-self: start; }
.plate-row--wide-flip .plate img { grid-column: 5 / span 8; grid-row: 1; }
.plate-row--wide-flip .plate figcaption { grid-column: 1 / span 3; grid-row: 1; margin-top: 0; padding-top: 10px; border-top: 1px solid var(--g-hair); align-self: start; }

/* Duo rows: two figures, the second dropped so the pair reads staggered,
   not gridded. */
.plate-row--duo .plate:nth-child(1) { grid-column: 2 / span 5; }
.plate-row--duo .plate:nth-child(2) { grid-column: 8 / span 4; margin-top: clamp(36px, 7vw, 88px); }

/* Solo rows: one image sitting in deliberate surrounding space. */
.plate-row--solo .plate { grid-column: 3 / span 8; }
.plate-row--solo-narrow .plate { grid-column: 4 / span 5; }

@media (max-width: 900px) {
  .plate-row--duo .plate:nth-child(1) { grid-column: 1 / span 6; }
  .plate-row--duo .plate:nth-child(2) { grid-column: 7 / span 6; margin-top: clamp(28px, 6vw, 56px); }
  .plate-row--solo .plate { grid-column: 2 / span 10; }
  .plate-row--solo-narrow .plate { grid-column: 3 / span 7; }
}

@media (max-width: 760px) {
  .plate-row,
  .plate-row--wide .plate,
  .plate-row--wide-flip .plate { display: block; }
  .plate-row--duo .plate:nth-child(2) { margin-top: clamp(18px, 4vw, 28px); }
  .plate-row > .plate + .plate { margin-top: 22px; }
  .plate-row--wide .plate figcaption,
  .plate-row--wide-flip .plate figcaption { margin-top: 12px; padding-top: 0; border-top: 0; }
}

/* --- responsive --------------------------------------------------------- */

@media (max-width: 900px) {
  .proofbar__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .split--flip > .split__media { order: -1; }
  .framed::after { inset: 10px -10px -10px 10px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }

  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: 76px 0 auto; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--hair);
    padding: 8px var(--gut) 22px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav[data-open="true"] { visibility: visible; opacity: 1; transform: none; }
  .nav__link {
    padding: 15px 0; border-bottom: 1px solid var(--hair); border-top: 0;
    font-size: 1.06rem;
  }
  .nav__link[aria-current="page"] { border-bottom-color: var(--hair); color: var(--ember); }
  .nav .btn { margin-top: 18px; justify-content: center; }

  /* Headline and CTA come before the image on a phone, so the offer is read
     before anything has to download. */
  .hero { background: var(--paper); display: flex; flex-direction: column; }
  .hero__media { order: 2; min-height: 0; }
  .hero__body { order: 1; position: static; padding-block: 34px 30px; }
  .hero__copy { max-width: none; color: var(--ink-deep); }
  .hero__copy h1 { color: var(--ink-deep); }
  .hero__copy .eyebrow { color: var(--slate); }
  .hero__copy .lede--light { color: var(--ink-muted); }
  .hero__copy .proof-line--light { color: var(--ink-muted); }
  .hero__copy .btn--ghost-light { color: var(--ink-deep); border-color: var(--ink-muted); }
  .hero__scrim { display: none; }
  .hero__media img { position: static; height: auto; aspect-ratio: 1100 / 575; }

  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .tap { grid-template-columns: 1fr; }
  .tap__style { white-space: normal; }
  .hh-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 420px) {
  .proofbar__grid { grid-template-columns: 1fr; }
}

/* --- motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity 620ms ease, transform 620ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .news-card:hover { transform: none; }
}

@media print {
  .masthead, .footer, .nav-toggle, .demo-flag { display: none; }
}

/* Site by Drawn in Studio: footer credit */
.dis-credit {
  grid-column: 1 / -1;      /* spans a grid footer; ignored in flex/block */
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0 0;
}
.dis-credit__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: inherit;
  text-decoration: none;
}
.dis-credit__link:hover .dis-credit__label,
.dis-credit__link:focus-visible .dis-credit__label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dis-credit__label {
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.dis-credit__car {
  height: 1.5rem;       /* 24px: the Small size Kevin picked 2026-11-18 */
  width: auto;
  flex-shrink: 0;
  display: block;
}
