:root {
  --ink: #0a1d13;
  --hero: #06170e;
  --forest: #10271b;
  --lime: #d4ff46;
  --paper: #f7f8f0;
  --muted: #44564b;
  --soft: #c6d1c5;
  --rule: #c6cec0;
  --dark-rule: #43584a;
  --focus: #355922;
  --page: 81rem;
  --gutter: clamp(1.25rem, 5.4vw, 5.5rem);
  --section-space: clamp(4rem, 8vw, 8rem);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--hero);
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; line-height: 1.55; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-block-start: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header, .hero, .industries, .site-footer { --focus: var(--lime); }

.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--page));
  margin-inline: auto;
}

.section-pad { padding-block: var(--section-space); }
.paper { background: var(--paper); }

.skip-link {
  position: absolute;
  z-index: 3;
  inset: 0.5rem auto auto 0.5rem;
  padding: 0.6rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  background: var(--lime);
}

.skip-link:focus { transform: none; }

.site-header {
  background: var(--hero);
  color: var(--paper);
  border-bottom: 1px solid #2a3c30;
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.header-inner { min-height: 4.75rem; padding-block: 0.75rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-period { color: var(--lime); }

.branch-mark {
  position: relative;
  display: inline-block;
  width: 1.6rem;
  height: 1.55rem;
  color: var(--lime);
}

.branch-mark::before,
.branch-mark::after,
.branch-mark i {
  content: "";
  position: absolute;
  height: 0.2rem;
  border-radius: 1rem;
  background: currentColor;
  transform-origin: left center;
}

.branch-mark::before { width: 1.52rem; left: 0.12rem; top: 1.25rem; transform: rotate(-49deg); }
.branch-mark::after { width: 0.64rem; left: 0.52rem; top: 0.79rem; transform: rotate(-99deg); }
.branch-mark i { width: 0.7rem; left: 0.75rem; top: 0.53rem; transform: rotate(-7deg); }

.main-nav { display: flex; flex-wrap: wrap; gap: 0.25rem clamp(0.9rem, 3.2vw, 2.6rem); }
.main-nav a, .industry-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--soft);
  font-size: 0.94rem;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus-visible,
.main-nav > a[aria-current="page"],
.industry-menu summary:hover, .industry-menu summary:focus-visible,
.industry-menu[open] summary, .industry-menu[data-current-section] summary {
  color: var(--lime);
}

.industry-menu { position: relative; }
.industry-menu summary { cursor: pointer; gap: 0.55rem; list-style: none; }
.industry-menu summary::-webkit-details-marker { display: none; }
.industry-menu summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-0.12rem) rotate(45deg);
}
.industry-menu[open] summary::after { transform: translateY(0.1rem) rotate(225deg); }

.industry-menu-links {
  position: absolute;
  z-index: 2;
  inset: 100% auto auto -0.75rem;
  width: max-content;
  max-width: min(18rem, 100vw - 2 * var(--gutter));
  padding: 0.3rem;
  list-style: none;
  background: var(--forest);
  border: 1px solid #708376;
  border-radius: 0.25rem;
  box-shadow: 0 0.75rem 2rem #06170e50;
}
.industry-menu-links a {
  display: flex;
  padding: 0.5rem 0.7rem;
  border-radius: 0.15rem;
}
.industry-menu-links a:hover, .industry-menu-links a:focus-visible { background: var(--hero); }
.industry-menu-links a:focus-visible { outline-offset: -3px; }
.industry-menu-links a[aria-current="page"] { color: var(--lime); text-decoration: underline; }

