/* The Ligero Leaf. Light, flat, real photos. See DESIGN.md. */

:root {
  --paper: #f6f2ec;
  --sand: #ece4d8;
  --white: #fffdf9;
  --ink: #1d1915;
  --ink-2: #574c43;
  --line: #ddd3c5;
  --leaf: #6b2f1a;        /* maduro brown: actions and the visit field */
  --leaf-deep: #55240f;
  --leaf-ink: #f3e7da;    /* text on the brown field */
  --leaf-ink-2: #dcc8b6;
  --band: #15120f;        /* the bar sign */
  --gold: #e2b93b;

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -.01em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

.kicker {
  margin: 0 0 18px;
  font: 600 .8125rem/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--leaf);
}
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }

/* ---------- wordmark: the bar sign as a cigar band ---------- */

.band {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px 8px;
  background: var(--band);
  border-radius: 4px;
  text-decoration: none;
  position: relative;
}
.band::before, .band::after {
  content: "";
  position: absolute;
  left: 7px; right: 7px;
  height: 1px;
  background: var(--gold);
  opacity: .85;
}
.band::before { top: 4px; }
.band::after { bottom: 4px; }
.band__text {
  font: 700 .9375rem/1 var(--serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.band:hover .band__text { color: #f0cd5c; }
.band--lg { padding: 14px 24px 13px; }
.band--lg::before, .band--lg::after { left: 10px; right: 10px; }
.band--lg::before { top: 6px; }
.band--lg::after { bottom: 6px; }
.band--lg .band__text { font-size: 1.25rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: var(--leaf-deep); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--leaf-deep); }
.btn--paper:hover { background: #fff; color: var(--leaf-deep); }
.btn--ghost { border-color: var(--leaf-ink-2); color: var(--leaf-ink); }
.btn--ghost:hover { background: var(--leaf-ink); color: var(--leaf-deep); }
.btn[disabled] { opacity: .55; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--leaf);
  text-decoration: underline;
}
.link::after { content: " \2192"; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 242, 236, .96);
  border-bottom: 1px solid var(--line);
}
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-weight: 500; font-size: .96875rem; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: currentColor; }
.nav a[aria-current="page"] { color: var(--leaf); border-bottom-color: var(--leaf); }
.nav__call { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.masthead__cta { display: none; align-items: center; gap: 10px; }

.nav-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.nav-toggle span:not(.visually-hidden) { width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  .masthead__cta { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav__call { margin-top: 18px; min-height: 48px; }
}
@media (max-width: 380px) { .band__text { font-size: .8125rem; letter-spacing: .1em; } }

/* ---------- hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-family: var(--display); font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 24px; }
.hero__photo { margin: 0; }
.hero__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 1000 / 690; object-fit: cover; }


.status {
  display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1.2fr; gap: 20px;
  margin-top: clamp(36px, 5vw, 60px); padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .96875rem;
}
.status p { margin: 0; }
.status__now { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); flex: none; }
.status__dot.is-open { background: #2f7d3a; box-shadow: 0 0 0 4px rgba(47, 125, 58, .16); }
.status__dot.is-closed { background: #a3402a; }
.status__label { display: block; font-size: .8125rem; color: var(--ink-2); }
.stars { color: #b8860b; }

/* ---------- sections ---------- */

.section { padding: var(--space) 0; }
.section--sand { background: var(--sand); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 640px; }
.section__head h2 { margin-bottom: 16px; }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
.feature--flip .feature__photo { order: 2; }
.feature__photo { margin: 0; }
.feature__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature__text h3 { margin-bottom: 14px; }
.feature__text p { color: var(--ink-2); max-width: 32em; }

.night { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.night__photo { margin: 0; }
.night__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.night__text h2 { margin-bottom: 14px; }
.night__next { font-family: var(--serif); font-size: 1.25rem; color: var(--leaf); margin-bottom: 18px; }
.night__text > p:not(.kicker):not(.night__next) { color: var(--ink-2); max-width: 32em; }

.private { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.private h2 { margin-bottom: 14px; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.private .actions { margin-top: 0; }

/* ---------- visit band (the one brown field) ---------- */

.visit-band { background: var(--leaf); color: var(--leaf-ink); padding: var(--space) 0; }
.visit-band__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.visit-band h2 { color: #fff; margin-bottom: 18px; }
.visit-band__addr { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.45; color: #fff; }
.visit-band__note { margin-top: 22px; font-size: .9375rem; color: var(--leaf-ink-2); }
.visit-band__map { min-height: 340px; }
.visit-band__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius); background: var(--leaf-deep); }

.hours { margin: 24px 0 0; display: grid; gap: 0; max-width: 420px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(243, 231, 218, .22); }
.hours div:last-child { border-bottom: 1px solid rgba(243, 231, 218, .22); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; }
.hours .is-today dt::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--leaf-deep); font-size: .75rem; font-weight: 600; vertical-align: 2px; }

.hours--light div { border-color: var(--line) !important; }
.hours--light .is-today dt::after { background: var(--leaf); color: #fff; }

/* ---------- inner pages ---------- */

.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 20px; max-width: 16ch; }
.page-head .lede { max-width: 38em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split figure { margin: 0; }
.split img { border-radius: var(--radius); width: 100%; }
.prose p { color: var(--ink-2); max-width: 34em; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 32px 0 10px; }

.photo-wide { margin: 0; }
.photo-wide img { border-radius: var(--radius); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.list span { color: var(--ink-2); }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.cols h3 { margin-bottom: 12px; padding-top: 18px; border-top: 1px solid var(--ink); }
.cols p, .cols li { color: var(--ink-2); }
.cols ul { margin: 0; padding-left: 1.1em; }
.cols li + li { margin-top: 4px; }

.event {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.event:last-child { border-bottom: 1px solid var(--line); }
.event__when { font-weight: 600; color: var(--leaf); }
.event__when span { display: block; font-weight: 400; color: var(--ink-2); }
.event h3 { margin-bottom: 8px; }
.event p { color: var(--ink-2); max-width: 38em; }

.gallery { columns: 3 300px; column-gap: 20px; }
.gallery figure { margin: 0 0 20px; break-inside: avoid; }
.gallery img { border-radius: var(--radius); width: 100%; }
.gallery figcaption { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.facts { display: grid; gap: 28px; }
.facts h2 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.facts p { margin: 0; color: var(--ink-2); }
.facts a { color: var(--ink); }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); background: var(--sand); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.form h2 { margin-bottom: 8px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.form > p { color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label small { font-weight: 400; color: var(--ink-2); font-size: inherit; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid #c9bcab; border-radius: 8px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; border-color: var(--leaf); }
.form .actions { margin-top: 24px; }
.form__status { margin: 16px 0 0; font-weight: 500; }
.form__status.is-ok { color: #2f6b36; }
.form__status.is-error { color: #a3402a; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */

.footer { background: var(--band); color: #d9d0c4; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .96875rem; }
.footer a { color: #f3ece2; }
.footer a:hover { color: var(--gold); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #3a332c; }
.footer__top .band { padding-left: 0; padding-right: 0; }
.footer__top .band::before, .footer__top .band::after { left: 0; right: 0; }
.footer__line { margin: 0; font-family: var(--serif); font-size: 1.125rem; color: #f3ece2; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 0; }
.footer__title { margin: 0 0 12px; font-weight: 600; color: var(--gold); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__hours span { display: inline-block; min-width: 92px; color: #a99d8f; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #3a332c; font-size: .875rem; color: #a99d8f; }
.footer__bottom p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero__grid, .feature, .night, .visit-band__grid, .split, .contact { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
  .feature--flip .feature__photo { order: 0; }
  .status { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 1fr; gap: 10px; }
  .photo-wide img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .lede { font-size: 1.0625rem; }
  .status { grid-template-columns: 1fr; gap: 12px; }
  .status__item { display: flex; gap: 10px; }
  .status__label { display: inline; min-width: 64px; }
  .actions .btn { flex: 1 1 100%; }
  .list li { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hours div { flex-direction: column; gap: 2px; }
}

.visit-band .lede { color: var(--leaf-ink); }
.visit-band .private h2 { color: #fff; }
.facts .hours { margin-top: 4px; }
.section--flush { padding-top: 0; }
.page-head--tall { min-height: 50vh; }
