:root {
  --red: #a71925;
  --red-bright: #c8202f;
  --wine: #71111d;
  --wine-deep: #430811;
  --gold: #b98a3b;
  --gold-soft: #ddc184;
  --cream: #f7efe1;
  --cream-deep: #eadcc4;
  --beige: #d7c3a3;
  --ink: #1a1110;
  --muted: #675950;
  --white: #fffaf0;
  --shadow: 0 24px 80px rgba(67, 8, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.65;
}

p {
  text-align: justify;
  text-wrap: pretty;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 280ms ease, color 280ms ease, box-shadow 280ms ease, padding 280ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(245, 239, 226, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(36, 20, 12, 0.08);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-soft);
  background: rgba(255, 250, 240, 0.92);
  overflow: hidden;
}

.site-header.is-scrolled .brand-mark span {
  border-color: var(--gold);
  background: rgba(255, 250, 240, 0.98);
}

.brand-mark span img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.brand-mark small {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold-soft);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 132px clamp(20px, 6vw, 90px) 64px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  display: none;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(67, 8, 17, 0.12), rgba(67, 8, 17, 0.04)),
    url("assets/hero-cafe-tostado.jpeg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-media::before,
.hero-media::after {
  display: none;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 8, 9, 0.9), rgba(113, 17, 29, 0.72) 38%, rgba(67, 8, 17, 0.38) 55%, rgba(26, 17, 16, 0.62)),
    linear-gradient(180deg, rgba(10, 7, 5, 0.18), rgba(10, 7, 5, 0.76));
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
}

.eyebrow::before {
  width: 54px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.dark {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.35rem, 12vw, 8.6rem);
  font-weight: 700;
}

h2 {
  max-width: 830px;
  font-size: clamp(2.35rem, 6vw, 5.35rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.place {
  margin: 18px 0 0;
  color: var(--gold-soft);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1rem, 2vw, 1.18rem);
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid currentColor;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--red-bright);
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-bright);
  border-color: var(--red-bright);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 250, 240, 0.04);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--white);
  color: var(--wine-deep);
}

.button-outline {
  border-color: var(--red);
  background: transparent;
  color: var(--red);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--red);
  color: var(--white);
}

.button-primary.light {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
  color: var(--wine-deep);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  z-index: 3;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue::before {
  display: block;
  width: 1px;
  height: 64px;
  margin: 0 auto 14px;
  background: var(--gold-soft);
  content: "";
}

.section {
  padding: clamp(76px, 10vw, 142px) clamp(20px, 6vw, 90px);
}

.history-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(167, 25, 37, 0.08) 0 1px, transparent 1px) 0 0 / 120px 120px,
    var(--cream);
}

.history-section::before {
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 90px);
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--gold), transparent 64%);
  content: "";
  opacity: 0.45;
}

.history-intro,
.history-editorial,
.history-proof {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.history-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 0.9fr);
  gap: clamp(26px, 6vw, 78px);
  align-items: center;
  margin-bottom: clamp(42px, 7vw, 82px);
}

.history-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.history-logo-wrap img {
  width: min(100%, 420px);
  max-height: 430px;
  object-fit: contain;
  filter: contrast(1.08);
  opacity: 0.9;
}

.history-intro-copy {
  justify-self: end;
}

.history-intro p:not(.eyebrow),
.history-intro-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.history-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.history-hero-image {
  grid-column: 1;
  grid-row: 1;
}

.history-image-quote {
  grid-column: 1;
  grid-row: 2;
}

.history-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.history-hero-image {
  position: relative;
  margin: 0;
}

.history-hero-image::before {
  position: absolute;
  inset: 24px 24px -24px -24px;
  border: 1px solid var(--gold);
  content: "";
}

.history-hero-image img {
  position: relative;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  box-shadow: var(--shadow);
}

.history-hero-image figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  max-width: 320px;
  padding: 12px 16px;
  background: rgba(67, 8, 17, 0.86);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-copy {
  padding: clamp(24px, 4vw, 44px) 0;
}

.history-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.history-copy p + p {
  margin-top: 18px;
}

.history-copy blockquote {
  position: relative;
  margin: 34px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--gold);
  color: var(--red);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
}

.history-image-quote {
  position: relative;
  margin: 10px 0 0 24px;
  padding: 26px 0 0;
  border-top: 1px solid var(--gold);
  color: var(--red);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
}

.history-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(58px, 8vw, 94px);
  background: rgba(185, 138, 59, 0.42);
}

.proof-card {
  min-height: 360px;
  background: var(--white);
}

