/* =====================================================================
   MinifyTech — Main stylesheet
   ---------------------------------------------------------------------
   Structure
   1.  Design tokens (brand colours from the MinifyTech logo/site)
   2.  Base & typography
   3.  Layout helpers
   4.  Buttons & links
   5.  Header / navigation / dropdown / mobile menu
   6.  Hero slider
   7.  Section components (eyebrow, heading, cards, steps, etc.)
   8.  Portfolio grid, filters, lightbox
   9.  FAQ accordion
   10. CTA blocks
   11. Forms & modal
   12. Blog
   13. Footer
   14. Scroll animations
   15. Utilities & responsive
   16. WordPress & Elementor compatibility
   Enqueued from functions.php. Class names are stable on purpose.
   ===================================================================== */

/* 1. TOKENS ----------------------------------------------------------- */
:root {
  /* Brand — taken from minifytech.com.ng (logo accent #FF8600 + ink) */
  --brand: #FF8600;
  --brand-600: #E67700;
  --brand-700: #B85F00;
  --brand-50: #FFF4E6;
  --brand-100: #FFE3BF;
  --ink: #121212;
  --ink-2: #1C1C1C;
  --ink-3: #2A2A2A;
  --paper: #FFFFFF;
  --cream: #FFF8F0;
  --mist: #F6F6F4;
  --line: #E8E6E1;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #2B2B2B;
  --muted: #5E5E5E;
  --muted-light: #A9A9A9;
  --success: #1E8E4E;
  --danger: #C62D2D;

  --font-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 18, .06);
  --shadow: 0 12px 32px -12px rgba(18, 18, 18, .18);
  --shadow-lg: 0 30px 60px -20px rgba(18, 18, 18, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
}

