/*
	TIW 2026: the standalone stylesheet for the rebuilt pages (Stage 3b). It doesn't sit on top of the old
	theme: pages that load it don't load main.css or site-2026.css.

	Built from the signed-off Stage 1 sample (style-sample.css; /style-sample.html is the reference) on TIW's
	own colours and fonts. Decisions: planning/tiw/DECISIONS.md ("Visual design", "Stage 3b") and
	planning/tiw/reference/TIW-visual-decisions.md. The directory's own styles go in a separate file
	Stage 2 owns; it builds on this one.

	Shared parts: components/head2026.mo, navbar2026.mo, foot2026.mo. Script: tiw-2026.js.
	The ?v= tag on the link is bumped on each deploy that changes this file.
*/

@font-face { font-family: "Avenir Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("../webfonts/AvenirNext-Regular-08.ttf") format("truetype"); }
@font-face { font-family: "Avenir Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("../webfonts/AvenirNext-Bold-01.ttf") format("truetype"); }
@font-face { font-family: "Averia Serif Libre"; font-style: normal; font-weight: 300; font-display: swap; src: url("../webfonts/AveriaSerifLibre-Light.ttf") format("truetype"); }
@font-face { font-family: "Averia Serif Libre"; font-style: normal; font-weight: 400; font-display: swap; src: url("../webfonts/AveriaSerifLibre-Regular.ttf") format("truetype"); }
@font-face { font-family: "Averia Serif Libre"; font-style: italic; font-weight: 400; font-display: swap; src: url("../webfonts/AveriaSerifLibre-Italic.ttf") format("truetype"); }
@font-face { font-family: "Averia Serif Libre"; font-style: normal; font-weight: 700; font-display: swap; src: url("../webfonts/AveriaSerifLibre-Bold.ttf") format("truetype"); }

:root {
	/* TIW's palette */
	--green: #20432A;
	--sage: #8aa659;
	--text: rgba(255, 255, 255, .86);
	--text-soft: rgba(255, 255, 255, .74);
	--warm-white: #f4efe6;
	--hair: rgba(255, 255, 255, .16);
	--hair-strong: rgba(255, 255, 255, .3);
	--panel: rgba(8, 20, 11, .42);
	--ground: #0c1b11;

	/* two corals, each kept to its own job */
	--coral: #D9643A;        /* sunset coral: eyebrows, edge accents, card underline, quieter button outlines */
	--coral-deep: #C0522D;   /* deeper coral: booking and selling buttons, with white text */
	--coral-deep-hover: #AE4826;
	--brick: #D74745;        /* red flags only */

	/* shape and line */
	--radius: 3px;           /* barely rounded, everywhere (pills stay round) */
	--edge: 3px;             /* the coral edge accent */

	--head: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
	--body: "Averia Serif Libre", Georgia, serif;

	--shadow-ink: rgba(2, 10, 5, .46);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
	--glint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5Q12.9 11.1 22.5 12Q12.9 12.9 12 22.5Q11.1 12.9 1.5 12Q11.1 11.1 12 1.5Z'/%3E%3C/svg%3E");
	--leaves: linear-gradient(rgba(6, 14, 8, .3), rgba(6, 14, 8, .3)), linear-gradient(rgba(35, 74, 46, .5), rgba(35, 74, 46, .5)), url("../../images/bg_long-resize.jpg");
	--warm: sepia(.14) saturate(1.08) brightness(1.02);   /* the light warm grade on photos (easy to remove later) */
	--ease: cubic-bezier(.4, 0, .2, 1);
	--hd-h: 4.75rem;         /* the header's height */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
html.reduce-motion { scroll-behavior: auto; }
body {
	margin: 0; min-height: 100vh;
	background: #122417; color: var(--text);
	font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
}
main { display: block; overflow-x: clip; }   /* lifted cards and swaying plants never widen the page */
img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: .18em; }
strong, b { color: #fff; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin: .25rem 0; }
small, .small { font-size: .85rem; color: var(--text-soft); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 80; padding: .6rem 1rem; background: #fff; color: #15301c; font: 700 .8rem var(--head); border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.wrap.narrow { max-width: 50rem; }
.measure { max-width: 44rem; }

/* ---------- Background layers, back to front: leaf photo, silhouette willow, grain ---------- */
.layer { position: fixed; inset: 0; pointer-events: none; }
.layer-leaves { z-index: -3; background: var(--leaves) center / cover no-repeat; }
.layer-willow { z-index: -2; overflow: hidden; }
.layer-grain { z-index: -1; background-image: var(--grain); background-size: 220px 220px; opacity: .55; mix-blend-mode: soft-light; }

.layer-willow > svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.layer-willow .br, .layer-willow .tw { fill: none; stroke: var(--shadow-ink); stroke-width: 2.2; stroke-linecap: round; }
.layer-willow .lf { fill: var(--shadow-ink); stroke: none; }
.w-sw { animation: w-sway var(--d) ease-in-out var(--dl) infinite alternate; }
@keyframes w-sway { from { transform: rotate(calc(var(--a) * -1)); } to { transform: rotate(var(--a)); } }
.w-drift-set { position: absolute; inset: 0; }
.w-drift { position: absolute; left: var(--x); top: -3rem; width: var(--w); animation: w-fall var(--fall) linear var(--dl) infinite; }
.w-drift svg { position: static; display: block; width: 100%; height: auto; overflow: visible; animation: w-drift var(--sway) ease-in-out var(--dl) infinite alternate; }
@keyframes w-fall { from { transform: translate(0, 0); } to { transform: translate(var(--dx), calc(var(--h, 900px) + 6rem)); } }
@keyframes w-drift { from { transform: translateX(-1.6rem) rotate(calc(var(--r) - 28deg)); } to { transform: translateX(1.6rem) rotate(calc(var(--r) + 28deg)); } }
@keyframes w-waver { from { transform: translateX(calc(var(--a) * -1)); } to { transform: translateX(var(--a)); } }

/* ---------- Header and menu (navbar2026.mo) ---------- */
/* Desktop: logo left, links right. Phones: the menu button stays in the top corner while scrolling and
   opens a panel. A page can fade the button out with TIW.hideBurger(true) (html.burger-away), e.g. the
   directory once its filter bar is sticking. */
.hd { position: relative; z-index: 40; }
.hd-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: var(--hd-h); padding-block: .9rem; }
.hd-logo { display: block; flex: none; }
.hd-logo img { display: block; width: clamp(8.5rem, 16vw, 10.5rem); height: auto; }
.hd-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .1rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.hd-nav li { margin: 0; }
.hd-nav a {
	display: inline-block; padding-block: .55rem; border-bottom: 1px solid transparent;
	color: #fff; text-decoration: none; font: 700 .74rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase;
	transition: border-color .25s ease;
}
.hd-nav a:hover { border-bottom-color: var(--hair-strong); }
.hd-nav a[aria-current="page"] { border-bottom-color: var(--coral); }
.hd-burger, .hd-panel { display: none; }

@media (max-width: 760px) {
	.hd-nav { display: none; }
	.hd-burger {
		position: fixed; top: max(.75rem, env(safe-area-inset-top)); right: max(.75rem, env(safe-area-inset-right)); z-index: 60;
		display: inline-grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 999px;
		background: rgba(12, 28, 17, .55); color: #fff; cursor: pointer;
		-webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), 0 10px 24px -14px rgba(0, 0, 0, .9);
		transition: opacity .35s ease, visibility 0s linear 0s;
	}
	html.burger-away .hd-burger:not([aria-expanded="true"]) { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
	.burger-lines { position: relative; width: 1.25rem; height: .8rem; }
	.burger-lines i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .35s var(--ease), opacity .2s ease; }
	.burger-lines i:nth-child(1) { top: 0; }
	.burger-lines i:nth-child(2) { top: calc(50% - .75px); }
	.burger-lines i:nth-child(3) { bottom: 0; }
	.hd-burger[aria-expanded="true"] .burger-lines i:nth-child(1) { transform: translateY(calc(.4rem - .75px)) rotate(45deg); }
	.hd-burger[aria-expanded="true"] .burger-lines i:nth-child(2) { opacity: 0; }
	.hd-burger[aria-expanded="true"] .burger-lines i:nth-child(3) { transform: translateY(calc(-.4rem + .75px)) rotate(-45deg); }
	.hd-panel {
		position: fixed; inset: 0; z-index: 55; display: block; overflow-y: auto;
		padding: calc(max(.75rem, env(safe-area-inset-top)) + 4.5rem) clamp(1rem, 6vw, 2rem) 2rem;
		background: rgba(10, 24, 14, .9);
		-webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
		opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
	}
	.hd-panel.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
	.hd-panel ul { margin: 0 0 2rem; padding: 0; list-style: none; }
	.hd-panel li { margin: 0; border-bottom: 1px solid var(--hair); }
	.hd-panel li a { display: block; padding: 1rem 0; color: #fff; text-decoration: none; font: 700 1.05rem/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; }
	.hd-panel li a[aria-current="page"] { box-shadow: inset var(--edge) 0 0 var(--coral); padding-left: .9rem; }
	html.menu-open { overflow: hidden; }
}

/* ---------- Headings, eyebrows, text ---------- */
h1, h2, h3, h4 { color: #fff; font-family: var(--head); font-weight: 700; text-transform: uppercase; }
h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 5.2vw, 3.2rem); line-height: 1.12; overflow-wrap: break-word; hyphens: auto; }
h2 { margin: 0 0 .8rem; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.2; overflow-wrap: break-word; }
h3 { margin: 1.8rem 0 .7rem; font-size: 1.05rem; line-height: 1.3; letter-spacing: .02em; }
h4 { margin: 1.4rem 0 .5rem; font-size: .9rem; line-height: 1.35; letter-spacing: .04em; }
/* the eyebrow sits inside its heading, so search engines read it as heading text */
.eyebrow { display: block; margin-bottom: .5rem; font: 700 .68rem/1.35 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.lede { max-width: 42rem; margin: 0 0 1.4rem; font-size: 1.16rem; color: rgba(255, 255, 255, .93); }
.note { max-width: 46rem; color: var(--text-soft); }
.sign { font-style: italic; color: var(--text-soft); }

/* ---------- Sections and the ripple divider ---------- */
.sec { padding-block: clamp(1.75rem, 5vw, 3.25rem); }
.sec.tight { padding-block: clamp(1rem, 3vw, 1.75rem); }
.page-top { padding-top: clamp(1.25rem, 4vw, 2.5rem); }
.divider { margin-bottom: 1.4rem; }
.divider-label { display: block; margin-bottom: .45rem; font: 700 .66rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.ripple { display: block; width: 100%; height: 16px; overflow: visible; fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 1; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }
.btn-row.center { justify-content: center; }
/* booking and selling: deeper coral, white text */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	max-width: 100%; min-height: 2.9rem; padding: .7rem 1.2rem;
	border: 0; border-radius: var(--radius);
	background: var(--coral-deep); color: #fff;
	font: 700 .76rem/1.25 var(--head); letter-spacing: .12em; text-transform: uppercase; text-align: center; text-decoration: none;
	cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--coral-deep-hover); }
.btn .icon { width: 1.15rem; height: 1.15rem; flex: none; }
.btn.large { min-height: 3.3rem; padding: .85rem 1.6rem; font-size: .82rem; }
/* less important: a sunset-coral outline with white text, on a frosted blur */
.btn-2 {
	background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px var(--coral);
	-webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
}
.btn-2:hover { background: rgba(217, 100, 58, .18); }
.copied { display: inline-flex; align-items: center; margin-left: .4rem; font: 700 .7rem var(--head); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.copied.show { opacity: .8; }

.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon.big { width: 2.5rem; height: 2.5rem; stroke-width: 1; color: #fff; }

/* ---------- Text boxes: soft tint and frosted, both used for variety ---------- */
.tb { padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.6rem); border-radius: var(--radius); }
.tb > :first-child { margin-top: 0; }
.tb > :last-child { margin-bottom: 0; }
.tb-tint { background: rgba(6, 18, 9, .46); }
.tb-frost {
	background: rgba(255, 255, 255, .07);
	-webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}
.tb-edge { box-shadow: inset var(--edge) 0 0 var(--coral); padding-left: calc(clamp(1.1rem, 3vw, 1.6rem) + var(--edge)); }
.tb-frost.tb-edge { box-shadow: inset var(--edge) 0 0 var(--coral), inset 0 0 0 1px rgba(255, 255, 255, .13); }
.tb-h { margin: 0 0 .6rem; font: 700 1.05rem/1.3 var(--head); text-transform: uppercase; color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }

/* ---------- Two columns: text and a photo or a box ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.split.top { align-items: start; }
.split.flip > :first-child { order: 2; }
@media (max-width: 760px) {
	.split { grid-template-columns: 1fr; }
	.split.flip > :first-child { order: 0; }
}

/* ---------- The glint replaces bullets (coral only) ---------- */
.glints { margin: .4rem 0 1rem; padding: 0; list-style: none; }
.glints li { position: relative; margin: .45rem 0; padding-left: 1.55rem; }
.glints li::before {
	content: ""; position: absolute; left: .05rem; top: .42em; width: .82rem; height: .82rem; background: var(--coral);
	-webkit-mask: var(--glint) center / contain no-repeat; mask: var(--glint) center / contain no-repeat;
}
.glints ul { margin: .3rem 0 .2rem; }
.glint-title { margin: 1.4rem 0 .3rem; font: 700 .68rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

/* ---------- Photos and video ---------- */
.ph { margin: 0; }
.ph img, .ph video { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; filter: var(--warm); }
.ph-wide img { aspect-ratio: 16 / 9; }
.ph-portrait img { aspect-ratio: 4 / 5; }
.ph-tall img { aspect-ratio: 3 / 4; }
.ph figcaption { margin-top: .5rem; font-size: .82rem; color: var(--text-soft); }
.portrait-wrap { position: relative; max-width: 26rem; }
.seal { display: block; height: auto; aspect-ratio: 1; color: var(--warm-white); }
.seal-on-photo { position: absolute; right: -.7rem; bottom: -.7rem; width: 32%; max-width: 7.5rem; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }

/* ---------- Carousel (homepage) ---------- */
/* Slides cross-fade; the photo drifts very slowly while its slide is showing. It turns on its own every
   few seconds, stops for good once the visitor uses the arrows, dots or a swipe, pauses while hovered
   or focused, and never turns with reduced motion. */
.car { position: relative; isolation: isolate; }
.car-track { position: relative; display: grid; }
.car-slide { grid-area: 1 / 1; position: relative; display: grid; min-height: clamp(26rem, 74vh, 44rem); opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.car-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.car-photo { position: absolute; inset: 0; overflow: hidden; }
.car-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: var(--warm); transform: scale(1.06); transition: transform 9s linear; }
.car-slide.is-on .car-photo img { transform: scale(1); }
/* the photo fades into the leaves at the bottom and down the text side, so it has no hard edge */
.car-photo::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to right, rgba(10, 24, 14, .82) 0%, rgba(10, 24, 14, .55) 38%, rgba(10, 24, 14, 0) 68%),
		linear-gradient(to bottom, rgba(10, 24, 14, .35) 0%, rgba(10, 24, 14, 0) 22%, rgba(10, 24, 14, 0) 62%, #122417 100%);
}
.car-text { position: relative; z-index: 1; align-self: end; padding-block: 4rem clamp(4.5rem, 9vw, 6rem); }
.car-text .inner { max-width: 34rem; }
.car-title { margin: 0 0 .8rem; font-size: clamp(1.9rem, 5.2vw, 3.2rem); line-height: 1.1; }
.car-line { margin: 0; font-size: 1.12rem; color: rgba(255, 255, 255, .93); }
.car-ui { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 1.6rem); z-index: 2; }
.car-ui .wrap { display: flex; align-items: center; gap: .75rem; }
.car-dots { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.car-dots li { margin: 0; }
.car-dots button { position: relative; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.car-dots button::before { content: ""; position: absolute; left: .45rem; right: .45rem; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: rgba(255, 255, 255, .35); }
.car-dots button::after { content: ""; position: absolute; left: .45rem; right: .45rem; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left center; }
.car-dots button[aria-current="true"]::after { transform: scaleX(1); transition: transform var(--car-wait, 8s) linear; }
.car.is-stopped .car-dots button[aria-current="true"]::after, html.reduce-motion .car-dots button[aria-current="true"]::after { transition: none; }
.car-arrow {
	display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.car-arrow:hover { box-shadow: inset 0 0 0 1px #fff; }
.car-arrow .icon { width: 1.1rem; height: 1.1rem; }
.car-prev .icon { transform: rotate(90deg); }
.car-next .icon { transform: rotate(-90deg); }
html.reduce-motion .car-slide, html.reduce-motion .car-photo img { transition: none; }
html.reduce-motion .car-photo img { transform: none; }
@media (max-width: 760px) {
	.car-slide { min-height: 0; grid-template-rows: auto auto; }
	.car-photo { position: relative; inset: auto; height: 58vh; min-height: 18rem; max-height: 30rem; }
	.car-photo::after { background: linear-gradient(to bottom, rgba(10, 24, 14, .3) 0%, rgba(10, 24, 14, 0) 25%, rgba(10, 24, 14, 0) 55%, #122417 100%); }
	.car-text { align-self: start; margin-top: -5.5rem; padding-block: 0 5.5rem; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.pillar { text-align: center; }
.pillar-icon { width: 4.2rem; height: 4.2rem; fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin: .45rem 0 .5rem; font-size: .8rem; letter-spacing: .14em; }
.pillar p { margin: 0; font-size: .97rem; }
@media (max-width: 760px) {
	.pillars { grid-template-columns: 1fr; }
	.pillar { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0 1rem; text-align: left; }
	.pillar-icon { grid-row: span 2; }
	.pillar h3 { margin-top: .3rem; }
}

/* ---------- Icon row: what I bring, practical details ---------- */
.icon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.4rem, 1fr)); gap: 1.2rem 1rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.icon-row li { margin: 0; text-align: center; }
.icon-row p { margin: .45rem 0 0; font-size: .9rem; line-height: 1.35; }

/* ---------- Availability table (availability2026.mo) ---------- */
.avail { width: 100%; border-collapse: collapse; }
.avail caption { padding: 0 0 .7rem; text-align: left; }
.avail th, .avail td { padding: .95rem .6rem; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
.avail thead th { padding-top: .2rem; border-bottom-color: var(--hair-strong); color: rgba(255, 255, 255, .9); font: 700 .64rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.avail tbody th { color: #fff; font: 700 .95rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.avail tbody th span { display: block; margin-top: .2rem; font: 400 .88rem/1.35 var(--body); text-transform: none; letter-spacing: 0; color: var(--text-soft); }
.avail td.when { color: #fff; }
.avail td.act { text-align: right; white-space: nowrap; }
.avail .btn { min-height: 2.6rem; padding: .55rem 1rem; font-size: .7rem; }
.avail-note { margin: .8rem 0 0; }
@media (max-width: 640px) {
	.avail thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.avail, .avail tbody, .avail tr, .avail th, .avail td { display: block; }
	.avail tr { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--hair); }
	.avail th, .avail td { padding: 0; border: 0; }
	.avail td.when { grid-column: 1; }
	.avail td.act { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Price panel: frosting, then the faded clip, then the text ---------- */
/* Explicit layers, because a frosted (backdrop-blurred) box paints its blur over anything placed behind its
   content: the frosting is its own bottom layer, the clip sits on it, the text on top. */
.price-panel { position: relative; isolation: isolate; overflow: hidden; max-width: 44rem; padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: var(--radius); }
.price-panel::before {
	content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
	background: rgba(255, 255, 255, .07);
	-webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.price-panel > * { position: relative; z-index: 2; }
.pp-title { margin-bottom: 1.3rem; padding-right: 4.5rem; }
.price-panel > .pp-seal { position: absolute; top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); width: 4.6rem; }
.sheet { margin-inline: calc(-1 * clamp(1.3rem, 4vw, 2.2rem)); padding-inline: clamp(1.3rem, 4vw, 2.2rem); }
/* The clip is drawn frame by frame into a canvas that is already faded top and bottom (tiw-2026.js), so the
   browser never masks or blends a playing video. The canvas sits 1px inside the panel's edge. */
.sheet-media { position: absolute; left: 1px; right: 1px; top: -1.65em; bottom: -1.4em; z-index: 0; overflow: hidden; pointer-events: none; }
.sheet-video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .01; }   /* not 0: some phones stop decoding a fully invisible video */
.sheet-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.sheet::before { content: ""; position: absolute; left: 4%; right: 4%; top: -1.1em; height: 4.8em; z-index: 1; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0)); }
.price-sheet { position: relative; z-index: 2; width: 100%; border-collapse: collapse; }
.price-sheet th, .price-sheet td { padding: .75rem .45rem; border-bottom: 1px solid rgba(255, 255, 255, .15); text-align: left; }
.price-sheet thead th { padding-top: .8rem; border-bottom-color: rgba(255, 255, 255, .32); color: rgba(255, 255, 255, .9); font: 700 .64rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.price-sheet tbody th { color: #fff; font: 700 .92rem var(--head); }
.price-sheet td { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-sheet th:not(:first-child), .price-sheet td { text-align: right; }
.price-sheet .hst { font-size: .78em; color: var(--text-soft); }
.pp-note { margin: 1.1rem 0 0; font-size: .95rem; }
@media (max-width: 420px) {
	.price-sheet th, .price-sheet td { padding-inline: .25rem; }
	.price-sheet tbody th { font-size: .82rem; }
	.price-sheet td { font-size: .92rem; }
	.price-sheet .hst { display: block; }
}

/* plain tables inside text (the group discount) */
.plain { width: 100%; margin: .6rem 0 1rem; border-collapse: collapse; font-size: .95rem; }
.plain th, .plain td { padding: .55rem .4rem; border-bottom: 1px solid var(--hair); text-align: right; font-variant-numeric: tabular-nums; }
.plain th:first-child, .plain td:first-child { text-align: left; }
.plain thead th { color: rgba(255, 255, 255, .9); font: 700 .62rem/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; border-bottom-color: var(--hair-strong); }
.plain tr.em td { color: #fff; font-weight: 700; }

/* ---------- Expanders: "Read more" ---------- */
/* The button sits after the text it opens, so the X rides down with the opening text, then glides right
   (--x-shift, measured in tiw-2026.js) to the bottom right. "Read more" slides up a little and fades out. */
.expander > p { margin-bottom: .2rem; }
.more-btn {
	display: flex; align-items: center; width: 100%; min-height: 2.9rem; padding: .3rem 0;
	border: 0; background: none; color: #fff; text-align: left; cursor: pointer;
	font: 700 .7rem var(--head); letter-spacing: .14em; text-transform: uppercase;
	--ease-x: cubic-bezier(.45, 0, .2, 1);
}
.more-label { display: inline-block; flex: none; transition: transform .8s var(--ease-x), opacity .6s ease; }
.more-btn[aria-expanded="true"] .more-label { opacity: 0; transform: translateY(-.5rem); }
.more-btn .x-icon { transition: transform .8s var(--ease-x); }
.more-btn[aria-expanded="true"] > .x-icon { transform: translateX(var(--x-shift, 0px)) rotate(45deg); }
/* the plus turns into an X, in time with the text sliding open */
.x-icon { position: relative; flex: none; width: 1.6rem; height: 1.6rem; margin-left: .45rem; transition: transform .5s var(--ease); }
.x-icon i { position: absolute; left: 50%; top: 50%; width: 1.05rem; height: 1.5px; margin: -.75px 0 0 -.525rem; border-radius: 1px; background: currentColor; }
.x-icon i:last-child { transform: rotate(90deg); }
[aria-expanded="true"] > .x-icon { transform: rotate(45deg); }
.more-body { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .5s var(--ease), opacity .5s ease, visibility 0s linear .5s; }
.expander .more-body { transition: grid-template-rows .8s cubic-bezier(.45, 0, .2, 1), opacity .9s ease .1s, visibility 0s linear .8s; }
.expander .more-body.is-open { transition-delay: 0s, .1s, 0s; }
.more-body.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.more-inner { min-height: 0; overflow: hidden; }
.more-inner > :first-child { margin-top: .6rem; }
.more-inner > :last-child { margin-bottom: .4rem; }
/* without the script, everything stays open */
html:not(.js) .more-body { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
html:not(.js) .more-btn { display: none; }

/* ---------- FAQ: questions separated by hairlines; an opened one sits in a faint dark box ---------- */
.faq { position: relative; max-width: 44rem; }
.faq::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }
.faq-item {
	position: relative; margin-inline: -1rem; padding-inline: 1rem; border-radius: var(--radius);
	background-color: rgba(8, 20, 11, 0); box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0);
	transition: background-color .5s ease, box-shadow .5s ease;
}
.faq-item::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 1px; background: var(--hair); }
.faq-item.is-open { background-color: var(--panel); box-shadow: inset 1px 0 0 var(--hair-strong); }
.faq-q { margin: 0; text-transform: none; letter-spacing: 0; }
.faq-q button {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.3rem; padding: .8rem 0;
	border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: 700 .95rem/1.35 var(--head);
}
.faq .more-inner p { margin: 0 0 1.1rem; }
html.reduce-motion .more-label, html.reduce-motion .x-icon, html.reduce-motion .more-body,
html.reduce-motion .more-btn .x-icon, html.reduce-motion .faq-item { transition: none; }

/* ---------- Link cards (the studio page's four kinds of session) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.1rem; }
.card {
	position: relative; display: flex; flex-direction: column; gap: .6rem;
	padding: 1.2rem 1.25rem 1.3rem; border-radius: var(--radius);
	background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
	color: var(--text); text-decoration: none;
	transition: transform .5s var(--ease), box-shadow .5s ease, background-color .5s ease;
}
.card-title { position: relative; align-self: flex-start; margin: 0; padding-bottom: .36rem; font: 700 1rem/1.3 var(--head); text-transform: uppercase; color: #fff; }
.card-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--coral); transform: scaleX(0); transform-origin: right center; transition: transform .5s var(--ease); }
.card p { margin: 0; font-size: .95rem; line-height: 1.5; }
.card .more { margin-top: auto; padding-top: .3rem; font: 700 .66rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
@media (hover: hover) {
	.card:hover { transform: scale(1.04); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 40px -20px rgba(0, 0, 0, .8), 0 8px 16px -10px rgba(0, 0, 0, .55); transition-duration: .3s; }
	.card:hover .card-title::after { transform: scaleX(1); transform-origin: left center; transition-duration: .3s; }
}
.card:focus-visible .card-title::after { transform: scaleX(1); transform-origin: left center; }
html.reduce-motion .card, html.reduce-motion .card:hover { transform: none; }

/* ---------- Chips: names only (the starter neighbourhoods) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; padding: 0; list-style: none; }
.chips li { margin: 0; padding: .4rem .85rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .05); font: 700 .74rem/1.3 var(--head); letter-spacing: .04em; color: #fff; }

/* ---------- The copy-and-send request ---------- */
.request textarea {
	display: block; width: 100%; min-height: 23em; margin: 0; padding: 1rem 1.1rem; resize: vertical;
	border: 0; border-radius: var(--radius); background: rgba(6, 18, 9, .55); box-shadow: inset 0 0 0 1px var(--hair);
	color: #fff; font: .9rem/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Maps ---------- */
.map { position: relative; overflow: hidden; border-radius: var(--radius); background: rgba(6, 18, 9, .46); box-shadow: inset 0 0 0 1px var(--hair); }
.map iframe { display: block; width: 100%; height: 20rem; border: 0; filter: saturate(.85) brightness(.95); }

/* ---------- Kitchener-Waterloo (the very end of the studio page) ---------- */
.kw { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.kw h2 { margin: 0 0 .35rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); }
.kw p { margin: 0; }

/* ---------- Long text (policies) ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.15rem, 2.6vw, 1.45rem); }
.prose h3 { margin-top: 1.8rem; }
.prose ul ul { margin-top: .3rem; }
.toc { display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding-block: .45rem; color: #fff; text-decoration: none; border-bottom: 1px solid var(--hair-strong); font: 700 .72rem var(--head); letter-spacing: .12em; text-transform: uppercase; }
.toc a:hover { border-bottom-color: #fff; }

/* ---------- Footer: the shoreline, with logo, links and contact icons ---------- */
.nf {
	position: relative; margin-top: 4rem; padding: 5.5rem 0 2.2rem;
	background: linear-gradient(rgba(10, 24, 14, 0) 1.5rem, rgba(10, 24, 14, .88) 6.5rem);
	color: rgba(255, 255, 255, .74); font-size: .95rem; line-height: 1.6;
}
.nf-shore { position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none; overflow: hidden; }
.nf-shore svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nf-shore path { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nf-shore .faint { stroke: rgba(255, 255, 255, .18); }
.nf-shore g { animation: w-waver var(--d) ease-in-out var(--dl) infinite alternate; }
.nf-body { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo links icons" "small small small"; align-items: center; gap: 1rem 2.5rem; }
.nf-logo { grid-area: logo; display: block; }
.nf-logo img { display: block; width: 9rem; height: auto; }
.nf-links { grid-area: links; display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; }
.nf-links ul { display: contents; margin: 0; padding: 0; list-style: none; }
.nf-links li { margin: 0; }
.nf-links a {
	display: inline-block; padding-block: .45rem; color: #fff; text-decoration: none;
	font: 700 .72rem/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase;
}
.nf-links a:hover { text-decoration: underline; }
.nf-icons { grid-area: icons; display: flex; gap: .5rem; margin: 0; }
.nf-icons a { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); color: #fff; }
.nf-icons a:hover { box-shadow: inset 0 0 0 1px #fff; }
.nf-icons .icon { width: 1.2rem; height: 1.2rem; }
.nf-small { grid-area: small; margin: .2rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .7); }
.nf-small a { color: #fff; }
/* Phones (Oliver, 30 Sep): links in two rows (Home Visits · In-Studio, then Treatment Plans · Who Are We),
   the logo to the left of the contact icons, the address and the small print below */
@media (max-width: 760px) {
	.nf-body { grid-template-columns: auto 1fr; grid-template-areas: "links links" "logo icons" "small small"; gap: 1.3rem 1rem; }
	.nf-links { display: grid; grid-template-columns: repeat(2, max-content); gap: .1rem 1.8rem; }
	.nf-links ul { display: contents; }
	.nf-logo img { width: 7.5rem; }
	.nf-icons { justify-content: flex-end; }
}

/* ---------- Hold still: the phone's "reduce motion" setting ---------- */
html.reduce-motion .w-sw, html.reduce-motion .w-drift, html.reduce-motion .w-drift svg, html.reduce-motion .nf-shore g { animation: none !important; }
html.reduce-motion .w-drift { top: 0; transform: translate(0, var(--sy)); }
html.reduce-motion .w-drift svg { transform: rotate(var(--r)); }

@media (max-width: 520px) {
	body { font-size: 1rem; }
	.btn-row .btn { width: 100%; }
	.avail .btn { width: auto; }
}
