/*
Theme Name: Built By Micah
Theme URI: https://built-by-micah.com
Author: Built By Micah
Author URI: https://built-by-micah.com
Description: Built By Micah v6, "the night thread". Split-stage marketing theme for Ricochet missed call text-back. Navy and gold, Archivo only, every word and price editable in Appearance > Customize. No page builder, no paid plugins.
Version: 6.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: built-by-micah-v6
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-var-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}

:root {
	--stage: #0d1727;
	--navy: #16263f;
	--paper: #faf7f2;
	--surface: #f1ece3;
	--muted: #4a5568;
	--gold: #c9a84c;
	--gold-hi: #e9cd85;
	--ink: var(--navy);
	--on-dark: #f4efe6;
	--on-dark-2: #b9c0cc;

	--r: 12px;
	--gut: clamp(16px, 4vw, 56px);
	--max: 1360px;

	--fs-display: clamp(34px, 4.2vw, 64px);
	--fs-heading: clamp(26px, 2.4vw, 36px);
	--fs-lg: 20px;
	--fs-body: 17px;
	--fs-sm: 14px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--fs-body)/1.65 "Archivo", system-ui, sans-serif;
	font-stretch: 100%;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: inherit; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--stage); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--stage); padding: 12px 18px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

/* Type roles: five sizes, one family. */
.t-display, .hero__h1, .cta__h {
	font-size: var(--fs-display);
	font-stretch: 125%;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: .95;
}
.t-heading, .sec-h {
	font-size: var(--fs-heading);
	font-stretch: 125%;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.05;
}
.t-lg { font-size: var(--fs-lg); line-height: 1.45; }
.t-sm { font-size: var(--fs-sm); line-height: 1.45; }
.line { display: block; }
.muted { color: var(--muted); }
.status { font-weight: 400; color: var(--muted); font-stretch: 100%; letter-spacing: 0; }

/* Numbers read like an instrument: tabular, wide, tight. */
.readout { font-stretch: 125%; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   3. Buttons and links
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 24px;
	background: var(--gold); color: var(--stage);
	border: 0; border-radius: var(--r);
	font-size: var(--fs-body); font-weight: 700; font-stretch: 112%; letter-spacing: -0.005em;
	text-decoration: none; cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--navy { background: var(--navy); color: var(--paper); }
.btn--navy:hover { background: var(--stage); }
.btn--navy:focus-visible { outline-color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.btn-row--center { justify-content: center; }
.link {
	font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold);
	text-decoration-thickness: 2px; text-underline-offset: 5px;
	transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.top { position: relative; z-index: 40; background: var(--paper); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.top__logo { display: flex; align-items: center; flex: none; min-height: 44px; }
.top__logo img { width: 176px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.nav a { text-decoration: none; font-weight: 600; font-stretch: 110%; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 18px; }
.top__menu { display: none; }

@media (max-width: 860px) {
	.top__in { min-height: 64px; }
	.top__logo img { width: 144px; }
	.top__menu {
		display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
		padding: 0 14px; border: 0; border-radius: var(--r); background: var(--surface); font-weight: 600; cursor: pointer;
	}
	.top__book { min-height: 44px; padding: 10px 14px; margin-left: auto; white-space: nowrap; }
	.nav-wrap { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); color: var(--on-dark); display: none; }
	.nav-wrap.is-open { display: block; }
	.nav { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; }
	.nav a { display: block; padding: 14px 0; font-size: var(--fs-lg); }
	.nav li:last-child { display: none; }
}
@media (min-width: 861px) { .top__book { display: none; } }

/* ==========================================================================
   5. Split stage (home): copy on the left, the night thread fixed on the right
   ========================================================================== */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	grid-template-rows: auto auto;
	gap: 0 clamp(20px, 2.4vw, 36px);
	padding: 0 12px 12px 0;
	padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
}
.split__hero { grid-column: 1; grid-row: 1; }
.split__steps { grid-column: 1; grid-row: 2; }
.stage { grid-column: 2; grid-row: 1 / span 2; }

.hero { padding-block: clamp(24px, 4vh, 48px); min-height: min(calc(100svh - 88px), 780px); display: flex; flex-direction: column; justify-content: center; }
.hero__sheet { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); container-type: inline-size; }
/* Sized from the sheet's own width so "You didn't pick up." never breaks to a third line. */
.hero__h1 { margin-bottom: 28px; font-size: clamp(28px, 9.4cqi, 64px); }
.hero__h1 .line + .line { color: var(--muted); }
.hero__answer { font-size: var(--fs-lg); line-height: 1.6; max-width: 34em; margin-bottom: 28px; }
.hero__f10 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 28px; font-size: var(--fs-sm); }
.hero__f10 strong { font-size: var(--fs-body); }

/* Founding 10 spots: ten squares, filled = still open. Same dot language as the stage. */
.spots { display: inline-flex; gap: 4px; }
.spots i { width: 12px; height: 12px; border-radius: 3px; background: var(--gold); }
.spots i.is-taken { background: var(--muted); opacity: .35; }
.on-dark .spots i.is-taken { background: var(--on-dark-2); }