/* 2. BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip; /* hides off-screen slide-in starting positions; keeps sticky header working */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.is-locked { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul[class], ol[class] { margin: 0; padding: 0; } /* only theme component lists are reset; editor/Elementor lists keep defaults */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); letter-spacing: -.015em; line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
.hl { color: var(--brand); }
.hl-underline { position: relative; white-space: nowrap; }
.hl-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: var(--brand); opacity: .35; border-radius: 2px; z-index: -1;
}
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand); color: #fff; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--radius); transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. LAYOUT ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--cream { background: var(--cream); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #D6D6D6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
/* Grid/flex children may shrink below their content width (prevents overflow) */
.split > *, .grid > *, .why-layout > *, .faq-layout > *, .contact-layout > *, .post-layout > *, .slide__inner > *, .svc-row > * { min-width: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-640 { max-width: 640px; }
.maxw-760 { max-width: 760px; }

/* 4. BUTTONS ------------------------------------------------------------ */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  padding: .95em 1.5em; border-radius: var(--radius); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer; line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(4px); }
.btn--brand { --bg: var(--brand); --bd: var(--brand); --fg: var(--ink); }
.btn--brand:hover { --bg: var(--brand-600); --bd: var(--brand-600); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { padding: .75em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-head);
  font-weight: 600; font-size: .92rem; color: var(--brand-700);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--dark .link-arrow { color: var(--brand); }

/* 5. HEADER ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and collapse it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .wordmark {
  display: none; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; color: var(--ink);
}
.brand .wordmark b { color: var(--brand); font-weight: 800; }
.brand img.is-broken { display: none; }
.brand img.is-broken + .wordmark { display: inline; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-dropdown.is-active > .nav-link::after { transform: scaleX(1); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .25s; }
.has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--radius);
  transition: background .2s;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--brand-50); }
.dropdown .dd-icon {
  flex: 0 0 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--brand);
  display: grid; place-items: center;
}
.dropdown .dd-icon svg { width: 17px; height: 17px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--ink); line-height: 1.3; }
.dropdown small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); content: "";
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. HERO SLIDER -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.slider { position: relative; height: clamp(600px, calc(100svh - var(--header-h)), 760px); }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; width: 100%; }
.slide__eyebrow { margin-bottom: 18px; }
.slide h1, .slide .slide__title { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 20px; }
.slide__text { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
/* staggered entrance for active slide content */
.slide [data-slide-anim] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active [data-slide-anim] { opacity: 1; transform: none; }
.slide.is-active [data-slide-anim="2"] { transition-delay: .12s; }
.slide.is-active [data-slide-anim="3"] { transition-delay: .24s; }
.slide.is-active [data-slide-anim="4"] { transition-delay: .36s; }
.slide.is-active [data-slide-anim="5"] { transition-delay: .5s; }
.slide [data-slide-anim="visual"] { transform: translateX(40px) scale(.97); }
.slide.is-active [data-slide-anim="visual"] { transition-delay: .2s; transform: none; }

/* Slide treatments */
.slide--design { background: radial-gradient(ellipse at 85% 30%, var(--brand-50), transparent 55%), var(--paper); }
.slide--seo { background: var(--ink); color: #CFCFCF; }
.slide--seo h1, .slide--seo .slide__title { color: #fff; }
.slide--seo .slide__text { color: #B5B5B5; }
.slide--care { background-color: var(--cream);
  background-image: linear-gradient(rgba(18,18,18,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,18,.045) 1px, transparent 1px);
  background-size: 44px 44px; }
.slide--marketing { background: var(--brand); }
.slide--marketing .slide__text { color: rgba(18,18,18,.78); }
.slide--marketing .eyebrow { color: var(--ink); }
.slide--marketing .eyebrow::before { background: var(--ink); }
.slide--marketing .hl { color: #fff; }

/* Slider controls */
.slider__controls {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(20px, 4vh, 38px);
}
.slider__controls .container { display: flex; align-items: center; gap: 18px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 36px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(18,18,18,.18); position: relative; overflow: hidden;
}
.slider__dot::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.slider__dot.is-active::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.slider.is-paused .slider__dot.is-active::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.slider__arrows { display: flex; gap: 8px; margin-left: auto; }
.slider__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(18,18,18,.2); background: rgba(255,255,255,.7);
  display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, transform .25s;
}
.slider__arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.slider__arrow svg { width: 18px; height: 18px; }
.slider__count { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--muted); min-width: 52px; }
.slider[data-theme="dark"] .slider__dot { background: rgba(255,255,255,.22); }
.slider[data-theme="dark"] .slider__arrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #fff; }
.slider[data-theme="dark"] .slider__count { color: #AAA; }
.slider[data-theme="brand"] .slider__dot::after { background: var(--ink); }
.slider[data-theme="brand"] .slider__dot { background: rgba(18,18,18,.22); }

/* Hero visual compositions (pure HTML/CSS — fast, no heavy images) */
.viz { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 1.12; }
.browser {
  position: absolute; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(18,18,18,.08);
}
.browser__bar { height: 30px; background: #F1F0ED; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D7D5D0; }
.browser__bar i:first-child { background: #FF8600; }
.browser__bar em { margin-left: 10px; height: 14px; flex: 1; max-width: 55%; border-radius: 7px; background: #fff; font-style: normal; font-size: 9px; line-height: 14px; padding: 0 8px; color: #8A8A8A; font-family: var(--font-body); overflow: hidden; white-space: nowrap; }
.browser__body { padding: 16px; }
.blk { background: #EEECE8; border-radius: 4px; height: 10px; margin-bottom: 8px; }
.blk--dark { background: var(--ink); }
.blk--brand { background: var(--brand); }
.blk--h { height: 22px; width: 72%; }
.blk--s { width: 45%; }
.blk--m { width: 64%; }
.blk--btn { height: 18px; width: 90px; border-radius: 4px; display: inline-block; margin-right: 6px; }
.blk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.blk-card { height: 64px; border-radius: 6px; background: #F5F4F1; border: 1px solid #ECEAE5; }
.blk-card:nth-child(2) { background: var(--brand-50); border-color: var(--brand-100); }
.badge-float {
  position: absolute; background: #fff; border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink);
  border: 1px solid var(--line); animation: floaty 6s ease-in-out infinite;
}
.badge-float .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); color: var(--ink); }
.badge-float .dot svg { width: 16px; height: 16px; }
.badge-float small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; font-family: var(--font-body); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* SEO viz */
.serp { position: absolute; inset: 6% 0 auto 8%; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.serp__search { display: flex; align-items: center; gap: 10px; background: var(--ink-3); border-radius: 30px; padding: 10px 14px; color: #CFCFCF; font-size: .82rem; margin-bottom: 16px; }
.serp__search svg { width: 15px; height: 15px; color: var(--brand); }
.serp__row { padding: 11px 12px; border-radius: 8px; margin-bottom: 6px; }
.serp__row .u { font-size: .68rem; color: #8C8C8C; display: block; }
.serp__row .t { height: 9px; border-radius: 4px; background: #4A4A4A; width: 70%; margin: 6px 0; }
.serp__row .d { height: 6px; border-radius: 4px; background: #333; width: 90%; }
.serp__row.is-top { background: rgba(255,134,0,.12); border: 1px solid rgba(255,134,0,.45); }
.serp__row.is-top .t { background: var(--brand); }
.serp__row.is-top .u { color: var(--brand-100); }
.chart { position: absolute; right: -2%; bottom: 2%; width: 52%; background: #fff; border-radius: 12px; padding: 16px; box-shadow: var(--shadow-lg); }
.chart__label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; }
.chart__label span { color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.chart__bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.chart__bars i { flex: 1; background: var(--brand-100); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.chart__bars i:last-child, .chart__bars i:nth-last-child(2) { background: var(--brand); }
.slide.is-active .chart__bars i { transform: scaleY(1); }
.slide.is-active .chart__bars i:nth-child(2) { transition-delay: .55s; } .slide.is-active .chart__bars i:nth-child(3) { transition-delay: .65s; }
.slide.is-active .chart__bars i:nth-child(4) { transition-delay: .75s; } .slide.is-active .chart__bars i:nth-child(5) { transition-delay: .85s; }
.slide.is-active .chart__bars i:nth-child(6) { transition-delay: .95s; } .slide.is-active .chart__bars i:nth-child(1) { transition-delay: .45s; }

/* Care viz */
.panel { position: absolute; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.panel--status { inset: 4% 4% auto 6%; padding: 20px 22px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 600; color: var(--success); font-family: var(--font-body); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(30,142,78,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(30,142,78,0); } 100% { box-shadow: 0 0 0 0 rgba(30,142,78,0); } }
.check-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text); }
.check-row .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex-shrink: 0; }
.check-row .ic svg { width: 14px; height: 14px; }
.check-row b { margin-left: auto; font-size: .74rem; font-weight: 600; color: var(--success); background: #E8F5EE; padding: 3px 9px; border-radius: 20px; }
.panel--ticket { right: 0; bottom: 3%; width: 58%; padding: 16px 18px; background: var(--ink); color: #DADADA; border-color: var(--ink); }
.panel--ticket strong { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 4px; font-size: .9rem; }
.panel--ticket p { font-size: .8rem; margin: 0; color: #A8A8A8; }
.panel--ticket .tag { display: inline-block; margin-top: 10px; font-size: .7rem; font-weight: 700; color: var(--ink); background: var(--brand); padding: 3px 9px; border-radius: 4px; font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; }

/* Marketing viz */
.mk-card { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 30px 60px -24px rgba(90,40,0,.45); padding: 18px; }
.mk-card--funnel { inset: 4% 8% auto 4%; }
.mk-card h4 { font-size: .9rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.mk-card h4 span { font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--muted); }
.funnel { display: grid; gap: 7px; justify-items: center; }
.funnel i { height: 30px; border-radius: 5px; background: var(--ink); display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: .74rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; }
.funnel i:nth-child(1) { width: 100%; } .funnel i:nth-child(2) { width: 80%; background: var(--ink-3); } .funnel i:nth-child(3) { width: 60%; background: var(--brand-600); } .funnel i:nth-child(4) { width: 40%; background: var(--brand); color: var(--ink); }
.mk-card--channels { right: 0; bottom: 4%; width: 60%; background: var(--ink); color: #ddd; }
.mk-card--channels h4 { color: #fff; }
.chan { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.chan .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.chan:nth-child(3) .sw { background: #fff; } .chan:nth-child(4) .sw { background: #8A8A8A; }
.chan em { margin-left: auto; font-style: normal; font-size: .72rem; color: #9E9E9E; }

/* 7. SECTION COMPONENTS ------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--brand); }
.section--dark .eyebrow, .slide--seo .eyebrow { color: var(--brand); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section--dark .section-head p { color: #A9A9A9; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); background: var(--cream); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 70px solid rgba(255,134,0,.08); pointer-events: none;
}
.page-hero--dark { background: var(--ink); color: #C9C9C9; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: #AFAFAF; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero .lead { max-width: 680px; margin-bottom: 28px; }
.page-hero .split { align-items: center; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted-light); }
.breadcrumbs a:hover { color: var(--brand-700); }
.page-hero--dark .breadcrumbs { color: #9A9A9A; }

/* Media frame (images with graceful fallback) */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background:
  linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
}
.media::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  color: rgba(255,255,255,.55); font-family: var(--font-head); font-weight: 600; font-size: .9rem;
}
.media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.media img.is-broken { opacity: 0; }
.media--tall { aspect-ratio: 4 / 4.6; }
.media--wide { aspect-ratio: 16 / 10; }
.media__tag {
  position: absolute; z-index: 2; left: 18px; top: 18px; background: var(--ink); color: #fff; font-family: var(--font-head);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 8px;
}
.media__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.media-wrap { position: relative; }
.media-note {
  position: absolute; right: -14px; bottom: -22px; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px 20px; max-width: 250px;
}
.media-note strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.25; }
.media-note span { font-size: .8rem; color: var(--muted); }

/* Value list (intro section) */
.value-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 32px; }
.value-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--text); line-height: 1.45; }
.value-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--brand); margin-top: 1px; }
.section--dark .value-list li { color: #D2D2D2; }

/* Promise bar (replaces vanity stats — no invented numbers) */
.promise-bar { background: var(--ink); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.promise { padding: 28px 26px; display: flex; gap: 14px; align-items: flex-start; color: #CFCFCF; position: relative; }
.promise + .promise::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line-dark); }
.promise svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--brand); }
.promise strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.25; margin-bottom: 4px; }
.promise span { font-size: .85rem; line-height: 1.45; color: #9F9F9F; }

/* Service cards (bordered columns like the reference) */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  padding: clamp(28px, 3.4vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; background: #fff; transition: background .35s; display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { background: var(--cream); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.icon-box {
  width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: var(--brand);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s;
}
.icon-box svg { width: 24px; height: 24px; }
.service-card:hover .icon-box { transform: rotate(-6deg) scale(1.06); background: var(--brand); color: var(--ink); }
.service-card__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--line); letter-spacing: -.04em; line-height: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .98rem; }
.sub-list { list-style: none; margin: 8px 0 26px; border-top: 1px solid var(--line); }
.sub-list li { border-bottom: 1px solid var(--line); }
.sub-list a, .sub-list span {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: .92rem; font-weight: 500; color: var(--text);
}
.sub-list a:hover { color: var(--brand-700); }
.sub-list svg { width: 14px; height: 14px; color: var(--brand); }
.service-card .link-arrow { margin-top: auto; }

/* Feature cards (why partner) */
.why-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--ink); padding: 32px 28px; transition: background .35s; }
.feature:hover { background: var(--ink-2); }
.feature__ic { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,134,0,.4); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: #A3A3A3; font-size: .93rem; margin: 0; }

/* Light feature cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon-box { margin-bottom: 20px; width: 46px; height: 46px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li { padding: 6px 0 6px 22px; position: relative; font-size: .93rem; color: var(--text); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 2px; background: var(--brand); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px); opacity: .5;
}
.step { text-align: center; padding: 0 18px; position: relative; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px; background: #fff; border: 2px solid var(--ink);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink);
  position: relative; z-index: 1; transition: background .3s, color .3s, transform .4s var(--ease);
}
.step:hover .step__num { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.step:last-child .step__num { background: var(--ink); color: var(--brand); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.section--cream .step__num { background: var(--cream); }

/* Deliverables list (service pages) */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.deliverable { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.deliverable:hover { border-color: var(--brand); transform: translateY(-3px); }
.deliverable .num { flex: 0 0 38px; height: 38px; border-radius: 8px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .9rem; }
.deliverable h3 { font-size: 1.05rem; margin-bottom: 4px; }
.deliverable p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Prose (long-form text) */
.prose { font-size: 1.06rem; color: var(--text); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--brand); background: var(--cream); font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
.prose > :first-child { margin-top: 0; }

/* Related service links */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); font-family: var(--font-head); font-weight: 600; color: var(--ink); transition: background .3s, border-color .3s; }
.related a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.related svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Overview rows (services page) */
.svc-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); align-items: start; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row__num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--brand-700); }
.svc-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.svc-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag-pill { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--text); }

/* 8. PORTFOLIO ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; padding: 10px 18px; border-radius: 30px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .25s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn .count { color: var(--brand); margin-left: 4px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 30px); }
.portfolio-grid--3 { grid-template-columns: repeat(3, 1fr); }
.project { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .4s var(--ease), box-shadow .4s, opacity .4s; display: flex; flex-direction: column; }
.project.is-hidden { display: none; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project__media { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: var(--brand); padding: 26px 26px 0; cursor: pointer; border: 0; width: 100%; display: block; text-align: left; }
.project:nth-child(3n+2) .project__media { background: var(--ink); }
.project:nth-child(3n+3) .project__media { background: #E9E5DD; }
.project__media .shot { width: 100%; height: 100%; border-radius: 8px 8px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.35); position: relative; display: block; }
.project__media .shot::before { content: ""; display: block; height: 18px; background: #EFEDE9; border-bottom: 1px solid #E2DFD9; }
.project__media .shot::after { content: attr(data-label); position: absolute; inset: 18px 0 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #B8B4AC; font-size: 1.1rem; }
.project__media img { width: 100%; height: calc(100% - 18px); object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); position: relative; z-index: 1; }
.project__media img.is-broken { opacity: 0; }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { padding: 20px 22px; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); flex: 1; }
.project__body h3 { font-size: 1.1rem; margin-bottom: 2px; }
.project__cat { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-700); }
.project__desc { font-size: .9rem; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.project__go {
  margin-left: auto; flex: 0 0 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; transition: all .3s; color: var(--ink); background: #fff; cursor: pointer;
}
.project__go svg { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .3s; }
.project:hover .project__go { background: var(--brand); border-color: var(--brand); }
.project:hover .project__go svg { transform: rotate(0); }
.portfolio-empty { display: none; padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* Lightbox (project detail view) */
.lightbox .modal__dialog { max-width: 980px; padding: 0; overflow: hidden; }
.lightbox__media { background: var(--ink); padding: 28px 28px 0; max-height: 58vh; overflow: auto; }
.lightbox__media img { width: 100%; border-radius: 8px 8px 0 0; }
.lightbox__body { padding: 26px 30px 30px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.lightbox__body h2 { font-size: 1.7rem; margin-bottom: 6px; }
.lightbox__body p { color: var(--muted); margin: 0; }

/* 9. FAQ ---------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em;
}
.faq__q:hover { color: var(--brand-700); }
.faq__icon { flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--brand); border-color: var(--brand); color: var(--ink); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq__a > div { padding: 0 52px 24px 0; color: var(--muted); }
.faq__a p:last-child { margin: 0; }
.faq__a a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }

/* 10. CTA BLOCKS -------------------------------------------------------- */
.cta-band { background: var(--ink); color: #CFCFCF; border-radius: 14px; padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; border: 90px solid rgba(255,134,0,.09); }
.cta-band h2 { color: #fff; max-width: 720px; position: relative; }
.cta-band p { max-width: 620px; color: #A9A9A9; margin: 0; position: relative; }
.cta-band .btn-row { position: relative; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split > div { padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 72px); position: relative; overflow: hidden; }
.cta-split__dark { background: var(--ink); color: #BDBDBD; }
.cta-split__dark h2 { color: #fff; }
.cta-split__dark::after { content: ""; position: absolute; left: -80px; bottom: -200px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.03); }
.cta-split__brand { background: var(--brand); color: rgba(18,18,18,.8); }
.cta-split__brand .eyebrow { color: var(--ink); }
.cta-split__brand .eyebrow::before { background: var(--ink); }
.cta-split p { max-width: 460px; margin-bottom: 28px; }
.label-chip { display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 4px; margin-bottom: 18px; }

/* 11. FORMS & MODAL ----------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink); }
.field label .req { color: var(--brand-700); }
.field label .opt { color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,134,0,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: .8rem; color: var(--danger); min-height: 0; display: none; }
.field.has-error .field__error { display: block; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: .82rem; flex: 1; min-width: 200px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-size: .93rem; line-height: 1.5; }
.form-status.is-visible { display: block; animation: fadeIn .4s var(--ease); }
.form-status--success { background: #E8F5EE; color: #12512D; border: 1px solid #BFE3CD; }
.form-status--error { background: #FCECEC; color: #7A1A1A; border: 1px solid #F2C4C4; }
.form-status--info { background: var(--brand-50); color: #6B3A00; border: 1px solid var(--brand-100); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp-field { position: absolute; left: -9999px; }

.modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(12,12,12,.68); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 40px); overflow: auto; background: #fff;
  border-radius: 14px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); padding: clamp(26px, 4vw, 44px);
  transform: translateY(24px) scale(.98); transition: transform .4s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .3s; z-index: 3;
}
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__head { margin-bottom: 24px; padding-right: 48px; }
.modal__head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 8px; }
.modal__head p { color: var(--muted); margin: 0; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { background: var(--ink); color: #C7C7C7; border-radius: 14px; padding: 36px 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h2 { color: #fff; font-size: 1.6rem; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-item svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--brand); }
.contact-item strong { display: block; color: #fff; font-family: var(--font-head); font-size: .9rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: .95rem; color: #BDBDBD; }
.contact-item a:hover { color: var(--brand); }
.form-card { border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 44px); background: #fff; }
.placeholder-flag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); border: 1px dashed var(--brand); border-radius: 3px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }

/* 12. BLOG -------------------------------------------------------------- */
.post-featured { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 48px; transition: box-shadow .35s; }
.post-featured:hover { box-shadow: var(--shadow-lg); }
.post-featured .post-thumb { aspect-ratio: auto; min-height: 340px; }
.post-featured__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-featured__body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card h3 a:hover, .post-featured h2 a:hover { color: var(--brand-700); }
.post-card p { font-size: .93rem; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; }
.post-thumb { aspect-ratio: 16 / 9.5; position: relative; overflow: hidden; display: block; }
.post-thumb__art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; transition: transform .8s var(--ease); }
.post-card:hover .post-thumb__art, .post-featured:hover .post-thumb__art { transform: scale(1.04); }
.post-thumb__art span { font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.05; max-width: 85%; position: relative; z-index: 1; }
.post-thumb__art svg { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; opacity: .9; }
.art-1 { background: var(--ink); color: #fff; } .art-1 svg { color: var(--brand); }
.art-2 { background: var(--brand); color: var(--ink); }
.art-3 { background: #EDE8DF; color: var(--ink); } .art-3 svg { color: var(--brand-600); }
.art-4 { background: var(--ink-3); color: #fff; } .art-4 svg { color: var(--brand); }
.art-1::before, .art-4::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -120px; border-radius: 50%; border: 44px solid rgba(255,134,0,.18); }
.art-2::before, .art-3::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -120px; border-radius: 50%; border: 44px solid rgba(18,18,18,.08); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.post-meta .cat { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); }
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-light); }
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cat-bar a { padding: 8px 16px; border-radius: 30px; border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .85rem; transition: all .25s; }
.cat-bar a:hover, .cat-bar a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: var(--radius); border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .92rem; transition: all .25s; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .is-disabled { opacity: .4; }
/* Single post */
.post-hero { padding: clamp(56px, 7vw, 96px) 0 0; }
.post-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 900px; }
.post-hero .post-meta { margin: 20px 0 36px; font-size: .9rem; }
.author { display: flex; align-items: center; gap: 12px; }
.author__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem; }
.author strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .92rem; }
.post-cover { border-radius: 14px; overflow: hidden; }
.post-cover .post-thumb { aspect-ratio: 21 / 8; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px); }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.aside-box h3 { font-size: 1rem; margin-bottom: 12px; }
.aside-box--dark { background: var(--ink); border-color: var(--ink); color: #BDBDBD; }
.aside-box--dark h3 { color: #fff; }
.aside-box--dark p { font-size: .9rem; }
.toc { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-top: 1px solid var(--line); }
.toc a { display: flex; gap: 10px; padding: 9px 0; font-size: .9rem; color: var(--text); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--brand-700); font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding-top: 2px; }
.toc a:hover { color: var(--brand-700); }
.share { display: flex; gap: 8px; }
.share a, .social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .25s; }
.share a:hover { background: var(--brand); border-color: var(--brand); }
.share svg, .social svg { width: 16px; height: 16px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .25s; }
.post-nav a:hover { border-color: var(--brand); }
.post-nav small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 4px; }
.post-nav strong { font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.3; display: block; }
.post-nav a:last-child { text-align: right; }

