/* Theme trial: sage / forest / lemongrass, mono labels, cut corners, motion.
   Loaded last on every page; remove the one <link> to switch it off. */
:root {
  --page: #ffffff; --paper: #F4FAED; --ink: #090F05; --text-2: #2B3523; --muted: #4C5743;
  --hair: #D3E0C4; --edge: #E1EBD5; --action: #18280E; --on-action: #ffffff;
  --inverse: #18280E; --on-inverse: #ffffff; --walk: #4A5B38; --walk-on-dark: #B2EB76;
  --lemon: #B2EB76; --olive: #4A5B38; --forest: #18280E;
  --display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --read: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --band-shadow: none;
  --lift: 0 0 0 1px var(--hair), 0 18px 40px -30px rgba(9,15,5,.35);
  --lift-high: 0 0 0 1px var(--hair), 0 30px 60px -34px rgba(9,15,5,.4);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --cut: polygon(17px 0, calc(100% - 17px) 0, 100% 17px, 100% calc(100% - 17px), calc(100% - 17px) 100%, 17px 100%, 0 calc(100% - 17px), 0 17px);
}
body { font-size: 1.125rem; line-height: 1.45; }
::selection { background: var(--lemon); color: var(--ink); }
h1 { font-weight: 560; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-weight: 560; letter-spacing: -0.03em; }
h3 { font-weight: 560; letter-spacing: -0.015em; }
.lede, .part-intro { color: var(--text-2); }
.band { box-shadow: none; border-top: 1px solid var(--hair); }

/* mono labels: [ LIKE THIS ] */
.kicker, .feature-text .kicker, .r-kicker, .preview-k, .verdict .k, .rec-label, .plan .rec-label, .way .eff, .compare-sub, .steps-n, .score-key, .caption, .platforms p, .r-meta, .foot-base, .sheet-end {
  font-family: var(--mono) !important; font-size: 0.75rem !important; font-weight: 500 !important; letter-spacing: .11em; text-transform: uppercase;
}
.kicker, .feature-text .kicker, .r-kicker, .verdict .k { color: var(--olive); }
.kicker::before, .feature-text .kicker::before, .r-kicker::before, .verdict .k::before { content: "[ "; }
.kicker::after, .feature-text .kicker::after, .r-kicker::after, .verdict .k::after { content: " ]"; }
.verdict .k { color: var(--lemon) !important; }
.r-meta b { color: var(--ink); font-weight: 600; }

/* buttons: mono, 6px radius, press feedback */
.btn { font-family: var(--mono); font-size: 0.9375rem; font-weight: 500; border-radius: 6px; position: relative; isolation: isolate; background: transparent !important;
  transition: color 250ms var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transition: transform 250ms var(--ease), background-color 250ms var(--ease); }
