:root {
  --ink: #1b1c1a;
  --muted: #64645d;
  --paper: #f8f4ed;
  --paper-strong: #fffaf2;
  --line: rgba(27, 28, 26, 0.14);
  --sage: #7d917f;
  --terracotta: #b96f4f;
  --charcoal: #282c2a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(27, 28, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

.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: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(248, 244, 237, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 244, 237, 0.94);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper-strong);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  border-radius: 50%;
  cursor: pointer;
}

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

.section {
  padding: clamp(82px, 10vw, 132px) clamp(20px, 5vw, 64px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding-top: 130px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 244, 237, 0.94) 0%, rgba(248, 244, 237, 0.84) 44%, rgba(248, 244, 237, 0.2) 100%),
    url("assets/hero-background.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  bottom: 34px;
  height: 1px;
  background: rgba(27, 28, 26, 0.22);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.step {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  color: #3d3e39;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button-secondary {
  background: rgba(255, 250, 242, 0.62);
}

.split,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.about-layout {
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  align-items: center;
}

.about-layout h2 {
  margin-bottom: 0;
}

.about-layout .copy {
  margin-top: 30px;
}

.portrait-wrap {
  position: relative;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 22px -18px -22px 18px;
  border: 1px solid rgba(27, 28, 26, 0.18);
}

.portrait {
  position: relative;
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: 50% 22%;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy p {
  margin-bottom: 22px;
}

.vita-panel {
  margin-top: clamp(46px, 7vw, 86px);
  padding: clamp(26px, 5vw, 48px);
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
}

.vita-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 74px);
}

.vita-grid h3 {
  margin-bottom: 18px;
}

.vita-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.vita-grid li + li {
  margin-top: 12px;
}

.profile-strip {
  padding-top: 0;
}

.services {
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

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

.service-card {
  min-height: 320px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper-strong);
}

.service-card span {
  display: block;
  margin-bottom: 74px;
  color: var(--sage);
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.approach {
  color: var(--paper-strong);
  background: var(--charcoal);
}

.approach .section-kicker,
.approach .step {
  color: #d99573;
}

.timeline {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  background: rgba(255, 250, 242, 0.18);
  border: 1px solid rgba(255, 250, 242, 0.18);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(18px, 5vw, 80px);
  padding: clamp(26px, 5vw, 54px);
  background: var(--charcoal);
}

.timeline-item h3 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 3.2rem);
}

.contact {
  min-height: 74vh;
  display: grid;
  place-items: center;
}

.contact-inner {
  width: min(880px, 100%);
  text-align: center;
}

.contact-inner p:not(.section-kicker) {
  max-width: 620px;
  margin: 22px auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.photos-page {
  min-height: calc(100vh - 82px);
  padding-top: 140px;
}

.photos-page .section-heading {
  max-width: 980px;
}

.photos-page h1 {
  max-width: 940px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 7vw, 6.7rem);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(36px, 6vw, 70px);
}

.photo-card {
  margin: 0;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.photo-card-wide {
  grid-column: 1 / -1;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 78vh;
  object-fit: cover;
}

.photo-card:not(.photo-card-wide) img {
  aspect-ratio: 4 / 5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

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

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .about-layout,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .about-layout {
    align-items: start;
  }

  .portrait-wrap {
    max-width: 440px;
  }

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

  .service-card span {
    margin-bottom: 44px;
  }
}

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

  .brand span:last-child {
    max-width: 170px;
    line-height: 1.1;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 66px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

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

  .hero {
    min-height: 96vh;
    background:
      linear-gradient(180deg, rgba(248, 244, 237, 0.98) 0%, rgba(248, 244, 237, 0.92) 48%, rgba(248, 244, 237, 0.6) 100%),
      url("assets/hero-background.png") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

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

  .service-card {
    min-height: auto;
  }

  .photos-page {
    padding-top: 112px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    min-height: 280px;
    max-height: none;
  }

  .site-footer {
    display: grid;
  }
}
