:root {
  color-scheme: dark;
  --paper: #171b18;
  --panel: #222824;
  --ink: #eef1ea;
  --muted: #bcc3b8;
  --line: #424b44;
  --steel: #303731;
  --steel-2: #111411;
  --accent: #a8c957;
  --accent-dark: #c4dc85;
  --accent-pale: #29351d;
  --warm: #e2a65c;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --max: 1160px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f2f1ed;
  --panel: #ffffff;
  --ink: #252923;
  --muted: #5e665b;
  --line: #c8cbc3;
  --steel: #3a403b;
  --steel-2: #252a27;
  --accent: #86a72c;
  --accent-dark: #607d16;
  --accent-pale: #e9efd6;
  --warm: #bd7b2a;
  --shadow: 0 18px 42px rgba(33, 38, 32, .14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(100,110,94,.025) 5px 6px),
    var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 "PT Sans", ui-sans-serif, system-ui, sans-serif;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
  background: var(--steel-2);
  color: #e8ece6;
  border-bottom: 3px solid var(--accent);
  font-size: 13px;
  letter-spacing: .025em;
}
.utility {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(0,0,0,.03);
  position: sticky;
  top: 0;
  z-index: 20;
}
.utility .wrap { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-toggle { display: none; border: 0; background: var(--steel); color: white; padding: 9px 13px; cursor: pointer; }
nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
nav a {
  display: block; padding: 9px 11px; text-decoration: none; font-family: "Oswald", sans-serif;
  text-transform: uppercase; font-size: 13px; letter-spacing: .06em; color: var(--muted);
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus-visible { color: var(--accent-dark); border-color: var(--accent); outline: none; }
.utility-actions { display: flex; align-items: center; gap: 15px; }
.theme-toggle {
  border: 1px solid var(--line); background: var(--paper); color: var(--muted); padding: 7px 10px;
  cursor: pointer; font: 500 12px/1 "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em;
}
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--accent); color: var(--accent-dark); outline: none; }
.phone { white-space: nowrap; font-family: "Oswald", sans-serif; color: var(--muted); text-decoration: none; }
.phone strong { color: var(--accent-dark); font-size: 20px; margin-left: 5px; }

