/* Fonts (self-hosted, SIL Open Font License): Cormorant Garamond for headings, Inter for text. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
/* Alayan Design-Build Inc. — site styles.
   Design tokens carried over from the Alayan-Lite app and the About page so everything reads as one brand. */
:root {
  --ink-950: #10241d; --ink-900: #163129; --ink-800: #24463a; --ink-700: #36584d; --ink-600: #4f655d;
  --ink-500: #5b6d66; --ink-300: #aebbb5; --ink-200: #ccd4cf; --ink-100: #e5e9e6;
  --paper-50: #f9f7f1; --paper-100: #f2efe7; --paper-200: #e7e1d5; --white: #fffefa;
  /* Brand: deep green for fills, golden orange only as outlines and accents, one orange button per page. */
  /* Brand palette: forest greens for fills, terracotta only as outlines, details and the one main call to action. */
  --brand-green: #24463a; --brand-green-dark: #163129;
  --gold-500: #dd6540; --gold-300: #ec7b55; --gold-100: #f6c8b6;
  --orange-600: #be4e2f; --orange-700: #a9432a;
  --sage-600: #587068; --sage-500: #74867f; --sage-300: #aebbb5; --sage-200: #ccd4cf; --sage-100: #e5e9e6;
  --coral-700: var(--brand-green-dark); --coral-600: var(--brand-green); --coral-500: var(--gold-300); --coral-200: var(--gold-100);
  --green-600: #256b48; --green-100: #dceadf; --amber-600: #835514; --amber-100: #f4e9cb;
  --red-600: #a6433d; --red-100: #f3dddd; --blue-600: #376a82; --blue-100: #dce8ed;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 14px;
  --shadow-sm: 0 0.5rem 1.5rem rgba(18, 36, 30, 0.08);
  --shadow-lg: 0 2rem 5rem rgba(18, 36, 30, 0.16);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 5vw, 96px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { min-width: 320px; margin: 0; background: var(--paper-100); color: var(--ink-950); font-family: var(--font-sans);
  font-size: 1rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(236, 123, 85, 0.55); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.06; }
em { font-style: italic; color: var(--coral-700); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; background: var(--ink-950); color: var(--white); border-radius: 4px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.eyebrow, .index { color: var(--coral-600); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.muted { color: var(--ink-600); }
.small { font-size: 13px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr); gap: 12px clamp(28px, 6vw, 96px); align-items: end; margin-bottom: 36px; }
.section-head h2 { margin-top: 10px; font-size: calc(clamp(1.9rem, 3.4vw, 3rem) * var(--hscale, 1)); }
.section-head > p { margin: 0; color: var(--ink-600); max-width: 56ch; }
.rule { border-top: 1px solid var(--ink-200); }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border: 1px solid var(--ink-950); border-radius: var(--radius-xs); background: var(--ink-950); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; transition: transform 140ms, background 140ms, border-color 140ms; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.coral { background: var(--coral-600); border-color: var(--coral-600); }
.btn.coral:hover { background: var(--coral-700); border-color: var(--coral-700); }
.btn.ghost { background: transparent; color: var(--ink-950); border-color: var(--ink-300); }
.btn.ghost:hover { background: var(--white); }
.btn.light { background: var(--white); color: var(--ink-950); border-color: var(--white); }
.btn.outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn.outline-light:hover { border-color: var(--white); }
.btn.danger { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.btn.ghost.danger { background: transparent; color: var(--red-600); border-color: #d9a29e; }
.btn.ghost.danger:hover { background: #fbeeed; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
.link { color: var(--coral-700); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link { display: inline-flex; gap: 8px; color: var(--ink-950); font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--ink-300); padding-bottom: 2px; }
.text-link:hover { border-color: var(--coral-600); }

/* ---------- public header ---------- */
.site-header { position: sticky; z-index: 100; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: 70px; padding: 0 clamp(16px, 3vw, 48px); border-bottom: 1px solid rgba(16, 36, 29, 0.12);
  background: rgba(249, 247, 241, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-950); flex-shrink: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 17px; font-weight: 600; letter-spacing: 0.24em; }
.brand-word small { margin-top: 4px; color: var(--ink-600); font-size: 8.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { padding: 8px 11px; border-radius: 4px; color: var(--ink-700); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--paper-200); color: var(--ink-950); }
.site-nav a[aria-current="page"] { color: var(--ink-950); box-shadow: inset 0 -2px 0 var(--coral-600); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
.site-nav .mobile-only { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; margin: auto; background: var(--ink-950); position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }

/* ---------- hero ---------- */
.hero-home { position: relative; overflow: hidden; background: var(--ink-950); color: var(--white); }
.hero-home::before { position: absolute; inset: 0; content: ""; opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%); mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(56px, 7vw, 96px); min-height: min(86vh, 760px); }
.hero-home .eyebrow { color: var(--coral-500); }
.hero-home h1 { margin: 16px 0 20px; font-size: calc(clamp(2.5rem, 5.2vw, 4.6rem) * var(--hscale, 1)); line-height: 1; }
.hero-home h1 em { color: var(--coral-200); }
.hero-home p.lede { max-width: 50ch; margin: 0 0 30px; color: rgba(255,254,250,0.78); font-size: clamp(15px, 1.4vw, 17px); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hero-ctas .text-link { color: var(--white); border-color: rgba(255,255,255,0.35); }
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-art .ln { fill: none; stroke: rgba(255,255,255,0.72); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.hero-art .ln-soft { fill: none; stroke: rgba(255,255,255,0.28); stroke-width: 1; }
.hero-art .ln-coral { fill: none; stroke: var(--coral-500); stroke-width: 1.6; stroke-dasharray: 6 5; }
.hero-art .fill { fill: rgba(245,239,225,0.05); }
.hero-art .glass { fill: rgba(236,123,85,0.16); }
.hero-art text { fill: rgba(255,255,255,0.55); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; }
.hero-art .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease-out) forwards; }
.hero-art .d2 { animation-delay: .4s; } .hero-art .d3 { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.page-hero { background: var(--ink-950); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { position: absolute; inset: 0; content: ""; opacity: 0.1;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(to bottom, black, transparent); mask-image: linear-gradient(to bottom, black, transparent); }
.page-hero .wrap { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero .eyebrow { color: var(--coral-500); }
.page-hero h1 { margin: 14px 0 16px; font-size: calc(clamp(2.3rem, 4.6vw, 4rem) * var(--hscale, 1)); max-width: 18ch; }
.page-hero h1 em { color: var(--coral-200); }
.page-hero p { margin: 0; max-width: 60ch; color: rgba(255,254,250,0.75); font-size: 16px; }

/* ---------- cards & grids ---------- */
.card { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: rgba(255,254,250,0.82); box-shadow: var(--shadow-sm); }
.card.pad { padding: clamp(20px, 3vw, 32px); }
.card.accent { position: relative; overflow: hidden; }
.card.accent::before { position: absolute; top: 0; left: 0; width: 40%; height: 2px; background: var(--coral-600); content: ""; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 30px); text-decoration: none; color: inherit; transition: transform 260ms var(--ease-out), border-color 140ms; }
a.service-card:hover { transform: translateY(-4px); border-color: var(--ink-500); }
.service-card .num { color: var(--ink-500); font-family: var(--font-mono); font-size: 11px; }
.service-card h3 { margin-top: 14px; font-size: 1.4rem; }
.service-card p { margin: 0; color: var(--ink-600); font-size: 14.5px; }
.service-card .more { margin-top: auto; padding-top: 10px; color: var(--coral-700); font-size: 13px; font-weight: 700; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink-200); }
.steps li { padding: 22px 18px 6px 0; border-right: 1px solid var(--ink-100); }
.steps li:last-child { border-right: 0; }
.steps b { display: block; color: var(--coral-600); font-family: var(--font-mono); font-size: 11px; font-weight: 500; margin-bottom: 18px; }
.steps strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 6px; }
.steps span { color: var(--ink-600); font-size: 14px; }

.dark-band { background: var(--ink-950); color: var(--white); position: relative; overflow: hidden; }
.dark-band::before { position: absolute; inset: 0; content: ""; opacity: 0.1;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%); mask-image: linear-gradient(to bottom, black, transparent 85%); }
.dark-band > * { position: relative; }
.dark-band .eyebrow, .dark-band .index { color: var(--coral-500); }
.dark-band h2 em { color: var(--coral-500); }
.dark-band p, .dark-band li span { color: rgba(255,255,255,0.68); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split h2 { margin: 14px 0 16px; font-size: calc(clamp(2rem, 3.8vw, 3.4rem) * var(--hscale, 1)); }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.12); }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.feature-list b { color: var(--coral-500); font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding-top: 3px; }
.feature-list strong { display: block; font-size: 15px; font-weight: 600; }
.feature-list span { font-size: 14px; }
.light-list { border-color: var(--ink-200); }
.light-list li { border-color: var(--ink-200); }
.light-list span { color: var(--ink-600); }
.light-list b { color: var(--coral-700); }

.mini-viewer { position: relative; aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-sm);
  background: radial-gradient(circle at 50% 30%, rgba(71,113,96,0.38), transparent 55%), linear-gradient(155deg, #183a30, #0b1c17); overflow: hidden; }
.mini-viewer svg text { display: none; }
.mini-viewer svg { position: absolute; inset: 8% 6%; width: 88%; height: 84%; }
.mini-viewer .tag { position: absolute; padding: 7px 9px; border: 1px solid rgba(255,255,255,0.18); border-radius: 3px; background: rgba(8,31,24,0.72);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.mini-viewer .t1 { top: 14px; left: 14px; } .mini-viewer .t2 { right: 14px; bottom: 14px; color: var(--coral-200); }
.spin { transform-origin: 50% 55%; animation: sway 9s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotateY(0) skewY(0deg); } 50% { transform: skewY(-2deg) scaleX(0.94); } }

.heritage-strip { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.heritage-strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.heritage-strip h2 { margin: 12px 0 14px; font-size: calc(clamp(1.9rem, 3.4vw, 3rem) * var(--hscale, 1)); }
.heritage-strip p { color: var(--ink-700); }

.cta-band { text-align: center; }
.cta-band h2 { font-size: calc(clamp(2rem, 4vw, 3.4rem) * var(--hscale, 1)); margin: 12px auto 14px; max-width: 20ch; }
.cta-band p { max-width: 52ch; margin: 0 auto 26px; color: var(--ink-600); }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 7px 13px; border: 1px solid var(--ink-200); border-radius: 30px; background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-700); cursor: pointer; }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work { overflow: hidden; display: flex; flex-direction: column; }
.work .img { aspect-ratio: 4 / 3; background: linear-gradient(155deg, #183a30, #0b1c17); }
.work .img img { width: 100%; height: 100%; object-fit: cover; }
.work .body { padding: 18px 18px 20px; }
.work h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.work p { margin: 0; color: var(--ink-600); font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 20px; background: var(--ink-100); color: var(--ink-700);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.badge.good { background: var(--green-100); color: var(--green-600); }
.badge.warn { background: var(--amber-100); color: var(--amber-600); }
.badge.bad { background: var(--red-100); color: var(--red-600); }
.badge.info { background: var(--blue-100); color: var(--blue-600); }
.badge.coral { background: #fde9e0; color: var(--coral-700); }
.empty { padding: clamp(32px, 5vw, 56px); text-align: center; border: 1px dashed var(--ink-300); border-radius: var(--radius-sm); color: var(--ink-600); background: rgba(255,254,250,0.5); }
.empty h3 { color: var(--ink-950); font-size: 1.5rem; margin-bottom: 8px; }

/* ---------- service detail ---------- */
.svc { display: grid; grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr); gap: 20px clamp(28px, 6vw, 96px); padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--ink-200); }
.svc h2 { margin-top: 10px; font-size: calc(clamp(1.7rem, 2.8vw, 2.4rem) * var(--hscale, 1)); }
.svc .lead { margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; color: var(--ink-900); letter-spacing: -0.01em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts > div { padding: 16px 18px; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: rgba(255,254,250,0.7); }
.facts h3 { font-family: var(--font-sans); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-700); margin-bottom: 8px; }
.facts ul { margin: 0; padding-left: 18px; color: var(--ink-700); font-size: 14.5px; }
.facts li + li { margin-top: 4px; }
.facts .wide { grid-column: 1 / -1; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-left: 2px solid var(--coral-600); background: var(--paper-200); color: var(--ink-700); font-size: 14px; border-radius: 0 6px 6px 0; }
.note strong { color: var(--ink-950); }

/* ---------- prose / legal / faq ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul { padding-left: 20px; }
.draft-banner { margin-bottom: 28px; padding: 12px 16px; border: 1px solid #ead8ae; border-radius: 6px; background: #fffaf0; color: var(--amber-600); font-size: 13.5px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--ink-200); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-600); font-family: var(--font-sans); font-size: 22px; line-height: 1; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-700); max-width: 70ch; }
.faq details p { margin: 0 0 10px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .label { color: var(--ink-700); font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.field small { color: var(--ink-500); font-size: 12.5px; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--ink-200); border-radius: var(--radius-xs); background: var(--white); color: var(--ink-950); font-size: 15px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--coral-600); outline: none; box-shadow: 0 0 0 4px rgba(31,74,59,0.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-700); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--coral-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 6px; font-size: 14px; border: 1px solid; }
.alert.error { background: var(--red-100); border-color: #e6bdbb; color: var(--red-600); }
.alert.ok { background: var(--green-100); border-color: #b9d6c1; color: var(--green-600); }
.alert.info { background: var(--blue-100); border-color: #bcd3dd; color: var(--blue-600); }
.auth-shell { min-height: calc(100vh - 70px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.auth-side { background: var(--ink-950); color: var(--white); padding: clamp(40px, 6vw, 80px) var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.auth-side::before { position: absolute; inset: 0; content: ""; opacity: 0.1; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 32px 32px; }
.auth-side > * { position: relative; }
.auth-side h2 { font-size: calc(clamp(2rem, 3.6vw, 3.2rem) * var(--hscale, 1)); margin: 12px 0; }
.auth-side h2 em { color: var(--coral-200); }
.auth-side p { color: rgba(255,255,255,0.7); max-width: 42ch; margin: 0; }
.auth-side .eyebrow { color: var(--coral-500); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 72px) var(--gutter); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: calc(clamp(2rem, 3vw, 2.6rem) * var(--hscale, 1)); margin: 10px 0 8px; }
.auth-card > p { color: var(--ink-600); margin: 0 0 24px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 3px; background: var(--paper-200); font-size: 12px; font-weight: 700; color: var(--ink-700); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,0.62); padding: 64px var(--gutter) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; max-width: var(--max); margin: 0 auto; }
.footer-grid img { width: 170px; height: auto; margin-bottom: 14px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-sans); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { color: var(--white); }
.footer-grid p { margin: 0 0 6px; font-size: 14px; }
.footer-base { max-width: var(--max); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.7); }

/* ---------- about page (from the approved About design) ---------- */
.hero-photo { position: relative; overflow: hidden; background: var(--ink-950); color: var(--white); }
.hero-photo img { width: 100%; height: min(78vh, 720px); min-height: 480px; object-fit: cover; object-position: 50% 35%; }
.hero-photo .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,36,29,.88) 0%, rgba(16,36,29,.55) 30%, rgba(16,36,29,0) 52%), linear-gradient(0deg, rgba(16,36,29,.55) 0%, rgba(16,36,29,0) 40%); }
.hero-photo .copy { position: absolute; bottom: clamp(32px, 7vw, 88px); left: var(--gutter); max-width: min(520px, 38vw); }
.hero-photo .eyebrow { color: var(--coral-500); }
.hero-photo h1 { margin: 14px 0 18px; font-size: calc(clamp(2.2rem, 4.2vw, 4rem) * var(--hscale, 1)); line-height: 1.02; }
.hero-photo h1 em { color: var(--coral-200); }
.hero-photo p { margin: 0; color: rgba(255,254,250,.82); font-size: 15px; max-width: 46ch; }
.story { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); }
.story-label { position: sticky; top: 110px; align-self: start; }
.story-label h2 { margin: 10px 0 12px; font-size: calc(clamp(2rem, 3.4vw, 3rem) * var(--hscale, 1)); }
.story-label p { margin: 0; color: var(--ink-600); font-size: 14px; max-width: 30ch; }
.story-body { max-width: 680px; }
.story-body p { margin: 0 0 22px; color: var(--ink-700); font-size: 16.5px; }
.story-body p strong { color: var(--ink-950); }
.story-body .lead { color: var(--ink-950); font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.32; letter-spacing: -0.02em; }
.pull { margin: 40px 0; padding: 26px 0 26px 28px; border-left: 2px solid var(--coral-600); font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-style: italic; line-height: 1.35; color: var(--ink-900); }
.family-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 30px 0 34px; padding: 0; list-style: none; }
.family-grid li { display: flex; flex-direction: column; gap: 6px; min-height: 96px; padding: 14px; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: rgba(255,254,250,.78); box-shadow: var(--shadow-sm); }
.family-grid span { color: var(--coral-700); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.family-grid strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.value > span { color: var(--ink-500); font-family: var(--font-display); font-size: 15px; }
.value h3 { margin: 26px 0 10px; font-size: 1.45rem; }
.value p { margin: 0; color: var(--ink-600); font-size: 14.5px; }
.heritage-media img { width: 100%; height: clamp(320px, 46vw, 640px); object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.heritage-media figcaption { margin-top: 12px; color: var(--ink-500); font-size: 12.5px; font-style: italic; text-align: center; }
.heritage-close { max-width: 900px; margin: clamp(40px, 6vw, 72px) auto 0; text-align: center; }
.heritage-close h2 { margin-top: 14px; font-size: calc(clamp(1.9rem, 3.8vw, 3.3rem) * var(--hscale, 1)); line-height: 1.1; }
figure { margin: 0; }

/* ---------- app shell: portal + admin ---------- */
.app-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px;
  padding: 0 clamp(14px, 3vw, 32px); background: rgba(249,247,241,.96); border-bottom: 1px solid rgba(16,36,29,.12); backdrop-filter: blur(18px); }
.app-header .who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-600); }
.app-header .who strong { color: var(--ink-950); }
.role-tag { padding: 3px 7px; border: 1px solid var(--ink-200); border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-600); }
.portal-main { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(14px, 4vw, 40px) 80px; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.page-title h1 { font-size: calc(clamp(2rem, 3.6vw, 3rem) * var(--hscale, 1)); margin-top: 8px; }
.page-title p { margin: 8px 0 0; color: var(--ink-600); max-width: 62ch; }
.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.project-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; text-decoration: none; color: inherit; transition: transform 260ms var(--ease-out), border-color 140ms; }
.project-card:hover { transform: translateY(-3px); border-color: var(--ink-500); }
.project-card h2 { font-size: 1.5rem; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.kv div { display: flex; flex-direction: column; min-width: 0; }
.kv dt { color: var(--ink-500); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.kv dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr); gap: 16px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-title h2 { font-size: 1.35rem; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ink-100); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-300); justify-self: center; }
.dot.in_progress { border-color: var(--coral-600); background: var(--coral-200); }
.dot.done { border-color: var(--green-600); background: var(--green-600); }

