:root {
  --surface: #fbf9f1;
  --surface-dim: #dcdad2;
  --surface-bright: #fbf9f1;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f5f4ec;
  --surface-container: #f0eee6;
  --surface-container-high: #eae8e0;
  --surface-container-highest: #e4e3db;
  --on-surface: #1b1c17;
  --on-surface-variant: #514443;
  --inverse-surface: #30312c;
  --inverse-on-surface: #f3f1e9;
  --outline: #837373;
  --outline-variant: #d5c2c1;
  --surface-tint: #805253;
  --primary: #805253;
  --on-primary: #ffffff;
  --primary-container: #c08b8b;
  --on-primary-container: #4b2627;
  --inverse-primary: #f2b8b8;
  --secondary: #6d5a5a;
  --on-secondary: #ffffff;
  --secondary-container: #f7dcdc;
  --on-secondary-container: #736060;
  --tertiary: #735c00;
  --on-tertiary: #ffffff;
  --tertiary-container: #cca830;
  --on-tertiary-container: #4f3e00;
  --background: #fbf9f1;
  --on-background: #1b1c17;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 5rem;
  --space-8: 7.5rem;
  --container: 1280px;
  --shadow-soft: 0 20px 40px -24px rgba(128, 82, 83, 0.24);
  --shadow-card: 0 18px 40px -28px rgba(128, 82, 83, 0.28);
  --shadow-lift: 0 18px 32px -16px rgba(128, 82, 83, 0.18);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(242, 184, 184, 0.12), transparent 26%), var(--background);
  color: var(--on-background);
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2 * 24px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--on-primary);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(251, 249, 241, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 194, 193, 0.45);
}

.nav-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--secondary);
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
  border-color: rgba(128, 82, 83, 0.35);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.mobile-menu {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu a {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  color: var(--secondary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 4.5rem;
}

.hero-media,
.final-cta-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(100%) brightness(0.74);
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(251, 249, 241, 0.02), rgba(251, 249, 241, 0.1) 60%, rgba(251, 249, 241, 0.94));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: 6rem 5rem;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.hero h1,
.section h2,
.final-cta h2,
.story-copy h2,
.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.hero h1 {
  color: #fff;
  font-size: clamp(3.2rem, 10vw, 4.8rem);
  text-shadow: 0 14px 32px rgba(27, 28, 23, 0.38);
}

.button {
  appearance: none;
  border: 0;
  border-radius: var(--radius-full);
  padding: 0.95rem 1.6rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 16px 30px -20px rgba(128, 82, 83, 0.58);
}

.button-primary:hover {
  background: color-mix(in srgb, var(--primary) 92%, white);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
}

.button-shimmer {
  position: relative;
  overflow: hidden;
}

.button-shimmer::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -60%;
  width: 40%;
  height: 320%;
  transform: rotate(35deg);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.button-shimmer:hover::after {
  opacity: 1;
  transform: translateX(240%) rotate(35deg);
}

.section {
  padding-block: 5.5rem;
}

.section-muted {
  background: linear-gradient(to bottom, rgba(240, 238, 230, 0.7), rgba(240, 238, 230, 0.82));
}

.section-soft {
  background: linear-gradient(to bottom, rgba(245, 244, 236, 0.6), rgba(251, 249, 241, 0.9));
}

.section-vision {
  background: linear-gradient(180deg, rgba(255, 217, 217, 0.1), rgba(247, 220, 220, 0.2));
}

.split-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.story-copy {
  display: grid;
  gap: 1.25rem;
}

.story-copy h2,
.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--on-surface);
}

.lead,
.quote,
.timeline-content p,
.love-card p,
.memory-body p,
.vision-text,
.story-copy p,
.timeline-card p,
.footer-inner p,
.footer-inner small {
  color: var(--secondary);
  margin: 0;
  font-size: 1rem;
}

.lead,
.vision-text,
.quote {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.9;
}

.first-paragraph::first-letter {
  float: left;
  margin: 0.08em 0.22em 0 0;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.6rem;
  line-height: 0.9;
}

.section-rule,
.editorial-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(128, 82, 83, 0.42), transparent);
}

.polaroid-block {
  position: relative;
}

.polaroid-glow {
  position: absolute;
  left: -1.75rem;
  top: -1.75rem;
  width: 10rem;
  height: 10rem;
  border-radius: var(--radius-full);
  background: rgba(247, 220, 220, 0.55);
  filter: blur(3rem);
  z-index: -1;
}

.polaroid {
  margin: 0;
  padding: 1rem 1rem 2.8rem;
  border-radius: var(--radius-xl);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-card);
}

.polaroid img {
  border-radius: 0.25rem;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
}

.polaroid figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--secondary);
}

.tilt-left {
  transform: rotate(-2deg);
}

.feature-figure {
  margin: 0;
}

.feature-figure img {
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
  filter: grayscale(100%) brightness(0.92);
}

.timeline-copy .quote {
  font-style: italic;
}

.timeline-card {
  position: relative;
  width: min(100%, 24rem);
  padding: 1.25rem 1.25rem 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(213, 194, 193, 0.35);
  box-shadow: 0 12px 28px -24px rgba(128, 82, 83, 0.4);
}

