/* Shared palette and typography: cream, warm brown, muted terracotta. */
:root {
  --paper: #f7f3eb;
  --ink: #302923;
  --muted: #71665d;
  --accent: #995c49;
  --line: #d9cfc3;
  --panel: #eee6da;
  --serif: Georgia, 'Times New Roman', 'Yu Mincho', serif;
  --sans: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/2 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
a:hover { color: var(--accent); }
::selection { background: #dfc4b6; color: var(--ink); }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.site-header { width: min(1392px, 100%); margin: auto; padding: 30px 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-direction: column; font: 38px/1.15 var(--serif); letter-spacing: -.05em; }
.brand span { font: 12px/1.8 var(--sans); letter-spacing: .25em; margin-top: 8px; }
.site-header nav { display: flex; gap: 38px; }
.site-header nav a { position: relative; padding: 14px 0; font-size: 12px; letter-spacing: .15em; }
.site-header nav a::after { content: ''; position: absolute; height: 1px; background: var(--accent); left: 0; right: 0; bottom: 6px; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.skip-link { position: fixed; top: -100px; left: 16px; background: var(--ink); color: var(--paper); padding: 12px 24px; z-index: 10; }
.skip-link:focus { top: 12px; }
.eyebrow { color: var(--accent); font: 12px/1.8 var(--sans); letter-spacing: .24em; margin: 0 0 30px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(56px, 6.5vw, 96px); line-height: 1.08; margin: 0 0 32px; }
h1 em { font-weight: 400; color: var(--accent); }
h2 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.15; margin: 0 0 24px; }
h3 { font-size: 19px; font-weight: 500; margin: 22px 0 16px; }
p { margin: 0 0 22px; }
.japanese-title { font-size: 19px; letter-spacing: .08em; margin-bottom: 26px; }
.heading-caption { font-size: 16px; color: var(--muted); margin: 18px 0 0; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 44px; padding-block: 86px 100px; }
.hero h1 { font-size: clamp(54px, 5.5vw, 82px); }
.hero-copy > p:not(.eyebrow):not(.japanese-title) { color: var(--muted); }
.hero-copy .hero-note { font-size: 12px; margin: 35px 0 0; letter-spacing: .12em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 54px; padding: 14px 26px; border: 1px solid var(--ink); font-size: 14px; margin-top: 18px; transition: background .2s, color .2s; }
.button:hover { background: var(--ink); color: var(--paper); }
.button span { color: var(--accent); }
.button:hover span { color: inherit; }
/* A self-contained still life; no external image or network dependency. */
.coffee-art { height: 590px; position: relative; overflow: hidden; background: linear-gradient(125deg, #ded0b9, #bba58c 42%, #83705e); }
.coffee-art::before { content: ''; position: absolute; width: 150%; height: 200%; left: -55%; top: -60%; background: repeating-linear-gradient(90deg, transparent 0 130px, #45342918 130px 154px); transform: rotate(32deg); filter: blur(3px); }
.coffee-art::after { content: ''; position: absolute; width: 46%; height: 45%; bottom: -6%; right: -8%; background: #e5d5c2; transform: rotate(-15deg); box-shadow: -8px -4px 20px #40312618; }
.light { position: absolute; width: 110px; height: 850px; top: -180px; transform: rotate(32deg); background: #fff7df21; }
.light-one { left: 40px; }.light-two { left: 240px; width: 150px; }
.art-caption { position: absolute; top: 32px; left: 30px; color: #45372c; font: 11px/1.8 var(--sans); letter-spacing: .22em; }
.saucer { position: absolute; z-index: 1; top: 29%; left: 14%; width: 69%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #c2b29c 43%, #e7dfd0 44%, #f0e8d8 61%, #d2c5b0 65%, #e5dccb 69%); box-shadow: 24px 32px 24px #3b2c3355; transform: rotate(-28deg); }
.cup { position: absolute; inset: 15%; border: 12px solid #f0e8d8; border-radius: 50%; background: #e9dfce; box-shadow: 4px 7px 9px #42372a55; }
.cup::after { content: ''; position: absolute; right: -43px; top: 36%; width: 38px; height: 36px; border: 10px solid #e9dfce; border-radius: 7px 45% 45% 7px; box-shadow: 3px 5px 5px #33241a30; }
.coffee { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse at 33% 25%, #aa8058, #704e33 24%, #39281d 78%); box-shadow: inset 3px 5px 7px #291a17; }
.coffee::after { content: ''; position: absolute; inset: 10% 18% 60% 12%; border-top: 2px solid #dcc19088; border-radius: 50%; transform: rotate(-20deg); }
.art-bottom { position: absolute; z-index: 2; bottom: 25px; left: 30px; color: #302923; font-size: 12px; letter-spacing: .15em; }
.hours-strip { border-block: 1px solid var(--line); }
.hours-strip .wrap { display: flex; justify-content: space-between; gap: 24px; padding-block: 23px; font-size: 14px; }
.hours-strip b { font-weight: 400; margin-inline: 16px; color: var(--line); }
.section { padding-block: 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 32px; min-height: 44px; padding-bottom: 5px; border-bottom: 1px solid var(--line); font-size: 14px; }
.text-link span { color: var(--accent); }
.favorites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.favorites article { border-top: 1px solid var(--line); padding-top: 30px; }
.item-number { color: var(--accent); font-size: 12px; letter-spacing: .17em; }
.favorites p { font-size: 16px; color: var(--muted); }
.price { font: 25px/1.5 var(--serif); }
.fine-print { font-size: 12px; color: var(--muted); margin: 35px 0 0; }
.story-band { background: var(--panel); padding-block: 110px; }
.story-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; }
.story-layout > .eyebrow { margin-top: 15px; }
.story-layout .text-link { margin-top: 16px; }
.page-main { padding-block: 100px 120px; }
.page-heading { padding-bottom: 65px; margin-bottom: 75px; border-bottom: 1px solid var(--line); }
.page-heading > p:last-child { color: var(--muted); margin-bottom: 0; }
.menu-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.menu-section { margin-bottom: 75px; }
.menu-section h2 { font-size: clamp(36px, 3.4vw, 48px); }
.menu-section .heading-caption { margin-bottom: 30px; }
.menu-list { margin: 0; }
.menu-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.menu-list dt { font-size: 17px; }
.menu-list dt span { display: block; font-size: 16px; color: var(--muted); margin-top: 10px; }
.menu-list dt small { display: block; font-size: 14px; color: var(--accent); letter-spacing: .06em; margin-top: 4px; }
.menu-list dd { margin: 0; font: 24px/1.6 var(--serif); white-space: nowrap; }
.note-box { padding: 30px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.note-box p { margin-bottom: 8px; }.note-box .eyebrow { margin-bottom: 16px; }
.note-title { font: 18px/1.8 var(--sans); letter-spacing: .06em; }
.about-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.quote-panel { background: var(--panel); padding: 55px 45px 65px; border-top: 2px solid var(--accent); }
.quote-panel > span { font: 100px/1 var(--serif); color: var(--accent); }
.quote-panel p { font: 24px/2.3 'Yu Mincho', serif; letter-spacing: .07em; margin-bottom: 55px; }
.quote-panel small { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.about-copy > p:not(.eyebrow):not(.japanese-title) { color: var(--muted); }
.access-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; margin-bottom: 70px; }
.map { min-height: 430px; position: relative; background: #e9e1d4; overflow: hidden; font-size: 14px; }
.map-road { position: absolute; background: var(--paper); }.road-horizontal { height: 45px; width: 100%; top: 45%; }.road-vertical { width: 45px; height: 100%; left: 32%; }
.map-park { position: absolute; left: 5%; top: 13%; background: #d6caba; padding: 22px 12px; font-size: 12px; }
.map-shop { position: absolute; left: 48%; top: 29%; background: var(--accent); color: var(--paper); padding: 12px; }
.map-shop::after { content: ''; position: absolute; left: 20px; bottom: -9px; border-inline: 8px solid transparent; border-top: 9px solid var(--accent); }
.map-station { position: absolute; left: 11%; bottom: 14%; padding: 10px 16px; background: #d6caba; border: 1px solid #b3a28f; }
.map-route { position: absolute; left: 45%; top: 59%; }.map-north { position: absolute; right: 20px; top: 18px; }
.map-caption { position: absolute; bottom: 12px; left: 15px; right: 15px; font-size: 12px; text-align: center; }
.info-list { margin: 0; }.info-list > div { display: grid; grid-template-columns: 88px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 16px; }.info-list dt { color: var(--muted); }.info-list dd { margin: 0; }.info-list small { font-size: 14px; color: var(--muted); }
.site-footer { background: #eae2d6; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 55px; padding-bottom: 70px; }
.footer-brand { font-size: 50px; }.footer-tagline { margin-top: 25px; font-size: 15px; }.footer-grid .eyebrow { margin-bottom: 24px; }.footer-grid p:not(.eyebrow):not(.footer-hours) { font-size: 14px; }.footer-hours { font: 27px/1.4 var(--serif); margin-bottom: 12px; }
.social-pending { display: inline-flex; align-items: center; gap: 28px; font: 22px/2 var(--serif); border-bottom: 1px solid var(--line); }.social-note { color: var(--muted); margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid #d3c7b8; padding-block: 25px; color: var(--muted); }.footer-bottom small { font-size: 12px; letter-spacing: .05em; }
@media (min-width: 761px) { #site-nav { display: flex !important; } }
@media (max-width: 1050px) {
 .wrap { width: calc(100% - 64px); }.site-header { padding-inline: 32px; }.site-header nav { gap: 24px; }.hero { gap: 30px; }.hero h1 { font-size: 59px; }.coffee-art { height: 520px; }.menu-layout, .about-intro { gap: 50px; }.favorites { gap: 30px; }.access-layout { gap: 35px; }.footer-grid { gap: 30px; }
}
@media (max-width: 760px) {
 .wrap { width: calc(100% - 40px); }.site-header { padding: 22px 20px; flex-wrap: wrap; gap: 22px; }.brand { font-size: 34px; }.brand span { font-size: 11px; }.site-header nav { width: 100%; display: flex; flex-wrap: wrap; gap: 12px 24px; }.site-header nav a { font-size: 12px; min-height: 44px; }
 .js .nav-toggle { display: block; min-height: 44px; border: 1px solid var(--line); padding: 8px 10px; color: var(--ink); background: transparent; font-size: 12px; }.js #site-nav { display: none; }.js #site-nav.is-open { display: flex; }
 h1 { font-size: clamp(46px, 10vw, 72px); }h2 { font-size: 42px; }.hero { grid-template-columns: 1fr; padding-block: 60px; gap: 45px; }.hero h1 { font-size: clamp(43px, 10.5vw, 72px); }.hero .eyebrow { font-size: 11px; }.japanese-title { font-size: 17px; }.coffee-art { height: auto; aspect-ratio: 1 / 1.05; }.saucer { width: 62%; left: 17%; top: 26%; }.cup { border-width: 9px; }.cup::after { width: 30px; height: 30px; right: -34px; border-width: 8px; }.art-caption { top: 20px; left: 22px; font-size: 10px; }.art-bottom { font-size: 11px; left: 22px; bottom: 20px; }
 .hours-strip .wrap { flex-direction: column; gap: 6px; font-size: 13px; }.section { padding-block: 75px; }.section-heading { flex-direction: column; align-items: start; gap: 24px; margin-bottom: 35px; }.favorites { grid-template-columns: 1fr; gap: 35px; }.story-band { padding-block: 70px; }.story-layout { grid-template-columns: 1fr; gap: 14px; }
 .page-main { padding-block: 60px 75px; }.page-heading { padding-bottom: 45px; margin-bottom: 45px; }.page-heading br { display: initial; }.menu-layout, .about-intro, .access-layout { grid-template-columns: 1fr; gap: 40px; }.menu-layout { gap: 0; }.menu-section { margin-bottom: 55px; }.menu-list > div { gap: 16px; }.menu-list dt { font-size: 16px; }.menu-list dt span { font-size: 15px; }.menu-list dd { font-size: 22px; }.quote-panel { padding: 35px 28px 45px; }.quote-panel p { font-size: 22px; }.map { min-height: 360px; }.map-shop { left: 47%; font-size: 12px; padding: 10px; }.map-park { left: 3%; font-size: 11px; padding: 16px 8px; }.map-caption { font-size: 11px; }.info-list > div { grid-template-columns: 78px 1fr; gap: 16px; }.site-footer { padding-top: 60px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; padding-bottom: 45px; }.footer-grid > :first-child { grid-column: 1 / -1; }.footer-brand { font-size: 45px; }.footer-grid .eyebrow { font-size: 10px; }.footer-hours { font-size: 23px; }.footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 360px) { .footer-grid { grid-template-columns: 1fr; }.hero h1 { font-size: 39px; }.map-shop { left: 44%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }a, button, .site-header nav a::after { transition: none; } }

/* Home: photographic opening, generous editorial sections, three menu cards. */
.home-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: min(780px, 90svh); background: #302923; color: var(--paper); }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; z-index: -2; }
.home-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,24,19,.76) 0%, rgba(30,24,19,.53) 45%, rgba(30,24,19,.08) 100%); z-index: -1; }
.home-hero-content { padding-block: 85px 120px; }
.home-hero .eyebrow { color: var(--paper); font-size: 11px; letter-spacing: .23em; margin-bottom: 34px; }
.home-hero h1 { font-size: clamp(52px, 6.5vw, 98px); line-height: 1.08; max-width: 900px; margin-bottom: 30px; }
.home-hero h1 em { color: var(--paper); }
.home-hero-description { font-size: 16px; line-height: 2.15; letter-spacing: .06em; }
.hero-button { color: var(--paper); border-color: #f7f3eb99; background: #30292326; }
.hero-button span { color: inherit; }.hero-button:hover { background: var(--paper); color: var(--ink); }
.hero-bottom { position: absolute; bottom: 25px; left: 0; right: 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 12px; }
.hero-bottom a { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; letter-spacing: .15em; font-size: 10px; }.hero-bottom a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.home-story, .home-access { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.home-story { scroll-margin-top: 30px; }.home-page h2 em { font-weight: 400; color: var(--accent); }
.home-story-copy { padding-top: 48px; }.home-story-copy > p:not(.japanese-title), .home-access-copy > p:not(.japanese-title):not(.visit-hours) { color: var(--muted); }
.home-story-copy .text-link { margin-top: 16px; }
.home-favorites { background: var(--panel); }
.menu-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.menu-card { background: var(--paper); border: 1px solid #d7ccbd; display: flex; flex-direction: column; }
.card-top { padding: 26px 30px 32px; border-bottom: 1px solid var(--line); background: #f1e9dd; }
.card-category { display: block; font: 46px/1.05 var(--serif); letter-spacing: -.04em; margin-top: 32px; }.card-category em { color: var(--accent); }
.card-body { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; }.card-body h3 { margin: 0 0 16px; font-size: 18px; }.card-body > p:not(.card-price) { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.card-body .card-price { font: 27px/1.3 var(--serif); margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); }.card-price span { font: 12px var(--sans); color: var(--muted); margin-left: 8px; }
.home-access { align-items: center; }.visit-hours { font: 27px/1.4 var(--serif); margin-top: 32px; }.visit-hours span { font: 14px var(--sans); margin-left: 16px; }.visit-note { font-size: 12px; margin: 20px 0 0; }
@media (max-width: 1050px) { .home-story, .home-access { gap: 45px; }.menu-cards { gap: 18px; }.card-top, .card-body { padding-inline: 22px; }.card-body h3 { font-size: 17px; } }
@media (max-width: 760px) {
 .home-hero { min-height: 680px; }.home-hero-image { object-position: 60% center; }.home-hero::before { background: linear-gradient(90deg, #1e1813db, #1e181380); }.home-hero-content { padding-block: 70px 115px; }.home-hero h1 { font-size: clamp(41px, 8.7vw, 65px); }.home-hero .eyebrow { font-size: 10px; letter-spacing: .15em; max-width: 270px; }.home-hero-description { font-size: 15px; }.hero-bottom { flex-wrap: wrap; gap: 6px; bottom: 20px; font-size: 11px; }.hero-bottom a { font-size: 9px; gap: 14px; }
 .home-story, .home-access { grid-template-columns: 1fr; gap: 25px; }.home-story-copy { padding-top: 0; }.home-story-copy br { display: none; }.menu-cards { grid-template-columns: 1fr; gap: 25px; }.card-top { padding: 25px; }.card-category { font-size: 42px; margin-top: 20px; }.card-category br { display: none; }.card-category em { margin-left: .18em; }.card-body { padding: 25px; }.card-body h3 { font-size: 19px; }.home-access .button { width: 100%; }.visit-hours span { display: inline-block; }.home-page h2 { font-size: clamp(36px, 8vw, 52px); }
}

/* Preserve the complete supplied photographs at every screen width. */
.menu-card-image, .story-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.menu-card-image { border-bottom: 1px solid var(--line); }
.story-image { margin-top: 40px; }
.home-story > div { min-width: 0; }
@media (max-width: 760px) {
  .story-image { margin-top: 30px; }
}

/* Inner pages share the home page's quiet editorial rhythm. */
[hidden] { display: none !important; }
.menu-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.menu-filter button { min-height: 48px; padding: 10px 30px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 15px; }
.menu-filter button:hover { border-color: var(--accent); }
.menu-filter button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.filter-status { font-size: 14px; color: var(--muted); margin-bottom: 38px; }
.catalog-section { display: grid; grid-template-columns: .85fr 1.3fr; gap: 90px; border-top: 1px solid var(--line); padding-block: 65px 75px; }
.catalog-heading h2 { font-size: clamp(36px, 4vw, 52px); }
.catalog-note { font-size: 14px; color: var(--muted); margin-top: 24px; }
.catalog-section .menu-list > div:first-child { padding-top: 0; }
.concept-photo { margin: 0; }.concept-photo img { width: 100%; height: auto; display: block; }
.concept-photo figcaption { color: var(--muted); font-size: 13px; margin-top: 16px; letter-spacing: .08em; }
.store-details { padding-block: 0 70px; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); margin: 0; }
.store-grid > div { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.store-grid dt { font-size: 14px; color: var(--accent); margin-bottom: 12px; }
.store-grid dd { font-size: 20px; margin: 0; }.store-grid small { display: block; font-size: 14px; color: var(--muted); margin-top: 10px; }
.visit-details { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-bottom: 100px; }
.visit-details .info-list small { display: block; }.fiction-note { color: var(--muted); font-size: 14px; max-width: 850px; margin-top: 24px; }
.osm-map { display: block; width: 100%; height: 480px; border: 1px solid var(--line); background: var(--panel); }
.map-links { display: flex; justify-content: space-between; align-items: start; gap: 25px; margin-top: 22px; }.map-links p { font-size: 13px; color: var(--muted); max-width: 550px; }.map-links .text-link { flex-shrink: 0; }
@media (max-width: 1050px) { .catalog-section, .visit-details { gap: 45px; }.store-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.map-links { flex-direction: column; gap: 0; } }
@media (max-width: 760px) {
 .menu-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.menu-filter button { padding-inline: 12px; }
 .catalog-section, .visit-details { grid-template-columns: 1fr; gap: 35px; }.catalog-section { padding-block: 40px 55px; }.store-grid { grid-template-columns: 1fr; }.store-grid > div { padding-block: 24px; }.visit-details { margin-bottom: 65px; }.osm-map { height: 380px; }.map-section h2 { font-size: clamp(32px, 8vw, 42px); }.map-links .text-link { font-size: 13px; gap: 16px; }
}

/* Subtle interaction; all content remains visible without scripting. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.button, .menu-filter button, .menu-card, .text-link, .back-to-top {
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.nav-icon { width: 23px; height: 18px; position: relative; display: block; }
.nav-icon > span { position: absolute; left: 0; width: 23px; height: 1px; background: currentColor; transition: transform .22s ease, opacity .22s ease; }
.nav-icon > span:nth-child(1) { top: 0; }.nav-icon > span:nth-child(2) { top: 8px; }.nav-icon > span:nth-child(3) { top: 16px; }
.nav-toggle[aria-expanded="true"] .nav-icon > span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-icon > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-icon > span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 64px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 3px 16px #30292314; }
.back-to-top span:first-child { font-size: 23px; line-height: 1.2; }.back-to-top span:last-child { font-size: 10px; letter-spacing: .12em; }
.site-footer { padding-bottom: 85px; }
#page-top:focus { outline: none; }
@media (hover: hover) and (pointer: fine) {
 .button:hover, .menu-filter button:hover { transform: translateY(-2px); box-shadow: 0 5px 14px #30292312; }
 .menu-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 12px 24px #30292312; }
 .text-link:hover { border-color: var(--accent); }
 .back-to-top:hover { transform: translateY(-3px); background: var(--ink); color: var(--paper); }
}
@media (max-width: 760px) {
 .js .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer; }
 .back-to-top { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 48px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .button, .menu-filter button, .menu-card, .text-link, .back-to-top, .nav-icon > span { transition: none; }
 .button:hover, .menu-filter button:hover, .menu-card:hover, .back-to-top:hover { transform: none; }
}
