/* Fonts are served from this site (src/assets/fonts, from Google Fonts, SIL Open Font License) so pages do not wait for another server. */
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/nunito-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/nunito-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/urbanist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/urbanist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* TMP Consulting — site styles. Mobile first; wider layouts are added at 720px and 1080px.
   Brand colours and fonts are carried over from the previous site (navy, royal blue, gold; Urbanist + Nunito Sans). */
:root {
  --navy-900: #0f1730;
  --navy-800: #141d37;
  --navy-700: #232f4b;
  --blue: #071e93;
  --blue-600: #1a35b8;
  --gold: #dd9a18;
  --gold-600: #c2840c;
  --gold-text: #8a5a00; /* gold dark enough for small text on white (WCAG AA) */
  --mist: #f4f8fc;
  --line: #dfe5f1;
  --ink: #141d37;
  --text: #4a5263;
  --muted: #5d6578;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 29, 55, .08);
  --shadow-lg: 0 24px 60px rgba(20, 29, 55, .16);
  --head: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 40px); }
.section { padding: 64px 0; }
.tint { background: var(--mist); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.flip { transform: scaleX(-1); }

.eyebrow { font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 .9em; }
.eyebrow-gold { color: var(--gold); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head p:last-child { margin: 0; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-row .sec-head { margin-bottom: 0; }
.h-small { font-size: 1.1rem; margin-bottom: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px; border-radius: 10px; border: 2px solid transparent; font-family: var(--head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #eab040; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; color: var(--blue); }
.more .ic { transition: transform .15s; }
.more:hover .ic, a:hover > .more .ic { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--blue); font-weight: 700; text-decoration: underline; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-800); color: #cfd6e6; font-size: .86rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.topbar a:hover { color: var(--white); text-decoration: none; }
.topbar .ic { color: var(--gold); }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a + a { display: none; }
.topbar-social { display: flex; align-items: center; gap: 4px; }
.topbar-social span { display: none; margin-right: 8px; }
.topbar-social a { width: 36px; justify-content: center; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(20, 29, 55, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); position: relative; }
.brand img { height: 46px; width: auto; }
.burger { width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--blue); display: grid; place-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; }

/* Mobile: the menu is a full-height panel; Services and Our Businesses are accordions. */
.site-nav { position: fixed; inset: 0; z-index: 150; background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; overscroll-behavior: contain; }
.site-nav.is-open { transform: none; visibility: visible; }
.nav-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.1rem; position: sticky; top: 0; background: var(--white); z-index: 1; }
.nav-x { width: 46px; height: 46px; border: 0; background: var(--mist); border-radius: 10px; font-size: 1.8rem; line-height: 1; color: var(--ink); }
.nav-list { padding: 8px 20px; flex: 1; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 12px 0; background: none; border: 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-align: left; }
.nav-link:hover { text-decoration: none; color: var(--blue); }
.nav-link[aria-current], .has-drop.is-active > .nav-link { color: var(--blue); }
.chev { transition: transform .2s; transform: rotate(-90deg); }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drop { padding: 0 0 14px; }
.drop-services a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); min-height: 44px; }
.drop-services a:hover { background: var(--mist); text-decoration: none; }
.drop-services strong { font-family: var(--head); display: block; }
.drop-services span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.drop-lead { border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 6px; }
.drop-lead strong { color: var(--blue); }
.biz-grid { display: grid; gap: 10px; }
.biz { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); min-height: 44px; background: var(--white); }
.biz:hover { text-decoration: none; border-color: var(--blue); background: var(--mist); }
.biz.is-current { background: var(--mist); border-color: #c9d3ea; }
.biz-name { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.biz-text { font-size: .92rem; line-height: 1.45; }
.biz-tag { font-family: var(--head); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: 6px; }
.biz.is-current .biz-tag { color: var(--gold-text); }
.nav-cta { margin: 16px 20px 28px; }
body.nav-locked { overflow: hidden; }

@media (min-width: 720px) {
  .topbar-contact a + a { display: inline-flex; }
  .topbar-social span { display: inline; }
}

/* Desktop navigation */
@media (min-width: 1080px) {
  :root { --header-h: 78px; }
  .brand img { height: 52px; }
  .burger, .nav-mobile-head { display: none; }
  .site-nav { position: static; transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 14px; background: none; overflow: visible; transition: none; }
  .nav-list { display: flex; align-items: center; gap: 2px; padding: 0; flex: none; }
  .nav-list > li { border: 0; }
  .nav-link { width: auto; min-height: 44px; padding: 10px 13px; font-size: .98rem; font-weight: 600; border-radius: 8px; gap: 5px; white-space: nowrap; }
  .nav-link:hover, .nav-toggle[aria-expanded="true"] { background: var(--mist); }
  .chev { transform: none; width: 1em; height: 1em; }
  .has-drop { position: relative; }
  .has-drop:has(.drop-biz) { position: static; }
  .drop { position: absolute; top: calc(100% + 10px); left: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
  .drop::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .drop-services { width: 340px; }
  .drop-biz { left: auto; right: 0; top: calc(100% - 6px); width: min(900px, 100%); padding: 14px; }
  .biz-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .biz { padding: 18px; min-height: 172px; }
  .nav-cta { margin: 0; min-height: 44px; padding: 10px 18px; font-size: .95rem; white-space: nowrap; }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #24376f 0%, transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #d5dcec; padding: 48px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-in { display: grid; gap: 40px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.55; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-note { font-size: .96rem; color: #aab4cc; max-width: 32em; margin: 0; }
.hero-note b { color: var(--white); font-weight: 700; }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; box-shadow: var(--shadow-lg); }
.hero-media::before { content: ''; position: absolute; inset: 18px -12px -12px 18px; border: 2px solid var(--gold); border-radius: 20px; opacity: .7; }
.hero-media img { position: relative; }
.hero-badge { position: absolute; left: -8px; bottom: -22px; background: var(--white); color: var(--text); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); max-width: 250px; font-size: .9rem; line-height: 1.3; }
.hero-badge strong { font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--blue); }

/* ---------- stats ---------- */
.stats { margin-top: -48px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 22px 12px; text-align: center; display: flex; flex-direction: column-reverse; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: -1px 0 0 -1px; }
.stat dd { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--ink); line-height: 1.1; }
.stat:nth-child(3) dd { color: var(--gold-600); }
.stat:nth-child(4) dd { color: var(--blue); }
.stat dt { font-size: .95rem; color: var(--muted); }
.page-hero + .stats, .about-intro + .stats { margin-top: 0; }