.timeline-dot {
  position: absolute;
  left: -0.35rem;
  top: 1.05rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: var(--radius-full);
  background: var(--primary);
  box-shadow: 0 0 0 4px #fff;
}

.section-heading.centered {
  text-align: center;
  margin-bottom: 2.5rem;
}

.masonry-grid {
  columns: 1;
  column-gap: 1.5rem;
}

.memory-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(213, 194, 193, 0.18);
}

.memory-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.65s ease;
}

.memory-card:hover img {
  transform: scale(1.04);
}

.memory-body {
  padding: 1.05rem 1rem 1.25rem;
}

.memory-body p {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--secondary);
}

.timeline {
  display: grid;
  gap: 2.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(128, 82, 83, 0.18);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-pin {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px -18px rgba(128, 82, 83, 0.55);
}

.timeline-pin.pin-secondary {
  background: var(--primary-container);
}

.timeline-pin.pin-tertiary {
  background: var(--tertiary-container);
}

.timeline-content h3,
.timeline-side h3,
.love-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1.2;
}

.timeline-side p {
  margin: 0.35rem 0 0;
  color: var(--secondary);
}

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

.timeline-content {
  padding-top: 0.2rem;
}

.timeline-content .italic {
  font-style: italic;
  color: var(--secondary);
}

.text-right {
  text-align: left;
}

.love-grid-wrap {
  position: relative;
}

.bokeh-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bokeh-layer.centered-bokeh {
  inset: auto;
}

.bokeh {
  position: absolute;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(242, 184, 184, 0.3) 0%, transparent 72%);
  filter: blur(0.7rem);
  animation: floatBokeh 14s ease-in-out infinite;
}

.bokeh-large {
  left: -2rem;
  top: 0;
  width: 14rem;
  height: 14rem;
}

.bokeh-small {
  right: -1rem;
  bottom: 0;
  width: 9rem;
  height: 9rem;
  animation-delay: -4s;
}

.bokeh-giant {
  left: 50%;
  top: 50%;
  width: 18rem;
  height: 18rem;
  transform: translate(-50%, -50%);
  animation-duration: 18s;
}

@keyframes floatBokeh {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(1.75rem, -1.5rem);
  }
}

.love-grid {
  position: relative;
  display: grid;
  gap: 1rem;
}

.love-card {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(213, 194, 193, 0.18);
  box-shadow: var(--shadow-soft);
}

.love-card .material-symbols-outlined {
  color: var(--primary);
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: inline-flex;
}

.love-card h3 {
  font-size: 1.45rem;
}

.vision-panel {
  position: relative;
  text-align: center;
  padding-block: 1rem;
}

.vision-text {
  max-width: 44rem;
  margin-inline: auto;
  font-style: italic;
}

.final-cta {
  position: relative;
  min-height: 31rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 28, 23, 0.64), rgba(27, 28, 23, 0.18));
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding-block: 5rem;
}

.final-cta .final-cta-content p {
  color: #fff;
  margin: 0.5rem 0 0;
}

.final-cta h2 {
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.3rem, 7vw, 4rem);
  text-shadow: 0 12px 28px rgba(27, 28, 23, 0.44);
}

.site-footer {
  padding-block: 3.5rem 4.5rem;
  border-top: 1px solid rgba(213, 194, 193, 0.42);
  background: linear-gradient(to bottom, rgba(251, 249, 241, 0.8), rgba(245, 244, 236, 0.95));
}

.footer-inner {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  text-align: center;
}

.brand-footer {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-inner small {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s cubic-bezier(0.21, 0.6, 0.35, 1), transform 0.9s cubic-bezier(0.21, 0.6, 0.35, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 47.999rem) {
  .hero-media img {
    object-position: center 25%;
  }
}

@media (min-width: 48rem) {
  .container {
    width: min(calc(100% - 2 * 40px), var(--container));
  }

  .masonry-grid {
    columns: 2;
  }

  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split-layout-reverse .story-copy {
    order: 1;
  }

  .split-layout-reverse .feature-figure {
    order: 2;
  }

  .text-right {
    text-align: right;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
  }

  .timeline-item-reverse .timeline-side {
    order: 3;
    text-align: left;
  }

  .timeline-item-reverse .timeline-content {
    order: 1;
    text-align: right;
  }

  .timeline-item-reverse .timeline-pin {
    order: 2;
  }

  .timeline-content,
  .timeline-side {
    padding-top: 0;
  }

  .timeline-pin {
    margin-inline: auto;
  }

  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }

  .timeline-content {
    max-width: 26rem;
  }

  .timeline-item:not(.timeline-item-reverse) .timeline-content {
    margin-left: auto;
    text-align: left;
  }

  .timeline-item:not(.timeline-item-reverse) .timeline-side {
    text-align: right;
  }

  .love-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .footer-inner {
    gap: 1rem;
  }
}

@media (min-width: 64rem) {
  .container {
    width: min(calc(100% - 2 * 80px), var(--container));
  }

  .desktop-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-content {
    padding-block: 8rem 6rem;
  }

  .split-layout {
    gap: 5rem;
  }

  .masonry-grid {
    columns: 3;
  }

  .love-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .button-shimmer::after,
  .bokeh {
    display: none;
  }
}