.steps__h { padding-top: 24px; margin-bottom: 8px; }
.step { display: flex; flex-direction: column; justify-content: center; min-height: 64vh; padding-block: 32px; }
.split__steps { padding-bottom: 18vh; }
/* Phone-only pinned status bar: mirrors the stage while the statements scroll. */
.mini { display: none; }
.mini__lines { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1; min-width: 0; }
.mini__line { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease-out); font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__line b { display: block; font-size: 12px; font-weight: 600; font-stretch: 108%; font-variant-numeric: tabular-nums; color: var(--gold); }
.mini__line.is-on { opacity: 1; transform: none; }
.mini__dots { display: inline-flex; gap: 4px; flex: none; }
.mini__dots i { width: 14px; height: 4px; border-radius: 2px; background: rgba(244,239,230,.22); transition: background-color .35s var(--ease); }
.mini__dots i.is-on { background: var(--gold); }
.step__h { font-size: var(--fs-heading); font-stretch: 125%; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; max-width: 15em; margin-bottom: 14px; }
.step__sub { font-size: var(--fs-lg); line-height: 1.6; max-width: 24em; margin: 0; }
.step__bar { width: 64px; height: 6px; border-radius: 3px; background: var(--surface); margin-bottom: 22px; overflow: hidden; }
.step__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.step.is-active .step__bar span { transform: scaleX(1); }

/* The stage */
.stage {
	position: sticky; top: 12px; height: calc(100svh - 24px); min-height: 560px;
	margin-top: 12px;
	display: flex; flex-direction: column;
	background: var(--stage); color: var(--on-dark);
	border-radius: var(--r); overflow: hidden; isolation: isolate;
}
.stage__view { position: relative; flex: 1; min-height: 0; }
.stage__field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.stage__clock {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 16px 20px; font-size: var(--fs-sm); font-weight: 600; font-stretch: 112%;
}
.stage__clock time { font-variant-numeric: tabular-nums; }
.clock__state { display: inline-flex; align-items: center; gap: 8px; }
.clock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s var(--ease) infinite; }
.is-open .clock__dot { background: #7fc79a; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.stage__foot {
	flex: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
	min-height: 56px; padding: 0 20px; background: var(--paper); color: var(--ink);
	font-size: var(--fs-sm); font-weight: 600; font-stretch: 110%;
}

/* ==========================================================================
   6. Thread: a cropped messages fragment (data-ui)
   ========================================================================== */
.thread {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column; gap: 10px;
	padding: 20px clamp(16px, 2vw, 28px) 24px;
	list-style: none;
	font-size: var(--fs-sm);
}
.msg { max-width: 86%; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.msg__b { padding: 12px 16px; border-radius: 18px; line-height: 1.42; font-size: 15px; }
.msg__meta { display: flex; gap: 10px; margin-top: 6px; color: var(--on-dark-2); font-size: 13px; font-weight: 500; }
.msg--out { align-self: flex-end; text-align: left; }
.msg--out .msg__b { background: var(--gold); color: var(--stage); border-bottom-right-radius: 6px; }
.msg--out .msg__meta { justify-content: flex-end; }
.msg--in { align-self: flex-start; }
.msg--in .msg__b { background: var(--on-dark); color: var(--stage); border-bottom-left-radius: 6px; }
.msg--sys {
	align-self: stretch; max-width: none; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border-radius: var(--r); background: rgba(244, 239, 230, .1); font-size: 15px;
}
.msg--sys svg { flex: none; color: var(--gold); }
.msg--owner {
	align-self: stretch; max-width: none; padding: 14px 16px; border-radius: var(--r);
	background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.42;
}
.msg--owner b { display: block; font-size: 13px; font-stretch: 112%; color: var(--muted); margin-bottom: 4px; }
.msg__timer { color: var(--gold-hi); }

/* The stage thread keeps its newest messages; older ones slide off the top, under the clock. */
[data-thread] { top: 56px; justify-content: flex-end; overflow: hidden; }
.js [data-thread] .msg:not(.is-on) { display: none; }
@starting-style { .js [data-thread] .msg.is-on { opacity: 0; transform: translateY(18px) scale(.98); } }
.js .thread .msg { opacity: 0; transform: translateY(18px) scale(.98); }
.js .thread .msg.is-on { opacity: 1; transform: none; }
.typing { align-self: flex-end; display: none; gap: 5px; padding: 12px 16px; border-radius: 18px; background: rgba(201, 168, 76, .25); }
.typing.is-on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ==========================================================================
   7. Sections after the split
   ========================================================================== */
.sec { padding-block: clamp(72px, 9vw, 136px); }
.sec-h { margin-bottom: 28px; }
.lede { font-size: var(--fs-lg); max-width: 36em; }
.on-dark { background: var(--navy); color: var(--on-dark); }
.on-dark .muted, .on-dark .status { color: var(--on-dark-2); }
.on-dark .link { text-decoration-color: var(--gold); }
.on-dark :focus-visible { outline-color: var(--gold); }

/* Demo: your shop (paper) | their text (night) */
.demo { padding-block: 12px; }
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-inline: 12px; }
.demo__half { border-radius: var(--r); padding: clamp(28px, 4.5vw, 64px); min-height: 620px; }
.demo__shop { background: var(--surface); display: flex; flex-direction: column; justify-content: flex-start; }
.demo__night { background: var(--stage); color: var(--on-dark); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.demo__h { font-size: var(--fs-display); font-stretch: 125%; letter-spacing: -0.03em; line-height: .95; margin-bottom: 24px; }
.demo__lead { font-size: var(--fs-lg); max-width: 26em; margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; max-width: 420px; }
.field label, .field .label { font-weight: 600; font-size: var(--fs-body); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px;
	background: var(--paper); border: 2px solid var(--navy); border-radius: var(--r);
	font-size: var(--fs-body); transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--paper); border-radius: var(--r); max-width: 420px; }