.hero-shell { background: var(--steel-2); color: #fff; overflow: hidden; }
.hero { position: relative; min-height: 650px; }
.slides { position: relative; min-height: 650px; }
.slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.hero-copy { padding: 82px 56px 92px 0; align-self: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 10px; color: #b9d46c; font-family: "Oswald", sans-serif; font-size: 17px; letter-spacing: .04em; }
h1, h2, h3 { font-family: "Oswald", sans-serif; line-height: 1.05; margin: 0; font-weight: 500; }
h1 { font-size: clamp(48px, 7.4vw, 92px); max-width: 770px; letter-spacing: -.025em; }
.hero p { color: #d7ddd5; max-width: 620px; font-size: 20px; line-height: 1.5; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  appearance: none; border: 1px solid transparent; background: var(--accent); color: #172006;
  padding: 12px 18px; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
}
.button:hover, .button:focus-visible { background: #b3d35e; outline: 3px solid rgba(179,211,94,.28); }
.button.ghost { background: transparent; border-color: #778078; color: #fff; }
.button.ghost:hover { border-color: #c8d3c6; background: rgba(255,255,255,.06); }
.hero-art {
  position: relative; overflow: hidden; min-height: 480px;
  background:
    linear-gradient(120deg, transparent 54%, rgba(255,255,255,.06) 54% 55%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 54px),
    linear-gradient(145deg, #586159, #252a27 58%);
}
.target {
  position: absolute; width: 380px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
  top: 50%; left: 52%; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 52px rgba(255,255,255,.025), 0 0 0 104px rgba(255,255,255,.02);
}
.target::before, .target::after { content: ""; position: absolute; background: rgba(255,255,255,.22); }
.target::before { width: 1px; height: 130%; left: 50%; top: -15%; }
.target::after { height: 1px; width: 130%; top: 50%; left: -15%; }
.target-dot { position: absolute; width: 86px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 14px rgba(134,167,44,.2); }
.metric-stack { position: absolute; inset: 70px 48px; display: grid; grid-template-columns: repeat(2, 1fr); align-content: center; gap: 14px; }
.metric { min-height: 132px; border: 1px solid rgba(255,255,255,.16); background: rgba(10,13,11,.35); padding: 18px; }
.metric b { display:block; font: 500 48px/1 "Oswald", sans-serif; color: #c4dc7a; }
.metric span { display:block; color:#d8ded6; margin-top:8px; line-height:1.25; }
.slide-controls { position: absolute; right: 0; top: 28px; display: flex; align-items: center; gap: 10px; z-index: 5; }
.dot { width: 34px; height: 5px; border: 0; background: #697169; cursor: pointer; padding: 0; }
.dot[aria-current="true"] { background: var(--accent); }
.pause { margin-left: 5px; background: transparent; color: #cfd6cd; border: 1px solid #667068; width: 34px; height: 32px; cursor: pointer; }

.service-bar { background: var(--steel); color: #f2f4ef; border-bottom: 5px solid var(--accent); }
.service-bar .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.service-bar a { padding: 17px 14px; text-align: center; text-decoration: none; font: 400 14px/1.25 "Oswald", sans-serif; text-transform: uppercase; border-right: 1px solid #59615b; }
.service-bar a:first-child { border-left: 1px solid #59615b; }
.service-bar a:hover, .service-bar a:focus-visible { background: var(--accent); color: #152005; outline: none; }

section { padding: 82px 0; }
.section-head { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 46px; align-items: end; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); }
.section-label { color: var(--accent-dark); font-family: "Oswald", sans-serif; margin-bottom: 7px; }
.intro-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 36px; align-items: start; }
.intro-copy { font-size: 20px; }
.intro-copy p:first-child { font-size: 26px; line-height: 1.35; margin-top: 0; }
.acr { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.acr article { background: var(--panel); padding: 22px; }
.acr b { font: 500 30px/1 "Oswald", sans-serif; color: var(--accent-dark); }
.acr p { margin: 7px 0 0; color: var(--muted); }

.services { background: var(--panel); border-block: 1px solid var(--line); }
.service-layout { display: grid; grid-template-columns: 300px 1fr; gap: 44px; }
.service-tabs { display: grid; gap: 4px; align-content: start; }
.service-tab {
  text-align: left; border: 0; border-left: 5px solid transparent; background: var(--paper); color: var(--ink);
  padding: 16px 18px; cursor: pointer; font: 500 18px/1.2 "Oswald", sans-serif;
}
.service-tab[aria-selected="true"] { background: var(--steel); color: white; border-color: var(--accent); }
.service-tab:hover, .service-tab:focus-visible { border-color: var(--accent); outline: none; }
.service-panel { display: none; }
.service-panel.is-active { display: block; }
.service-panel h3 { font-size: 38px; margin-bottom: 18px; }
.service-panel .lede { font-size: 21px; color: var(--muted); }
.scope { columns: 2; column-gap: 42px; margin: 28px 0 0; padding: 0; list-style: none; }
.scope li { break-inside: avoid; border-top: 1px solid var(--line); padding: 10px 0 10px 22px; position: relative; }
.scope li::before { content: "+"; position: absolute; left: 1px; color: var(--accent-dark); font-weight: 700; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  background: var(--steel); color: #fff; min-height: 350px; padding: 28px; display: flex; flex-direction: column;
  border-top: 6px solid var(--accent); position: relative; overflow: hidden;
}
.case::after { content:""; position:absolute; width:180px; height:180px; border:1px solid rgba(255,255,255,.08); border-radius:50%; right:-70px; bottom:-70px; }
.case .tag { color: #bfd679; font: 400 14px "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.case h3 { font-size: 34px; margin: 12px 0; }
.case p { color: #d5dbd3; margin: 0; }
.result { margin-top: auto; padding-top: 30px; font-size: 17px; }
.result strong { display: block; color: #c5df79; font: 500 38px/1 "Oswald", sans-serif; margin-bottom: 8px; }
.case-detail { margin-top: 16px; padding-top: 16px; border-top: 1px solid #59615b; color: #d6ddd4; font-size: 15px; }

.clients { background: var(--accent-pale); }
.worked { margin: 26px 0; }
.client-list { display: flex; flex-wrap: wrap; gap: 8px; }
.client-list span { background: var(--panel); border: 1px solid var(--line); padding: 9px 12px; color: var(--muted); }
.client-list .featured { background: var(--steel); color: #fff; border-color: var(--steel); font-weight: 700; }

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post { background: var(--panel); padding: 28px; min-height: 180px; }
.post time { color: var(--accent-dark); font-weight: 700; }
.post h3 { font-size: 27px; margin: 8px 0 10px; }
.post p { color: var(--muted); margin: 0; }

.contact { background: var(--steel-2); color: #f3f5f1; }
.contact .section-head p { color: #c5ccc3; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; }
address { font-style: normal; font-size: 19px; }
address a { color: #c7df82; text-underline-offset: 4px; }
.contact-note { margin-top: 24px; color: #aeb6ad; font-size: 14px; max-width: 430px; }
.analysis-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
label { color: #d9ded7; font-size: 14px; }
input, textarea { width: 100%; border: 1px solid #59625a; background: #1d211e; color: white; padding: 12px; border-radius: 0; }
input:focus, textarea:focus { outline: 3px solid rgba(168,201,87,.25); border-color: var(--accent); }
textarea { min-height: 105px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions small { color: #b6beb4; }

footer { background: #111411; color: #aeb6ad; border-top: 1px solid #394039; padding: 34px 0 42px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: #d5d9d2; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #c5df79; }
.source-line { margin: 22px 0 0; font-size: 13px; max-width: 820px; }
.source-line a { color: #b7ce76; }

@media (max-width: 900px) {
  .utility .wrap { min-height: 58px; }
  .nav-toggle { display: inline-block; }
  nav { display: none; position: absolute; left: 20px; right: 20px; top: 58px; background: var(--panel); box-shadow: var(--shadow); border: 1px solid var(--line); }
  nav.is-open { display: block; }
  nav ul { display: grid; padding: 8px; }
  nav a { padding: 12px; }
  .slide { grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 0 130px; max-width: 690px; }
  .hero-art { position: absolute; inset: 0; opacity: .28; }
  .metric-stack { inset: auto 20px 30px auto; grid-template-columns: repeat(2, 155px); opacity: .6; }
  .metric { min-height: auto; padding: 12px; }
  .metric b { font-size: 34px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .intro-grid, .service-layout, .contact-grid { grid-template-columns: 1fr; }
  .service-tabs { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .utility-actions { gap: 8px; }
  .theme-toggle { padding: 7px 8px; }
  .phone span { display: none; }
  .phone strong { font-size: 17px; margin-left: 0; }
  h1 { font-size: 46px; }
  .hero, .slides { min-height: 760px; }
  .hero-copy { padding: 92px 0 54px; }
  .hero p { font-size: 18px; }
  .slide-controls { top: 24px; right: auto; left: 0; }
  .metric-stack { display: none; }
  .service-bar { display: none; }
  section { padding: 58px 0; }
  .section-head h2 { font-size: 39px; }
  .intro-copy p:first-child { font-size: 22px; }
  .service-tabs { grid-template-columns: 1fr; }
  .scope { columns: 1; }
  .work-grid, .blog-grid { grid-template-columns: 1fr; }
  .case { min-height: 310px; }
  .analysis-form { grid-template-columns: 1fr; }
  .field.wide, .form-actions { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}

.utility nav a[aria-current="page"] { color: var(--accent-dark); border-color: var(--accent); }
.brand { font: 600 20px/1 "Oswald", sans-serif; letter-spacing: .02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand span { color: var(--accent-dark); }
.page-hero { background: var(--steel-2); color: #fff; padding: 78px 0 70px; border-bottom: 5px solid var(--accent); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 900px; }
.page-hero .lede { color: #d7ddd5; max-width: 720px; font-size: 20px; line-height: 1.5; margin: 20px 0 0; }
.crumbs { font-size: 14px; color: #aeb6ad; margin-bottom: 18px; }
.crumbs a { color: #c7df82; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-top: 5px solid var(--accent); padding: 26px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card h3 { font-size: 26px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0 0 18px; }
.card .more { margin-top: auto; color: var(--accent-dark); font-weight: 700; }
a.card:hover, a.card:focus-visible { border-color: var(--accent); outline: none; box-shadow: var(--shadow); }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.prose { font-size: 19px; }
.prose h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 48px; }
.prose p { margin: 0 0 16px; }
.aside-box { background: var(--panel); border: 1px solid var(--line); padding: 26px; position: sticky; top: 90px; }
.aside-box h3 { font-size: 24px; margin-bottom: 12px; }
.aside-box ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps article { background: var(--panel); padding: 24px; }
.steps b { color: var(--accent-dark); font-family: "Oswald", sans-serif; }
.steps h3 { font-size: 24px; margin: 6px 0 8px; }
.steps p { color: var(--muted); margin: 0; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 500 21px/1.3 "Oswald", sans-serif; list-style: none; padding-right: 30px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--accent-dark); font-size: 24px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }
.cta-band { background: var(--accent-pale); border-block: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-band p { margin: 8px 0 0; color: var(--muted); }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font: 500 15px "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #e8ece6; margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: #d5d9d2; text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: #c5df79; }
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .card-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 54px 0 48px; }
  .page-hero .lede { font-size: 18px; }
  .brand { font-size: 17px; }
  .utility .wrap { gap: 10px; }
}
@media (max-width: 480px) {
  .utility .phone { display: none; }
}
