:root {
  --green-950: #0f241c;
  --green-900: #163529;
  --green-800: #1e4636;
  --green-700: #2a5c47;
  --gold-600: #b08a3c;
  --gold-500: #c9a24a;
  --ink: #1a1f1c;
  --ink-soft: #3d4640;
  --muted: #667069;
  --line: rgba(22, 53, 41, 0.12);
  --paper: #eef1ef;
  --paper-deep: #e3e8e5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 36, 28, 0.18);
  --radius: 2px;
  --header-h: 9.75rem;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(201, 162, 74, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 20%, rgba(42, 92, 71, 0.07), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #f7f8f7 45%, var(--paper-deep) 100%);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-700);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--green-900);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-brand-row,
.header-nav-row {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0 0.65rem;
}

.header-nav-row {
  padding-bottom: 0.85rem;
}

.brand {
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 4.75rem;
  width: auto;
}

.header-door {
  width: min(280px, 34vw);
  height: 5.75rem;
  object-fit: cover;
  object-position: center 45%;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 36, 28, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--green-800);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--white);
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-900);
  border-color: rgba(22, 53, 41, 0.28);
}

.btn-secondary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-actions .btn-primary {
  background: var(--white);
  color: var(--green-950);
  border-color: var(--white);
}

.hero-actions .btn-primary:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-950);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--green-900);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 36, 28, 0.82) 0%, rgba(15, 36, 28, 0.55) 42%, rgba(15, 36, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(15, 36, 28, 0.25) 0%, rgba(15, 36, 28, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
  max-width: 40rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-logo {
  height: 5.5rem;
  width: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 14ch;
}

.hero p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.section-intro h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-950);
  letter-spacing: -0.01em;
}

.section-intro p:not(.eyebrow) {
  margin-top: 0.9rem;
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.value {
  padding-top: 1.25rem;
  border-top: 2px solid var(--green-800);
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 0.75rem;
}

.value p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.services {
  padding-top: 1rem;
}

.memorial {
  padding-top: 2rem;
}

.memorial-panel {
  display: grid;
  grid-template-columns: minmax(14rem, 0.95fr) 1.15fr;
  gap: 2.25rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(238, 241, 239, 0.9));
  box-shadow: var(--shadow);
}

.memorial-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green-950);
}

.memorial-photo img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.memorial-copy .eyebrow {
  color: var(--muted);
}

.memorial-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-950);
  letter-spacing: -0.01em;
}

.memorial-dates {
  margin-top: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-600);
}

.memorial-copy p:not(.eyebrow):not(.memorial-dates) {
  color: var(--ink-soft);
  max-width: 34rem;
  line-height: 1.75;
}

.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) 1.4fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.service:hover {
  padding-left: 0.5rem;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--green-900);
}

.service p {
  color: var(--ink-soft);
}

.contact {
  padding-bottom: 6rem;
}

.contact-office {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: end;
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.contact-office .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.4rem;
}

.contact-office-item p {
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.55;
}

.contact-office-item a {
  font-weight: 600;
  text-decoration: none;
}

.contact-office-item a:hover {
  text-decoration: underline;
}

.contact-office-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.contact-people-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-person {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-person:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(22, 53, 41, 0.28);
  color: inherit;
}

.contact-person img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--green-950);
}

.contact-person-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.15rem 1.2rem;
}

.contact-person-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--green-900);
}

.contact-person-email {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  word-break: break-word;
}

.contact-person:hover .contact-person-email {
  color: var(--green-700);
  text-decoration: underline;
}

.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  height: 3.25rem;
  width: auto;
  margin: 0 auto 1.25rem;
  opacity: 0.92;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-500);
}

.site-footer p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.copyright {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 7.5rem;
  }

  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-brand-row {
    position: relative;
  }

  .header-door {
    width: min(220px, 42vw);
    height: 4.5rem;
  }

  .header-nav-row {
    padding-bottom: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 120;
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions .btn {
    width: 100%;
  }

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

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

  .memorial-panel {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .memorial-photo img {
    min-height: 12rem;
  }

  .contact-office {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-office-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  :root {
    --header-h: 6.5rem;
  }

  .brand-logo {
    height: 3.1rem;
  }

  .header-door {
    width: 7.5rem;
    height: 3.1rem;
  }

  .hero-content {
    padding: 3.25rem 0 3rem;
  }

  .hero-logo {
    height: 4.25rem;
  }

  .hero h1 {
    max-width: none;
  }

  .section {
    padding: 4rem 0;
  }

  .site-footer p {
    font-size: 0.86rem;
  }
}

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

  .hero-photo,
  .hero-content,
  .reveal,
  .btn,
  .service {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