.btn:hover::before { transform: scale(0.98); }
.btn:active::before { transform: scale(0.95); }
.btn-ink { color: var(--on-action); } .btn-ink::before { background: var(--forest); } .btn-ink:hover { color: var(--lemon); }
.btn-line { color: var(--ink); box-shadow: none; } .btn-line::before { box-shadow: inset 0 0 0 1.5px var(--forest); background: transparent; } .btn-line:hover::before { background: var(--paper); }
.btn-paper { color: var(--ink) !important; } .btn-paper::before { background: var(--lemon); } .btn-paper:hover::before { background: #c4f290; }
.btn-line-inverse { box-shadow: none; } .btn-line-inverse::before { box-shadow: inset 0 0 0 1.5px var(--on-inverse); } .btn-line-inverse:hover::before { background: rgba(255,255,255,.08); }
.check-row { box-shadow: 0 0 0 1.5px var(--forest); border-radius: 8px; overflow: hidden; }
.check-row .btn { border-radius: 0; }
.text-link::before { content: "▸ "; }

/* hero: sage panel with cut corners */
.hero { box-shadow: none; background: var(--paper); margin: 0 32px; clip-path: var(--cut); }
.site-head, .parts-bar { background: #fff; }
.brand { font-family: var(--display); }

/* portraits: round, no tile */
img[src$=".png"][src*="/assets/"] { border-radius: 50%; background: none !important; object-fit: cover; aspect-ratio: 1 / 1; }

/* grades: A is lemongrass, others outlined */
.pgrade, .grade-big { box-shadow: inset 0 0 0 1.5px var(--forest) !important; border-radius: 6px; font-family: var(--display); }
.pgrade.a, .grade-big.a, .preview-grade { background: var(--lemon) !important; color: var(--ink) !important; box-shadow: none !important; }
.preview-grade { border-radius: 8px; }
.badge { background: var(--lemon) !important; color: var(--ink) !important; font-family: var(--mono) !important; font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; }
.preview-tag { color: var(--olive) !important; box-shadow: inset 0 0 0 1px var(--olive) !important; font-family: var(--mono) !important; font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; }

/* cards */
.person, .r-person, .plan, .visit, .way, .keep > div, .serves, .compare, .wire2, .browser { border-radius: 8px; overflow: hidden; }
.wire { border-radius: 8px; }
.person.top, .r-person.top, .visit.top, .plan.rec { box-shadow: 0 0 0 2px var(--forest), 0 30px 54px -30px rgba(9,15,5,.45) !important; }
.plan.rec::before { background: var(--lemon); }
.visit-side, .fix, .gap-note, .r-fiction, .compare thead th, .compare-borrow { background: var(--paper) !important; }
.quote { border-left-color: var(--lemon) !important; border-left-width: 4px !important; }
.mark.yes svg { background: var(--forest); border-radius: 3px; }
.mlist .sev.bug { background: var(--forest) !important; color: var(--lemon) !important; }
.steps .num { border-radius: 8px; background: var(--forest); color: var(--lemon); font-family: var(--mono); }
.steps::before { border-top-style: dashed; border-color: var(--olive); }
.parts-nav a { font-family: var(--mono); font-size: .8125rem !important; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; transition: box-shadow 250ms var(--ease), background-color 250ms var(--ease); }
.parts-nav a[aria-current="true"] { background: var(--forest); color: var(--lemon); }

/* verdict: forest band, lemongrass figures */
.verdict { background: var(--forest) !important; border-radius: 8px; }
.verdict p { color: #E3ECD8 !important; font-family: var(--read) !important; }
.verdict .counts { color: #CBD8BC !important; border-color: #33461f !important; }
.verdict .counts b, .figures dd { color: var(--lemon); font-family: var(--display); font-variant-numeric: tabular-nums; }
.figures dd { color: var(--ink); }

/* report page: sheet on a sage desk */
main:has(> .sheet) { background: var(--paper) !important; }
.sheet { border-radius: 4px; box-shadow: 0 0 0 1px var(--hair), 0 2px 4px rgba(9,15,5,.05), 0 24px 50px -20px rgba(9,15,5,.22), 0 60px 100px -40px rgba(9,15,5,.3) !important; }
.sheet .band { border-top-color: var(--hair); }
.r-person .pfoot { background: var(--paper); }

/* closing band */
.closing { background: var(--forest); }
.closing h2 span:last-child { color: var(--lemon); }

/* ---------- motion (only when JS is on and motion is welcome) ---------- */
.motion .reveal { opacity: 0; transform: translateY(40px); transition: opacity 600ms var(--ease), transform 800ms cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .hero h1 span, .motion .r-hero h1 span { opacity: 0; transform: translateY(24px); animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.motion .hero h1 span:nth-child(2), .motion .r-hero h1 span:nth-child(2) { animation-delay: 120ms; }
.motion .hero h1 span:nth-child(3) { animation-delay: 240ms; }
.hero h1 { font-size: clamp(2.25rem, 3.15vw, 2.875rem); }
@media (max-width: 480px) { .hero h1 { font-size: 7.6vw; } }
.hero h1 .h1-agents { color: var(--olive); }
@keyframes rise { to { opacity: 1; transform: none; } }
.lift-hover { transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.lift-hover:hover { transform: translateY(-4px); }
.motion .pgrade, .motion .grade-big { transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.motion .reveal:not(.in) .pgrade, .motion .reveal:not(.in) .grade-big { transform: scale(.6); }
.quote { transition: border-left-color 300ms var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .motion .reveal, .motion .hero h1 span, .motion .r-hero h1 span { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .btn::before, .lift-hover { transition: none !important; }
  .lift-hover:hover { transform: none; }
}

@media print { .motion .reveal, .motion .hero h1 span, .motion .r-hero h1 span { opacity: 1 !important; transform: none !important; animation: none !important; } .hero { clip-path: none; } }

.btn, .nav a, .head-links a { white-space: nowrap; }
@media (max-width: 1100px) { .nav { gap: 22px; } .nav a:not(.btn) { font-size: 1rem; } }

/* AI agents chapter: forest band */
.agents { background: var(--forest); color: #E3ECD8; padding: 104px 0 96px; }
.agents .kicker { color: var(--lemon) !important; }
.agents h2 { color: #fff; font-size: 3rem; }
.agents h2 span:last-child { color: var(--lemon); }
.agents-top { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.agents-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.agents-lede { margin: 0; font-size: 1.25rem; line-height: 1.5; color: #D5E1C8; max-width: 40ch; }
.agents-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.agent-log { flex: 1 1 440px; min-width: 0; margin: 0; background: #fff; color: var(--ink); border-radius: 10px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); font-family: var(--display); position: relative; }
.agent-log::before, .agent-log::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--lemon); }
.agent-log::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.agent-log::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
.agent-log-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.agent-log-head img { width: 56px; height: 56px; }
.agent-log-head div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.agent-log-k { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.agent-log-head strong { font-size: 1.25rem; font-weight: 560; }
.agent-log ol { list-style: none; margin: 0; padding: 0; }
.agent-log li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 1rem; line-height: 1.35; }
.agent-log .st { font-family: var(--mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; text-align: center; padding: 4px 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--forest); }
.agent-log li.ok .st { background: var(--lemon); box-shadow: none; }
.agent-log figcaption { margin-top: 14px; font-size: .9375rem; line-height: 1.45; color: var(--text-2); }
.agent-steps { list-style: none; margin: 72px 0 0; padding: 32px 0 0; border-top: 1px dashed #3d5228; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.agent-steps li { display: flex; flex-direction: column; gap: 12px; }
.agent-n { font-family: var(--mono); font-size: .875rem; color: var(--lemon); letter-spacing: .1em; }
.agent-steps h3 { font-size: 1.5rem; color: #fff; line-height: 1.2; }
.agent-steps p { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: #CBD8BC; }
.agents a:focus-visible { outline-color: var(--lemon); }
@media (max-width: 860px) { .agent-steps { grid-template-columns: 1fr; gap: 28px; } .agents h2 { font-size: 2.25rem; } .agents { padding: 72px 0; } }

/* hero preview: the AI agent row */
.preview-agent { background: linear-gradient(to right, rgba(178,235,118,.18), transparent 70%); margin: 0 -10px; padding-left: 10px !important; padding-right: 10px !important; }
.newpill { font-style: normal; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); border-radius: 3px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }

/* persona stack: four cards, offset, one in front */
.people.stack { display: block !important; position: relative; height: 430px; width: 100%; max-width: 520px; }
.people.stack .person { position: absolute; left: 0; top: 108px; width: min(340px, 80%); height: 290px; margin: 0 !important; background: #fff;
  transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 750ms var(--ease), filter 750ms var(--ease); }
.people.stack .person .want { font-size: 1.0625rem; }
.people.stack .person[data-depth="0"] { transform: translate(0, 0); z-index: 4; box-shadow: 0 0 0 1px var(--hair), 0 34px 60px -28px rgba(9,15,5,.45); }
.people.stack .person[data-depth="1"] { transform: translate(40px, -36px) scale(.97); z-index: 3; filter: saturate(.85); }
.people.stack .person[data-depth="2"] { transform: translate(80px, -72px) scale(.94); z-index: 2; filter: saturate(.7); }
.people.stack .person[data-depth="3"] { transform: translate(120px, -108px) scale(.91); z-index: 1; filter: saturate(.55); }
.people.stack .person.top[data-depth="0"] { box-shadow: 0 0 0 2px var(--forest), 0 34px 60px -28px rgba(9,15,5,.45) !important; }
.people.stack .agent-card[data-depth="0"] { box-shadow: 0 0 0 2px var(--olive), 0 34px 60px -28px rgba(9,15,5,.45) !important; }
.people.stack .person.leaving { animation: card-leave 900ms cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes card-leave {
  0%   { transform: translate(0, 0); z-index: 5; }
  45%  { transform: translate(-90px, 70px) rotate(-7deg); z-index: 5; }
  55%  { transform: translate(-90px, 70px) rotate(-7deg); z-index: 0; }
  100% { transform: translate(120px, -108px) scale(.91); z-index: 1; }
}
.stack-dots { display: flex; gap: 8px; justify-content: flex-start; margin-top: 14px; }
@media (max-width: 860px) {
  .people.stack { height: 380px; max-width: 420px; }
  .people.stack .person { top: 66px; width: 84%; height: 290px; }
  .people.stack .person[data-depth="1"] { transform: translate(20px, -22px) scale(.97); }
  .people.stack .person[data-depth="2"] { transform: translate(40px, -44px) scale(.94); }
  .people.stack .person[data-depth="3"] { transform: translate(60px, -66px) scale(.91); }
  @keyframes card-leave { 0% { transform: none; z-index: 5; } 45%, 55% { transform: translate(-40px, 50px) rotate(-6deg); } 55% { z-index: 0; } 100% { transform: translate(60px, -66px) scale(.91); z-index: 1; } }
}
@media (prefers-reduced-motion: reduce) { .people.stack .person { transition: none !important; animation: none !important; } }

/* AI agents chapter: light, not dark */
.agents { background: var(--paper); color: var(--ink); border-top: 1px solid var(--hair); }
.agents .kicker { color: var(--olive) !important; }
.agents h2 { color: var(--ink); }
.agents h2 span:last-child { color: var(--olive); }
.agents-lede { color: var(--text-2); }
.agent-log { box-shadow: 0 0 0 1px var(--hair), 0 36px 70px -36px rgba(9,15,5,.4); }
.agent-log::before, .agent-log::after { border-color: var(--olive); }
.agent-steps { border-top-color: #A9BE93; }
.agent-n { color: var(--olive); }
.agent-steps h3 { color: var(--ink); }
.agent-steps p { color: var(--text-2); }
.agents a:focus-visible { outline-color: var(--olive); }
.agents .btn-paper { color: var(--on-action) !important; } .agents .btn-paper::before { background: var(--forest); } .agents .btn-paper:hover { color: var(--lemon) !important; }
.agents .btn-line-inverse { color: var(--ink); } .agents .btn-line-inverse::before { box-shadow: inset 0 0 0 1.5px var(--forest); } .agents .btn-line-inverse:hover::before { background: #fff; }

.people .preview-tag { align-self: flex-start; padding: 2px 8px; }

/* rotating headline: customers, then those who send an AI assistant */
.hero h1.rot .rot-a > span, .hero h1.rot .rot-b > span { display: block; white-space: nowrap; }
.hero h1.rot .rot-b { display: block; color: var(--olive); }
.motion .hero h1.rot span { animation: none; opacity: 1; transform: none; }
.motion .hero h1.rot { display: grid; }
.motion .hero h1.rot .rot-a, .motion .hero h1.rot .rot-b { grid-area: 1 / 1; transition: opacity 500ms var(--ease), transform 800ms cubic-bezier(0.16, 1, 0.3, 1); }
.motion .hero h1.rot .rot-b { opacity: 0; transform: translateY(36px); }
.motion .hero h1.rot.show-b .rot-a { opacity: 0; transform: translateY(-36px); }
.motion .hero h1.rot.show-b .rot-b { opacity: 1; transform: none; }
.motion .hero h1.rot .rot-a > span { opacity: 0; transform: translateY(24px); animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.motion .hero h1.rot .rot-a > span + span { animation-delay: 120ms; }
.hero h1 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
@media (max-width: 480px) { .hero h1 { font-size: 8.4vw; } }

/* grade chips under the stack: all four grades, always visible */
.stack-wrap { flex: 1 1 560px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.stack-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 560px; }
.stack-legend button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #fff; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--display); font-size: .9375rem; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left;
  transition: box-shadow 250ms var(--ease), background-color 250ms var(--ease); }
.stack-legend button:hover { background: var(--paper); }
.stack-legend button[aria-pressed="true"] { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--forest); }
.stack-legend img { flex: none; width: 28px; height: 28px; }
.stack-legend span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack-legend .pgrade { flex: none; width: 28px; height: 28px; font-size: .9375rem; border-radius: 5px; }
@media (max-width: 560px) { .stack-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stack-legend { max-width: 520px; gap: 10px; }
.stack-legend button { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "img . grade" "name name name"; align-items: center; row-gap: 6px; padding: 10px; min-height: 0; }
.stack-legend img { grid-area: img; }
.stack-legend .pgrade { grid-area: grade; }
.stack-legend span { grid-area: name; font-size: .9375rem; overflow: visible; }
.stack-legend button[aria-pressed="true"] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--forest); }
.stack-legend button[aria-pressed="true"] span { font-weight: 600; }

/* static headline (no JS / reduced motion): one sentence */
.rot-comma { font-style: normal; }
.motion .rot-comma { display: none; }
html:not(.motion) .hero h1.rot .rot-b > span:first-child::first-letter { text-transform: lowercase; }

/* failing grade: red */
:root { --fail: #C62F24; }
.pgrade.f, .grade-big.f { background: var(--fail) !important; color: #fff !important; box-shadow: none !important; }
.people.stack .agent-card[data-depth="0"] { box-shadow: 0 0 0 2px var(--fail), 0 34px 60px -28px rgba(9,15,5,.45) !important; }

/* ---- no animation for now (design review) ---- */
.btn::before, .btn, .stack-legend button, .parts-nav a, .quote { transition: none !important; animation: none !important; }
.btn:hover::before, .btn:active::before { transform: none !important; }
.people.stack .person { filter: none !important; }

/* AI agent mark: violet with sparkles (no portrait) */
img[src$="/agent-ai.svg"] { border-radius: 50%; background: none !important; aspect-ratio: 1 / 1; }

/* failing grade: a red rubber stamp */
.pgrade.f, .grade-big.f { transform: rotate(-6deg); box-shadow: inset 0 0 0 2px #C62F24, inset 0 0 0 4px rgba(255,255,255,.55) !important; font-weight: 700 !important; }

/* colour redesign mockups (same treatment as the sample report) */

  .mk { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; color: #1F2433; background: #FAF6EE; box-shadow: 0 0 0 1px #d9d2c3, 0 18px 40px -22px rgba(31,36,51,.45); overflow: hidden; }
  .mk .serif { font-family: "Fraunces", Georgia, serif; }
  .mk-info { background: #1F2433; color: #EDE6D6; font-size: 10px; padding: 6px 22px; display: flex; gap: 18px; }
  .mk-nav { display: flex; justify-content: space-between; align-items: center; padding: 11px 22px; border-bottom: 1px solid #E6DECD; }
  .mk-logo { font-family: "Fraunces", Georgia, serif; font-size: 17px; font-weight: 600; }
  .mk-links { display: flex; gap: 16px; font-size: 10.5px; font-weight: 500; }
  .mk-links .on { color: #A2462B; box-shadow: inset 0 -2px 0 #A2462B; padding-bottom: 3px; }
  .mk-hero { background: #F1EADB; padding: 24px 22px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: center; }
  .mk h4.big { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 25px; line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
  .mk p { margin: 0; }
  .mk-lede { font-size: 11.5px; line-height: 1.5; margin-top: 8px !important; color: #2c3142; }
  .mk-small { font-size: 10px; color: #5b5f6b; line-height: 1.45; }
  /* A blank the owner fills in, shown as a dashed field rather than bracket text. */
  .mk-fill { font-family: inherit; font-size: inherit; font-style: italic; font-weight: 500; color: #5b3a2a; background: #fff6e8; border-bottom: 1.5px dashed #a2462b; padding: 0 4px; white-space: nowrap; }
  .mk-btns { display: flex; gap: 8px; margin-top: 12px; }
  .mk-btn { font-size: 10.5px; font-weight: 600; padding: 7px 12px; border-radius: 4px; background: #A2462B; color: #fff; }
  .mk-btn.ghost { background: #fff; color: #1F2433; box-shadow: inset 0 0 0 1px #1F2433; }
  .mk-photo { height: 132px; border-radius: 8px; background: #DDD3BF; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #3f3a2c; text-align: center; padding: 10px; }
  .mk-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 10.5px; font-weight: 600; color: #1F2433; background: #fff; border-radius: 999px; padding: 4px 10px; box-shadow: inset 0 0 0 1px #E0D6C2; }
  .mk-chip svg { color: #A2462B; width: 14px; height: 14px; }
  .mk-sec { padding: 18px 22px; }
  .mk-sec.alt { background: #F1EADB; }
  .mk h5 { margin: 0 0 3px; font-family: "Fraunces", Georgia, serif; font-size: 16px; font-weight: 600; }
  .mk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
  .mk-card { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px #E6DECD; padding: 10px; display: flex; flex-direction: column; gap: 5px; }
  .mk-card .ph { height: 58px; border-radius: 5px; background: #EFE7D6; font-size: 9.5px; color: #4f4939; display: flex; align-items: center; justify-content: center; }
  .mk-card b { font-family: "Fraunces", Georgia, serif; font-size: 12px; font-weight: 600; }
  .mk-card .price { font-size: 10.5px; color: #2c3142; }
  .mk-card .mk-btn { align-self: flex-start; padding: 5px 10px; font-size: 10px; }
  .mk-card .mk-btn.ghost { box-shadow: inset 0 0 0 1px #A2462B; color: #A2462B; }
  .mk-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mk-strip div { display: flex; gap: 8px; align-items: flex-start; font-size: 10.5px; line-height: 1.4; }
  .mk-strip svg { flex: none; color: #A2462B; margin-top: 1px; }
  .mk-strip b { display: block; font-size: 11px; }
  .mk-story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
  .mk-hours { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px #E6DECD; padding: 10px 12px; font-size: 10.5px; line-height: 1.55; }
  .mk-hours b { font-size: 11px; display: block; margin-bottom: 2px; }
  .mk-link { font-size: 10.5px; font-weight: 600; color: #A2462B; text-decoration: underline; text-underline-offset: 2px; }
  .mk-foot { background: #1F2433; color: #EDE6D6; padding: 14px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 10px; line-height: 1.5; }
  .mk-foot b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 11.5px; color: #fff; margin-bottom: 2px; }
  .mk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  .mk-tile { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px #E6DECD; padding: 10px; font-size: 10.5px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
  .mk-tile svg { color: #A2462B; }
  .mk-form { background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px #E6DECD; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin-top: 10px; }
  .mk-field { display: flex; flex-direction: column; gap: 3px; font-size: 9.5px; font-weight: 600; color: #3b3f4c; }
  .mk-field span { height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1px #CFC6B3; background: #FDFBF6; }
  .mk-field.wide { grid-column: 1 / -1; } .mk-field.wide span { height: 38px; }
  .mk-formfoot { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
  .mk-formfoot .mk-small { flex: 1; }
  .mk-price { margin-top: 10px; display: inline-flex; align-items: baseline; gap: 6px; background: #fff; border-radius: 8px; padding: 8px 12px; box-shadow: inset 0 0 0 1px #E0D6C2; font-size: 10.5px; }
  .mk-price b { font-family: "Fraunces", Georgia, serif; font-size: 17px; color: #A2462B; }
  .newtag { display: inline-block; vertical-align: middle; margin-left: 6px; font-family: var(--display); font-size: 9px; font-weight: 600; letter-spacing: .02em; color: #fff; background: #0f766e; padding: 1px 5px; border-radius: 2px; }
  .mk-new { box-shadow: 0 0 0 2px #0f766e !important; }
  .mk-caption { display: flex; gap: 10px; align-items: flex-start; font-family: var(--display); font-size: 12px; line-height: 1.45; color: var(--text-2); }
  .mk-caption img { flex: none; width: 30px !important; height: 30px !important; background: var(--paper); }
  .mk-caption b { color: var(--ink); }
  .mk-key { font-family: var(--display); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  .mk-hero { padding: 16px 20px; gap: 16px; }
  .mk-photo { height: 104px; }
  .mk-sec { padding: 10px 20px; }
  .mk-cards { margin-top: 8px; } .mk-card { padding: 8px; gap: 4px; } .mk-card .ph { height: 40px; }
  .mk-tiles { margin-top: 8px; } .mk-tile { padding: 8px; flex-direction: row; align-items: center; gap: 8px; }
  .mk-form { padding: 10px 12px; gap: 6px 10px; margin-top: 8px; } .mk-field span { height: 18px; } .mk-field.wide span { height: 26px; }
  .mk-foot { padding: 10px 20px; }
  .mk-chip, .mk-price { margin-top: 8px; } .mk-btns { margin-top: 10px; }
  .mk h4.big { font-size: 23px; }

.mk-wrap { position: relative; }
.mk-wrap .mk { border-radius: 10px; }
.mk-wrap .pin { position: absolute; z-index: 2; font-family: var(--display); }
.mk-wrap .pin img { border-radius: 50%; }
.mkp1 { top: 228px; right: -14px; box-shadow: 0 0 0 2px var(--lemon); }
.mkp2 { top: 456px; right: -14px; }
.mkp3 { bottom: -34px; right: 30px; }
.mk-wrap { margin-bottom: 26px; }
.mk-wrap .mk-price b { white-space: nowrap; }
@media (max-width: 480px) { .mk-wrap .pin { position: static; display: inline-flex; margin: 8px 6px 0 0; } }

/* card stack: the one animated section */
.people.stack .person { transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 750ms var(--ease); }
.pgrade.f.stamp { animation: stamp 520ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes stamp {
  0%   { transform: scale(2.4) rotate(-16deg); opacity: 0; }
  55%  { transform: scale(0.9) rotate(-5deg); opacity: 1; }
  75%  { transform: scale(1.06) rotate(-7deg); }
  100% { transform: rotate(-6deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .people.stack .person, .pgrade.f.stamp { transition: none !important; animation: none !important; } }
@media (max-width: 560px) {
  .mk-links span:not(:last-child) { display: none; }
  .mk-info { flex-wrap: wrap; gap: 2px 12px; }
  .mk-hero, .mk-story, .mk-foot, .mk-strip { grid-template-columns: 1fr !important; }
  .mk-cards, .mk-tiles, .mk-form { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .mk-photo { height: 90px; }
}

/* ---- Ask us: contact form ---- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact-lede { font-size: 1.1875rem; color: var(--muted); margin: 16px 0 0; max-width: 32ch; }
.contact-form { display: flex; flex-direction: column; gap: 8px; font-family: var(--display); }
.contact-form label { font-weight: 600; font-size: 1rem; margin-top: 8px; }
.contact-form input, .contact-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--page); border: 0; border-radius: 8px; box-shadow: 0 0 0 1.5px var(--forest, #1c1b18); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { align-self: flex-start; margin-top: 14px; min-height: 52px; }
.contact-status { min-height: 1.5em; margin: 6px 0 0; font-size: 1rem; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .contact-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* ---- hero facts and plan note ---- */
.hero .facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--display); font-size: 0.95rem; font-weight: 600; }
.hero .facts li { padding: 6px 12px; border-radius: 999px; background: var(--paper, #f1f5ec); box-shadow: inset 0 0 0 1px var(--forest, #1c1b18); }
.plan-note { margin: 8px 0 0; font-size: 0.95rem; color: var(--muted); font-family: var(--display); }
@media (max-width: 480px) { .hero h1.rot .rot-a > span, .hero h1.rot .rot-b > span { white-space: normal; } }