.proof-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.proof-card span,
.proof-card p {
  display: block;
  margin-right: 22px;
  margin-left: 22px;
}

.proof-card span {
  margin-top: 22px;
  color: var(--red);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.34rem;
  font-weight: 700;
}

.proof-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: left;
}

.section-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.section-copy p,
.bistro-inner > p,
.distribution-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-copy p + p {
  margin-top: 16px;
}

.editorial-image {
  position: relative;
  margin: 0;
}

.editorial-image::before {
  position: absolute;
  inset: 22px -18px -22px 18px;
  border: 1px solid var(--gold);
  content: "";
}

.editorial-image img {
  position: relative;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.editorial-image figcaption {
  position: relative;
  margin-top: 18px;
  color: var(--red);
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
}

.bistro-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(113, 17, 29, 0.58), rgba(67, 8, 17, 0.72)),
    url("assets/ruta-bistro.jpg") center/cover;
}

.bistro-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.bistro-inner > p {
  color: rgba(255, 250, 240, 0.78);
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: rgba(223, 194, 138, 0.42);
}

.experience-list article {
  min-height: 220px;
  padding: 0;
  background: rgba(61, 11, 20, 0.76);
  overflow: hidden;
}

.experience-list img {
  width: calc(100% - 28px);
  margin: 14px;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(221, 193, 132, 0.62);
  outline: 1px solid rgba(255, 250, 240, 0.14);
  outline-offset: -7px;
  filter: saturate(0.94) contrast(1.04);
}

.experience-list span {
  display: block;
  padding: clamp(22px, 3vw, 32px) clamp(24px, 4vw, 38px) 0;
  color: var(--gold-soft);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.experience-list p {
  padding: 0 clamp(24px, 4vw, 38px) clamp(24px, 4vw, 38px);
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.75);
  text-align: left;
}

.menu-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  margin-top: clamp(38px, 6vw, 72px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(221, 193, 132, 0.48);
  background: rgba(26, 17, 16, 0.34);
}

.menu-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 20px);
}

.menu-copy span {
  color: var(--gold-soft);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
}

.menu-copy p {
  color: rgba(255, 250, 240, 0.78);
}

.menu-copy .button {
  width: fit-content;
  margin-top: 18px;
}

.menu-frame {
  width: 100%;
  min-height: 620px;
  border: 1px solid rgba(221, 193, 132, 0.48);
  background: var(--cream);
}

.section-heading {
  max-width: 1240px;
  margin: 0 auto 42px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.coffee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1380px;
  margin: 0 auto;
}

.coffee-card {
  position: relative;
  min-height: 380px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(184, 137, 59, 0.38);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(46, 20, 16, 0.07);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.coffee-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.coffee-card.featured {
  background: var(--red);
  color: var(--white);
}

.coffee-card.featured p,
.coffee-card.featured span {
  color: rgba(255, 250, 240, 0.78);
}

.card-line {
  width: 74px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--gold);
}

.card-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coffee-card p:not(.card-kicker) {
  color: var(--muted);
  text-align: left;
}

.coffee-card span {
  display: block;
  margin-top: 26px;
  color: var(--red);
  font-weight: 800;
}

.expendio-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.72), rgba(247, 239, 225, 1)),
    var(--cream);
}

.expendio-cards {
  align-items: stretch;
}

.expendio-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.expendio-card img {
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  border: 0;
  box-shadow: 0 22px 54px rgba(67, 8, 17, 0.16);
}

.expendio-card .card-kicker,
.expendio-card h3,
.expendio-card p,
.expendio-card span {
  margin-right: 12px;
  margin-left: 12px;
}

.expendio-card h3 {
  margin-top: 0;
}

.expendio-card.featured img {
  border-bottom-color: rgba(221, 193, 132, 0.7);
}

.expendio-card.featured .card-kicker {
  color: var(--gold-soft);
}

.distribution-section {
  background:
    linear-gradient(rgba(67, 8, 17, 0.86), rgba(67, 8, 17, 0.9)),
    url("assets/historia-costales.jpeg") center/cover;
  color: var(--white);
}

.distribution-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(32px, 7vw, 92px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(223, 194, 138, 0.5);
  background:
    linear-gradient(135deg, rgba(167, 25, 37, 0.82), rgba(67, 8, 17, 0.94)),
    radial-gradient(circle at 90% 10%, rgba(221, 193, 132, 0.22), transparent 35%);
  box-shadow: 0 28px 90px rgba(14, 4, 6, 0.28);
}

