@font-face {
  font-family: "SF Pro Display";
  src: url("../assets/fonts/SF-Pro-Display-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../assets/fonts/SF-Pro-Display-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: "Baskerville Ground";
  src: url("../assets/fonts/Baskerville.ttf") format("truetype");
}

:root {
  --paper: #eeeae1;
  --paper-deep: #e4ded3;
  --ink: #171613;
  --soft: #625e56;
  --line: rgba(23, 22, 19, 0.2);
  --wine: #74382f;
  --orange: #c64f24;
  --white: #fffdf8;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(116, 56, 47, 0.09), transparent 29rem),
    radial-gradient(circle at 10% 42%, rgba(255, 255, 255, 0.52), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

body::before,
.grain {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

body::before {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(23, 22, 19, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 19, 0.02) 1px, transparent 1px);
  background-size: 86px 86px;
}

.grain {
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(35, 28, 20, 0.42) 0.55px, transparent 0.6px);
  background-size: 4px 4px;
}

.cursor-light {
  position: fixed;
  z-index: 49;
  width: 300px;
  height: 300px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.22;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(116, 56, 47, 0.28), transparent 66%);
  filter: blur(18px);
}

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

a {
  color: inherit;
}

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

.wedding-header {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 82px);
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(18, 17, 15, 0.54), rgba(18, 17, 15, 0.28));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 132px;
  filter: brightness(0) invert(1);
}

.wedding-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wedding-header nav a {
  padding: 10px 12px;
  color: rgba(255, 253, 248, 0.76);
  text-decoration: none;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.wedding-header nav a:hover {
  color: var(--white);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 132px 24px 72px;
  background: #201f1c;
}

.hero-backdrop,
.memory-transition,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.06) brightness(0.68);
  transform: scale(1.02);
}

.hero-backdrop-one {
  animation: heroOne 16s var(--ease) infinite;
}

.hero-backdrop-two {
  opacity: 0;
  animation: heroTwo 16s var(--ease) infinite;
}

.memory-transition {
  z-index: -1;
  background: #050504;
  opacity: 0;
  animation: blackout 16s var(--ease) infinite;
}

.hero-shade {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 30%, transparent 63%, rgba(0, 0, 0, 0.46)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.12));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -42px -58px;
  z-index: -1;
  opacity: 0.22;
  background: radial-gradient(closest-side, rgba(255, 253, 248, 0.28), transparent 72%);
  filter: blur(26px);
  animation: pulseMemory 6s ease-in-out infinite alternate;
}

.hero h1 {
  margin: 0;
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: clamp(4rem, 7.6vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.8;
  text-shadow: 0 15px 55px rgba(0, 0, 0, 0.28);
  animation: titleMemory 16s var(--ease) infinite;
}

.hero-title-main,
.hero-title-script {
  display: block;
  animation: titleReveal 1200ms var(--ease) both;
}

.hero-title-main:nth-child(2) {
  animation-delay: 160ms;
}

.hero-title-script {
  animation-delay: 320ms;
}

.hero-title-main {
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title-script {
  margin-top: 0.05em;
  font-size: 0.68em;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.8;
  transform: rotate(-2deg);
  animation-name: scriptReveal;
}

.hero-text {
  max-width: 440px;
  margin: 36px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.45;
}

.hero-link,
.about-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memory-scene {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 24px;
  color: var(--white);
  background: #060605;
}

.memory-video,
.memory-video::after,
.memory-video img {
  position: absolute;
  inset: 0;
}

.memory-video {
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.memory-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: grayscale(1) contrast(1.12) brightness(0.46);
  transform: scale(1.08);
  animation: memoryDrift 16s ease-in-out infinite alternate;
}

.memory-video::after {
  content: "";
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 248, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.82)),
    rgba(0, 0, 0, 0.22);
}

.memory-scene-copy {
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  mix-blend-mode: screen;
}

.memory-scene-copy span,
.memory-scene-copy strong,
.memory-scene-copy em {
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: clamp(3rem, 7.6vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.84;
}

.memory-scene-copy span {
  color: rgba(255, 253, 248, 0.55);
}

.memory-scene-copy strong {
  color: var(--white);
}

.memory-scene-copy em {
  color: rgba(255, 253, 248, 0.88);
  font-style: italic;
}

.about-weddings,
.films-section,
.gallery,
.contact,
.wedding-footer {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}

.about-weddings {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
  padding: 110px 0;
  border-top: 0;
}

.about-photo {
  position: relative;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  z-index: -1;
  border: 1px solid rgba(116, 56, 47, 0.32);
}

.about-photo img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.72) contrast(1.02);
}

.about-photo span {
  display: block;
  margin-top: 15px;
  color: var(--soft);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--wine);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.about-copy h2,
