/* Craftsman Bangkok — site styles.
   Brand source: CRAFTSMAN BRANDBOOK/00_GUIDELINE (July 2025).
   Colours 2.6 · type 2.7–2.9 (headline Antiqua Englisch, all caps; body DM Sans) · key visual 2.10 (woven stripes). */

@import url("../fonts/fonts.css");

:root {
  --cream: #F8F6E1;
  --pistachio: #E6EDAC;
  --forest: #2A4421;
  --olive: #9E914F;
  --brown: #2D1501;
  --sky: #A9CCD8;
  --paper: #FCFBF1;              /* cream lifted, for cards on cream */
  --ink: var(--brown);
  --ink-soft: #2D1501B8;
  --line: #2D150126;

  --serif: "Antiqua Englisch", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "DM Sans", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --section: clamp(72px, 11vw, 168px);
  --stripe: clamp(10px, 1.5vw, 22px);      /* one stripe of the weave */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 clamp(16px, 1.05vw, 18px)/1.6 var(--sans);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--pistachio); color: var(--forest); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  line-height: .98; letter-spacing: -.005em; text-wrap: balance;
}
.display { font-size: clamp(44px, 9.2vw, 168px); line-height: .9; }
.h1 { font-size: clamp(40px, 7vw, 120px); line-height: .92; }
.h2 { font-size: clamp(32px, 4.6vw, 76px); }
.h3 { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.04; }
.eyebrow {
  font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 10px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); }