.kicker {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-lime { color: var(--hero); background: var(--lime); }
.button-lime:hover { background: #e4ff91; }
.button-outline { border-color: currentColor; color: inherit; background: transparent; }
.button-outline:hover { color: var(--hero); background: var(--paper); border-color: var(--paper); }
.button-ink { color: var(--paper); background: var(--ink); }
.button-ink:hover { background: #25432d; }
.header-action { min-height: 2.75rem; border-color: #788678; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: clamp(36rem, 46vw, 47rem);
  color: var(--paper);
  background: var(--hero);
}

.hero-copy {
  align-self: center;
  padding-block: clamp(3.5rem, 7vw, 7rem);
  padding-inline: max(var(--gutter), calc((100vw - var(--page)) / 2)) 1rem;
}

.hero .kicker { color: var(--lime); }

.hero h1 {
  margin-block: 1.35rem 1.55rem;
  font-size: clamp(3.6rem, 7.5vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.89;
}

.hero h1 span { color: var(--lime); }
.hero-offer {
  max-width: 32ch;
  color: var(--soft);
  font-size: clamp(1.075rem, 1.52vw, 1.35rem);
  line-height: 1.5;
}
.hero .actions { margin-top: 1.9rem; }
.hero .button-outline { border-color: #819284; }

.hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 66% 44%, #1b391e, #020f09 75%);
}

.hero-image, .hero-art::after {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/hero.webp") 61% center / cover no-repeat;
}

.hero-art::after {
  content: "";
  background: linear-gradient(90deg, var(--hero), transparent 15%);
}

.hero-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 60rem);
  aspect-ratio: 1.2;
  transform: translate(-50%, -50%);
}

.hero-fallback span {
  position: absolute;
  left: 44%;
  top: 56%;
  width: 59%;
  height: 10%;
  border-radius: 58% 95% 56% 50%;
  transform-origin: 6% 50%;
  background: linear-gradient(178deg, #f0ffa6, #8baa28 20%, #dfff4d 38%, #46681b 75%, #bce843);
  box-shadow: 0 0 1.75rem #8ab32b35;
}

.hero-fallback span:nth-child(1) { left: 8%; top: 83%; width: 68%; height: 15%; transform: rotate(-39deg); }
.hero-fallback span:nth-child(2) { top: 53%; width: 64%; transform: rotate(-46deg); }
.hero-fallback span:nth-child(3) { top: 53%; width: 42%; height: 7%; transform: rotate(-83deg); }
.hero-fallback span:nth-child(4) { top: 54%; width: 55%; height: 8%; transform: rotate(-9deg); }
.hero-fallback span:nth-child(5) { left: 36%; top: 62%; width: 55%; height: 7%; transform: rotate(18deg); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 1.25rem clamp(2rem, 8vw, 8rem);
}

h2 {
  margin-top: 0.65rem;
  font-size: clamp(2.65rem, 5.7vw, 6.45rem);
  letter-spacing: -0.075em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-intro p:not(.kicker), .project-intro > p:not(.kicker) {
  max-width: 43ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 6rem);
  padding: 0;
  margin-top: clamp(2rem, 5vw, 4rem);
  list-style: none;
}

.service-list li {
  padding-block: 1.4rem 1.55rem;
  border-top: 1px solid var(--rule);
}

.service-list h3, .industry h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2.45vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.service-list p { max-width: 48ch; color: var(--muted); }

.industries {
  color: var(--paper);
  background: var(--forest);
}

.industries .kicker { color: var(--lime); }
.industries .section-intro p:not(.kicker) { color: var(--soft); }
.industry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block: 2rem 0.8rem;
}

.industry-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #708376;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.industry-nav a:hover,
.industry-nav a[aria-current="location"] {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.examples-note {
  margin-bottom: 1.35rem;
  color: var(--soft);
  font-size: 0.9375rem;
}

.industry {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr);
  gap: 1.15rem clamp(1.65rem, 4vw, 3.5rem);
  padding-block: clamp(1.85rem, 4vw, 3.25rem);
  border-top: 1px solid var(--dark-rule);
}

.industry:last-child { border-bottom: 1px solid var(--dark-rule); }
.industry-heading > p { color: var(--soft); }
.industry h3:target { color: var(--lime); }
.text-link {
  display: inline-block;
  padding-block: 0.35rem;
  font-weight: 700;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}
.industry .text-link {
  margin-top: 0.65rem;
  color: var(--lime);
}
.industry .industry-guide { display: block; width: fit-content; color: var(--paper); margin-top: 0.15rem; }
.industry-directory-link { margin-top: 1.35rem; color: var(--lime); }
.text-link:hover { text-decoration-thickness: 2px; }

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-left: 0;
  list-style: none;
}

.journey li {
  padding-left: 0.85rem;
  border-left: 1px solid #617768;
}

.journey h4 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
}
.journey p { color: var(--soft); }
.about .section-intro { align-items: center; }
.about-copy p + p { margin-top: 0.9rem; }

.project { background: var(--lime); }
.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 2rem clamp(2.5rem, 8vw, 8rem);
}
.project-intro h2 { text-wrap: initial; }
.project-intro > p:not(.kicker) { margin-top: 1.15rem; color: var(--ink); }
.project-intro .project-note {
  padding-top: 0.9rem;
  border-top: 1px solid #829c2f;
  font-size: 0.95rem;
}

.brief {
  display: grid;
  justify-items: start;
  gap: 1.15rem;
  min-width: 0;
}

.brief-row, .field, .brief-services { width: 100%; }
.brief-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.field { display: grid; gap: 0.35rem; }
.field label, .brief-services legend { font-weight: 700; }
.field label span, .brief-services legend span { font-size: 0.9375rem; font-weight: 400; }

.field > input, .field select, .brief textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #51652b;
  border-radius: 0.25rem;
  color: var(--ink);
  background-color: var(--paper);
}
.field select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.07rem center, right 0.76rem center;
  background-size: 0.32rem 0.32rem;
  background-repeat: no-repeat;
}
.brief textarea { resize: vertical; }
.brief textarea::placeholder { color: var(--muted); }
.brief-services { min-width: 0; margin: 0; padding: 0; border: 0; }
.brief-services legend { padding: 0; margin-bottom: 0.35rem; }
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.75rem;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.choices input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--ink);
}

