/* ============================================================
   MCH · mcheard.co.uk · styles v4.0 (October 2026)
   Oxblood & stone. DM Serif Display + Geist. Grain overlay.
   ============================================================ */

:root {
  --ox: #4A1C22;
  --ox-deep: #2B0F13;
  --ox-soft: #6B3038;
  --stone: #A79E92;
  --stone-light: #CFC7BB;
  --stone-deep: #6B6357;
  --sand: #E6DAC4;
  --bone: #F3EEE6;
  --bone-deep: #EAE3D8;
  --ink: #17130F;
  --ink-soft: rgba(23, 19, 15, 0.68);
  --light: #F3EEE6;
  --surface-hover: #FFFFFF;
  --nav-bg: rgba(243, 238, 230, 0.86);
  --rule: var(--stone-light);
  --em: var(--ox);
  --grain-blend: multiply;
  --grain-opacity: 0.16;
  color-scheme: light;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* tokens the consent UI reads (fallbacks live in cookie-banner.css) */
  --paper: var(--ox);
  --accent: var(--sand);
  --accent-soft: var(--sand);
  --accent-deep: var(--sand);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ox); outline-offset: 3px;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em, i { font-style: italic; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone-deep);
}
.on-dark .eyebrow { color: var(--stone); }

.h-display { font-size: clamp(42px, 6.2vw, 84px); line-height: 0.98; }
.h-section { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; max-width: 16ch; }
.h-card { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.h-display em, .h-section em { color: var(--em); }
.on-dark .h-display em, .on-dark .h-section em { color: var(--sand); }

.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 58ch; }
.on-dark .lede { color: var(--stone-light); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bone); }
.btn--primary { background: var(--ox); color: var(--sand); border-color: var(--ox); }
.btn--primary:hover { background: var(--ox-deep); border-color: var(--ox-deep); color: var(--sand); }
.on-dark .btn { color: var(--sand); }
.on-dark .btn:hover { background: var(--sand); color: var(--ox); }
.on-dark .btn--primary { background: var(--sand); color: var(--ox); border-color: var(--sand); }
.on-dark .btn--primary:hover { background: var(--light); border-color: var(--light); }
.btn svg { width: 14px; height: 14px; }

/* ============================================================
   NAV
   ============================================================ */
.top {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.brand span b { color: var(--em); font-weight: 400; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--em); }
.nav-links .nav-cta { color: var(--em); border-bottom: 1px solid var(--em); padding-bottom: 3px; }
@media (max-width: 860px) { .hide-sm { display: none; } .nav-links { gap: 18px; } .nav-links .long { display: none; } }
@media (max-width: 520px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero .meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--em); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--em); opacity: 0.5; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.hero h1 { max-width: 19ch; }
.hero .lede { margin-top: 34px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
.hero .scroll-hint { margin-top: clamp(56px, 8vw, 110px); display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-deep); font-weight: 500; }
.hero .scroll-hint::before { content: ""; width: 56px; height: 1px; background: var(--stone); }