.eyebrow.plain::before { display: none; }
.lede { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.42; text-wrap: pretty; }
.prose { max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.5; }
.num { font: 400 13px/1 var(--sans); letter-spacing: .12em; font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(28px, 4vw, 64px); }
.stack > * + * { margin-top: var(--gap, 1.25rem); }
.split { display: grid; gap: clamp(28px, 5vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-media { grid-template-columns: 7fr 5fr; }
  .split.wide-text { grid-template-columns: 5fr 7fr; }
  .split.flip > :first-child { order: 2; }
}
.c-1-5 { grid-column: 1 / -1; } .c-6-12 { grid-column: 1 / -1; } .c-1-7 { grid-column: 1 / -1; } .c-8-12 { grid-column: 1 / -1; }
.c-2-11 { grid-column: 1 / -1; } .c-1-4 { grid-column: 1 / -1; } .c-5-12 { grid-column: 1 / -1; } .c-third { grid-column: 1 / -1; } .c-half { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .c-1-5 { grid-column: 1 / 6; } .c-6-12 { grid-column: 7 / 13; } .c-1-7 { grid-column: 1 / 8; } .c-8-12 { grid-column: 9 / 13; }
  .c-2-11 { grid-column: 2 / 12; } .c-1-4 { grid-column: 1 / 5; } .c-5-12 { grid-column: 5 / 13; } .c-third { grid-column: span 4; } .c-half { grid-column: span 6; }
}
@media (min-width: 600px) and (max-width: 899px) { .c-third { grid-column: span 6; } }

/* ---------- surfaces ---------- */
.on-forest { background: var(--forest); color: var(--cream); --ink-soft: #F8F6E1B8; --line: #F8F6E133; }
.on-brown { background: var(--brown); color: var(--cream); --ink-soft: #F8F6E1B0; --line: #F8F6E12E; }
.on-pistachio { background: var(--pistachio); color: var(--forest); --ink-soft: #2A4421C9; --line: #2A442133; }
.on-olive { background: var(--olive); color: var(--cream); --ink-soft: #F8F6E1D9; --line: #F8F6E140; }
.on-sky { background: var(--sky); color: var(--brown); }
.on-paper { background: var(--paper); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* The key visual: vertical woven stripes, with a middle band offset by one stripe (guideline 2.10). */
.weave {
  --a: var(--pistachio); --b: var(--cream);
  position: relative; height: clamp(72px, 12vw, 180px);
  background: repeating-linear-gradient(90deg, var(--a) 0 var(--stripe), var(--b) var(--stripe) calc(2 * var(--stripe)));
}
.weave::after {
  content: ""; position: absolute; inset: 22% 0 22% 0;
  background: repeating-linear-gradient(90deg, var(--b) 0 var(--stripe), var(--a) var(--stripe) calc(2 * var(--stripe)));
}
.weave.forest { --a: #223A1B; --b: var(--forest); }
.weave.olive { --a: #8F8346; --b: var(--olive); }
.weave.brown { --a: var(--olive); --b: var(--brown); }
.weave.sky { --a: var(--sky); --b: var(--cream); }
.weave.thin { height: clamp(28px, 4vw, 56px); }
.weave.tall { height: clamp(160px, 24vw, 380px); }
.weave-side { position: absolute; inset: 0 auto 0 0; width: calc(6 * var(--stripe)); height: auto; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--forest); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: 999px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--bg); }
.btn.light { --bg: var(--cream); --fg: var(--forest); }
.btn.pistachio { --bg: var(--pistachio); --fg: var(--forest); }
.btn.ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn.ghost:hover { background: currentColor; }
.btn.ghost:hover > span { color: var(--cream); mix-blend-mode: normal; }
.on-forest .btn.ghost:hover > span, .on-brown .btn.ghost:hover > span, .hero .btn.ghost:hover > span { color: var(--forest); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link::after { content: "→"; font-size: 15px; transition: translate .4s var(--ease); }
.link:hover { background-size: 28px 1px; }
.link:hover::after { translate: 6px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--gutter);
  color: var(--cream); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), translate .45s var(--ease);
}
.site-header.solid, body.no-hero .site-header { background: #F8F6E1F2; color: var(--forest); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { translate: 0 -100%; }
.site-header .logo { display: block; width: clamp(132px, 13vw, 190px); }
.site-header .logo svg, .site-header .logo img { width: 100%; height: auto; }
.nav { display: none; gap: clamp(16px, 2vw, 34px); font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.header-end { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; min-height: 44px; }
.menu-btn i { width: 26px; height: 10px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: height .3s var(--ease); }
.menu-btn[aria-expanded="true"] i { height: 1.5px; }
.site-header .btn { --bg: var(--cream); --fg: var(--forest); }
.site-header.solid .btn, body.no-hero .site-header .btn { --bg: var(--forest); --fg: var(--cream); }
@media (min-width: 1100px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (max-width: 520px) { .site-header .btn { min-height: 38px; padding: 0 14px; font-size: 11px; } .menu-btn span { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 49; background: var(--forest); color: var(--cream);
  display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
  visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s; overflow-y: auto;
}
.menu.open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.menu ol { display: grid; gap: 4px; align-content: center; counter-reset: m; list-style: none; padding: 0; margin: 0; }
.menu li { counter-increment: m; }
.menu li a { display: flex; align-items: baseline; gap: 16px; text-decoration: none; font: 400 clamp(34px, 9vw, 72px)/1.08 var(--serif); text-transform: uppercase; }
.menu li a::before { content: "0" counter(m); font: 400 12px/1 var(--sans); letter-spacing: .12em; color: var(--pistachio); }
.menu li a:hover { color: var(--pistachio); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 24px; border-top: 1px solid #F8F6E133; font-size: 14px; }
.menu-foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .btn { --bg: var(--cream); --fg: var(--forest); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--cream); background: var(--brown); isolation: isolate; overflow: clip; }
.hero.short { min-height: min(78svh, 820px); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media canvas { width: 100%; height: 100%; object-fit: cover; animation: drift 18s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #2D150166 0%, #2D15011F 26%, #2D150129 46%, #2D1501B8 100%); }
@keyframes drift { from { scale: 1.08; } to { scale: 1; } }
.hero-body { padding-block: 0 clamp(28px, 5vw, 64px); display: grid; gap: clamp(20px, 3vw, 40px); }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; padding-top: clamp(16px, 2vw, 28px); border-top: 1px solid #F8F6E14D; }
.hero-meta p { max-width: 44ch; }

/* page head for pages without a photo hero */
.page-head { padding-top: calc(var(--header-h) + clamp(48px, 9vw, 140px)); padding-bottom: clamp(40px, 6vw, 96px); }
.page-head .h1 { max-width: 14ch; }
.page-head .lede { max-width: 46ch; }
.crumbs { display: flex; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.crumbs a { text-decoration: none; opacity: .7; } .crumbs a:hover { opacity: 1; }

/* ---------- media ---------- */
.media { position: relative; overflow: clip; background: var(--pistachio); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
a:hover > .media img, .media.zoom:hover img { scale: 1.04; }
.r-45 { aspect-ratio: 4 / 5; } .r-34 { aspect-ratio: 3 / 4; } .r-32 { aspect-ratio: 3 / 2; } .r-11 { aspect-ratio: 1; } .r-169 { aspect-ratio: 16 / 9; } .r-219 { aspect-ratio: 21 / 9; }
.media figcaption, .cap { font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-top: 12px; color: var(--ink-soft); }
.media.banded { padding-left: calc(3 * var(--stripe)); background: repeating-linear-gradient(90deg, var(--sky) 0 var(--stripe), var(--cream) var(--stripe) calc(2 * var(--stripe))); }
.offset-up { margin-top: clamp(-120px, -8vw, -40px); }
.offset-down { margin-top: clamp(40px, 8vw, 120px); }
@media (max-width: 899px) { .offset-up, .offset-down { margin-top: 0; } }
.bleed { width: 100%; }
.bleed .media { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .bleed .media { aspect-ratio: 4 / 5; } }

/* ---------- cards ---------- */
.card { display: grid; gap: 18px; text-decoration: none; align-content: start; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.card p { color: var(--ink-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.facts li:not(:last-child)::after { content: "·"; margin-left: 18px; opacity: .5; }   /* trailing, so a wrapped line never starts with a dot */

/* horizontal rail (rooms, photo strips) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 520px); gap: clamp(16px, 2.4vw, 40px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.photos { grid-auto-columns: min(78vw, 640px); }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: background .3s var(--ease), color .3s var(--ease); }
.rail-nav button:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.on-forest .rail-nav button:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.rail-nav button:disabled { opacity: .3; pointer-events: none; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 5vw, 72px); }
.section-head .h2 { max-width: 16ch; }

/* spec list: label left, value right, hairlines */
.specs { display: grid; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font: 600 12px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.specs dd { color: var(--ink-soft); }
.ticks { display: grid; gap: 8px 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 8px; background: repeating-linear-gradient(90deg, var(--olive) 0 2px, transparent 2px 5px); }

/* list rows: big serif label rows that link somewhere */
.rows { border-top: 1px solid var(--line); }
.rows a, .rows > li > div { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 48px); align-items: baseline; padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.rows a:hover { padding-left: clamp(8px, 1.4vw, 20px); }
.on-forest .rows a:hover { color: var(--pistachio); }
.rows .h3 { font-size: clamp(26px, 3.4vw, 54px); }
.rows .muted { max-width: 38ch; justify-self: end; text-align: right; }
@media (max-width: 700px) { .rows a, .rows > li > div { grid-template-columns: auto 1fr; } .rows .muted { grid-column: 2; justify-self: start; text-align: left; } }

/* marquee line of words */
.marquee { overflow: clip; border-block: 1px solid var(--line); padding-block: clamp(14px, 2vw, 26px); }
.marquee > div { display: flex; width: max-content; gap: clamp(28px, 4vw, 64px); animation: slide 38s linear infinite; font: 400 clamp(22px, 3vw, 44px)/1 var(--serif); text-transform: uppercase; }
.marquee span::after { content: ""; display: inline-block; width: 28px; height: .62em; margin-left: clamp(28px, 4vw, 64px); background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px); }
@keyframes slide { to { translate: -50% 0; } }

/* quote / statement */
.statement { font: 400 clamp(30px, 5.2vw, 92px)/.98 var(--serif); text-transform: uppercase; text-wrap: balance; }
.statement em { font-style: normal; color: var(--olive); }
.on-forest .statement em { color: var(--pistachio); }

/* notice (test-site banner, policies) */
.note { padding: 18px 22px; border-left: calc(var(--stripe) / 2) solid var(--olive); background: var(--paper); font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none; max-width: min(92vw, 520px);
  background: var(--brown); color: var(--cream); padding: 14px 20px; border-radius: 14px; font-size: 14px; line-height: 1.45; transition: opacity .35s var(--ease), translate .35s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); --ink-soft: #F8F6E1B8; --line: #F8F6E133; }
.footer-top { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.footer-logo { width: min(100%, 980px); opacity: .96; }
.footer-logo svg { width: 100%; height: auto; }
.footer-cols { display: grid; gap: 36px 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-cols h2 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--pistachio); margin-bottom: 16px; }
.footer-cols ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.footer-cols > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-cols > :first-child { grid-column: auto; } }
.footer-cols a { text-decoration: none; overflow-wrap: anywhere; } .footer-cols a:hover { color: var(--pistachio); }
.footer-cols address { font-style: normal; color: var(--ink-soft); }
.footer-base a { text-decoration: none; color: var(--cream); } .footer-base a:hover { color: var(--pistachio); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

/* ---------- motion ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; translate: 0 0; }
/* photos wipe open; the clip is on the img, not the figure, so the observer still sees the figure */
.media.reveal { translate: 0 0; opacity: 1; }
.media.reveal img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease), scale 1.4s var(--ease); }
.media.reveal.in img { clip-path: inset(0); }
.no-js .reveal { opacity: 1; translate: none; }
.no-js .media.reveal img { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .media.reveal img { clip-path: none; transition: none; }
  .hero-media img, .marquee > div { animation: none; }
  .media img { transition: none; }
  @view-transition { navigation: none; }
}
@media print { .site-header, .menu, .toast { display: none; } }

/* ---------- home: the living hero (js/hero-live.js) ---------- */
.hero-media canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-media canvas.on { opacity: 1; }
.hero-sound { position: absolute; z-index: 1; right: var(--gutter, 24px); top: clamp(84px, 11vh, 120px); padding: 10px 0; background: none; border: 0; color: var(--cream);
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; opacity: .78; transition: opacity .3s; }
.hero-sound:hover, .hero-sound[aria-pressed="true"] { opacity: 1; }
.hero-sound span { display: inline-block; min-width: 2.4em; margin-left: .5em; padding-left: .9em; border-left: 1px solid #F8F6E166; text-align: left; }
.hero-sound:focus-visible { outline: 1px solid var(--cream); outline-offset: 6px; }

/* ---------- review pass, 25 Nov 2026 ---------- */
a[href^="tel:"] { white-space: nowrap; }
.card-head .num { white-space: nowrap; }
.h2 em { font-style: normal; color: var(--olive); }
/* long single words ("Neighbourhood") must fit a phone screen */
@media (max-width: 520px) { .h1 { font-size: clamp(30px, 9.4vw, 44px); } }
@media (max-width: 700px) { .page-head .h1, .h1[style*="max-width:14ch"] { max-width: none !important; } }
/* rows: names line up down the list; descriptions read from the left; quieter rows for lists that are not links */
.rows .num { min-width: var(--numw, 6ch); }
.rows .h3 { font-size: clamp(26px, 3vw, 46px); }
@media (min-width: 701px) { .rows .muted { text-align: left; width: min(38ch, 100%); } }
.rows.quiet .h3 { font-size: clamp(22px, 2.2vw, 32px); }
.rows a.go .h3::after { content: "→"; font: 400 .55em/1 var(--sans); margin-left: .5em; vertical-align: .18em; }
/* a caption belongs to the photo above it */
@media (max-width: 899px) { .cap { margin-bottom: 14px; } }
/* photos on dark bands: no pale edge while they load */
.on-forest .media, .on-brown .media { background: #0000001F; }
.specs dt a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }

/* room facts with icons (rooms page): the same items, in the same order, for all nine rooms.
   Icons were drawn by the local Qwen image model and cut by build/icons/cut.py; they are masks, so they take the text colour. */
.facts.ic { gap: 12px 22px; align-items: center; }
.facts.ic li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.facts.ic li::after { content: none; }
.facts.ic li::before { content: ""; flex: none; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.facts.ic.col { display: grid; gap: 0; border-top: 1px solid var(--line); align-content: start; }
.facts.ic.col li { padding: 13px 0; border-bottom: 1px solid var(--line); gap: 16px; }
[data-ic="size"] { --ic: url(/img/ic1/size.png); } [data-ic="bed-king"] { --ic: url(/img/ic1/bed-king.png); } [data-ic="bed-twin"] { --ic: url(/img/ic1/bed-twin.png); }
[data-ic="pool"] { --ic: url(/img/ic1/pool.png); } [data-ic="window"] { --ic: url(/img/ic1/window.png); } [data-ic="floors"] { --ic: url(/img/ic1/floors.png); }
[data-ic="bathtub"] { --ic: url(/img/ic1/bathtub.png); } [data-ic="balcony"] { --ic: url(/img/ic1/balcony.png); } [data-ic="tv"] { --ic: url(/img/ic1/tv.png); }
[data-ic="kitchen"] { --ic: url(/img/ic1/kitchen.png); }
.rail-bar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.grid > .end { align-self: end; }
.room.next { padding-top: clamp(48px, 7vw, 104px); border-top: 1px solid var(--line); }

/* ---------- sister venues on /eat-unwind: their own identity, mixed with ours (Sun, 25 Nov 2026) ----------
   Baby Bar: vermilion #F04923, pink #FACCD0, ink #231F20, its "baby" wordmark, hand drawings and Fraunces headlines.
   Ikigai Spa: paper #f4efec, taupe #c5b9ac, charcoal #2d2a26, its wordmark, the stone and Belleza headlines.
   Ours stays underneath: the grid, the weave (in their colours), DM Sans text, the eyebrow tick, hairlines. */
@font-face { font-family: "Baby Fraunces"; src: url(/fonts/baby-fraunces-black.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Belleza"; src: url(/fonts/belleza.woff) format("woff"); font-weight: 400; font-display: swap; }
.on-baby { --v: #F04923; position: relative; overflow: clip; background: #FACCD0; color: #231F20; --ink-soft: #231F20CC; --line: #231F2033; }
.on-baby > .wrap { position: relative; }
.on-baby .statement, .on-baby .h2, .on-baby .rows .h3 { font-family: "Baby Fraunces", var(--serif); text-transform: none; letter-spacing: -.015em; line-height: 1; }
.on-baby .statement { font-size: clamp(38px, 6vw, 104px); }
.on-baby .statement em { color: var(--v); }
.on-baby .media { background: #F4B6BC; }
.on-baby .link, .on-baby .eyebrow { color: #231F20; }
.on-baby.red { background: var(--v); --ink-soft: #231F20E6; --line: #231F2040; }
.on-baby.red .rows a:hover { color: #FACCD0; }
.weave.baby { --a: #F04923; --b: #FACCD0; }
.weave.ikigai { --a: #c5b9ac; --b: #f4efec; }
.ci-mark { display: block; background: currentColor; -webkit-mask: var(--m) left center / contain no-repeat; mask: var(--m) left center / contain no-repeat; }
.ci-mark.baby { --m: url(/img/ci/baby-wordmark.png); width: clamp(120px, 14vw, 190px); aspect-ratio: 1200 / 624; color: #F04923; }
.ci-mark.ikigai { --m: url(/img/ci/ikigai-wordmark.svg); width: clamp(190px, 24vw, 340px); aspect-ratio: 322.846 / 60.7837; }
.ci-hand { position: absolute; right: clamp(-40px, -2vw, -10px); bottom: clamp(-70px, -5vw, -30px); width: clamp(150px, 20vw, 300px); aspect-ratio: 520 / 720; background: #F04923; opacity: .9; rotate: -8deg; pointer-events: none;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ci-hand[data-hand="croissant"] { --m: url(/img/ci/hand-croissant.png); }
.ci-hand[data-hand="martini"] { --m: url(/img/ci/hand-martini.png); aspect-ratio: 520 / 658; }
.ci-hand.low { background: #FACCD0; right: auto; left: clamp(-30px, -1vw, 0px); rotate: 9deg; }
@media (max-width: 899px) { .ci-hand { width: 130px; opacity: .5; } .ci-hand.low { display: none; } }
.on-ikigai { position: relative; overflow: clip; background: #f4efec; color: #2d2a26; --ink-soft: #2d2a26C2; --line: #2d2a2630; }
.on-ikigai > .wrap, .on-ikigai > .rail { position: relative; }
.on-ikigai .lede, .on-ikigai .rows .h3 { font-family: "Belleza", var(--serif); text-transform: none; letter-spacing: 0; }
.on-ikigai .lede { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; }
.on-ikigai .media { background: #c5b9ac; }
.on-ikigai .rail-nav button:hover { background: #2d2a26; border-color: #2d2a26; color: #f4efec; }
.ci-stone { position: absolute; right: -12%; top: -6%; width: min(70vw, 780px); aspect-ratio: 600.061 / 491.697; background: #c5b9ac; opacity: .38; pointer-events: none;
  -webkit-mask: url(/img/ci/ikigai-stone.svg) center / contain no-repeat; mask: url(/img/ci/ikigai-stone.svg) center / contain no-repeat; }
@media (max-width: 899px) { .ci-stone { width: 110vw; right: -45%; top: 28%; } }
