/*
Theme Name: Kaoru Cocoa
Theme URI: https://github.com/oberonlai/shippress-themes
Author: ShipPress
Author URI: https://github.com/oberonlai/shippress-themes
Description: A calm, serif WordPress theme for artisan chocolatiers and cocoa cafes. A centred framed photo window on white, three dotted vertical phrase strips, an hour-keyed half-viewport photo plate that changes as the making day passes, a staggered wall of one-pixel outline menu cards, a parallax marble band and a dotted accordion for cake orders. Booking-led, with optional contact and newsletter forms that work without a plugin.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaoru-cocoa
Tags: block-patterns, full-site-editing, one-column, custom-colors, editor-style, photography, food-and-drink
*/

:root {
	--kc-base: var(--wp--preset--color--base);
	--kc-panel: var(--wp--preset--color--panel);
	--kc-ink: var(--wp--preset--color--ink);
	--kc-muted: var(--wp--preset--color--muted);
	--kc-brand: var(--wp--preset--color--brand);
	--kc-brand-soft: var(--wp--preset--color--brand-soft);
	--kc-brand-dark: var(--wp--preset--color--brand-dark);
	--kc-hair: var(--wp--preset--color--hairline);
	--kc-accent: var(--wp--preset--color--accent);
	--kc-display: var(--wp--preset--font-family--display);
	--kc-body: var(--wp--preset--font-family--body);
	--kc-header-h: 72px;
	--kc-gap: clamp(96px, 15.3vw, 220px);
	--kc-h: calc(100svh - var(--kc-header-h));
	--kc-ease: cubic-bezier(.4, .4, 0, 1);
	/* forms: map the shared form tokens to the theme tokens */
	--sp-form-accent: var(--wp--preset--color--brand);
	--sp-form-on-accent: #fff;
	--sp-form-radius: 4px;
	--sp-form-focus: var(--wp--preset--color--ink);
	--sp-form-surface: #fff;
	--sp-form-text: var(--wp--preset--color--ink);
	--sp-form-border: #BDB6AF;
}

body { font-family: var(--kc-body); font-size: 1rem; line-height: 1.6; letter-spacing: .03em; color: var(--kc-ink); background: var(--kc-base); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--kc-display); font-weight: 400; font-variation-settings: "opsz" 48, "SOFT" 0, "WONK" 0; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks { overflow-x: clip; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .3s; text-decoration-color: transparent; }
a:hover { text-decoration: underline; text-decoration-color: var(--kc-accent); }
:focus-visible { outline: 2px solid var(--kc-ink); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- buttons ---------- */
.kc-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.kc-btn .wp-block-button__link { font-family: var(--kc-body); font-size: .875rem; font-weight: 600; letter-spacing: .03em; line-height: 1.4; min-height: 40px; display: inline-flex; align-items: center; box-sizing: border-box; transition: background-color .3s, color .3s; }
.kc-btn--primary .wp-block-button__link { background: var(--kc-brand); color: #fff; border-radius: 4px; padding: 10px 18px; }
.kc-btn--primary .wp-block-button__link:hover { background: var(--kc-brand-dark); text-decoration: none; }
.kc-btn--pill .wp-block-button__link { background: transparent; color: var(--kc-ink); border: 1px solid var(--kc-ink); border-radius: 999px; padding: 9px 18px; }
.kc-btn--pill .wp-block-button__link:hover { background: var(--kc-panel); text-decoration: none; }
.kc-btn .wp-block-button__link:focus-visible { outline: 2px solid var(--kc-ink); outline-offset: 3px; }

/* ---------- header ---------- */
.kc-head-part { position: sticky; top: 0; z-index: 50; background: var(--kc-base); border-bottom: 1px dotted var(--kc-hair); }
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.kc-head-part { animation: kc-rule linear both; animation-timeline: scroll(); animation-range: 0 90px; }
		@keyframes kc-rule { from { border-bottom-color: transparent; } to { border-bottom-color: var(--kc-brand); } }
	}
}
.kc-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--kc-header-h); padding: 0 24px; box-sizing: border-box; gap: 16px; }
.kc-sitetitle { margin: 0; font-family: var(--kc-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; justify-self: start; }
.kc-sitetitle a:hover { text-decoration: none; }
.kc-nav { justify-self: center; font-family: var(--kc-display); font-size: 1rem; line-height: 1.4; letter-spacing: 0; }
.kc-nav .wp-block-navigation-item__content { padding: 5px 8px; font-family: var(--kc-display); }
.kc-nav .wp-block-navigation__container { gap: 4px; }
.kc-nav .wp-block-navigation-item__content:hover, .kc-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-color: var(--kc-accent); text-underline-offset: 6px; }
.kc-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration-color: var(--kc-accent); }
.kc-circle-wrap { justify-self: end; margin: 0; }
.kc-circle { width: 36px; height: 36px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 50%; background: #fff; display: grid; place-items: center; box-sizing: border-box; }
.kc-circle:hover { text-decoration: none; }
.kc-bag { display: block; transition: transform .6s cubic-bezier(.58, .21, .41, .96); }
.kc-circle:hover .kc-bag { transform: translateY(-2px); }
.kc-nav .wp-block-navigation__responsive-container-open { font-family: var(--kc-display); font-size: 1rem; color: var(--kc-ink); padding: 5px 8px; }
.kc-nav .wp-block-navigation__responsive-container-open svg { display: none; }
.kc-nav .wp-block-navigation__responsive-container-open::before { content: "Menu"; }
.kc-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--kc-base); color: var(--kc-ink); padding: 24px; }
.kc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 8px; align-items: flex-start; }
.kc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; }
@media (max-width: 1099px) {
	.kc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.kc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.kc-header { --kc-header-h: 60px; height: 60px; padding: 0 16px; }
	.kc-header .kc-nav { grid-column: 1; grid-row: 1; justify-self: start; }
	.kc-header .kc-sitetitle { grid-column: 2; grid-row: 1; justify-self: center; font-size: 1.125rem; }
	.kc-header .kc-circle-wrap { grid-column: 3; grid-row: 1; }
	:root { --kc-header-h: 60px; }
}

