:root {
  --orange: #ff5d1d;
  --white: #ffffff;
  --charcoal: #1f2937;
  --mist: #fff2ec;
  --slate: #475569;
  --gray: #e2e8f0;
  --blue: #2563eb;
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #dc2626;
  --max: 1200px;
  --gutter: 24px;
  --header: 72px;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--charcoal); font: 400 16px/1.625 var(--font-body); text-rendering: optimizeLegibility; overflow-x: clip; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
p { color: var(--slate); }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: 12px; padding: 10px 14px; background: var(--blue); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 50; top: 0; height: var(--header); background: color-mix(in srgb, var(--white) 94%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-color: var(--gray); box-shadow: 0 8px 24px color-mix(in srgb, var(--charcoal) 6%, transparent); }
.nav-shell { width: min(calc(100% - 2 * var(--gutter)), var(--max)); height: 100%; margin: auto; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; }
.brand { width: 156px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.main-nav a { position: relative; padding: 22px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 16px; height: 2px; background: var(--orange); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.nav-cta { display: inline-flex; gap: 9px; align-items: center; color: var(--orange); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-cta svg, .text-link svg, .button svg, .service-row svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; transition: transform .2s ease; }
.nav-cta:hover svg, .text-link:hover svg, .button:hover svg, .service-row:hover svg { transform: translateX(4px); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--charcoal); }

.eyebrow { margin-bottom: 18px; color: var(--orange); font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.section { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; padding-block: clamp(56px, 7vw, 88px); }
.section-lead { max-width: 550px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 600; text-decoration: none; }
.button { min-height: 48px; padding: 12px 18px; border: 1px solid currentColor; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.button-dark:hover { background: var(--orange); border-color: var(--orange); }
.button-light { background: transparent; color: var(--white); border-color: color-mix(in srgb, var(--white) 60%, transparent); }
.button-light:hover { color: var(--charcoal); background: var(--white); }

.breadcrumbs { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: 0 auto; padding-top: 32px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--slate); font-size: 13px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--orange); }
.breadcrumbs a { text-decoration: none; }

.home-hero { position: relative; width: min(calc(100% - 2 * var(--gutter)), 1320px); min-height: auto; margin: auto; padding: clamp(34px, 4.5vw, 64px) 0 clamp(52px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr); align-items: center; gap: clamp(36px, 5vw, 70px); }
.hero-copy { position: relative; z-index: 2; padding-left: max(0px, calc((100% - var(--max)) / 2)); }
.home-page .home-hero .eyebrow { display: none; }
.hero-copy h1 { margin-bottom: 22px; font-size: clamp(3rem, 4.4vw, 4.6rem); letter-spacing: -.06em; }
.hero-copy h1 span { color: var(--orange); }
.hero-intro { max-width: 590px; font-size: 19px; }
.hero-support { max-width: 560px; margin: -8px 0 0; font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hero-image { position: relative; width: min(100%, 500px); height: clamp(340px, 34vw, 420px); min-height: 0; margin: 0; align-self: center; justify-self: end; }
.hero-image::before { content: ""; position: absolute; z-index: -1; inset: -20px 52px 72px -28px; background: var(--mist); border-radius: 12px 12px 120px 12px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; border-radius: 12px 12px 120px 12px; }
.hero-image figcaption { position: absolute; right: -1px; bottom: 0; padding: 14px 18px; background: var(--white); color: var(--slate); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero-marker { position: absolute; left: 51%; bottom: 25px; color: var(--gray); font: 700 clamp(5rem, 12vw, 10rem)/1 var(--font-heading); letter-spacing: -.08em; z-index: -1; }

.home-services { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); padding-bottom: 52px; }
.home-services .section-lead h2 { margin-bottom: 0; }
.service-index { border-top: 1px solid var(--gray); }
.service-row { min-height: 126px; display: grid; grid-template-columns: 48px minmax(190px, .6fr) minmax(260px, 1fr) auto; align-items: center; gap: 22px; border-bottom: 1px solid var(--gray); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.service-row:hover { padding-inline: 14px; background: var(--mist); }
.service-number { color: var(--orange); font-size: 12px; }
.service-row strong { display: block; margin: 0; font: 600 clamp(1.25rem, 1.7vw, 1.65rem)/1.2 var(--font-heading); letter-spacing: -.035em; }
.service-row small { color: var(--slate); font-size: 15px; line-height: 1.55; }

.process-section { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); border-top: 1px solid var(--gray); padding-top: 52px; }
.process-section .section-lead h2 { max-width: 360px; margin-bottom: 0; }
.process-list { margin: 0; padding: 0; counter-reset: item; list-style: none; }
.process-list li { display: grid; grid-template-columns: 48px 1fr; min-height: 0; padding: 26px 0; border-bottom: 1px solid var(--gray); align-items: start; }
.process-list span { color: var(--orange); font: 600 13px/1 var(--font-heading); }
.process-list p { max-width: 680px; margin: 0; color: var(--charcoal); font-size: 17px; line-height: 1.55; }

/* Homepage process timeline. The section heading keeps the original global h2 styling. */
.home-page .process-timeline { display: block; margin-top: clamp(28px, 3.5vw, 48px); padding-inline: clamp(28px, 4vw, 48px); border-radius: 40px; background: var(--mist); }
.home-page .process-timeline .section-lead { margin-bottom: 46px; }
.home-page .process-timeline .process-list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.home-page .process-timeline .process-list::before,
.home-page .process-timeline .process-list::after { content: ""; position: absolute; top: 24px; right: 12.5%; left: 12.5%; height: 2px; }
.home-page .process-timeline .process-list::before { background: var(--gray); }
.home-page .process-timeline .process-list::after { background: var(--orange); transform: scaleX(0); transform-origin: left; }
.home-page .process-timeline .process-list li { position: relative; z-index: 1; display: block; min-width: 0; padding: 0; border: 0; text-align: center; }
.home-page .process-timeline .process-list li > span { display: grid; width: 50px; height: 50px; margin: 0 auto 22px; place-items: center; border: 0; border-radius: 50%; background: var(--orange); color: var(--white); font: 600 13px/1 var(--font-heading); }
.home-page .process-timeline .process-list h3 { min-height: 2.5em; margin: 0 0 10px; font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.home-page .process-timeline .process-list p { max-width: 25ch; margin-inline: auto; color: var(--slate); font-size: 16px; }
.home-page .process-timeline.is-motion-ready .process-list li { opacity: 0; transform: translateY(24px); }
.home-page .process-timeline.is-visible .process-list::after { animation: process-line-load 2.25s ease forwards; }
.home-page .process-timeline.is-visible .process-list li { animation: process-step-load .55s ease forwards; }
.home-page .process-timeline.is-visible .process-list li:nth-child(1) { animation-delay: .12s; }
.home-page .process-timeline.is-visible .process-list li:nth-child(2) { animation-delay: .62s; }
.home-page .process-timeline.is-visible .process-list li:nth-child(3) { animation-delay: 1.12s; }
.home-page .process-timeline.is-visible .process-list li:nth-child(4) { animation-delay: 1.62s; }
@keyframes process-step-load {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes process-line-load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.statement-section { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; gap: clamp(48px, 7vw, 96px); width: min(calc(100% - 2 * var(--gutter)), 1320px); max-width: 1320px; padding-inline: clamp(32px, 5.5vw, 76px); border: 1px solid color-mix(in srgb, var(--orange) 13%, var(--gray)); border-radius: 40px; background: var(--white); color: var(--charcoal); }
.statement-section .section-lead, .statement-copy { position: relative; z-index: 2; }
.statement-section .section-lead h2 { max-width: 340px; margin: 0; color: var(--charcoal); font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.statement-copy { max-width: 720px; }
.statement-section .statement { margin-bottom: 26px; color: var(--charcoal); font: 600 clamp(1.75rem, 3vw, 2.65rem)/1.25 var(--font-heading); letter-spacing: -.04em; }
.statement-copy > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--slate); font-size: 18px; }
.statement-orbit { position: absolute; z-index: 1; right: -90px; top: -108px; width: 360px; height: 360px; border: 2px solid color-mix(in srgb, var(--orange) 16%, transparent); border-radius: 50%; animation: statement-orbit-spin 18s linear infinite; animation-play-state: paused; }
.statement-orbit span { position: absolute; display: block; border-radius: 50%; background: var(--orange); }
.statement-orbit span:first-child { top: 50%; left: -10px; width: 18px; height: 18px; box-shadow: 0 0 0 12px color-mix(in srgb, var(--orange) 8%, transparent); }
.statement-orbit span:last-child { right: 22px; bottom: 62px; width: 10px; height: 10px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--orange) 7%, transparent); }
.statement-section.is-visible .statement-orbit { animation-play-state: running; }
@keyframes statement-orbit-spin { to { transform: rotate(360deg); } }

.home-page .faq-section { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); border-top: 1px solid var(--gray); }
.home-page .faq-section .section-lead h2 { max-width: 360px; margin-bottom: 0; }

