/* ==========================================================================
   hx/caviar.css — 03 Our story (prefix hxv-). Markup: template-parts/home-2026/caviar.php

   19 Oct 2026, after Sensai's "Our Story", in the site's colours: a room, not a plate.
   Warm ivory ground (--hx-ivory). Centred head (title, one story line in the serif, an
   outlined square "Discover"), then a triptych: three 4:5 photographs on a 6px seam, each
   with its chapter name and one line centred beneath. Three across from 900px; below that
   the chapters stack at 4:3 so the story stays short on a phone.
   Type roles: hx/typeset.css. Vertical rhythm: --ts-room (hx/composition.css).
   ========================================================================== */

body.cos-h26 .hxv{
	position:relative;
	background:var(--hx-ivory);
	color:var(--hx-text);
	padding-block:var(--ts-room,clamp(88px,3.5rem + 5.5vw,152px));
}
body.cos-h26 .hxv :where(h2,h3,p,ul,li){margin:0;padding:0}

/* ─── Head ───────────────────────────────────────────────────────────── */
body.cos-h26 .hxv__head{
	display:flex;
	flex-direction:column;
	align-items:center;
	text-align:center;
	margin-bottom:clamp(48px,1.5rem + 4vw,96px);
}
body.cos-h26 .hxv__story{margin-top:var(--hx-s-4);max-width:26em;text-wrap:balance}
/* 4 Nov 2026: the outlined DISCOVER action was removed (distill); the triptych panels are the links. */

/* ─── Triptych ───────────────────────────────────────────────────────── */
body.cos-h26 .hxv__chapters{
	list-style:none;
	display:grid;
	grid-template-columns:minmax(0,1fr);
	row-gap:clamp(40px,8vw,56px);
}
body.cos-h26 .hxv__chapter{list-style:none;display:grid}
body.cos-h26 .hxv__chapter::marker{content:none}
@media (min-width:900px){
	body.cos-h26 .hxv__chapters{
		grid-template-columns:repeat(3,minmax(0,1fr));
		grid-template-rows:auto auto auto;
		column-gap:6px;
		row-gap:0;
	}
	body.cos-h26 .hxv__chapter{grid-row:span 3;grid-template-rows:subgrid} /* frame / name / line aligned across */
}

body.cos-h26 .hxv__link,
body.cos-h26 .hxv__link:visited,
body.cos-h26 .hxv__link:hover{
	display:grid;
	grid-row:span 3;
	grid-template-rows:subgrid;
	justify-items:center;
	align-items:start;
	text-align:center;
	color:inherit;
	text-decoration:none;
	-webkit-tap-highlight-color:transparent;
}
@media (max-width:899.98px){
	body.cos-h26 .hxv__link{grid-template-rows:auto auto auto}
}

body.cos-h26 .hxv__frame{
	display:block;
	width:100%;
	aspect-ratio:4 / 3;
	overflow:clip;
	background:var(--hx-pearl,#F8F8F8);
}
@media (min-width:900px){body.cos-h26 .hxv__frame{aspect-ratio:4 / 5}}
body.cos-h26 .hxv__img,
body.cos-h26 .hxv__img img{display:block;width:100%;height:100%}
body.cos-h26 .hxv__img img{object-fit:cover;object-position:var(--hxv-pos,50% 50%);transition:transform 900ms var(--hx-ease)} /* 900ms: also the reveal settle (home-staging/system.css) */

body.cos-h26 .hxv__name{margin-top:var(--hx-s-5);padding-inline:var(--hx-s-3)}
body.cos-h26 .hxv__name em{font-style:italic}
body.cos-h26 .hxv__line{display:block;max-width:22em;margin-top:var(--hx-s-2);padding-inline:var(--hx-s-3);color:var(--hx-fg-3);text-wrap:balance}

body.cos-h26 .hxv__name{
	text-decoration-line:underline;
	text-decoration-thickness:1px;
	text-underline-offset:.2em;
	text-decoration-color:transparent;
	transition:text-decoration-color 400ms var(--hx-ease);
}
@media (hover:hover){
	body.cos-h26 .hxv__link:hover .hxv__img img{transform:scale(1.03)}
	body.cos-h26 .hxv__link:hover .hxv__name{text-decoration-color:currentColor}
}
body.cos-h26 .hxv__link:focus-visible .hxv__name{text-decoration-color:currentColor}
body.cos-h26 .hxv__link:focus{outline:none}
body.cos-h26 .hxv__link:focus-visible{outline:var(--hx-focus-width) solid var(--hx-focus-color);outline-offset:var(--hx-focus-offset)}

@media (prefers-reduced-motion:reduce){
	body.cos-h26 .hxv__img img,
	body.cos-h26 .hxv__name{transition:none}
	body.cos-h26 .hxv__link:hover .hxv__img img{transform:none}
}
