/* ==== 00-base.css ==== */
/* THE ONSEN — base: tokens, grounds, type, kit (frame, noren, key tag, pills, rnd, sprite icons), chrome (header, drawer,
   toast, footer frame), .e404. Parts never restyle these classes. */
:root {
  --paper: #F4ECDD; --paper-hi: #FBF7EF; --ink: #2A2420; --muted: #6B5F52;
  --hinoki: #E2C79A; --hinoki-lo: #CDAE7E; --cedar: #8A5A36;
  --indigo: #1F2E4A; --indigo-2: #18243B; --mist: #C9C2B4;
  --cord: #9E3B26; --yuzu: #F2C230;
  --ring: var(--ink); --em: var(--cedar); --sub: var(--muted); --hole: var(--paper);
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', Georgia, 'Times New Roman', serif;
  --sans: 'Zen Kaku Gothic Antique', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --hand: 'Klee One', 'Segoe Print', cursive;
  --m: 32px; --nav: 64px;
  --h1: clamp(34px, 4.2vw, 60px);   /* spec said 5.2vw/76px; measured: line 1 is 10.07em wide, so 76px wraps to 4 lines in the 628px copy column */
  --wood: repeating-linear-gradient(90deg, rgba(138, 90, 54, .10) 0 1px, transparent 1px 9px), linear-gradient(var(--hinoki), var(--hinoki));
}
@media (max-width: 699px) { :root { --m: 16px; --nav: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
html.js:not(.rm) { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mk { width: 20px; height: 20px; flex: none; display: block; }
.mk.inv { filter: invert(1); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper-hi); padding: 12px 18px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- grounds (paper fibre = two faint line grids, no images) ---------- */
.gd-paper, .gd-paper-hi {
  color: var(--ink); --em: var(--cedar); --ring: var(--ink); --sub: var(--muted);
  background-image: repeating-linear-gradient(0deg, rgba(42, 36, 32, .02) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(42, 36, 32, .02) 0 1px, transparent 1px 5px);
}
.gd-paper { background-color: var(--paper); --hole: var(--paper); }
.gd-paper-hi { background-color: var(--paper-hi); --hole: var(--paper-hi); }
.gd-indigo { background-color: var(--indigo); color: var(--paper); --em: var(--hinoki); --ring: var(--hinoki); --sub: var(--mist); --hole: var(--indigo); }
.gd-indigo2 { background-color: var(--indigo-2); color: var(--paper); --em: var(--hinoki); --ring: var(--hinoki); --sub: var(--mist); --hole: var(--indigo-2); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(1280px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 699px) { .g12 { display: flex; flex-direction: column; } }
.sec { position: relative; padding: 112px 0; }
@media (max-width: 699px) { .sec { padding: 72px 0; } }
[id] { scroll-margin-top: var(--nav); }

/* ---------- type (display-size rule: every display size <= .88 x the hero H1) ---------- */
h1, h2, h3 { margin: 0; color: inherit; text-wrap: balance; }
h1 { font: 500 var(--h1)/1.06 var(--serif); letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: min(clamp(29px, 3.4vw, 50px), calc(var(--h1) * .86)); line-height: 1.14; margin-bottom: 16px; }
h3 { font-family: var(--serif); font-weight: 700; font-size: min(clamp(20px, 1.7vw, 25px), calc(var(--h1) * .6)); line-height: 1.3; margin-bottom: 10px; }
em { font-style: normal; color: var(--em); }
.lbl { display: block; margin: 0 0 12px; font: 700 13px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--sub); max-width: 40em; }
.cap { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--sub); }
.fine { font-size: 14px; line-height: 1.5; }
.hand { font-family: var(--hand); font-weight: 600; font-size: 18px; line-height: 1.3; }

/* ---------- the cypress photo frame ---------- */
.frame { margin: 0; }
.frame > img, .frame > picture > img {
  display: block; width: 100%; height: auto; padding: 12px; background: var(--wood); border-radius: 6px;
  outline: 1px solid var(--cedar); outline-offset: -13px;
  box-shadow: 0 14px 34px rgba(42, 36, 32, .12);
}
@media (max-width: 699px) { .frame > img, .frame > picture > img { padding: 8px; outline-offset: -9px; } }
html.js:not(.rm) .frame.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js:not(.rm) .frame.rise.in { opacity: 1; transform: none; }

/* ---------- noren: the indigo curtain band with 3 slits ---------- */
.noren {
  position: relative; height: 32px; display: flex; align-items: center; justify-content: center; background-color: var(--indigo); color: var(--paper);
  background-image: linear-gradient(90deg, transparent calc(25% - 1.5px), var(--paper) calc(25% - 1.5px) calc(25% + 1.5px), transparent calc(25% + 1.5px) calc(50% - 1.5px), var(--paper) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px) calc(75% - 1.5px), var(--paper) calc(75% - 1.5px) calc(75% + 1.5px), transparent calc(75% + 1.5px));
}
.noren .lbl { margin: 0; padding: 0 14px; background: var(--indigo); font-size: 12px; white-space: nowrap; }
@media (max-width: 699px) { .noren-l { display: none; } }

/* ---------- THE BATH KEY TAG (the CA object) ---------- */
.key {
  position: relative; max-width: 560px; padding: 12px 14px 12px 56px; color: var(--ink); --ring: var(--ink);
  background: var(--wood); border: 1px solid var(--cedar); border-radius: 14px; box-shadow: 0 10px 24px rgba(42, 36, 32, .12);
  transform-origin: 26px 50%;
}
.key::before { content: ''; position: absolute; z-index: 2; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--hole); box-shadow: 0 0 0 2px var(--hinoki-lo), inset 0 2px 3px rgba(42, 36, 32, .25); }
.key::after { content: ''; position: absolute; z-index: 1; left: -16px; top: 50%; width: 46px; height: 20px; margin-top: -10px; border: 3px solid var(--cord); border-radius: 50%; box-shadow: 0 2px 3px rgba(42, 36, 32, .18); }
.key-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.key-head .lbl { margin: 0; font-size: 12px; }
.key-head .hand { flex: none; font-size: 18px; line-height: 1; }
.key-body { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ca { position: relative; z-index: 0; flex: 1 1 0; min-width: 0; margin: 0; font: 700 16px/1.35 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; word-break: normal; }
.ca::before { content: ''; position: absolute; inset: -2px -6px; z-index: -1; border-radius: 4px; background: var(--hinoki-lo); transform: scaleX(0); transform-origin: left center; transition: transform .45s ease; }
.key.is-copied .ca::before { transform: scaleX(1); }
html.rm .ca::before { display: none; }
.key-copy { min-width: 88px; flex: none; }
.key-wait { flex: 1 1 auto; margin: 0; font: 500 19px/1.3 var(--serif); }
.key-lock { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.key-lock .lbl { margin: 0; }
.key[data-soon] { cursor: pointer; }
.key.sm .ca { font-size: 15px; }
html.js:not(.rm) .key.is-copied { animation: key-swing .8s ease; }
@keyframes key-swing { 0% { transform: rotate(0); } 35% { transform: rotate(-3deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@media (max-width: 699px) { .ca { font-size: 15px; } }
@media (max-width: 479px) {
  .key { padding: 10px 12px 10px 48px; }
  .key::before { left: 16px; }
  .key::after { left: -12px; width: 40px; }
  .key-head .lbl { font-size: 11px; letter-spacing: .08em; }
  .ca, .key.sm .ca { font-size: 14px; }
  .key-copy { min-width: 84px; padding: 0 12px; }
  .key-wait { font-size: 17px; }
}

.k-short { display: none; }
@media (max-width: 419px) {
  .key .ca { flex: 1 1 100%; }
  .key .key-copy { flex: 1 1 100%; }
  .k-long { display: none; }
  .k-short { display: inline; }
}

/* ---------- pills + round buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px;
  border: 0; border-radius: 999px; background: transparent; color: inherit; font: 700 17px/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.pill.buy { background: var(--yuzu); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); --ring: var(--ink); }
.pill.buy:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink), 0 10px 22px rgba(42, 36, 32, .18); }
.pill.ink { background: var(--ink); color: var(--paper-hi); }
.pill.ink:hover { background: #3b332d; }
.pill.line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill.line:hover { background: rgba(42, 36, 32, .06); }
.pill.line-l { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.pill.line-l:hover { background: rgba(244, 236, 221, .10); }
.pill.paper { background: var(--paper-hi); color: var(--ink); }
.pill.sm { min-height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
.rnd {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; cursor: pointer; text-decoration: none; transition: background-color .2s ease;
}
.rnd:hover { background: rgba(127, 120, 110, .14); }
.rnd.lg { width: 56px; height: 56px; }
.rnd.ink { background: var(--ink); color: var(--paper-hi); box-shadow: none; }
html.js:not(.rm) .pill.buy:active { transform: translateY(0); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; height: var(--nav); background: var(--paper); color: var(--ink); transition: background-color .25s ease, box-shadow .25s ease; }
.hd.solid { background: var(--paper-hi); box-shadow: 0 1px 0 rgba(42, 36, 32, .10); }
.hd-in { display: flex; align-items: center; gap: 16px; height: 100%; max-width: calc(1280px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.hd-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; text-decoration: none; font: 700 18px/1.1 var(--serif); }
.hd-brand img { width: 36px; height: 36px; border-radius: 50%; display: block; }
.hd-nav { display: none; gap: 22px; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 15px/1 var(--sans); text-decoration: none; border-bottom: 2px solid transparent; }
.hd-nav a:hover, .hd-nav a.here { border-bottom-color: var(--cedar); }
.hd-r { display: flex; align-items: center; gap: 10px; }
.hd-buy { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper-hi); cursor: pointer; }
@media (min-width: 1200px) {
  .hd-nav { display: flex; }
  .menu-btn { display: none; }
  .hd.buy-on .hd-buy { display: inline-flex; }
}
@media (max-width: 699px) { .hd-brand { font-size: 16px; gap: 8px; } }
@media (max-width: 359px) { .hd-brand b { font-size: 14px; } }

/* ---------- menu drawer ---------- */
.hd-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(24, 36, 59, .55); }
.hd-sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: 320px; max-width: 100%; overflow-y: auto; padding: 72px 24px 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: -10px 0 30px rgba(0, 0, 0, .25); }
.hd-x { position: absolute; top: 10px; right: 14px; }
.hd-links { display: flex; flex-direction: column; }
.hd-links a { display: block; padding: 10px 0; font: 500 22px/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid rgba(226, 199, 154, .25); }
.hd-links a:hover { color: var(--hinoki); }
.hd-acts { display: flex; flex-direction: column; gap: 12px; }
.hd-row { display: flex; gap: 12px; align-items: center; }
.hd-chart { flex: 1; }
@media (max-width: 479px) { .hd-sheet { width: 100%; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper-hi); font: 700 15px/1.4 var(--sans); text-align: center; box-shadow: 0 10px 24px rgba(42, 36, 32, .25);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }

/* ---------- footer frame (Part B styles the contents with ft-) ---------- */
.foot { position: relative; padding: 72px 0 40px; }
.foot a { color: inherit; }

/* ---------- 404 page ---------- */
.e404 { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 48px var(--m); text-align: center; }
.e404 h1 { font-size: min(clamp(34px, 5vw, 64px), 64px); }
.e404 img { width: 160px; height: 160px; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) { html:not(.js) * { transition: none !important; animation: none !important; } }

/* ==== 10-hero.css ==== */
/* #top — Arrival: noren, copy column (cols 1-6), spring photo in a cypress frame (cols 7-12) with steam over the water only. */
.tp { position: relative; padding: 0 0 72px; }
.tp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(6, auto) 1fr; column-gap: 24px; padding-top: 44px; }
.tp-grid > * { grid-column: 1 / 7; min-width: 0; }
.tp-eye { grid-row: 1; margin-bottom: 14px; }
.tp-name { grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.tp-name b { font: 700 clamp(22px, 2.2vw, 32px)/1.15 var(--serif); }
.tp-tick { display: inline-block; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 999px; font: 700 14px/1.2 var(--sans); letter-spacing: .04em; }
.tp h1 { grid-row: 3; margin-bottom: 18px; }
.tp-l1, .tp-l2 { display: block; }
.tp-lead { grid-row: 4; margin-bottom: 24px; }
.tp-key { grid-row: 5; margin-bottom: 24px; padding-left: 12px; }
.tp-acts { grid-row: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tp-photo { grid-column: 7 / 13; grid-row: 1 / 8; align-self: start; position: relative; margin-top: -12px; }
.tp-photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%; }

/* steam haze: bottom 28% of the photo (the water) only, never the face */
.tp-steam { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 28%; overflow: hidden; border-radius: 0 0 4px 4px; pointer-events: none; }
.tp-haze { position: absolute; left: -50%; bottom: -20%; width: 200%; height: 140%; }
.tp-haze-a { opacity: .35; background: radial-gradient(closest-side at 25% 70%, #fff, rgba(255, 255, 255, 0)), radial-gradient(closest-side at 70% 80%, #fff, rgba(255, 255, 255, 0)); }
.tp-haze-b { opacity: .25; background: radial-gradient(closest-side at 45% 75%, #fff, rgba(255, 255, 255, 0)), radial-gradient(closest-side at 90% 65%, #fff, rgba(255, 255, 255, 0)); }
html.js:not(.rm) .tp-haze-a { animation: tp-drift 18s ease-in-out infinite alternate; }
html.js:not(.rm) .tp-haze-b { animation: tp-drift 26s ease-in-out infinite alternate-reverse; }
html.js:not(.rm) .tp.off .tp-haze { animation-play-state: paused; }
@keyframes tp-drift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }

/* the key tag settles once on load */
html.js:not(.rm) .tp-key .key.tp-settle { animation: tp-settle .9s ease both; }
@keyframes tp-settle { from { transform: rotate(-2deg); } to { transform: rotate(0); } }

@media (min-width: 700px) and (max-width: 1099px) {
  .tp-grid > * { grid-column: 1 / 8; }
  .tp-photo { grid-column: 8 / 13; }
}

/* phones: one column, order = name, H1, photo, lead, key, Buy, Chart + X */
@media (max-width: 699px) {
  .tp { padding-bottom: 40px; }
  .tp-grid { display: flex; flex-direction: column; padding-top: 14px; }
  .tp-eye { display: none; }
  .tp-name { margin-bottom: 8px; gap: 6px 10px; }
  .tp-name b { font-size: 22px; }
  .tp-tick { font-size: 13px; padding: 3px 9px; }
  .tp h1 { margin-bottom: 12px; font-size: min(var(--h1), calc((100vw - 2 * var(--m)) / 10.3)); }
  .tp-photo { align-self: stretch; margin: 0 0 12px; }
  .tp-photo img { aspect-ratio: auto; height: 232px; object-position: 50% 38%; }
  .tp-steam { left: 8px; right: 8px; bottom: 8px; }
  .tp-lead { margin-bottom: 12px; font-size: 16px; }
  .tp-key { margin-bottom: 12px; padding-left: 0; }
  .tp-key .key { max-width: none; }
  .tp-acts { gap: 10px; }
  .tp-buy { flex: 1 0 100%; }
  .tp-chart { flex: 1; min-height: 44px; font-size: 15px; }
  .tp-x.rnd.lg { width: 44px; height: 44px; }
}
@media (max-width: 699px) and (max-height: 700px) {
  :root { --h1: 32px; }
  .tp-grid { padding-top: 10px; }
  .tp-name { margin-bottom: 6px; }
  .tp h1, .tp-photo, .tp-lead, .tp-key { margin-bottom: 10px; }
  .tp-photo img { height: 140px; object-position: 50% 20%; }   /* 38% cut the bun off at 140px tall */
  .tp-buy { min-height: 52px; }
}

/* ==== s01-02.css ==== */
/* Part A — #rules (ru-), #baths (bt-), #room (rm-). Kit classes are used, never restyled. */

/* ---------- #rules: three hanging wooden placards + logo-a frame ---------- */
.ru-grid { align-items: center; }
.ru-main { grid-column: 1 / 8; min-width: 0; }
.ru-photo { grid-column: 8 / 13; min-width: 0; }
.ru-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.ru-plaque {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 26px 20px 20px; background: var(--wood); border: 1px solid var(--cedar); border-radius: 6px;
  box-shadow: 0 8px 18px rgba(42, 36, 32, .10); color: var(--ink);
}
.ru-plaque::before, .ru-plaque::after {
  content: ""; position: absolute; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--cord);
}
.ru-plaque::before { left: 22%; }
.ru-plaque::after { right: 22%; }
.ru-n { font: 700 44px/1 var(--serif); color: var(--cedar); }
.ru-t h3 { margin: 4px 0 6px; }
.ru-t p { margin: 0; font-size: 17px; line-height: 1.5; }
@media (min-width: 1100px) {
  .ru-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ru-plaque { grid-template-columns: minmax(0, 1fr); }
}

/* the swing-in (once; html.rm shows the final state) */
html.js:not(.rm) .ru-go .ru-plaque {
  opacity: 0; transform: rotate(-4deg); transform-origin: 50% 0;
  transition: opacity .5s ease, transform .8s cubic-bezier(.3, 1.35, .5, 1);
}
html.js:not(.rm) .ru-go .ru-plaque:nth-child(2) { transition-delay: .12s; }
html.js:not(.rm) .ru-go .ru-plaque:nth-child(3) { transition-delay: .24s; }
html.js:not(.rm) .ru-go.ru-in .ru-plaque { opacity: 1; transform: none; }

/* ---------- #baths: wide lineup, then pond + note ---------- */
.bt-head { margin-bottom: 40px; }
.bt-wide { margin-bottom: 56px; }
.bt-row { align-items: center; }
.bt-pond { grid-column: 1 / 8; min-width: 0; }
.bt-note { grid-column: 8 / 13; min-width: 0; padding-top: 18px; border-top: 1px solid var(--hinoki-lo); }
.bt-note p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sub); }

/* ---------- #room: yukata frame + one-of-each list ---------- */
.rm-grid { margin-top: 40px; align-items: center; }
.rm-photo { grid-column: 1 / 8; min-width: 0; }
.rm-list { grid-column: 8 / 13; min-width: 0; list-style: none; margin: 0; padding: 0; }
.rm-list li { padding: 18px 0; font: 400 20px/1.4 var(--sans); }
.rm-list li + li { border-top: 1px solid var(--hinoki); }

@media (max-width: 699px) {
  .ru-grid, .bt-row, .rm-grid { align-items: stretch; }
  .ru-list { margin-top: 24px; }
  .ru-photo { margin-top: 16px; }
  .bt-head { margin-bottom: 28px; }
  .bt-wide { margin-bottom: 40px; }
  .rm-grid { margin-top: 28px; }
  .rm-list li { padding: 14px 0; font-size: 18px; }
}

/* ==== s03-04.css ==== */
/* Part B: #kitchen (kc-), #evening (ev-), #desk (dk-), footer contents (ft-). Kit classes are never restyled here. */

/* ---------- #kitchen ---------- */
.kc-head { max-width: 760px; margin-bottom: 48px; }
.kc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
@media (max-width: 899px) { .kc-row { gap: 20px; } }
@media (max-width: 699px) { .kc-head { margin-bottom: 32px; } .kc-row { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- #evening ---------- */
.ev-head { max-width: 1080px; margin: 0 auto 48px; }
.ev-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; max-width: 1080px; margin: 0 auto; }
.ev-line {
  margin: 64px auto 0; max-width: 24em; text-align: center;
  font-family: var(--serif); font-weight: 500; line-height: 1.3;
  font-size: min(clamp(24px, 2.6vw, 36px), calc(var(--h1) * .6));
}
@media (max-width: 699px) {
  .ev-head { margin-bottom: 32px; }
  .ev-row { grid-template-columns: 1fr; gap: 32px; }
  .ev-line { margin-top: 48px; font-size: min(24px, calc(var(--h1) * .7)); }
}

/* ---------- #desk ---------- */
.dk-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.dk-key { margin-top: 32px; }
.dk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.dk-book {
  background: var(--paper); border: 1px solid var(--hinoki-lo); border-radius: 6px;
  padding: 36px 32px; box-shadow: 0 10px 24px rgba(42, 36, 32, .08);
  border-top: 6px solid var(--indigo);
}
.dk-card { margin: 0 0 20px; }
.dk-hand { text-wrap: balance; font-size: 24px; line-height: 1.4; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hinoki-lo); }
.dk-dls { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 10px; }
.dk-dls .pill { width: 100%; padding: 0 14px; }
@media (max-width: 999px) { .dk-grid { grid-template-columns: 1fr; gap: 40px; } .dk-book { max-width: 560px; } }
@media (max-width: 699px) {
  .dk-key { margin-top: 24px; }
  .dk-book { padding: 24px 20px; }
  .dk-hand { font-size: 20px; }
}

/* ---------- footer contents ---------- */
.ft-in { display: grid; grid-template-columns: auto 1fr; gap: 32px 48px; align-items: center; }
.ft-brand { display: flex; align-items: center; gap: 16px; }
.ft-logo { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--hinoki); }
.ft-name { margin: 0 0 4px; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.2; }
.ft-tick { margin: 0; color: var(--mist); }
.ft-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
.ft-a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(244, 238, 226, .28); border-radius: 999px; background: none;
  color: inherit; font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer;
}
.ft-a:hover { border-color: var(--hinoki); }
.ft-fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(244, 238, 226, .16); color: var(--mist); }
.ft-fine .fine { margin: 0 0 6px; }
.ft-top {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; font: 700 15px/1 var(--sans); text-decoration: none;
}
.ft-top:hover { text-decoration: underline; }
@media (max-width: 899px) {
  .ft-in { grid-template-columns: 1fr; gap: 28px; }
  .ft-links { justify-content: flex-start; }
}

/* ==== s05-06.css ==== */


