:root {
  --ink: #010205;
  --paper: #f9f9f9;
  --panel: #e7e7e7;
  --muted: #707070;
  --acid: #d0ff71;
  --blue: #abc2eb;
  --gray: #a1a4a7;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.site-header { padding: 30px 0 14px; position: relative; z-index: 20; }
.nav-shell {
  min-height: 100px;
  padding: 0 30px 0 46px;
  border-radius: 12px;
  background: #e3e3e3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; font-size: 21px; font-weight: 700; letter-spacing: -1.5px; width: max-content; }
.brand-mark { font-size: 25px; margin-right: 2px; transform: translateY(-1px); }
.brand-accent { position: relative; z-index: 0; }
.brand-accent::after { content: ""; position: absolute; inset: 57% -2px 4% -1px; background: var(--acid); z-index: -1; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: .88rem; text-transform: uppercase; letter-spacing: .025em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: .5; }
.nav-cta { justify-self: end; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; font-size: 1.3rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: .85rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-acid { background: var(--acid); border-color: transparent; }
.button-arrow::after { content: "↗"; font-size: 1rem; }
.button-circle { width: 32px; min-height: 32px; padding: 0; }

.eyebrow { display: flex; align-items: center; gap: 7px; font-size: .98rem; margin-bottom: 22px; }
.dots { display: inline-flex; }
.dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ink); display: block; }
.dot:first-child { background: var(--ink); margin-right: -1px; }
h1, h2, h3, p { margin-top: 0; }
.display { font-size: clamp(3.05rem, 5.25vw, 5.4rem); line-height: .98; letter-spacing: -.065em; font-weight: 500; }
.section-title { font-size: clamp(2.6rem, 4.6vw, 4.8rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 500; }
.lede { color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.section { padding: 96px 0; }
.section-tight { padding: 66px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }

.hero { padding: 50px 0 86px; min-height: 600px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.hero-copy .display { max-width: 650px; }
.service-stack { display: grid; gap: 10px; }
.service-card { border-radius: 15px; overflow: hidden; background: var(--blue); }
.service-card:nth-child(2) { background: var(--gray); }
.service-card:nth-child(3) { background: var(--acid); }
.service-card:nth-child(4) { background: var(--ink); color: white; }
.service-card button { width: 100%; border: 0; color: inherit; background: transparent; padding: 22px; display: flex; justify-content: space-between; align-items: center; text-align: left; font-size: clamp(1.35rem, 2.2vw, 2rem); cursor: pointer; }
.service-card button span:last-child { width: 31px; height: 31px; border-radius: 50%; background: rgba(255,255,255,.86); color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.service-card .service-body { display: none; padding: 34px 22px 22px; max-width: 580px; }
.service-card.open .service-body { display: block; }
.service-card.open button span:last-child { transform: rotate(45deg); }
.service-body strong { display: block; margin-bottom: 3px; }

.statement { background: var(--ink); color: white; border-radius: 30px; padding: 82px; }
.statement .section-title { max-width: 880px; }
.statement .button { border-color: white; color: white; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #2a2a2a; border-radius: 20px; overflow: hidden; margin-top: 18px; }
.metric { background: var(--ink); color: white; padding: 44px; }
.metric strong { display: block; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.metric span { color: #aaa; }

.section-head { display: grid; grid-template-columns: 1fr .8fr; gap: 48px; align-items: end; margin-bottom: 50px; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { min-height: 260px; border-radius: var(--radius); padding: 32px; background: #ededed; display: flex; flex-direction: column; justify-content: space-between; }
.feature-card:nth-child(2) { background: var(--blue); }
.feature-card:nth-child(3) { background: var(--acid); }
.feature-card:nth-child(4) { background: var(--ink); color: white; }
.feature-card h3 { font-size: 1.65rem; font-weight: 500; letter-spacing: -.035em; }
.feature-card p { color: inherit; opacity: .68; max-width: 480px; }
.round-link { width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; align-self: end; }

.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; }
.faq-list { border-top: 1px solid #d4d4d4; }
.faq-item { border-bottom: 1px solid #d4d4d4; }
.faq-q { width: 100%; padding: 22px 0; border: 0; background: transparent; display: flex; justify-content: space-between; gap: 20px; text-align: left; font-weight: 600; cursor: pointer; }
.faq-a { display: none; padding: 0 36px 24px 0; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); }

.photo-band { height: 520px; border-radius: 24px; overflow: hidden; background: #ddd; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 46px; }
.value { padding: 28px; min-height: 230px; border-radius: 16px; background: #ededed; }
.value:nth-child(2) { background: var(--blue); }
.value:nth-child(3) { background: var(--acid); }
.value:nth-child(4) { background: var(--ink); color: white; }
.value .number { opacity: .5; font-size: .8rem; margin-bottom: 70px; }
.value h3 { font-size: 1.3rem; font-weight: 500; }
.value p { font-size: .9rem; opacity: .72; }

.page-hero { padding: 50px 0 82px; }
.page-hero .display { max-width: 1050px; }
.page-hero .lede { max-width: 900px; color: var(--ink); }
.services-stage { background: var(--ink); color: white; border-radius: 28px; padding: 74px; }
.services-stage .card-grid { margin-top: 50px; }
.services-stage .feature-card { color: var(--ink); }
.services-stage .feature-card:last-child { border: 1px solid #555; color: white; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article-card { min-height: 460px; border-radius: 18px; padding: 30px; overflow: hidden; position: relative; color: white; display: flex; align-items: end; isolation: isolate; }
.article-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.84)); z-index: -1; }
.article-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.article-card:hover img { transform: scale(1.04); }
.article-card .date { font-size: .8rem; opacity: .8; }
.article-card h2 { font-size: 1.8rem; letter-spacing: -.04em; line-height: 1.1; margin: 9px 0 12px; }
.article-card p { opacity: .78; max-width: 540px; }

.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: end; min-height: 440px; }
.form-card { background: #ededed; border-radius: 18px; padding: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-size: .85rem; display: block; margin: 0 0 6px 3px; }
input, textarea { width: 100%; border: 1px solid transparent; border-radius: 11px; background: white; color: var(--ink); padding: 16px; outline: none; }
input:focus, textarea:focus { border-color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.field { margin-bottom: 12px; }
.form-note { min-height: 24px; margin: 12px 0 0; color: #555; font-size: .88rem; }

.assessment-hero { padding: 70px 0 40px; }
.assessment-title { font-size: clamp(2.6rem, 4.3vw, 4.3rem); line-height: 1; letter-spacing: -.06em; }
.assessment-title span { display: block; color: #aaa; }
.assessment-image { position: relative; border-radius: 3px; overflow: hidden; height: min(56vw, 600px); margin-top: 40px; }
.assessment-image img { width: 100%; height: 100%; object-fit: cover; }
.arrow-block { position: absolute; right: 0; bottom: 0; width: 55%; min-height: 145px; background: var(--acid); font-size: clamp(4rem, 10vw, 8rem); display: grid; place-items: center; letter-spacing: -.1em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.step .number { color: #aaa; font-size: .8rem; padding-bottom: 14px; border-bottom: 1px solid #d1d1d1; margin-bottom: 24px; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--muted); }

.cta-panel { background: var(--acid); border-radius: 26px; padding: 72px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-panel .section-title { max-width: 780px; margin-bottom: 0; }

.site-footer { background: var(--ink); color: white; margin-top: 100px; border-radius: 28px 28px 0 0; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 45px; }
.footer-kicker { color: #aaa; max-width: 300px; }
.footer-title { font-size: clamp(2.6rem, 7vw, 7.2rem); letter-spacing: -.07em; line-height: .95; margin: 75px 0 25px; }
.site-footer h3 { font-size: .9rem; color: #8c8c8c; font-weight: 500; }
.footer-links { display: grid; gap: 10px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid #2b2b2b; padding-top: 22px; display: flex; justify-content: space-between; color: #777; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .site-header { padding-top: 14px; }
  .nav-shell { min-height: 76px; padding: 0 20px; grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-shell.open .nav-links { position: absolute; display: grid; left: 14px; right: 14px; top: 96px; background: #e3e3e3; padding: 30px; border-radius: 14px; gap: 20px; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
  .hero-grid, .split, .section-head, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .service-stack { margin-top: 18px; }
  .statement, .services-stage { padding: 48px 26px; }
  .metrics, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 48px 28px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .display { font-size: 3rem; }
  .section-title { font-size: 2.65rem; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; }
  .metrics, .values-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .metric { padding: 30px; }
  .photo-band { height: 380px; }
  .page-hero { padding-top: 38px; }
  .article-card { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-title { margin-top: 55px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .arrow-block { width: 65%; min-height: 90px; }
}