.seg button {
	min-height: 44px; padding: 8px 16px; border: 0; border-radius: 9px; background: transparent;
	font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.seg button:not([aria-pressed="true"]):hover { background: var(--surface); }

.demo__night .stage__field { z-index: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Proof band */
.proof { background: var(--paper); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.proof__q { margin-bottom: 18px; }
.proof__a { font-size: var(--fs-lg); max-width: 30em; }
.proof__pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stage); }
.proof__pic img { width: 100%; height: 100%; object-fit: cover; }
.reviews { margin-top: 32px; display: grid; gap: 20px; }
.review { background: var(--surface); border-radius: var(--r); padding: 24px; margin: 0; }
.review p { font-size: var(--fs-lg); margin-bottom: 12px; }
.review cite { font-style: normal; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Prices like a menu */
.prices { padding-inline: 12px; }
.prices__field { background: var(--navy); color: var(--on-dark); border-radius: var(--r); padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); position: relative; overflow: hidden; }
.prices__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.menu { list-style: none; display: grid; gap: 12px; }
.menu__row {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 40px; align-items: center;
	padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: rgba(13, 23, 39, .55);
	transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.menu__row:hover { background: var(--stage); }
.menu__row--lead { background: var(--stage); }
.menu__name { font-size: var(--fs-heading); font-stretch: 125%; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 8px; }
.menu__desc { margin: 0; color: var(--on-dark-2); max-width: 34em; }
.menu__price { text-align: right; }
.menu__amt { display: block; font-size: var(--fs-display); line-height: 1; color: var(--gold); }
.menu__amt small { font-size: var(--fs-lg); font-stretch: 100%; color: var(--on-dark); font-weight: 600; letter-spacing: 0; }
.menu__terms { display: block; margin-top: 10px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.menu__terms strong { color: var(--on-dark); }
.prices__foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }

/* Founder letter */
.letter__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.letter__pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.letter__pic img { width: 100%; height: 100%; object-fit: cover; }
.letter__body p { font-size: var(--fs-lg); max-width: 30em; }
.letter__sig { margin-top: 28px; font-weight: 700; font-stretch: 112%; }
.letter__sig span { display: block; font-weight: 400; color: var(--muted); font-stretch: 100%; font-size: var(--fs-sm); }

/* FAQ: two columns, questions run into answers */
.faq { background: var(--surface); }
.faq__list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(20px, 3vw, 40px); align-items: start; }
.faq__item { background: var(--paper); border-radius: var(--r); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 20px; font-weight: 700; font-stretch: 112%; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--navy); font-weight: 700; transition: transform .35s var(--ease-out), background-color .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--gold); }
.faq__item summary:hover::after { background: var(--gold); }
.faq__item p { margin: 0; padding: 0 20px 20px; max-width: 40em; }

/* CTA on a gold field */
.cta { padding: 12px; }
.cta__field { background: var(--stage); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); padding: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.cta__h { font-size: clamp(56px, 9vw, 148px); margin-bottom: 24px; }
.cta__text { font-size: var(--fs-lg); max-width: 28em; margin: 0; }
.slot { background: var(--paper); border-radius: var(--r); padding: 28px; display: grid; gap: 18px; }
.slot__title { font-size: var(--fs-lg); font-weight: 700; font-stretch: 112%; margin: 0; }
.slot__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: var(--fs-sm); list-style: none; }
.slot__facts li { display: inline-flex; align-items: center; gap: 6px; }
.slot .btn { width: 100%; }
.slot__alt { font-size: var(--fs-sm); margin: 0; color: var(--muted); }
.slot__alt a { color: var(--ink); }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.foot { background: var(--stage); color: var(--on-dark); margin-top: 12px; }
.foot__in { padding-block: 64px 32px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot__brand p { color: var(--on-dark-2); margin: 14px 0 0; max-width: 24em; }
.foot__brand img { width: 168px; filter: brightness(0) invert(1); opacity: .92; }
.foot h2 { font-size: var(--fs-body); font-stretch: 112%; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--on-dark); }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.social { display: flex; gap: 10px; list-style: none; margin-top: 20px; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); background: rgba(244, 239, 230, .08); transition: background-color .2s var(--ease), color .2s var(--ease); }
.social a:hover { background: var(--gold); color: var(--stage); }
.foot__base { padding-block: 24px 40px; font-size: var(--fs-sm); color: var(--on-dark-2); display: grid; gap: 10px; }
.foot__base p { margin: 0; }
.foot__base a { color: var(--on-dark-2); text-decoration: underline; }

/* ==========================================================================
   9. Shared inner-page parts (pricing, about and the restyled templates)
   ========================================================================== */
