:root {
  color-scheme: dark;
  --black: #070707;
  --graphite: #121315;
  --graphite-soft: #1c1c1f;
  --gold: #d8b45f;
  --gold-light: #f2dc96;
  --text: #f8f1e3;
  --muted: #b9b0a2;
  --line: rgba(216, 180, 95, 0.2);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(216, 180, 95, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #080808 0%, #121214 48%, #050505 100%);
  background-size: 72px 72px, auto;
}

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

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 180, 95, 0.16);
  border-radius: 8px;
  background: rgba(8, 8, 9, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--gold-light);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center start;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 54px;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 48%;
  filter: none;
  transform: scale(1.03);
  animation: heroZoom 15s ease-in-out infinite alternate;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.58) 34%, rgba(0, 0, 0, 0) 66%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  animation: riseIn 700ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: 118px;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
}

.hero__subtitle {
  max-width: 640px;
  margin-bottom: 36px;
  color: #f3ead6;
  font-size: 30px;
  line-height: 1.22;
  font-weight: 600;
}

.hero__actions,
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(216, 180, 95, 0.32);
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button--gold {
  color: #111;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 42px rgba(216, 180, 95, 0.22);
}

.button--dark {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button--dark:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero__panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(620px, calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 10, 0.66);
  backdrop-filter: blur(16px);
  animation: riseIn 900ms ease both;
}

.hero__panel span {
  display: grid;
  gap: 3px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  border-right: 1px solid rgba(216, 180, 95, 0.12);
}

.hero__panel span:last-child {
  border-right: 0;
}

.hero__panel strong {
  color: var(--gold-light);
  font-size: 25px;
  line-height: 1;
}

.section,
.contact {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 108px 0;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.about {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__copy {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.about__copy p,
.format-card p,
.contact p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about__list {
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.about__list li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.about__list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold-light);
  font-weight: 800;
  content: "✓";
}

.formats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.format-card {
  min-height: 254px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(216, 180, 95, 0.08), transparent 48%),
    var(--graphite);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.format-card:hover {
  border-color: rgba(242, 220, 150, 0.44);
  background:
    linear-gradient(180deg, rgba(216, 180, 95, 0.13), transparent 52%),
    var(--graphite-soft);
  transform: translateY(-6px);
}

.format-card span {
  display: inline-block;
  margin-bottom: 64px;
  color: var(--gold);
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 310px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
}

.gallery__item--wide,
.gallery__item--video {
  grid-row: span 2;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.video-card video {
  background: #050505;
}

.video-card figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border: 1px solid rgba(216, 180, 95, 0.28);
  border-radius: 6px;
  color: var(--text);
  background: rgba(7, 7, 7, 0.52);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.wedding-video {
  margin-top: 16px;
}

.wedding-video .gallery__item {
  height: 520px;
}

.contact {
  padding-top: 42px;
  padding-bottom: 96px;
}

.contact__card {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border: 1px solid rgba(216, 180, 95, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 180, 95, 0.16), transparent 38%),
    linear-gradient(145deg, #181818, #0b0b0c);
  box-shadow: var(--shadow);
}

.contact__card::after {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(216, 180, 95, 0.2);
  border-radius: 50%;
  content: "";
}

.contact__card h2,
.contact__card p,
.contact__links {
  position: relative;
  z-index: 1;
}

.contact__card p {
  max-width: 720px;
  margin: 24px 0 32px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.08);
  }
}

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

@media (max-width: 980px) {
  .topbar {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding-top: 120px;
    align-items: start;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.26) 46%, rgba(0, 0, 0, 0.48) 100%);
  }

  .hero__content {
    padding-top: 40px;
  }

  h1 {
    font-size: 82px;
  }

  h2 {
    font-size: 46px;
  }

  .hero__subtitle {
    font-size: 26px;
  }

  .hero__panel {
    right: 24px;
    bottom: 24px;
    grid-template-columns: 1fr;
  }

  .hero__panel span {
    border-right: 0;
    border-bottom: 1px solid rgba(216, 180, 95, 0.12);
  }

  .hero__panel span:last-child {
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 76px 0;
  }

  .section__head,
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .formats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery__item--wide,
  .gallery__item--video {
    grid-row: span 1;
  }

  .wedding-video .gallery__item {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 58px;
  }

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 820px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero__image {
    object-position: 70% 48%;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .hero__panel {
    right: 16px;
    bottom: 18px;
    width: calc(100% - 32px);
  }

  .section,
  .contact {
    width: calc(100% - 24px);
  }

  .about__copy,
  .contact__card {
    padding: 24px;
  }

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

  .format-card {
    min-height: 210px;
  }

  .format-card span {
    margin-bottom: 42px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .wedding-video .gallery__item {
    height: 230px;
  }
}