/* ---------- partners ---------- */
.partners { padding: 44px 0 8px; }
.partners-in { display: grid; gap: 20px; align-items: center; }
.partners-label { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 0; max-width: 14em; line-height: 1.3; }
.partners-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; align-items: center; }
.partners-list img { height: 72px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners-list li:hover img { filter: none; opacity: 1; }

/* ---------- intro + process ---------- */
.intro-in { display: grid; gap: 24px; }
.big-quote { margin: 0 0 .6em; font-family: var(--head); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.22; color: var(--ink); border-left: 4px solid var(--gold); padding-left: 22px; }
.process-grid { display: grid; gap: 16px; counter-reset: step; }
.process-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.process-n, .offer-n { font-family: var(--head); font-weight: 800; font-size: .95rem; color: var(--gold-text); letter-spacing: .08em; display: block; margin-bottom: 14px; }
.process-grid h3 { text-transform: capitalize; }
.process-grid p, .offer-grid p { margin: 0; font-size: .98rem; }
.process-more { margin: 28px 0 0; }

/* ---------- services ---------- */
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; height: 100%; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9d3ea; }
.service-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.service-card p { font-size: .98rem; flex: 1; }
.services-more { margin: 24px 0 0; color: var(--muted); }

/* ---------- testimonials ---------- */
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink); }
.slider-nav button:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.quote-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; }
.quote-card { flex: 0 0 min(88%, 520px); scroll-snap-align: start; background: var(--navy-800); color: #cfd6e6; border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; }
.quote-mark { font-family: Georgia, serif; font-size: 4.4rem; line-height: .8; height: 36px; color: var(--gold); display: block; }
.quote-card h3 { color: var(--white); font-size: 1.25rem; }
.quote-card p { font-size: .98rem; flex: 1; }
.quote-card footer { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.quote-card footer img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-card strong { display: block; color: var(--white); font-family: var(--head); }
.quote-card footer span { font-size: .88rem; }

/* ---------- clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1; display: grid; place-items: center; padding: 8px; transition: box-shadow .2s, transform .2s; }
.client:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.client a { display: block; width: 100%; height: 100%; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), #0a2bc4 60%, var(--navy-700)); color: #dfe5ff; padding: 52px 0; }
.cta-in { display: grid; gap: 22px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 38em; }

/* ---------- blog cards ---------- */
.post-grid { display: grid; gap: 22px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-thumb { display: block; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-blank { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy-700), var(--blue)); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.tag { background: var(--mist); color: var(--blue); font-family: var(--head); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-excerpt { font-size: .96rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.blog-search { flex: 1 1 240px; max-width: 340px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-family: var(--head); font-weight: 700; color: var(--ink); }
.filter-chips button.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- contact + forms ---------- */
.contact-in { display: grid; gap: 32px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--blue); }
.contact-list strong { display: block; font-family: var(--head); color: var(--ink); }
.contact-list a { color: var(--text); overflow-wrap: anywhere; }
.map { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-card { padding: 24px; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .filter > span { font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.field i { color: #c0392b; font-style: normal; }
.field small { color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="date"], input[type="password"], select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #c8d0e0; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
input[type="file"] { font: inherit; font-size: .95rem; padding: 12px; border: 1px dashed #b4bfd6; border-radius: 10px; background: var(--mist); width: 100%; }
.field.is-bad input, .field.is-bad textarea { border-color: #c0392b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.form-msg { margin: 0; color: #b03a2e; font-weight: 700; min-height: 0; }
.form-msg:empty { display: none; }
.form-foot { margin: 0; font-size: .9rem; color: var(--muted); }
.form-done { text-align: center; padding: 26px 10px; }
.form-done > .ic { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: #e4f6ea; color: #1e8a45; margin: 0 auto 16px; }

/* ---------- inner page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #cfd6e6; padding: 40px 0 52px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(221, 154, 24, .22), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 20em; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; color: #9aa5c0; }
.crumbs a { color: #cfd6e6; }
.crumb-sep { opacity: .5; }
.service-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.22; max-width: 24em; }
.service-hero .hero-actions { margin-bottom: 0; }

/* ---------- about ---------- */
.about-in { display: grid; gap: 30px; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: 20px; box-shadow: var(--shadow-lg); position: relative; }
.about-photo::before { content: ''; position: absolute; inset: 16px -10px -10px 16px; border-radius: 20px; background: var(--gold); opacity: .25; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill-row li { padding: 7px 16px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-family: var(--head); font-weight: 700; color: var(--ink); font-size: .92rem; }
.team-label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.team-leads + .team-label { margin-top: 44px; }
.team-leads { display: grid; gap: 14px; }
.team-grid { display: grid; gap: 10px; }
/* Phone: every profile is a row with the photo on the left. Leadership photos are the larger ones. */
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; text-align: left; }
.member-photo { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--blue)); display: grid; place-items: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member-photo span { font-family: var(--head); font-weight: 800; font-size: 2.2rem; color: rgba(255, 255, 255, .9); }
.member h3 { font-size: 1rem; margin-bottom: 3px; }
.member-role { color: var(--blue); font-family: var(--head); font-weight: 700; font-size: .86rem; line-height: 1.35; margin: 0; }
.member-bio { font-size: .9rem; margin: 10px 0 0; text-align: left; }
.member-link { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 10px; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); }
.member-link:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.member-lead { grid-template-columns: minmax(0, 46%) 1fr; gap: 16px; padding: 12px; border-top: 4px solid var(--gold); }
.member-lead h3 { font-size: 1.22rem; margin-bottom: 4px; }
.member-lead .member-role { font-size: .92rem; }

/* ---------- service pages ---------- */
.challenges-in { display: grid; gap: 24px; }
.challenge-intro { margin: 0; }
.challenge-list { display: grid; gap: 10px; }
.challenge-list li { background: var(--mist); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 16px 18px; font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.4; }
.lead-text { font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.offer-grid { display: grid; gap: 16px; }
.offer-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.more-title { font-size: 1.15rem; margin: 44px 0 16px; }
.more-grid { display: grid; gap: 12px 28px; }
.more-grid li { padding: 14px 0 14px 16px; border-left: 3px solid var(--gold); }
.more-grid h4 { font-size: 1.02rem; margin-bottom: 4px; }
.more-grid p { margin: 0; font-size: .95rem; }
.outro { margin: 28px 0 0; max-width: 50em; }
.two-col { display: grid; gap: 40px; }
.solution-list { display: grid; gap: 14px; }
.solution-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.solution-list p { margin: 0; font-size: .98rem; }
.faq { display: grid; gap: 10px; }
.faq details, .package details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-family: var(--head); font-weight: 700; color: var(--ink); min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary .ic { transition: transform .2s; flex: none; }
details[open] > summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; margin: 0; }
.package-grid { display: grid; gap: 18px; align-items: start; }
.package { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.package-kind { margin: 0 0 10px; }
.package h3 { font-size: 1.2rem; margin-bottom: 4px; }
.package:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(221, 154, 24, .35), var(--shadow-lg); }
.package-note { font-size: .88rem; color: var(--muted); margin: 0; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 12px 0 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.price small { width: 100%; font-size: .85rem; }
.price strong { font-family: var(--head); font-weight: 800; font-size: 2.1rem; color: var(--ink); line-height: 1; }
.price-consult strong { color: var(--blue); }
.package h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 12px 0 8px; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; }
.ticks .ic { color: var(--gold-600); margin-top: 3px; }
.package details { margin: 14px 0 6px; }
.package details > :not(summary) { margin-left: 18px; margin-right: 18px; }
.package details > :last-child { margin-bottom: 16px; }
.package summary { font-size: .95rem; color: var(--blue); }
.package .btn { margin-top: auto; }
.package details + .btn { margin-top: 12px; }
.package .ticks + .btn { margin-top: 20px; }
.why-in { display: grid; gap: 28px; }
.why-grid { display: grid; gap: 14px; }
.why-grid li { display: flex; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why-grid .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--blue); color: var(--white); }
.why-grid h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-grid p { margin: 0; font-size: .95rem; }
.other-services { padding: 44px 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--head); font-weight: 700; color: var(--ink); }
.chip-row a:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }

/* ---------- article ---------- */
.article-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.2; }
.article-meta { margin: 0; color: #aab4cc; font-size: .95rem; }
.article-cover { width: 100%; border-radius: 18px; margin: -28px 0 34px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); max-height: 560px; object-fit: cover; }
.article > .wrap { padding-bottom: 56px; }
.article-hero + .wrap > .prose:first-child { padding-top: 40px; }
.prose { font-size: 1.08rem; line-height: 1.75; color: #3b4354; overflow-wrap: break-word; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.5em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--gold-text); font-weight: 700; }
.prose a { text-decoration: underline; }
.prose img { border-radius: 14px; margin: 1.4em auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); text-align: center; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font-size: 1.15rem; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- share buttons (articles and job postings) ---------- */
.share { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-label { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid #c8d0e0; border-radius: 999px; background: var(--white); font-family: var(--head); font-weight: 700; font-size: .93rem; color: var(--ink); transition: border-color .15s, color .15s, background .15s; }
.share-btn:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); background: var(--mist); }
.share-btn[disabled] { opacity: .6; cursor: progress; }
.share-wa .ic { color: #1fa855; }
.share-li .ic { color: #0a66c2; }
.share-msg { margin: 12px 0 0; font-size: .92rem; font-weight: 700; color: #1e7a40; overflow-wrap: anywhere; }
.share-msg:empty { display: none; }

/* ---------- careers ---------- */
.job-search { margin-top: 28px; display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 8px 8px 8px 16px; max-width: 720px; box-shadow: var(--shadow-lg); color: var(--muted); }
.job-search input { border: 0; min-height: 44px; padding: 8px 4px; flex: 1; min-width: 0; }
.job-search input:focus { outline: none; }
.job-search:focus-within { outline: 3px solid var(--gold); }
.job-search .btn { min-height: 44px; padding: 10px 18px; }
.jobs-in { display: grid; gap: 28px; }
.job-filters { background: var(--mist); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.job-filters h2 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.filter { display: grid; gap: 6px; }
.job-count { font-size: 1rem; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin: 0; }
.job-count strong { font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--ink); margin-right: 4px; }
.job-row { border-bottom: 1px solid var(--line); position: relative; }
.job-share { position: absolute; right: 0; top: 16px; display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; justify-content: center; padding: 6px; border: 0; border-radius: 999px; background: none; font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--muted); }
.job-share:hover { color: var(--blue); background: var(--mist); }
.job-share span { display: none; }
.job-row a { display: block; padding: 24px 52px 24px 0; color: var(--text); position: relative; }
.job-row a:hover { text-decoration: none; }
.job-row a:hover h3 { color: var(--blue); }
.job-dept { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
.job-row h3 { font-size: 1.4rem; margin-bottom: 8px; transition: color .15s; }
.job-sum { margin: 0 0 12px; max-width: 46em; }
.job-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--muted); }
.job-chips li { display: inline-flex; align-items: center; gap: 6px; }
.job-go { position: absolute; right: 1px; top: calc(50% + 16px); translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.job-row a:hover .job-go { background: var(--blue); border-color: var(--blue); color: var(--white); }
.job-empty { padding: 36px 0; }
.job-empty p { margin: 0; }
.general-apply { margin-top: 30px; padding: 24px; border-radius: var(--radius); background: var(--navy-800); color: #cfd6e6; display: grid; gap: 16px; align-items: center; }
.general-apply h3 { color: var(--white); margin-bottom: 4px; }
.general-apply p { margin: 0; }
.general-apply .btn { background: var(--gold); color: var(--navy-900); }
.job-hero .job-chips { color: #cfd6e6; margin: 4px 0 26px; font-size: 1rem; }
.job-hero .job-chips .ic { color: var(--gold); }
.job-in { display: grid; gap: 32px; }
.job-side h2 { font-size: 1.15rem; }
.facts { margin: 0 0 20px; display: grid; gap: 12px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.steps { list-style: decimal; padding-left: 1.2em; margin-bottom: 20px; display: grid; gap: 8px; }
.job-close { margin-top: 24px; font-weight: 700; color: var(--ink); }

.notfound { padding: 96px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #aab4cc; padding-top: 56px; font-size: .96rem; }
.footer-grid { display: grid; gap: 34px; }
.footer-logo { filter: brightness(0) invert(1); height: 48px; width: auto; margin-bottom: 16px; }
.site-footer h2 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer li a { color: inherit; display: inline-flex; align-items: flex-start; gap: 10px; padding: 5px 0; min-height: 34px; }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.footer-contact .ic { color: var(--gold); margin-top: 4px; }
.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--white); }
.footer-social a:hover { background: var(--gold); color: var(--navy-900); }
.footer-base { margin-top: 44px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal { display: flex; gap: 18px; }
.footer-base a { color: #dfe4f0; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.footer-base a:hover { color: #fff; }
.policy-lang { margin: 0 0 8px; font-weight: 600; }
.policy h2 { font-size: 1.3rem; }
.policy ul { padding-left: 1.2em; }
.policy li { margin: .35em 0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-greet { position: fixed; right: 18px; bottom: 86px; z-index: 90; width: min(290px, calc(100vw - 36px)); background: var(--white); border-radius: 14px; box-shadow: 0 12px 30px rgba(10, 20, 50, .22); animation: wa-greet-in .35s ease; }
.wa-greet::after { content: ''; position: absolute; right: 22px; bottom: -7px; width: 14px; height: 14px; background: var(--white); transform: rotate(45deg); }
.wa-greet a { display: block; padding: 14px 16px 14px 16px; color: var(--text); font-size: .95rem; line-height: 1.4; }
.wa-greet-who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wa-greet-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy, #141d37); color: var(--gold, #dd9a18); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.1rem; flex: none; }
.wa-greet-who strong { display: block; font-family: var(--head); color: var(--ink); font-size: 1rem; line-height: 1.2; }
.wa-greet-who small { display: block; color: #7a8399; font-size: .8rem; }
.wa-greet-text { display: block; }
.wa-greet-meta { display: block; margin-top: 6px; color: #7a8399; font-size: .82rem; }
.wa-greet-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: #25d366; color: #fff; font-family: var(--head); font-weight: 700; font-size: .95rem; }
.wa-greet-cta .ic { width: 18px; height: 18px; }
.wa-greet-x { position: absolute; top: 6px; right: 6px; z-index: 1; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #7a8399; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.wa-greet-x:hover { background: #f1f3f8; }
@keyframes wa-greet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- the five moments (home row + How we help page) ---------- */
.kind { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid #c9d3ea; color: var(--blue); background: var(--white); white-space: nowrap; }
.kind-retainer { border-color: #e6c88a; color: var(--gold-text); background: #fff8ea; }
.moment-n { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--navy-800); color: var(--white); font-family: var(--head); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; }

.moment-row { display: grid; gap: 12px; counter-reset: none; }
.moment-row a { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; align-items: start; height: 100%; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.moment-row a:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c9d3ea; }
.moment-row h3 { margin: 6px 0 0; font-size: 1.12rem; }
.moment-row p { grid-column: 2; margin: 0; font-size: .95rem; }
.kinds { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.moment-row .kinds { grid-column: 2; justify-self: start; margin-top: 6px; }

.moments { display: grid; gap: 10px; }
.moment-head { margin: 0; font-size: 1rem; }
.moment-head button { width: 100%; min-height: 64px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 6px 14px; padding: 12px 16px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--head); font-weight: 700; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
/* Phone: the Project / Retainer tags sit under the question so the question keeps its width. */
.moment-head .moment-n, .moment-head .moment-chev { grid-row: 1 / span 2; }
.moment-head .moment-q, .moment-head .kinds { grid-column: 2; }
.moment-head .moment-chev { grid-column: 3; }
.moment-head button:hover { border-color: var(--blue); }
.moment-q { flex: 1; font-size: 1.08rem; line-height: 1.25; }
.moment-chev { transition: transform .2s; }
.moment.is-open .moment-head button { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.moment.is-open .moment-n { background: var(--gold); color: var(--navy-900); }
.moment.is-open .moment-chev { transform: rotate(180deg); }
.moment-panel { display: grid; gap: 24px; padding: 22px 18px 24px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.js .moment:not(.is-open) .moment-panel { display: none; }
.moment-title { display: none; font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
.moment-situation { font-size: 1.12rem; line-height: 1.55; color: var(--ink); margin-bottom: 20px; }
.moment-do h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.do-group + .do-group { margin-top: 24px; }
.do-kind { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 10px; font-size: .9rem; color: var(--muted); }
.do-list { display: grid; gap: 8px; }
.do-list li > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.3; }
.do-list li > span { background: var(--mist); }
.do-list a:hover { text-decoration: none; border-color: var(--blue); background: var(--mist); }
.do-list em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.moment-next { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.moment-next blockquote { margin: 0; padding-left: 16px; border-left: 4px solid var(--gold); font-family: var(--head); font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--ink); }

.ways-grid { display: grid; gap: 16px; }
.ways-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.ways-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.ways-grid h3 { font-size: 1.3rem; }
.ways-grid p:last-child { margin: 0; }

/* ---------- reveal on scroll (only when the script is running, so content never stays hidden) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (min-width: 720px) {
  .section { padding: 88px 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 30px 16px; }
  .partners-list { grid-template-columns: repeat(6, 1fr); }
  .process-grid, .service-grid, .offer-grid, .post-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .team-leads { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .member { display: block; text-align: center; padding: 12px 12px 16px; }
  .member-photo { margin-bottom: 14px; }
  .member h3 { font-size: 1.02rem; margin-bottom: 4px; }
  .member-lead { padding: 14px 14px 22px; }
  .member-lead .member-photo { margin-bottom: 18px; }
  .member-lead h3 { font-size: 1.3rem; }
  .member-lead .member-role { font-size: .98rem; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 34px; }
  .cta-in { grid-template-columns: 1fr auto; }
  .quote-card { flex-basis: min(60%, 520px); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; max-width: 520px; }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .general-apply { grid-template-columns: 1fr auto; padding: 28px 30px; }
  .hero-badge { left: -18px; }
  .challenge-list { grid-template-columns: repeat(2, 1fr); }
  .service-grid-5 > li:last-child { grid-column: 1 / -1; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .moment-row { grid-template-columns: repeat(2, 1fr); }
  .ways-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .do-list { grid-template-columns: repeat(2, 1fr); }
  .moment-panel { padding: 30px 28px; }
  .moment-next { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1080px) {
  .hero { padding: 76px 0 130px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .stats { margin-top: -62px; }
  .partners-in { grid-template-columns: 240px 1fr; gap: 36px; }
  .intro-in { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
  .process-grid, .service-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .service-grid-5 { grid-template-columns: repeat(6, 1fr); }
  .service-grid-5 > li { grid-column: span 2; }
  .service-grid-5 > li:nth-child(n+4) { grid-column: span 3; }
  .offer-grid, .post-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .client-grid { grid-template-columns: repeat(7, 1fr); }
  .team-leads { gap: 28px; }
  .team-grid { gap: 20px; }
  .contact-in { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .about-in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .challenges-in, .why-in, .two-col { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .challenge-list { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: repeat(3, 1fr); }
  .package-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .footer-grid { grid-template-columns: 1.6fr .8fr 1fr 1.3fr 1.5fr; }
  .footer-about { grid-column: auto; }
  .jobs-in { grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
  .job-filters { position: sticky; top: calc(var(--header-h) + 20px); }
  .job-row a { padding-right: 120px; }
  .job-share { padding: 6px 12px; }
  .job-share span { display: inline; }
  .job-in { grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
  .job-side { position: sticky; top: calc(var(--header-h) + 20px); }
  .quote-card { flex-basis: calc((100% - 36px) / 2.4); }
  .moment-row { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .moment-row a { grid-template-columns: 1fr; padding: 22px 18px; }
  .moment-row h3 { margin-top: 8px; }
  .moment-row p, .moment-row .kinds { grid-column: 1; }
  .moment-row li { position: relative; }
  .moment-row li + li::before { content: ''; position: absolute; left: -15px; top: 42px; width: 16px; height: 2px; background: var(--gold); }
  .js .moments { grid-template-columns: repeat(5, 1fr); gap: 12px 12px; }
  .js .moment { display: contents; }
  .js .moment-head { grid-row: 1; }
  .js .moment-head button { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 18px 16px; }
  .js .moment-chev { display: none; }
  .js .moment-panel { grid-row: 2; grid-column: 1 / -1; margin: 8px 0 0; }
  .moment-panel { grid-template-columns: 1fr 1.25fr; gap: 28px 56px; padding: 40px; }
  .moment-title { display: block; }
  .moment-next { grid-column: 1 / -1; }
}
