:root {
  --ink: #17232f;
  --muted: #596775;
  --paper: #f7fafc;
  --cream: #eaf3f6;
  --green: #0f5c72;
  --coral: #8a6f3d;
  --gold: #c7a14a;
  --blue: #285a8f;
  --line: rgba(23, 35, 47, .14);
  --shadow: 0 22px 70px rgba(23, 35, 47, .12);
}

* {
  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;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 88px;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus { top: 12px; }

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

.site-header {
  align-items: center;
  background: rgba(247, 250, 252, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 68px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
  z-index: 10;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(23, 35, 47, .08);
}

.site-nav,
.hero-actions,
.section-heading,
.filter-bar {
  align-items: center;
  display: flex;
}

.site-nav {
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-brand {
  color: var(--green);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
}

.site-brand span { display: block; font-size: 11px; letter-spacing: .04em; }

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 24px;
}

.hero {
  min-height: 88vh;
  overflow: hidden;
  position: relative;
}

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

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(247, 250, 252, .98) 0%, rgba(247, 250, 252, .78) 38%, rgba(247, 250, 252, .16) 78%);
}

.hero-content {
  display: grid;
  min-height: 88vh;
  padding: 140px clamp(20px, 5vw, 68px) 92px;
  margin: 0 auto;
  place-content: center;
  place-items: center;
  position: relative;
  text-align: center;
  width: min(960px, 100%);
  z-index: 1;
}

.hero-logo-panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(23, 35, 47, .1);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(23, 35, 47, .12);
  margin: 0 auto 30px;
  padding: clamp(16px, 2.4vw, 26px);
  width: min(720px, 100%);
}

.hero-logo-panel img {
  display: block;
  height: auto;
  width: 100%;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 5.8vw, 72px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  color: #314354;
  font-size: clamp(18px, 2vw, 23px);
  max-width: 610px;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

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

.button.secondary {
  background: rgba(247, 250, 252, .72);
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 96px clamp(20px, 5vw, 42px);
}

.intro {
  align-items: end;
  display: grid;
  gap: 42px;
  grid-template-columns: 1.1fr .9fr;
}

.intro > p {
  color: var(--muted);
  font-size: 21px;
  margin: 0;
}

.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.filter-bar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}

.filter {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  min-height: 36px;
  padding: 0 16px;
}

.filter.active {
  background: var(--green);
  color: white;
}

.project-grid,
.service-list,
.timeline,
.profile-grid {
  display: grid;
  gap: 18px;
}

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

.project-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  padding: 16px;
  transition: opacity .2s ease, transform .2s ease;
}

.project-card.hidden {
  display: none;
}

.project-visual {
  border-radius: 6px;
  height: 245px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
}

.project-visual::before {
  background: rgba(255, 255, 255, .78);
  border-radius: 18px;
  height: 54%;
  left: 12%;
  top: 18%;
  width: 62%;
}

.project-visual::after {
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  bottom: 14%;
  height: 86px;
  right: 12%;
  width: 86px;
}

.project-visual.green {
  background: linear-gradient(135deg, #1e594c, #8ab3a4);
}

.project-visual.blue {
  background: linear-gradient(135deg, #3766a0, #e0b949);
}

.project-visual.coral {
  background: linear-gradient(135deg, #e98368, #f5d7c7);
}

.project-logo {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  padding: 28px;
}

.project-logo::before,
.project-logo::after {
  display: none;
}

.project-logo img {
  display: block;
  height: auto;
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.micrograph {
  background: #ffffff;
}

.micrograph::before,
.micrograph::after {
  display: none;
}

.micrograph img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-card p {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 10px;
}

.band {
  background: #17232f;
  color: white;
}

.services {
  display: grid;
  gap: 50px;
  grid-template-columns: .8fr 1.2fr;
}

.band .section-kicker {
  color: #d8bb6d;
}

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

.service-list article,
.timeline article {
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 24px;
}

.service-list span,
.timeline span {
  color: var(--coral);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 12px;
}

.service-list p,
.timeline p {
  color: rgba(255, 255, 255, .72);
}

.process .timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.process .timeline article {
  border-color: var(--line);
}

.process .timeline p {
  color: var(--muted);
}

.section-note {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 360px;
}

.profile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.profile-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 330px;
  min-width: 0;
  padding: 16px;
}

.profile-photo {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .72) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 84%, rgba(255, 255, 255, .6) 0 28%, transparent 29%),
    linear-gradient(135deg, #d8e5ea, #0f5c72);
  border-radius: 6px;
  color: rgba(255, 255, 255, .72);
  display: flex;
  font-size: 22px;
  font-weight: 900;
  justify-content: center;
  margin-bottom: 18px;
}

.profile-photo-image {
  background: none;
  overflow: hidden;
}

.profile-photo-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.profile-card p {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

.profile-card h3 {
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.15;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.profile-card h3 .credentials {
  color: inherit;
  display: block;
  font: inherit;
}

.profile-card span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.billing {
  background: var(--cream);
  padding: 0 clamp(20px, 5vw, 42px) 96px;
}

.billing-inner {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(36px, 7vw, 82px);
}

.billing-inner h2 {
  max-width: 900px;
}

.billing-inner > p { color: var(--muted); font-size: 19px; max-width: 760px; margin: 20px 0 28px; }

.billing-inner .button {
  font-size: clamp(20px, 2.4vw, 28px);
  min-height: 62px;
  padding: 0 30px;
}

.contact {
  background: var(--cream);
  padding: 0 clamp(20px, 5vw, 42px) 96px;
}

.contact-inner {
  background: var(--green);
  border-radius: 8px;
  color: white;
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(36px, 7vw, 82px);
}

.contact-inner .section-kicker {
  color: var(--gold);
}

.contact-inner h2 {
  margin-bottom: 28px;
  max-width: 820px;
}

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

.contact-details div {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  min-height: 150px;
  padding: 22px;
}

.contact-details span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  color: white;
  display: inline-block;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-details a[href^="tel:"] {
  white-space: nowrap;
}

.footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 32px clamp(20px, 5vw, 68px);
}

.footer p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .menu-button {
    display: block;
  }

  .site-brand { max-width: 210px; }

  .site-nav {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 20px 22px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    padding-top: 126px;
  }

  .hero-logo-panel {
    margin-bottom: 24px;
    width: min(620px, 100%);
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(247, 250, 252, .98) 0%, rgba(247, 250, 252, .9) 45%, rgba(247, 250, 252, .35) 100%);
  }

  .intro,
  .services,
  .project-grid,
  .profile-grid,
  .contact-details,
  .process .timeline {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 16px;
  }

  .hero-logo-panel {
    padding: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 116px 16px 70px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.05;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .billing,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .billing-inner,
  .contact-inner {
    padding: 32px 24px;
  }

  .billing-inner .button {
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
  }

  .filter-bar {
    width: 100%;
  }

  .filter {
    flex: 1;
    padding: 0 10px;
  }

  .project-card {
    min-height: 0;
  }

  .profile-card {
    min-height: 0;
  }
}
