:root {
  color-scheme: light;
  --ink: #2c352d;
  --paper: #faf7ef;
  --green: #34523e;
  --line: #d9d3c4;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.8; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.header, .footer { background: #fffdf7; }
.header { border-bottom: 1px solid var(--line); }
.header-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1rem; }
.brand, h1, h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.brand { font-size: 1.35rem; font-weight: 700; text-decoration: none; }
a { color: var(--green); text-underline-offset: .25em; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green);
  border-radius: .35rem;
  cursor: pointer;
}
.nav-icon { position: relative; width: 1.25rem; height: 2px; background: currentColor; }
.nav-icon::before, .nav-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
}
.nav-icon::before { transform: translateY(-6px); }
.nav-icon::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-icon::after { transform: rotate(-45deg); }
main { flex: 1; padding-block: clamp(2.5rem, 7vw, 5rem); }
h1 { margin: 0 0 1rem; line-height: 1.3; font-size: clamp(2rem, 6vw, 4.25rem); }
h2 { margin: 0 0 .75rem; line-height: 1.4; font-size: 1.5rem; }
p { margin: 0 0 1rem; }
.landing { padding-block: 0; }
.hero {
  display: grid;
  align-items: center;
  min-height: clamp(30rem, 65vw, 44rem);
  padding-block: 4rem;
  color: #fffaf1;
  background-color: #372c22;
  background-image: linear-gradient(90deg, #211811e8, #211811a6 52%, #21181138), url("images/cafe-interior.png");
  background-position: center, 65% center;
  background-size: cover;
}
.hero h1 {
  font: 400 clamp(3rem, 9vw, 7.5rem)/.97 Georgia, serif;
  letter-spacing: -.045em;
  margin-bottom: 1.5rem;
}
.hero p { margin-bottom: 1.65rem; }
.lp-section {
  padding-block: clamp(3rem, 7vw, 6rem);
  scroll-margin-top: 1rem;
}
.intro, .access-content { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem 3rem; }
.intro { grid-template-columns: 1fr 1.25fr; align-items: center; }
.site-photo { display: block; width: 100%; height: auto; border-radius: .5rem; }
.menu-photo { margin-bottom: 1rem; }
.intro p:last-child, .access-content p { margin-bottom: 0; }
.menu-section { background: #efe8da; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.menu-card { display: flex; flex-direction: column; }
.menu-card .price { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--green); }
.access-section { background: var(--green); color: #fffaf1; }
.access-content { grid-template-columns: 1fr auto; align-items: center; }
.access-button { justify-self: start; }
.section-title { font-size: clamp(1.85rem, 4vw, 2.75rem); }
.panel h3 {
  margin: 0 0 .75rem;
  font: 700 1.35rem/1.4 "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.button { display: inline-block; padding: .65rem 1.25rem; border-radius: .35rem; background: var(--green); color: white; text-decoration: none; }
.button:hover { background: #243e2c; }
.hero-button, .access-button { background: #fffaf1; color: #253e30; }
.hero-button:hover, .access-button:hover { background: #e9dfcd; }
.hero-button:focus-visible, .access-button:focus-visible { outline-color: #fffaf1; }
.panel { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .75rem; background: #fffdf7; }
.panel p:last-child { margin-bottom: 0; }
.reading { max-width: 44rem; }
dl, dd { margin: 0; }
.details > div { display: grid; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.details > div { grid-template-columns: minmax(5rem, 8rem) 1fr; }
.details dt { font-weight: 700; }
.note { margin-top: 1rem; font-size: .9rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem 4.25rem; font-size: .9rem; }
.back-to-top {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding-inline: .85rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--green);
  color: white;
  font-size: .875rem;
  text-decoration: none;
}
.back-to-top:hover { background: #243e2c; }
.nav-toggle:hover { background: #efe8da; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .scroll-reveal { animation: scroll-reveal .55s ease-out; }
  .button, .back-to-top, .nav-toggle, .category-filter button {
    transition: background-color .2s ease, translate .2s ease;
  }
  .menu-card { transition: translate .2s ease, box-shadow .2s ease; }
}
@keyframes scroll-reveal {
  from { opacity: .65; transform: translateY(.7rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (hover: hover) {
  .menu-card:hover { box-shadow: 0 .4rem 1rem #2c352d20; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover, .back-to-top:hover, .menu-card:hover { translate: 0 -2px; }
}
.page-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.page-heading p { margin-bottom: 0; }
.page-section + .page-section { margin-top: 2.5rem; }
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.category-filter button {
  font: inherit;
  padding: .45rem 1rem;
  border: 1px solid var(--green);
  border-radius: 2rem;
  background: #fffdf7;
  color: var(--green);
  cursor: pointer;
}
.category-filter button:hover { background: #efe8da; }
.category-filter button[aria-pressed="true"] { background: var(--green); color: white; }
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: start;
}
.location-map {
  display: block;
  width: 100%;
  height: clamp(20rem, 42vw, 27rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #efe8da;
}
@media (max-width: 42rem) {
  nav { width: 100%; }
  .grid, .intro, .access-content, .location-grid { grid-template-columns: 1fr; }
  .hero {
    background-image: linear-gradient(90deg, #211811e8, #21181199), url("images/cafe-interior.png");
  }
}