.cta-slice { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 9vw, 130px); align-items: end; }
.cta-slice h2 { margin-bottom: 0; }
.cta-slice > div:last-child { max-width: 520px; }
.cta-slice .button { margin-top: 16px; }

.page-hero { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: auto; padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: clamp(48px, 9vw, 130px); }
.page-hero h1 { max-width: 900px; margin-bottom: 0; }
.page-hero > p { margin-bottom: 12px; font-size: 19px; }

.about-page .about-hero {
  width: min(calc(100% - 2 * var(--gutter)), 1320px);
  min-height: 430px;
  margin: clamp(28px, 4vw, 48px) auto clamp(24px, 3vw, 40px);
  padding: clamp(48px, 6vw, 76px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
  border-radius: 40px;
  background: var(--mist);
}
.about-page .about-hero h1 { max-width: 650px; }
.about-hero-copy { max-width: 610px; padding-top: 36px; }
.about-hero-copy p { margin-bottom: 18px; font-size: 18px; line-height: 1.7; }
.about-hero-copy p:last-child { margin-bottom: 0; }
.about-page .about-story { padding-top: clamp(52px, 6vw, 72px); }

.founder-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 2 * var(--gutter)), 1320px);
  max-width: 1320px;
  margin-top: clamp(44px, 7vw, 84px);
  padding: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  border: 1px solid var(--gray);
  border-radius: 40px;
  background: var(--white);
}
.founder-dot-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--orange) 42%, transparent) 0 6px, transparent 7px),
    radial-gradient(circle, transparent 0 5px, color-mix(in srgb, var(--orange) 38%, transparent) 6px 7px, transparent 8px);
  background-position: 0 0, 66px 66px;
  background-size: 132px 132px;
  opacity: .7;
}
.founder-copy {
  max-width: 690px;
  padding: 22px;
  background: color-mix(in srgb, var(--white) 90%, transparent);
  backdrop-filter: blur(2px);
}
.founder-role {
  margin: 0 0 26px;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.founder-name {
  max-width: 650px;
  margin: 0 0 32px;
  font-size: clamp(68px, 7.2vw, 108px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.founder-name span { display: block; }
.founder-copy > p:last-child { max-width: 650px; margin-bottom: 0; font-size: 18px; line-height: 1.75; }
.founder-photo { position: relative; width: min(100%, 390px); margin: 0; justify-self: end; }
.founder-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--orange);
  border-radius: 16px 16px 96px 16px;
}
.founder-photo img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 16px 16px 96px 16px;
}

