/* =========================================================
   MEMEZANI ENTERPRISES — STYLESHEET
   Navy is sampled from the Memezani logo. Change a colour
   here and it updates across the whole site.
   ========================================================= */

@property --lx { syntax: "<percentage>"; inherits: true; initial-value: 60%; }
@property --ly { syntax: "<percentage>"; inherits: true; initial-value: 44%; }

:root {
  --navy: #0E226E;       /* logo navy */
  --navy-2: #1A3390;     /* hover */
  --ink: #091552;        /* dark bands, footer */
  --ice: #F4F8FC;        /* soft sections (logo background) */
  --amber: #FFB020;      /* signal accent: "memeza", to call out */
  --amber-2: #FFC24D;
  --sky: #3D6BFF;        /* data accent, used in mockups */
  --slate: #4A5578;      /* secondary text */
  --line: #DCE3EF;
  --white: #FFFFFF;

  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --header-h: 76px;
  --shadow: 0 24px 50px -28px rgba(9, 21, 82, .45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.62; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.35rem); }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--navy); }
p { max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 40rem; }
.muted { color: var(--slate); }
.text-link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--navy); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 12px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--ice); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn-wa { background: #25D366; color: var(--ink); }
.btn-wa:hover { background: #3EE07A; }
.btn-sm { padding: .62rem 1rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { max-width: var(--wrap); margin-inline: auto; padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.wordmark { font-family: var(--body); font-size: 1.22rem; line-height: 1; color: var(--navy); letter-spacing: -.01em; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 400; }
.wordmark small { display: block; font-size: .7rem; font-weight: 500; color: var(--slate); margin-top: .28rem; letter-spacing: 0; }
.main-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > li { position: relative; }
.nav-links a:not(.btn), .nav-drop-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem 0; background: none; border: 0; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--slate); }
.nav-links a:not(.btn):hover, .nav-drop-btn:hover { color: var(--navy); }
.nav-links a[aria-current="page"], .nav-drop-btn[data-current] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--amber); }
.nav-drop-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-left: .4rem; }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  width: min(720px, 92vw); padding: 1rem; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: none; grid-template-columns: 1fr 1fr; gap: .25rem;
}
.drop.is-open { display: grid; }
.drop a { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .8rem; border-radius: 12px; color: var(--navy); }
.drop a:hover { background: var(--ice); }
.drop .di { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--ice); color: var(--navy); }
.drop .di svg { width: 20px; height: 20px; }
.drop strong { display: block; font-size: .98rem; }
.drop small { display: block; font-size: .85rem; font-weight: 500; color: var(--slate); line-height: 1.35; margin-top: .1rem; }
.drop .drop-all { grid-column: 1 / -1; justify-content: center; font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: .3rem; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-ice { background: var(--ice); }
.section-ink { background: var(--ink); color: #DCE4F7; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.sec-intro { max-width: 46rem; margin-bottom: 3rem; }
.sec-intro h2 { margin-bottom: 1rem; }
.sec-intro p { color: var(--slate); font-size: 1.12rem; }
.section-ink .sec-intro p { color: #B9C6E6; }

/* ---------- hero + lens (signature) ---------- */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .96rem; color: var(--slate); }
.hero-facts svg { width: 20px; height: 20px; color: var(--navy); }

.lens {
  position: relative; aspect-ratio: 1 / 1; border-radius: 36px; overflow: hidden;
  background: var(--ice); border: 1px solid var(--line); touch-action: pan-y;
  --r: 24%;
  transition: --lx .35s cubic-bezier(.2, .8, .2, 1), --ly .35s cubic-bezier(.2, .8, .2, 1);
}
.lens-layer { position: absolute; inset: 0; }
.lens-base { background-image: radial-gradient(circle, rgba(14, 34, 110, .14) 1.7px, transparent 2px); background-size: 24px 24px; background-position: 12px 12px; }
.lens-reveal {
  background-color: #fff;
  background-image: radial-gradient(circle, rgba(14, 34, 110, .5) 2px, transparent 2.3px);
  background-size: 24px 24px; background-position: 12px 12px;
  clip-path: circle(var(--r) at var(--lx) var(--ly));
}
.lens-word { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-weight: 700; font-size: clamp(.78rem, 1.45vw, 1.02rem); letter-spacing: -.005em; }
.lens-base .lens-word { color: rgba(14, 34, 110, .2); }
.lens-reveal .lens-word { color: var(--navy); background: #fff; padding: .2rem .55rem; border-radius: 8px; box-shadow: 0 0 0 2px var(--amber); }
.lens-ring {
  position: absolute; left: var(--lx); top: var(--ly); width: calc(var(--r) * 2); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: clamp(8px, 1.5vw, 13px) solid var(--navy);
  pointer-events: none; box-shadow: 0 18px 40px -12px rgba(9, 21, 82, .45);
}
.lens-ring::before {
  content: ""; position: absolute; width: 15%; height: 62%; left: 7.5%; top: -55%;
  background: var(--navy); border-radius: 999px; transform-origin: 50% 100%; transform: rotate(-45deg);
}
.lens-caption { margin-top: .9rem; font-size: .92rem; color: var(--slate); text-align: center; }
.lens-caption .touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .lens-caption .mouse { display: none; }
  .lens-caption .touch { display: inline; }
  .lens.is-auto { animation: drift 16s ease-in-out infinite; }
}
@keyframes drift {
  0%, 100% { --lx: 34%; --ly: 36%; }
  25% { --lx: 66%; --ly: 30%; }
  50% { --lx: 64%; --ly: 66%; }
  75% { --lx: 34%; --ly: 64%; }
}

/* ---------- Build / Run / Grow ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { position: relative; display: flex; flex-direction: column; border-radius: 28px; padding: 2rem 1.75rem 1.5rem; background: #fff; border: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; left: 1.75rem; top: 0; width: 56px; height: 6px; border-radius: 0 0 6px 6px; background: var(--navy); }
.pillar-run::before { background: var(--sky); }
.pillar-grow::before { background: var(--amber); }
.pillar h3.stage { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: .35rem; }
.pillar .promise { color: var(--slate); margin-bottom: 1.4rem; }
.practice { display: flex; gap: .9rem; padding: 1.1rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.practice:hover strong { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pi { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--ice); color: var(--navy); }
.pi svg { width: 22px; height: 22px; }
.practice strong { display: block; font-size: 1.05rem; margin-bottom: .15rem; }
.practice > span > span { display: block; font-size: .95rem; color: var(--slate); line-height: 1.45; }
.advisory-strip { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.4rem 1.75rem; border-radius: 20px; background: var(--ink); color: #DCE4F7; }
.advisory-strip .pi { background: rgba(255, 255, 255, .1); color: var(--amber); }
.advisory-strip p { flex: 1 1 380px; max-width: none; }
.advisory-strip strong { color: #fff; }
.advisory-strip a { color: #fff; }

/* ---------- reasons ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split .sec-intro { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.reasons { display: grid; }
.reason { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason .pi { width: 52px; height: 52px; border-radius: 14px; }
.reason h3 { margin-bottom: .3rem; }
.reason p { color: var(--slate); }

/* ---------- process (a real sequence) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 24px; right: calc((100% - 6rem) / 5 - 24px); top: 23px; border-top: 2px dashed rgba(255, 255, 255, .25); }
.process li { position: relative; }
.step-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--amber); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.05rem; box-shadow: 0 0 0 8px var(--ink); }
.process h3 { color: #fff; margin-bottom: .35rem; }
.process p { color: #B9C6E6; font-size: .98rem; }
.process-light::before { border-top-color: #C5D2E8; }
.process-light .step-n { background: var(--navy); color: #fff; box-shadow: 0 0 0 8px var(--white); }
.process-light h3 { color: var(--navy); }
.process-light p { color: var(--slate); }
.section-ice .process-light .step-n { box-shadow: 0 0 0 8px var(--ice); }

/* ---------- work ---------- */
.work { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.work-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.work-item:nth-child(even) .work-visual { order: 2; }
.work-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.work-tags span { padding: .28rem .7rem; border-radius: 8px; background: var(--ice); font-size: .85rem; font-weight: 700; color: var(--navy); }
.work-item h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.2; margin-bottom: .8rem; }
.work-item p { color: var(--slate); margin-bottom: 1rem; }
.facts { display: grid; gap: .55rem; margin: 1.2rem 0 1.4rem; }
.facts li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; font-size: .98rem; }
.facts b { color: var(--navy); }
.facts span { color: var(--slate); }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.portrait { position: relative; width: clamp(200px, 26vw, 300px); aspect-ratio: 1; border-radius: 50%; padding: 10px; background: #fff; border: 2px solid var(--navy); }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; right: 6%; bottom: 6%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); border: 6px solid var(--ice); }
.quote { font-family: var(--body); font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 500; line-height: 1.45; color: var(--navy); margin-bottom: 1.2rem; max-width: 34em; }
.quote-by strong { display: block; font-size: 1.05rem; }
.quote-by span { color: var(--slate); }

/* ---------- packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.plan { padding: 2rem 1.75rem 1.5rem; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.plan .price { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; margin: .4rem 0 .2rem; }
.plan .price-note { font-size: .92rem; color: var(--slate); margin-bottom: 1rem; }
.plan > p { color: var(--slate); margin-bottom: 1.2rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-featured { background: var(--ice); border-radius: 0 0 24px 24px; }
.ticks { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB020' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tbl th, .tbl td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--ice); font-size: .92rem; color: var(--slate); }
.tbl tbody th { font-weight: 700; }
.tbl td.price { font-weight: 700; white-space: nowrap; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 32px; background: var(--navy); color: #DCE4F7; }
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { color: #C3CFEE; }
.cta-mark { width: 100%; max-width: 160px; justify-self: end; opacity: .95; }

/* ---------- inner page head ---------- */
.page-head { background: var(--ice); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 1rem; max-width: 18em; }
.page-head .lead { margin-bottom: 1.8rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; font-size: .92rem; font-weight: 600; color: var(--slate); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-hidden] { color: #9AA6C4; }
.head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* ---------- service detail ---------- */
.offerings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.offering { padding: 1.5rem 0 1.6rem; border-top: 2px solid var(--navy); }
.offering .pi { margin-bottom: 1rem; }
.offering h3 { margin-bottom: .35rem; }
.offering p { color: var(--slate); font-size: .99rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.two-col h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .85rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.fit { margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--amber); background: #fff; border-radius: 0 14px 14px 0; }
.fit strong { display: block; margin-bottom: .2rem; }
.faq { display: grid; gap: .7rem; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 1.3rem; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--navy); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.2rem; color: var(--slate); }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related a { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); background: #fff; }
.related a:hover { border-color: var(--navy); }
.related strong { display: block; }
.related a > span > span { display: block; font-size: .94rem; color: var(--slate); }

/* ---------- services overview ---------- */
.stage-block { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); padding-block: 3rem; border-top: 1px solid var(--line); }
.stage-block:first-child { border-top: 0; padding-top: 0; }
.stage-name { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; margin-bottom: .6rem; }
.stage-block .promise { color: var(--slate); }
.stage-practices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stage-card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: 22px; background: var(--ice); }
.stage-card h3 { margin: .9rem 0 .35rem; font-size: 1.2rem; }
.stage-card p { color: var(--slate); font-size: .98rem; margin-bottom: 1rem; }
.stage-card ul { display: grid; gap: .3rem; margin-bottom: 1.2rem; }
.stage-card li { font-size: .95rem; padding-left: 1rem; position: relative; }
.stage-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.stage-card .text-link { margin-top: auto; }

/* ---------- about ---------- */
.name-story { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 28px; background: var(--ink); color: #DCE4F7; }
.name-story img { width: clamp(90px, 12vw, 140px); }
.name-story h2 { color: #fff; margin-bottom: .6rem; }
.name-story em { color: var(--amber); font-style: normal; font-weight: 700; }
.mvv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mvv-block { padding: 1.8rem; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.mvv-block h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.mvv-block p { color: var(--slate); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1.5rem; }
.values li { padding: 1.2rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.values strong { display: block; margin-bottom: .3rem; }
.values span { font-size: .94rem; color: var(--slate); display: block; line-height: 1.45; }
.bio { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bio-body p { color: var(--slate); margin-bottom: 1rem; }
.bio-body h2 { margin-bottom: .3rem; }
.bio-role { font-weight: 700; color: var(--slate); margin-bottom: 1.4rem; }
.creds { display: grid; gap: .6rem; margin: 1.4rem 0; }
.creds li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.creds svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.company-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.company-facts div { padding: 1.3rem; border-radius: 16px; border: 1px solid var(--line); }
.company-facts dt { font-size: .9rem; color: var(--slate); font-weight: 600; margin-bottom: .2rem; }
.company-facts dd { font-weight: 700; }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.industry { padding: 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.industry h3 { margin-bottom: .5rem; }
.industry ul { display: grid; gap: .35rem; }
.industry li { position: relative; padding-left: 1rem; color: var(--slate); font-size: .97rem; }
.industry li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.track { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: 28px; border: 2px dashed #C5D2E8; }
.track h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: .6rem; }
.track > p { color: var(--slate); margin-bottom: 1.4rem; }
.track ul { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; }
.track li { position: relative; padding-left: 1.75rem; }
.track li::before { content: ""; position: absolute; left: 0; top: .28rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB020' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.form-card { padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.form-card .form-intro { color: var(--slate); margin-bottom: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend { font-weight: 700; font-size: .96rem; }
.req { color: #B4600A; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border: 1.5px solid #C6D1E4; border-radius: 12px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(14, 34, 110, .14); }
.field textarea { resize: vertical; }
fieldset.field { border: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin-top: .5rem; }
.check-grid label { display: flex; gap: .6rem; align-items: center; font-weight: 500; font-size: .98rem; cursor: pointer; }
.check-grid input { width: 1.15rem; height: 1.15rem; accent-color: var(--navy); flex: none; }
.form-note { font-size: .88rem; color: var(--slate); }
.form-local { padding: .9rem 1rem; border-radius: 12px; background: var(--ice); border: 1px solid #C6D1E4; font-size: .95rem; }
.form-local a { font-weight: 700; }
.side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.8rem 1.6rem; border-radius: 24px; background: var(--ink); color: #C3CFEE; }
.side-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: .5rem; }
.side-card > p { margin-bottom: 1.3rem; font-size: .98rem; }
.side-list { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.side-list li { display: flex; gap: .85rem; }
.side-list svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: .1rem; }
.side-list strong { display: block; color: #fff; font-size: .92rem; }
.side-list a { color: #fff; font-weight: 600; text-decoration: none; }
.side-list a:hover { text-decoration: underline; }

/* ---------- simple pages ---------- */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.simple img { margin: 0 auto 1.5rem; width: 110px; }
.simple h1 { margin-bottom: 1rem; }
.simple p { margin: 0 auto 2rem; color: var(--slate); }
.simple .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B9C6E6; padding-block: 4rem 2rem; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 2.5rem; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark small { color: #9FB0DA; }
.foot-about { margin-top: 1.2rem; max-width: 22rem; }
.foot-title { font-family: var(--body); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: .9rem; }
.foot-links { display: grid; gap: .5rem; }
.foot-links a { color: #DCE4F7; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; margin-top: 3rem; padding-top: 1.5rem; font-size: .9rem; }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: 1.5rem; right: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-tag { color: var(--amber); font-weight: 700; }

/* =========================================================
   PRODUCT MOCKUPS (drawn in CSS, used as service visuals)
   ========================================================= */
.mock { position: relative; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; font-family: var(--body); color: var(--navy); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--ice); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C6D1E4; }
.mock-bar span { margin-left: 10px; height: 18px; flex: 0 1 220px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 18px; padding: 0 8px; color: var(--slate); overflow: hidden; white-space: nowrap; }
.mock-body { padding: 18px; }
.blk { border-radius: 8px; background: #E7EDF7; }
.blk.navy { background: var(--navy); }
.blk.amber { background: var(--amber); }
.m-site-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-bottom: 14px; }
.m-site-hero .lines { display: grid; gap: 8px; align-content: center; }
.m-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-site-cards div { border-radius: 10px; border: 1px solid var(--line); padding: 8px; display: grid; gap: 6px; }
.mock-brand .mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; grid-column: 1 / -1; }
.m-swatches span { aspect-ratio: 1; border-radius: 12px; }
.m-type { border-radius: 14px; background: var(--ice); padding: 14px; }
.m-type b { display: block; font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.m-type small { display: block; margin-top: 6px; font-size: 12px; color: var(--slate); }
.m-logo { border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.m-logo i { width: 54px; height: 54px; border-radius: 50%; border: 8px solid var(--amber); }
.mock-chat .mock-body { display: grid; gap: 10px; background: var(--ice); }
.bubble { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.bubble.me { justify-self: end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.bot b { color: var(--navy); }
.bubble-meta { font-size: 11px; color: var(--slate); }
.m-dash { display: grid; gap: 12px; }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-kpis div { border-radius: 12px; background: var(--ice); padding: 10px; }
.m-kpis small { display: block; font-size: 11px; color: var(--slate); }
.m-kpis b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.m-chart { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.m-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.m-bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--sky); }
.m-bars span:nth-child(5) { background: var(--amber); }
.m-line { border-radius: 12px; border: 1px solid var(--line); padding: 8px; }
.m-line svg { width: 100%; height: 94px; }
.m-search { border-radius: 14px; border: 1px solid var(--line); padding: 12px 14px; margin-bottom: 12px; }
.m-search .q { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--ice); font-size: 12.5px; color: var(--slate); margin-bottom: 12px; }
.m-search .q svg { width: 14px; height: 14px; }
.m-result small { display: block; font-size: 11.5px; color: #1F7A3D; }
.m-result b { display: block; font-size: 15px; color: #1F3FA8; margin: 2px 0; }
.m-result p { font-size: 12.5px; color: var(--slate); line-height: 1.45; }
.m-post { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; border-radius: 14px; border: 1px solid var(--line); padding: 10px; }
.m-post .pic { aspect-ratio: 1; border-radius: 10px; background: var(--navy); display: grid; place-items: center; }
.m-post .pic i { width: 28px; height: 28px; border-radius: 50%; border: 5px solid var(--amber); }
.m-post .meta { font-size: 12.5px; color: var(--slate); line-height: 1.5; }
.m-post .meta b { color: var(--navy); }
.mock-video .screen { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #13286F, #091552); display: grid; place-items: center; }
.mock-video .play { width: 64px; height: 64px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; }
.mock-video .play::before { content: ""; margin-left: 6px; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.mock-video .live { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 6px; background: #E5383B; color: #fff; font-size: 12px; font-weight: 700; }
.mock-video .viewers { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 12px; font-weight: 600; }
.mock-video .timeline { padding: 12px 16px 14px; display: grid; gap: 8px; }
.mock-video .track-bar { height: 6px; border-radius: 3px; background: #E7EDF7; overflow: hidden; }
.mock-video .track-bar i { display: block; width: 62%; height: 100%; background: var(--amber); }
.mock-video .labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--slate); }
.m-road { display: grid; gap: 10px; }
.m-road li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ice); font-size: 13.5px; font-weight: 600; }
.m-road .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--amber); font-size: 13px; font-weight: 800; }
.m-road .dot.todo { background: #fff; border: 2px solid #C6D1E4; color: transparent; }
.m-road em { font-style: normal; font-size: 11.5px; color: var(--slate); font-weight: 600; }
.m-basket { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.m-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-products div { border-radius: 10px; border: 1px solid var(--line); padding: 8px; display: grid; gap: 6px; }
.m-products .ph { aspect-ratio: 4 / 3; border-radius: 6px; }
.m-products .added { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.m-cart { border-radius: 12px; background: var(--ice); padding: 10px; display: grid; gap: 8px; align-content: start; font-size: 12.5px; }
.m-cart b { font-size: 13px; }
.m-cart .row { display: flex; justify-content: space-between; gap: 6px; background: #fff; border-radius: 8px; padding: 6px 8px; }
.m-cart .wa { margin-top: 4px; text-align: center; padding: 8px; border-radius: 8px; background: #25D366; font-weight: 700; color: var(--ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .process::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { margin-left: 0; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: .5rem 1.5rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(9, 21, 82, .5); }
  .nav-links.is-open { display: flex; }
  .nav-links > li > a:not(.btn), .nav-drop-btn { width: 100%; justify-content: space-between; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a[aria-current="page"], .nav-drop-btn[data-current] { box-shadow: inset 4px 0 0 var(--amber); padding-left: .8rem; }
  .drop { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: .4rem 0 .8rem; grid-template-columns: 1fr; }
  .drop .drop-all { border-top: 0; }
  .nav-cta { margin: 1.2rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .hero, .head-split, .split, .work-item, .founder, .bio, .contact-grid, .cta-band, .stage-block, .name-story { grid-template-columns: 1fr; }
  .split .sec-intro, .side-card { position: static; }
  .work-item:nth-child(even) .work-visual { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan-featured { border-radius: 24px; }
  .offerings { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .cta-mark { display: none; }
  .hero-visual { max-width: 520px; width: 100%; justify-self: center; }
  .portrait { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wordmark { font-size: 1.08rem; }
  .wordmark small { display: none; }
  .brand img { width: 40px; height: 40px; }
  .offerings, .industries, .two-col, .related, .stage-practices, .mvv, .company-facts, .track ul, .form-row, .check-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; gap: 1.6rem; }
  .process li { padding-left: 66px; }
  .step-n { position: absolute; left: 0; top: 0; }
  .process::before { display: block; left: 23px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .25); }
  .process-light::before { border-left-color: #C5D2E8; }
  .facts li { grid-template-columns: 1fr; gap: .1rem; }
  .lens-word { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lens.is-auto { animation: none; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* ---------- founder skills ---------- */
.skill-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.skill-groups h3 { font-size: 1rem; margin-bottom: .7rem; }
.company-facts dd a { color: var(--navy); text-decoration: none; }
.company-facts dd a:hover { text-decoration: underline; }
@media (max-width: 640px) { .skill-groups { grid-template-columns: 1fr; } }

/* =========================================================
   APPS & SOFTWARE
   ========================================================= */
/* "Apps we build" block on the service page */
.sub-intro { margin-top: clamp(3rem, 6vw, 4.5rem); }
.app-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.app-type { padding: 1.4rem 1.4rem 1.5rem; border-radius: 22px; background: var(--ice); }
.app-type h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.app-type p { font-size: .95rem; line-height: 1.5; color: var(--slate); }

/* fix: these lists draw their own amber dots and ticks, so hide the browser bullet as well */
.stage-card ul, .industry ul, .track ul { list-style: none; }

/* services overview: an odd last card in a stage takes the full row */
.stage-practices > .stage-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stage-practices > .stage-card:last-child:nth-child(odd) ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

/* mockup: phone app beside its admin dashboard */
.m-app { display: grid; grid-template-columns: clamp(112px, 36%, 170px) 1fr; gap: 18px; align-items: center; padding: 20px; }
.m-phone { aspect-ratio: 9 / 18.5; padding: 6px; border-radius: 26px; background: var(--navy); box-shadow: 0 18px 30px -18px rgba(9, 21, 82, .6); }
.m-screen { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; border-radius: 20px; overflow: hidden; background: #fff; }
.m-screen::before { content: ""; position: absolute; z-index: 2; top: 6px; left: 50%; width: 34%; height: 8px; border-radius: 6px; background: var(--navy); transform: translateX(-50%); }
.m-map { position: relative; background: #E6EDF8; }
.m-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-pin, .m-car { position: absolute; transform: translate(-50%, -50%); }
.m-pin { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(9, 21, 82, .35); }
.m-pin-a { background: var(--navy); }
.m-pin-b { background: var(--amber); }
.m-car { width: 16px; height: 16px; border-radius: 5px; background: var(--navy); border: 2px solid var(--amber); }
.m-sheet { position: relative; display: grid; gap: 3px; margin-top: -14px; padding: 10px 10px 12px; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 -8px 18px -12px rgba(9, 21, 82, .35); }
.m-sheet b { font-size: 12.5px; line-height: 1.25; }
.m-sheet small { font-size: 11px; color: var(--slate); }
.m-sheet .go { margin-top: 6px; padding: 7px; border-radius: 9px; background: var(--amber); color: var(--ink); font-size: 11.5px; font-weight: 700; text-align: center; }
.m-win { border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.m-win-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.m-win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #C6D1E4; flex: none; }
.m-win-bar span { margin-left: 6px; font-size: 10.5px; font-weight: 600; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-win-body { display: grid; gap: 10px; padding: 10px; }
.m-admin-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-admin-kpis div { padding: 9px 10px; border-radius: 10px; background: var(--ice); }
.m-admin-kpis small { display: block; font-size: 10.5px; line-height: 1.3; color: var(--slate); }
.m-admin-kpis b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.m-feed { display: grid; }
.m-feed li { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; }
.m-feed li:first-child { border-top: 0; }
.m-feed em { padding: 2px 7px; border-radius: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.m-feed .s-live { background: #E3EAFF; color: #1F3FA8; }
.m-feed .s-done { background: #E2F4E8; color: #1F7A3D; }
.m-feed .s-wait { background: #FFF1D6; color: #7A4F00; }

@media (max-width: 960px) {
  .app-types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .app-types { grid-template-columns: 1fr; }
  .stage-practices > .stage-card:last-child:nth-child(odd) ul { grid-template-columns: 1fr; }
  .m-app { gap: 12px; padding: 14px; }
}

/* =========================================================
   PHONE FIXES
   ========================================================= */
/* service page heads: columns may shrink to the screen width */
.head-split > * { min-width: 0; }
@media (max-width: 640px) {
  /* long buttons wrap instead of pushing the page sideways */
  .btn { white-space: normal; text-align: center; }
  /* add-ons table has two columns now, so on phones it reads as a list instead of scrolling */
  .tbl { min-width: 0; }
  .tbl thead { display: none; }
  .tbl tr { display: block; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl th, .tbl td { display: block; padding: 0; border-bottom: 0; }
  .tbl tbody th { margin-bottom: .2rem; }
}
/* footer stacks on small phones so the email address fits */
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
}
/* on the smallest phones the email address may wrap rather than widen the page */
.side-list a, .foot-links a { overflow-wrap: anywhere; }

/* =========================================================
   WORK: IBANDLA MOCKUP
   ========================================================= */
.m-church { display: grid; gap: 12px; }
.m-church-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; }
.m-branches { padding: 2px 12px; border-radius: 12px; border: 1px solid var(--line); }
.m-branches li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.m-branches li:first-child { border-top: 0; }
.m-branches em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.m-give { display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: 12px; background: var(--ice); }
.m-give small { font-size: 11px; color: var(--slate); }
.m-give b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; line-height: 1; }
.m-progress { height: 6px; border-radius: 3px; background: #DCE3EF; overflow: hidden; }
.m-progress i { display: block; height: 100%; background: var(--amber); }
.m-give .go { margin-top: 4px; padding: 7px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; text-align: center; }
.m-theme { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--slate); }
.m-theme span { margin-right: 4px; }
.m-theme i { width: 18px; height: 18px; border-radius: 50%; }
.m-theme i:first-of-type { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
@media (max-width: 640px) {
  .m-church-row { grid-template-columns: 1fr; }
}