.viewer-shell { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: radial-gradient(circle at 50% 25%, rgba(71,113,96,.35), transparent 55%), linear-gradient(155deg, #183a30, #0b1c17); color: var(--white); min-height: 440px; }
.viewer-shell canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.viewer-stage { position: relative; height: min(68vh, 620px); min-height: 380px; }
.viewer-shell:fullscreen .viewer-stage { height: 100vh; }
.viewer-bar { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.viewer-bar > * { pointer-events: auto; }
.vbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.vbtn { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: rgba(8,31,24,.72); color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.vbtn[aria-pressed="true"] { background: var(--coral-600); border-color: var(--coral-600); color: var(--white); }
.viewer-hint { position: absolute; z-index: 3; left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 4px; background: rgba(8,31,24,.72); font-size: 11.5px; color: rgba(255,255,255,.7); }
.viewer-overlay { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; }
.viewer-overlay h3 { font-size: calc(clamp(1.5rem, 3vw, 2.1rem) * var(--hscale, 1)); }
.viewer-overlay h3 em { color: var(--coral-200); }
.viewer-overlay p { margin: 0; color: rgba(255,255,255,.72); max-width: 46ch; }
.viewer-overlay .price { font-family: var(--font-display); font-size: 2.2rem; color: var(--white); }
.progress { width: min(320px, 70%); height: 4px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #67bf8d, #e9a362); transition: width 200ms; }
.lock-icon svg { width: 22px; height: 22px; }
.lock-icon { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; color: var(--coral-500); font-size: 22px; }

/* admin */
.admin-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - 64px); background: linear-gradient(90deg, var(--paper-50) 231px, var(--ink-200) 231px, var(--ink-200) 232px, transparent 232px); }
.admin-nav { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); overflow-y: auto; padding: 22px 12px; border-right: 1px solid var(--ink-200); background: var(--paper-50); }
.admin-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-left: 2px solid transparent; color: var(--ink-600); text-decoration: none; font-size: 14px; font-weight: 600; }
.admin-nav a:hover { background: var(--white); color: var(--ink-950); }
.admin-nav a.active { border-left-color: var(--coral-600); background: var(--white); color: var(--ink-950); }
.admin-nav .count { min-width: 20px; padding: 2px 6px; border-radius: 10px; background: var(--coral-600); color: var(--white); font-size: 10.5px; text-align: center; }
.admin-nav h4 { margin: 18px 12px 6px; font-family: var(--font-sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.admin-main { min-width: 0; padding: clamp(22px, 4vw, 44px) clamp(14px, 4vw, 44px) 80px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { padding: 16px 18px; }
.stat span { display: block; color: var(--ink-500); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 2rem; font-weight: 400; line-height: 1; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .input { max-width: 320px; min-height: 40px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; padding: 11px 14px; background: var(--paper-100); color: var(--ink-500); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--ink-200); }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.clickable { cursor: pointer; }
table.data tr.clickable:hover td { background: var(--paper-50); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.danger-zone { border-color: #e6bdbb; }
.danger-zone .panel-title h2 { color: var(--red-600); }
.copy-box { display: flex; gap: 8px; align-items: stretch; margin-top: 8px; }
.copy-box input { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12.5px; padding: 8px 10px; border: 1px solid var(--ink-200); border-radius: 4px; background: var(--paper-50); }
.back { display: inline-flex; gap: 6px; margin-bottom: 14px; color: var(--ink-600); font-size: 13px; font-weight: 700; text-decoration: none; }
.back:hover { color: var(--ink-950); }
.mono { font-family: var(--font-mono); font-size: 12px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--ink-100); }
.toggle-row:first-child { border-top: 0; }
.toggle-row p { margin: 2px 0 0; color: var(--ink-600); font-size: 13px; }
.switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 12px; background: var(--ink-300); transition: background 140ms; }
.switch span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); content: ""; transition: transform 140ms; }
.switch input:checked + span { background: var(--green-600); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid rgba(236,123,85,.55); outline-offset: 2px; }
.access-meter { height: 6px; border-radius: 3px; background: var(--ink-100); overflow: hidden; margin: 8px 0 4px; }
.access-meter span { display: block; height: 100%; background: linear-gradient(90deg, #67bf8d, #2f8057); }

dialog.modal { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--paper-50); color: var(--ink-950); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(16,36,29,.45); backdrop-filter: blur(2px); }
.modal-body { padding: 26px; }
.modal-body h2 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-body > p { color: var(--ink-600); margin: 0 0 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.toast-region { position: fixed; z-index: 400; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { padding: 12px 14px; border-radius: 6px; background: var(--ink-950); color: var(--white); font-size: 14px; box-shadow: var(--shadow-lg); animation: toast-in 260ms var(--ease-out); }
.toast.error { background: var(--red-600); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.loading { padding: 40px; text-align: center; color: var(--ink-500); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art .draw { animation: none; stroke-dashoffset: 0; }
  .spin { animation: none; }
  * { transition-duration: 0ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { border-right: 0; border-bottom: 1px solid var(--ink-100); padding-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .site-nav { position: fixed; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; background: var(--paper-50); border-bottom: 1px solid var(--ink-200); box-shadow: var(--shadow-lg); }
  .site-nav.open { display: flex; }
  .site-nav .mobile-only { display: block; }
  .site-nav .mobile-only.accent { color: var(--coral-700); border-bottom: 0; }
  .site-nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--ink-100); }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--coral-600); padding-left: 14px; }
  .hero-grid, .split, .heritage-strip, .auth-shell, .layout-2, .story { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .section-head, .svc { grid-template-columns: 1fr; }
  .grid-3, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-side { display: none; }
  .story-label { position: static; }
  .hero-photo img { height: 62vh; min-height: 360px; object-position: 50% 30%; }
  .hero-photo .shade { background: linear-gradient(0deg, rgba(16,36,29,1) 0%, rgba(16,36,29,0) 45%); }
  .hero-photo .copy { position: relative; bottom: auto; left: auto; max-width: none; margin-top: -40px; padding: 0 var(--gutter) 48px; }
  .admin-shell { grid-template-columns: 1fr; background: none; }
  .admin-nav { position: static; height: auto; display: flex; overflow-x: auto; gap: 2px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--ink-200); }
  .admin-nav h4 { display: none; }
  .admin-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 9px 12px; }
  .admin-nav a.active { border-bottom-color: var(--coral-600); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .work-grid, .facts, .form .row, .kv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-word small { display: none; }
  .nav-actions .btn { display: none; }
  .app-header .role-tag { display: none; }
  .app-header .who { gap: 8px; }
  .hero-ctas .btn { width: 100%; }
  .app-header .who .name { display: none; }
  .viewer-stage { height: 62vh; }
}

/* =====================================================================
   Additions: pricing tiers, 360° tours, assessment, documents, cookie bar
   ===================================================================== */
@media (max-width: 1180px) and (min-width: 961px) { .site-nav a { padding: 8px 8px; font-size: 13px; } .nav-actions .btn.ghost { display: none; } }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-disclaimer { max-width: var(--max); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-disclaimer p { margin: 0; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 110ch; }
.cookie-bar { position: fixed; z-index: 350; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; display: flex; gap: 16px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--paper-50); box-shadow: var(--shadow-lg); }
.cookie-bar p { margin: 0; font-size: 13.5px; color: var(--ink-700); }
@media (max-width: 560px) { .cookie-bar { flex-direction: column; align-items: stretch; } }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); }
.tier.featured { border-color: var(--ink-950); box-shadow: var(--shadow-lg); }
.tier.featured::after { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 20px; background: var(--coral-600); color: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; content: "Most chosen"; }
.tier .tier-num { color: var(--ink-500); font-family: var(--font-mono); font-size: 11px; }
.tier h3 { font-size: 1.6rem; }
.tier .tagline { margin: 0; color: var(--ink-600); font-size: 14.5px; }
.tier .range { padding: 14px 0; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.tier .range strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.tier .range span { color: var(--ink-500); font-size: 12.5px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-700); }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.tier li::before { content: "✓"; color: var(--green-600); font-weight: 800; }
.tier .btn { margin-top: auto; }
.estimator { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr); gap: 16px; align-items: start; }
.unit-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--ink-200); border-radius: 5px; background: var(--paper-200); }
.unit-toggle button { padding: 6px 12px; border: 0; border-radius: 3px; background: transparent; font-size: 12px; font-weight: 700; color: var(--ink-600); }
.unit-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink-950); box-shadow: 0 2px 7px rgba(16,36,29,.1); }
.area-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.lists-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.lists-3 ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-700); }

