:root {
  color-scheme: light;
  --ink: #191916;
  --ink-soft: #3d3b36;
  --paper: #f4f6f2;
  --paper-strong: #ffffff;
  --line: #d5ded7;
  --muted: #626860;
  --green: #2f5948;
  --green-deep: #17382d;
  --copper: #9c4c2f;
  --copper-dark: #6d311f;
  --mist: #e3ebe5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(25, 25, 22, 0.12);
  --max: 1180px;
}

*,
*::before,
*::after {
  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;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--green);
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(247, 245, 239, 0.94);
  color: var(--ink);
  border-bottom: 1px solid rgba(25, 25, 22, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 820;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 680;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  background: rgba(47, 89, 72, 0.1);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.95) contrast(1.04);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(11, 13, 11, 0.9) 0%, rgba(11, 13, 11, 0.62) 36%, rgba(11, 13, 11, 0.18) 72%),
    linear-gradient(0deg, rgba(11, 13, 11, 0.35), rgba(11, 13, 11, 0.05) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 100px 0 40px;
}

.eyebrow,
.section-kicker,
.panel-label,
.work-meta {
  margin: 0;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c7aa;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family:
    "Iowan Old Style", Georgia, Cambria, "Times New Roman", serif;
  font-weight: 620;
}

h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: 3.1rem;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.17rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 780;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--paper-strong);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 690;
}

.signal-list li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  background: var(--green-deep);
  color: var(--white);
}

.intro-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
}

.intro-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.section-heading.narrow {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: 2.55rem;
}

.section-heading p:not(.section-kicker),
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
  margin-top: 34px;
}

.about-copy {
  display: grid;
  gap: 20px;
  max-width: 720px;
}

.about-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.principle-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.principle-panel ul {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.principle-panel li {
  padding-left: 18px;
  border-left: 2px solid var(--copper);
  color: var(--ink-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card,
.work-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.capability-card:hover,
.work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 89, 72, 0.4);
  box-shadow: 0 18px 45px rgba(25, 25, 22, 0.1);
}

.card-index {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 840;
}

.capability-card h3,
.work-card h3,
.approach-list h3 {
  margin-top: 22px;
  font-size: 1.45rem;
}

.capability-card p,
.work-card p,
.approach-list p {
  margin: 16px 0 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-card {
  min-height: 210px;
}

.work-card-featured {
  min-height: 320px;
  border-color: rgba(47, 89, 72, 0.36);
  background:
    linear-gradient(135deg, rgba(227, 235, 229, 0.74), rgba(255, 255, 255, 0.96)),
    var(--paper-strong);
}

.work-card h3 a {
  text-decoration: none;
}

.work-card h3 a:hover,
.work-card h3 a:focus-visible {
  text-decoration: underline;
}

.work-meta {
  color: var(--green);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.work-tags li {
  padding: 6px 9px;
  border: 1px solid rgba(47, 89, 72, 0.24);
  border-radius: 4px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.2;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  color: var(--green-deep);
  font-weight: 820;
  text-decoration: none;
}

.work-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.work-link:hover::after,
.work-link:focus-visible::after {
  transform: translateX(3px) rotate(45deg);
}

.approach-section {
  border-top: 1px solid var(--line);
}

.approach-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.approach-list li {
  min-height: 310px;
  padding: 24px;
  background: var(--paper);
}

.approach-list span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 840;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 72px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.contact-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-panel .contact-method {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-panel .contact-method:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.contact-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

.linkedin-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(47, 89, 72, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(227, 235, 229, 0.86), rgba(255, 255, 255, 0.94)),
    var(--paper-strong);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  border-color: rgba(47, 89, 72, 0.52);
  box-shadow: 0 14px 34px rgba(25, 25, 22, 0.1);
  transform: translateY(-1px);
}

.linkedin-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1;
}

.linkedin-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.linkedin-action {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.25;
}

.linkedin-url {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.linkedin-arrow {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.linkedin-arrow::before,
.linkedin-arrow::after {
  position: absolute;
  content: "";
}

.linkedin-arrow::before {
  top: 7px;
  left: 1px;
  width: 13px;
  height: 2px;
  background: var(--green);
}

.linkedin-arrow::after {
  top: 3px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
}

.contact-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 28px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 760;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 4.55rem;
  }
}

@media (max-width: 980px) {
  .capability-grid,
  .approach-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-section,
  .contact-section {
    gap: 34px;
  }

  .principle-panel,
  .contact-panel {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-image {
    object-position: 70% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(11, 13, 11, 0.92), rgba(11, 13, 11, 0.5)),
      linear-gradient(0deg, rgba(11, 13, 11, 0.42), rgba(11, 13, 11, 0.04) 55%);
  }

  .hero-content,
  .section,
  .intro-band-inner,
  .site-footer {
    width: min(calc(100% - 36px), var(--max));
  }

  .hero-content {
    padding: 96px 0 34px;
  }

  h1 {
    font-size: 2.85rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.2rem;
  }

  .hero-copy,
  .about-copy p {
    font-size: 1.05rem;
  }

  .section {
    padding: 72px 0;
  }

  .capability-grid,
  .approach-list {
    grid-template-columns: 1fr;
  }

  .intro-band-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .capability-card,
  .work-card,
  .approach-list li {
    min-height: auto;
  }

  .contact-panel .contact-method {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.4rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 1.9rem;
  }

  .signal-list li {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px), (max-height: 640px) and (max-width: 760px) {
  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding: 76px 0 24px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .button {
    min-height: 42px;
    padding: 10px 14px;
  }
}
