@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500&display=swap');

:root {
  --paper: #f5f0e7;
  --paper-deep: #ece4d8;
  --ink: #29231f;
  --muted: #746b63;
  --accent: #a25f48;
  --line: rgba(71, 58, 49, .18);
  --serif: "Cormorant Garamond", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --page: min(1240px, calc(100vw - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 300; line-height: 2.15; letter-spacing: .045em; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .95; letter-spacing: -.025em; }
.eyebrow { margin-bottom: 24px; color: var(--accent); font: 500 10px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; }

.site-header { width: 100%; height: 104px; padding: 0 max(48px, calc((100vw - 1400px)/2)); display: flex; align-items: center; justify-content: space-between; background: rgba(245,240,231,.94); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.logo { display: flex; flex-direction: column; width: max-content; color: var(--ink); font: 500 22px/.8 var(--serif); letter-spacing: .17em; }
.logo small { margin-top: 11px; color: var(--accent); font: 500 7px/1 var(--sans); letter-spacing: .62em; }
.global-nav { display: flex; gap: 42px; align-items: center; }
.global-nav a { padding: 10px 0; font: 400 10px/1 var(--sans); letter-spacing: .22em; position: relative; }
.global-nav a::after { content: ""; width: 0; height: 1px; background: var(--accent); position: absolute; left: 0; bottom: 2px; transition: width .35s ease; }
.global-nav a:hover::after, .global-nav a.is-current::after { width: 100%; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px 8px; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1px; margin: 6px auto; background: var(--ink); transition: transform .3s, opacity .3s; }

.hero { min-height: calc(100vh - 104px); display: grid; grid-template-columns: 55% 45%; border-bottom: 1px solid var(--line); }
.hero-content { padding: clamp(100px, 13vh, 160px) max(48px, calc((100vw - 1400px)/2)); padding-right: 7vw; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin-bottom: 42px; font-size: clamp(78px, 9.4vw, 150px); line-height: .72; }
.hero h1::first-line { color: var(--accent); }
.hero-content > p:not(.eyebrow) { max-width: 520px; margin-bottom: 44px; color: var(--muted); line-height: 2.3; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 190px; width: max-content; padding: 15px 0; color: var(--ink); border-bottom: 1px solid var(--ink); font: 400 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: color .25s, border-color .25s; }
.button::after { content: "↗"; margin-left: 36px; font-size: 15px; }
.button:hover { color: var(--accent); border-color: var(--accent); }
.hero-art { margin: 28px 28px 28px 0; min-height: 620px; background: var(--paper-deep); position: relative; overflow: hidden; }
.hero-art::before { content: ""; width: 74%; aspect-ratio: 1; border: 1px solid rgba(162,95,72,.45); border-radius: 50%; position: absolute; top: 13%; left: 13%; }
.hero-art::after { content: "K"; position: absolute; right: -3%; bottom: -22%; color: rgba(162,95,72,.13); font: 500 35rem/1 var(--serif); }
.sun { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .72; position: absolute; left: 27%; top: 22%; }
.cup { width: 46%; height: 22%; background: var(--paper); border-radius: 3px 3px 48% 48%; position: absolute; left: 27%; top: 49%; z-index: 2; box-shadow: 0 32px 50px rgba(50,38,31,.12); }
.cup::after { content: ""; width: 23%; height: 42%; border: 13px solid var(--paper); border-left: 0; border-radius: 0 50% 50% 0; position: absolute; right: -23%; top: 17%; }
.coffee { width: 90%; height: 13%; border-radius: 50%; background: #403029; position: absolute; left: 5%; top: 4%; }
.saucer { width: 62%; height: 5%; border-radius: 50%; background: #dfd5c5; position: absolute; left: 19%; top: 72%; z-index: 1; }

.home-hero { min-height: calc(100vh - 104px); display: block; background: linear-gradient(90deg, rgba(30,25,22,.82) 0%, rgba(30,25,22,.58) 40%, rgba(30,25,22,.08) 72%), url("images/hero-cafe-interior.png") center center / cover no-repeat; color: var(--paper); position: relative; }
.home-hero .hero-content { width: min(760px, 68vw); min-height: calc(100vh - 104px); padding-top: 100px; padding-bottom: 100px; }
.home-hero .hero-content .eyebrow { color: #d8997f; }
.home-hero h1 { color: var(--paper); text-shadow: 0 2px 28px rgba(0,0,0,.16); }
.home-hero h1::first-line { color: var(--paper); }
.home-hero .hero-content > p:not(.eyebrow) { color: rgba(245,240,231,.83); }
.home-hero .button { color: var(--paper); border-color: rgba(245,240,231,.8); }
.home-hero .button:hover { color: #e2aa93; border-color: #e2aa93; }
.hero-meta { margin: 0; color: rgba(245,240,231,.72); font: 400 9px/1 var(--sans); letter-spacing: .22em; position: absolute; left: max(48px, calc((100vw - 1400px)/2)); bottom: 32px; }

.section { width: var(--page); margin: 0 auto; padding: 170px 0; }
.intro-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 13vw; align-items: end; }
.intro-section h2, .section-heading h2, .story-copy h2 { margin-bottom: 0; font-size: clamp(58px, 7vw, 105px); }
.intro-section > div:last-child { padding-bottom: 12px; color: var(--muted); }
.intro-image { grid-column: 1 / -1; margin: 95px 0 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-deep); }
.intro-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.text-link { display: inline-flex; gap: 24px; align-items: center; margin-top: 24px; padding-bottom: 5px; color: var(--ink); border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 400; letter-spacing: .14em; }
.text-link span { color: var(--accent); }

.featured { width: 100%; padding-right: max(48px, calc((100vw - 1240px)/2)); padding-left: max(48px, calc((100vw - 1240px)/2)); background: var(--paper-deep); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 72px; }
.section-heading h2 { font-size: clamp(68px, 8vw, 118px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.menu-card { background: var(--paper); overflow: hidden; transition: transform .35s ease; }
.menu-card:hover { transform: translateY(-7px); }
.menu-image { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.menu-visual { height: 330px; display: grid; place-items: center; color: rgba(245,240,231,.7); font: 400 64px/1 var(--serif); position: relative; overflow: hidden; }
.menu-visual::before { content: ""; width: 170px; height: 170px; border: 1px solid currentColor; border-radius: 50%; position: absolute; }
.menu-visual span { z-index: 1; font-size: 0; }
.menu-visual span::after { font-size: 62px; }
.latte { background: #766258; }.latte span::after { content: "01"; }
.toast { background: #9d8063; }.toast span::after { content: "02"; }
.pudding { background: #6d6457; }.pudding span::after { content: "03"; }
.card-body { padding: 34px 32px 38px; }
.card-body h3 { margin-bottom: 16px; font: 500 27px/1.15 var(--serif); }
.card-body p { min-height: 56px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.card-body strong { color: var(--accent); font: 500 19px/1 var(--serif); }

.visit-banner { width: var(--page); margin: 160px auto; padding: 85px 0; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-banner h2 { margin: 0; font-size: clamp(52px, 7vw, 96px); }
.button-light { background: transparent; color: var(--ink); }

.page-hero { width: var(--page); min-height: 530px; padding: 125px 0 110px; display: flex; flex-direction: column; justify-content: end; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 44px; color: var(--ink); font-size: clamp(90px, 13vw, 190px); }
.page-hero > p:last-child { max-width: 640px; margin: 0 0 0 auto; color: var(--muted); }
.menu-section { padding-top: 110px; }
.menu-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 70px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.filter-button { min-width: 112px; padding: 13px 20px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 9px/1 var(--sans); letter-spacing: .2em; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.menu-category { padding: 72px 0; display: grid; grid-template-columns: .8fr 1.7fr; gap: 12vw; border-top: 1px solid var(--line); }
.menu-category[hidden] { display: none; }
.category-title span, .value-grid span { color: var(--accent); font: 500 12px/1 var(--serif); }
.category-title h2 { margin: 18px 0 8px; font-size: clamp(50px, 5vw, 72px); }
.category-title p { color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.menu-row { padding-bottom: 26px; margin-bottom: 26px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.menu-row h3 { margin-bottom: 10px; font-size: 25px; }
.menu-row p { margin: 0; color: var(--muted); font-size: 11px; }
.menu-row strong { color: var(--accent); font: 500 18px/1 var(--serif); }
.note { color: var(--muted); font-size: 10px; }

.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: 11vw; align-items: center; }
.story-art { height: 720px; background: #d8cdbf; position: relative; overflow: hidden; }
.story-art::after { content: ""; width: 360px; height: 360px; border-radius: 50%; background: rgba(162,95,72,.7); position: absolute; left: -80px; bottom: -90px; }
.window { width: 58%; height: 65%; background: #afa69a; border: 16px solid var(--paper); display: grid; grid-template-columns: 1fr 1fr; position: absolute; left: 21%; top: 13%; }
.window span:first-child { border-right: 8px solid var(--paper); }
.plant { position: absolute; right: 5%; bottom: -2%; color: var(--ink); font: 300 190px/1 var(--serif); opacity: .7; z-index: 1; }
.story-copy h2 { margin-bottom: 44px; }
.story-copy > p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); }
.story-photo { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; background: var(--paper-deep); }
.story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.values { padding: 145px max(48px, calc((100vw - 1240px)/2)); background: var(--ink); color: var(--paper); }
.values .eyebrow { color: #c98770; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.value-grid article { padding-top: 27px; border-top: 1px solid rgba(245,240,231,.25); }
.value-grid span { color: #c98770; }
.value-grid h3 { margin: 28px 0 22px; font-size: 33px; }
.value-grid p { color: rgba(245,240,231,.62); font-size: 12px; }
.shop-details .section-heading { margin-bottom: 80px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); }
.detail-grid > div { min-height: 220px; padding: 34px 0; display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.detail-grid > div:nth-child(odd) { padding-right: 50px; border-right: 1px solid var(--line); }
.detail-grid > div:nth-child(even) { padding-left: 50px; }
.detail-grid dt { color: var(--accent); font: 500 9px/1 var(--sans); letter-spacing: .24em; }
.detail-grid dd { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.detail-grid strong { font: 500 clamp(42px, 5vw, 68px)/1 var(--serif); }
.detail-grid span { margin-top: 18px; color: var(--muted); font-size: 11px; }
.fiction-note { margin-top: 32px; padding-left: 14px; color: var(--muted); border-left: 2px solid var(--accent); font-size: 10px; }

.access-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: center; }
.map-embed { width: 100%; }
.map-embed iframe { display: block; width: 100%; height: 620px; border: 0; filter: sepia(.16) saturate(.65) contrast(.94); }
.map-embed > a { display: inline-block; margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 400; letter-spacing: .1em; }
.map { height: 650px; background: #dfd6c8; position: relative; overflow: hidden; }
.road { background: var(--paper); border: 1px solid rgba(71,58,49,.1); position: absolute; }
.road-h { width: 110%; height: 92px; left: -5%; top: 43%; transform: rotate(-8deg); }
.road-v { width: 76px; height: 110%; left: 29%; top: -5%; transform: rotate(6deg); }
.map-label { color: var(--muted); font-size: 10px; letter-spacing: .15em; position: absolute; }
.station { left: 10%; bottom: 14%; }.park { right: 10%; top: 17%; padding: 38px; border: 1px solid rgba(71,58,49,.18); }
.pin { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--paper); font: 500 27px/1 var(--serif); position: absolute; left: 55%; top: 39%; box-shadow: 0 12px 25px rgba(52,39,31,.15); }
.pin span { display: none; }
.shop-info h2 { margin-bottom: 44px; font-size: 48px; }
.shop-info dl { border-top: 1px solid var(--line); }
.shop-info dl div { padding: 20px 0; display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); }
.shop-info dt { font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.shop-info dd { margin: 0; color: var(--muted); font-size: 12px; }
.transport { padding: 130px max(48px, calc((100vw - 1240px)/2)); background: var(--paper-deep); }
.transport > h2 { margin-bottom: 65px; font-size: clamp(58px, 7vw, 100px); }
.transport > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.transport article { padding: 38px; background: var(--paper); }
.transport article h3 { margin-bottom: 20px; font-size: 27px; }
.transport article p { margin: 0; color: var(--muted); font-size: 12px; }

.site-footer { padding: 92px max(48px, calc((100vw - 1400px)/2)) 38px; background: var(--ink); color: rgba(245,240,231,.65); }
.footer-main { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 8vw; padding-bottom: 75px; }
.footer-logo { color: var(--paper); margin-bottom: 28px; }
.footer-tagline { max-width: 360px; font-family: var(--serif); font-size: 28px; line-height: 1.45; color: var(--paper); }
.footer-label { margin-bottom: 18px; color: #c98770; font: 500 9px/1 var(--sans); letter-spacing: .27em; }
.footer-info p, .footer-social a { font-size: 11px; }
.footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-social a { border-bottom: 1px solid transparent; }.footer-social a:hover { border-color: currentColor; }
.footer-bottom { padding-top: 25px; border-top: 1px solid rgba(245,240,231,.15); display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .13em; }

/* Motion is progressive enhancement: without JavaScript, everything stays visible. */
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease var(--reveal-delay, 0ms), transform .8s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
.back-to-top { width: 58px; height: 58px; padding: 0; display: grid; place-content: center; gap: 2px; background: var(--ink); color: var(--paper); border: 1px solid rgba(245,240,231,.24); border-radius: 50%; box-shadow: 0 12px 30px rgba(36,29,25,.18); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, visibility .3s, transform .3s, background .25s; position: fixed; right: 28px; bottom: 28px; z-index: 15; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top span { font: 400 18px/1 var(--serif); }
.back-to-top small { font: 500 7px/1 var(--sans); letter-spacing: .16em; }
.back-to-top:hover { background: var(--accent); transform: translateY(-4px); }
.back-to-top:focus-visible, .button:focus-visible, .text-link:focus-visible, .filter-button:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (hover: hover) {
  .menu-card { transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s; }
  .menu-card:hover { transform: translateY(-9px); box-shadow: 0 24px 50px rgba(52,39,31,.12); }
  .menu-card .menu-image { transition: transform .65s cubic-bezier(.22,.61,.36,1), filter .4s; }
  .menu-card:hover .menu-image { transform: scale(1.035); filter: brightness(.96); }
  .menu-row { transition: padding-left .3s, border-color .3s; }
  .menu-row:hover { padding-left: 12px; border-color: var(--accent); }
  .value-grid article, .transport article, .detail-grid > div { transition: transform .35s, background .35s; }
  .value-grid article:hover { transform: translateY(-6px); }
  .transport article:hover { transform: translateY(-5px); }
  .detail-grid > div:hover { background: rgba(162,95,72,.045); }
  .global-nav a, .footer-social a { transition: color .25s; }
  .global-nav a:hover, .footer-social a:hover { color: var(--accent); }
}

@media (max-width: 820px) {
  :root { --page: calc(100vw - 48px); }
  .site-header { height: 78px; padding: 0 24px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav { display: flex; position: fixed; inset: 0; padding: 130px 32px 50px; flex-direction: column; align-items: flex-start; gap: 32px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-16px); transition: .3s ease; }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .global-nav a { font: 500 42px/1 var(--serif); letter-spacing: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-content { min-height: 650px; padding: 95px 24px 80px; }
  .hero h1 { font-size: clamp(67px, 22vw, 96px); }
  .hero-art { margin: 0 24px 24px; min-height: 480px; }
  .home-hero { min-height: calc(100svh - 78px); background-image: linear-gradient(90deg, rgba(30,25,22,.82), rgba(30,25,22,.3)), url("images/hero-cafe-interior.png"); background-position: 58% center; }
  .home-hero .hero-content { width: 100%; min-height: calc(100svh - 78px); padding: 95px 24px 110px; justify-content: flex-end; }
  .home-hero h1 { font-size: clamp(68px, 22vw, 98px); }
  .hero-meta { left: 24px; bottom: 28px; font-size: 8px; }
  .section { padding: 105px 0; }
  .intro-section, .story, .access-grid { grid-template-columns: 1fr; gap: 70px; }
  .intro-image { margin-top: 5px; aspect-ratio: 3 / 2; }
  .intro-section h2, .section-heading h2, .story-copy h2 { font-size: 58px; }
  .featured { padding-right: 24px; padding-left: 24px; }
  .section-heading { align-items: start; margin-bottom: 50px; }
  .section-heading > .text-link { display: none; }
  .card-grid, .value-grid { grid-template-columns: 1fr; }
  .menu-visual { height: 300px; }
  .visit-banner { margin: 100px auto; padding: 60px 0; display: block; }
  .visit-banner .button { margin-top: 35px; }
  .page-hero { min-height: 440px; padding: 95px 0 75px; }
  .page-hero h1 { font-size: clamp(72px, 23vw, 112px); }
  .menu-category { grid-template-columns: 1fr; gap: 40px; }
  .menu-filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 45px; }
  .filter-button { width: 100%; min-width: 0; }
  .story-art { height: 510px; }
  .story-photo { aspect-ratio: 3 / 2; }
  .values { padding: 100px 24px; }
  .value-grid { gap: 30px; }
  .map { height: 450px; }
  .map-embed iframe { height: 430px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { min-height: 180px; padding: 30px 0 !important; border-right: 0 !important; }
  .transport { padding: 95px 24px; }
  .transport > div { grid-template-columns: 1fr; }
  .site-footer { padding: 75px 24px 30px; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; padding-bottom: 55px; }
  .footer-bottom { display: block; }
  .back-to-top { width: 50px; height: 50px; right: 18px; bottom: 18px; }
}

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