.about-story { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.image-window { margin: 0; position: relative; }
.image-window::after { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--orange); border-radius: 12px 12px 100px 12px; z-index: -1; }
.image-window img { min-height: 620px; object-fit: cover; border-radius: 12px 12px 100px 12px; }
.chapter { display: block; margin-bottom: 62px; color: var(--slate); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy p { font-size: 18px; }
.work-list { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 130px); background: var(--mist); width: 100%; max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.work-list ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--charcoal); }
.work-list li { padding: 26px 0; border-bottom: 1px solid color-mix(in srgb, var(--charcoal) 25%, transparent); font: 600 clamp(1.15rem, 2vw, 1.55rem)/1.3 var(--font-heading); letter-spacing: -.03em; }
.small-team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 9vw, 130px); }
.small-team p { align-self: end; font-size: 20px; }
.team-section { display: block; }
.team-intro {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 130px);
  margin-bottom: clamp(54px, 7vw, 86px);
}
.team-intro > p { align-self: end; margin: 0; font-size: 20px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
}
.team-card { min-width: 0; }
.team-portrait {
  position: relative;
  margin: 0 10px 26px 0;
}
.team-portrait::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  z-index: -1;
  border: 1.5px solid var(--orange);
  border-radius: 16px 16px 72px 16px;
}
.team-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 16px 16px 72px 16px;
  filter: grayscale(1);
}
.team-card-copy { padding: 0 4px; }
.team-card h3 { margin: 0 0 7px; font-size: clamp(22px, 2vw, 28px); }
.team-card p { margin: 0; color: var(--slate); font-size: 16px; }

.services-visual { width: min(calc(100% - 2 * var(--gutter)), 1400px); margin: 0 auto 60px; display: grid; grid-template-columns: minmax(0,1fr) 190px; align-items: end; }
.services-visual figure { margin: 0; }
.services-visual img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 12px 0 0 12px; }
.services-note { min-height: 210px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--orange); color: var(--white); font-weight: 600; }
.service-detail-list { padding-top: 64px; }
.service-detail-list article { display: grid; grid-template-columns: 90px 1fr; padding: 56px 0; border-top: 1px solid var(--gray); }
.service-detail-list article > span { color: var(--orange); font-size: 13px; }
.service-detail-list article > div { display: grid; grid-template-columns: .8fr 1fr auto; gap: 48px; align-items: start; }
.service-detail-list h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); }

.service-hero { position: relative; width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: auto; padding: clamp(72px, 11vw, 150px) 0 100px; display: grid; grid-template-columns: 120px 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.service-count { color: var(--gray); font: 700 clamp(4rem, 8vw, 7.8rem)/.8 var(--font-heading); letter-spacing: -.08em; }
.service-hero h1 { margin-bottom: 0; font-size: clamp(3.3rem, 6vw, 6rem); }
.service-intro p { font-size: 18px; }
.service-intro .button { margin-top: 16px; }
.capability-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 9vw, 130px); background: var(--mist); width: 100%; max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.capability-section ul { columns: 2; column-gap: 60px; margin: 0; padding: 0; list-style: none; }
.capability-section li { break-inside: avoid; min-height: 70px; padding: 20px 0; border-top: 1px solid color-mix(in srgb,var(--charcoal) 18%,transparent); font-weight: 500; }
.capability-section li span { margin-right: 20px; color: var(--orange); font-size: 11px; }
.service-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 9vw, 130px); align-items: center; }
.feature-mark { min-height: 440px; background: var(--orange); border-radius: 12px 12px 160px 12px; position: relative; overflow: hidden; }
.feature-mark::before, .feature-mark::after { content: ""; position: absolute; background: var(--mist); }
.feature-mark::before { width: 66%; height: 66%; right: -20%; top: -14%; border-radius: 50%; }
.feature-mark::after { width: 42%; height: 90%; left: 26%; top: 28%; transform: rotate(42deg); }
.service-feature > div:last-child { max-width: 600px; }
.service-feature > div:last-child p:not(.eyebrow) { font-size: 18px; }
.app-service .feature-mark { background: var(--blue); border-radius: 160px 12px 12px 12px; }
.app-service .feature-mark::after { transform: none; left: 30%; top: 18%; width: 40%; height: 64%; border-radius: 28px; background: var(--charcoal); box-shadow: inset 0 0 0 12px var(--white); }
.commerce-service .feature-mark { background: var(--warning); border-radius: 12px; }
.commerce-service .feature-mark::before { width: 62%; height: 44%; left: 19%; top: 28%; border-radius: 12px; background: var(--white); }
.commerce-service .feature-mark::after { width: 34%; height: 1px; left: 33%; top: 50%; transform: none; background: var(--charcoal); }
.software-service .feature-mark { background: var(--charcoal); border-radius: 12px 120px 12px 12px; }
.software-service .feature-mark::before { width: 26%; height: 26%; left: 16%; top: 18%; border-radius: 12px; background: var(--orange); box-shadow: 175px 80px 0 var(--blue), 60px 220px 0 var(--white); }
.software-service .feature-mark::after { display: none; }