.page-head { padding-block: clamp(40px, 7vw, 104px) clamp(32px, 5vw, 64px); }
.page-head__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.page-head h1 { font-size: var(--fs-display); font-stretch: 125%; letter-spacing: -0.03em; line-height: .95; margin-bottom: 32px; }
.answer { font-size: var(--fs-lg); line-height: 1.6; max-width: 32em; margin: 0; }
.block { padding-block: clamp(72px, 9vw, 136px); }
.block--tone { background: var(--surface); }
.cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.passage p { font-size: var(--fs-lg); line-height: 1.65; max-width: 30em; }
.note { background: var(--surface); border-radius: var(--r); padding: 20px 24px; margin: 24px 0 0; }
.on-dark .note { background: rgba(244, 239, 230, .08); }
.prose { max-width: 42em; font-size: 18px; }
.prose h2 { font-size: var(--fs-heading); font-stretch: 125%; letter-spacing: -0.025em; line-height: 1.05; margin: 1.6em 0 .6em; }
.prose h3 { font-size: var(--fs-lg); margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r); }
.prose blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--surface); border-radius: var(--r); font-size: var(--fs-lg); }
.prose a { text-decoration-color: var(--gold); }
.page-head .btn-row { margin-top: 32px; }
.page-head__pic, .cols__pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.page-head__pic img, .cols__pic img { width: 100%; height: 100%; object-fit: cover; }
.cols { align-items: center; }
.passage .btn-row { margin-top: 28px; }
.phone-card { border-radius: var(--r); background: var(--stage); padding: clamp(20px, 3vw, 36px) 0; }
.thread--static { position: static; }
.js .thread--static .msg { opacity: 1; transform: none; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--stage); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.area-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: var(--fs-lg); }

/* ==========================================================================
   10. Motion: entrances, once, transform and opacity only
   ========================================================================== */
.js :is(h2, .demo__h, .viz-fig, .intg, .phone, .slot, .phone-card)[data-in] {
	opacity: 0; transform: translateY(20px); filter: blur(6px);
	transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out), filter .9s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms + 60ms);
}
.js :is(h2, .demo__h, .viz-fig, .intg, .phone, .slot, .phone-card)[data-in].is-in { opacity: 1; transform: none; filter: none; }
.js .hero__h1 .line { display: block; overflow: hidden; }
.js .hero__h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 80ms); }
.js .is-ready .hero__h1 .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-in], .js [data-in].is-in, .js .thread .msg, .js .hero__h1 .line > span { opacity: 1; transform: none; }
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.menu__row { grid-template-columns: 1fr; }
	.menu__price { text-align: left; }
}
@media (max-width: 860px) {
	.split { display: block; padding: 0; }
	.hero { min-height: 0; padding: 12px; }
	.hero__sheet { padding: 28px 20px; }
	.stage { position: relative; height: 560px; margin: 0 12px; }
	.stage__clock { padding: 12px 16px; }
	[data-thread] { top: 42px; }
	.stage__foot { display: none; }
	.thread { padding: 12px 14px 14px; gap: 8px; }
	.msg__b, .msg--sys, .msg--owner { font-size: 14px; }
	.msg__meta { font-size: 13px; }
	.split__steps { padding-inline: var(--gut); }
	.split__steps { padding-block: 28px 8px; }
	.step { min-height: 42svh; padding-block: 24px; }
	.step .step__log { display: none; }
	.mini { display: flex; align-items: center; gap: 12px; position: sticky; top: 10px; z-index: 5; margin: 4px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--stage); color: var(--on-dark); box-shadow: 0 10px 28px rgba(13, 23, 39, .22); }
	.step__h { font-size: clamp(24px, 6.4vw, 30px); }
	.demo__grid, .proof__grid, .letter__grid, .cta__field, .page-head__in, .cols { grid-template-columns: 1fr; }
	.demo__half { min-height: 0; }
	.demo__night { min-height: 560px; }
	.demo__h { font-size: clamp(30px, 8.4vw, 44px); font-stretch: 112%; }
	.faq__list { grid-template-columns: 1fr; }
	.foot__in { grid-template-columns: 1fr; }
	.letter__pic { max-width: 320px; }
	.cta__h { font-size: clamp(56px, 18vw, 96px); }
	.page-head h1 { font-size: clamp(30px, 8.4vw, 44px); font-stretch: 112%; }
}
.pic-stack { display: grid; gap: 16px; }
.passage--next { margin-top: clamp(40px, 5vw, 64px); }

/* "Built with" strip: a slow loop of tool marks. Pauses on hover; still for reduced motion. */
.built { padding-block: clamp(40px, 6vw, 72px); background: var(--paper); }
.built__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.built__h { margin: 0; font-size: var(--fs-lg); font-weight: 600; font-stretch: 112%; white-space: nowrap; }
.built__track { display: flex; overflow: hidden; }
.built__list { display: flex; flex: none; gap: 48px; padding: 0 24px; margin: 0; list-style: none; animation: built-loop 38s linear infinite; }
.built__track:hover .built__list { animation-play-state: paused; }
.built__list li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 17px; white-space: nowrap; transition: color .3s var(--ease); }
.built__list li:hover { color: var(--navy); }
@keyframes built-loop { to { transform: translateX(-100%); } }
@media (max-width: 860px) { .built__in { grid-template-columns: 1fr; } .built__h { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .built__list { animation: none; } .built__track { flex-wrap: wrap; } .built__list[aria-hidden] { display: none; } .built__list { flex-wrap: wrap; row-gap: 16px; } }

/* Inline calendar (Calendly iframe) and /book */
.slot { padding: 20px; }
.cal { display: grid; gap: 10px; }
.cal iframe { width: 100%; height: 700px; border: 0; border-radius: 8px; background: var(--paper); }
.cal__alt { margin: 0; color: var(--muted); }
.cta__facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 6px; font-weight: 600; }
.book { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 104px); }
.book__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.book__copy h1 { font-size: var(--fs-display); font-stretch: 125%; letter-spacing: -0.03em; line-height: .95; margin-bottom: 24px; }
.book__pic { margin: 32px 0 0; }
.book__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r, 6px); }
.cover { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r, 6px); margin-bottom: 18px; }
.cover h3 { font-size: var(--fs-lg); margin: 0 0 8px; }
.cover p { margin: 0; }
@media (max-width: 860px) { .cover { grid-template-columns: 1fr; } .book__pic { display: none; } }
.book__facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: var(--fs-lg); }
@media (max-width: 860px) {
	.book__in { grid-template-columns: 1fr; }
	.book__copy h1 { font-size: clamp(30px, 8.4vw, 44px); font-stretch: 112%; }
	.cal iframe { height: 1000px; }
	.slot { padding: 12px; }
}

