:root {
  --bg: #fff;
  --surface: #f7f5f1;
  --surface-2: #fbfaf8;
  --text: #1f1d1b;
  --muted: #77716a;
  --line: #ddd7ce;
  --line-soft: #ece7df;
  --accent: #b7a995;
  --accent-deep: #4c4035;
  --white: #fff;
  --radius: 24px;
  --radius-sm: 8px;
  --shadow: 0 26px 70px rgba(50, 40, 30, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 215, 206, 0.7);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  transition: transform 260ms ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--text);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button:hover {
  transform: translateY(-1px);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6.8vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.6;
}

.muted,
.section-head p,
.menu-card p,
.contact-panel p {
  color: var(--muted);
}

.large-text {
  margin-bottom: 22px;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.45;
}

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: 64px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 62px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.photo,
.featured-photo,
.gallery-item,
.insta-card {
  overflow: hidden;
  border-radius: var(--radius);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.photo,
.featured-photo {
  background:
    linear-gradient(180deg, rgba(31, 29, 27, 0.02), rgba(31, 29, 27, 0.28)),
    linear-gradient(135deg, #e6ded3, #958775);
}

.photo-main {
  height: 100%;
  min-height: 680px;
  box-shadow: var(--shadow);
  background-color: #eadfce;
  background-image:
    url("assets/hero-cafe.jpg");
  background-position: center;
  background-size: contain;
}

.photo-main::before,
.featured-photo::before,
.gallery-item::before,
.insta-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(31, 29, 27, 0.04));
  pointer-events: none;
}

.floating-note {
  position: absolute;
  left: -34px;
  bottom: 36px;
  width: min(280px, 68%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-note strong {
  display: block;
  margin-bottom: 4px;
}

.floating-note span {
  color: var(--muted);
  font-size: 13px;
}

.split,
.featured-grid,
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.menu-section,
.access {
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.menu-card span {
  margin-bottom: 26px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-card strong {
  margin-top: auto;
  font-size: 22px;
}

.featured-photo {
  min-height: 440px;
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(180deg, rgba(31, 29, 27, 0), rgba(31, 29, 27, 0.08)),
    url("assets/featured-menu.jpg");
  background-position: center;
}

.featured-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.featured-copy {
  align-self: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
}

.feature-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.feature-list dt {
  font-weight: 700;
}

.feature-list dd {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item:nth-child(2) {
  background-image: url("assets/gallery-02.jpg");
}

.gallery-item:nth-child(3),
.insta-card:nth-child(3) {
  background-image: url("assets/gallery-03.jpg");
}

.gallery-item:nth-child(4),
.insta-card:nth-child(4) {
  background-image: url("assets/gallery-04.jpg");
}

.gallery-item:nth-child(1) {
  background-image: url("assets/gallery-01.jpg");
}

.gallery-item:nth-child(5) {
  background-image: url("assets/gallery-05.jpg");
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.info-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.info-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-list p {
  margin-bottom: 0;
  font-size: 18px;
}

.map-placeholder {
  min-height: 480px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(45deg, #e7e0d7 0 1px, transparent 1px 20px),
    var(--surface-2);
}

.map-placeholder span {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 800;
}

.map-placeholder p {
  margin-bottom: 0;
  color: var(--muted);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.insta-card {
  aspect-ratio: 1;
  display: block;
}

.insta-card:nth-child(1) {
  background-image: url("assets/gallery-01.jpg");
}

.insta-card:nth-child(2) {
  background-image: url("assets/gallery-03.jpg");
}

.contact {
  padding-top: 40px;
}

.contact-panel {
  padding: clamp(34px, 6vw, 74px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, #2f2924, #141210);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel .button.primary {
  color: var(--text);
  background: var(--white);
}

.contact-panel .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  background: var(--surface);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

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

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

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    padding: 16px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .split,
  .featured-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-copy {
    position: static;
  }

  .menu-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .nav,
  .footer-inner,
  .hero {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 56px 0 40px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-visual,
  .photo-main {
    min-height: 420px;
  }

  .featured-photo {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .floating-note {
    left: 16px;
    bottom: 16px;
  }

  .menu-grid,
  .instagram-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap;
  }
}