/* 360 tours */
.pano { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #0b1c17; color: var(--white); height: min(72vh, 660px); min-height: 400px; user-select: none; }
.pano:fullscreen { height: 100vh; border-radius: 0; }
.pano-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; outline: none; }
.pano-stage:active { cursor: grabbing; }
.pano-stage canvas { display: block; width: 100%; height: 100%; }
.pano-stage:focus-visible { box-shadow: inset 0 0 0 3px rgba(236,123,85,.6); }
.pano-hotspots { position: absolute; inset: 0; pointer-events: none; }
.pano-hs { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: -22px 0 0 -60px; width: 120px; padding: 0; border: 0; background: none; color: var(--white); pointer-events: auto; cursor: pointer; }
.pano-hs i { width: 40px; height: 40px; border: 2px solid var(--white); border-radius: 50%; background: rgba(31,74,59,.85); box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35); transition: transform 160ms; }
.pano-hs i::after { display: block; margin: 9px auto; width: 10px; height: 10px; border-top: 3px solid #fff; border-left: 3px solid #fff; transform: translateY(3px) rotate(45deg); content: ""; }
.pano-hs:hover i, .pano-hs:focus-visible i { transform: scale(1.12); }
.pano-hs span { padding: 3px 8px; border-radius: 4px; background: rgba(8,31,24,.8); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pano-hs.editing i { background: rgba(55,106,130,.9); }
.pano-fade { position: absolute; inset: 0; background: #0b1c17; opacity: 0; pointer-events: none; transition: opacity 220ms; }
.pano-fade.on { opacity: 1; }
.pano-top { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.pano-top > * { pointer-events: auto; }
.pano-title { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 4px; background: rgba(8,31,24,.72); backdrop-filter: blur(8px); font-size: 13px; }
.pano-rooms { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 48px; display: flex; gap: 6px; flex-wrap: wrap; }
.pano-rooms .chip { background: rgba(8,31,24,.72); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.pano-rooms .chip.active { background: var(--coral-600); border-color: var(--coral-600); color: var(--white); }
.pano-hint { bottom: 12px; }
.pano-plan { position: absolute; z-index: 3; right: 12px; bottom: 48px; width: min(300px, 42%); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; overflow: hidden; background: #0b1c17; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pano-plan img { width: 100%; display: block; opacity: .92; }
.pano-dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid var(--white); border-radius: 50%; background: var(--ink-700); padding: 0; cursor: pointer; }
.pano-dot.active { background: var(--coral-600); box-shadow: 0 0 0 5px rgba(31,74,59,.35); }
.pano-dot span { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); padding: 1px 6px; border-radius: 3px; background: rgba(8,31,24,.85); color: #fff; font-size: 10.5px; white-space: nowrap; opacity: 0; transition: opacity 120ms; }
.pano-dot:hover span, .pano-dot.active span { opacity: 1; }
.pano-flat { position: absolute; inset: 0; overflow-x: auto; } .pano-flat img { height: 100%; max-width: none; }
@media (max-width: 640px) { .pano-plan { width: 46%; bottom: 92px; } .pano-rooms { bottom: 44px; } .pano-top .vbtns .vbtn[data-act="rotate"] { display: none; } }
.mode-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--paper-200); margin-bottom: 10px; }
.mode-tabs button { padding: 7px 14px; border: 0; border-radius: 4px; background: transparent; font-size: 13px; font-weight: 700; color: var(--ink-600); }
.mode-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink-950); box-shadow: 0 2px 7px rgba(16,36,29,.1); }
.preview-still { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.preview-still img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.preview-still .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(8,31,24,.55), rgba(8,31,24,.1)); }
.preview-still .play span { padding: 12px 18px; border-radius: 30px; background: var(--coral-600); color: var(--white); font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* documents */
.doc-list { display: grid; gap: 10px; }
.doc { padding: 14px 16px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.doc-head strong { display: block; font-size: 15px; }
.doc-head small { color: var(--ink-500); font-size: 12.5px; }
.doc details { margin-top: 8px; font-size: 13px; }
.doc summary { cursor: pointer; color: var(--ink-600); font-weight: 700; }
.rev { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; padding: 8px 0; border-top: 1px solid var(--ink-100); }
.rev.superseded { opacity: .7; }

/* assessment */
.access-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.preview-grid figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; }
.preview-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.preview-grid figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px; background: rgba(8,31,24,.75); color: #fff; font-size: 11px; }
.assess-shell { max-width: 1180px; margin: 0 auto; padding: clamp(20px, 4vw, 44px) clamp(14px, 4vw, 40px) 120px; }
.assess-progress { display: flex; gap: 4px; margin: 14px 0 24px; }
.assess-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--ink-100); }
.assess-progress span.done { background: var(--green-600); } .assess-progress span.now { background: var(--coral-600); }
.step-label { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-500); font-size: 13px; }
.assess-shell h1 { font-size: calc(clamp(1.9rem, 3.4vw, 2.8rem) * var(--hscale, 1)); margin: 6px 0 10px; }
.assess-shell .lede { color: var(--ink-600); margin: 0 0 22px; max-width: 64ch; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 14px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); text-align: left; font-weight: 600; font-size: 14.5px; }
.choice[aria-pressed="true"] { border-color: var(--coral-600); background: #f4f8f5; box-shadow: inset 0 0 0 1px var(--coral-600); }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.img-card { position: relative; overflow: hidden; border: 1px solid var(--ink-200); border-radius: 8px; background: var(--white); transition: border-color 140ms, box-shadow 140ms; }
.img-card.loved { border-color: var(--green-600); box-shadow: 0 0 0 2px var(--green-600); }
.img-card.disliked { opacity: .55; }
.img-card .ph { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #ddd; cursor: zoom-in; }
.img-card .ph img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.img-card .src { position: absolute; left: 8px; top: 8px; padding: 2px 6px; border-radius: 3px; background: rgba(8,31,24,.75); color: #fff; font-size: 10px; letter-spacing: .04em; }
.img-card .body { padding: 10px 12px 12px; }
.img-card .body strong { display: block; font-size: 14px; } .img-card .body small { color: var(--ink-500); font-size: 12px; }
.img-card .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.img-card .acts button { min-height: 36px; border: 1px solid var(--ink-200); border-radius: 4px; background: var(--paper-50); font-size: 12.5px; font-weight: 700; }
.img-card .acts button[aria-pressed="true"].love { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.img-card .acts button[aria-pressed="true"].nope { background: var(--ink-700); border-color: var(--ink-700); color: #fff; }
.style-card { text-align: left; padding: 0; border: 1px solid var(--ink-200); border-radius: 8px; background: var(--white); overflow: hidden; }
.style-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.style-card div { padding: 12px 14px 14px; } .style-card strong { display: block; font-size: 15px; } .style-card span { color: var(--ink-600); font-size: 13px; }
.style-card[aria-pressed="true"] { border-color: var(--coral-600); box-shadow: 0 0 0 2px var(--coral-600); }
.pair { padding: 16px; border: 1px solid var(--ink-200); border-radius: 8px; background: var(--white); }
.pair h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pair-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair-opt { padding: 0; border: 1px solid var(--ink-200); border-radius: 6px; overflow: hidden; background: var(--paper-50); text-align: left; }
.pair-opt img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.pair-opt span { display: block; padding: 8px 10px; font-size: 13.5px; font-weight: 700; }
.pair-opt[aria-pressed="true"] { border-color: var(--coral-600); box-shadow: 0 0 0 2px var(--coral-600); }
.pair-more { display: flex; gap: 6px; margin-top: 10px; }
.pair-more button { padding: 6px 10px; border: 1px solid var(--ink-200); border-radius: 20px; background: var(--white); font-size: 12px; font-weight: 700; color: var(--ink-600); }
.pair-more button[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; }
.swatch { padding: 0; border: 1px solid var(--ink-200); border-radius: 8px; overflow: hidden; background: var(--white); }
.swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.swatch .body { padding: 8px 10px 10px; } .swatch strong { font-size: 13.5px; }
.swatch .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; }
.swatch .acts button { min-height: 32px; border: 1px solid var(--ink-200); border-radius: 4px; background: var(--paper-50); font-size: 12px; font-weight: 700; }
.swatch .acts button[aria-pressed="true"].love { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.swatch .acts button[aria-pressed="true"].nope { background: var(--ink-700); color: #fff; border-color: var(--ink-700); }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.board { display: grid; gap: 10px; }
.board-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); }
.board-item img { width: 120px; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }
.assess-nav { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px clamp(14px, 4vw, 40px); border-top: 1px solid var(--ink-200); background: rgba(249,247,241,.96); backdrop-filter: blur(12px); }
.assess-nav .save-state { color: var(--ink-500); font-size: 12.5px; }
.profile-card { padding: clamp(22px, 4vw, 40px); }
.profile-card h2 { font-size: calc(clamp(1.8rem, 3vw, 2.6rem) * var(--hscale, 1)); margin: 8px 0 6px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 20px; }
.profile-grid > div { padding: 14px 0; border-top: 1px solid var(--ink-100); }
.profile-grid dt { color: var(--ink-500); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.profile-grid dd { margin: 0; font-size: 15px; }
.fav-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.fav-strip img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(8,20,16,.88); }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; border-radius: 6px; }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
.lightbox button { position: absolute; top: 16px; right: 16px; }

/* admin content editor */
.cms-field { padding: 14px 0; border-top: 1px solid var(--ink-100); }
.cms-field:first-child { border-top: 0; }
.cms-field .cms-meta { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.cms-field textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--ink-200); border-radius: 4px; background: var(--white); font-size: 14px; line-height: 1.5; resize: vertical; }
.cms-field.changed textarea { border-color: var(--coral-600); background: #f7faf8; }
.cms-field.override .cms-meta .badge { display: inline-flex; }
.cms-img { display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ink-100); }
.cms-img img { width: 180px; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; background: var(--ink-100); }
.sticky-save { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--ink-200); border-radius: 6px; background: rgba(255,254,250,.97); box-shadow: var(--shadow-sm); }
.row-edit { display: grid; grid-template-columns: 1fr 110px 36px; gap: 8px; align-items: center; margin-bottom: 6px; }
.tier-edit { display: grid; gap: 12px; align-content: start; padding: 16px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); }
@media (max-width: 960px) {
  .tiers, .lists-3, .estimator, .modes, .access-cards { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: 1fr; }
  .site-nav .mobile-only { display: block; }
}
@media (max-width: 640px) { .pairs { grid-template-columns: 1fr; } .board-item { grid-template-columns: 80px 1fr; } .board-item img { width: 80px; } .board-item .actions { grid-column: 1 / -1; } .cms-img { grid-template-columns: 1fr; } }
@media print {
  .site-header, .app-header, .site-footer, .assess-nav, .no-print, .cookie-bar, .toast-region { display: none !important; }
  body { background: #fff; } .card { box-shadow: none; border-color: #ccc; } .assess-shell { padding: 0; }
}

/* ===== space program ===== */
.space-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 6px 0 4px; }
.space-summary > div { padding: 10px 12px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--paper-50); }
.space-summary span { display: block; color: var(--ink-600); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.space-summary strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.space-list { display: grid; gap: 10px; margin-top: 12px; }
.space-card { padding: 14px 16px; border: 1px solid var(--ink-200); border-left: 3px solid var(--ink-900); border-radius: 6px; background: var(--white); }
.space-card.nice { border-left-color: var(--amber-600); }
.space-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.space-head strong { font-size: 15.5px; }
.space-head .badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.space-area { text-align: right; } .space-area strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; } .space-area small { color: var(--ink-600); font-size: 12px; }
.space-feel { margin: 10px 0 0; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip.sm { padding: 3px 9px; font-size: 12px; }
.badge.enc-open { background: var(--green-100); color: var(--green-600); } .badge.enc-semi_open { background: var(--blue-100); color: var(--blue-600); }
.badge.enc-enclosed { background: var(--ink-100); color: var(--ink-800); } .badge.enc-outdoor { background: var(--amber-100); color: var(--amber-600); }
.quick-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; }
.quick-add .label { margin-right: 4px; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-pill { position: relative; display: inline-flex; }
.choice-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-pill span { padding: 7px 12px; border: 1px solid var(--ink-300); border-radius: 30px; background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-800); cursor: pointer; }
.choice-pill input:checked + span { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.choice-pill input:focus-visible + span { outline: 3px solid rgba(190,78,47,.6); outline-offset: 2px; }
.dims { display: grid; grid-template-columns: 1fr auto 1fr 1fr; gap: 8px; align-items: end; }
.dims > span { padding-bottom: 12px; color: var(--ink-600); }
.danger-text { color: var(--red-600); border-color: #e6bdbb; }
@media (max-width: 560px) { .dims { grid-template-columns: 1fr 1fr; } .dims > span { display: none; } .space-area { text-align: left; } }
@media print { body.print-spaces main > *:not(.portal-main):not(.admin-shell) { display: none; } body.print-spaces .viewer-shell, body.print-spaces .pano, body.print-spaces .mode-tabs, body.print-spaces aside, body.print-spaces .admin-nav { display: none !important; } }

/* ===== events ===== */
.events-layout { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.cal-card { position: sticky; top: 90px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.cal-head h2 { font-size: 1.5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { padding: 4px 0; text-align: center; color: var(--ink-700); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cal-cell { display: flex; flex-direction: column; align-items: stretch; gap: 2px; min-height: 64px; padding: 5px; border: 1px solid var(--ink-100); border-radius: 5px; background: var(--white); text-align: left; font: inherit; color: var(--ink-950); cursor: default; overflow: hidden; }
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell .n { font-size: 12.5px; font-weight: 700; }
.cal-cell.past { background: var(--paper-50); color: var(--ink-700); }
.cal-cell.today .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-950); color: var(--white); }
.cal-cell.has { cursor: pointer; border-color: var(--coral-200); }
.cal-cell.has:hover { border-color: var(--coral-700); }
.cal-cell.sel { border-color: var(--coral-700); box-shadow: inset 0 0 0 1px var(--coral-700); background: #f4f8f5; }
.cal-ev { display: block; padding: 1px 4px; border-radius: 3px; background: var(--coral-700); color: var(--white); font-size: 10.5px; font-weight: 700; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-cell.past .cal-ev { background: var(--ink-700); }
.cal-more { font-size: 10.5px; color: var(--ink-700); }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.event-list { display: grid; gap: 10px; }
.event-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; text-decoration: none; color: inherit; transition: border-color 140ms, transform 200ms var(--ease-out); }
.event-card:hover { border-color: var(--ink-500); transform: translateY(-2px); }
.event-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.event-card p { margin: 0; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: 6px; background: var(--ink-950); color: var(--white); }
.ev-date span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-200); }
.ev-date strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.ev-thumb { width: 100%; max-height: 160px; object-fit: cover; border-radius: 5px; margin-bottom: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.past-events { margin-top: 18px; } .past-events summary { cursor: pointer; font-weight: 700; color: var(--ink-700); padding: 8px 0; }
.event-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 24px; align-items: start; margin-top: 10px; }
.event-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px; }
.event-facts { position: sticky; top: 90px; }
.event-facts .btn { width: 100%; }
@media (max-width: 960px) { .events-layout, .event-detail { grid-template-columns: 1fr; } .cal-card, .event-facts { position: static; } }
@media (max-width: 480px) { .cal-cell { min-height: 44px; padding: 3px; } .cal-ev { font-size: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; } .cal-more { display: none; } }
.copy-mark { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 3px; background: rgba(8,31,24,.6); color: rgba(255,255,255,.85); font-size: 11px; pointer-events: none; }
.pano .copy-mark { bottom: auto; top: 58px; right: 12px; }
.footer-base nav a { white-space: nowrap; }
.choice-pill span, .space-feel .chip { text-transform: capitalize; }
.book-estimate { margin-top: 14px; }
.book-estimate .eyebrow { color: var(--coral-700); }
.book-estimate p { margin: 8px 0 14px; max-width: 64ch; }
.book-estimate .book-range strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; color: var(--ink-950); }
.event-photo { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 12px 14px 4px; margin: 4px 0 14px; }
.event-photo legend { padding: 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-700); }
.event-photo-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.event-photo-preview { width: 200px; aspect-ratio: 3 / 2; border-radius: var(--radius-xs); background: var(--paper-100); border: 1px dashed var(--ink-200); display: grid; place-items: center; overflow: hidden; }
.event-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.ev-admin-thumb { width: 64px; height: 43px; object-fit: cover; border-radius: 4px; display: block; }
.ev-admin-thumb.empty { background: var(--paper-100); border: 1px dashed var(--ink-200); }
/* consultation booking */
.consult-pick, .form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field-legend { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-950); margin-bottom: 10px; padding: 0; }
.consult-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.consult-option { position: relative; display: block; cursor: pointer; }
.consult-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.consult-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.consult-option:hover .consult-card { border-color: var(--ink-500); }
.consult-option input:checked + .consult-card { border-color: var(--ink-950); box-shadow: 0 0 0 2px var(--ink-950) inset; }
.consult-option input:focus-visible + .consult-card { outline: 3px solid var(--coral-600); outline-offset: 2px; }
.consult-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.consult-head strong { font-size: 15px; color: var(--ink-950); }
.consult-price-tag { font-family: var(--font-display); font-size: 1.15rem; color: var(--coral-700); white-space: nowrap; }
.consult-meta { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-600); }
.consult-summary { font-size: 13.5px; color: var(--ink-700); }
.consult-card ul { margin: 2px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-700); }
.consult-card li { margin: 2px 0; }
.consult-msg-only { margin-top: 4px; }
.consult-price { background: var(--paper-100); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 14px; }
.consult-price p { margin: 6px 0 0; }
.price-lines { margin: 8px 0 0; display: grid; gap: 4px; }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; }
.price-lines dt, .price-lines dd { margin: 0; }
.price-lines .disc { color: var(--green-600); }
.price-lines .total { font-weight: 700; color: var(--ink-950); border-top: 1px solid var(--ink-200); padding-top: 6px; }
.price-lines div:only-child { border-top: 0; padding-top: 0; }
.promo-row { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 18px; }
.promo-row .field { flex: 1; max-width: 280px; margin: 0; }
.pref-row { margin-bottom: 0; }
@media (max-width: 900px) { .consult-options { grid-template-columns: 1fr; } }
/* client dashboard tools */
.section-h { font-size: 1.35rem; margin: 6px 0 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 26px; }
.tool-card { display: flex; gap: 14px; padding: 18px; text-decoration: none; color: inherit; transition: border-color 140ms, transform 220ms var(--ease-out); }
a.tool-card:hover { border-color: var(--ink-500); transform: translateY(-2px); }
.tool-ico { width: 30px; height: 30px; flex: none; color: var(--coral-700); margin-top: 2px; }
.tool-card.is-locked .tool-ico { color: var(--ink-500); }
.tool-body { min-width: 0; flex: 1; }
.tool-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.tool-top h3 { font-size: 15px; margin: 0; }
.tool-card p { font-size: 13.5px; color: var(--ink-700); margin: 6px 0 0; }
.tool-card .more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-950); }
.lock-mini { width: 11px; height: 11px; vertical-align: -1px; margin-right: 4px; }
.steps-card { margin-bottom: 26px; }
.steps-card h2 { font-size: 1.35rem; margin: 0 0 14px; }
.steps-row { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 18px; }
.steps-row li { counter-increment: st; background: var(--paper-100); border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.steps-row li::before { content: counter(st); font-family: var(--font-display); font-size: 1.5rem; color: var(--coral-700); }
.steps-row span { font-size: 13px; color: var(--ink-700); }
@media (max-width: 800px) { .steps-row { grid-template-columns: 1fr 1fr; } }
/* blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform 220ms var(--ease-out), border-color 140ms; }
.post-card:hover { transform: translateY(-3px); border-color: var(--ink-500); }
.post-card img, .post-noimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-noimg { background: linear-gradient(135deg, var(--paper-200), var(--paper-100)); }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.post-card h2 { font-size: 1.35rem; margin: 0; }
.post-card p { margin: 0; color: var(--ink-700); font-size: 14.5px; }
.post-wrap { max-width: 760px; }
.post-head h1 { font-size: calc(clamp(2rem, 4.5vw, 3rem) * var(--hscale, 1)); margin: 10px 0 8px; }
.post-cover { width: 100%; border-radius: var(--radius-sm); margin: 22px 0 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { margin-top: 18px; font-size: 17px; }
.post-body figure { margin: 26px 0; }
.post-body figure img { width: 100%; border-radius: var(--radius-sm); }
.post-body figcaption { font-size: 13px; color: var(--ink-600); margin-top: 6px; }
.post-body blockquote { border-left: 3px solid var(--coral-600); margin: 22px 0; padding: 4px 0 4px 18px; font-family: var(--font-display); font-size: 1.2rem; }
.blog-edit { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.md-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.md-toolbar .vbtn { background: var(--paper-100); color: var(--ink-900); border: 1px solid var(--ink-200); }
.md-area { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.md-preview { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 18px; min-height: 300px; background: var(--white); }
@media (max-width: 1000px) { .blog-edit { grid-template-columns: 1fr; } }
/* Optional photo slots: hidden until a real photo is uploaded in Admin → Site content */
.photo-slot:has(img[data-optional]:not([data-has-media])) { display: none; }
.split:has(.photo-slot img[data-optional]:not([data-has-media])) { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
/* live time picker */
.slot-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.slot-day { flex: none; min-width: 92px; display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--white); color: var(--ink-900); cursor: pointer; text-align: left; font: inherit; font-size: 13px; }
.slot-day span { font-size: 12px; color: var(--ink-600); }
.slot-day[aria-pressed="true"] { border-color: var(--ink-950); background: var(--ink-950); color: var(--white); }
.slot-day[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
.slot-times { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 8px; }
.slot-times legend { width: 100%; margin-bottom: 8px; font-weight: 700; color: var(--ink-800); }
.slot-time { position: relative; }
.slot-time input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot-time span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ink-200); border-radius: 30px; background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink-900); }
.slot-time input:checked + span { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.slot-time input:focus-visible + span { outline: 3px solid var(--coral-600); outline-offset: 2px; }
.day-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; margin-bottom: 6px; }
.day-row > span { margin: 0; }
.zones .input { width: 100%; min-height: 36px; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .rules-grid { grid-template-columns: 1fr; } .day-row { grid-template-columns: 84px 1fr; } }
.svc-photo { margin: 16px 0 0; }
.svc-photo img, .wide-photo img { width: 100%; border-radius: var(--radius-sm); object-fit: cover; }
.svc-photo img { aspect-ratio: 3 / 2; }
.wide-photo { margin: 0; }
.wide-photo img { aspect-ratio: 3 / 2; max-height: 620px; }
.plus-tax { font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--ink-600); letter-spacing: 0; }
.offer-tag { display: inline-block; background: var(--coral-700); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; margin-bottom: 4px; }
.range .was { display: block; color: var(--ink-600); font-size: 13px; }
.invoice-edit { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.inv-totals { position: sticky; top: 84px; }
.inv-lines .input { width: 100%; min-height: 36px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 14px; }
.rule-card p { line-height: 1.55; }
@media (max-width: 1000px) { .invoice-edit { grid-template-columns: 1fr; } .inv-totals { position: static; } }
/* invoice */
.invoice-doc { padding: clamp(22px, 4vw, 44px); }
.inv-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--ink-200); padding-bottom: 18px; margin-bottom: 18px; }
.inv-head > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.inv-meta { text-align: right; } .inv-meta h1 { font-size: 2rem; margin: 0; } .inv-meta p { margin: 2px 0 6px; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.inv-table td:not(:first-child), .inv-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.inv-sum { max-width: 360px; margin: 16px 0 16px auto; }
@media print { .site-header, .site-footer, .no-print, .cookie-banner, .toast-region { display: none !important; } .invoice-doc { box-shadow: none; border: 0; } body { background: #fff; } }
@media (max-width: 600px) { .inv-parties { grid-template-columns: 1fr; } .inv-meta { text-align: left; } }
.locked-tour { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, #2a4a3e 0%, var(--ink-950) 60%); min-height: 420px; display: grid; place-items: center; text-align: center; padding: 32px 18px; }
.locked-tour::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; }
.locked-inner { position: relative; max-width: 560px; color: var(--white); }
.locked-inner h3 { font-family: var(--font-display); font-size: calc(clamp(1.6rem, 3vw, 2.2rem) * var(--hscale, 1)); margin: 10px 0; color: var(--white); }
.locked-inner p { color: rgba(255,255,255,.82); margin-bottom: 18px; }
.locked-inner .eyebrow { color: var(--coral-500); }
.locked-inner .link { color: var(--white); }
.dot.done { background: var(--green-600); border-color: var(--green-600); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; color: var(--ink-900); }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.review-card figcaption span { color: var(--ink-600); font-size: 13px; }
.stars { color: var(--coral-700); letter-spacing: 2px; } .stars span { color: var(--ink-200); }
.footer-news { max-width: var(--max); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.footer-news h4 { margin: 0 0 6px; } .footer-news p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.news-form input[type="email"] { min-height: 40px; border-radius: 4px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: var(--white); padding: 0 12px; font: inherit; }
.news-form input[type="email"]::placeholder { color: rgba(255,255,255,.6); }
.news-form .check { grid-column: 1 / -1; color: rgba(255,255,255,.8); font-size: 12.5px; }
.news-form [data-sub-msg] { grid-column: 1 / -1; min-height: 1em; color: rgba(255,255,255,.85); }
@media (max-width: 760px) { .footer-news { grid-template-columns: 1fr; } }

/* security */
.qr-box { display: flex; justify-content: center; margin: 8px 0 12px; }
.qr-box svg { width: 220px; height: 220px; border-radius: 8px; }
.recovery-codes { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.05rem; line-height: 1.8; background: var(--paper-100, #f6f3ee); padding: 12px 16px; border-radius: 8px; columns: 2; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li > span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; }
.checklist li.ok > span { background: #2f7d4f; }
.checklist li.todo > span { background: #a8551f; }
.human-check { margin: 4px 0 12px; min-height: 65px; }
.news-form .human-check { min-height: 0; }

/* media library */
.lib-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lib-item { position: relative; display: flex; flex-direction: column; gap: 4px; }
.lib-open, .lib-pick { display: block; aspect-ratio: 4 / 3; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-100); padding: 0; cursor: pointer; width: 100%; position: relative; }
.lib-open img, .lib-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-pick input { position: absolute; top: 8px; left: 8px; width: 20px; height: 20px; z-index: 1; }
.lib-pick:has(input:checked) { outline: 3px solid var(--coral-600, #b4462a); outline-offset: 1px; }
.lib-open:focus-visible, .lib-pick:focus-within { outline: 3px solid var(--ink-900); outline-offset: 2px; }
.lib-icon { display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--ink-700); }
.lib-name { font-size: .8rem; word-break: break-all; color: var(--ink-700); }
.lib-item .badge { align-self: flex-start; }
.lib-drop { border-style: dashed; text-align: center; color: var(--ink-700); font-size: .9rem; }
.lib-drop.over { background: var(--paper-100); border-color: var(--ink-900); }
.lib-preview { max-width: 100%; max-height: 340px; border-radius: var(--radius-sm); display: block; margin: 0 auto 8px; }
#modal .lib-grid { max-height: 52vh; overflow: auto; padding: 4px; }

/* block editor */
.be-modes { display: inline-flex; gap: 4px; margin: 6px 0 10px; }
.be-modes .vbtn[aria-pressed="true"] { background: var(--ink-900); color: #fff; }
.be-block { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--white, #fff); padding: 12px 14px; }
.be-block > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-700); }
.be-tools { display: inline-flex; gap: 4px; }
.be-tools .vbtn { min-width: 34px; }
.be-insert { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 6px 0; opacity: .55; transition: opacity .15s; }
.be-insert:hover, .be-insert:focus-within, .be-insert:last-child { opacity: 1; }
.be-insert .vbtn { font-size: .78rem; padding: 3px 8px; }
.be-images { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 8px; }
.be-img { width: 200px; }
.be-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 6px; }

/* article blocks */
.post-body figure.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.post-body figure.gallery.g3 { grid-template-columns: repeat(3, 1fr); }
.post-body figure.gallery.g4 { grid-template-columns: repeat(2, 1fr); }
.post-body figure.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-body figure.gallery figcaption { grid-column: 1 / -1; }
.post-body figcaption .credit { color: var(--ink-500, #6b6b66); font-size: .85em; }
.post-body .concept-tag, .concept-tag { display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--ink-900); color: #fff; padding: 2px 7px; border-radius: 4px; }
.post-body .video-frame { position: relative; aspect-ratio: 16 / 9; background: #111; border-radius: var(--radius-sm); overflow: hidden; }
.post-body .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body .callout { border-left: 4px solid var(--coral-600, #b4462a); background: var(--paper-100); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4em 0; }
.post-body .callout p { margin: 0; }
.post-body .post-cta { margin: 1.6em 0; }
.post-body .sources { border-top: 1px solid var(--ink-200); margin-top: 2.5em; padding-top: 1em; font-size: .9rem; }
.post-body .sources h2 { font-size: 1.1rem; }
.post-body hr { border: 0; border-top: 1px solid var(--ink-200); margin: 2em 0; }
@media (max-width: 600px) { .post-body figure.gallery.g3 { grid-template-columns: repeat(2, 1fr); } }

/* edit this page (staff) */
.pe-bar { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.96); border: 1px solid var(--ink-200); border-radius: 999px; padding: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.15); max-width: calc(100vw - 32px); flex-wrap: wrap; }
.pe-hint { font-size: .85rem; color: var(--ink-700); padding-right: 6px; }
.pe-on [data-cms], .pe-on [data-cms-img] { outline: 2px dashed rgba(180, 70, 42, .55); outline-offset: 3px; cursor: text; }
.pe-on [data-cms-img] { cursor: pointer; }
.pe-on [data-cms]:hover, .pe-on [data-cms]:focus, .pe-on [data-cms-img]:hover, .pe-on [data-cms-img]:focus { outline: 2px solid var(--coral-600, #b4462a); background: rgba(180, 70, 42, .06); }
.pe-dialog { border: 0; border-radius: var(--radius, 12px); padding: 22px; width: min(560px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.pe-dialog::backdrop { background: rgba(20, 20, 18, .45); }
.pe-thumb { max-width: 100%; max-height: 200px; border-radius: 8px; display: block; margin-bottom: 10px; }
@media print { .pe-bar { display: none; } }
.be-insert .vbtn, .be-modes .vbtn, .be-tools .vbtn { background: var(--paper-100); color: var(--ink-900); border: 1px solid var(--ink-200); }
.be-modes .vbtn[aria-pressed="true"] { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.be-insert { opacity: 1; }
.be-insert:not(:last-child) .vbtn { font-size: .74rem; padding: 2px 7px; }
.post-body .yt-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: radial-gradient(circle at 50% 45%, #2a2a27, #111); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font: inherit; padding: 16px; text-align: center; }
.post-body .yt-play .yt-icon { width: 68px; height: 48px; border-radius: 12px; background: #c4302b; display: grid; place-items: center; font-size: 22px; }
.post-body .yt-play small { opacity: .75; font-size: .78rem; }
.post-body .yt-play:hover .yt-icon, .post-body .yt-play:focus-visible .yt-icon { background: #e0413b; }
.post-body .yt-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* home page scroll video */
.hero-scroll { position: relative; background: var(--ink-950); color: var(--white); }
.hero-scroll.hs-live { height: var(--hs-h, 400svh); }
.hero-scroll .hs-sticky { position: relative; height: min(100svh - 70px, 900px); min-height: 560px; overflow: hidden; }
.hero-scroll.hs-live .hs-sticky { position: sticky; top: 70px; height: calc(100svh - 70px); max-height: none; }
.hs-poster img, .hs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-canvas { opacity: 0; transition: opacity .4s; }
.hs-ready .hs-canvas { opacity: 1; }
.hs-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,19,calc(var(--hs-dim, .55) + .25)) 0%, rgba(14,22,19,var(--hs-dim, .55)) 45%, rgba(14,22,19,calc(var(--hs-dim, .55) * .35)) 100%); }
.hs-steps { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 clamp(20px, 6vw, 88px); }
.hs-step { max-width: 640px; }
.hs-live .hs-step { position: absolute; left: clamp(20px, 6vw, 88px); right: clamp(20px, 6vw, 88px); top: 50%; opacity: 0; transform: translateY(calc(-50% + 24px)); transition: opacity .5s, transform .6s; pointer-events: none; }
.hs-live .hs-step.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.hs-step .hs-h { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; margin: 0 0 16px; color: var(--white); }
.hs-step .lede { color: rgba(255,254,250,.82); max-width: 48ch; }
.hs-concept { position: absolute; right: 16px; bottom: 16px; background: rgba(0,0,0,.55); }
.hs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.hs-progress span { display: block; height: 100%; background: var(--coral-500); transform-origin: left; transform: scaleX(0); }
.hs-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: opacity .4s; }
.hs-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; animation: hs-hint 1.6s infinite; }
@keyframes hs-hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hs-scrolled .hs-hint, .hs-static .hs-hint, .hs-static .hs-progress { opacity: 0; }
.hs-static .hs-sticky { height: auto; min-height: 0; }
.hs-static .hs-steps { position: relative; flex-direction: column; align-items: flex-start; gap: 48px; padding-top: clamp(60px, 10vw, 120px); padding-bottom: clamp(60px, 10vw, 120px); }
.hs-none .hs-shade { background: none; }
@media (max-width: 700px) {
  .hs-shade { background: linear-gradient(180deg, rgba(14,22,19,calc(var(--hs-dim, .55) * .5)) 0%, rgba(14,22,19,calc(var(--hs-dim, .55) + .25)) 70%); }
  .hs-live .hs-step { top: auto; bottom: 64px; transform: translateY(24px); }
  .hs-live .hs-step.is-active { transform: none; }
  .hs-steps { align-items: flex-end; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .hs-hint::after { animation: none; } }
.hero-admin-preview { aspect-ratio: 16 / 9; max-width: 560px; background: var(--ink-950); border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; }
.hero-admin-preview img { width: 100%; height: 100%; object-fit: cover; }
.hero-progress .bar { height: 8px; background: var(--paper-100); border-radius: 4px; overflow: hidden; max-width: 560px; }
.hero-progress .bar span { display: block; height: 100%; background: var(--coral-600, #b4462a); transform-origin: left; transform: scaleX(0); transition: transform .2s; }
.hero-step legend { font-weight: 600; padding: 0 4px; }
.hs-static .hs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 36px; align-items: start; }
.hs-static .hs-step:first-child { grid-column: 1 / -1; max-width: 680px; }
.hs-static .hs-step:not(:first-child) { border-top: 1px solid rgba(255,255,255,.25); padding-top: 16px; }
.hs-static .hs-step:not(:first-child) .hs-h { font-size: 1.25rem; margin-bottom: 8px; }
.hs-static .hs-step:not(:first-child) .lede { font-size: .95rem; margin-bottom: 12px; }
.hs-static .hs-step:not(:first-child) .btn { padding: 8px 14px; font-size: .85rem; }
.hero-home.hero-scroll { overflow: clip; } /* overflow:hidden would stop the sticky video from sticking */
.hero-home.hero-scroll::before { z-index: 0; pointer-events: none; }
.tier .range .fee-line { display: block; font-size: .82rem; color: var(--ink-700); margin-top: 2px; }
.clock-edit { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: 10px auto; border: 1px dashed var(--ink-200); border-radius: 50%; }
.clock-h { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.clock-h span { font-weight: 700; font-size: .85rem; }
.clock-h input { width: 64px; text-align: center; padding: 4px; border: 1px solid var(--ink-200); border-radius: 6px; }
.clock-h small { display: none; }
.clock-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-700); }

/* design taste profile v2 */
.profile-v2 .pgroup { border-top: 1px solid var(--ink-200); padding-top: 14px; margin-top: 16px; }
.profile-v2 .pgroup.has-conflict { border-left: 4px solid var(--coral-600, #b4462a); padding-left: 12px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ptable th, .ptable td { padding: 5px 6px; text-align: left; vertical-align: middle; }
.ptable thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-700); }
.ptable tbody th { font-weight: 500; width: 34%; }
.pcell { display: flex; align-items: center; gap: 8px; }
.pcell b { font-size: .78rem; min-width: 34px; text-align: right; }
.pbar { position: relative; display: block; flex: 1; height: 14px; background: var(--paper-100); border-radius: 4px; overflow: hidden; min-width: 90px; }
.pbar > i { display: block; height: 100%; }
.pbar.aware > i { background: #1f4d3d; }
.pbar.sub > i { background: #c98a5a; }
.pbar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(0,0,0,.25); }
.legend .key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin: 0 4px 0 10px; }
.legend .key.aware { background: #1f4d3d; } .legend .key.sub { background: #c98a5a; }

/* pair test */
.pt-progress { position: relative; height: 6px; background: var(--paper-100); border-radius: 3px; margin: 10px 0 6px; }
.pt-progress > span { display: block; height: 100%; background: var(--coral-600, #b4462a); border-radius: 3px; transition: width .3s; }
.pt-progress > i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink-900); }
.pt-basis { display: inline-block; margin-top: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ink-900); color: #fff; padding: 4px 10px; border-radius: 999px; }
.pt-q { margin: 10px 0 18px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.pt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt-opt { position: relative; padding: 0; border: 3px solid transparent; border-radius: var(--radius-sm, 10px); overflow: hidden; background: var(--paper-100); cursor: pointer; aspect-ratio: 4 / 3; transition: transform .15s, border-color .15s; }
.pt-opt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-opt:hover, .pt-opt:focus-visible { border-color: var(--coral-600, #b4462a); transform: translateY(-2px); }
.pt-opt .pt-key { position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink-900); font-weight: 700; display: grid; place-items: center; }
.pt-opt .src { position: absolute; right: 8px; bottom: 8px; font-size: .7rem; background: rgba(0,0,0,.55); color: #fff; padding: 2px 6px; border-radius: 4px; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 6px; }
@media (max-width: 640px) { .pt-pair { grid-template-columns: 1fr; } .pt-opt { aspect-ratio: 16 / 10; } }
.tag-pick { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 8px 12px 10px; margin: 8px 0; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--ink-200); border-radius: 999px; padding: 3px 10px; font-size: .85rem; cursor: pointer; }
.tag-chip:has(input:checked) { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.pe-slot-ctl { display: flex; justify-content: center; padding: 10px; border: 2px dashed rgba(180,70,42,.45); margin: 8px clamp(16px, 4vw, 48px); border-radius: 10px; background: rgba(255,255,255,.7); }
.pe-dialog.pe-wide { width: min(860px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; }
.page-added + .page-added, .page-slot:empty { display: block; }
.page-added .post-body { max-width: 860px; margin: 0 auto; }
.tier .range .offer-tag { color: #fff; display: inline-block; }

.pbar.total > i { background: var(--coral-600, #b4462a); }
.legend .key.total { background: var(--coral-600, #b4462a); }
.ptable tbody th { width: 25%; }
@media (max-width: 700px) { .ptable thead th:nth-child(2), .ptable thead th:nth-child(3) { font-size: .62rem; } .pbar { min-width: 40px; } }
.most-booked { align-self: flex-start; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; background: var(--coral-600, #b4462a); color: #fff; padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; display: inline-block; }

/* page pictures (photo or scroll video in a page's top banner) */
.pv { position: relative; }
.pv .pv-bg, .pv .pv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; z-index: 0; }
.pv-focus-top .pv-bg { object-position: 50% 15%; } .pv-focus-bottom .pv-bg { object-position: 50% 85%; }
.pv .pv-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(14,22,19,calc(var(--pv-dim, .55) + .25)) 0%, rgba(14,22,19,var(--pv-dim, .55)) 45%, rgba(14,22,19,calc(var(--pv-dim, .55) * .35)) 100%); }
.pv > .wrap, .pv > .copy { z-index: 1; }
.pv .pv-concept { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(0,0,0,.55); }
.page-hero.pv-photo { min-height: min(66vh, 620px); display: flex; align-items: flex-end; }
.page-hero.pv-photo > .wrap { width: 100%; }
.hero-photo.pv-photo { min-height: min(78vh, 720px); }
.hero-photo.pv-none { min-height: min(60vh, 520px); }
.page-hero.pv::before { z-index: 0; }
.pv-video { overflow: clip; }
.pv-video .pv-sticky { position: absolute; inset: 0; z-index: 0; }
.pv-video .pv-canvas { opacity: 0; transition: opacity .4s; }
.pv-video.pv-ready .pv-canvas { opacity: 1; }
.pv-video.pv-live { height: var(--pv-h, 200svh); }
.pv-video.pv-live .pv-sticky { position: sticky; top: 70px; height: calc(100svh - 70px); bottom: auto; margin-bottom: calc(-100svh + 70px); }
.pv-video.pv-live > .wrap, .pv-video.pv-live > .copy { position: sticky; top: calc(70px + 18vh); }
.page-hero.pv-video:not(.pv-live) { min-height: min(66vh, 620px); display: flex; align-items: flex-end; }
.hero-photo.pv-video:not(.pv-live) { min-height: min(78vh, 720px); }
.hero-photo.pv-video.pv-live > .copy { bottom: auto; left: var(--gutter); }
.pv-table td, .pv-table th { vertical-align: middle; }
.pv-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 6px; }
.input.sm { padding: 4px 6px; min-height: 32px; font-size: .85rem; }
/* most picked / most booked highlights */
.consult-option.is-most-booked .consult-card { border-color: #b8862b; background: linear-gradient(180deg, #fbf3e2 0%, var(--white, #fff) 60%); box-shadow: 0 0 0 1px #b8862b inset; }
.consult-option.is-most-booked .most-booked { background: var(--brand-green); box-shadow: 0 0 0 2px var(--gold-500); }
.ptable tr.top-pick th, .ptable tr.top-pick td { background: #fbf3e2; }
.top-pick-tag { display: inline-block; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; background: #8a5f12; color: #fff; padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.pbar.total.top > i { background: #b8862b; }
.pt-basis.pt-rank { background: #8a5f12; }
.tier .fee-note { font-size: .78rem; color: var(--ink-700); margin: 0 0 12px; border-top: 1px dashed var(--ink-200); padding-top: 8px; }
/* services directory */
.svc-dir { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; padding: 8px 0 24px; border-bottom: 1px solid var(--ink-200); }
.svc-cat { font-family: var(--font-body, Inter, sans-serif); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-700); margin: 0 0 12px; font-weight: 600; }
.svc-dir ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.svc-dir a { font-weight: 600; color: var(--ink-900); text-decoration: none; font-size: 1.05rem; }
.svc-dir a:hover, .svc-dir a:focus-visible { color: var(--coral-600, #b4462a); text-decoration: underline; }
.tier .range .offer-tag { width: fit-content; max-width: 100%; border-radius: 6px; font-size: .68rem; line-height: 1.3; padding: 3px 8px; margin-bottom: 6px; white-space: normal; }

/* "Most chosen" package: its own colour (deep green and gold) so it stands out from everything else in coral */
.tier.featured { border: 2px solid var(--gold-500); background: var(--white); box-shadow: 0 1.5rem 4rem rgba(21, 52, 40, 0.16); }
.tier.featured::after { background: var(--brand-green); color: #fff; box-shadow: 0 0 0 2px var(--gold-500); }
/* Home banner without video: the three panels line up, and their links sit on one line at the bottom.
   One main action (Book a consultation) in coral; panel actions are quiet arrow links so they don't compete. */
.hs-static .hs-steps { align-items: stretch; }
.hs-static .hs-step:not(:first-child) { display: flex; flex-direction: column; height: 100%; }
.hs-static .hs-step:not(:first-child) .hs-cta { margin: auto 0 0; padding-top: 6px; }
.hs-static .hs-step:not(:first-child) .lede { margin-bottom: 14px; }

/* Package card: price, then the fees that sit with it, then what's included. */
.tier .tier-fees { margin: 14px 0 4px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2, #f5f2ec); border: 1px solid var(--line, #e4ded3); }
.tier .tier-fees p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.tier .tier-fees .fee-line { font-weight: 700; color: var(--ink-950, #1b1b1b); margin-bottom: 4px; }
.tier .tier-fees .fee-amt { font-weight: 500; }
.tier .tier-fees .fee-note { color: var(--ink-700, #4a4a4a); }
.tier.featured .tier-fees { background: rgba(255,255,255,.75); border-color: #e3cf9f; }

/* Edit mode: data-driven parts of a page get an outline and their own edit button. */
.pe-on .pe-managed:not(.hero-scroll):not([data-hero]) { position: relative; }
.pe-on .pe-managed { outline: 2px dashed #e35d36; outline-offset: 6px; border-radius: 6px; }
.pe-on .pe-managed > .pe-manage { position: absolute; top: 10px; right: 10px; z-index: 30; box-shadow: 0 6px 18px rgba(0,0,0,.18); white-space: nowrap; }

/* Admin forms: titled sections so related inputs sit together. */
.admin-main .form-section { font-size: 1.15rem; margin: 22px 0 -4px; padding-top: 14px; border-top: 1px solid var(--ink-200, #e3e3e3); color: var(--ink-950, #1b1b1b); }

/* One button size across the site: every standard button in page content is the same height and width;
   only text links (and .sm buttons in tools) differ. On phones they go full width. */
main .btn:not(.sm) { min-width: 228px; }
@media (max-width: 560px) { main .btn:not(.sm) { min-width: 0; width: 100%; } }
/* Home banner panels: each panel's action is the same outline button, lined up along the bottom. */
.hs-static .hs-step:not(:first-child) .hs-cta .btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.hs-static .hs-step:not(:first-child) .hs-cta .btn:hover { border-color: var(--white); }
.hero-ctas .text-link { flex-basis: 100%; margin-top: 4px; }

/* Buttons: green fill with a golden-orange outline. The single orange button is the "Book a consultation" in the header. */
.btn.coral { background: var(--brand-green); border: 1.5px solid var(--gold-500); color: var(--white); }
.btn.coral:hover { background: var(--brand-green-dark); border-color: var(--gold-300); }
.btn.ghost, .btn.outline-light { border-width: 1.5px; }
body:not(.layout-app) .btn.ghost:not(.danger) { border-color: var(--gold-500); color: var(--brand-green); }
.btn.outline-light { border-color: var(--gold-300); }
.btn.orange { background: var(--orange-600); border-color: var(--orange-600); color: var(--white); }
.btn.orange:hover { background: var(--orange-700); border-color: var(--orange-700); }
/* Tags: outlined, not filled. */
.offer-tag, .tier .range .offer-tag { background: transparent; color: var(--brand-green); border: 1.5px solid var(--gold-500); }
.most-booked, .top-pick-tag { box-shadow: 0 0 0 2px var(--gold-500); }
.tier.featured .tier-fees { border-color: var(--gold-300); }
.text-link:hover { border-color: var(--gold-500); }

/* ===================== Page sections (Admin → Pages, and sections added to pages) ===================== */
.bsec { background: var(--bs-bg, transparent); color: var(--bs-fg, inherit); }
.bsec.bg-paper { --bs-bg: var(--paper-50); } .bsec.bg-white { --bs-bg: var(--white); } .bsec.bg-sand { --bs-bg: var(--paper-200); }
.bsec.bg-green { --bs-bg: var(--brand-green); --bs-fg: var(--white); } .bsec.bg-dark { --bs-bg: var(--ink-950); --bs-fg: var(--white); }
.bsec.bg-green .eyebrow, .bsec.bg-dark .eyebrow { color: var(--gold-100); }
.bsec.bg-green p, .bsec.bg-dark p { color: color-mix(in srgb, var(--bs-fg) 82%, transparent); }
.bsec .eyebrow { color: var(--bs-accent, var(--coral-600)); }
.sec-styled.bg-paper { background: var(--paper-50); } .sec-styled.bg-white { background: var(--white); } .sec-styled.bg-sand { background: var(--paper-200); }
.sec-styled.bg-green { background: var(--brand-green); color: var(--white); } .sec-styled.bg-dark { background: var(--ink-950); color: var(--white); }
.sec-styled.bg-custom { background: var(--bs-bg); } .sec-styled[style*="--bs-fg"] { color: var(--bs-fg); }
.pad-s { padding-block: clamp(28px, 4vw, 48px) !important; } .pad-m { padding-block: clamp(56px, 7vw, 96px) !important; } .pad-l { padding-block: clamp(80px, 11vw, 150px) !important; }
.bsec.w-narrow .wrap { max-width: 760px; } .bsec.w-wide .wrap { max-width: 1440px; } .bsec.w-full .wrap { max-width: none; }
.al-center { text-align: center; } .al-center .bs-btns, .al-center .ns-actions { justify-content: center; } .al-center .lede, .al-center .bs-h { margin-inline: auto; }
@media (max-width: 760px) { .only-desktop { display: none !important; } }
@media (min-width: 761px) { .only-mobile { display: none !important; } }
.bs-h { font-size: calc(clamp(1.8rem, 3.2vw, 2.8rem) * var(--hscale, 1)); margin: 0 0 16px; max-width: 26ch; }
.bs-h-s { font-size: calc(clamp(1.4rem, 2.4vw, 2rem) * var(--hscale, 1)); } .bs-h-l { font-size: calc(clamp(2.2rem, 4.4vw, 3.8rem) * var(--hscale, 1)); }
.bs-h1 { font-size: calc(clamp(2.3rem, 4.8vw, 4.2rem) * var(--hscale, 1)); margin: 12px 0 16px; max-width: 18ch; }
.bs-btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 24px; }
.bs-hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bs-hero-split.img-left .bs-hero-img { order: -1; }
.bs-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.bs-hero-bg { position: relative; padding: clamp(60px, 10vw, 140px) clamp(20px, 4vw, 48px); background-size: cover; background-position: center; border-radius: var(--radius-sm); color: var(--white); overflow: hidden; }
.bs-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,36,29,.82), rgba(16,36,29,.35)); }
.bs-hero-bg .bs-hero-text { position: relative; max-width: 640px; } .bs-hero-bg p { color: rgba(255,255,255,.82); }
.bs-fig { position: relative; margin: 0; } .bs-fig img { width: 100%; border-radius: var(--radius-sm); display: block; } .bs-fig figcaption { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.bs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.bs-cols { display: grid; gap: 20px; margin-top: 24px; } .bs-cols.n2 { grid-template-columns: repeat(2, 1fr); } .bs-cols.n3 { grid-template-columns: repeat(3, 1fr); }
.bs-card { background: var(--white); color: var(--ink-950); border: 1px solid var(--ink-100); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.bs-card img { width: calc(100% + 44px); margin: -22px -22px 6px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.bs-card h3 { font-size: 1.35rem; } .bs-card p { margin: 0; color: var(--ink-700); } .bs-card .text-link { margin-top: auto; }
.bs-cta { max-width: 760px; } .al-center .bs-cta { margin: 0 auto; }
@media (max-width: 860px) { .bs-hero-split, .bs-cols.n2, .bs-cols.n3 { grid-template-columns: 1fr; } }
.page-added + .page-added, .bsec + .bsec { border-top: 1px solid var(--ink-100); }

/* before / after slider */
.ba { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 16 / 10; background: var(--ink-100); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-lab { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 4px; background: rgba(16,36,29,.78); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.ba-lab-b { left: 12px; } .ba-lab-a { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); pointer-events: none; }
.ba:focus-within { outline: 3px solid var(--gold-500); outline-offset: 3px; }

/* ===================== Decision path ===================== */
.next-step { background: var(--brand-green); color: var(--white); padding-block: clamp(48px, 7vw, 88px); }
.ns-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
.next-step .eyebrow { color: var(--gold-100); }
.next-step h2 { font-size: calc(clamp(1.8rem, 3.4vw, 2.8rem) * var(--hscale, 1)); margin: 10px 0 10px; max-width: 22ch; }
.next-step p { color: rgba(255,255,255,.78); margin: 0; max-width: 52ch; }
.ns-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.next-step .btn.ghost { color: var(--white); border-color: var(--gold-300); }
.next-step .social-links a { border-color: var(--gold-300); }
.next-step .btn.coral { background: var(--brand-green-dark); }
.ns-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: rgba(255,255,255,.8); }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--gold-500); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: inherit; }
.social-links a:hover { background: rgba(221,101,64,.12); }
.footer-social { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.footer-social h4 { margin: 0; }
@media (max-width: 860px) { .ns-wrap { grid-template-columns: 1fr; } .ns-actions .btn { width: 100%; } }
.goal-nudge { position: fixed; right: 18px; bottom: 18px; z-index: 950; width: min(360px, calc(100vw - 36px)); background: var(--white); color: var(--ink-950); border: 1.5px solid var(--gold-500); border-radius: 12px; padding: 18px 18px 16px; box-shadow: 0 1.2rem 3rem rgba(16,36,29,.25); }
.goal-nudge b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; display: block; margin-right: 24px; }
.goal-nudge p { margin: 6px 0 12px; font-size: 14px; color: var(--ink-700); }
.goal-nudge .gn-act { display: flex; flex-wrap: wrap; gap: 8px; } .goal-nudge .gn-act a:not(.btn) { font-weight: 700; font-size: 13px; padding: 6px 12px; border: 1.5px solid var(--gold-500); border-radius: 999px; text-decoration: none; color: var(--ink-950); }
.gn-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-500); width: 32px; height: 32px; }
/* Focused checkout: nothing unrelated around the form */
body.focus .site-nav, body.focus .nav-actions .btn.ghost, body.focus .menu-btn, body.focus .footer-grid, body.focus .footer-news, body.focus .footer-social, body.focus [data-next-step], body.focus .page-slot, body.focus .goal-nudge, body.focus .focus-hide { display: none !important; }
body.focus .nav-actions .btn.orange { display: none; }
/* Draft preview */
.preview-bar { position: fixed; left: 50%; transform: translateX(-50%); top: 10px; z-index: 1000; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; max-width: calc(100vw - 24px);
  background: var(--ink-950); color: #fff; border: 1.5px solid var(--gold-500); border-radius: 10px; padding: 8px 12px; font-size: 13px; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.preview-bar a { color: var(--gold-300); font-weight: 700; } .preview-bar button { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.sec-hidden { display: none !important; }
html.pe-on .sec-hidden { display: block !important; opacity: .4; outline: 2px dashed var(--red-600); outline-offset: -6px; }

/* ===================== Path Finder ===================== */
.pf-wrap { max-width: 1080px; }
.pf h1 { font-size: calc(clamp(2.2rem, 4.4vw, 3.6rem) * var(--hscale, 1)); margin: 10px 0 12px; }
.pf-progress { height: 6px; border-radius: 99px; background: var(--paper-200); overflow: hidden; margin: 22px 0 6px; } .pf-progress span { display: block; height: 100%; width: 0; background: var(--brand-green); transition: width .3s; }
.pf-q { border: 0; padding: 0; margin: 18px 0 0; } .pf-q legend { padding: 0; } .pf-q h2 { font-size: calc(clamp(1.6rem, 3vw, 2.4rem) * var(--hscale, 1)); margin: 6px 0 18px; }
.pf-basis { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-green); border: 1.5px solid var(--gold-500); border-radius: 999px; padding: 3px 10px; }
.pf-opts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pf-opt { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1.5px solid var(--ink-100); border-radius: 12px; overflow: hidden; background: var(--white); cursor: pointer; font: inherit; color: var(--ink-950); transition: border-color .15s, transform .15s; }
.pf-opt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pf-opt span { padding: 12px 14px; font-weight: 700; }
.pf-opt:hover, .pf-opt:focus-visible { border-color: var(--gold-500); transform: translateY(-2px); }
.pf-opt[aria-pressed="true"] { border-color: var(--brand-green); box-shadow: 0 0 0 2px var(--brand-green); }
.pf-area { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; max-width: 520px; } .pf-area .field { flex: 1; min-width: 200px; }
.pf-nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.pf-result { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 18px; align-items: start; }
.pf-result h2 { font-size: calc(clamp(1.9rem, 3.4vw, 2.8rem) * var(--hscale, 1)); margin: 8px 0 6px; }
.pf-range { font-family: var(--font-display); font-size: 2rem; margin: 14px 0 4px; }
.pf-incl { padding-left: 18px; margin: 16px 0; } .pf-incl li { margin: 4px 0; }
.pf-cta { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; } .pf-cta .btn { width: 100%; }
.pf-email { border-top: 1px solid var(--ink-100); padding-top: 14px; margin-top: 10px; display: flex; flex-direction: column; gap: 10px; } .pf-email h4 { margin: 0; }
@media (max-width: 860px) { .pf-result { grid-template-columns: 1fr; } }

/* ===================== Proposal ===================== */
.fee-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.fee-table td { padding: 10px 0; border-bottom: 1px solid var(--ink-100); } .fee-table .num { text-align: right; white-space: nowrap; }
.fee-table tr.save td { color: var(--green-600); } .fee-table tr.sub td { font-weight: 700; } .fee-table tr.total td { font-weight: 800; border-top: 2px solid var(--ink-950); }
.fee-table tr.dep td { font-weight: 700; color: var(--brand-green); border-bottom: 0; padding-top: 14px; }
.accept-form { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; border: 1.5px solid var(--gold-500); }
.accept-form .decline summary { cursor: pointer; font-size: 14px; color: var(--ink-600); } .accept-form .decline { margin-top: 6px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* ===================== Editors (admin + Edit this page) ===================== */
.pe-sec-ctl { position: relative; z-index: 31; display: flex; gap: 8px; justify-content: flex-end; padding: 6px var(--gutter) 0; }
html.pe-on [data-sec] { outline: 1px dashed rgba(31,74,59,.35); outline-offset: -3px; }
.pe-builder-btn { position: relative; z-index: 30; margin: 8px var(--gutter); }
.se-list-main { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.se-sec { border: 1px solid var(--ink-200); border-radius: 10px; background: var(--white); }
.se-sec.is-hidden { opacity: .6; border-style: dashed; }
.se-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; }
.se-title { flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 0; background: none; cursor: pointer; padding: 6px 0; font: inherit; color: var(--ink-950); min-width: 0; }
.se-title small { color: var(--ink-500); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.se-tools { display: flex; gap: 2px; flex-wrap: wrap; } .se-tools .ic { min-width: 32px; height: 32px; border: 1px solid transparent; border-radius: 6px; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-700); padding: 0 6px; }
.se-tools .ic:hover { border-color: var(--ink-200); background: var(--paper-50); } .se-tools .ic.dx:hover { color: var(--red-600); } .se-tools .ic:disabled { opacity: .3; cursor: default; }
.se-body { padding: 4px 14px 14px; border-top: 1px solid var(--ink-100); display: grid; gap: 12px; }
.se-fields { display: grid; gap: 10px; }
.se-list { border: 1px solid var(--ink-100); border-radius: 8px; padding: 10px; display: grid; gap: 10px; } .se-list legend { font-weight: 700; font-size: 13px; padding: 0 4px; }
.se-item { display: grid; gap: 8px; padding: 10px; background: var(--paper-50); border-radius: 8px; }
.se-imgrow { display: flex; gap: 8px; align-items: center; } .se-imgrow img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; } .se-imgrow input { flex: 1; min-width: 0; }
.se-stylebox summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.se-style { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 8px; }
.se-colrow { display: flex; gap: 8px; align-items: center; } .se-colrow input[type=color] { width: 44px; height: 36px; padding: 2px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); }
.se-add { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 14px; } .se-add .field { flex: 1; min-width: 220px; }
.pick-grid { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.pick-tile { display: flex; flex-direction: column; width: 100%; padding: 0; border: 1.5px solid var(--ink-100); border-radius: 8px; overflow: hidden; background: var(--white); cursor: pointer; text-align: left; }
.pick-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .pick-tile span { font-size: 11px; padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-tile:hover, .pick-tile:focus-visible { border-color: var(--gold-500); }
.pb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.pb-preview { position: sticky; top: 12px; overflow: hidden; max-height: calc(100vh - 24px); display: flex; flex-direction: column; }
.pb-frame { overflow: auto; background: var(--paper-50); zoom: .62; }
@media (max-width: 1200px) { .pb-grid { grid-template-columns: 1fr; } .pb-preview { position: static; max-height: none; } }
.pf-admin { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; }
.pf-opts-admin input.num, .row-edit input.num { width: 72px; } .pf-opts-admin td { vertical-align: top; } .pf-opts-admin input.small { margin-top: 4px; font-size: 12px; }
.pf-thumb { width: 72px; height: 54px; border: 1px dashed var(--ink-300); border-radius: 6px; background: var(--paper-50); cursor: pointer; padding: 0; overflow: hidden; font-size: 11px; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.style-sample { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding: 16px; background: var(--paper-50); border-radius: 8px; } .style-sample .btn { pointer-events: none; }
.totals-box { margin-top: 10px; max-width: 520px; }
.link-list { columns: 2; padding-left: 18px; } .link-list li { margin: 4px 0; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; } .form-row .field { flex: 1; min-width: 200px; }
[data-goal][hidden], .ns-follow[hidden] { display: none !important; }
button.text-link { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink-950); cursor: pointer; border-radius: 0; }
.pf-result .tier-fees, .proposal-page .tier-fees { margin: 14px 0 4px; padding: 12px 14px; border-radius: 10px; background: var(--paper-100); border: 1px solid var(--ink-100); }
.pf-result .tier-fees p, .proposal-page .tier-fees p { margin: 0; font-size: 13.5px; line-height: 1.45; } .pf-result .fee-line { font-weight: 700; margin-bottom: 4px !important; }
.pf-res-side h3 { font-size: 1.6rem; margin: 6px 0 8px; }

/* ---- Home page chapters: the shadow behind the text follows each chapter (left, right or bottom) ---- */
@property --hs-dim { syntax: "<number>"; inherits: true; initial-value: .55; }
.hero-scroll { transition: --hs-dim .9s ease; }
.hs-live .hs-shade { background: none; }
.hs-shade > i { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hs-shade .sh-left { background: linear-gradient(90deg, rgba(16,36,29,calc(var(--hs-dim) + .25)) 0%, rgba(16,36,29,var(--hs-dim)) 42%, rgba(16,36,29,calc(var(--hs-dim) * .2)) 78%, rgba(16,36,29,0) 100%); }
.hs-shade .sh-right { background: linear-gradient(270deg, rgba(16,36,29,calc(var(--hs-dim) + .25)) 0%, rgba(16,36,29,var(--hs-dim)) 42%, rgba(16,36,29,calc(var(--hs-dim) * .2)) 78%, rgba(16,36,29,0) 100%); }
.hs-shade .sh-bottom { background: linear-gradient(0deg, rgba(16,36,29,calc(var(--hs-dim) + .3)) 0%, rgba(16,36,29,var(--hs-dim)) 38%, rgba(16,36,29,0) 75%); }
.hero-scroll:not([data-side]) .sh-left, .hero-scroll[data-side="left"] .sh-left, .hero-scroll[data-side="right"] .sh-right, .hero-scroll[data-side="bottom"] .sh-bottom { opacity: 1; }
@media (min-width: 701px) {
  .hs-live .hs-step[data-side="right"] { left: auto; right: clamp(20px, 6vw, 88px); text-align: right; }
  .hs-live .hs-step[data-side="right"] .lede { margin-left: auto; }
  .hs-live .hs-step[data-side="bottom"] { top: auto; bottom: 72px; transform: translateY(24px); max-width: 760px; }
  .hs-live .hs-step[data-side="bottom"].is-active { transform: none; }
}
@media (max-width: 700px) { .hero-scroll[data-side] .sh-left, .hero-scroll[data-side] .sh-right { opacity: 0; } .hero-scroll[data-side] .sh-bottom { opacity: 1; } }
.hs-step .hs-cta .btn { border-color: var(--gold-300); }
.tier-time, .pf-time { font-size: .9rem; color: var(--ink-700, #36584d); margin: 6px 0 10px; }

/* ---- Section types: steps, FAQ, estimator, portfolio, uploaded scroll video ---- */
.bs-steps { list-style: none; counter-reset: bstep; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.bs-steps li { counter-increment: bstep; position: relative; padding: 18px 18px 16px; border: 1px solid var(--line, #ccd4cf); border-top: 3px solid var(--gold-500); border-radius: 6px; background: var(--white, #fffefa); }
.bs-steps li::before { content: counter(bstep, decimal-leading-zero); display: block; font-weight: 700; color: var(--brand-green); font-size: .85rem; letter-spacing: .08em; margin-bottom: 6px; }
.bs-steps h3 { font-size: 1.05rem; margin: 0 0 6px; }
.bs-steps p { margin: 0; font-size: .95rem; }
.bg-green .bs-steps li, .bg-dark .bs-steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); border-top-color: var(--gold-300); }
.bg-green .bs-steps li::before, .bg-dark .bs-steps li::before { color: var(--gold-100); }
.bs-faq { margin-top: 16px; }
.bs-est .est-mini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; margin-top: 16px; }
.est-in { display: grid; gap: 10px; }
.est-area { display: flex; gap: 8px; align-items: center; }
.est-area input { flex: 1; min-width: 0; }
.est-tiers { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.est-tiers li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line, #ccd4cf); border-radius: 6px; background: var(--white, #fffefa); }
.est-tiers li.is-feat { border-color: var(--gold-500); box-shadow: inset 3px 0 0 var(--gold-500); }
.est-tiers li span { font-size: 1.15rem; font-weight: 700; color: var(--brand-green-dark); }
@media (max-width: 760px) { .bs-est .est-mini { grid-template-columns: 1fr; } }
.bs-portfolio { margin-top: 16px; }
.sv { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-950); margin-top: 16px; }
.sv-poster, .sv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-canvas { opacity: 0; transition: opacity .4s; }
.sv-ready .sv-canvas { opacity: 1; }
.sv .concept-tag { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
@media (max-width: 700px) { .sv { aspect-ratio: 3 / 4; } }
/* outline buttons on green backgrounds stay readable */
body .next-step .btn.ghost:not(.danger), body .bg-green .btn.ghost:not(.danger), body .bg-dark .btn.ghost:not(.danger), body .bg-green .bs-btn-secondary, body .bg-dark .bs-btn-secondary { color: var(--white); border-color: var(--gold-300); }
.eq-table th[scope=row] { font-size: .85rem; text-align: left; min-width: 150px; font-weight: 600; }
.eq-abc { display: grid; grid-template-columns: repeat(3, minmax(64px, 1fr)); gap: 4px; }
.eq-abc label { display: flex; align-items: center; gap: 3px; }
.eq-abc span { font-size: .72rem; font-weight: 700; color: var(--brand-green); }
.eq-abc input { width: 100%; min-width: 0; padding: 6px; font-size: .85rem; }
.eq-chart { width: 100%; height: auto; background: var(--white, #fffefa); border: 1px solid #ccd4cf; border-radius: 6px; }
.eq-sample td, .eq-sample th { font-size: .82rem; padding: 6px 8px; }

/* ================= Admin: search, Today, People, Pipeline, Downloads, Connections ================= */
.admin-search-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 12px; padding: 9px 12px; border: 1px solid var(--ink-200); border-radius: 6px; background: var(--white); color: var(--ink-600); font: inherit; font-size: 14px; cursor: pointer; }
.admin-search-btn:hover { border-color: var(--brand-green); color: var(--ink-950); }
.admin-search-btn kbd { font: 600 11px/1 var(--font-sans); padding: 3px 6px; border: 1px solid var(--ink-200); border-radius: 4px; background: var(--paper-50); color: var(--ink-500); }
.search-dlg { width: min(680px, calc(100vw - 24px)); padding: 0; margin-top: 10vh; border: 0; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.search-dlg::backdrop { background: rgba(16,36,29,.45); }
.search-box > .input { width: 100%; max-width: none; border: 0; border-bottom: 1px solid var(--ink-200); border-radius: 0; padding: 16px 18px; font-size: 1.05rem; }
.search-results { max-height: min(60vh, 520px); overflow-y: auto; padding: 6px; }
.search-group { padding: 10px 12px 4px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; }
.search-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 6px; color: var(--ink-950); text-decoration: none; }
.search-item span { font-size: 12.5px; color: var(--ink-600); }
.search-item.is-sel, .search-item:hover { background: var(--paper-50); box-shadow: inset 3px 0 0 var(--brand-green); }
.search-hint { margin: 0; padding: 8px 14px; border-top: 1px solid var(--ink-200); }
.search-hit { outline: 3px solid var(--gold-500) !important; outline-offset: 4px; border-radius: 6px; transition: outline-color 1s; }
.today-totals { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -6px 0 18px; font-size: 14px; color: var(--ink-600); }
.today-totals strong { color: var(--ink-950); margin-left: 4px; }
.today-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; align-items: start; }
.today-card h2 { font-size: 1.1rem; }
.today-list { list-style: none; margin: 0; padding: 0; }
.today-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--ink-200); }
.today-list li:first-child { border-top: 0; }
.today-list li a { flex: 1; min-width: 0; color: var(--ink-950); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.today-list li a:hover strong { text-decoration: underline; }
.today-list li a span { font-size: 12.5px; color: var(--ink-600); }
.today-list li.is-late a span { color: var(--red-600, #b3261e); font-weight: 600; }
.today-list input[type=checkbox] { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand-green); }
.today-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--gold-500); flex: none; }
.today-list time { white-space: nowrap; }
.person-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.person-card dl { margin: 0; }
.act-form { margin-bottom: 14px; }
.act-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-radio span { display: inline-block; padding: 5px 12px; border: 1px solid var(--ink-200); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-600); background: var(--white); }
.chip-radio input:checked + span { border-color: var(--brand-green); background: var(--brand-green); color: var(--white); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.act-list { list-style: none; margin: 0; padding: 0; }
.act-list li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid var(--ink-200); }
.act-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300, #aebbb5); }
.act-list li.k-task::before { background: var(--gold-500); }
.act-list li.k-note::before, .act-list li.k-call::before, .act-list li.k-meeting::before { background: var(--brand-green); }
.act-list li.done { opacity: .6; }
.act-list .small { display: block; }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.pipe-col { background: var(--paper-50); border: 1px solid var(--ink-200); border-radius: 8px; padding: 10px; min-width: 0; }
.pipe-col header h2 { font-size: 1rem; margin: 2px 2px 4px; }
.pipe-col header p { margin: 0 2px 8px; font-size: 12.5px; color: var(--ink-600); }
.pipe-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 70vh; overflow-y: auto; }
.pipe-card { background: var(--white); border: 1px solid var(--ink-200); border-radius: 6px; padding: 9px 10px; font-size: 13px; }
.pipe-card a { color: var(--ink-950); text-decoration: none; }
.pipe-card .small { display: block; color: var(--ink-600); }
.pipe-move { margin-top: 6px; min-height: 32px; padding: 4px 8px; font-size: 12.5px; width: 100%; max-width: none; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.dl-card h2 { font-size: 1.1rem; }
.dl-card .row { gap: 8px; }
.dl-feature { border-color: var(--brand-green); box-shadow: inset 0 3px 0 var(--gold-500); }
.inq-tools { display: grid; gap: 10px; }
.inq-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.inq-meta .input { max-width: 200px; min-height: 36px; }
.msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.msg-list li { padding: 8px 12px; border-radius: 10px; background: var(--paper-50); border: 1px solid var(--ink-200); max-width: 92%; }
.msg-list li p { margin: 2px 0 0; white-space: pre-line; }
.msg-list li.from-team { justify-self: end; background: rgba(36,70,58,.08); border-color: rgba(36,70,58,.25); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 6px 0; border-top: 1px solid var(--ink-200); }
.plain-list li:first-child { border-top: 0; }
.dup-list li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.admin-menu-btn { display: none; }
@media (max-width: 900px) {
  .person-grid { grid-template-columns: 1fr; }
  .admin-menu-btn { display: inline-flex; }
  .admin-nav { display: none !important; }
  body.nav-open .admin-nav { display: block !important; position: fixed; z-index: 60; top: 64px; left: 0; bottom: 0; width: min(320px, 88vw); height: auto; overflow-y: auto; padding: 16px 12px; background: var(--paper-50); border-right: 1px solid var(--ink-200); box-shadow: 10px 0 40px rgba(0,0,0,.2); }
  body.nav-open .admin-nav h4 { display: block; }
  body.nav-open .admin-nav a { white-space: normal; border-bottom: 0; border-left: 2px solid transparent; }
  body.nav-open .admin-nav a.active { border-left-color: var(--coral-600); }
  .app-header .who .name { display: none; }
  .table-wrap { overflow-x: auto; }
}

/* ---- Services drop-down in the top menu ---- */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-btn { border: 0; background: none; padding: 4px 2px; margin-left: -6px; cursor: pointer; color: inherit; font-size: 12px; line-height: 1; }
.nav-drop-menu { display: none; position: absolute; top: calc(100% + 10px); left: -16px; min-width: 270px; z-index: 80; background: var(--white, #fffefa); border: 1px solid var(--ink-200, #ccd4cf);
  border-top: 3px solid var(--gold-500); border-radius: 8px; box-shadow: 0 18px 40px rgba(16,36,29,.14); padding: 8px; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 6px; white-space: nowrap; color: var(--ink-950); text-decoration: none; }
.nav-drop-menu a:hover, .nav-drop-menu a:focus-visible { background: var(--paper-50); }
.nav-drop-menu .nav-drop-all { border-top: 1px solid var(--ink-200, #ccd4cf); margin-top: 4px; padding-top: 10px; font-weight: 600; color: var(--brand-green); }
.nav-drop.open .nav-drop-menu { display: block; }
@media (hover: hover) and (min-width: 961px) { .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; } .nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } }
@media (max-width: 960px) {
  .nav-drop { display: block; }
  .nav-drop-btn { display: none; }
  .nav-drop-menu { display: block; position: static; box-shadow: none; border: 0; border-left: 2px solid var(--gold-300); border-radius: 0; padding: 0 0 0 10px; margin: 0 0 6px 4px; min-width: 0; background: none; }
  .nav-drop-menu a { padding: 7px 10px; font-size: .95rem; white-space: normal; }
}
.svc-cat a { color: inherit; text-decoration: none; } .svc-cat a:hover { text-decoration: underline; }
/* Page text & photos: one card per part of the page */
.cms-sec { margin-bottom: 14px; }
.cms-sec .panel-title h2 { font-size: 1.15rem; }
.cms-secno { display: inline-block; font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-green); border: 1px solid var(--gold-300); border-radius: 4px; padding: 4px 6px; margin-right: 6px; vertical-align: 3px; }
.cms-href { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--ink-600); }
.cms-href input { flex: 1; min-height: 34px; padding: 4px 10px; border: 1px solid var(--ink-200); border-radius: 6px; font: 13px var(--font-mono, monospace); }

/* ---- Editing on the page: bars that don't cover the page, a side panel, "show on the page" highlight ---- */
.preview-bar { top: auto; bottom: 16px; left: auto; right: 16px; transform: none; max-width: min(520px, calc(100vw - 32px)); font-size: 13px; padding: 8px 12px; }
.pe-bar { left: auto; right: 16px; bottom: 70px; }
html:not(.pe-on) .pe-bar { padding: 4px; }
html.pe-on body { padding-bottom: 130px; }
.pe-on .pe-managed > .pe-manage { right: auto; left: 10px; top: 54px; }
.pe-on [data-hero] .pe-sec-ctl, .pe-on .hero-scroll .pe-sec-ctl { position: absolute; top: 10px; right: 10px; z-index: 32; padding: 0; }
.pe-sec-ctl .btn { background: rgba(255,255,255,.95); }
.pe-dialog.pe-side { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); border-radius: 0; overflow-y: auto; box-shadow: -18px 0 50px rgba(16,36,29,.25); }
.pe-dialog.pe-side::backdrop { background: rgba(16,36,29,.12); }
.pe-flash { outline: 3px solid var(--gold-500) !important; outline-offset: 6px; transition: outline-color 1s; }
@media (max-width: 700px) {
  .preview-bar { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .pe-bar { right: 8px; bottom: 64px; }
}
.preview-bar { right: auto; left: 16px; }
.pe-bar { right: 16px; left: auto; bottom: 16px; }
@media (max-width: 1100px) { .pe-bar { bottom: 74px; } }
@media (max-width: 700px) { .preview-bar { left: 8px; right: 8px; } .pe-bar { right: 8px; bottom: 96px; } }

/* ---- Client portal: next step, project stage, messages ---- */
.next-card { display: grid; gap: 4px; margin-bottom: 22px; text-decoration: none; color: inherit; border-left: 4px solid var(--gold-500); background: var(--white, #fffefa); }
.next-card strong { font-family: var(--font-display, inherit); font-size: 1.35rem; font-weight: 500; color: var(--ink-950); }
.next-card .more { margin-top: 6px; font-weight: 700; color: var(--brand-green); }
.next-card:hover { border-color: var(--brand-green); }
.stage-bar { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 12px 0 10px; padding: 0; counter-reset: st; }
.stage-bar li { position: relative; padding-top: 10px; font-size: 11.5px; line-height: 1.25; color: var(--ink-500, #74867f); }
.stage-bar li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--ink-200, #ccd4cf); }
.stage-bar li.done::before { background: var(--brand-green); }
.stage-bar li.now::before { background: var(--gold-500); }
.stage-bar li.now { color: var(--ink-950); font-weight: 700; }
.stage-bar.on-hold li.now::before { background: var(--ink-500, #74867f); }
.model-wait { display: flex; gap: 16px; align-items: center; }
.model-wait .lock-icon { font-size: 1.8rem; color: var(--brand-green); }
.model-wait h3 { margin: 0 0 4px; font-size: 1.15rem; }
.portal-main .tool-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.portal-main .tool-card p { font-size: .9rem; }
@media (max-width: 560px) { .stage-bar li span { font-size: 10px; } }

/* ---- Small fixes from the review ---- */
/* tables in the admin all look the same */
.admin-main table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-main table.table th { text-align: left; padding: 11px 14px; background: var(--paper-100); color: var(--ink-500); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--ink-200); }
.admin-main table.table td { padding: 11px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.admin-main table.table tr:last-child td { border-bottom: 0; }
/* row actions tucked into "More…" */
.row-more { position: relative; display: inline-block; }
.row-more > summary { list-style: none; cursor: pointer; }
.row-more > summary::-webkit-details-marker { display: none; }
.row-more-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; display: grid; gap: 6px; padding: 8px; background: var(--white, #fffefa); border: 1px solid var(--ink-200); border-radius: 8px; box-shadow: 0 10px 28px rgba(16,36,29,.14); }
/* home video: chapter buttons are outlines, so the one orange button stays the only strong one */
.hs-step .hs-cta .btn.outline-light { background: rgba(16,36,29,.35); }
/* readable small label over photos on phones */
@media (max-width: 700px) {
  .hero-home .eyebrow, .page-hero .eyebrow, .bs-hero-bg .eyebrow { color: var(--gold-100); text-shadow: 0 1px 8px rgba(0,0,0,.55); }
  /* Path Finder: two answers per row on phones */
  .pf-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pf-opt img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
  .pf-opt span { font-size: .9rem; }
  /* cookie notice: one short line and a button */
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px; flex-direction: row; align-items: center; }
  .cookie-bar p { font-size: 12px; line-height: 1.35; }
  .cookie-bar .btn { flex-shrink: 0; min-height: 36px; padding: 0 12px; }
}
/* buttons never spill out of their card (pricing packages, cards in narrow columns) */
main .btn { max-width: 100%; white-space: normal; }
.tier .btn, .card.tier .btn:not(.sm) { width: 100%; min-width: 0; }
.tier .btn { justify-content: center; text-align: center; padding-inline: 12px; line-height: 1.2; }

/* ---- card payment window (Stripe embedded checkout) ---- */
dialog.pay-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--paper-50); color: var(--ink-950); box-shadow: var(--shadow-lg); overflow: auto; }
dialog.pay-dialog::backdrop { background: rgba(16,36,29,.5); backdrop-filter: blur(2px); }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 6px; }
.pay-head h2 { font-size: 1.3rem; margin: 0; }
.pay-safe { padding: 0 20px; margin: 0 0 10px; }
.pay-mount { min-height: 380px; padding: 0 8px 12px; background: #fff; }
.pay-mount .loading { padding: 40px 12px; }
.reserve-form { display: grid; gap: 10px; padding: 0 20px 20px; }
.tier .btn + .btn { margin-top: 8px; }

/* ---- booking: month calendar ---- */
.cal { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 22px; align-items: start; }
.cal-head { grid-column: 1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head .btn { min-width: 40px; font-size: 18px; line-height: 1; }
.cal-grid { grid-column: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-600); text-align: center; padding: 4px 0; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 14px; color: var(--ink-400); border: 0; background: none; font: inherit; }
.cal-day.open { color: var(--ink-950); font-weight: 700; background: var(--paper-100); cursor: pointer; border: 1.5px solid var(--ink-200); }
.cal-day.open:hover { border-color: var(--ink-950); }
.cal-day.open[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.cal-day:focus-visible { outline: 2px solid var(--ink-950); outline-offset: 2px; }
.cal-times { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.cal-date { margin: 4px 0 10px; }
.cal-times .slot-times legend { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-600); }
@media (max-width: 720px) { .cal { grid-template-columns: 1fr; } .cal-times { grid-column: 1; grid-row: auto; } }

/* ---- thank-you page ---- */
.ty-booking { display: flex; gap: 20px; align-items: flex-start; }
.ty-check { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-950); color: var(--white); font-size: 24px; font-weight: 700; }
.ty-details h2 { margin: 6px 0 8px; }
.ty-facts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.ty-wait-title { margin: clamp(28px, 4vw, 44px) 0 14px; }
.ty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ty-grid .ty-walk { grid-column: 1 / -1; }
.ty-card { display: flex; flex-direction: column; }
.ty-card h3, .ty-walk h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.ty-card .btn, .ty-card .social-links { margin-top: auto; align-self: flex-start; }
.ty-next { margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 560px) { .ty-booking { flex-direction: column; } }

/* ---- page visibility note (team only sees it) ---- */
.access-bar { position: sticky; top: 0; z-index: 60; padding: 8px 16px; background: var(--ink-950); color: var(--white); font-size: 13px; text-align: center; }
.access-bar a { color: inherit; text-decoration: underline; margin-left: 6px; }
.site-footer li:empty { display: none; }
.section.coming-soon { display: grid; align-items: center; text-align: center; }
.section.coming-soon .hero-ctas { justify-content: center; }
.pick-list { max-height: 340px; overflow: auto; margin-top: 8px; }

/* ---- careers, publications, products ---- */
.job-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.job h2 { margin: 0 0 4px; font-size: 1.4rem; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.item-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.item-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.item-card h2 { font-size: 1.25rem; margin: 0 0 6px; }
.wrap.narrow { max-width: 760px; }
.feature-row { border-top: 1px solid var(--ink-200); padding-top: 12px; margin-top: 12px; }
.feature-row:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.app-row { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 10px 14px; background: var(--white); }
.app-row summary { cursor: pointer; }
.app-body { padding-top: 10px; }
.oauth-buttons { display: grid; gap: 10px; margin-bottom: 14px; }
.oauth-btn { justify-content: center; width: 100%; }
.oauth-or { text-align: center; margin: 6px 0 0; }

/* ---- price equations editor ---- */
.eq-controls { display: grid; grid-template-columns: minmax(200px, 1.2fr) auto minmax(110px, .5fr) minmax(150px, .6fr); gap: 14px; align-items: end; margin: 6px 0 14px; }
.seg { display: inline-flex; border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.seg-btn { border: 0; background: none; padding: 10px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-800); cursor: pointer; white-space: nowrap; }
.seg-btn + .seg-btn { border-left: 1.5px solid var(--ink-200); }
.seg-btn[aria-pressed="true"] { background: var(--ink-950); color: var(--white); }
.seg-btn:focus-visible { outline: 2px solid var(--ink-950); outline-offset: -4px; }
.eq-grid { width: 100%; }
.eq-grid th[scope="row"] { width: 38%; font-weight: 600; }
.eq-grid th[scope="row"] .small { display: block; font-weight: 400; margin-top: 2px; }
.eq-grid td { min-width: 120px; }
.input.num { width: 100%; min-width: 110px; font-variant-numeric: tabular-nums; text-align: right; }
.input.num.bad { border-color: var(--coral-700); }
.eq-copy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; }
.eq-prev-title { font-size: 1rem; margin: 18px 0 8px; }
.row-edit.names-only { grid-template-columns: 1fr auto; }
@media (max-width: 900px) { .eq-controls { grid-template-columns: 1fr 1fr; } .eq-controls .field:nth-child(2) { grid-column: 1 / -1; } }
.status-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.status-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--paper-100); }
.status-list li.todo { background: #fbf1e7; }
.status-list .st-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--ink-950); color: var(--white); }
.status-list li.todo .st-icon { background: var(--coral-700); }
.status-list li > span:nth-child(2) { flex: 1; }
.vp-switch { padding-bottom: 12px; border-bottom: 1px solid var(--ink-200); }

/* Buttons that sit directly in a form keep their own width and line up on the left (they used to stretch in grid forms). */
.form > .btn, .form > button { justify-self: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* On/off switches with a title and a short explanation (Card payments and other settings). */
.switch-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--ink-200); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.switch-row input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-green, var(--ink-950)); }
.switch-row span { display: grid; gap: 2px; }
.switch-row small { color: var(--ink-600); font-size: 13px; }
.steps-list { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.stripe-acct { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--paper-100); margin-bottom: 12px; }
.stripe-acct p { margin: 2px 0 0; word-break: break-word; }
/* Payment confirmation page */
.pc-wrap { max-width: 760px; }
.pc-card { display: flex; gap: 22px; align-items: flex-start; }
.pc-body { flex: 1; min-width: 0; }
.pc-body h2 { margin: 4px 0 6px; }
.ty-check.warn { background: var(--paper-200); color: var(--ink-950); }
.pc-receipt { margin: 18px 0; border-top: 1px solid var(--ink-200); }
.pc-receipt > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ink-200); }
.pc-receipt dt { color: var(--ink-600); font-size: 14px; }
.pc-receipt dd { margin: 0; }
.pc-safe { margin-top: 14px; }
@media (max-width: 560px) { .pc-card { flex-direction: column; } .pc-receipt > div { grid-template-columns: 1fr; gap: 2px; } }
/* Proposal page: a professional document with a summary beside it (stacked on phones, summary first). */
.pr-wrap { max-width: 1120px; }
.pr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.pr-doc { padding: clamp(22px, 4vw, 48px); background: var(--white); }
.pr-head { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--ink-200); }
.pr-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-600); }
.pr-brand { font-weight: 700; color: var(--brand-green, var(--ink-950)); }
.pr-head h1 { font-size: calc(clamp(1.9rem, 3.6vw, 2.6rem) * var(--hscale, 1)); line-height: 1.12; margin: 18px 0 10px; }
.pr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px 22px; margin: 20px 0 0; }
.pr-facts dt { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600); margin-bottom: 3px; }
.pr-facts dd { margin: 0; font-weight: 600; }
.pr-intro { font-size: 1.06rem; line-height: 1.6; margin: 0 0 6px; }
.pr-sec { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--ink-100); }
.pr-head + .pr-sec, .pr-head + .alert + .pr-sec { border-top: 0; margin-top: 0; padding-top: 0; }
.pr-sec > h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.45rem; margin: 0 0 14px; }
.pr-num { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand-green, var(--ink-700)); border: 1.5px solid var(--gold-500, var(--ink-300)); border-radius: 999px; padding: 3px 9px; transform: translateY(-3px); }
.pr-scope h1, .pr-scope h2, .pr-scope h3, .pr-scope h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 18px 0 6px; }
.pr-scope > :first-child { margin-top: 0; }
.pr-scope ul, .pr-scope ol { margin: 0 0 10px; padding-left: 20px; }
.pr-scope li { margin: 4px 0; }
.pr-fee { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 4px 18px 0; }
.pr-fee .fee-table { margin: 0; }
.pr-fee .fee-table th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600); font-weight: 600; padding: 12px 0 8px; border-bottom: 1px solid var(--ink-200); }
.pr-fee .fee-table th.num { text-align: right; }
.pr-fee .fee-table tr.total td { border-bottom: 0; font-size: 1.05rem; }
.pr-dep { display: flex; justify-content: space-between; gap: 12px; margin: 0 -18px; padding: 14px 18px; background: var(--paper-100); border-top: 1px solid var(--ink-200); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; }
.pr-dep strong { white-space: nowrap; color: var(--brand-green, var(--ink-950)); }
.pr-dep small, .pr-sum small { font-weight: 500; color: var(--ink-600); }
.pr-notes { margin-top: 14px; display: grid; gap: 8px; }
.pr-notes p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-700); }
.pr-terms { white-space: pre-wrap; margin: 0 0 10px; line-height: 1.6; }
.proposal-page .accept-form { margin-top: 30px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-sm); background: var(--paper-50); }
.proposal-page .accept-form h2 { margin: 0; font-size: 1.45rem; }
.proposal-page .accept-form .form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pr-side { position: sticky; top: 96px; }
.pr-sum { display: grid; gap: 14px; }
.pr-sum dl { margin: 0; display: grid; }
.pr-sum dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ink-100); font-size: 14.5px; }
.pr-sum dt { color: var(--ink-600); }
.pr-sum dd { margin: 0; font-weight: 600; text-align: right; }
.pr-sum .tot { font-size: 1.1rem; border-bottom: 2px solid var(--ink-950); }
.pr-sum .tot dt { color: var(--ink-950); font-weight: 700; }
.pr-sum .dep { border-bottom: 0; }
.pr-sum .dep dd { color: var(--brand-green, var(--ink-950)); }
.pr-sum .btn { width: 100%; min-width: 0; }
.pr-print { justify-self: center; background: none; cursor: pointer; font: inherit; font-size: 13px; }
@media (max-width: 900px) {
  .pr-layout { grid-template-columns: 1fr; }
  .pr-side { position: static; order: -1; }
}
@media print {
  .site-header, .site-footer, .pr-side, .accept-form, .cookie-banner, [data-cookie], .edit-fab { display: none !important; }
  .pr-layout { display: block; } .pr-doc { box-shadow: none; border: 0; padding: 0; } .section { padding: 0 !important; }
}
/* Usage limits */
.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.usage-meter { border: 1px solid var(--ink-200); border-radius: var(--radius-sm); padding: 14px; background: var(--white); display: grid; gap: 8px; }
.usage-meter.stopped { border-color: var(--red-600); }
.usage-meter p { margin: 0; }
.um-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.um-bar { position: relative; height: 10px; border-radius: 99px; background: var(--paper-200); overflow: hidden; }
.um-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--brand-green, #2d4a3e); }
.um-bar span.warn { background: #c98a2b; } .um-bar span.bad { background: var(--red-600); }
.um-bar i { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(0,0,0,.25); }
.um-limit { max-width: 220px; }
