:root {
  --green-950: #0b2119;
  --green-900: #0d3024;
  --green-800: #114936;
  --green-700: #17613f;
  --green-100: #dff0e2;
  --gold-600: #8a650e;
  --gold-500: #d4af37;
  --gold-300: #f2d77a;
  --ivory: #fffaf0;
  --paper: #f7f3e8;
  --ink: #17211c;
  --muted: #5f6c64;
  --line: rgba(23, 33, 28, .14);
  --shadow: 0 18px 50px rgba(11, 33, 25, .14);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.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;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--gold-300);
  color: var(--green-950);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--green-950);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 145, 47, .5);
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-300);
  font-size: .84rem;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  border-radius: var(--radius);
  color: var(--green-950);
  text-decoration: none;
  font-weight: 750;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: var(--green-100);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--green-950);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: calc(88svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
  background:
    linear-gradient(115deg, rgba(13, 48, 36, .96) 0%, rgba(17, 73, 54, .94) 54%, rgba(184, 145, 47, .72) 100%),
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(255, 250, 240, .08) 92px 93px);
  color: var(--ivory);
  overflow: hidden;
}

.hero-inner {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.project-type {
  margin: 0 0 .8rem;
  color: var(--gold-600);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-300);
}

.name-stage {
  position: relative;
  --portrait-anchor-x: 50%;
  --portrait-anchor-y: 50%;
  --portrait-overlap: clamp(-2rem, -1.5vw, -.75rem);
  --arrow-lane: clamp(6px, .55vw, 8px);
  min-height: clamp(15rem, 38vw, 28rem);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-rows: auto var(--arrow-lane) auto;
  align-content: center;
  align-items: end;
  column-gap: 0;
  row-gap: 0;
  font-size: clamp(3.8rem, 13.5vw, 12rem);
  line-height: .78;
  isolation: isolate;
}

