:root {
  --background: #12110d;
  --foreground: #f7f0df;
  --paper: #f2e6cd;
  --ink: #17130e;
  --charcoal: #181611;
  --charcoal-2: #242017;
  --gold: #d7a84b;
  --rust: #9a5037;
  --line: rgba(247, 240, 223, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 28px;
  isolation: isolate;
}

.heroMedia,
.heroMedia img,
.heroOverlay {
  position: absolute;
  inset: 0;
}

.heroMedia {
  z-index: -2;
  background: var(--charcoal);
}

.heroMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.92) contrast(1.08);
}

.heroOverlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 17, 13, 0.95), rgba(18, 17, 13, 0.56) 46%, rgba(18, 17, 13, 0.18)),
    linear-gradient(0deg, rgba(18, 17, 13, 0.98) 0%, rgba(18, 17, 13, 0.24) 45%, rgba(18, 17, 13, 0.28) 100%);
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  color: #fff7e8;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 168, 75, 0.16);
  flex: 0 0 auto;
}

.navLinks {
  display: flex;
  gap: 8px;
}

.navLinks a {
  border: 1px solid rgba(255, 247, 232, 0.22);
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 247, 232, 0.82);
  background: rgba(18, 17, 13, 0.26);
  backdrop-filter: blur(14px);
}

.heroInner {
  width: min(760px, 100%);
  padding: 130px 0 118px;
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.94;
  margin: 0;
}

h1 {
  font-size: clamp(3.7rem, 8.6vw, 7.6rem);
  max-width: 980px;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.8rem, 6.2vw, 6.1rem);
}

.heroCopy {
  margin: 28px 0 0;
  max-width: 680px;
  color: rgba(247, 240, 223, 0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #1c1308;
}

.button.secondary {
  border: 1px solid rgba(247, 240, 223, 0.35);
  color: #fff7e8;
  background: rgba(255, 255, 255, 0.07);
}

.memoryStrip {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.memoryStrip span {
  padding: 16px 14px 0 0;
  color: rgba(247, 240, 223, 0.72);
  font-weight: 700;
}

.intro,
.works,
.feature,
.plan,
.about,
.memorial,
footer {
  padding: clamp(64px, 9vw, 118px) clamp(22px, 6vw, 82px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 7vw, 86px);
  background: var(--paper);
  color: var(--ink);
}

.intro p:last-child,
.featureText > p {
  margin: 0;
  color: rgba(23, 19, 14, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.75;
}

.sectionHeader {
  width: min(890px, 100%);
  margin-bottom: 34px;
}

.works {
  background:
    linear-gradient(180deg, rgba(18, 17, 13, 0.92), rgba(28, 25, 18, 1)),
    var(--charcoal);
}

.workGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workCard {
  min-height: 100%;
  background: rgba(255, 247, 232, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.workCard:hover,
.workCard:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(215, 168, 75, 0.62);
  background: rgba(255, 247, 232, 0.09);
}

.workCard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.workCardBody {
  padding: 20px;
}

.workCardBody p:first-child {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.workCard h3,
.planItem h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.workCard span {
  display: block;
  margin-top: 10px;
  color: rgba(247, 240, 223, 0.62);
}

.workCardBody p:last-child {
  margin: 16px 0 0;
  color: rgba(247, 240, 223, 0.72);
  line-height: 1.6;
}

.feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(300px, 1.14fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
  background: #ece0c7;
  color: var(--ink);
}

.featureImage {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(23, 19, 14, 0.22);
}

.featureImage img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.featureText h2 {
  margin-bottom: 22px;
}

.question {
  margin: 28px 0;
  padding: 22px;
  border-left: 4px solid var(--rust);
  background: rgba(154, 80, 55, 0.1);
  color: #3b261c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.themeCloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.themeCloud span {
  border: 1px solid rgba(23, 19, 14, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(23, 19, 14, 0.72);
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

.plan {
  background: var(--charcoal-2);
}

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

.planItem {
  min-height: 280px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.planItem span {
  display: block;
  margin-bottom: 54px;
  color: var(--gold);
  font-weight: 900;
}

.planItem p {
  color: rgba(247, 240, 223, 0.7);
  line-height: 1.62;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 7vw, 86px);
  background:
    linear-gradient(90deg, rgba(18, 17, 13, 0.92), rgba(18, 17, 13, 0.98)),
    url("/lawrence-andry-hero.png");
  background-size: cover;
  background-position: center;
}

.aboutLead {
  margin: 24px 0 0;
  color: rgba(247, 240, 223, 0.8);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.72;
}

.aboutGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.aboutCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(255, 247, 232, 0.08);
  backdrop-filter: blur(18px);
}

.aboutCard > span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aboutCard h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.aboutCard ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.aboutCard li {
  position: relative;
  padding-left: 18px;
  color: rgba(247, 240, 223, 0.74);
  line-height: 1.58;
}

.aboutCard li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.memorial {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(28px, 7vw, 86px);
  background:
    linear-gradient(180deg, rgba(13, 12, 9, 0.98), rgba(18, 17, 13, 1)),
    var(--background);
  border-top: 1px solid var(--line);
}

.memorialIntro p:last-child {
  margin: 22px 0 0;
  max-width: 540px;
  color: rgba(247, 240, 223, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.68;
}

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

.memorialName {
  min-height: 142px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.memorialName h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.memorialName p {
  margin: 14px 0 0;
  color: rgba(247, 240, 223, 0.68);
  font-weight: 700;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  background: #0d0c09;
  color: rgba(247, 240, 223, 0.62);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--foreground);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

footer span {
  max-width: 520px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .workGrid,
  .planGrid,
  .intro,
  .feature,
  .about,
  .aboutGrid,
  .memorial,
  .memorialGrid {
    grid-template-columns: 1fr;
  }

  .planGrid,
  .memorialGrid {
    border-left: 0;
  }

  .planItem {
    min-height: 220px;
    border-left: 1px solid var(--line);
  }

  .memorialName {
    min-height: 116px;
    border-left: 1px solid var(--line);
  }

  .planItem span {
    margin-bottom: 26px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 100svh;
    padding: 20px;
  }

  .nav {
    align-items: flex-start;
    padding: 18px 20px;
  }

  .navLinks {
    gap: 6px;
  }

  .navLinks a {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .brand {
    max-width: 154px;
  }

  .heroInner {
    padding: 116px 0 136px;
  }

  .heroMedia img {
    object-position: 70% center;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .heroActions .button {
    width: 100%;
  }

  .memoryStrip {
    left: 20px;
    right: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .memoryStrip span:nth-child(n + 5) {
    display: none;
  }

  .intro,
  .works,
  .feature,
  .plan,
  .about,
  .memorial,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .featureImage img {
    min-height: 280px;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin-top: 10px;
  }
}
