/* =========================================
   Cafe LP / Sales Demo
   Mobile-first / No framework
========================================= */

:root {
  --brown-900: #2c211b;
  --brown-800: #493326;
  --brown-700: #6d4b38;
  --brown-500: #9b6d4e;
  --cream: #f7f3ec;
  --cream-dark: #eee7dc;
  --white: #fffdf9;
  --text: #302720;
  --muted: #746960;
  --border: rgba(74, 53, 40, .20);
  --shadow: 0 12px 40px rgba(43, 31, 23, .08);
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.9;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(20px, calc((100vw - var(--container)) / 2));
  color: white;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
}

.logo-mark {
  font-family: sans-serif;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .78rem;
  font-weight: 500;
}

.nav a {
  opacity: .94;
  transition: opacity .2s ease;
}

.nav a:hover {
  opacity: .65;
}

.nav-cta {
  background: white;
  color: var(--brown-800);
  padding: 9px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(0,0,0,.22);
  color: white;
  border-radius: 10px;
  padding: 8px 11px;
  cursor: pointer;
}

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(33,22,15,.72) 0%, rgba(33,22,15,.43) 48%, rgba(33,22,15,.18) 100%),
    url("assets/cafe-demo.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-top: 60px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brown-700);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.eyebrow.light {
  color: rgba(255,255,255,.78);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.45;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.3rem);
  letter-spacing: .04em;
}

.hero-copy {
  margin: 24px 0 32px;
  font-size: .95rem;
  line-height: 2.1;
  color: rgba(255,255,255,.9);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 23px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-fill {
  background: #a87755;
  color: white;
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
}

.button-outline {
  border: 1px solid var(--brown-700);
  color: var(--brown-800);
  background: transparent;
}

.button-outline:hover {
  background: var(--brown-800);
  color: white;
}

.button-white {
  background: white;
  color: var(--brown-800);
}

.section {
  padding: 100px 0;
}

.split {
  display: grid;
  gap: 50px;
  align-items: center;
}

.image-frame {
  min-height: 340px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(120deg, rgba(84,57,40,.10), rgba(84,57,40,.02)),
    url("assets/cafe-demo.png") 15% 42% / 170% auto no-repeat;
}

.section-copy h2,
.access-section h2,
.gallery-heading h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-copy p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 28px;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

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

.menu-card {
  background: white;
}

.menu-image {
  aspect-ratio: 1.25 / 1;
  background-position: center;
  background-size: cover;
}

.coffee { background-image: url("assets/cafe-demo.png"); background-position: 12% 42%; }
.latte { background-image: url("assets/cafe-demo.png"); background-position: 42% 40%; }
.cheesecake { background-image: url("assets/cafe-demo.png"); background-position: 69% 54%; }
.tart { background-image: url("assets/cafe-demo.png"); background-position: 90% 54%; }

.menu-info {
  padding: 18px 18px 22px;
}

.menu-info h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.menu-info p {
  min-height: 52px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.8;
}

.menu-info strong {
  font-size: .88rem;
}

.feature-section {
  background: #f1ede5;
}

.feature-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.feature-intro h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.feature-intro > p:not(.eyebrow) {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: .88rem;
}

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

.feature-item {
  text-align: center;
  padding: 24px 12px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109,75,56,.25);
  border-radius: 50%;
  color: var(--brown-700);
  font-size: 1.35rem;
  background: rgba(255,255,255,.45);
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.8;
}

.gallery-section {
  background: var(--white);
}

.gallery-heading {
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 5px;
}

.gallery-image {
  background-image: url("assets/cafe-demo.png");
  background-size: 220% auto;
  background-repeat: no-repeat;
}

.g1 { grid-row: 1 / 3; background-position: 5% 50%; }
.g2 { background-position: 34% 35%; }
.g3 { background-position: 65% 48%; }
.g4 { background-position: 35% 75%; }
.g5 { background-position: 92% 50%; }

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

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}

.access-info {
  padding: 18px 0;
}

.access-info dl {
  margin: 0 0 25px;
}

.access-info dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .78rem;
}

.access-info dt {
  color: var(--brown-700);
  font-weight: 700;
}

.access-info dd {
  margin: 0;
  color: var(--muted);
}

.map-placeholder,
.shop-photo {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: #ddd7cd;
  color: #75695e;
  border: 1px solid rgba(80,60,45,.12);
}

.map-placeholder {
  background:
    linear-gradient(90deg, transparent 49%, rgba(100,90,80,.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(100,90,80,.12) 50%, transparent 51%),
    #e7e2d9;
  background-size: 80px 80px;
}

.map-placeholder span,
.shop-photo span {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .18em;
}

.map-placeholder small {
  font-size: .7rem;
}

.shop-photo {
  background:
    linear-gradient(rgba(60,45,35,.12), rgba(60,45,35,.12)),
    url("assets/cafe-demo.png") center / cover;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.visit-section {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
  background:
    url("assets/cafe-demo.png") center 75% / cover no-repeat;
}

.visit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,31,22,.62);
}

.visit-content {
  position: relative;
  z-index: 1;
}

.visit-content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.visit-content p:not(.eyebrow) {
  margin: 0 0 25px;
  color: rgba(255,255,255,.84);
  font-size: .84rem;
}

.footer {
  padding: 42px 0 25px;
  background: var(--brown-900);
  color: rgba(255,255,255,.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  color: white;
  font-size: .92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .7rem;
}

.footer-nav a:hover {
  color: white;
}

.demo-note {
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  line-height: 1.8;
}

.copyright {
  margin-top: 20px;
  text-align: center;
  color: rgba(255,255,255,.35);
  font-size: .62rem;
}

/* Tablet */
@media (max-width: 900px) {
  .nav {
    gap: 12px;
    font-size: .68rem;
  }

  .nav-cta {
    padding: 8px 12px;
  }

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

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .access-grid {
    grid-template-columns: 1fr 1fr;
  }

  .access-info {
    grid-row: span 2;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    height: 66px;
    padding-inline: 16px;
  }

  .logo {
    font-size: .83rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 14px;
    background: rgba(44,33,27,.97);
    box-shadow: 0 15px 35px rgba(0,0,0,.22);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    min-height: 650px;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-copy {
    font-size: .83rem;
  }

  .section {
    padding: 72px 0;
  }

  .split {
    gap: 34px;
  }

  .image-frame {
    min-height: 260px;
  }

  .section-heading {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .menu-info {
    padding: 14px;
  }

  .menu-info h3 {
    font-size: .9rem;
  }

  .menu-info p {
    min-height: auto;
    font-size: .7rem;
  }

  .feature-items {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    text-align: left;
    align-items: center;
    padding: 16px 0;
  }

  .feature-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .feature-item h3 {
    margin: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
  }

  .g1 {
    grid-row: 1 / 3;
  }

  .g5 {
    grid-column: 1 / 3;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-info {
    grid-row: auto;
  }

  .map-placeholder,
  .shop-photo {
    min-height: 220px;
  }

  .footer-inner {
    display: block;
  }

  .footer-nav {
    margin-top: 20px;
  }
}

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