.hero-name {
  display: contents;
  margin: 0;
  color: var(--ivory);
  font-size: 1em;
  font-weight: 950;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-name span {
  display: block;
  white-space: nowrap;
}

.hero-name span:first-child {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.hero-name span:last-child {
  grid-column: 1 / -1;
  grid-row: 3;
  color: transparent;
  -webkit-text-stroke: clamp(1px, .22vw, 3px) rgba(255, 250, 240, .92);
  text-stroke: clamp(1px, .22vw, 3px) rgba(255, 250, 240, .92);
}

.portrait-wrap {
  position: absolute;
  left: calc(var(--portrait-anchor-x) + var(--portrait-overlap));
  top: var(--portrait-anchor-y);
  z-index: 2;
  width: clamp(83px, calc(17vw + 17px), 240px);
  aspect-ratio: 1;
  margin: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  border: clamp(5px, .75vw, 9px) solid var(--gold-500);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  overflow: visible;
  background: linear-gradient(to bottom, #0b2119, #17613f);
}

.portrait-wrap picture {
  position: absolute;
  inset: 0;
  display: block;
}

.portrait-wrap img {
  position: absolute;
  bottom: 35%;
  left: 51%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, .6)) drop-shadow(0 0 30px rgba(212, 175, 55, .3));
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(-1 * clamp(5px, .75vw, 9px));
  right: calc(-1 * clamp(5px, .75vw, 9px));
  bottom: calc(-1 * clamp(5px, .75vw, 9px));
  border: clamp(5px, .75vw, 9px) solid var(--gold-500);
  border-top: none;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: transparent;
  z-index: 4;
  pointer-events: none;
}

.arrow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.arrow-trail-line {
  stroke: var(--gold-500);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: var(--trail-len);
  stroke-dashoffset: var(--trail-len);
  animation: draw-trail .6s ease-out .15s forwards;
}

.arrow-head-group {
  animation: fly-arrow .6s ease-out .15s forwards;
  opacity: 0;
}

@keyframes draw-trail {
  to { stroke-dashoffset: 0; }
}

@keyframes fly-arrow {
  0%   { offset-distance: 0%;   opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.portrait-wrap.portrait-hit {
  animation: portrait-pulse .9s ease-out forwards;
}

.portrait-wrap.portrait-hit::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 3px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0;
  animation: ring-ripple .8s ease-out .15s forwards;
}

@keyframes portrait-pulse {
  0%   { transform: translateY(-50%) scale(1); }
  15%  { transform: translateY(-50%) scale(1.18); }
  30%  { transform: translateY(-50%) scale(.94); }
  45%  { transform: translateY(-50%) scale(1.10); }
  60%  { transform: translateY(-50%) scale(.97); }
  75%  { transform: translateY(-50%) scale(1.04); }
  100% { transform: translateY(-50%) scale(1); }
}

@keyframes ring-ripple {
  0% {
    opacity: .9;
    transform: scale(.85);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.hero-copy {
  max-width: 760px;
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  color: rgba(255, 250, 240, .88);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
}

.button span {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
}

.button-primary {
  background: var(--gold-500);
  color: var(--green-950);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-300);
  outline: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 250, 240, .18);
  border-color: rgba(255, 250, 240, .45);
  outline: none;
}

.button-secondary {
  background: rgba(255, 250, 240, .08);
  border-color: rgba(255, 250, 240, .28);
  color: currentColor;
}

.section-block,
.intro-band,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  word-spacing: normal;
  font-stretch: normal;
  text-align: left;
}

h2 {
  margin: 0;
  color: var(--green-950);
  max-width: 760px;
  font-size: clamp(1.15rem, 1.5vw + 0.3rem, 1.55rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.05rem, 0.5rem + 1.5vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.intro-grid > p,
.split-layout p,
.page-hero p,
.timeline-item p,
.project-card p,
.capability-grid p {
  color: var(--muted);
}

.quick-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quick-facts div {
  min-height: 120px;
  padding: 1.25rem;
  background: var(--ivory);
}

.quick-facts dt {
  color: var(--gold-600);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .1em;
}

.quick-facts dd {
  margin: .5rem 0 0;
  color: var(--green-950);
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.2;
}

.split-layout,
.timeline-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--green-800);
  font-weight: 900;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.feature-list,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-list article,
.capability-grid article,
.project-card,
.experience-summary,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.feature-list article,
.capability-grid article {
  padding: 1.4rem;
  text-align: center;
}

.feature-list article h3,
.capability-grid article h3 {
  text-align: center;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 900;
}

.section-contrast {
  background: var(--green-950);
  color: var(--ivory);
}

.section-contrast .section-kicker {
  color: var(--gold-300);
}

.section-contrast h2,
.section-contrast h3 {
  color: var(--ivory);
}

.section-contrast .text-link,
.section-contrast .project-card span {
  color: var(--gold-300);
}

.section-contrast .feature-list article,
.section-contrast .capability-grid article,
.section-contrast .project-card {
  color: var(--ink);
}

.section-contrast .feature-list article h3,
.section-contrast .capability-grid article h3,
.section-contrast .project-card h2,
.section-contrast .project-card h3 {
  color: var(--green-950);
}

.section-contrast .feature-list article p,
.section-contrast .capability-grid article p,
.section-contrast .project-card p:not(.project-type) {
  color: var(--muted);
}

.section-contrast .project-card span {
  color: var(--green-700);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-heading h2 {
  max-width: 780px;
}

.card-grid,
.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 1.4rem;
}

.project-card h2,
.project-card h3 {
  margin-bottom: .8rem;
}

.project-card p:not(.project-type) {
  margin: 0 0 1.2rem;
}

.project-card span {
  margin-top: auto;
  color: var(--green-700);
  font-size: .9rem;
  font-weight: 850;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(242, 215, 122, .2), transparent 44%),
    var(--paper);
  border-top: 1px solid var(--line);
}

.contact-grid {
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-section .button-secondary {
  border-color: var(--line);
  color: var(--green-950);
  background: var(--ivory);
}

.contact-section .button-secondary:hover,
.contact-section .button-secondary:focus-visible {
  background: var(--paper);
  border-color: var(--green-700);
  outline: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: none;
  background: transparent;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.contact-modal[open] {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal::backdrop {
  background: rgba(11, 33, 25, .7);
  backdrop-filter: blur(6px);
}

.contact-modal-inner {
  position: relative;
  width: min(480px, 100%);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(242, 215, 122, .2), transparent 44%),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(11, 33, 25, .3);
  text-align: center;
}

.contact-modal-inner .section-kicker {
  margin: 0 0 .5rem;
  color: var(--gold-600);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-modal-inner h2 {
  text-align: center;
  margin: 0 auto .5rem;
}

.contact-modal-inner .contact-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.contact-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .15s;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: var(--paper);
  outline: none;
}

.site-footer {
  padding: 1.5rem 0;
  background: var(--green-950);
  color: rgba(255, 250, 240, .78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--gold-300);
  text-decoration: none;
  font-weight: 850;
}

.page-hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.2rem, 6vw, 5rem);
  background:
    linear-gradient(115deg, rgba(13, 48, 36, .97), rgba(17, 73, 54, .92) 68%, rgba(212, 175, 55, .58)),
    repeating-linear-gradient(90deg, transparent 0 110px, rgba(255, 250, 240, .08) 110px 111px);
  color: var(--ivory);
}

.page-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: rgba(255, 250, 240, .84);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.experience-summary {
  position: sticky;
  top: 104px;
  padding: 1.5rem;
}

.check-list {
  display: grid;
  gap: .85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-600);
  font-weight: 950;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: var(--gold-500);
}

