:root {
  --bg: #f8f5ee;
  --surface: #fffdf8;
  --surface-strong: #f1eadc;
  --navy: #17324d;
  --navy-soft: #284a66;
  --green: #5f806f;
  --green-deep: #3f6658;
  --beige: #d8c8ad;
  --charcoal: #2d3436;
  --muted: #5d6465;
  --border: #ded3bf;
  --shadow: 0 18px 38px rgba(39, 52, 54, 0.09);
  --radius: 8px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(95, 128, 111, 0.08), transparent 360px),
    var(--bg);
  color: var(--charcoal);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 245, 238, 0.94);
  border-bottom: 1px solid rgba(222, 211, 191, 0.82);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--beige);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-deep);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0.55rem 0.82rem;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(95, 128, 111, 0.14);
  color: var(--navy);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.65rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  font-weight: 650;
  line-height: 1.02;
}

h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-subtitle {
  color: var(--navy-soft) !important;
  font-size: clamp(1.18rem, 2.2vw, 1.45rem) !important;
  font-weight: 650;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 740;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.button.primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(63, 102, 88, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #35584c;
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  box-shadow: var(--shadow);
}

.availability {
  margin-top: 1.25rem;
  color: var(--green-deep) !important;
  font-size: 0.95rem !important;
  font-weight: 680;
}

.profile-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.profile-photo-wrap {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(222, 211, 191, 0.92);
  border-radius: 8px;
  background: var(--surface-strong);
  aspect-ratio: 4 / 5;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 28%;
}

.profile-info {
  position: relative;
  z-index: 1;
  padding-top: 1.25rem;
}

.profile-info h2 {
  margin-bottom: 0.25rem;
  font-size: 1.85rem;
}

.profile-info p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 650;
}

.profile-info ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-info li {
  border-left: 3px solid var(--green);
  background: rgba(95, 128, 111, 0.08);
  color: var(--navy);
  padding: 0.55rem 0.75rem;
  font-weight: 650;
}

.profile-pattern {
  position: absolute;
  right: -48px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(216, 200, 173, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 48%, rgba(216, 200, 173, 0.48) 49% 51%, transparent 52%),
    radial-gradient(circle, transparent 34%, rgba(95, 128, 111, 0.22) 35% 37%, transparent 38%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.3rem;
}

.section-heading p,
.text-block p {
  color: var(--muted);
}

.text-block {
  max-width: 900px;
}

.value-grid,
.project-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.value-card,
.project-card,
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(39, 52, 54, 0.05);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.value-card:hover,
.project-card:hover,
.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 128, 111, 0.48);
  box-shadow: var(--shadow);
}

.value-card {
  padding: 1.25rem;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.tinted {
  position: relative;
}

.tinted::before {
  content: "";
  position: absolute;
  inset: 2.8rem 50% 2.8rem;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: rgba(241, 234, 220, 0.58);
}

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

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.3rem;
}

.category {
  margin-bottom: 0.55rem;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 780;
}

.project-card p:not(.category) {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
}

.tags span {
  border: 1px solid rgba(95, 128, 111, 0.22);
  border-radius: 999px;
  background: rgba(95, 128, 111, 0.09);
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 680;
  padding: 0.3rem 0.58rem;
}

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

.testimonial-card {
  margin: 0;
  padding: 1.3rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.2rem;
  color: var(--charcoal);
  font-size: 0.96rem;
  line-height: 1.58;
}

.testimonial-card figcaption {
  display: grid;
  gap: 0.18rem;
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 740;
}

.testimonial-card figcaption span {
  color: var(--muted);
  font-weight: 650;
}

.reference-note {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 650;
}

.authorship {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.authorship-copy {
  max-width: 780px;
}

.authorship-copy p {
  color: var(--muted);
}

.authorship blockquote {
  margin: 1.3rem 0 0;
  border-left: 4px solid var(--green);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.45;
  padding-left: 1rem;
}

.storyline-photo-wrap {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 28px rgba(39, 52, 54, 0.08);
}

.storyline-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 56% 36%;
}

.storyline-photo-wrap figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.85rem 0.9rem 0.95rem;
}

.contact-section {
  padding-bottom: 4rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  gap: 1.6rem;
  align-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card .eyebrow {
  color: #fff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.84);
}

address {
  display: grid;
  gap: 0.55rem;
  font-style: normal;
}

address a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 3px;
}

.contact-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.contact-card .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.site-footer {
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
    gap: 0.65rem;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 24px rgba(39, 52, 54, 0.08);
    padding: 0 0.5rem;
    transition:
      max-height 180ms ease,
      opacity 160ms ease,
      padding 160ms ease;
  }

  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    padding: 0.5rem;
  }

  .nav-links a {
    border-radius: 6px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
    gap: 1.6rem;
  }

  .profile-panel {
    max-width: 540px;
  }

  .value-grid,
  .project-grid,
  .testimonial-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .authorship {
    grid-template-columns: 1fr;
  }

  .storyline-photo-wrap {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 1.1rem, var(--content));
    padding: 3.8rem 0;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.06;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 1.12rem !important;
  }

  .headshot-placeholder {
    min-height: 230px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .testimonial-card,
  .project-card,
  .value-card {
    padding: 1.05rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
