/* Blainey theme. Colours and fonts come from theme.json presets. Brief: context/design-brief.md */
:root {
	--ink: var(--wp--preset--color--ink, #0a1113);
	--surface: var(--wp--preset--color--surface, #111b1e);
	--teal: var(--wp--preset--color--teal, #41b488);
	--teal-deep: var(--wp--preset--color--teal-deep, #1b6d72);
	--amber: var(--wp--preset--color--amber, #e8b45a);
	--cream: var(--wp--preset--color--cream, #efe6d2);
	--muted: var(--wp--preset--color--muted, #8ea2a4);
	--line: rgba(250, 171, 0, 0.1);
	--card: rgba(22, 36, 40, 0.55);
	--bar-h: 104px;
	--tabs-h: 0px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--bar-r: 4px; /* buttons and chips are "bars" like the logo, not pills */
}

html, body { height: 100%; }
body {
	margin: 0;
	overflow: hidden;
	background:
		radial-gradient(1200px 700px at 12% -10%, rgba(65, 180, 136, 0.13), transparent 60%),
		radial-gradient(900px 600px at 100% 110%, rgba(27, 109, 114, 0.18), transparent 60%),
		var(--ink);
	-webkit-font-smoothing: antialiased;
}
/* Mild grain texture over the whole page */
body::before {
	content: "";
	position: fixed; inset: 0; pointer-events: none; z-index: 0;
	opacity: 0.07; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Menu bar ---------- */
.bar {
	position: fixed; inset: 0 0 auto 0; z-index: 10;
	height: var(--bar-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
	--pad: clamp(16px, 4vw, 56px);
	--logo-w: 105px; /* 88px tall logo */
	padding: 0 var(--pad);
	background: linear-gradient(to bottom, rgba(10, 17, 19, 0.92), rgba(10, 17, 19, 0.6));
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
/* Light behind the logo so its dark lettering reads: full from the left edge to the logo's middle,
   fading out to the right, and fading at the top and bottom */
.bar::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; pointer-events: none;
	--mid: calc(var(--pad) + var(--logo-w) / 2);
	--f: 340px; /* length of the fade to the right */
	width: calc(var(--mid) + var(--f));
	/* eased (cosine) stops so the fade has no visible bands */
	background: linear-gradient(to right,
		rgba(237, 235, 222, .88) 0, rgba(237, 235, 222, .88) var(--mid),
		rgba(237, 235, 222, .86) calc(var(--mid) + var(--f) * .1), rgba(237, 235, 222, .80) calc(var(--mid) + var(--f) * .2),
		rgba(237, 235, 222, .70) calc(var(--mid) + var(--f) * .3), rgba(237, 235, 222, .58) calc(var(--mid) + var(--f) * .4),
		rgba(237, 235, 222, .44) calc(var(--mid) + var(--f) * .5), rgba(237, 235, 222, .30) calc(var(--mid) + var(--f) * .6),
		rgba(237, 235, 222, .18) calc(var(--mid) + var(--f) * .7), rgba(237, 235, 222, .08) calc(var(--mid) + var(--f) * .8),
		rgba(237, 235, 222, .02) calc(var(--mid) + var(--f) * .9), rgba(237, 235, 222, 0) 100%);
	-webkit-mask: var(--vfade); mask: var(--vfade);
	--vfade: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.1) 6%, rgba(0,0,0,.35) 12%, rgba(0,0,0,.7) 20%, rgba(0,0,0,.92) 27%, #000 33%, #000 67%, rgba(0,0,0,.92) 73%, rgba(0,0,0,.7) 80%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.1) 94%, rgba(0,0,0,0) 100%);
}
.brand { position: relative; display: block; height: 88px; flex: none; justify-self: start; }
.brand img { height: 100%; width: auto; display: block; }

.tabs { display: flex; gap: 2px; justify-self: center; }
.social { flex: none; justify-self: end; display: block; width: 34px; height: 34px; color: var(--cream); transition: color .2s; }
.social:hover { color: var(--teal); }
.social svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.tabs a {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 14px; border-radius: var(--bar-r); white-space: nowrap;
	color: var(--muted); text-decoration: none;
	font: 500 0.9375rem/1 var(--wp--preset--font-family--display);
	letter-spacing: 0.02em;
	transition: color .2s, background-color .2s;
}
.tabs a:hover { color: var(--cream); }
.tabs a[aria-current="page"] { color: var(--ink); background: var(--teal); }
.tabs .short { display: none; }
.score-btn { display: none; }
.tabs a:focus-visible, .brand:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Slides ---------- */
.deck { position: fixed; inset: var(--bar-h) 0 var(--tabs-h) 0; z-index: 1; }
.slide {
	position: absolute; inset: 0;
	overflow-y: auto; overscroll-behavior: contain;
	display: flex;
	padding: clamp(24px, 4vw, 56px) clamp(16px, 5vw, 72px);
	opacity: 0; visibility: hidden; transform: translateX(3%);
	transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.slide.is-before { transform: translateX(-3%); }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.slide__inner { margin: auto; width: 100%; max-width: 1180px; }
.slide__inner > * + * { margin-top: 1.25rem; }

/* Type */
.slide h1, .slide h2 { font-size: var(--wp--preset--font-size--huge); margin: 0; letter-spacing: -0.01em; }
.slide h3 { font-size: var(--wp--preset--font-size--large); margin: 0 0 .5rem; }
.eyebrow { color: var(--amber); text-transform: uppercase; letter-spacing: .2em; font: 600 .8rem/1 var(--wp--preset--font-family--display); margin: 0; }
.lede { color: var(--muted); font-size: var(--wp--preset--font-size--large); max-width: 36ch; margin: 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Intro: video and a line of text */
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.intro > * { margin: 0 !important; }
.intro__text > * + * { margin-top: 1.25rem; }
.video-frame {
	position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
	background:
		radial-gradient(60% 80% at 30% 20%, rgba(65, 180, 136, 0.25), transparent 70%),
		linear-gradient(135deg, #12252a, #0b1416);
	border: 1px solid var(--line);
	display: grid; place-items: center;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame .wp-block-video { margin: 0; position: absolute; inset: 0; }
.video-frame .play {
	width: 84px; height: 84px; border-radius: 50%;
	background: rgba(239, 230, 210, 0.08); border: 1px solid rgba(239, 230, 210, 0.3);
	display: grid; place-items: center; margin: 0;
}
.video-frame .play::after { content: ""; border-left: 22px solid var(--cream); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video-frame .note { position: absolute; bottom: 14px; left: 18px; margin: 0; color: var(--muted); font-size: .8rem; }

/* Cards (testimonials, value, help, pricing) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(24px, 4vh, 48px) !important; }
.card {
	background: var(--card); border: 1px solid var(--line); border-radius: 18px;
	padding: clamp(20px, 2.4vw, 32px);
	margin: 0 !important;
	transition: border-color .2s, transform .2s var(--ease);
}
.card:hover { border-color: rgba(65, 180, 136, 0.45); }
.card > * { margin: 0; }
.card > * + * { margin-top: .75rem; }
.card p { color: var(--muted); }

.quote { font-size: var(--wp--preset--font-size--large); color: var(--cream) !important; font-family: var(--wp--preset--font-family--display); font-weight: 500; line-height: 1.4; }
.quote::before { content: "\201C"; color: var(--amber); font-size: 2em; line-height: 0; vertical-align: -.32em; margin-right: .08em; }
.who { font-size: .875rem; }

.stat { font: 700 clamp(2.2rem, 1.4rem + 2.5vw, 3.4rem)/1 var(--wp--preset--font-family--display); color: var(--amber) !important; }

/* Click to reveal more (details block) */
.card details summary { cursor: pointer; list-style: none; color: var(--teal); font-weight: 500; }
.card details summary::-webkit-details-marker { display: none; }
.card details summary::after { content: " +"; }
.card details[open] summary::after { content: " \2013"; }
.card details > :not(summary) { color: var(--muted); margin-top: .75rem; }

/* Pricing */
.tier .price { font: 700 2rem/1 var(--wp--preset--font-family--display); color: var(--cream) !important; }
.tier.is-featured { border-color: var(--amber); background: linear-gradient(180deg, rgba(232, 180, 90, 0.12), var(--card)); }

.wp-block-buttons { margin-top: clamp(24px, 4vh, 40px) !important; }
.wp-block-button__link { padding: .85em 1.8em; transition: filter .2s; }
/* Calls to action are in capitals */
.wp-block-button__link, .survey-cta__big, .survey-cta__ghost, .sv__next, .score-btn { text-transform: uppercase; letter-spacing: .06em; }
.wp-block-button__link:hover { filter: brightness(1.1); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--cream); border: 1px solid var(--line); }

/* About us: founder photo and a few lines */
.founder { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder > * { margin: 0 !important; }
.founder__text > * + * { margin-top: 1rem; }
.founder__photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; position: relative; border: 1px solid var(--line);
	background: radial-gradient(70% 60% at 50% 35%, rgba(65, 180, 136, .22), transparent 70%), linear-gradient(160deg, #13262b, #0b1416); display: grid; place-items: center; }
.founder__photo img, .founder__photo figure { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.founder__photo .note { color: var(--muted); margin: 0; }
.founder__role { color: var(--amber) !important; font: 500 1rem/1 var(--wp--preset--font-family--display); }

/* Contact */
.contact__email { font: 600 clamp(1.6rem, 1rem + 2.4vw, 2.8rem)/1.1 var(--wp--preset--font-family--display); margin-top: 1.5rem !important; }
.contact__email a { color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--teal); }
.contact__email a:hover { color: var(--teal); }

/* ---------- Mobile: same slides, tabs at the bottom ---------- */
@media (max-width: 1080px) {
	:root { --bar-h: 92px; --tabs-h: calc(50px + env(safe-area-inset-bottom)); }
	/* no backdrop-filter here: it would trap the fixed tab bar inside the header */
	.bar { display: flex; justify-content: center; backdrop-filter: none; background: rgba(10, 17, 19, 0.96); }
	/* Logo is centred on mobile, so the light sits behind it instead of running from the edge */
	.bar::before { left: 50%; width: 220px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(237, 235, 222, 0.85), rgba(170, 205, 200, 0.4) 55%, transparent); -webkit-mask: none; mask: none; }
	.social { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; }
	.slide--intro h1 { font-size: 1.9rem; }
	.intro__text { text-align: center; }
	.intro__text .lede { margin-inline: auto; }
	.intro__text .wp-block-buttons { justify-content: center; }
	.brand { height: 80px; }
	.tabs {
		position: fixed; inset: auto 0 0 0;
		height: var(--tabs-h); padding: 6px 4px env(safe-area-inset-bottom);
		background: rgba(10, 17, 19, 0.96); border-top: 1px solid var(--line);
		gap: 0; justify-content: space-around; justify-self: stretch; /* full width (centre alignment would shrink it) */
	}
	.tabs a { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 4px; padding: 6px 0; border-radius: 12px; font-size: .62rem; letter-spacing: -.01em; }
	.tabs a[aria-current="page"] { background: transparent; color: var(--teal); }
	.tabs .long { display: none; }
	.tabs .short { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; line-height: 1.35; } /* room for descenders (the g in Pricing) */
	.score-btn:not([hidden]) { display: block; position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); z-index: 2;
		font: 600 .8rem/1 var(--wp--preset--font-family--display); color: var(--ink); background: var(--teal); border: 0; border-radius: var(--bar-r); padding: 9px 14px; cursor: pointer; }
	.intro { grid-template-columns: 1fr; }
	.founder { grid-template-columns: 1fr; }
	.founder__photo { max-width: 240px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto !important; }
	.founder__text { text-align: center; }
	.founder__text .lede { margin-inline: auto; }
	.cards { grid-template-columns: 1fr; gap: 10px; margin-top: 18px !important; }
	/* compact cards so each slide fits one phone screen */
	.slide { padding: 18px 16px; }
	.slide__inner > * + * { margin-top: .9rem; }
	.slide h1, .slide h2 { font-size: 1.75rem; }
	.lede { font-size: 1.02rem; }
	.card { padding: 14px 16px; border-radius: 14px; }
	.card > * + * { margin-top: .4rem; }
	.card p { font-size: .92rem; line-height: 1.45; }
	.quote { font-size: 1rem !important; }
	.stat { font-size: 1.9rem !important; }
	.tier { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; }
	.tier > * + * { margin-top: 0 !important; }
	.tier h3 { margin: 0; font-size: 1.1rem; }
	.tier .price { font-size: 1.1rem; text-align: right; }
	.tier p:not(.price) { grid-column: 1 / -1; margin-top: .35rem !important; }
	.wp-block-buttons { margin-top: 18px !important; }
	.slide__inner { margin: 0 auto auto; }
}

/* Short desktop windows (e.g. 1366×768 screens once browser toolbars are taken off): keep every slide on one screen */
@media (min-width: 1081px) and (max-height: 760px) {
	:root { --bar-h: 88px; }
	.bar { --logo-w: 88px; }
	.brand { height: 74px; }
	.slide { padding-block: 20px; }
	.slide__inner > * + * { margin-top: 1rem; }
	.slide h1, .slide h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); }
	.founder__photo { height: min(440px, calc(100vh - var(--bar-h) - 60px)); width: auto; aspect-ratio: 4 / 5; }
	.founder { grid-template-columns: auto 1fr; }
	.survey-cta { margin-top: 20px !important; }
	.survey-cta__big { padding: .8em 2em; }
	.cred { margin-top: 1rem !important; }
	.contact__email { margin-top: .8rem !important; }
}

/* Small phones (e.g. iPhone SE): a little tighter still */
@media (max-width: 1080px) and (max-height: 700px) {
	:root { --bar-h: 80px; }
	.brand { height: 68px; }
	.slide { padding-block: 12px; }
	.slide__inner > * + * { margin-top: .7rem; }
	.slide h1, .slide h2 { font-size: 1.5rem; }
	.lede { font-size: .95rem; }
	.card { padding: 12px 14px; }
	.card p { font-size: .86rem; }
	.measures { margin-top: .8rem !important; }
	.measures p { padding: 6px 12px; font-size: .85rem; }
	.wp-block-buttons, .survey-cta { margin-top: 12px !important; }
}

/* ---------- Bars: buttons and chips take the logo's bar shape ----------
   Square-ish corners, a lighter triangle folded down from the top edge (like the V on each logo bar)
   and a darker foot, so they read as small 3D blocks. */
.wp-block-button__link, .survey-cta__big, .survey-cta__ghost, .sv__next, .score-btn, .sv-chip, .measures p {
	position: relative; isolation: isolate; overflow: hidden;
}
.wp-block-button__link::before, .survey-cta__big::before, .survey-cta__ghost::before, .sv__next::before,
.score-btn::before, .sv-chip::before, .measures p::before {
	content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 78%;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1));
	pointer-events: none;
}
.wp-block-button__link::after, .survey-cta__big::after, .survey-cta__ghost::after, .sv__next::after,
.score-btn::after, .sv-chip::after, .measures p::after {
	content: ""; position: absolute; z-index: -1; inset: 45% 0 0 0;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .22));
	pointer-events: none;
}
/* Outlined and dark bars: a fainter fold */
.is-style-outline .wp-block-button__link::before, .survey-cta__ghost::before, .sv-chip::before, .measures p::before {
	background: linear-gradient(180deg, rgba(239, 230, 210, .17), rgba(239, 230, 210, .03));
}
.sv-chip[aria-pressed="true"]::before { background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1)); }

/* ---------- Large text boxes: very slightly 3D, lit from the top left like the logo bars ---------- */
.card, .sv-insight, .sv-next {
	--tilt: perspective(1400px) rotateX(1.2deg) rotateY(-1.6deg);
	--v-depth: 90px; /* depth of the folded triangle at the top */
	transform: var(--tilt);
	border-radius: 8px;
	position: relative; isolation: isolate;
	background-image: linear-gradient(115deg, rgba(239, 230, 210, .05), transparent 45%, rgba(0, 0, 0, .18));
	box-shadow: 6px 10px 24px -12px rgba(0, 0, 0, .7), inset 1px 1px 0 rgba(239, 230, 210, .05);
}
.card::before, .sv-insight::before, .sv-next::before {
	content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: var(--v-depth);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	background: linear-gradient(180deg, rgba(239, 230, 210, .09), rgba(239, 230, 210, .015));
	pointer-events: none; border-radius: 8px 8px 0 0;
}
@media (max-width: 1080px) { .card, .sv-insight, .sv-next { --v-depth: 40px; } }

.card { --prism: 22px; } /* how far the centre crease stands up (site.js folds the letters onto the faces) */
@media (max-width: 1080px) { .card { --prism: 10px; } }
.card .lw { white-space: nowrap; }
/* Folded cards (site.js): the surface is drawn by four folded, shaded faces instead of the flat box */
.card.is-folded { background: transparent !important; border-color: transparent; transform: none; }
.card.is-folded:hover { transform: translateY(-2px); }
.card.is-folded::before, .card.is-folded::after { display: none; }
.card-face { position: absolute; inset: 0; margin: 0 !important; z-index: -1; transform-origin: 0 0; pointer-events: none; box-shadow: inset 0 0 0 1px var(--edge, var(--line)); }
.card.is-folded:hover .card-face { box-shadow: inset 0 0 0 1px rgba(65, 180, 136, 0.45); }
.card .lt { display: inline-block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Desktop: tall, faint side triangles for the previous and next tab (site.js) */
.side-nav { position: fixed; z-index: 5; top: calc(var(--bar-h) + (100vh - var(--bar-h)) / 2); transform: translateY(-50%);
	width: 18px; height: 40vh; padding: 0; border: 0; cursor: pointer;
	background: linear-gradient(180deg, rgba(239, 230, 210, .05), rgba(239, 230, 210, .11), rgba(239, 230, 210, .05));
	transition: background-color .2s, opacity .2s; opacity: .7; }
.side-nav:hover, .side-nav:focus-visible { opacity: 1; background-color: rgba(65, 180, 136, .12); outline: none; }
.side-nav--prev { left: 14px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.side-nav--next { right: 14px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.side-nav[hidden], body.survey-open .side-nav { display: none; }
@media (max-width: 1080px) { .side-nav { display: none; } }
.card:hover { transform: var(--tilt) translateY(-2px); }
.tier.is-featured { background-image: linear-gradient(115deg, rgba(232, 180, 90, .14), transparent 50%, rgba(0, 0, 0, .18)); }

/* ---------- Tab highlight: a triangle that rolls to the chosen tab (site.js) ---------- */
@media (min-width: 1081px) { .tabs { position: relative; } .tabs a[aria-current="page"] { color: var(--cream); background: transparent; } }
.tab-tri {
	--s: 52.5px; position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none;
	width: var(--s); height: calc(var(--s) * .866);
	transform-origin: 50% 66.667%;
	opacity: 0;
}
.tab-tri.is-on { opacity: 1; }
.tab-tri svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media (max-width: 1080px) { .tab-tri { --s: 41px; } }
/* Ink copy of the tabs, shown only inside the triangle (clip-path set in site.js) */
.tabs-ink { position: absolute; inset: 0; z-index: 2; pointer-events: none; clip-path: polygon(0 0, 0 0, 0 0);
	display: inherit; gap: inherit; padding: inherit; justify-content: inherit; align-items: inherit; background: none; border: 0; height: auto; }
.tabs .tabs-ink a, .tabs .tabs-ink a:hover { color: var(--ink); background: transparent; }

.booting .slide { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	.slide, .slide.is-active { transition: none; transform: none; }
}

/* Editor: show slides as normal content */
.editor-styles-wrapper .slide__inner { margin: 0 auto; }

/* ---------- Word carousels in headings (site.js): words roll up through a hidden window ---------- */
/* the window reaches a little above and below the line so accents and descenders aren't cut, without changing the line spacing */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; height: calc(var(--lh, 1.2em) + .45em); margin: -.15em 0 -.3em; line-height: var(--lh, 1.2); transition: width .5s var(--ease); }
.roll__word { display: block; width: max-content; white-space: nowrap; height: calc(var(--lh, 1.2em) + .45em); padding-top: .15em; box-sizing: border-box; transition: transform .5s var(--ease); }
.roll__word.is-in { position: absolute; left: 0; top: 0; }
.roll__probe { position: absolute; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .roll, .roll__word { transition: none; } }

/* ---------- Contact details ---------- */
.contact__details { display: grid; gap: .35rem; margin-top: 1rem !important; }
.contact__line { margin: 0; color: var(--cream); }
.contact__line span { display: inline-block; min-width: 6.5em; color: var(--muted); font-size: .8em; text-transform: uppercase; letter-spacing: .12em; }
.contact__line a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--teal); }
.contact__line em { color: var(--muted); font-style: normal; font-size: .8em; margin-left: .4em; }

/* ---------- Latest insights on the About us slide ---------- */
.latest { margin-top: 1.4rem !important; font-size: .95rem; line-height: 1.45; }
.latest__head { margin: 0 0 .4rem; color: var(--amber); text-transform: uppercase; letter-spacing: .2em; font: 600 .72rem/1 var(--wp--preset--font-family--display); }
.latest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.latest li a { color: var(--cream); text-decoration: none; }
.latest li a:hover { color: var(--teal); }
.latest li span { color: var(--muted); font-size: .78em; margin-left: .5em; }
.latest__all { display: inline-block; margin-top: .5rem; color: var(--teal); font-size: .9em; text-decoration: none; }

/* ---------- Insights pages (blog): ordinary scrolling pages under the same menu bar ---------- */
body.insights-page { overflow: auto; height: auto; }
.page { position: relative; z-index: 1; max-width: 760px; margin: 0 auto;
	padding: calc(var(--bar-h) + 48px) clamp(16px, 4vw, 56px) calc(var(--tabs-h) + 72px); color: var(--cream); }
.page h1 { font: 600 clamp(2rem, 1.4rem + 2vw, 3rem)/1.12 var(--wp--preset--font-family--display); margin: .5rem 0 1.2rem; }
.page .eyebrow a { color: inherit; text-decoration: none; }
.topics { display: flex; gap: 8px; margin-bottom: 2rem; }
.topics a { color: var(--cream); text-decoration: none; border: 1px solid var(--line); border-radius: var(--bar-r); padding: 6px 12px; font-size: .85rem; }
.topics a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.post-list h2 { font: 600 1.35rem/1.3 var(--wp--preset--font-family--display); margin: .3rem 0 .4rem; }
.post-list h2 a { color: var(--cream); text-decoration: none; }
.post-list h2 a:hover { color: var(--teal); }
.post-list p, .post__body { color: var(--muted); line-height: 1.7; }
.post-meta { color: var(--muted); font-size: .8rem; letter-spacing: .04em; margin: 0; }
.post__body { margin-top: 1.6rem; font-size: 1.05rem; }
.post__body a, .post__back a, .nav-links a { color: var(--teal); }
.post__back { margin-top: 2.5rem; }
.nav-links { display: flex; gap: 16px; margin-top: 2rem; }
/* short phones: a smaller founder photo and two headlines keep About us on one screen */
@media (max-width: 1080px) and (max-height: 700px) {
	.founder__photo { max-width: 170px; }
	.latest li:nth-child(n+3) { display: none; }
	.latest { margin-top: .9rem !important; }
}

/* "Email address copied" message (email links copy instead of opening a mail app; site.js) */
.copy-toast {
	position: fixed; left: 50%; bottom: calc(var(--tabs-h, 0px) + 24px); z-index: 120; pointer-events: none;
	transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s, transform .3s var(--ease);
	background: var(--cream); color: var(--ink); font-weight: 500; padding: 14px 22px; border-radius: var(--bar-r); width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
.copy-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