.draft-review {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #51652b;
  border-radius: 0.25rem;
  background: var(--paper);
}
.draft-review h3 { font-size: 1.5rem; letter-spacing: -0.035em; }
.draft-review > p { color: var(--muted); }
.draft-review .button-outline:hover { border-color: var(--ink); background: #e5ebd7; }
.brief-status { min-height: 1.5em; }

.site-footer { padding-block: 1.6rem; color: var(--paper); }
.site-footer p { color: var(--soft); font-size: 0.9375rem; }
.site-footer .text-link { font-size: 0.9375rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; }
.footer-links [aria-current="page"] { color: var(--lime); }

.industry-page main { background: var(--paper); }
.industry-hero { color: var(--paper); background: var(--forest); --focus: var(--lime); }
.breadcrumb { padding-block: 1.1rem; color: var(--soft); font-size: 0.9375rem; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  list-style: none;
  padding: 0;
}
.breadcrumb li { display: flex; gap: 0.6rem; }
.breadcrumb li + li::before { content: "/" / ""; }
.breadcrumb a { text-underline-offset: 0.22em; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current="page"] { color: var(--paper); }
.industry-hero-copy { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.industry-hero h1 {
  max-width: 23ch;
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.065em;
}
.industry-hero p {
  max-width: 61ch;
  margin-top: 1rem;
  color: var(--soft);
  font-size: clamp(1.075rem, 1.55vw, 1.32rem);
}
.industry-section, .industry-project { padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.industry-section + .industry-section { border-top: 1px solid var(--rule); }
.industry-page h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.industry-page h3 {
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.industry-page h2 a, .industry-page h3 a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.industry-page h2 a:hover, .industry-page h3 a:hover { text-decoration-thickness: 2px; }
.industry-prose { max-width: 66ch; margin-top: 1rem; color: var(--muted); }
.industry-prose h3 { color: var(--ink); margin-bottom: 0.4rem; }
.industry-link-list, .industry-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1.75rem, 4vw, 3.5rem);
  margin-top: 1.65rem;
  padding: 0;
  list-style: none;
}
.industry-link-list li, .industry-step-list li { border-top: 1px solid var(--rule); padding-top: 0.85rem; }
ol.industry-step-list { list-style: decimal inside; }
ol.industry-step-list h3 { display: inline; }
.industry-link-list p, .industry-step-list p { margin-top: 0.45rem; color: var(--muted); }
.industry-example { background: #e9eddf; }
.industry-example-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); }
.industry-signals { margin-top: 1rem; padding-left: 1.1em; color: var(--muted); }
.industry-signals li + li { margin-top: 0.4rem; }
.industry-project p { margin-block: 0.75rem 1.2rem; }
.main-nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
.blog-article { max-width: 74ch; padding-block: clamp(3rem, 6vw, 5rem); }
.blog-article section + section { margin-top: 2.5rem; }
.blog-article h2 { margin-bottom: 1rem; }
.blog-article p { line-height: 1.75; }
.blog-article p + p, .blog-article > p { margin-top: 1rem; }
.blog-article a { text-underline-offset: 0.2em; }
.blog-cards { margin-top: 0; }
.legal-content { max-width: 74ch; padding-block: clamp(3rem, 6vw, 5rem); }
.legal-content section { margin-top: 2.5rem; }
.legal-content h2 { margin-bottom: 1rem; }
.legal-content p { line-height: 1.75; }
.legal-content p + p { margin-top: 1rem; }
.legal-content a, .project-privacy a { text-underline-offset: 0.2em; }
.industry-hero .blog-byline { font-size: 0.95rem; }

@media (prefers-reduced-motion: no-preference) {
  .button, .main-nav a, .industry-nav a {
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
  }
}

@media (forced-colors: active) {
  .field select { appearance: auto; background-image: none; }
  .button { border-color: ButtonText; }
}

@media (max-width: 58rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy {
    padding: clamp(3.2rem, 8vw, 5.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  }
  .hero h1 { font-size: clamp(3.7rem, 11vw, 6.9rem); }
  .hero-art { height: clamp(15rem, 60vw, 28rem); }
  .hero-image { background-position: 61% 52%; }
  .hero-art::after { background: linear-gradient(var(--hero), transparent 20%); }
  .industry { grid-template-columns: minmax(0, 1fr); }
  .industry-link-list, .industry-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .header-inner { gap: 0.4rem 0.6rem; }
  .main-nav { position: relative; width: 100%; border-top: 1px solid #2a3c30; }
  .industry-menu { position: static; }
  .industry-menu-links { inset-inline: 0; width: auto; max-width: none; }
  .header-action { display: none; }
  .section-intro, .project-grid { grid-template-columns: minmax(0, 1fr); }
  h2 { text-wrap: initial; }
}

@media (max-width: 35rem) {
  .service-list, .journey, .brief-row, .choices { grid-template-columns: minmax(0, 1fr); }
  .industry-link-list, .industry-step-list, .industry-example-grid { grid-template-columns: minmax(0, 1fr); }
  .journey { gap: 0.95rem; }
  .footer-inner p { order: 1; width: 100%; }
}

@media (max-width: 22rem) {
  .hero h1 { font-size: 3.25rem; }
  .wordmark { font-size: 1.2rem; }
}
