:root {
  color-scheme: light;
  --ink: #142321;
  --muted: #5a6863;
  --paper: #fbfaf7;
  --surface: #f1eee7;
  --line: rgba(20, 35, 33, 0.14);
  --accent: #167c72;
  --accent-dark: #0f504a;
  --cream: #e8dcc9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 35, 33, 0.16);
  --header-height: 78px;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 1rem var(--page-pad);
  color: var(--white);
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    min-height 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(251, 250, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 12px 38px rgba(20, 35, 33, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
}

.brand small {
  margin-top: 0.12rem;
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.2rem);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  transform: scale(1.04);
  animation: settleImage 1200ms ease-out forwards;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 23, 0.86) 0%, rgba(10, 24, 23, 0.62) 36%, rgba(10, 24, 23, 0.06) 78%),
    linear-gradient(0deg, rgba(10, 24, 23, 0.48), rgba(10, 24, 23, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(680px, 100%);
  padding: calc(var(--header-height) + 3rem) var(--page-pad) clamp(5rem, 12vh, 8.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta .eyebrow {
  color: var(--cream);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 8.6rem);
}

h2 {
  max-width: 980px;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.hero-copy {
  max-width: 560px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

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

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

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

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: var(--page-pad);
  bottom: 2rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: scrollDot 1700ms ease-in-out infinite;
}

.section {
  padding: clamp(5rem, 11vw, 9rem) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading .eyebrow {
  margin-top: 0.55rem;
}

.specialties {
  background: var(--paper);
}

.specialty-list {
  border-top: 1px solid var(--line);
}

.specialty-item {
  display: grid;
  grid-template-columns: minmax(70px, 0.16fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.specialty-item > span,
.timeline-item > span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.specialty-item p,
.timeline-item p,
.about-block p,
.cta p,
.site-footer p {
  color: var(--muted);
}

.specialty-item p {
  max-width: 760px;
  margin: 0.8rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  background: var(--surface);
}

.about-media {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: min(72svh, 760px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.about-content {
  align-self: center;
}

.about-content .lead {
  max-width: 760px;
  margin: 1.7rem 0 0;
  color: #34443f;
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.4rem, 6vw, 4rem);
}

.about-block {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 35, 33, 0.22);
}

.about-block h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.about-block p {
  margin: 0 0 1rem;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  background: rgba(20, 35, 33, 0.18);
}

.credentials div {
  min-height: 140px;
  padding: clamp(1rem, 2.3vw, 1.6rem);
  background: var(--surface);
}

.credentials strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
}

.credentials span {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.journey {
  background:
    linear-gradient(rgba(251, 250, 247, 0.82), rgba(251, 250, 247, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(22, 124, 114, 0.12), transparent 34%);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-item {
  min-height: 280px;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.62);
  transform: translateY(-4px);
}

.timeline-item h3 {
  margin-top: clamp(2.5rem, 8vw, 5rem);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.timeline-item p {
  margin: 0.9rem 0 0;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 8rem) var(--page-pad);
  background: var(--accent-dark);
  color: var(--white);
}

.cta::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 80, 74, 0.94), rgba(15, 80, 74, 0.78)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1600&q=82") center/cover;
  content: "";
}

.cta-content {
  position: relative;
  width: min(760px, 100%);
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.contact-link {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

address {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem var(--page-pad);
  background: #101c1a;
  color: var(--white);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

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

@keyframes settleImage {
  to {
    transform: scale(1);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(-12px);
  }

  50% {
    opacity: 1;
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 980px) {
  .site-header {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 1rem auto;
    display: grid;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid rgba(20, 35, 33, 0.12);
    background: rgba(251, 250, 247, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(20, 35, 33, 0.1);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

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

  .about-media {
    position: relative;
    top: auto;
    height: clamp(360px, 70vw, 540px);
    min-height: 0;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(10, 24, 23, 0.9) 0%, rgba(10, 24, 23, 0.62) 52%, rgba(10, 24, 23, 0.12) 100%),
      linear-gradient(90deg, rgba(10, 24, 23, 0.35), rgba(10, 24, 23, 0.08));
  }

  .hero-content {
    align-self: end;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 6.5rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.2rem, 17vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.6rem);
  }

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

  .button,
  .contact-link {
    width: 100%;
    text-align: center;
  }

  .scroll-cue {
    right: auto;
    left: var(--page-pad);
    bottom: 1.2rem;
    height: 56px;
  }

  .specialty-item {
    grid-template-columns: 1fr;
  }

  .credentials,
  .timeline {
    grid-template-columns: 1fr;
  }

  .credentials div,
  .timeline-item {
    min-height: auto;
  }

  .timeline-item h3 {
    margin-top: 2rem;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 0.35rem;
  }
}
