:root {
  --paper: #fbf7ef;
  --surface: #fffdf8;
  --ink: #172126;
  --muted: #647174;
  --line: rgba(23, 33, 38, 0.14);
  --teal: #0f766e;
  --teal-dark: #0a4f4c;
  --clay: #c86f55;
  --sun: #efb24d;
  --shadow: 0 18px 55px rgba(23, 33, 38, 0.13);
  color-scheme: light;
  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;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font, Inter), ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(23, 33, 38, 0.08);
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 50%;
  background: #e7f3ef;
  color: var(--teal-dark);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav {
  gap: 0.3rem;
  border: 1px solid rgba(23, 33, 38, 0.09);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.75);
  padding: 0.22rem;
}

.site-nav a {
  min-width: 3.9rem;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  color: #37484d;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e7f3ef;
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  min-height: auto;
  padding: clamp(2rem, 8vw, 5.6rem) clamp(1rem, 4vw, 4rem) clamp(2.4rem, 6vw, 4rem);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

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

h2 {
  font-size: clamp(2rem, 8vw, 4.7rem);
}

h3 {
  font-size: clamp(1.22rem, 5vw, 1.8rem);
}

.hero-text {
  max-width: 35rem;
  margin: 1.1rem 0 0;
  color: #334145;
  font-size: clamp(1.12rem, 5vw, 1.55rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.08rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
  color: white;
}

.button.secondary {
  border-color: rgba(23, 33, 38, 0.14);
  background: rgba(255, 253, 248, 0.75);
  color: var(--ink);
}

.hero-media {
  position: relative;
  align-self: end;
  width: min(100%, 29rem);
  margin-inline: auto;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(23, 33, 38, 0.28), transparent);
  content: "";
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro,
.gallery-section,
.moments {
  padding: clamp(3rem, 9vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.intro {
  display: grid;
  gap: 2rem;
  background: var(--surface);
}

.section-heading {
  max-width: 46rem;
}

.intro-text {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  color: #3c4c50;
  font-size: clamp(1.05rem, 3vw, 1.22rem);
}

.intro-text p,
.moments-copy p,
.moment-list p,
.profile-card p,
.site-footer p {
  margin: 0;
}

.profile-band {
  padding: clamp(1.1rem, 4vw, 2rem) clamp(1rem, 4vw, 4rem);
  background: #172126;
  color: #f8f0e2;
}

.profile-grid {
  display: grid;
  gap: 1rem;
  max-width: 72rem;
  margin-inline: auto;
}

.profile-card {
  min-height: 12rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
}

.profile-card .number {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--sun);
  font-weight: 900;
}

.profile-card h3 {
  margin-bottom: 0.65rem;
}

.profile-card p {
  color: rgba(248, 240, 226, 0.78);
}

.gallery-section {
  background: #eef5f1;
}

.gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  min-height: 19rem;
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(23, 33, 38, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.5rem;
  background: rgba(23, 33, 38, 0.68);
  color: white;
  padding: 0.72rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.moments {
  display: grid;
  gap: 2rem;
  background: var(--paper);
}

.moments-copy {
  max-width: 45rem;
}

.moments-copy p {
  margin-top: 1rem;
  color: #3c4c50;
  font-size: clamp(1.05rem, 3vw, 1.22rem);
}

.moment-list {
  display: grid;
  gap: 0.8rem;
}

.moment-list p {
  border-left: 0.32rem solid var(--clay);
  border-radius: 0.45rem;
  background: var(--surface);
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(23, 33, 38, 0.08);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
  background: #172126;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.92rem;
}

.credits {
  color: rgba(255, 253, 248, 0.62);
}

.credits a {
  color: rgba(255, 253, 248, 0.86);
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    min-width: 0;
    padding-inline: 0.55rem;
  }

  .button {
    width: 100%;
  }
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.75fr);
    align-items: center;
    min-height: 82svh;
  }

  .intro,
  .moments {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .gallery {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .gallery-item {
    min-height: 34rem;
  }

  .gallery-item.wide {
    min-height: 22rem;
    align-self: center;
  }
}

@media (min-width: 1120px) {
  .hero,
  .intro,
  .gallery-section,
  .moments,
  .site-header,
  .site-footer {
    padding-inline: max(4rem, calc((100vw - 1180px) / 2));
  }
}

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