.timeline-item {
  position: relative;
  margin-left: 2.5rem;
  padding: 1.6rem 1.8rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.04rem;
  top: 1.45rem;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 1px var(--gold-500);
}

.timeline-item > p:first-child {
  margin: 0 0 .3rem;
  color: var(--gold-600);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.timeline-item span {
  display: block;
  margin: .55rem 0;
  color: var(--green-700);
  font-weight: 850;
}

.capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.filter-button {
  min-height: 42px;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--green-950);
  cursor: pointer;
  font-weight: 900;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--green-700);
  background: var(--green-800);
  color: var(--ivory);
  outline: none;
}

.project-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card-large {
  min-height: 420px;
  overflow: hidden;
}

.project-art {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1.25fr .9fr .6fr;
  gap: .6rem;
  margin: -1.4rem -1.4rem 1.3rem;
  padding: 1rem;
  background: var(--green-900);
  overflow: hidden;
}

.project-art span {
  display: block;
  align-self: stretch;
  margin: 0;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, .18);
}

.project-art span:nth-child(2) {
  margin-top: 2rem;
  background: rgba(212, 175, 55, .6);
}

.project-art span:nth-child(3) {
  margin-top: 4rem;
  background: rgba(223, 240, 226, .35);
}

.project-art-one,
.project-art-four {
  background: linear-gradient(135deg, var(--green-900), #2f6f51);
}

.project-art-two,
.project-art-five {
  background: linear-gradient(135deg, #5e4a15, var(--green-800));
}

.project-art-three,
.project-art-six {
  background: linear-gradient(135deg, var(--green-950), #a07a24);
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .intro-grid,
  .split-layout,
  .timeline-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-list,
  .card-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .experience-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 68px 1rem auto 1rem;
    display: grid;
    gap: .5rem;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ivory);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    justify-content: center;
  }

  .hero {
    min-height: calc(88svh - 68px);
  }

  .name-stage {
    min-height: clamp(15rem, 38vw + 1rem, 22rem);
    font-size: clamp(3.25rem, 15.3vw, 6.4rem);
  }

  .hero-name {
    font-size: 1em;
  }

  .quick-facts,
  .feature-list,
  .card-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-art {
    min-height: 130px;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    max-width: 10rem;
    line-height: 1.1;
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .contact-modal-inner {
    padding: 2rem 1.2rem;
  }

  .contact-modal-inner .contact-actions {
    flex-direction: column;
  }

  .timeline::before {
    left: .5rem;
  }

  .timeline-item {
    margin-left: 1.5rem;
  }

  .timeline-item::before {
    left: -1.54rem;
  }
}