/* 13. FOOTER ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #A7A7A7; padding: clamp(64px, 8vw, 96px) 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 56px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand .wordmark { display: none; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.04em; margin-bottom: 18px; }
.footer-brand .wordmark b { color: var(--brand); }
.footer-brand img.is-broken { display: none; }
.footer-brand img.is-broken + .wordmark { display: block; }
.footer-brand p { max-width: 300px; }
.footer-col h3 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { transition: color .2s, padding .25s; }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--brand); margin-top: 4px; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { border-color: rgba(255,255,255,.18); color: #fff; }
.social a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--brand); }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: var(--ink); }
.to-top svg { width: 18px; height: 18px; }

/* 14. SCROLL ANIMATIONS ------------------------------------------------- */
/* Elements start hidden only when JS has confirmed support (html.js). */
html.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
html.js [data-anim="fade-up"] { transform: translateY(36px); }
html.js [data-anim="fade-down"] { transform: translateY(-24px); }
html.js [data-anim="slide-left"] { transform: translateX(56px); }
html.js [data-anim="slide-right"] { transform: translateX(-56px); }
html.js [data-anim="zoom"] { transform: scale(.94); }
html.js [data-anim="fade"] { transform: none; }
html.js [data-anim].is-in { opacity: 1; transform: none; }
/* Word-by-word heading reveal */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.reveal-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .85s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.reveal-words.is-in .w > span { transform: none; }
html:not(.js) .reveal-words .w > span { transform: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-anim] { opacity: 1; transform: none; }
  .reveal-words .w > span { transform: none; }
}