/* Service page comparison: three plain rows, the last one on navy. */
.compare { display: grid; gap: 16px; margin: 12px 0 0; }
.compare__row { display: grid; grid-template-columns: minmax(0, .3fr) minmax(0, 1fr); gap: 8px 32px; padding: 30px 32px; border-radius: var(--r); background: var(--surface); }
.compare__row dt { font-weight: 700; font-stretch: 112%; font-size: var(--fs-lg); }
.compare__row dd { margin: 0; font-size: var(--fs-lg); max-width: 40em; }
.compare__row--lead { background: var(--navy); color: var(--on-dark); }
.compare__row--lead dt { color: var(--gold-hi); }
@media (max-width: 860px) { .compare__row { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .cols--city { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; } }
@media (min-width: 861px) { .city-aside { position: sticky; top: 96px; } }
@media (max-width: 400px) { .top__in { gap: 12px; } .top__logo img { width: 128px; } }

/* ==========================================================================
   12. Code-built visuals (no photos on this site)
   ========================================================================== */
.viz-fig { margin: 0; aspect-ratio: auto !important; background: none !important; overflow: visible !important; }
.viz {
	position: relative; overflow: hidden; height: 100%;
	display: flex; flex-direction: column; gap: 14px;
	padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r);
	background-color: var(--stage); color: var(--on-dark);
	background-image: radial-gradient(rgba(201, 168, 76, .16) 1px, transparent 1.4px); /* taste-skill-ignore: dot-matrix screen texture */
	background-size: 16px 16px;
	box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .08); /* taste-skill-ignore: interface fragment */
	font-size: 15px;
}
.viz__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; font-stretch: 112%; color: var(--on-dark-2); padding-bottom: 12px; border-bottom: 1px solid rgba(244, 239, 230, .1); } /* taste-skill-ignore: interface fragment */
.viz__live { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.viz__live i { width: 8px; height: 8px; border-radius: 50%; background: #7fc79a; box-shadow: 0 0 0 4px rgba(127, 199, 154, .18); } /* taste-skill-ignore: interface fragment */
.viz__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(244, 239, 230, .1); color: var(--on-dark-2); font-size: 13px; font-weight: 600; } /* taste-skill-ignore: interface fragment */
.viz__foot .readout { font-size: 28px; color: var(--gold); line-height: 1; }
.tag { display: inline-flex; align-items: center; justify-self: start; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; font-stretch: 112%; white-space: nowrap; background: rgba(244, 239, 230, .1); color: var(--on-dark); }
.tag--out { background: var(--gold); color: var(--stage); }
.tag--in { background: var(--on-dark); color: var(--stage); }
.tag--you { background: rgba(127, 199, 154, .2); color: #a9dcbb; }
.tag--call { background: rgba(244, 239, 230, .12); }

.vlog { list-style: none; display: grid; gap: 8px; }
.vlog li { display: grid; grid-template-columns: 96px auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 12px; border-radius: 8px; background: rgba(244, 239, 230, .04); }
.vlog time { font-size: 13px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.vlog__d { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.vflow { list-style: none; display: grid; gap: 0; counter-reset: f; }
.vflow li { counter-increment: f; position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding-bottom: 16px; }
.vflow li::before { content: counter(f); grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); font-weight: 700; font-size: 14px; position: relative; z-index: 1; }
.vflow li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: rgba(201, 168, 76, .45); }
.vflow li:last-child { padding-bottom: 0; }
.vflow li:last-child::before { background: var(--gold); color: var(--stage); }
.vflow b { font-stretch: 112%; padding-top: 6px; }
.vflow span { color: var(--on-dark-2); font-size: 14px; }

.vstat, .vcov { list-style: none; display: grid; gap: 8px; }
.vstat li, .vcov li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 8px; background: rgba(244, 239, 230, .04); }
.vstat li > span, .vcov li > span:first-child { display: grid; gap: 2px; font-size: 13px; color: var(--on-dark-2); }
.vstat b, .vcov b { font-size: 15px; color: var(--on-dark); font-stretch: 112%; }
.toggle { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--gold); }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--stage); }
.vcov li.is-here { box-shadow: inset 0 0 0 2px var(--gold); background: rgba(201, 168, 76, .1); } /* taste-skill-ignore: interface fragment */


