:root {
  --ink: #111816;
  --muted: #59645f;
  --paper: #fbfaf6;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.88);
  --soft: #f0ede4;
  --line: #d8d2c2;
  --green: #18382f;
  --green-2: #245646;
  --gold: #c6a35d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 24, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, #f8f3eb 98%);
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.nav-active,
.site-header.simple-header {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 8px 30px rgba(17, 24, 22, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.site-header.scrolled .brand-mark,
.site-header.nav-active .brand-mark {
  border-color: var(--line);
  background: var(--green);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 650;
}

.primary-nav a {
  position: relative;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

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

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

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 120px clamp(20px, 6vw, 84px) 96px;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.88), rgba(17, 24, 22, 0.58) 47%, rgba(17, 24, 22, 0.2)),
    linear-gradient(0deg, rgba(17, 24, 22, 0.55), rgba(17, 24, 22, 0.08) 34%);
}

.hero-content {
  position: relative;
  align-self: end;
  width: min(780px, 100%);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

body.hero-loaded .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
}

.section-heading {
  position: relative;
}

.section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5rem;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.9;
  transform: translateY(-1.6rem);
  animation: accent-pulse 3.2s ease-in-out infinite;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 760;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 12px 28px rgba(17, 24, 22, 0.12);
}

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

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

.button.primary.hero-hover {
  position: relative;
  overflow: hidden;
}

.button.primary.hero-hover::after {
  content: attr(data-hover);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(100%);
  transition: transform 180ms ease;
  font-weight: 760;
}

.button.primary.hero-hover:hover::after,
.button.primary.hero-hover:focus-visible::after {
  transform: translateY(0);
}

.button.primary.hero-hover:hover,
.button.primary.hero-hover:focus-visible {
  color: transparent;
}

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

.button.full {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.reveal.reveal-delay-1 {
  transition-delay: 0.14s;
}

.reveal.reveal-delay-2 {
  transition-delay: 0.26s;
}

.reveal.reveal-delay-3 {
  transition-delay: 0.38s;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

@keyframes accent-pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}


.portrait-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.section-copy p,
.section-heading p,
.approach-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.04rem;
}

.portrait-panel {
  background: var(--surface);
  border: 1px solid rgba(17, 24, 22, 0.06);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
}

.portrait-panel div {
  padding: clamp(22px, 4vw, 34px);
}

.portrait-panel strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.service-card {
  min-height: 320px;
  padding: clamp(28px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

.services {
  padding-top: clamp(50px, 7vw, 82px);
  background: var(--green);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  margin-bottom: 44px;
}

.services .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.services-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.service-icon {
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 42px;
  background: var(--gold);
  animation: accent-pulse 3.2s ease-in-out infinite;
}

.service-card p {
  color: rgba(255, 255, 255, 0.72);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  background: var(--soft);
}
.approach-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.approach-list div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 18px;
  padding: 28px;
  background: var(--paper);
}

.approach-list span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.approach-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.approach-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.contact-panel {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-link {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.contact-panel dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-panel div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 40px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.site-footer p {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.footer-brand {
  position: relative;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.footer-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.85rem;
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.95;
  animation: accent-pulse 3.2s ease-in-out infinite;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: start;
  min-width: max-content;
}

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

.legal-page {
  min-height: 100vh;
  padding: 120px clamp(20px, 6vw, 84px) 92px;
  background: linear-gradient(180deg, var(--paper) 0%, #f8f3eb 98%);
}

.legal-content {
  position: relative;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 40px 96px;
  background: var(--white);
  border: 1px solid rgba(17, 24, 22, 0.08);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(17, 24, 22, 0.08);
}

.legal-content::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 40px;
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.9;
  animation: accent-pulse 3.2s ease-in-out infinite;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  margin-bottom: 0.5rem;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content a {
  color: var(--green-2);
  font-weight: 760;
}

.legal-content p + h2,
.legal-content h2 + p {
  margin-top: 1.8rem;
}

@media (max-width: 980px) {
  .split,
  .section-heading,
  .approach,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .brand small {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 24;
    display: block;
    flex: 0 0 auto;
  }

  .primary-nav {
    position: fixed;
    top: 82px;
    right: 18px;
    left: 18px;
    z-index: 22;
    display: grid;
    gap: 4px;
    padding: 10px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid rgba(17, 24, 22, 0.1);
    border-radius: 8px;
    box-shadow: 0 20px 52px rgba(17, 24, 22, 0.16);
    font-size: 1rem;
    font-weight: 760;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav a {
    display: block;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 6px;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: rgba(198, 163, 93, 0.16);
  }

  .primary-nav a::after {
    display: none;
  }

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

  .simple-header .primary-nav {
    display: none;
  }

  .simple-header .brand-mark {
    border-color: var(--line);
    background: var(--green);
  }

  .hero {
    min-height: 86vh;
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 24, 22, 0.9), rgba(17, 24, 22, 0.62)),
      linear-gradient(0deg, rgba(17, 24, 22, 0.54), rgba(17, 24, 22, 0.06));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 250px;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    margin-top: 22px;
    min-width: 0;
  }
}
