/* ============ Dialed — Stone Gallery ============ */
:root {
  --stone: #EDEAE4;
  --stone-2: #E4E0D8;
  --ink: #1F1E1B;
  --green: #2E4A3B;
  --grey: #6B6860;
  --acc-strawberry: #A8443C; /* AA 4.92:1 on stone */
  --acc-jasmine: #815D20;    /* AA 4.97:1 on stone */
  --acc-cocoa: #6E4B33;      /* AA 6.44:1 on stone */
  --hairline: rgba(31, 30, 27, .12);
  --hairline-light: rgba(237, 234, 228, .2);
  --radius: 3px;
  --container: 1100px;
  --pad: 20px;
  --font: "Archivo", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.08; font-weight: 600; letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.75rem, 10vw, 5.5rem); letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.375rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4rem, 10vw, 7.5rem); }
.section--alt { background: var(--stone-2); }

.eyebrow {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.lede { font-size: 1.1875rem; max-width: 34em; color: var(--ink); }
.muted { color: var(--grey); }

.btn {
  display: inline-block;
  font: 700 .9375rem/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  padding: 1.05em 1.9em;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--green); border-color: var(--green); color: var(--stone); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.btn:not(.btn--solid):hover { background: var(--ink); color: var(--stone); }
.btn--light { border-color: var(--stone); color: var(--stone); background: transparent; }
.btn--light:hover { background: var(--stone); color: var(--green); }

.link-arrow {
  font-weight: 700;
  font-size: .9375rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: .2em;
}
.link-arrow:hover { color: var(--green); border-color: var(--green); }

/* ---- Focus ---- */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--radius); }
.find :focus-visible, .btn--light:focus-visible { outline-color: var(--stone); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--stone) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 1px 12px color-mix(in srgb, var(--ink) 4%, transparent);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { font-weight: 800; letter-spacing: .12em; text-decoration: none; font-size: 1.0625rem; }
.nav__menu { display: flex; gap: 2rem; }
.nav__menu a { text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav__menu a:hover { color: var(--green); }
.nav__cta { color: var(--green); font-weight: 700 !important; }
.nav__toggle { display: none; }

@media (max-width: 759px) {
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 0; font: 700 .8125rem var(--font);
    text-transform: uppercase; letter-spacing: .1em; color: var(--ink); cursor: pointer;
  }
  .nav__toggle-icon { width: 18px; height: 2px; background: var(--ink);
    box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }
  .nav__menu {
    position: absolute; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--stone); border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .nav__menu a { padding: 1.1rem var(--pad); border-top: 1px solid var(--hairline); font-size: 1.0625rem; }
  .nav--open .nav__menu { display: flex; }
}

