/* =====================================================================
   InRhythm — static rebuild
   Design system: colors, typography, layout, components
   Brand palette sourced from the live site:
     orange  #ff5a0a  (primary accent / CTA)
     slate   #1d3a47 / #182e39 / #141618 (dark brands / backgrounds)
     blue    #0c4da2
     cream   #eeebe4  (light section background)
   Fonts: Raleway (display headings, 800) + Poppins (body / UI)
   ===================================================================== */

:root {
  --orange: #ff5a0a;
  --orange-dark: #e14e08;
  --blue: #0c4da2;
  --slate-900: #141618;
  --slate-800: #182e39;
  --slate-700: #1d3a47;
  --slate-600: #274a5a;
  --mist: #c4d2dc;
  --muted: #7b92a7;
  --cream: #eeebe4;
  --paper: #f7f5f1;
  --white: #ffffff;
  --ink: #1d2b33;

  --font-display: "Raleway", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(20, 40, 55, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(20, 40, 55, 0.25);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; color: var(--slate-700); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.12rem; font-weight: 700; font-family: var(--font-body); }
p { color: #40525c; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #4a5b64; line-height: 1.6; }
.text-orange { color: var(--orange); }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--slate-700); color: #dfe8ee; }
.section--darker { background: var(--slate-900); color: #dfe8ee; }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--darker h1, .section--darker h2, .section--darker h3 { color: #fff; }
.section--dark p, .section--darker p { color: #b9cad4; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 600; font-size: 0.94rem;
  letter-spacing: 0.03em;
  padding: 15px 30px; border: 2px solid var(--bg); border-radius: 40px;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 90, 10, 0.6); background: var(--orange-dark); border-color: var(--orange-dark); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--outline { --bg: transparent; --fg: var(--slate-700); border-color: currentColor; }
.btn--outline:hover { background: var(--slate-700); color: #fff; border-color: var(--slate-700); box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--slate-700); border-color: #fff; box-shadow: none; }
.btn--lg { padding: 18px 38px; font-size: 1rem; }
.textlink { color: var(--orange); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.textlink .arrow { transition: transform .25s var(--ease); }
.textlink:hover .arrow { transform: translateX(4px); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled, .site-header.solid {
  background: var(--slate-700);
  box-shadow: 0 6px 30px -12px rgba(0,0,0,.5);
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; z-index: 2; }
.brand img { height: 30px; width: auto; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: #fff; font-weight: 500; font-size: 0.93rem; padding: 10px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.main-nav > ul > li > a:hover { color: var(--orange); }
.has-sub > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; margin-top: -3px; opacity: .7; }
.menu-item { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; min-width: 250px; border-radius: 12px; padding: 10px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.menu-item:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { color: var(--slate-700); font-weight: 500; padding: 11px 14px; border-radius: 8px; width: 100%; }
.submenu a:hover { background: var(--cream); color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 24px; }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   HERO (home) + PAGE HERO (interior)
   ===================================================================== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; padding-top: var(--header-h); overflow: hidden;
  background: var(--slate-800);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(20,22,24,.92) 0%, rgba(29,58,71,.78) 45%, rgba(29,58,71,.35) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 820px; padding: 40px 0; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .text-orange { color: var(--orange); }
.hero p { color: #d5e0e7; font-size: clamp(1.05rem, 1.5vw, 1.32rem); max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.rotator-line { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); color: #fff; margin: -8px 0 26px; letter-spacing: -0.01em; }
.rotator { color: var(--orange); display: inline-block; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.rotator.rotating-out { opacity: 0; transform: translateY(-10px); }

.page-hero {
  position: relative; color: #fff; padding: calc(var(--header-h) + 70px) 0 90px;
  background: linear-gradient(120deg, var(--slate-900) 0%, var(--slate-700) 70%, var(--slate-600) 100%);
  overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,90,10,.22), transparent 65%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: 22px; }
.page-hero p { color: #c6d4dd; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 640px; }
.breadcrumb { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; font-weight: 600; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 38px 34px;
  border: 1px solid #eceae4; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: var(--cream); margin-bottom: 6px; }
.card__icon img { width: 34px; height: 34px; }
.card h3 { color: var(--slate-700); }
.card p { font-size: .98rem; }
.card .textlink { margin-top: auto; padding-top: 8px; }
.section--dark .card { background: var(--slate-800); border-color: rgba(255,255,255,.08); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: #adc0cb; }
.section--dark .card__icon { background: rgba(255,255,255,.06); }

/* service list card w/ number */
.numbered { counter-reset: step; }
.numbered .card { position: relative; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--orange);
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--orange); display: grid; place-items: center; margin-bottom: 8px; }

.card__subtitle { font-weight: 600; color: var(--orange); font-size: .95rem; margin-top: -4px; }
.section--dark .card__subtitle { color: var(--orange); }

/* icon-statement row (3-up) */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feature { text-align: center; }
.feature__icon { width: 66px; height: 66px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--orange); }
.feature__icon svg { width: 30px; height: 30px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
.feature p { font-size: 1.06rem; color: inherit; }

/* mid-page CTA band (dark, with actions) */
.cta-mid { position: relative; text-align: center; background: linear-gradient(120deg, var(--slate-900), var(--slate-700)); overflow: hidden; }
.cta-mid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,90,10,.25), transparent 55%); }
.cta-mid .container { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* accordion */
.accordion { display: grid; gap: 14px; counter-reset: acc; }
.acc-item { background: #fff; border: 1px solid #e7e4dd; border-radius: 16px; overflow: hidden; }
.section--dark .acc-item { background: var(--slate-800); border-color: rgba(255,255,255,.08); }
.acc-head { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; background: none; border: 0; padding: 24px 28px; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--slate-700); }
.section--dark .acc-head { color: #fff; }
.acc-head::before { counter-increment: acc; content: counter(acc, decimal-leading-zero); font-size: 1rem; color: var(--orange); font-family: var(--font-body); font-weight: 700; min-width: 26px; }
.acc-head .acc-toggle { margin-left: auto; width: 26px; height: 26px; position: relative; flex: none; }
.acc-head .acc-toggle::before, .acc-head .acc-toggle::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.acc-head .acc-toggle::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.acc-head .acc-toggle::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.acc-item.open .acc-toggle::after { transform: scaleY(0); opacity: 0; }
.acc-head:hover { color: var(--orange); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body__inner { padding: 0 28px 26px; color: #4a5b64; }
.section--dark .acc-body__inner { color: #b3c5cf; }

/* video cards */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: var(--slate-800); display: block; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s var(--ease), opacity .3s; }
.video-card:hover img { transform: scale(1.05); opacity: 1; }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card__play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(12,24,29,.85); display: grid; place-items: center; transition: background .25s, transform .25s; }
.video-card:hover .video-card__play span { background: var(--orange); transform: scale(1.08); }
.video-card__play span::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video-card__title { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; font-weight: 600; font-size: .98rem; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,.6); }

/* blog date badge */
.post__date { display: inline-flex; align-items: baseline; gap: 6px; color: var(--orange); font-weight: 700; }
.post__date .day { font-family: var(--font-display); font-size: 1.5rem; }
.post__excerpt { font-size: .95rem; color: #55666f; }

/* =====================================================================
   STATS / COUNTERS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--orange); line-height: 1; }
.stat__label { margin-top: 12px; font-size: .95rem; color: inherit; opacity: .85; }
.stat__icon { height: 54px; margin: 0 auto 16px; }
.stat__icon img { height: 100%; width: auto; margin-inline: auto; filter: brightness(0) invert(1); opacity: .9; }

/* =====================================================================
   PROCESS / STEPS (approach)
   ===================================================================== */
.steps { display: grid; gap: 24px; }
.step {
  display: grid; grid-template-columns: 88px 1fr; gap: 26px; align-items: start;
  background: #fff; border: 1px solid #ece9e3; border-radius: var(--radius-lg); padding: 32px 34px;
  box-shadow: var(--shadow-sm);
}
.step__index { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--mist); line-height: .9; }
.step h3 { margin-bottom: 8px; }

/* =====================================================================
   CLIENT LOGO STRIP
   ===================================================================== */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); }
.logos img { height: 30px; width: auto; opacity: .8; filter: grayscale(1) brightness(0) invert(var(--logo-invert, 0)); transition: opacity .25s; }
.logos.on-dark img { --logo-invert: 1; opacity: .7; }
.logos img:hover { opacity: 1; }

/* =====================================================================
   TEAM
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.member__photo { aspect-ratio: 5/4; overflow: hidden; background: var(--mist); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__body { padding: 22px 24px 26px; }
.member__body h3 { font-size: 1.2rem; margin-bottom: 3px; }
.member__body .role { color: var(--orange); font-weight: 600; font-size: .9rem; }

/* =====================================================================
   INSIGHTS / BLOG GRID
   ===================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__thumb { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--slate-700), var(--blue)); }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post__cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.post__body h3 { font-size: 1.16rem; color: var(--slate-700); line-height: 1.25; }
.post__meta { margin-top: auto; font-size: .82rem; color: var(--muted); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { background: linear-gradient(120deg, var(--orange), #ff7d3c); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--slate-700); border-color: #fff; }
.cta-band .btn:hover { background: var(--slate-900); color: #fff; border-color: var(--slate-900); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }

/* feature list with checks */
.checklist { display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: #45565f; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.section--dark .checklist li { color: #cddae2; }

/* pill tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--cream); color: var(--slate-700); font-size: .82rem; font-weight: 600; padding: 7px 16px; border-radius: 30px; }
.section--dark .tag { background: rgba(255,255,255,.08); color: #dfe8ee; }

/* media frame */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--mist); aspect-ratio: 4/3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--video { aspect-ratio: 16/9; }

/* portfolio / case-study grid with filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { background: rgba(255,255,255,.06); color: #cddae2; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; padding: 9px 18px; font-size: .84rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--orange); color: #fff; }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 26px; color: #fff; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,24,.05), rgba(20,22,24,.82)); z-index: 1; transition: background .3s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card:hover::after { background: linear-gradient(180deg, rgba(255,90,10,.28), rgba(20,22,24,.86)); }
.work-card__title { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.work-card__tag { position: relative; z-index: 2; display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 6px; }
.work-card.is-hidden { display: none; }

/* big social/connect tiles */
.connect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.connect-tile { display: block; padding: 32px 26px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.connect-tile:hover { background: rgba(255,90,10,.14); border-color: var(--orange); transform: translateY(-4px); }
.connect-tile h3 { color: #fff; font-size: 1.2rem; }
.connect-tile span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-top: 6px; }

/* quick-links band (service/industry pages) */
.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.quicklink { display: block; padding: 30px 26px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.quicklink:hover { background: rgba(255,90,10,.14); border-color: var(--orange); transform: translateY(-4px); }
.quicklink .ql-eyebrow { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.quicklink .ql-title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.16rem; margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quicklink .ql-title .arrow { color: var(--orange); transition: transform .25s var(--ease); }
.quicklink:hover .ql-title .arrow { transform: translateX(4px); }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote { background: #fff; border-radius: var(--radius-lg); padding: 40px 38px; box-shadow: var(--shadow-sm); border: 1px solid #eceae4; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; left: 26px; font-family: Georgia, serif; font-size: 5rem; color: var(--orange); opacity: .28; line-height: 1; }
.quote p { font-size: 1.05rem; color: #3f5059; line-height: 1.6; position: relative; }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-weight: 600; color: var(--slate-700); font-size: .92rem; }
.section--dark .quote { background: var(--slate-800); border-color: rgba(255,255,255,.08); }
.section--dark .quote p { color: #cdd9e0; }
.section--dark .quote cite { color: #fff; }

/* photo collage (careers hero) */
.collage { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 16px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.collage img:nth-child(1) { grid-row: span 2; }
.collage img:nth-child(4) { grid-row: span 2; }

/* simple value list */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 28px 26px; display: flex; gap: 16px; align-items: flex-start; }
.value__mark { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--orange); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; }
.value p { color: #d3dfe6; font-size: 1rem; margin: 0; }

/* address / map card (contact) */
.info-card { background: var(--slate-800); color: #cddae2; border-radius: var(--radius-lg); padding: 40px 38px; height: 100%; }
.info-card h3 { color: #fff; margin-bottom: 18px; }
.info-card address { font-style: normal; line-height: 2; font-size: 1.02rem; }
.info-card a { color: var(--orange); }
.info-card .btn { margin-top: 26px; }

/* form */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: .92rem; color: var(--slate-700); }
.form input, .form textarea { font: inherit; padding: 15px 18px; border: 1.5px solid #d8dee2; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form textarea { min-height: 150px; resize: vertical; }
.form .req { color: var(--orange); }
.form-note { color: #1a7f37; font-weight: 500; opacity: 0; transition: opacity .3s; }
.form-note.show { opacity: 1; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--slate-900); color: #9fb3bf; padding: 76px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand img { height: 30px; margin-bottom: 22px; }
.footer-brand p { color: #8ba2af; max-width: 300px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; color: #9fb3bf; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-contact { font-style: normal; color: #9fb3bf; font-size: .95rem; line-height: 1.9; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom p { color: #6f8593; font-size: .87rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #cddae2; transition: background .25s, color .25s, transform .25s; }
.socials a:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* =====================================================================
   MISC / reveal
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.divider-note { color: var(--muted); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; text-align: center; margin-bottom: 34px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .team-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .quicklinks { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .feature-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; background: var(--slate-900); padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
  }
  body.nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { font-size: 1.05rem; padding: 14px 6px; }
  .has-sub > a::after { margin-left: auto; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 14px; min-width: 0; display: none; }
  .menu-item.open > .submenu { display: block; }
  .submenu a { color: #9fb3bf; }
  .submenu a:hover { background: transparent; }
  .site-header:not(.solid):not(.scrolled) { background: var(--slate-700); }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; margin-top: 22px; }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .team-grid, .posts { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .hero { min-height: 88vh; }
  .quicklinks, .testimonials, .video-grid, .value-grid, .feature-row { grid-template-columns: 1fr; }
}