/* ---------- shared type ---------- */
.kc-word { font-size: 4.5rem; line-height: 1; letter-spacing: -.02em; color: var(--kc-ink); margin: 0 0 48px; }
.kc-body { font-size: 1rem; line-height: 1.6; letter-spacing: .03em; margin: 0 0 20px; max-width: 600px; }
.kc-note { font-size: .875rem; line-height: 1.4; letter-spacing: .05em; color: var(--kc-muted); margin-top: 20px; }
.kc-fact { font-size: .875rem; line-height: 1.4; letter-spacing: .05em; color: var(--kc-muted); border-top: 1px dotted var(--kc-brand); padding: 8px 0 0; margin: 8px 0 0; max-width: 600px; }
.kc-link { margin-top: 20px; font-size: .9375rem; }
.kc-link a { border-bottom: 1px solid transparent; }
.kc-meta { font-size: .75rem; line-height: 1.4; letter-spacing: .05em; color: var(--kc-muted); margin: 0 0 4px; }
.kc-label { font-style: italic; font-size: .875rem; color: var(--kc-muted); margin-bottom: 12px; }
.kc-numeral { margin: 0 0 16px; }
.kc-numeral span { display: block; font-size: .75rem; line-height: 1.4; color: var(--kc-muted); letter-spacing: .05em; }
.kc-numeral b { display: block; font-family: var(--kc-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }

/* ---------- hero: framed window ---------- */
.kc-hero { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px 16px 24px; box-sizing: border-box; }
.kc-window { order: 1; width: min(672px, 100%); padding: 12px; border: 1px solid var(--kc-brand); box-sizing: border-box; }
.kc-window__photo { aspect-ratio: 16 / 10; overflow: clip; width: 100%; }
.kc-window__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.kc-hero__text { order: 2; width: 100%; max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.kc-mark { display: block; margin: 16px auto 0; }
.kc-h1 { font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.02em; margin: 12px 0 0; font-variation-settings: "opsz" 48, "SOFT" 0, "WONK" 0; }
.kc-lede { font-size: 1.125rem; line-height: 1.6; letter-spacing: .03em; margin: 12px 0 0; max-width: 40em; }
.kc-hours { font-size: .875rem; line-height: 1.4; letter-spacing: .05em; color: var(--kc-muted); margin: 12px 0 0; }
.kc-strips { order: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 16px 0 0; }
.kc-strip { font-family: var(--kc-display); font-style: italic; font-size: 1.0625rem; line-height: 1.4; text-decoration: underline dotted; text-decoration-color: var(--kc-brand); text-underline-offset: 6px; }
.kc-logorow { order: 4; width: min(1192px, 100%); margin-top: 24px; padding-top: 14px; border-top: 1px dotted var(--kc-brand); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 40px; box-sizing: border-box; }
.kc-logorow__label { font-style: italic; font-size: .8125rem; color: var(--kc-muted); }
.kc-logorow__name { font-family: var(--kc-display); font-weight: 600; font-size: .9375rem; text-transform: uppercase; letter-spacing: .14em; color: var(--kc-brand-soft); }
@media (min-width: 1280px) {
	.kc-strips { position: absolute; top: 0; left: calc(50% + 384px); flex-direction: row-reverse; align-items: flex-start; gap: 20px; margin: 0; }
	.kc-strip { writing-mode: vertical-rl; display: block; width: 60px; box-sizing: border-box; border-left: 1px dotted var(--kc-brand); border-right: 1px dotted var(--kc-brand); padding: 16px 0; font-size: 1.25rem; line-height: 60px; letter-spacing: 2px; text-decoration: none; margin: 0; }
	.kc-strip--1 { min-height: 260px; }
	.kc-strip--2 { min-height: 240px; }
	.kc-strip--3 { min-height: 185px; }
}
@media (max-width: 781px) {
	.kc-hero { padding: 12px 16px 24px; }
	.kc-window__photo { aspect-ratio: 4 / 5; }
	.kc-window__photo { --sp-par: 4%; }
	.kc-mark { width: 92px; height: 44px; }
	.kc-h1 { font-size: 3rem; }
	.kc-lede { font-size: 1.0625rem; line-height: 1.6; }
	.kc-hero .kc-btns { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
	.kc-hero .kc-btn .wp-block-button__link { width: 100%; justify-content: center; }
	.kc-logorow { gap: 4px 24px; }
	.kc-logorow__name { font-size: .8125rem; }
}
.kc-window__photo { --sp-par: 6%; }
@media (max-width: 781px) { .kc-window__photo { --sp-par: 4%; } }
@media (prefers-reduced-motion: no-preference) {
	html.sp-js:not(.sp-no-motion) .kc-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: kc-draw 1.6s ease-out .2s forwards; }
	@keyframes kc-draw { to { stroke-dashoffset: 0; } }
}

/* ---------- T1: hour-keyed half-viewport plate ---------- */
.kc-today { margin-top: 24px; }
.kc-today__grid { display: grid; grid-template-columns: 50% 50%; grid-template-rows: repeat(4, auto); }
.kc-hour { display: contents; }
.kc-plate { grid-column: 1; align-self: start; position: sticky; top: var(--kc-header-h); height: var(--kc-h); overflow: clip; margin: 0; background: var(--kc-panel); }
.kc-hour--1 .kc-plate { grid-row: 1 / -1; }
.kc-hour--2 .kc-plate { grid-row: 2 / -1; }
.kc-hour--3 .kc-plate { grid-row: 3 / -1; }
.kc-hour--4 .kc-plate { grid-row: 4 / -1; }
.kc-hour--1 .kc-hour__text { grid-row: 1; }
.kc-hour--2 .kc-hour__text { grid-row: 2; }
.kc-hour--3 .kc-hour__text { grid-row: 3; }
.kc-hour--4 .kc-hour__text { grid-row: 4; }
.kc-plate__img { --sp-dist: 0px; --sp-dur: .5s; --sp-ease: var(--kc-ease); height: 100%; width: 100%; }
.kc-plate__img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.kc-plate__tag { position: absolute; left: 32px; bottom: 32px; margin: 0; background: #fff; color: var(--kc-ink); padding: 6px 10px; font-family: var(--kc-display); font-size: .9375rem; line-height: 1.3; letter-spacing: .02em; }
.kc-hour__text { grid-column: 2; min-height: var(--kc-h); box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 64px 40px 64px 60px; max-width: 700px; }
.kc-hour__text--first .kc-word { margin-bottom: 32px; }
.kc-hour__entry { --sp-dist: 12px; --sp-dur: .3s; --sp-ease: var(--kc-ease); margin-top: 8px; }
.kc-hour__text--first .kc-hour__entry { margin-top: 32px; }
.kc-hour__title { font-size: 2.25rem; line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; }
@media (max-width: 1099px) { .kc-hour__text { padding: 48px 40px; } }
@media (max-width: 781px) {
	.kc-today__grid { display: block; }
	.kc-hour { display: block; margin-bottom: 40px; }
	.kc-plate { position: static; height: auto; aspect-ratio: 4 / 5; background: none; overflow: visible; }
	.kc-plate__img { aspect-ratio: 4 / 5; }
	.kc-plate__tag { position: static; background: none; padding: 8px 16px 0; font-size: .875rem; color: var(--kc-muted); font-family: var(--kc-body); }
	.kc-plate { aspect-ratio: auto; }
	.kc-hour__text { min-height: 0; padding: 16px 16px 24px; max-width: none; }
	.kc-word { font-size: 3rem; margin-bottom: 28px; }
}

/* ---------- days: T4 panel ---------- */
.kc-days { max-width: 720px; margin: var(--kc-gap) auto 0; padding: 0 24px; box-sizing: border-box; }
.kc-panel { background: var(--kc-panel); border-radius: 4px; padding: 24px 20px 32px; }
.kc-panel__head { text-align: center; font-family: var(--kc-display); font-size: 1.25rem; line-height: 1.3; padding-bottom: 14px; border-bottom: 1px solid var(--kc-ink); margin: 0 0 4px; }
.kc-panel__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--kc-hair); }
.kc-panel__row:last-child { border-bottom: 0; padding-bottom: 0; }
.kc-panel__cell { margin: 0; }
.kc-panel__cell span { display: block; font-size: .75rem; line-height: 1.4; color: var(--kc-muted); letter-spacing: .05em; }
.kc-panel__cell b { display: block; font-family: var(--kc-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }
.kc-panel__text { margin: 0; font-size: .9375rem; line-height: 1.5; letter-spacing: .05em; }
.kc-panel--hours { margin: 0 0 24px; }
.kc-panel--hours .kc-panel__row { grid-template-columns: 170px 1fr; }
.kc-panel--hours .kc-panel__cell b { font-size: 1.25rem; }
@media (max-width: 520px) { .kc-panel--hours .kc-panel__row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- T2: outline card wall ---------- */
.kc-counter { max-width: 1192px; margin: var(--kc-gap) auto 0; padding: 0 24px; box-sizing: border-box; }
.kc-counter__head { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 70px; }
.kc-counter__head .kc-word { margin: 0; }
.kc-counter__intro { max-width: 480px; }
.kc-wall { display: grid; grid-template-columns: repeat(3, 384px); column-gap: 20px; justify-content: center; align-items: start; }
.kc-wall__col { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.kc-wall__col--2 { margin-top: 170px; }
.kc-wall__col--3 { margin-top: 350px; }
.kc-counter + .kc-slab { margin-top: max(48px, calc(var(--kc-gap) - 180px)); }
.kc-wall .sp-reveal { --sp-dist: 20px; --sp-dur: .6s; --sp-ease: ease-out; }
.kc-tagline { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; }
.kc-chip { border: 1px solid var(--kc-brand); border-radius: 3px; padding: 2px 6px; font-family: var(--kc-body); font-weight: 600; font-size: .625rem; line-height: 1.3; letter-spacing: .02em; color: var(--kc-brand); font-style: normal; }
.kc-tagline em { font-family: var(--kc-display); font-style: italic; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--kc-brand); }
.kc-card { border: 1px solid var(--kc-brand); border-radius: 5px; background: #fff; }
.kc-card__head { padding: 16px 20px; }
.kc-card__title { font-size: 2rem; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 6px; }
.kc-card__sub { font-size: .875rem; line-height: 1.4; letter-spacing: .05em; color: var(--kc-muted); margin: 0; }
.kc-price { margin: 0; border-top: 1px solid var(--kc-brand); padding: 8px 20px; text-align: right; white-space: nowrap; line-height: 1.6; }
.kc-price__item { white-space: nowrap; display: inline-block; }
.kc-price__item + .kc-price__item { margin-left: 14px; }
.kc-price__lab { font-weight: 600; font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--kc-muted); }
.kc-price b { font-family: var(--kc-display); font-weight: 400; font-size: 1.25rem; letter-spacing: 0; }
.kc-card__img { margin: 16px; border-radius: 5px; overflow: clip; }
.kc-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.kc-card__img--45 { aspect-ratio: 4 / 5; }
.kc-card__img--sq { aspect-ratio: 1; }
.kc-card__img img[src*="card-bar"] { object-position: 50% 0; }
@media (max-width: 1239px) {
	.kc-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kc-wall__col--2 { margin-top: 100px; }
	.kc-wall__col--3 { margin-top: 200px; }
	.kc-card__title { font-size: 1.5rem; }
	.kc-price { padding: 8px 14px; white-space: normal; }
	.kc-card__head { padding: 14px; }
}
@media (max-width: 781px) {
	.kc-counter__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
	.kc-wall { grid-template-columns: minmax(0, 420px); }
	.kc-wall__col--2, .kc-wall__col--3 { margin-top: 0; }
	.kc-wall { row-gap: 40px; }
	.kc-wall__col { display: contents; }
	.kc-wall .kc-cardwrap { order: 0; }
	.kc-wall__col--1 > .kc-cardwrap:nth-child(1) { order: 1; }
	.kc-wall__col--2 > .kc-cardwrap:nth-child(1) { order: 2; }
	.kc-wall__col--3 > .kc-cardwrap:nth-child(1) { order: 3; }
	.kc-wall__col--1 > .kc-cardwrap:nth-child(2) { order: 4; }
	.kc-wall__col--2 > .kc-cardwrap:nth-child(2) { order: 5; }
	.kc-wall__col--3 > .kc-cardwrap:nth-child(2) { order: 6; }
	.kc-wall .sp-reveal { opacity: 1 !important; transform: none !important; }
	.kc-card__title { font-size: 2rem; }
	.kc-price { white-space: nowrap; padding: 8px 20px; }
}

/* ---------- slab band (parallax) ---------- */
.kc-slab { --sp-par: 10%; position: relative; height: 640px; margin-top: var(--kc-gap); }
.kc-slab > figure { position: absolute; inset: 0; margin: 0; overflow: clip; }
.kc-slab > figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-slab__card { position: absolute; left: 60px; bottom: 60px; width: 380px; max-width: calc(100% - 32px); box-sizing: border-box; background: #fff; border: 1px solid var(--kc-brand); padding: 24px; }
.kc-slab__title { font-size: 1.5rem; line-height: 1.2; margin: 0 0 10px; }
.kc-slab__text { font-size: .9375rem; line-height: 1.6; margin: 0; }
@media (max-width: 781px) {
	.kc-slab { --sp-par: 6%; height: auto; }
	.kc-slab > figure { position: relative; height: 420px; }
	.kc-slab__card { position: static; width: auto; max-width: none; margin: 0 16px; border-top: 0; }
}

/* ---------- cakes: sticky photo + dotted accordion ---------- */
.kc-cakes { margin-top: var(--kc-gap); }
.kc-cakes__grid { max-width: 1192px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.kc-cakes__photo { position: sticky; top: 112px; }
.kc-cakes__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kc-acc { margin: 32px 0 8px; }
.kc-acc__row { --sp-dist: 12px; --sp-dur: .3s; --sp-ease: var(--kc-ease); border-bottom: 1px dotted var(--kc-brand); }
.kc-acc__row:first-child { border-top: 1px dotted var(--kc-brand); }
.kc-acc__row summary { display: block; position: relative; box-sizing: border-box; min-height: 150px; cursor: pointer; list-style: none; font-family: var(--kc-display); font-size: 2.25rem; line-height: 1; letter-spacing: -.02em; padding: 52px 44px 40px 0; }
.kc-acc__row summary::-webkit-details-marker { display: none; }
.kc-acc__row summary::marker { content: ""; }
.kc-acc__row summary em { display: block; margin-top: 8px; font-family: var(--kc-body); font-style: normal; font-size: .875rem; line-height: 1.4; letter-spacing: .05em; color: var(--kc-muted); }
.kc-acc__row > p { margin: 0 0 28px; font-size: 1rem; line-height: 1.6; max-width: 560px; }
@media (max-width: 781px) {
	.kc-cakes__grid { grid-template-columns: 1fr; gap: 32px; padding: 0 16px; }
	.kc-cakes__photo { position: static; }
	.kc-acc__row summary { min-height: 96px; font-size: 1.75rem; padding-top: 28px; padding-bottom: 24px; }
}

/* ---------- stories: dotted rows ---------- */
.kc-stories { max-width: 720px; margin: var(--kc-gap) auto 0; padding: 0 24px; box-sizing: border-box; }
.kc-stories .kc-word { margin-bottom: 40px; }
.kc-story { display: flex; align-items: flex-start; gap: 14px; padding: 24px 0; border-top: 1px dotted var(--kc-brand); }
.kc-stories__rows .kc-story:last-child { border-bottom: 1px dotted var(--kc-brand); }
.kc-story__img { flex: none; width: 100px; height: 100px; border: 1px solid var(--kc-hair); box-sizing: border-box; }
.kc-story__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kc-story__text { min-width: 0; }
.kc-story__title { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 6px; }
.kc-story__note { font-size: .9375rem; line-height: 1.55; margin: 0; }
@media (max-width: 520px) { .kc-story { flex-direction: column; } }

/* ---------- visit ---------- */
.kc-visit { margin-top: var(--kc-gap); }
.kc-visit__grid { max-width: 1192px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.kc-visit__img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kc-visit .kc-word { margin-bottom: 24px; }
.kc-address { font-size: 1rem; line-height: 1.6; margin: 0 0 24px; }
.kc-visit .kc-btns { justify-content: flex-start; }
@media (max-width: 781px) { .kc-visit__grid { grid-template-columns: 1fr; gap: 32px; padding: 0 16px; } }

/* ---------- letter ---------- */
.kc-letter { max-width: 1192px; margin: var(--kc-gap) auto var(--kc-gap); padding: 0 24px; box-sizing: border-box; }
.kc-letter__panel { background: var(--kc-panel); border-radius: 4px; padding: 48px 60px; display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.kc-letter__title { font-size: 2.25rem; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
.kc-letter .kc-body { margin: 0; }
@media (max-width: 781px) { .kc-letter { padding: 0 16px; } .kc-letter__panel { grid-template-columns: 1fr; padding: 32px 20px; gap: 28px; } }

/* ---------- forms (scoped to the form slot) ---------- */
.sp-form-slot { margin: 0; }
.sp-newsletter-fallback { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.sp-newsletter-fallback label { flex: 1 0 100%; font-family: var(--kc-body); font-weight: 600; font-size: .875rem; color: var(--kc-ink); }
.sp-newsletter-fallback input[type="email"] { flex: 1 1 220px; min-width: 0; height: 46px; padding: 0 14px; font: 400 1rem var(--kc-body); }
.sp-newsletter-fallback button { height: 46px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--kc-brand); color: #fff; font: 600 .875rem var(--kc-body); cursor: pointer; transition: background-color .3s; }
.sp-newsletter-fallback button:hover { background: var(--kc-brand-dark); }
.sp-newsletter-fallback p { flex: 1 0 100%; margin: 4px 0 0; font-size: .8125rem; line-height: 1.45; letter-spacing: .05em; color: var(--kc-muted); }

/* ---------- footer ---------- */
.kc-footer { margin-top: 0; border-top: 1px dotted var(--kc-brand); padding: 72px 24px 32px; box-sizing: border-box; }
.kc-footer__cols { max-width: 1192px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.kc-footer__title { margin: 8px 0 8px; font-family: var(--kc-display); font-size: 1.25rem; }
.kc-footer__text { font-size: .875rem; line-height: 1.6; letter-spacing: .03em; margin: 0; }
.kc-footer__label { font-family: var(--kc-display); font-style: italic; font-size: .875rem; color: var(--kc-muted); margin: 0 0 8px; }
.kc-footer__letter { margin-top: 12px; }
.kc-footer__legal { max-width: 1192px; margin: 48px auto 0; font-size: .75rem; line-height: 1.5; color: var(--kc-muted); letter-spacing: .05em; }
@media (max-width: 781px) { .kc-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .kc-footer { padding: 48px 16px 24px; } }

/* ---------- inner templates (archive, page, single, search, 404) ---------- */
.kc-pagehead { max-width: 1192px; margin: 0 auto; padding: 72px 24px 24px; box-sizing: border-box; }
.kc-word--page { margin-bottom: 0; font-size: 3.5rem; line-height: 1.05; }
.kc-sec--in { max-width: 1192px; margin: 0 auto; padding: 24px 24px 0; box-sizing: border-box; }
.kc-col { max-width: 720px; margin: 0 auto; }
.kc-page__body > * + * { margin-top: 20px; }
.kc-row { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 14px; padding: 24px 0; border-top: 1px dotted var(--kc-brand); }
.kc-row__img { flex: none; width: 100px; border: 1px solid var(--kc-hair); box-sizing: border-box; }
.kc-row__img img { display: block; width: 100px; height: 100px; object-fit: cover; }
.kc-single__img img { width: 100%; height: auto; }
.kc-tags a { display: inline-block; border: 1px solid var(--kc-brand); border-radius: 3px; padding: 2px 8px; font-size: .75rem; color: var(--kc-brand); margin: 24px 6px 0 0; }
.kc-rows { list-style: none; padding: 0; margin: 0; }
@media (max-width: 781px) { .kc-pagehead, .kc-sec--in { padding-left: 16px; padding-right: 16px; } .kc-word--page { font-size: 2.5rem; } }

.kc-cakes .kc-btns { justify-content: flex-start; }
.kc-footer__col .kc-mark { margin: 0; }
.kc-footer a, .kc-story__title a { color: inherit; }

/* the 24px disc chevron is drawn as the summary's background image (no pseudo-element dot) */
.kc-acc__row summary { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%236B5A4E'/%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 24px 24px no-repeat; }
.kc-acc__row[open] summary { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%236B5A4E'/%3E%3Cpath d='M7 14l5-5 5 5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- inner pages: framed window head (T3), sections, dotted rows, price table ---------- */
.kc-ihead .kc-window { width: min(560px, calc(100% - 0px)); }
.kc-ihead__photo { aspect-ratio: 16 / 9; }
.kc-ihead__text { padding-top: 8px; }
.kc-h1--in { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.05; margin: 8px 0 0; max-width: 16em; }
.kc-ihead .kc-lede { max-width: 34em; }
@media (min-width: 1280px) { .kc-ihead .kc-strips { left: calc(50% + 304px); } }
@media (max-width: 781px) { .kc-ihead__photo { aspect-ratio: 16 / 10; } .kc-h1--in { font-size: 2.25rem; } }
.kc-main--inner > .kc-ihead + * { margin-top: 0; }
.kc-isec { max-width: 720px; margin: clamp(56px, 7vw, 104px) auto 0; padding: 0 24px; box-sizing: border-box; }
.kc-isec--wide { max-width: 1192px; }
.kc-h2 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 24px; }
.kc-h2--plain { font-size: 1.75rem; margin: 32px 0 12px; }
.kc-isec .kc-body, .kc-hour__text .kc-body { max-width: 640px; }
.kc-isec .kc-btns { justify-content: flex-start; }
.kc-isec .kc-panel { margin-top: 28px; }
.kc-today--in { margin-top: clamp(56px, 7vw, 104px); }
.kc-hour__text .kc-h2 { margin-bottom: 20px; }
.kc-hour__text .kc-acc { margin: 24px 0 0; }
.kc-counter--in { margin-top: clamp(56px, 7vw, 104px); }
.kc-wall--in .kc-wall__col--2 { margin-top: 80px; }
.kc-wall--in .kc-wall__col--3 { margin-top: 160px; }
@media (max-width: 1239px) { .kc-wall--in .kc-wall__col--2 { margin-top: 56px; } .kc-wall--in .kc-wall__col--3 { margin-top: 112px; } }
@media (max-width: 781px) { .kc-wall--in .kc-wall__col--2, .kc-wall--in .kc-wall__col--3 { margin-top: 0; } }
.kc-dot-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px dotted var(--kc-brand); }
.kc-dots .kc-dot-row:last-child { border-bottom: 1px dotted var(--kc-brand); }
.kc-dot-row__time { font-family: var(--kc-display); font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; margin: 0; }
.kc-dot-row__name { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 2px; }
.kc-dot-row__line { font-size: .9375rem; line-height: 1.55; margin: 0; }
.kc-dot-row .kc-meta { margin-bottom: 6px; }
@media (max-width: 520px) { .kc-dot-row { grid-template-columns: 1fr; gap: 6px; } }
.kc-acc--qa .kc-acc__row summary { min-height: 0; font-size: 1.5rem; line-height: 1.15; padding: 24px 44px 20px 0; }
.kc-acc--qa .kc-acc__row summary em { margin-top: 6px; }
.kc-pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 80px; align-items: start; }
.kc-pgrid__card { min-width: 0; }
.kc-pgrid__form { border: 1px solid var(--kc-brand); border-radius: 5px; padding: 24px 20px; background: #fff; }
.kc-pgrid__form .kc-card__title { font-size: 1.5rem; margin-bottom: 16px; }
.kc-pgrid__form .kc-btns { justify-content: flex-start; margin-top: 0; }
.kc-form { margin-top: 20px; }
.kc-isec .kc-form { margin-top: 24px; }
.kc-form__note { margin: 14px 0 0; font-size: .9375rem; line-height: 1.55; max-width: 560px; }
@media (max-width: 899px) { .kc-pgrid { grid-template-columns: 1fr; gap: 40px; } .kc-pgrid__card { max-width: 420px; } }
.kc-letter__panel { margin: 0; }
.kc-isec--wide .kc-letter__panel { padding: 48px 60px; }
@media (max-width: 781px) { .kc-isec--wide .kc-letter__panel { padding: 32px 20px; } }
.kc-slab .kc-slab__img { position: absolute; inset: 0; margin: 0; overflow: clip; }
.kc-slab .kc-slab__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 781px) { .kc-slab .kc-slab__img { position: relative; height: 420px; } }

/* price table: full width from 782px, price column never cut, stacked on phones */
.is-style-kc-prices { margin: 0; width: 100%; }
.is-style-kc-prices table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 1rem; line-height: 1.5; }
.is-style-kc-prices th { font-family: var(--kc-display); font-weight: 400; font-size: 1.125rem; text-align: left; padding: 0 16px 12px 0; border-bottom: 1px solid var(--kc-ink); }
.is-style-kc-prices td { padding: 16px 16px 16px 0; border-bottom: 1px dotted var(--kc-brand); vertical-align: baseline; }
.is-style-kc-prices td:first-child { font-family: var(--kc-display); font-size: 1.25rem; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
.is-style-kc-prices th:last-child, .is-style-kc-prices td:last-child { text-align: right; white-space: normal; min-width: 9rem; padding-right: 0; }
.is-style-kc-prices td b { font-family: var(--kc-display); font-weight: 400; font-size: 1.25rem; }
@media (max-width: 781px) {
	.is-style-kc-prices table, .is-style-kc-prices tbody, .is-style-kc-prices tr, .is-style-kc-prices td { display: block; width: 100%; box-sizing: border-box; }
	.is-style-kc-prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.is-style-kc-prices tr { padding: 16px 0; border-bottom: 1px dotted var(--kc-brand); }
	.is-style-kc-prices td { padding: 0; border: 0; }
	.is-style-kc-prices td:first-child { white-space: normal; }
	.is-style-kc-prices td:nth-child(2) { color: var(--kc-muted); font-size: .9375rem; margin: 4px 0 8px; }
	.is-style-kc-prices th:last-child, .is-style-kc-prices td:last-child { text-align: left; white-space: normal; }
}
.kc-main--inner { padding-bottom: clamp(64px, 8vw, 120px); }
.kc-acc--qa .kc-acc__row > p { margin-top: -4px; }
.is-style-kc-prices td, .is-style-kc-prices th { border-width: 0 0 1px; }
.is-style-kc-prices th { border-bottom: 1px solid var(--kc-ink); }
.is-style-kc-prices td { border-bottom: 1px dotted var(--kc-brand); }
@media (max-width: 781px) { .is-style-kc-prices td { border: 0; } }

/* Languages: Chinese uses a bundled Noto Serif TC subset for headings (CJK characters only; Latin and figures stay in Fraunces / Source Serif 4). Body uses system Chinese fonts. */
:root:lang(zh) {
	--wp--preset--font-family--display: "Fraunces", "Noto Serif TC", "Noto Serif CJK TC", serif;
	--wp--preset--font-family--body: "Source Serif 4", "PingFang TC", "Noto Serif CJK TC", "Microsoft JhengHei", serif;
}
:is(:lang(zh), :lang(ja)) body { line-height: 1.85; letter-spacing: 0.03em; line-break: strict; }
:is(:lang(zh), :lang(ja)) :is(h1, h2, h3, h4) { line-height: 1.4; letter-spacing: 0.04em; }
:is(:lang(zh), :lang(ja)) :is(em, i, cite) { font-style: normal; }
:is(:lang(fr), :lang(de)) :is(p, h1, h2, h3) { hyphens: auto; }
:is(:lang(zh), :lang(ja)) .kc-h1 { font-size: clamp(2.25rem, 4.6vw, 3.4rem); line-height: 1.25; letter-spacing: .02em; }
:is(:lang(zh), :lang(ja)) .has-display-font-size { font-size: clamp(2.25rem, 4.6vw, 3.4rem); }
:is(:lang(fr), :lang(de)) .kc-h1 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); }
:root:lang(ja) {
	--wp--preset--font-family--display: "Fraunces", "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--wp--preset--font-family--body: "Source Serif 4", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
}
:lang(ja) :is(h1, h2, h3, p) { word-break: auto-phrase; }