/* ---- Hero ---- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); border-bottom: 1px solid var(--hairline); }
.hero__inner { display: grid; gap: 2.5rem; }
.hero__text .lede { margin-top: 1.5rem; }
.hero__actions { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.25rem; flex-wrap: wrap; }
.hero__media img,
.hero__media video { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  filter: saturate(.85) contrast(1.02); }

@media (min-width: 760px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; }
}

/* ---- About ---- */
.about__grid { display: grid; gap: 2.5rem; }
.about__second { margin-top: 1rem; max-width: 34em; }
.principles { list-style: none; padding: 0; margin-top: 2.5rem; }
.principles li { display: grid; gap: .15rem; padding-block: 1.1rem; border-top: 1px solid var(--hairline); }
.principles li:last-child { border-bottom: 1px solid var(--hairline); }
.principles strong { font-weight: 700; text-transform: uppercase; font-size: .875rem; letter-spacing: .08em; }
.principles span { color: var(--grey); font-size: .9375rem; }
@media (min-width: 760px) { .about__grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* ---- Menu ---- */
.menu__lede { margin-top: 1.25rem; }
.menu-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
.menu-card {
  background: var(--stone);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.menu-card__lane { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--green); }
/* Taste accents — the menu is the page's one colored moment */
.menu-card--strawberry { --acc: var(--acc-strawberry); }
.menu-card--jasmine { --acc: var(--acc-jasmine); }
.menu-card--cocoa { --acc: var(--acc-cocoa); }
.menu-card--strawberry, .menu-card--jasmine, .menu-card--cocoa {
  border-top: 3px solid var(--acc);
  padding-top: calc(2rem - 2px);
}
.menu-card--strawberry .menu-card__lane,
.menu-card--jasmine .menu-card__lane,
.menu-card--cocoa .menu-card__lane { color: var(--acc); }
.menu-card p { font-size: .9844rem; }
.menu-card__notes { color: var(--grey); font-size: .875rem !important; text-transform: uppercase; letter-spacing: .06em; margin-top: auto; }
.menu-card__beans { color: var(--grey); font-size: .8125rem !important; }
/* Guest slot — dashed border signals it rotates */
.menu-card--guest { grid-column: 1 / -1; background: transparent; border-style: dashed; }
@media (min-width: 760px) {
  .menu-card--guest { flex-direction: row; align-items: center; column-gap: 2rem; flex-wrap: wrap; }
  .menu-card--guest .menu-card__desc { flex: 1 1 24em; }
  .menu-card--guest .menu-card__notes { margin-top: 0; }
}
.menu-card__tag {
  align-self: flex-start; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid var(--hairline); border-radius: 999px; padding: .4em 1em;
}
.menu-foot { margin-top: 2rem; font-size: .9375rem; }
@media (min-width: 760px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ---- Why ---- */
.why-list { list-style: none; padding: 0; margin-top: 3rem; display: grid; gap: 0; }
.why-list li { padding-block: 2rem; border-top: 1px solid var(--hairline); display: grid; gap: .5rem; }
.why-list__num { font-weight: 800; color: var(--green); font-size: .9375rem; }
.why-list p { max-width: 34em; color: var(--ink); font-size: .9844rem; }
@media (min-width: 760px) {
  .why-list { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .why-list li:nth-child(2) { border-top: 1px solid var(--hairline); }
}

/* ---- Gallery ---- */
.gallery__grid { display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: 1fr 1fr; }
.gallery__item { display: grid; gap: .6rem; align-content: start; }
.gallery__item--lead { grid-column: 1 / -1; }
.gallery__item img {
  width: 100%; border-radius: var(--radius); object-fit: cover;
  aspect-ratio: 4 / 3; filter: saturate(.82) contrast(1.03);
}
.gallery__item--lead img { aspect-ratio: 16 / 9; }
.gallery__item figcaption { font-size: .8125rem; }
@media (min-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  /* Rows are sized by the small items; the lead fills whatever they define
     (minmax(0,1fr) + min-height:0 stop the lead's natural size inflating rows) */
  .gallery__item--lead { grid-column: 1 / 3; grid-row: 1 / 3; grid-template-rows: minmax(0, 1fr) auto; }
  .gallery__item--lead img { aspect-ratio: auto; height: 100%; min-height: 0; }
}

/* ---- Find us ---- */
.find { background: var(--green); color: var(--stone); }
.find h2, .find h3 { color: var(--stone); }
.find__eyebrow { color: var(--stone); opacity: .7; }
.find__lede { color: var(--stone); opacity: .85; margin-top: 1.25rem; }
.schedule { display: grid; gap: 1rem; margin-top: 3rem; }
.schedule-card {
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: grid; gap: .35rem;
}
.schedule-card--next { background: var(--stone); color: var(--ink); }
.schedule-card--next h3 { color: var(--ink); }
.schedule-card__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; opacity: .65; }
.schedule-card--next .schedule-card__label { color: var(--green); opacity: 1; }
.schedule-card__where { font-size: .9375rem; opacity: .8; }
.schedule-card__when { font-weight: 700; font-size: .9375rem; }
.find__cta { margin-top: 2.5rem; }
.find__follow { margin-top: 1.5rem; font-size: .9375rem; opacity: .85; }
.find__follow a { color: var(--stone); font-weight: 700; }
@media (min-width: 760px) {
  .schedule { grid-template-columns: 1.4fr 1fr 1fr; }
  .schedule--single { grid-template-columns: minmax(0, 620px); }
  .schedule-card--next { padding: 2.25rem 2rem; }
}

/* ---- Book us ---- */
.book__grid { display: grid; gap: 2.5rem; }
.book__actions { margin-top: 2rem; display: grid; gap: 1rem; justify-items: start; }
.book__actions .muted a { color: var(--green); }
@media (min-width: 760px) { .book__grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* ---- Philosophy ---- */
.philosophy__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 500; line-height: 1.35; max-width: 26em;
  letter-spacing: -0.005em;
}

/* ---- Final CTA ---- */
.cta { text-align: left; }
.cta__title { font-size: clamp(2.75rem, 9vw, 5rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--hairline); padding-block: 3rem 2rem; }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand { font-weight: 800; letter-spacing: .12em; }
.footer__nav, .footer__contact { display: grid; gap: .5rem; justify-items: start; }
.footer a { text-decoration: none; font-size: .9375rem; }
.footer a:hover { color: var(--green); }
.footer__legal { margin-top: 2.5rem; font-size: .8125rem; }
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---- Reveal (JS-gated; no-JS users see everything immediately) ---- */
.has-js .will-reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease; }
.has-js .will-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-js .will-reveal { opacity: 1; transform: none; transition: none; }
}