.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(48px, 9vw, 130px); }
.faq-list { border-top: 1px solid var(--gray); }
.faq-list details { border-bottom: 1px solid var(--gray); }
.faq-list summary { min-height: 88px; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 16px; cursor: pointer; font: 600 18px/1.4 var(--font-heading); letter-spacing: -.025em; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--orange); font: 400 28px/1 var(--font-body); transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 700px; padding: 0 56px 28px 0; }

.blog-hero { padding-bottom: clamp(54px, 6vw, 82px); }
.blog-grid { width: 100%; max-width: 1120px; margin-inline: auto; padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 4vw, 52px) 22px; }
.blog-card { min-width: 0; display: flex; flex-direction: column; }
.blog-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: var(--mist); }
.blog-card-image::after { content: ""; position: absolute; inset: 0; border: 1px solid color-mix(in srgb, var(--charcoal) 10%, transparent); border-radius: inherit; pointer-events: none; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-copy { flex: 1; padding: 18px 4px 0; display: flex; flex-direction: column; align-items: flex-start; }
.blog-card-meta { width: 100%; margin-bottom: 13px; display: flex; align-items: center; gap: 14px; }
.blog-card-meta > span { color: var(--orange); font: 600 13px/1 var(--font-body); }
.blog-card-meta .eyebrow { margin: 0; }
.blog-card h2 { max-width: 500px; margin-bottom: 12px; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--orange); }
.blog-card-copy > p { max-width: 500px; margin-bottom: 18px; font-size: 15px; }
.blog-card .text-link { margin-top: auto; }
.topic-strip { width: 100%; max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--charcoal); }
.topic-strip > div { padding: 30px; background: var(--charcoal); border: 1px solid color-mix(in srgb,var(--white) 14%,transparent); }
.topic-strip span { color: var(--orange); font-weight: 600; }
.topic-strip p { margin: 20px 0 0; color: var(--gray); font-size: 14px; }

.article-shell { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: auto; padding: clamp(70px, 9vw, 130px) 0; }
.article-header { max-width: 920px; margin-left: 17%; padding-bottom: 100px; }
.article-header h1 { font-size: clamp(3.2rem, 6.2vw, 6.2rem); }
.article-lead { max-width: 760px; margin: 40px 0 0; font-size: 20px; }
.article-layout { display: grid; grid-template-columns: 270px minmax(0,720px); gap: clamp(48px, 8vw, 110px); justify-content: center; align-items: start; }
.article-layout aside { position: sticky; top: 104px; padding: 24px; border: 1px solid var(--gray); border-radius: 12px; }
.article-layout aside > span { font-weight: 600; }
.article-layout aside ol { margin: 18px 0 0; padding-left: 22px; }
.article-layout aside li { margin: 10px 0; color: var(--slate); font-size: 14px; }
.article-layout aside a { text-decoration: none; }
.article-layout aside a:hover { color: var(--orange); }
.article-body section { padding: 0 0 58px; scroll-margin-top: 100px; }
.article-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.article-body p, .article-body li { font-size: 18px; }
.article-body li { margin: 10px 0; color: var(--slate); }
.article-cta { padding-top: 30px; border-top: 1px solid var(--gray); }
.publishing-note { padding: 22px; margin: 12px 0 42px; background: var(--mist); border-left: 3px solid var(--warning); }
.publishing-note p { margin: 6px 0 0; }

