:root {
  --ink: #071123;
  --ink-soft: #334156;
  --night: #071123;
  --night-2: #101b2f;
  --paper: #f5f7f1;
  --paper-2: #eef2eb;
  --line: rgba(7, 17, 35, .13);
  --line-light: rgba(255, 255, 255, .14);
  --green: #3c9c70;
  --green-dark: #1e704e;
  --mint: #d9f2e3;
  --blue: #9ad7ea;
  --orange: #ffb873;
  --white: #fff;
  --shadow: 0 20px 60px rgba(7, 17, 35, .13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 116px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-150%); background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(7, 17, 35, .95); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; color: var(--white); line-height: 1; }
.official-logo { display: block; width: 132px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-nav a:not(.nav-cta) { color: rgba(255, 255, 255, .78); transition: color .2s ease; }
.site-nav a:not(.nav-cta):hover { color: var(--white); }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; background: var(--white); color: var(--ink); padding: 13px 19px; border-radius: 999px; letter-spacing: .1em; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }

.hero { padding-top: 184px; padding-bottom: 0; background: radial-gradient(circle at 85% 10%, rgba(189, 231, 213, .62), transparent 28%), var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: 54px; }
.eyebrow { margin: 0 0 24px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-dark { color: var(--ink-soft); }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #66d094; box-shadow: 0 0 0 5px rgba(102, 208, 148, .14); vertical-align: middle; }
.status-dot-blue { background: var(--blue); box-shadow: 0 0 0 5px rgba(154, 215, 234, .12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif; }
h1, h2 { letter-spacing: -.06em; line-height: .98; }
h1 { max-width: 650px; margin-bottom: 28px; font-size: clamp(46px, 4.8vw, 70px); font-weight: 800; }
h1 > span, h1 > em { display: block; }
h1 em { max-width: 590px; margin-top: .08em; font-size: .8em; line-height: 1; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-lede { max-width: 590px; margin-bottom: 34px; color: var(--ink-soft); font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 11px; padding: 16px 22px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--white); box-shadow: 0 9px 24px rgba(60, 156, 112, .2); }
.button-primary:hover { background: var(--green-dark); box-shadow: 0 12px 28px rgba(60, 156, 112, .28); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, .52); }
.button-secondary:hover { background: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: 3px; }
.hero-proof strong { font-size: 14px; letter-spacing: .12em; }
.hero-proof span { color: #697487; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.workflow-card { min-height: 560px; position: relative; overflow: hidden; border-radius: 26px; color: var(--white); background: linear-gradient(142deg, #14243b, #081124 72%); box-shadow: var(--shadow); }
.workflow-card::before { content: ""; position: absolute; inset: 74px 0 0; background: linear-gradient(transparent 96%, rgba(146, 181, 205, .13) 97%), linear-gradient(90deg, transparent 96%, rgba(146, 181, 205, .1) 97%); background-size: 100% 46px, 46px 100%; opacity: .7; mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent); }
.workflow-topline, .workflow-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 22px 30px; color: #9aa8bb; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.workflow-topline { border-bottom: 1px solid var(--line-light); }
.workflow-topline span:first-child, .workflow-footer { color: #bed3c7; }
.workflow-body { position: relative; z-index: 1; padding: 58px 54px 42px; }
.card-kicker { margin-bottom: 20px; color: #6fc598; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.workflow-body h2 { max-width: 390px; margin-bottom: 42px; font-size: clamp(34px, 4.2vw, 54px); }
.workflow-steps { display: grid; gap: 15px; }
.workflow-step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; padding: 17px 18px; border: 1px solid rgba(152, 179, 207, .14); border-radius: 18px; color: #8491a5; }
.workflow-step.is-active { border-color: rgba(115, 205, 164, .65); background: rgba(115, 205, 164, .1); color: var(--white); }
.workflow-step > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(152, 179, 207, .25); border-radius: 50%; color: #68c694; font-size: 11px; font-weight: 900; }
.workflow-step h3 { margin-bottom: 4px; font-size: 14px; letter-spacing: -.02em; }
.workflow-step p { margin: 0; color: #8390a5; font-size: 12px; line-height: 1.45; }
.workflow-step.is-active p { color: #aebbc9; }
.workflow-footer { position: absolute; inset: auto 0 0; border-top: 1px solid var(--line-light); }
.service-ribbon { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 40px; color: #718093; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.service-ribbon span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border: 2px solid var(--green); border-radius: 50%; vertical-align: 1px; }

.capability-section { background: var(--paper-2); }
.capability-heading { margin-bottom: 48px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.capability-card { min-height: 274px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .72); }
.capability-index { margin-bottom: 58px; color: var(--green-dark); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.capability-card h3 { max-width: 230px; margin-bottom: 12px; font-size: 21px; letter-spacing: -.04em; line-height: 1.08; }
.capability-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.capability-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; margin-top: 24px; padding: 22px 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-note > span { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.capability-note p { max-width: 490px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.capability-note .text-link { margin-top: 0; white-space: nowrap; }

.intro-section, .work-section { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 100px; align-items: start; }
h2 { margin-bottom: 26px; font-size: clamp(42px, 5vw, 68px); }
.intro-copy { padding-top: 40px; color: var(--ink-soft); }
.lead-text { color: var(--ink); font-size: 21px; line-height: 1.45; }
.text-link, .work-meta a, .service-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--green-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.text-link:hover, .work-meta a:hover, .service-card a:hover { color: var(--green); }

.services-section { background: var(--paper); }
.section-heading { margin-bottom: 56px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: 72px; align-items: end; }
.split-heading > p { max-width: 450px; margin-bottom: 5px; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 430px; display: flex; flex-direction: column; position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .55); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.service-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: var(--shadow); }
.service-card-featured { background: var(--night); color: var(--white); }
.service-card-featured:hover { background: var(--night-2); }
.service-number { position: absolute; top: 31px; right: 30px; color: #8290a3; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 45px; border-radius: 16px; background: var(--mint); color: var(--green-dark); font-size: 25px; }
.service-card-featured .service-icon { background: #1c3a35; color: #8bdeb0; }
.service-card h3 { max-width: 240px; margin-bottom: 12px; font-size: 22px; letter-spacing: -.04em; }
.service-card-summary { min-height: 0 !important; margin-bottom: 22px !important; color: var(--ink-soft); font-size: 14px; }
.service-card-details { display: grid; gap: 13px; margin-top: auto; }
.service-card-details p { min-height: 0 !important; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.service-card-details strong { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.service-card-featured p { color: #b8c3d0; }
.service-card-featured .service-card-details strong { color: #8bdeb0; }
.service-card-featured a { color: #8bdeb0; }

.approach-section { background: var(--night); color: var(--white); }
.approach-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: 100px; }
.approach-intro .eyebrow { color: #79d19e; }
.approach-intro h2 { max-width: 560px; }
.approach-intro h2 em { color: #7bd19e; }
.approach-intro > p:not(.eyebrow) { max-width: 480px; margin-bottom: 36px; color: #aeb9c9; }
.approach-list { border-top: 1px solid var(--line-light); }
.approach-list article { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line-light); }
.approach-list article > span { color: #75c99a; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.approach-list h3 { margin-bottom: 8px; font-size: 22px; letter-spacing: -.04em; }
.approach-list p { max-width: 460px; margin: 0; color: #97a4b7; font-size: 14px; }

.work-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.work-art { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--night); color: var(--white); }
.work-art-heading { display: grid; gap: 7px; }
.work-art-heading span:first-child, .work-art > span:first-child { color: #80d3a2; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.work-art-heading span:last-child { color: rgba(255, 255, 255, .72); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.work-art strong { font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif; font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.06em; line-height: .94; }
.payment-title { display: grid; gap: 7px; text-transform: uppercase; }
.payment-title span:last-child { color: #a4e6bd; font-size: .5em; letter-spacing: .1em; line-height: 1; }
.payment-title span:last-child::before { content: ""; display: inline-block; width: 23px; height: 1px; margin: 0 11px 5px 0; background: currentColor; opacity: .7; vertical-align: middle; }
.tax-title { display: flex; align-items: baseline; gap: .22em; }
.tax-title small { color: #9ad7ea; font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif; font-size: .3em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.work-chip { align-self: flex-start; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; color: #aebdcc !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .04em !important; }
.work-art-payment { background: linear-gradient(140deg, #205541, #071123 70%); }
.work-art-tax { background: linear-gradient(140deg, #213b62, #071123 74%); }
.work-art-system { background: linear-gradient(140deg, #653d2c, #071123 74%); }
.tax-lines { display: grid; gap: 10px; width: 80%; }
.tax-lines i { display: block; height: 8px; border-radius: 10px; background: rgba(154, 215, 234, .35); }
.tax-lines i:nth-child(2) { width: 72%; background: rgba(255, 184, 115, .55); }
.tax-lines i:nth-child(3) { width: 53%; background: rgba(255, 255, 255, .22); }
.system-window { display: grid; gap: 9px; padding: 17px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 14px; background: rgba(7, 17, 35, .42); font-size: 11px; }
.system-window b { margin-bottom: 5px; font-size: 15px; }
.system-window span { display: flex; justify-content: space-between; color: #b5bfcc; }
.system-window em { color: #8fd6ab; font-style: normal; }
.work-meta { padding: 27px 28px 29px; }
.work-meta > span { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.work-meta h3 { margin: 10px 0 12px; font-size: 24px; letter-spacing: -.04em; line-height: 1.08; }
.work-meta p { min-height: 88px; margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.case-study-facts { display: grid; gap: 14px; margin: 23px 0 2px; padding-top: 20px; border-top: 1px solid var(--line); }
.case-study-facts > div { display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: start; }
.case-study-facts > div > span { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.case-study-facts p { min-height: 0; font-size: 13px; line-height: 1.48; }
.work-meta .case-study-facts + a { margin-top: 25px; }

.stack-section { background: var(--paper-2); }
.stack-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; align-items: center; }
.stack-grid > div > p:last-child { max-width: 420px; color: var(--ink-soft); }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list span { padding: 15px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 800; }

.contact-section { background: #dff2e5; }
.contact-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 110px; align-items: center; }
.contact-grid > div:first-child p:last-child { max-width: 520px; color: var(--ink-soft); font-size: 18px; }
.contact-panel { display: grid; gap: 16px; padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 15px 45px rgba(30, 112, 78, .12); }
.contact-panel-label { color: #718093; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-panel-copy { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.contact-details { display: grid; gap: 12px; margin: 2px 0 0; padding: 16px 0 3px; border-top: 1px solid var(--line); font-style: normal; }
.contact-details div { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.contact-details span { color: #718093; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-details a { color: var(--ink); font-size: 15px; font-weight: 800; }
.contact-details a:hover { color: var(--green-dark); }
.contact-panel-note { margin: 0; color: #718093; font-size: 11px; line-height: 1.5; }
.contact-panel .button { width: 100%; margin-top: 4px; }

.site-footer { padding: 70px 0 26px; background: var(--night); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 70px; }
.brand-footer { margin-bottom: 20px; }
.site-footer p { color: #9eabbd; font-size: 14px; }
.footer-copy { max-width: 430px; }
.footer-tagline { margin-bottom: 10px; color: var(--white) !important; font-size: 16px !important; font-weight: 700; letter-spacing: -.02em; }
.footer-description { max-width: 410px; margin-bottom: 0; line-height: 1.65; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; justify-self: end; min-width: min(100%, 340px); }
.footer-links > div { display: grid; align-content: start; gap: 11px; }
.footer-label { margin-bottom: 4px; color: #78cc9a !important; font-size: 10px !important; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a { width: fit-content; color: #b3bfcc; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 22px; border-top: 1px solid var(--line-light); color: #8290a4; font-size: 11px; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 1000px) {
  .hero-grid, .approach-grid { gap: 48px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card-large { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .contact-grid, .stack-grid { gap: 54px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: grid; gap: 5px; }
  .menu-line { display: block; width: 25px; height: 2px; background: currentColor; }
  .site-nav { position: absolute; inset: 68px 0 auto; display: none; padding: 22px 18px 26px; background: var(--night); border-top: 1px solid var(--line-light); box-shadow: 0 15px 25px rgba(0, 0, 0, .18); }
  .site-nav.is-open { display: grid; gap: 20px; }
  .nav-cta { justify-content: center; margin-top: 5px; }
  .hero { padding-top: 134px; }
  .hero-grid, .intro-grid, .split-heading, .approach-grid, .stack-grid, .contact-grid { grid-template-columns: 1fr; }
  .workflow-card { min-height: 510px; }
  .service-ribbon { flex-wrap: wrap; padding-top: 24px; }
  .capability-note { grid-template-columns: 1fr; gap: 12px; }
  .capability-note .text-link { width: fit-content; }
  .intro-copy { padding-top: 0; }
  .split-heading { gap: 0; }
  .split-heading > p { margin-top: -22px; }
  .stack-grid { gap: 35px; }
  .contact-grid { gap: 35px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; padding-bottom: 44px; }
  .footer-links { justify-self: start; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(47px, 13vw, 68px); }
  h2 { font-size: clamp(39px, 12vw, 58px); }
  .hero-proof { gap: 20px; }
  .hero-proof div { min-width: 105px; }
  .workflow-body { padding: 42px 24px 30px; }
  .workflow-topline, .workflow-footer { padding-left: 20px; padding-right: 20px; }
  .workflow-step { grid-template-columns: 35px 1fr; gap: 11px; padding: 14px; }
  .workflow-step > span { width: 34px; height: 34px; }
  .capability-grid, .service-grid, .work-grid { grid-template-columns: 1fr; }
  .work-card-large { grid-column: auto; display: block; }
  .service-card { min-height: auto; }
  .service-card p, .work-meta p { min-height: 0; }
  .work-art { min-height: 235px; }
  .footer-links { min-width: 0; width: 100%; }
  .footer-bottom { display: grid; }
}

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