.alliance-art {
  grid-column: 1 / -1;
  margin: 0;
}

.alliance-art img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(221, 193, 132, 0.5);
  box-shadow: 0 20px 60px rgba(14, 4, 6, 0.28);
}

.distribution-copy p {
  color: rgba(255, 250, 240, 0.8);
}

.distribution-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.distribution-copy li {
  display: flex;
  gap: 12px;
  color: rgba(255, 250, 240, 0.86);
}

.distribution-copy li::before {
  flex: 0 0 auto;
  width: 30px;
  height: 1px;
  margin-top: 13px;
  background: var(--gold-soft);
  content: "";
}

.contact-section {
  background: var(--cream);
}

.contact-card {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(184, 137, 59, 0.42);
  background: var(--white);
  box-shadow: 0 20px 70px rgba(46, 20, 16, 0.08);
}

.contact-card dl {
  display: grid;
  gap: 26px;
  margin: 0;
}

.contact-card dt {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.contact-card a {
  color: var(--red);
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
  max-width: 1240px;
  margin: clamp(46px, 7vw, 82px) auto 0;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(185, 138, 59, 0.42);
  background: var(--white);
  box-shadow: 0 20px 70px rgba(46, 20, 16, 0.08);
}

.bistro-location {
  margin-top: clamp(38px, 6vw, 72px);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-copy h3 {
  color: var(--wine);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

.location-copy p:not(.eyebrow) {
  color: var(--muted);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 1px solid rgba(185, 138, 59, 0.42);
  filter: saturate(0.9) contrast(1.02);
}

.instagram-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  max-width: 1240px;
  margin: 22px auto 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(221, 193, 132, 0.48);
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: 0 20px 70px rgba(26, 8, 9, 0.2);
}

.instagram-panel h3 {
  color: var(--wine);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.instagram-panel p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.instagram-card {
  display: grid;
  gap: 4px;
  place-items: center;
  min-width: 190px;
  min-height: 74px;
  padding: 14px 18px;
  border: 1px solid rgba(185, 138, 59, 0.5);
  background:
    linear-gradient(135deg, rgba(167, 25, 37, 0.94), rgba(67, 8, 17, 0.96)),
    var(--wine);
  color: var(--white);
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease;
}

.instagram-card:hover,
.instagram-card:focus-visible {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.instagram-card span {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.instagram-card small {
  color: var(--gold-soft);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 90px);
  border-top: 1px solid rgba(184, 137, 59, 0.36);
  background: var(--wine-deep);
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(184, 137, 59, 0.36);
    background: rgba(245, 239, 226, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(184, 137, 59, 0.22);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .section-grid,
  .contact-layout,
  .history-intro,
  .history-editorial,
  .location-panel,
  .instagram-panel,
  .distribution-panel {
    grid-template-columns: 1fr;
  }

  .experience-list,
  .coffee-cards,
  .history-proof,
  .menu-preview {
    grid-template-columns: 1fr;
  }

  .coffee-card {
    min-height: auto;
  }

  .history-logo-wrap {
    min-height: 220px;
    justify-items: start;
  }

  .history-logo-wrap img {
    width: min(72vw, 320px);
  }

  .history-intro-copy {
    justify-self: stretch;
  }

  .history-hero-image,
  .history-image-quote,
  .history-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .history-image-quote {
    margin-left: 0;
  }

  .menu-frame {
    min-height: 540px;
  }

  .map-frame {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .brand-mark small {
    display: none;
  }

  .hero {
    min-height: 96svh;
    padding-top: 116px;
  }

  .hero::before {
    display: none;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(67, 8, 17, 0.1), rgba(67, 8, 17, 0.2)),
      url("assets/hero-cafe-tostado.jpeg") center / cover no-repeat;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 10, 8, 0.72), rgba(113, 17, 29, 0.78) 42%, rgba(18, 9, 7, 0.9)),
      linear-gradient(90deg, rgba(10, 7, 5, 0.38), rgba(10, 7, 5, 0.12));
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .location-actions {
    display: grid;
  }

  .menu-copy .button {
    width: 100%;
  }

  .menu-frame {
    min-height: 420px;
  }

  .scroll-cue {
    display: none;
  }

  .editorial-image::before {
    inset: 14px -10px -14px 10px;
  }

  .history-section::before {
    display: none;
  }

  .history-hero-image::before {
    inset: 14px 14px -14px -14px;
  }

  .history-hero-image img {
    aspect-ratio: 4 / 5;
  }

  .history-hero-image figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