.contact-layout { padding-top: 30px; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.contact-form { display: grid; gap: 24px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: grid; gap: 8px; color: var(--charcoal); font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--gray); border-radius: 8px; color: var(--charcoal); background: var(--white); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 3px solid color-mix(in srgb,var(--blue) 18%,transparent); }
.contact-form [aria-invalid="true"] { border-color: var(--error); }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-status { margin: 0; font-size: 13px; }
.form-status.is-success { color: var(--success); }
.contact-aside { position: sticky; top: 110px; padding: 36px; background: var(--charcoal); color: var(--white); border-radius: 12px 12px 80px 12px; }
.contact-aside h2 { font-size: 1.8rem; }
.contact-aside ul { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-aside li { padding: 16px 0; border-top: 1px solid color-mix(in srgb,var(--white) 18%,transparent); color: var(--gray); }

/* Shared page alignment --------------------------------------------------- */
/* WordPress can add empty paragraphs between grid children. They take up a
   grid cell and squeeze the real content into the wrong column. */
main p:empty { display: none; }

/* Use the homepage as the typography reference on every page. */
main h1,
main .page-hero h1,
main .service-hero h1,
main .article-header h1 {
  font-size: clamp(3rem, 4.4vw, 4.6rem);
  letter-spacing: -.06em;
}
body:not(.home-page) main h2 { font-size: clamp(2rem, 3vw, 3rem) !important; }

.page-hero {
  padding: clamp(72px, 7vw, 92px) 0 clamp(60px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.about-story,
.work-list,
.small-team,
.cta-slice,
.capability-section,
.service-feature,
.faq-section {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 80px);
}

.about-story {
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: clamp(48px, 5vw, 64px);
  align-items: center;
}
.image-window { width: min(100%, 500px); }
.image-window img {
  width: 100%;
  height: 420px;
  min-height: 0;
  object-fit: cover;
}
.chapter { margin-bottom: 28px; }

.services-visual {
  width: min(calc(100% - 2 * var(--gutter)), 670px);
  margin-bottom: 36px;
  grid-template-columns: minmax(0, 500px) 170px;
}
.services-visual img {
  width: 100%;
  height: 420px;
  max-height: none;
  object-fit: cover;
}
.services-note { height: 420px; }

.service-detail-list { padding-top: 36px; }
.service-detail-list article {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 40px 0;
}
.service-detail-list article > span { grid-column: 1; }
.service-detail-list article > div {
  grid-column: 2;
  min-width: 0;
  width: auto;
  grid-template-columns: minmax(230px, .75fr) minmax(320px, 1fr) minmax(150px, .45fr);
  gap: clamp(28px, 4vw, 48px);
}

.service-hero {
  padding: clamp(72px, 7vw, 92px) 0 76px;
  grid-template-columns: 80px minmax(0, 1fr) minmax(300px, 360px);
  gap: 48px;
  align-items: center;
}
.feature-mark { min-height: 360px; }

.article-shell { padding: clamp(72px, 7vw, 92px) 0; }
.article-header { margin-left: 0; max-width: 900px; padding-bottom: 72px; }
.article-layout { grid-template-columns: 260px minmax(0, 720px); gap: clamp(48px, 6vw, 80px); }

.contact-layout {
  padding-top: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(48px, 6vw, 80px);
}

@media (min-width: 768px) {
  .section { padding-block: clamp(56px, 5.5vw, 72px); }
}

.legal-shell, .not-found { width: min(calc(100% - 2 * var(--gutter)), 820px); margin: auto; padding: clamp(80px, 12vw, 180px) 0; }
.legal-shell h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.not-found { min-height: 70svh; text-align: center; }
.not-found > span { color: var(--orange); font: 700 clamp(6rem, 18vw, 12rem)/.8 var(--font-heading); letter-spacing: -.08em; }
.not-found h1 { margin-top: 40px; }

.site-footer.site-footer { width: 100%; max-width: none; margin: 0; padding: 0; background: var(--charcoal); color: var(--white); }
.footer-cta { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: auto; padding: 88px 0; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; border-bottom: 1px solid color-mix(in srgb,var(--white) 16%,transparent); }
.footer-cta .eyebrow { margin: 0; }
.footer-cta h2 { max-width: 620px; margin: 0; font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.footer-grid { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: auto; padding: 72px 0; display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 80px; }
.footer-brand img { width: 210px; margin-bottom: 28px; }
.footer-brand p { max-width: 500px; color: var(--gray); }
.footer-grid h3 { margin: 0 0 22px; color: var(--orange); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 10px 0; color: var(--gray); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: auto; padding: 22px 0; display: flex; justify-content: space-between; border-top: 1px solid color-mix(in srgb,var(--white) 12%,transparent); color: var(--gray); font-size: 12px; }

@media (max-width: 1023px) {
  :root { --gutter: 20px; }
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; justify-self: end; }
  .main-nav { position: fixed; top: var(--header); right: 0; bottom: 0; left: 0; width: 100vw; min-height: calc(100svh - var(--header)); padding: 40px var(--gutter); background: var(--white); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility .25s; }
  .main-nav a { width: 100%; padding: 20px 0; border-bottom: 1px solid var(--gray); font: 600 24px/1.2 var(--font-heading); }
  .nav-open .main-nav { transform: none; visibility: visible; pointer-events: auto; }
  .nav-cta { display: none; }
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-left: 0; }
  .hero-image { width: min(100%, 560px); height: 380px; min-height: 0; justify-self: center; }
  .home-services, .process-section, .faq-section, .capability-section { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 44px minmax(180px, .6fr) minmax(240px, 1fr) auto; }
  .statement-section { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .image-window { width: 82%; }
  .work-list { grid-template-columns: 1fr; }
  .service-detail-list article > div { grid-template-columns: .8fr 1.2fr; }
  .service-detail-list article .text-link { grid-column: 2; }
  .service-hero { grid-template-columns: 100px 1fr; }
  .service-intro { grid-column: 2; }
  .service-feature { grid-template-columns: .8fr 1.2fr; }
  .topic-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; --header: 64px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  main h1,
  main .page-hero h1,
  main .service-hero h1,
  main .article-header h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  body:not(.home-page) main h2 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
  .section { padding-block: 56px; }
  .brand { width: 136px; }
  .home-hero { padding: 32px 0 44px; gap: 36px; }
  .hero-copy h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .hero-intro { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-image { width: 90%; height: 280px; min-height: 0; }
  .hero-image::before { inset: -12px 26px 42px -10px; }
  .hero-marker { display: none; }
  .service-row { grid-template-columns: 36px 1fr auto; min-height: 108px; gap: 12px; }
  .service-row small { display: none; }
  .process-list li { grid-template-columns: 42px 1fr; padding-block: 18px; }
  .process-list p { font-size: 16px; }
  .home-page .process-timeline { margin-top: 24px; padding-inline: 26px; border-radius: 30px; }
  .home-page .process-timeline .section-lead { margin-bottom: 34px; }
  .home-page .process-timeline .process-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .home-page .process-timeline .process-list::before,
  .home-page .process-timeline .process-list::after { top: 0; right: auto; bottom: 0; left: 24px; width: 2px; height: auto; }
  .home-page .process-timeline .process-list::after { transform: scaleY(0); transform-origin: top; }
  .home-page .process-timeline .process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 0; text-align: left; }
  .home-page .process-timeline .process-list li > span { margin-bottom: 0; }
  .home-page .process-timeline .process-list h3 { min-height: 0; }
  .home-page .process-timeline .process-list p { max-width: none; margin-inline: 0; }
  .home-page .process-timeline.is-visible .process-list::after { animation-name: process-line-load-mobile; }
  .statement-section { display: block; padding-inline: 28px; border-radius: 30px; }
  .statement-section > * { margin-bottom: 30px; }
  .statement-orbit { right: -92px; top: -74px; width: 230px; height: 230px; }
  .statement-section > .statement-orbit { margin-bottom: 0; }
  .cta-slice { grid-template-columns: 1fr; }
  .page-hero { padding-top: 64px; }
  .about-page .about-hero {
    min-height: 0;
    margin-top: 20px;
    padding: 38px 24px;
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 30px;
  }
  .about-hero-copy { padding-top: 20px; }
  .about-hero-copy p { font-size: 16px; }
  .founder-section {
    padding: 34px 24px 50px;
    grid-template-columns: 1fr;
    gap: 38px;
    border-radius: 30px;
  }
  .founder-role { margin-bottom: 20px; font-size: 20px; }
  .founder-name { margin-bottom: 26px; font-size: clamp(50px, 16vw, 68px); }
  .founder-copy { padding: 12px; }
  .founder-copy > p:last-child { font-size: 16px; }
  .founder-photo { width: calc(100% - 20px); justify-self: start; }
  .founder-photo img { height: 410px; }
  .image-window { width: calc(100% - 18px); }
  .image-window img { min-height: 460px; }
  .chapter { margin-bottom: 36px; }
  .small-team { grid-template-columns: 1fr; }
  .team-intro { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-visual { grid-template-columns: 1fr; }
  .services-visual img { height: 280px; border-radius: 12px 12px 0 0; }
  .services-note { height: auto; min-height: auto; flex-direction: row; padding: 20px; }
  .service-detail-list article { grid-template-columns: 48px 1fr; }
  .service-detail-list article > div { display: block; }
  .service-detail-list article p { margin-top: 18px; }
  .service-hero { grid-template-columns: 1fr; padding-top: 62px; }
  .service-count { position: absolute; right: 0; top: 60px; font-size: 5rem; }
  .service-intro { grid-column: auto; }
  .capability-section ul { columns: 1; }
  .service-feature { grid-template-columns: 1fr; }
  .feature-mark { min-height: 300px; }
  .faq-list summary { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 48px; }
  .blog-card-image { border-radius: 20px; }
  .blog-card-copy { padding-top: 20px; }
  .topic-strip { grid-template-columns: 1fr; }
  .article-header { margin-left: 0; padding-bottom: 70px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-layout aside { position: static; }
  .article-body p, .article-body li { font-size: 16px; }
  .contact-layout { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .footer-cta { grid-template-columns: 1fr; padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-portrait { width: calc(100% - 12px); }
}

@media (prefers-reduced-motion: reduce) {
  .statement-orbit { animation: none; }
}

@keyframes process-line-load-mobile {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .process-timeline.is-motion-ready .process-list li { opacity: 1; transform: none; }
  .home-page .process-timeline.is-visible .process-list::after { transform: none; animation: none; }
  .home-page .process-timeline.is-visible .process-list li { animation: none; }
}

/* Homepage header and hero reference layout ------------------------------ */
.site-header { height: 92px; }
.nav-shell { width: min(calc(100% - 2 * var(--gutter)), 1400px); grid-template-columns: 210px 1fr auto; }
.brand { width: 180px; }
.main-nav a[href="/"],
.main-nav a[href$="/stagging/"] { display: none; }
.main-nav a[href*="/about/"] { order: 1; font-size: 0; }
.main-nav a[href*="/about/"]::before { content: "About us"; font-size: 14px; }
.main-nav a[href*="/services/"] { order: 2; }
.main-nav a[href*="/blog/"] { order: 3; }
.main-nav a[href*="/contact/"] { order: 4; }
.nav-cta {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
}

.home-page .reference-hero {
  width: min(calc(100% - 2 * var(--gutter)), 1400px);
  min-height: auto;
  margin: 30px auto 70px;
  padding: clamp(44px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: clamp(44px, 5vw, 64px);
  border-radius: 40px;
  background: var(--mist);
}
.home-page .reference-hero .hero-copy { padding-left: 0; }
.home-page .reference-hero .eyebrow { display: block; margin-bottom: 26px; }
.home-page .reference-hero h1 { margin-bottom: 28px; }
.home-page .reference-hero h1 span { color: inherit; }
.home-page .reference-hero .hero-intro { max-width: 590px; margin-bottom: 0; }
.home-page .reference-hero .hero-actions { margin-top: 36px; }
.home-page .reference-hero .button-dark { border-radius: 999px; background: var(--orange); border-color: var(--orange); }
.home-page .reference-hero .hero-image {
  width: 500px;
  max-width: 100%;
  height: 420px;
  margin: 0;
  justify-self: end;
}
.home-page .reference-hero .hero-image::before { display: none; }
.home-page .reference-hero .hero-image img { border-radius: 24px; }
.home-page .reference-hero .hero-image figcaption { display: none; }

/* Homepage service cards -------------------------------------------------- */
.home-page .home-services {
  display: block;
  width: 100%;
  max-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  background: var(--mist);
}
.home-page .home-services .section-lead {
  max-width: 680px;
  margin-bottom: 38px;
}
.home-page .home-services .section-lead h2 { max-width: 520px; }
.home-page .service-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  gap: 22px;
  border: 0;
}
.home-page .service-row {
  min-height: 200px;
  display: block;
  position: relative;
  padding: 24px 26px;
  border: 3px solid var(--charcoal);
  border-radius: 40px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--charcoal);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-page .service-row:hover {
  padding: 24px 26px;
  background: var(--white);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--orange);
}
.home-page .service-number {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 3px solid var(--charcoal);
  border-radius: 12px;
  background: var(--orange);
  color: var(--charcoal);
  font: 700 14px/1 var(--font-heading);
}
.home-page .service-row strong {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.home-page .service-row small {
  display: block;
  max-width: 470px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.55;
}
.home-page .service-row svg { display: none; }

@media (max-width: 1023px) {
  .site-header { height: var(--header); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .main-nav a[href*="/about/"]::before { font-size: 24px; }
  .home-page .reference-hero { grid-template-columns: 1fr; }
  .home-page .reference-hero .hero-image { justify-self: start; }
}

@media (max-width: 767px) {
  .brand { width: 145px; }
  .home-page .reference-hero { margin-top: 16px; padding: 28px 22px; border-radius: 24px; gap: 34px; }
  .home-page .reference-hero .hero-image { width: 100%; height: 280px; }
  .home-page .reference-hero .hero-actions { gap: 18px; margin-top: 28px; }
  .home-page .home-services .section-lead { margin-bottom: 30px; }
  .home-page .service-index { grid-template-columns: 1fr; gap: 18px; }
  .home-page .service-row { min-height: 0; padding: 22px; border-radius: 32px; }
  .home-page .service-row:hover { padding: 22px; }
  .home-page .service-row small { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Keep the approved Orbit Trail above the older WordPress Additional CSS copy. */
.home-page main .statement-section { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; gap: clamp(48px, 7vw, 96px); width: min(calc(100% - 2 * var(--gutter)), 1320px); max-width: 1320px; margin-top: clamp(28px, 3.5vw, 48px); padding-inline: clamp(32px, 5.5vw, 76px); border: 1px solid color-mix(in srgb, var(--orange) 13%, var(--gray)); border-radius: 40px; background: var(--white); color: var(--charcoal); }
.home-page main .statement-section .section-lead h2 { color: var(--charcoal); }
.home-page main .statement-section .statement { color: var(--charcoal); }
.home-page main .statement-section .statement-copy > p:last-child { color: var(--slate); }

@media (max-width: 980px) {
  .home-page main .statement-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .home-page main .statement-section { display: block; margin-top: 24px; padding-inline: 28px; border-radius: 30px; }
}

/* Homepage FAQ card layout. Scoped strongly to stay above older WordPress Additional CSS. */
.home-page main .faq-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  width: min(calc(100% - 2 * var(--gutter)), 1320px);
  max-width: 1320px;
  margin-top: clamp(28px, 3.5vw, 48px);
  padding-inline: clamp(32px, 5.5vw, 76px);
  border: 1px solid color-mix(in srgb, var(--orange) 14%, var(--gray));
  border-radius: 40px;
  background: var(--mist);
}
.home-page main .faq-section .section-lead {
  position: relative;
  z-index: 1;
}
.home-page main .faq-section .section-lead h2 {
  max-width: 360px;
  margin-bottom: 0;
}
.home-page main .faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  border: 0;
}
.home-page main .faq-list details {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--charcoal) 8%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.home-page main .faq-list details:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--orange) 28%, transparent);
}
.home-page main .faq-list details[open] {
  border-color: color-mix(in srgb, var(--orange) 22%, transparent);
  background: var(--white);
}
.home-page main .faq-list summary {
  min-height: 82px;
  padding: 22px 26px;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 20px;
  font-size: 18px;
}
.home-page main .faq-list summary span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: var(--mist);
  color: var(--orange);
  font-size: 24px;
}
.home-page main .faq-list details[open] summary span {
  background: var(--orange);
  color: var(--white);
}
.home-page main .faq-list details p {
  max-width: 720px;
  margin: 0;
  padding: 0 74px 26px 26px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .home-page main .faq-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .home-page main .faq-section {
    display: block;
    margin-top: 24px;
    padding-inline: 24px;
    border-radius: 30px;
  }
  .home-page main .faq-section .section-lead { margin-bottom: 30px; }
  .home-page main .faq-list summary { min-height: 72px; padding: 18px; font-size: 16px; }
  .home-page main .faq-list details p { padding: 0 64px 22px 18px; }
}

/* Services and contact pages -------------------------------------------- */
.services-page .services-hero-panel {
  width: min(calc(100% - 2 * var(--gutter)), 1400px);
  margin: 30px auto 0;
  padding: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  align-items: center;
  gap: clamp(44px, 5vw, 64px);
  border-radius: 40px;
  background: var(--mist);
}
.services-hero-copy h1 { max-width: 760px; margin-bottom: 24px; }
.services-hero-copy > p:not(.eyebrow) { max-width: 610px; margin-bottom: 0; font-size: 18px; }
.services-hero-copy .button { margin-top: 34px; border-radius: 999px; background: var(--orange); border-color: var(--orange); }
.services-hero-image { width: 100%; height: 420px; margin: 0; overflow: hidden; border-radius: 24px; outline: 1px solid color-mix(in srgb, var(--charcoal) 8%, transparent); outline-offset: -1px; }
.services-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.services-page .service-detail-section { padding-top: clamp(64px, 7vw, 88px); }
.service-detail-heading { margin-bottom: 38px; }
.service-detail-heading h2 { max-width: 720px; margin-bottom: 0; }
.service-card-grid { width: 100%; max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { min-width: 0; min-height: 300px; padding: 28px 30px 30px; display: flex; flex-direction: column; border: 3px solid var(--charcoal); border-radius: 40px; background: var(--white); box-shadow: 6px 6px 0 var(--charcoal); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--orange); }
.service-card-number { width: 48px; height: 48px; margin-bottom: 20px; display: grid; place-items: center; border: 3px solid var(--charcoal); border-radius: 12px; background: var(--orange); color: var(--charcoal); font: 700 14px/1 var(--font-heading); }
.service-card h3 { margin-bottom: 12px; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.service-card p { max-width: 500px; margin-bottom: 24px; font-size: 16px; }
.service-card .text-link { margin-top: auto; }
.services-page .cta-slice { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin-top: 24px; padding: clamp(44px, 5vw, 64px); border-radius: 40px; background: var(--mist); }
.services-page .cta-slice .button { border-radius: 999px; background: var(--orange); border-color: var(--orange); }

.contact-page .contact-hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 2 * var(--gutter)), 1200px);
  min-height: 390px;
  margin: 30px auto 0;
  padding: clamp(44px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
  border-radius: 40px;
  background: var(--mist);
}
.contact-page .contact-hero-panel h1 { max-width: 720px; margin-bottom: 0; }
.contact-hero-copy { position: relative; z-index: 1; min-height: 210px; display: flex; align-items: center; }
.contact-hero-copy > p { max-width: 480px; margin: 0; font-size: 18px; }
.contact-orbit { position: absolute; z-index: -1; right: -92px; bottom: -150px; width: 290px; height: 290px; border: 2px solid color-mix(in srgb, var(--orange) 30%, transparent); border-radius: 50%; }
.contact-orbit::before { content: ""; position: absolute; inset: 44px; border: 2px solid color-mix(in srgb, var(--orange) 18%, transparent); border-radius: 50%; }
.contact-orbit span { position: absolute; display: block; border-radius: 50%; background: var(--orange); }
.contact-orbit span:first-child { top: 48px; left: 12px; width: 16px; height: 16px; }
.contact-orbit span:last-child { right: 54px; bottom: 24px; width: 10px; height: 10px; }

.contact-page .contact-layout { width: min(calc(100% - 2 * var(--gutter)), 1120px); padding-top: clamp(64px, 7vw, 88px); grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); gap: 22px; }
.contact-page .contact-form { padding: clamp(28px, 4vw, 42px); border: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent); border-radius: 32px; background: var(--white); }
.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea { border-color: color-mix(in srgb, var(--charcoal) 14%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--mist) 48%, var(--white)); font-size: 16px; }
.contact-page .contact-form textarea { min-height: 180px; }
.contact-page .contact-submit { min-height: 50px; padding-inline: 22px; border-radius: 999px; background: var(--orange); border-color: var(--orange); }
.contact-page .contact-submit:hover { background: var(--charcoal); border-color: var(--charcoal); }
.contact-page .form-status { max-width: 620px; font-size: 13px; }
.contact-page .contact-aside { top: 116px; padding: 34px; border-radius: 32px; }
.contact-page .contact-aside h2 { margin-bottom: 0; font-size: 1.75rem !important; }
.contact-page .contact-aside li { position: relative; padding: 16px 0 16px 32px; }
.contact-page .contact-aside li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }

@media (max-width: 1023px) {
  .services-page .services-hero-panel { grid-template-columns: 1fr; }
  .services-hero-image { width: min(100%, 560px); justify-self: start; }
  .contact-page .contact-hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .contact-hero-copy { min-height: 150px; }
  .contact-page .contact-layout { grid-template-columns: 1fr; }
  .contact-page .contact-aside { position: static; }
}

@media (max-width: 767px) {
  .services-page .services-hero-panel,
  .contact-page .contact-hero-panel { margin-top: 20px; padding: 38px 24px; border-radius: 30px; gap: 32px; }
  .services-hero-copy > p:not(.eyebrow), .contact-hero-copy > p { font-size: 16px; }
  .services-hero-image { height: 280px; border-radius: 20px; }
  .service-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { min-height: 0; padding: 24px; border-radius: 32px; }
  .services-page .cta-slice { margin-top: 16px; padding: 38px 24px; border-radius: 30px; }
  .contact-hero-copy { min-height: 130px; }
  .contact-orbit { right: -100px; bottom: -176px; }
  .contact-page .contact-form { padding: 24px; border-radius: 26px; }
  .contact-page .contact-aside { padding: 28px 24px; border-radius: 26px; }
}
