@font-face {
  font-family: Barlow;
  src: url('./fonts/Barlow-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url('./fonts/Barlow-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url('./fonts/Barlow-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url('./fonts/Barlow-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  scroll-padding-top: 5.85rem;
  --paper: #f5f7f4;
  --ink: #26332e;
  --green: #36594e;
  --dark-green: #29463e;
  --muted: #455950;
  --line: #ccd9d2;
  --wash: #e6eeea;
  font-family: Barlow, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1.125rem; line-height: 1.55; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(72rem, calc(100% - 6rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .6rem 1rem; background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .brand, nav { display: flex; align-items: center; }
.header-inner { min-height: 5.1rem; justify-content: space-between; gap: 1rem; }
@media (min-width: 851px) {
  .header-inner { width: min(96rem, calc(100% - 3.5rem)); }
}
.brand { gap: .65rem; text-decoration: none; font-size: 1.27rem; font-weight: 600; line-height: 1.2; }
.brand img { flex: 0 0 39px; }
nav { flex-wrap: wrap; column-gap: clamp(1rem, 2.9vw, 2.45rem); }
nav a { padding-block: .55rem; text-decoration: none; font-size: .97rem; font-weight: 600; }
nav a:hover { text-decoration: underline; }


h1, h2, h3 { font-weight: 600; line-height: 1.03; letter-spacing: -.035em; }
h1 { font-size: clamp(3.45rem, 6.4vw, 6.5rem); color: var(--dark-green); }
.hero-copy p { max-width: 32rem; margin-block: 1.55rem 1.95rem; color: var(--muted); font-size: clamp(1.12rem, 1.55vw, 1.31rem); }
.hero-intro { padding-block: clamp(.55rem, 1.2vw, 1rem) clamp(2.6rem, 5vw, 4.5rem); }
.hero h1 { font-size: clamp(2.85rem, 6.4vw, 6.5rem); }
.hero-copy p { max-width: 40rem; }
.hero-band { margin-top: .65rem; }
.hero-band img {
  width: 100%;
  height: clamp(7rem, 16vw, 12.5rem);
  object-fit: cover;
  object-position: center 53%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 53%, rgb(0 0 0 / 48%) 76%, transparent 100%);
}
.button { display: inline-flex; align-items: center; gap: 1.2rem; background: var(--green); color: white; padding: .75rem 1rem; text-decoration: none; font-weight: 600; font-size: 1rem; }
.button:hover { background: #263f36; }
.button:focus-visible { outline-color: var(--green); }

h2 { font-size: clamp(2.2rem, 3.6vw, 3.75rem); color: var(--dark-green); }
.capabilities { border-top: 1px solid var(--line); padding-block: clamp(3.4rem, 6vw, 5.7rem); }
.section-intro { max-width: 43rem; margin-top: 1rem; color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 1.75rem; }
.capability-grid > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.capability-grid h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.capability-grid p { margin-top: .6rem; color: var(--muted); }

.profile { border-top: 1px solid var(--line); }
.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.75rem; padding-block: clamp(3.4rem, 6vw, 5.7rem); }
.role { color: var(--muted); margin-top: .65rem; font-weight: 500; }
.profile-lead { max-width: 38rem; font-size: 1.32rem; }
.profile-detail { margin-block: .9rem 1.25rem; color: var(--muted); }
.text-link { display: inline-flex; align-items: baseline; gap: .5rem; font-size: 1rem; font-weight: 600; color: var(--green); }
.text-link:hover { text-decoration-thickness: 2px; }

.work { background: var(--wash); padding-block: clamp(3.4rem, 6vw, 5.7rem); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: 1.75rem; }
.project { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border-top: 3px solid var(--green); padding: clamp(1.4rem, 3vw, 2.3rem); }
.project-context { color: var(--muted); font-size: .98rem; font-weight: 600; margin-bottom: .55rem; }
h3 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.project h3 + p { margin-block: .95rem 1.3rem; color: var(--muted); }
.project .text-link { margin-top: auto; }

.footer { background: var(--dark-green); color: var(--paper); }
.footer-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; padding-block: 2.75rem; }
.footer h2, .footer .text-link { color: inherit; }
.footer h2 { font-size: 2.15rem; margin-bottom: .55rem; }
.contact-details { margin-top: .65rem; font-style: normal; }

@media (max-width: 850px) {
  :root { scroll-padding-top: 8rem; }
  .wrap { width: min(72rem, calc(100% - 3rem)); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .45rem; padding-block: .8rem; }
}

@media (max-width: 640px) {
  :root { scroll-padding-top: 10.5rem; }
  .wrap { width: calc(100% - 2.25rem); }
  nav { column-gap: .9rem; }
  nav a { font-size: .9rem; }
  .capability-grid, .profile-grid, .project-grid { grid-template-columns: 1fr; }
  .profile-grid { gap: 1.25rem; }
}

.footer-links { display: flex; flex-wrap: wrap; column-gap: 1.5rem; row-gap: .5rem; }
.privacy { max-width: 46rem; padding-block: clamp(3rem, 6vw, 5rem); }
.privacy h1 { font-size: clamp(2.8rem, 5vw, 4.75rem); }
.privacy h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-top: 1.8rem; }
.privacy p { margin-top: .75rem; }