/* Founder calling card (home letter, About, Contact). The photo slot fills in when lt_photo is set. */
.idc { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--navy); color: var(--on-dark); }
.idc:not(.idc--photo) { min-height: 440px; }
.idc__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.idc__body { flex: 1; display: flex; flex-direction: column; gap: 24px; padding: clamp(22px, 2.6vw, 34px); }
.idc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; font-weight: 600; font-stretch: 112%; color: var(--on-dark-2); }
.idc__top img { width: 40px; height: 40px; padding: 6px; border-radius: 10px; background: var(--paper); }
.idc__name { margin: auto 0 0; font-size: clamp(40px, 4.2vw, 60px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: .95; }
.idc--photo .idc__name { font-size: clamp(30px, 2.8vw, 40px); }
.idc__name span { display: block; margin-top: 12px; font-size: var(--fs-body); font-weight: 400; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; color: var(--on-dark-2); }
.idc__phone { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid rgba(244, 239, 230, .12); text-decoration: none; color: var(--gold); font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; transition: color .25s var(--ease); }
.idc__phone span { font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.idc__phone:hover { color: var(--gold-hi); }
.idc__social { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; margin: -8px 0 -10px; padding: 0; }
.idc__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-dark); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .25s var(--ease); }
.idc__social a:hover { color: var(--gold); }
.letter__lead { font-size: clamp(22px, 2vw, 28px) !important; font-weight: 600; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.3; }
.promises { list-style: none; display: grid; gap: 0; margin: 28px 0 0; padding: 0; max-width: 34em; }
.promises li { padding: 18px 0; border-top: 1px solid var(--line, #e4ddd0); font-size: var(--fs-lg); line-height: 1.45; }
.promises li:last-child { border-bottom: 1px solid var(--line, #e4ddd0); }
.promises b { font-weight: 700; font-stretch: 112%; }
.letter__more { margin-top: 28px; }
.sbtns { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sbtns a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; background: rgba(244, 239, 230, .08); color: var(--on-dark); transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.sbtns a:hover { background: var(--gold); color: var(--stage); transform: translateY(-2px); }
.sbtns li:first-child { grid-column: 1 / -1; }
.sbtns li:first-child a { background: var(--gold); color: var(--stage); }
.sbtns li:first-child a:hover { background: var(--gold-hi); }

.viz--thread { padding-inline: 0; }
.viz--thread .viz__bar { margin-inline: clamp(18px, 2.2vw, 26px); }
.viz--site { padding: 0; gap: 0; background-image: none; }
.vsite__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); font-size: 12px; color: var(--on-dark-2); }
.vsite__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 239, 230, .2); }
.vsite__bar span { margin-left: 10px; }
.viz--site img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.vmock { margin: 0 14px; padding: 18px 18px 20px; background: var(--paper); color: var(--ink); border-radius: 0 0 10px 10px; display: grid; gap: 10px; }
.vmock p { margin: 0; }
.vmock__nav { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid rgba(22, 38, 63, .1); }
.vmock__nav b { color: var(--ink); font-stretch: 112%; margin-right: auto; }
.vmock__call { color: var(--ink); }
.vmock__h { font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; font-stretch: 112%; line-height: 1.12; margin-top: 6px !important; }
.vmock__s { font-size: 14px; color: var(--muted); }
.vmock__cta { display: flex; gap: 10px; }
.vmock__btn, .vmock__ghost { font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 8px; }
.vmock__btn { background: var(--gold); color: var(--ink); }
.vmock__ghost { box-shadow: inset 0 0 0 1px rgba(22, 38, 63, .25); }
.vmock__cards { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vmock__cards li { display: grid; gap: 2px; padding: 10px; border-radius: 8px; background: rgba(22, 38, 63, .06); font-size: 12px; }
.vmock__cards span { color: var(--muted); }
.vmock__foot { margin: 0 14px; padding-bottom: 14px; }
.viz--mock { padding-bottom: 0; }
.viz--phone { align-items: center; text-align: center; gap: 8px; padding-block: 28px; }
.vph__time { font-size: 13px; color: var(--on-dark-2); font-weight: 600; }
.vph__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 168, 76, .14); color: var(--gold); margin: 6px 0; }
.viz--phone b { font-size: 20px; font-stretch: 118%; }
.viz--phone > span:not(.tag):not(.vph__icon):not(.vph__time) { color: var(--on-dark-2); }

/* Book: the three cover cards, no pictures, a gold rule on top. */
.cover li { padding-top: 20px; border-top: 3px solid var(--gold); }

/* ==========================================================================
   13. Plugs into what you already run
   ========================================================================== */