.section-head h2,
.gallery-head h2,
.contact h2 {
  margin: 0;
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: clamp(3rem, 6.4vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.about-copy h2 em {
  color: var(--wine);
  font-weight: 400;
}

.about-copy > p:not(.eyebrow) {
  color: var(--soft);
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.55;
}

.about-copy > p:first-of-type:not(.eyebrow) {
  margin-top: 38px;
}

.about-copy > a {
  color: var(--wine);
}

.films-section,
.gallery {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-head,
.gallery-head {
  max-width: 880px;
  margin-bottom: 64px;
}

.section-head > p:last-child {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--soft);
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.55;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 42px 20px;
}

.film-card {
  min-width: 0;
  grid-column: span 3;
}

.film-card:nth-child(5) {
  grid-column: 2 / span 4;
}

.film-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.film-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c1a17;
}

.film-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  pointer-events: none;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.86) contrast(1.08) brightness(0.82);
  transform: scale(1.01);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}

.film-link:hover .film-frame img {
  transform: scale(1.045);
  filter: grayscale(0.2) contrast(1.05) brightness(0.94);
}

.film-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.film-info span {
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-info h3 {
  margin: 0;
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.photo-river {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 12px;
}

.photo-tile {
  min-height: 0;
  overflow: hidden;
  grid-column: span 2;
  grid-row: span 2;
  margin: 0;
  background: var(--paper-deep);
}

.photo-tile.tall {
  grid-row: span 3;
}

.photo-tile.wide {
  grid-column: span 3;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}

.photo-tile:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}

.contact {
  min-height: 72vh;
  display: grid;
  align-content: center;
  margin-top: 60px;
  padding: clamp(46px, 9vw, 120px);
  color: var(--white);
  background:
    linear-gradient(rgba(32, 20, 17, 0.78), rgba(32, 20, 17, 0.78)),
    url("hero.jpg") center / cover;
}

.contact .eyebrow {
  color: rgba(255, 253, 248, 0.68);
}

.contact h2 {
  max-width: 900px;
}

.contact > p:not(.eyebrow) {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-family: "Baskerville Ground", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
}

.button {
  min-height: 50px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-decoration: none;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease;
}

.button:hover {
  color: var(--ink);
  background: var(--white);
}

.wedding-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 50px;
  color: var(--soft);
  font-size: 0.78rem;
}

.wedding-footer img {
  width: 132px;
  filter: brightness(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 850ms var(--ease), transform 850ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroOne {
  0%, 40% {
    opacity: 1;
    transform: scale(1.02);
  }
  52%, 90% {
    opacity: 0;
    transform: scale(1.07);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes heroTwo {
  0%, 42% {
    opacity: 0;
    transform: scale(1.07);
  }
  54%, 90% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.07);
  }
}

@keyframes blackout {
  0%, 38%, 58%, 88%, 100% {
    opacity: 0;
  }
  46%, 94% {
    opacity: 0.92;
  }
}

@keyframes titleMemory {
  0%, 38%, 58%, 88%, 100% {
    color: var(--white);
    opacity: 1;
    filter: blur(0);
  }
  46%, 94% {
    color: var(--white);
    opacity: 0.12;
    filter: blur(9px);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes scriptReveal {
  from {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(28px) scale(0.985) rotate(-2deg);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotate(-2deg);
  }
}

@keyframes pulseMemory {
  from {
    opacity: 0.14;
    transform: scale(0.96);
  }
  to {
    opacity: 0.28;
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .about-weddings {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }
}

@media (max-width: 760px) {
  .wedding-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 9px;
  }

  .brand img {
    width: 114px;
  }

  .wedding-header nav {
    width: 100%;
    overflow-x: auto;
  }

  .wedding-header nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.58rem;
  }

  .hero {
    padding: 142px 18px 48px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16.5vw, 5.2rem);
  }

  .hero-title-main {
    font-size: 0.8em;
  }

  .hero-text {
    max-width: 300px;
    margin-top: 30px;
  }

  .memory-scene {
    min-height: 72vh;
    padding: 70px 18px;
  }

  .memory-scene-copy span,
  .memory-scene-copy strong,
  .memory-scene-copy em {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .about-weddings,
  .films-section,
  .gallery,
  .contact,
  .wedding-footer {
    width: min(calc(100% - 24px), 1240px);
  }

  .about-weddings {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 82px 0;
  }

  .about-photo::before {
    inset: 16px -8px -16px 16px;
  }

  .about-copy h2,
  .section-head h2,
  .gallery-head h2,
  .contact h2 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .films-section,
  .gallery {
    padding: 82px 0;
  }

  .section-head,
  .gallery-head {
    margin-bottom: 42px;
  }

  .film-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .film-card,
  .film-card:nth-child(5) {
    grid-column: auto;
  }

  .film-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .photo-river {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 130px;
  }

  .photo-tile,
  .photo-tile.wide {
    grid-column: span 1;
  }

  .photo-tile.tall {
    grid-row: span 2;
  }

  .contact {
    min-height: 74vh;
    margin-top: 24px;
    padding: 48px 24px;
  }

  .button {
    width: 100%;
  }

  .wedding-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cursor-light {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@keyframes memoryDrift {
  from {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }

  to {
    transform: scale(1.14) translate3d(1.2%, 0.8%, 0);
  }
}