/* 15. RESPONSIVE -------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-link { padding: 10px 10px; font-size: .88rem; }
  .nav-link::after { left: 10px; right: 10px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-grid .footer-col--partner { display: none; }
  .promise-bar { grid-template-columns: repeat(2, 1fr); }
  .promise:nth-child(3)::before { display: none; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; margin: 0; padding: 20px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
    border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 1.15rem; }
  .nav-link::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .mobile-cta { display: block !important; margin-top: 28px; }
  .slide__inner, .split, .why-layout, .faq-layout, .contact-layout, .post-layout, .post-featured { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .slider { height: auto; min-height: 0; }
  .slide { position: relative; display: none; padding: 48px 0 110px; }
  .slide.is-active { display: flex; }
  .viz { max-width: 480px; margin: 0 auto; }
  .why-sticky, .contact-card, .post-aside { position: static; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps::before { display: none; }
  .grid-3, .related { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .media-note { right: 12px; }
  .media--tall { aspect-ratio: 16 / 11; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .portfolio-grid, .portfolio-grid--3, .post-grid, .related, .deliverables, .feature-grid, .value-list, .form-grid { grid-template-columns: 1fr; }
  .promise-bar { grid-template-columns: 1fr; }
  .promise + .promise::before { display: none; }
  .promise + .promise { border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: 1fr; }
  .viz { aspect-ratio: 1 / 1.05; }
  .slider__arrows { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .lightbox__body { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { max-height: 94vh; border-radius: 16px 16px 0 0; }
  .media-note { position: relative; right: auto; bottom: auto; margin: -30px 16px 0; }
  .section-head--row .btn { width: 100%; }
}
.mobile-cta { display: none; }

/* 16. WORDPRESS & ELEMENTOR COMPATIBILITY ------------------------------ */
/* Utilities used by templates */
.muted { color: var(--muted); }
.muted-dark { color: #A9A9A9; }
.lead-dark { font-size: 1.1rem; }
.ink { color: var(--ink); }
.u { text-decoration: underline; text-underline-offset: 3px; }
.mt-12 { margin-top: 12px; } .mt-56 { margin-top: 56px; }
.mb-18 { margin-bottom: 18px; } .mb-28 { margin-bottom: 28px; } .mb-32 { margin-bottom: 32px; }
.pb-section { padding-bottom: var(--section); }
.lead-sm { font-size: 1.05rem; }
.h2-sm { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.self-start { align-self: flex-start; }
.btn-row--center { align-items: center; }
.btn-row--justify { justify-content: center; }
.extra-links { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.split--top { align-items: start; }
.steps-2col .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
.steps-2col .steps::before { display: none; }
.faq__h { margin: 0; font-size: inherit; letter-spacing: normal; }
.author--feat { margin: 6px 0 22px; }
.author small { display: block; }
.post-card .by { font-size: .84rem; margin: 0 0 16px; color: var(--muted); }
.post-meta a.cat:hover { text-decoration: underline; }
.post-thumb__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .8s var(--ease); }
.post-card:hover .post-thumb__img, .post-featured:hover .post-thumb__img { transform: scale(1.04); }
.post-featured .post-thumb, .post-cover .post-thumb { position: relative; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.notfound { min-height: 60vh; display: grid; place-items: center; }

/* Elementor content: full width, no theme spacing */
.mt-elementor-content { width: 100%; }
.mt-elementor-content > .elementor { width: 100%; }
.elementor-page .site-main { overflow: visible; }

/* WordPress core classes */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.prose img, .entry-content img { border-radius: var(--radius); }
.wp-caption, .wp-block-image figcaption { font-size: .85rem; color: var(--muted); }
.wp-block-button__link { background: var(--brand); color: var(--ink); border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; }
.sticky .post-card__body { border-top: 3px solid var(--brand); }
.page-links { margin-top: 24px; }

/* Neutralise smooth-scroll wrappers from animation add-ons (ScrollSmoother) */
.mt-no-smoother #smooth-wrapper { position: static !important; inset: auto !important; height: auto !important; overflow: visible !important; }
.mt-no-smoother #smooth-content { transform: none !important; translate: none !important; }
.mt-no-smoother .wcf-cursor, .mt-no-smoother .wcf-cursor-follower { display: none !important; }

/* Admin bar: keep the sticky header and mobile menu below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 980px) {
  .admin-bar .primary-nav { top: calc(var(--header-h) + 32px); }
}
@media (max-width: 782px) { .admin-bar .primary-nav { top: calc(var(--header-h) + 46px); } }
@media (max-width: 680px) { .steps-2col .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   17. Elementor widgets (MinifyTech panel)
   ========================================================================== */
/* Keep theme headings when an Elementor kit sets global heading fonts/colours. */
.elementor .mt-el h1, .elementor .mt-el h2, .elementor .mt-el h3, .elementor .mt-el h4 { font-family: var(--font-head); }
.elementor .mt-el p, .elementor .mt-el li { font-family: var(--font-body); }
.elementor .mt-el .btn { font-family: var(--font-head); }
.elementor-widget-container > .mt-el--hero { width: 100%; }
.viz--image .media { height: 100%; border-radius: var(--radius-lg, 20px); }
.viz--image img { width: 100%; height: 100%; object-fit: cover; }
/* In the Elementor editor, show animated content immediately. */
.elementor-editor-active [data-anim], .elementor-editor-active [data-slide-anim],
.elementor-editor-active .reveal-words, .elementor-editor-active .reveal-words * { opacity: 1 !important; transform: none !important; visibility: visible !important; clip-path: none !important; }

/* ==========================================================================
   18. Testimonials (two columns: heading left, text carousel right)
   ========================================================================== */
.testi__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.testi__head h2 { margin-bottom: 18px; }
.testi__head p { color: var(--muted, #5F5F5A); max-width: 440px; }
.section--dark .testi__head p { color: #BDBDB8; }
.testi__head .btn-row { margin-top: 28px; }
.testi__nav { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.testi__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.testi__arrow svg { width: 20px; height: 20px; }
.testi__arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.testi__arrow:focus-visible, .testi__dot:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.testi__count { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .04em; min-width: 64px; text-align: center; }
.section--dark .testi__arrow { background: transparent; border-color: var(--line-dark); color: #fff; }
.testi__slider { position: relative; }
.testi__track { display: grid; }
.testi__card { grid-area: 1 / 1; margin: 0; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 24px 60px -32px rgba(18, 18, 18, .25); opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s; }
.testi__card.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease, visibility 0s; }
.section--dark .testi__card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.testi__mark { position: absolute; top: 6px; right: 28px; font-family: Georgia, serif; font-size: 140px; line-height: 1; color: var(--brand); opacity: .18; pointer-events: none; }
.testi__stars { color: var(--brand); font-size: 18px; letter-spacing: 3px; margin-bottom: 18px; }
.testi__quote { margin: 0 0 28px; font-family: var(--font-head); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; font-weight: 500; color: var(--ink); }
.testi__quote p { margin: 0; }
.section--dark .testi__quote { color: #fff; }
.testi__by { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.section--dark .testi__by { border-color: var(--line-dark); }
.testi__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.testi__avatar--initials { display: inline-grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.testi__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.section--dark .testi__name { color: #fff; }
.testi__role { display: block; font-size: 14px; color: var(--muted, #6B6B66); margin-top: 2px; }
.testi__dots { display: flex; gap: 8px; margin-top: 22px; }
.testi__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.testi__dot.is-active { width: 28px; background: var(--brand); }
.section--dark .testi__dot { background: rgba(255, 255, 255, .2); }
.section--dark .testi__dot.is-active { background: var(--brand); }
@media (max-width: 900px) {
  .testi__grid { grid-template-columns: 1fr; }
  .testi__nav { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .testi__card { transition: none; transform: none; } }

/* 19. Author box (single posts) */
.author-box { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 8px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.author-box__avatar img { width: 72px; height: 72px; border-radius: 50%; display: block; }
.author-box small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); font-weight: 600; }
.author-box strong { display: block; font-family: var(--font-head); font-size: 18px; margin: 2px 0 6px; }
.author-box strong a { color: var(--ink); text-decoration: none; }
.author-box p { margin: 0; font-size: 15px; line-height: 1.6; }