/* big ghost wordmark */
.hero .ghost {
  position: absolute; right: -2vw; bottom: -6vw;
  font-family: var(--serif); font-size: clamp(220px, 38vw, 560px); line-height: 0.8;
  color: var(--ox); opacity: 0.045; user-select: none; pointer-events: none;
  letter-spacing: -0.03em;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { background: var(--ox); color: var(--sand); }
.stats .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0; align-items: center; }
.stats .big { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.stats .lbl { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--stone); margin-bottom: 10px; }
.stats .txt { font-size: 15px; color: var(--stone-light); line-height: 1.45; }
@media (max-width: 860px) { .stats .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   BLOCKS
   ============================================================ */
.block { padding: clamp(72px, 10vw, 130px) 0; }
.block + .block { border-top: 1px solid var(--rule); }
.block-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.block-head .eyebrow { margin-bottom: 20px; }
.block-head .lede { font-size: 17px; }
@media (max-width: 860px) { .block-head { grid-template-columns: 1fr; gap: 24px; } }

.on-dark { background: var(--ox); color: var(--light); }
.on-dark.block + .block, .block + .on-dark.block { border-top: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.service { background: var(--bone); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 18px; position: relative; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.service:hover { background: var(--surface-hover); transform: translateY(-2px); }
.service .num { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--stone-deep); }
.service .num i { font-style: normal; color: var(--em); }
.service h3 em { color: var(--em); }
.service p { color: var(--ink-soft); font-size: 16px; }
.service ul { display: grid; gap: 8px; margin-top: 6px; }
.service li { font-size: 14.5px; color: var(--ink); padding-left: 22px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--em); }
.service .foot { margin-top: auto; padding-top: 18px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--stone-deep); display: flex; justify-content: space-between; align-items: center; }
.service .foot a { color: var(--em); border-bottom: 1px solid var(--em); padding-bottom: 2px; }
.service--feature { grid-column: span 2; background: var(--ox); color: var(--light); }
.service--feature:hover { background: var(--ox-deep); }
.service--feature .num, .service--feature .foot { color: var(--stone); }
.service--feature .num i, .service--feature h3 em, .service--feature .foot a { color: var(--sand); border-color: var(--sand); }
.service--feature p { color: var(--stone-light); }
.service--feature li { color: var(--light); }
.service--feature li::before { background: var(--sand); }
.service--feature .inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.service a.inline { border-bottom: 1px solid var(--stone); color: var(--ink); transition: border-color 0.2s; }
.service a.inline:hover { border-color: var(--em); }
.service--feature a.inline { border-bottom: 1px solid var(--stone-light); color: var(--light); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .service--feature { grid-column: span 1; } .service--feature .inner { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   APPROACH
   ============================================================ */
.approach-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.approach-copy p + p { margin-top: 20px; }
.approach-copy p { color: var(--stone-light); font-size: 17px; }
.approach-copy p strong { color: var(--light); font-weight: 400; }
.principles { display: grid; gap: 1px; background: var(--ox-soft); border: 1px solid var(--ox-soft); }
.principle { background: var(--ox); padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.principle .k { font-family: var(--serif); font-size: 26px; color: var(--sand); line-height: 1; }
.principle h4 { font-size: 22px; margin-bottom: 6px; }
.principle p { font-size: 15px; color: var(--stone-light); }
@media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TRACK RECORD
   ============================================================ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.case { background: var(--bone); padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 14px; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.case:hover { background: var(--surface-hover); transform: translateY(-2px); }
.case .tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--stone-deep); }
.case h3 { font-size: 24px; line-height: 1.12; }
.case p { font-size: 15px; color: var(--ink-soft); }
.case .stamp { margin-top: auto; padding-top: 16px; align-self: flex-start; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--em); border: 1px solid var(--em); padding: 6px 10px; border-radius: 2px; }
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-card { background: var(--ox); color: var(--light); padding: 36px 32px; position: sticky; top: 100px; }
.about-card .seal { width: 88px; height: 88px; margin-bottom: 28px; }
.about-card .role { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--stone); }
.about-card .name { font-family: var(--serif); font-size: 38px; line-height: 1; margin: 10px 0 18px; }
.about-card .name b { color: var(--sand); font-weight: 400; }
.about-card .bio { font-size: 15px; color: var(--stone-light); }
.about-card dl { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--ox-soft); display: grid; gap: 14px; }
.about-card dt { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--stone); }
.about-card dd { margin: 4px 0 0; font-size: 15px; color: var(--light); }
.about-copy p { font-size: 17px; color: var(--ink-soft); }
.about-copy p + p { margin-top: 20px; }
.about-copy blockquote { margin: 34px 0; padding-left: 26px; border-left: 2px solid var(--em); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--ink); }
.about-copy p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-card { position: static; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--em); text-align: center; transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { padding: 0 0 28px; max-width: 70ch; font-size: 16px; color: var(--ink-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 90px); }
.enquiry { display: grid; gap: 22px; }
.enquiry label { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--stone); margin-bottom: 10px; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ox-soft);
  color: var(--light); font-family: var(--sans); font-weight: 300; font-size: 17px; padding: 10px 0 12px;
  border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s;
}
.enquiry select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E6DAC4' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.enquiry select option { color: var(--ink); background: var(--bone); }
.enquiry input::placeholder, .enquiry textarea::placeholder { color: rgba(207, 199, 187, 0.5); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-bottom-color: var(--sand); }
.enquiry textarea { resize: vertical; min-height: 120px; }
.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.enquiry button { justify-self: start; margin-top: 8px; }
#form-status { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand); display: none; }
.contact-direct h4 { font-size: 22px; margin-bottom: 10px; }
.contact-direct .email { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); color: var(--sand); border-bottom: 1px solid var(--sand); display: inline-block; line-height: 1.2; }
.contact-direct p { font-size: 15.5px; color: var(--stone-light); }
.contact-direct .group + .group { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--ox-soft); }
.contact-direct .cap { margin-top: 14px; padding: 18px 20px; border: 1px solid var(--ox-soft); font-size: 14.5px; color: var(--stone-light); }
.contact-direct .cap strong { display: block; font-weight: 500; color: var(--sand); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 8px; }
.socials { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.socials a { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--sand); border-bottom: 1px solid var(--ox-soft); padding-bottom: 3px; }
.socials a:hover { border-color: var(--sand); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .enquiry .row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--ox-deep); color: var(--stone-light); padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid .brand span { color: var(--light); }
.foot-grid .brand span b { color: var(--sand); }
.foot-grid .tag { margin-top: 16px; font-size: 14.5px; max-width: 30ch; color: var(--stone); }
.foot-grid h5 { margin: 0 0 14px; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--stone); }
.foot-grid li { font-size: 14.5px; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--sand); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(207, 199, 187, 0.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.04em; color: var(--stone); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   CONSENT UI (cookie-banner.css reads these tokens; it was
   written for a light-on-dark palette so we scope dark-mode
   tokens to the consent components only, and restate fonts)
   ============================================================ */
.mch-consent, .mch-consent-pill, .mch-prefs, .mch-prefs-actions, .mch-prefs-status, .mch-toggle {
  --ink: #F3EEE6;
  --ink-soft: rgba(243, 238, 230, 0.72);
  --ink-muted: rgba(243, 238, 230, 0.45);
  --paper: #4A1C22;
  --accent: #E6DAC4;
  --accent-soft: #E6DAC4;
  --accent-deep: #E6DAC4;
  font-family: var(--sans) !important;
}
.mch-consent__title, .mch-prefs__copy h3 { font-family: var(--serif) !important; font-weight: 400 !important; }
.mch-consent__label, .mch-consent__btn, .mch-consent-pill, .mch-consent-pill__label, .mch-prefs__tag, .mch-prefs__lock, .mch-prefs-status { font-family: var(--sans) !important; font-weight: 500; letter-spacing: 0.18em; }
.mch-consent__inner { border-color: #6B3038 !important; border-radius: 2px; }
.mch-consent__btn { border-radius: 2px; }
.mch-consent__mark span:nth-child(1), .mch-consent-pill__mark span:nth-child(1), .mch-consent__mark span:nth-child(3), .mch-consent-pill__mark span:nth-child(3) { background: #E6DAC4 !important; }
.mch-consent__mark span:nth-child(2), .mch-consent-pill__mark span:nth-child(2) { background: #A79E92 !important; }
.mch-toggle input:checked ~ .mch-toggle__thumb { background: #4A1C22 !important; }

/* dark panel that hosts the preferences UI on cookies.html */
.consent-panel { background: var(--ox); color: var(--light); padding: clamp(28px, 4vw, 48px); margin: 28px 0; }
.consent-panel .mch-prefs { border-color: #6B3038 !important; }
.consent-panel .mch-prefs__row { border-color: rgba(230, 218, 196, 0.2) !important; }

/* cookies table on light page: namespaced class from cookie-banner.css gets light tokens */
.mch-cookies-table { --ink: #17130F; --ink-soft: rgba(23,19,15,0.68); --ink-muted: #6B6357; --paper: #F3EEE6; --accent-deep: #4A1C22; --accent-soft: #E6DAC4; font-family: var(--sans) !important; }

/* ============================================================
   COOKIES PAGE
   ============================================================ */
.doc { padding: clamp(64px, 9vw, 120px) 0; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 18px 0 28px; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 14px; }
.doc p, .doc li { font-size: 16.5px; color: var(--ink-soft); }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; margin: 14px 0 18px; }
.doc a { color: var(--em); border-bottom: 1px solid var(--rule); }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--stone-deep); }
.doc .back { display: inline-block; margin-bottom: 8px; }

/* ============================================================
   DARK THEME (follows system, overridable via toggle, stored
   in localStorage mch_theme)
   ============================================================ */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bone: #1A0E10;
  --bone-deep: #221316;
  --ink: #F3EEE6;
  --ink-soft: rgba(243, 238, 230, 0.70);
  --rule: #3E2A2E;
  --stone-deep: #B3A99B;
  --ox: #3A151B;
  --ox-deep: #120709;
  --ox-soft: #5A2830;
  --surface-hover: #241316;
  --nav-bg: rgba(26, 14, 16, 0.86);
  --em: var(--sand);
  --grain-blend: screen;
  --grain-opacity: 0.09;
}
:root[data-theme="dark"] .hero .ghost { color: var(--sand); opacity: 0.035; }
:root[data-theme="dark"] .btn--primary { background: var(--sand); color: #2B0F13; border-color: var(--sand); }
:root[data-theme="dark"] .btn--primary:hover { background: var(--bone-light, #F3EEE6); border-color: #F3EEE6; color: #2B0F13; }
:root[data-theme="dark"] .btn:hover { background: var(--sand); color: #2B0F13; border-color: var(--sand); }
:root[data-theme="dark"] .on-dark .btn--primary { background: var(--sand); color: #2B0F13; }
:root[data-theme="dark"] .service--feature { background: #2B0F13; }
:root[data-theme="dark"] .service--feature:hover { background: #33131A; }
:root[data-theme="dark"] .about-card { background: #2B0F13; }
:root[data-theme="dark"] .stats { background: #2B0F13; }
:root[data-theme="dark"] .on-dark { background: #2B0F13; }
:root[data-theme="dark"] .principles { background: #4A2A30; border-color: #4A2A30; }
:root[data-theme="dark"] .principle { background: #2B0F13; }
:root[data-theme="dark"] footer { background: #120709; }
:root[data-theme="dark"] .about-card dl { border-top-color: #4A2A30; }
:root[data-theme="dark"] .enquiry input, :root[data-theme="dark"] .enquiry select, :root[data-theme="dark"] .enquiry textarea { border-bottom-color: #5A2830; }
:root[data-theme="dark"] .contact-direct .group + .group, :root[data-theme="dark"] .contact-direct .cap { border-color: #5A2830; }
:root[data-theme="dark"] .consent-panel { background: #2B0F13; }
:root[data-theme="dark"] .mch-consent__inner, :root[data-theme="dark"] .mch-consent-pill { background: #2B0F13 !important; }
:root[data-theme="dark"] .enquiry select option { color: var(--ink); background: #1A0E10; }
:root[data-theme="dark"] .mch-cookies-table { --ink: #F3EEE6; --ink-soft: rgba(243,238,230,0.7); --ink-muted: #B3A99B; --paper: #1A0E10; --accent-deep: #E6DAC4; }

/* theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink);
  cursor: pointer; transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.4s var(--ease);
}
.theme-toggle:hover { border-color: var(--em); color: var(--em); transform: rotate(20deg); }
.theme-toggle svg { grid-area: 1 / 1; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.theme-toggle .ic-moon { opacity: 1; transform: none; }
.theme-toggle .ic-sun { opacity: 0; transform: rotate(-60deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .ic-moon { opacity: 0; transform: rotate(60deg) scale(0.6); }
:root[data-theme="dark"] .theme-toggle .ic-sun { opacity: 1; transform: none; }
@media (max-width: 520px) { .nav-links li:has(.theme-toggle) { display: list-item; } }

/* skip link */
.skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ox); color: var(--sand); padding: 12px 18px; border-radius: 2px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; transition: top 0.2s; }
.skip:focus { top: 16px; outline: 2px solid var(--sand); }

/* ============================================================
   KINETIC TYPE
   ============================================================ */
.hero h1.kinetic .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1.kinetic .w > span { display: inline-block; transform: translateY(112%); animation: rise 0.9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { transform: none; } }
.hero .lede, .hero .cta-row, .hero .meta-row, .hero .scroll-hint { opacity: 0; animation: fadeup 0.9s var(--ease) forwards; }
.hero .meta-row { animation-delay: 0.1s; }
.hero .lede { animation-delay: 0.85s; }
.hero .cta-row { animation-delay: 1.0s; }
.hero .scroll-hint { animation-delay: 1.3s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal .block-head h2 { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s; }
.reveal .block-head .lede { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.3s, transform 0.9s var(--ease) 0.3s; }
.reveal.in .block-head h2, .reveal.in .block-head .lede { opacity: 1; transform: none; }
.reveal .block-head .eyebrow { opacity: 0; transition: opacity 0.6s var(--ease); }
.reveal.in .block-head .eyebrow { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero h1.kinetic .w > span { transform: none; animation: none; }
  .hero .lede, .hero .cta-row, .hero .meta-row, .hero .scroll-hint { opacity: 1; animation: none; }
  .reveal .block-head h2, .reveal .block-head .lede, .reveal .block-head .eyebrow { opacity: 1; transform: none; }
}

/* ============================================================
   MICRO-INTERACTIONS
   ============================================================ */
.btn .arr { display: inline-block; transition: transform 0.3s var(--ease); font-family: var(--sans); font-size: 14px; }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover .arr:is(:not(:empty)) { transform: translateX(4px); }
.btn.is-sent { background: var(--sand); color: var(--ox); border-color: var(--sand); cursor: default; }
.btn.is-sent .arr { transform: scale(1.3); }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--em); transition: right 0.3s var(--ease); }
.nav-links a:not(.nav-cta):hover::after { right: 0; }
.service .foot a, .socials a, .about-card dd a { transition: color 0.2s, border-color 0.2s, letter-spacing 0.3s var(--ease); }
.service .foot a:hover { letter-spacing: 0.3em; }
.case .stamp { transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.case:hover .stamp { background: var(--em); color: var(--light); }
:root[data-theme="dark"] .case:hover .stamp { color: #2B0F13; }
.principle { transition: background 0.3s var(--ease); }
.principle:hover { background: var(--ox-soft); }
.faq-list summary { transition: color 0.2s; }
.faq-list summary:hover { color: var(--em); }
.faq-list .a { animation: fadeup 0.4s var(--ease); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { box-shadow: 0 1px 0 0 var(--sand); }
.brand img { transition: transform 0.5s var(--ease); }
.brand:hover img { transform: rotate(-8deg); }