.plugs { padding: 0 12px 12px; }
.plugs__field { border-radius: var(--r); padding: clamp(36px, 4.5vw, 64px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.plugs__copy p { font-size: var(--fs-lg); color: var(--on-dark-2); max-width: 26em; margin: 0; }
.intg { border-radius: 16px; background: var(--paper); color: var(--ink); overflow: hidden; outline: 1px solid rgba(244, 239, 230, .2); outline-offset: 4px; }
.intg__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #e4ddd0; font-size: 13px; font-weight: 600; color: var(--muted); } /* taste-skill-ignore: interface fragment */
.intg__title b { color: var(--ink); font-weight: 800; font-stretch: 112%; }
.intg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e4ddd0; }
.intg__g { background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.intg__gh { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.intg__gh h3 { font-size: 15px; font-weight: 700; font-stretch: 112%; margin: 0; }
.intg__cap { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.intg__tools { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.intg__tools li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.tool__mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--c); outline: 1px solid #e4ddd0; outline-offset: -1px; }
.tool__mark--app { padding: 5px; overflow: hidden; }
.tool__mark--app img { width: 100%; height: 100%; object-fit: contain; }
.sw { flex: none; position: relative; width: 36px; height: 22px; border-radius: 11px; background: #2fb350; transition: background-color .35s var(--ease) calc(var(--i) * 140ms + 250ms); }
.sw i { position: absolute; top: 3px; left: 17px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease-out) calc(var(--i) * 140ms + 250ms); }
.js .intg:not(.is-in) .sw { background: #cfc8bb; }
.js .intg:not(.is-in) .sw i { transform: translateX(-14px); }
@media (max-width: 1080px) {
	.plugs__field { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.intg__grid { grid-template-columns: 1fr; }
	.intg__g { padding: 16px; }
	.intg__bar { padding: 12px 16px; }
	.intg__count { display: none; }
	.intg__tools { display: flex; flex-wrap: wrap; gap: 10px 18px; }
	.intg__tools li { font-size: 14px; gap: 8px; white-space: nowrap; }
	.tool__mark { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .sw, .sw i { transition: none; } }

/* ==========================================================================
   14. Closing call on the night stage; follow links in the header and footer
   ========================================================================== */
.cta__field > .stage__field { z-index: -1; }
.cta__kicker { margin: 0 0 20px; font-size: var(--fs-sm); font-weight: 600; font-stretch: 112%; }
.cta__h { color: var(--on-dark); }
.cta__h .line + .line { color: var(--gold); }
.cta__text { color: var(--on-dark-2); }
.cta__facts { gap: 10px; }
.cta__facts li { display: flex; align-items: center; gap: 10px; }
.cta__facts li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230d1727' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cta__facts a { color: var(--gold-hi); }
.cta .slot { color: var(--ink); }

.social--top { display: flex; gap: 4px; margin: 0 0 0 8px; }
.social--top a { width: 40px; height: 40px; background: transparent; color: var(--navy); }
.social--top a:hover { background: var(--surface); color: var(--navy); }
@media (max-width: 1180px) and (min-width: 861px) { .social--top { display: none; } }
@media (max-width: 860px) {
	.social--top { margin: 0; padding: 0 var(--gut) 20px; gap: 8px; }
	.social--top a { width: 48px; height: 48px; color: var(--on-dark); background: rgba(244, 239, 230, .08); }
}
@media (min-width: 861px) { .nav-wrap { display: flex; align-items: center; } }
.foot__follow { margin: 24px 0 10px !important; font-weight: 700; font-stretch: 112%; color: var(--on-dark) !important; }
.foot .sbtns { max-width: 340px; }

/* The steps' log line: what the system records at that beat. */
.step__log { display: inline-flex; align-self: flex-start; margin: 18px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; font-stretch: 108%; font-variant-numeric: tabular-nums; color: var(--muted); transition: background-color .4s var(--ease), color .4s var(--ease); }
.step.is-active .step__log { background: var(--navy); color: var(--gold-hi); }


/* ==========================================================================
   15. Stage status panel: the run, as the system logs it
   ========================================================================== */
.hud { position: absolute; left: 0; right: 0; top: 56px; padding: 8px clamp(16px, 2vw, 28px) 0; }
.hud__k { margin: 0 0 6px; font-size: 13px; font-weight: 600; font-stretch: 112%; color: var(--on-dark-2); }
.hud__big { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font-size: clamp(56px, 6vw, 88px); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -0.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.hud__big small { font-size: 14px; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--on-dark-2); max-width: 9em; line-height: 1.3; }
.hud__pipe { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hud__pipe li { position: relative; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--on-dark-2); transition: color .5s var(--ease-out); }
.hud__pipe li::before, .hud__pipe li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: rgba(244, 239, 230, .14); }
.hud__pipe li::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.hud__pipe li.is-on { color: var(--on-dark); }
.hud__pipe li.is-on::after { transform: none; }
.tl { position: relative; }
.tl__k { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.tl__k span:first-child { color: var(--on-dark); }
.tl__track { position: relative; height: 34px; border-radius: 8px; background: rgba(244, 239, 230, .06); }
.tl__track i { position: absolute; top: 50%; left: var(--x); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(244, 239, 230, .35); }
.tl__track i:last-child { margin-left: -15px; }
.tl__track b { font-style: normal; position: absolute; top: 50%; left: 18px; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--on-dark-2); transition: color .5s var(--ease-out); }
.tl__you b { left: auto; right: 18px; }
.tl__run, .tl__you { transition: background-color .5s var(--ease-out), outline-color .5s var(--ease-out); outline: 6px solid transparent; }
.tl__track .is-on { background: var(--gold); outline-color: rgba(201, 168, 76, .22); }
.tl__track .is-on b { color: var(--gold-hi); }
.tl__axis { position: relative; height: 16px; margin: 8px 0 0; font-size: 12px; font-weight: 600; color: rgba(185, 192, 204, .7); }
.tl__axis span { position: absolute; left: var(--x); transform: translateX(-50%); white-space: nowrap; }
.tl__axis span:first-child { transform: none; }
.tl__axis span:last-child { transform: translateX(-100%); }
@media (min-width: 861px) {
	.stage__view { display: flex; flex-direction: column; }
	.hud { position: relative; top: auto; }
	.stage [data-thread] { position: relative; top: auto; bottom: auto; flex: 1; min-height: 0; justify-content: flex-start; padding-top: 28px; }
	.stage[data-state="3"] [data-thread] .msg[data-at="1"],
	.stage[data-state="4"] [data-thread] .msg[data-at="1"],
	.stage[data-state="4"] [data-thread] .msg[data-at="2"] { display: none; }
	.tl { flex: none; padding: 0 clamp(16px, 2vw, 28px) 22px; }
}
@media (min-width: 861px) and (max-height: 820px) { .tl { display: none; } }
@media (max-width: 860px) { .tl { display: none; } }
@media (max-width: 860px) {
	.hud { display: none; }
	.stage [data-thread] { top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .hud__pipe li::after { transition: none; } }

/* ==========================================================================
   16. Demo run log: what the system did, line by line
   ========================================================================== */
.runlog { margin-top: 28px; padding: 16px; border-radius: var(--r); background: var(--stage); color: var(--on-dark); }
.runlog__bar { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.runlog .vlog { min-height: 228px; align-content: start; }
.runlog .vlog li { transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.js .runlog .vlog li:not(.is-on):not(.runlog__idle) { opacity: 0; transform: translateY(6px); }
.runlog .vlog .runlog__idle { display: block; color: var(--on-dark-2); font-size: 14px; background: none; padding-inline: 0; }
@media (max-width: 860px) { .runlog { display: none; } }
@media (prefers-reduced-motion: reduce) { .runlog .vlog li { transition: none; } }

@media (max-width: 640px) {
	.stage__clock { font-size: 13px; }
	.stage__clock > span { white-space: nowrap; }
}

/* ==========================================================================
   17. Demo phone: the caller's Messages screen, drawn in code
   ========================================================================== */
.sim { flex: 1; position: relative; z-index: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: center; }
.phone { width: 100%; max-width: 300px; height: 630px; padding: 9px; border-radius: 48px; background: #04070c; outline: 1px solid rgba(244, 239, 230, .18); outline-offset: -1px; }
.phone__screen { height: 100%; border-radius: 39px; background: #0b0b0d; color: #f2f2f5; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto; overflow: hidden; }
.phone__screen::after { content: ""; justify-self: center; width: 108px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .55); margin: 6px 0 8px; }
.phone__status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 4px; font-size: 13px; font-weight: 700; }
.phone__status::before { content: ""; position: absolute; left: 50%; top: 10px; width: 84px; height: 24px; margin-left: -42px; border-radius: 12px; background: #000; }
.phone__icons { display: flex; }
.phone__head { display: grid; justify-items: center; gap: 3px; padding: 8px 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); } /* taste-skill-ignore: interface fragment */
.phone__av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--stage); font-size: 16px; font-weight: 800; font-stretch: 112%; }
.phone__head b { font-size: 13px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone__head small { font-size: 11px; color: #8e8e93; }
.phone .thread { position: static; min-height: 0; overflow: hidden; justify-content: flex-end; padding: 10px 12px 6px; gap: 6px; }
.phone .msg { max-width: 82%; }
.phone .msg__b { padding: 8px 12px; font-size: 14px; line-height: 1.36; border-radius: 18px; }
.phone .msg--out { align-self: flex-start; }
.phone .msg--out .msg__b { background: #26262a; color: #f2f2f5; border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }
.phone .msg--out .msg__meta { justify-content: flex-start; margin-top: 4px; font-size: 11px; color: var(--gold-hi); }
.phone .msg--in { align-self: flex-end; }
.phone .msg--in .msg__b { background: #2fb350; color: #fff; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.phone .msg--sys { align-self: center; display: block; max-width: 92%; padding: 2px 0 6px; background: none; border-radius: 0; text-align: center; font-size: 11px; line-height: 1.4; color: #8e8e93; }
.phone .typing { justify-self: start; margin: 0 12px 6px; padding: 10px 12px; background: #26262a; }
.phone .typing i { width: 6px; height: 6px; background: #8e8e93; }
.sim__replies { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 0 10px; }
.sim__replies:not(:empty) { padding-block: 4px 6px; }
.chip {
	min-height: 40px; padding: 8px 14px; border: 1.5px solid #2fb350; border-radius: 20px;
	background: transparent; color: #fff; font-weight: 600; font-size: 13px; cursor: pointer;
	transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { background: rgba(47, 179, 80, .25); }
.chip:active { transform: scale(.96); }
.phone__input { display: flex; align-items: center; justify-content: space-between; margin: 4px 10px 0; height: 36px; padding: 0 4px 0 14px; border: 1px solid #3a3a3e; border-radius: 18px; color: #6d6d72; font-size: 13px; } /* taste-skill-ignore: interface fragment */
.sim__side { display: grid; gap: 14px; align-content: end; }
.sim__k { margin: 0; font-size: 13px; font-weight: 600; font-stretch: 112%; color: var(--on-dark-2); }
.notif__idle { margin: 0; padding: 18px 16px; background: rgba(244, 239, 230, .06); border-radius: 20px; font-size: 14px; color: var(--on-dark-2); }
.notif__card { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 20px; background: rgba(244, 239, 230, .96); color: var(--ink); animation: drop .55s var(--ease-out); }
.notif__app { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--stage); color: var(--gold); }
.notif__top { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 2px; font-size: 13px; }
.notif__top time { color: var(--muted); font-weight: 500; }
.notif__card p:last-child { margin: 0; font-size: 14px; line-height: 1.4; }
.sim__done { display: none; gap: 14px; padding: 16px; border-radius: var(--r); background: rgba(244, 239, 230, .1); }
.sim__done.is-on { display: grid; justify-items: start; animation: rise .6s var(--ease-out); }
.sim__done p { margin: 0; font-weight: 600; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 1300px) {
	.sim { grid-template-columns: 1fr; justify-items: center; align-items: start; }
	.sim__side { width: 100%; max-width: 420px; }
}
@media (max-width: 640px) {
	.phone { height: 560px; }
}
@media (prefers-reduced-motion: reduce) { .notif__card, .sim__done.is-on { animation: none; } }
