:root {
  --green-950: #143829;
  --green-900: #1b4834;
  --green-800: #245c42;
  --green-700: #327555;
  --green-100: #dcebe2;
  --green-50: #f0f6f2;
  --cream: #f4efe4;
  --cream-deep: #e9dfca;
  --ink: #17201b;
  --muted: #657069;
  --white: #ffffff;
  --line: #dfe5e1;
  --shadow: 0 16px 42px rgba(20, 56, 41, 0.09);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header.solid-header,
.site-header.is-scrolled {
  position: fixed;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border-bottom-color: rgba(20, 56, 41, 0.08);
  box-shadow: 0 8px 30px rgba(20, 56, 41, 0.07);
  backdrop-filter: blur(14px);
}

.solid-header + main {
  padding-top: var(--header-height);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--green-900);
  background: var(--cream);
  border-radius: 50% 50% 50% 15%;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  transform: rotate(-5deg);
}

.brand-mark::first-line {
  transform: rotate(5deg);
}

.nav-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 11px;
  place-content: center;
  gap: 5px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 18px;
  left: 18px;
  display: grid;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.nav-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-menu a {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--green-800);
  background: var(--green-50);
}

.hero {
  position: relative;
  display: flex;
  min-height: max(660px, 100svh);
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-image: var(--hero-image);
  background-position: 53% center;
  background-size: cover;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 1.1s ease, transform 7s ease;
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
  background-position: 53% center;
}

.hero-slide:nth-child(2) {
  background-position: 54% center;
}

.hero-slide:nth-child(3) {
  background-position: 58% center;
}

.hero-slide:nth-child(4) {
  background-position: 52% center;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.055);
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 25, 18, 0.35) 0%, rgba(9, 25, 18, 0.12) 32%, rgba(9, 25, 18, 0.84) 100%),
    linear-gradient(90deg, rgba(9, 25, 18, 0.3), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 96px;
}

.hero-slider-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
}

.hero-dot {
  display: grid;
  width: 38px;
  height: 30px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero-dot span {
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  transition: height 180ms ease, background 180ms ease;
}

.hero-dot:hover span,
.hero-dot:focus-visible span {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  border-radius: 5px;
}

.hero-dot.is-active span {
  height: 4px;
  background: var(--white);
}

.hero-eyebrow {
  color: #dbe9df;
}

.hero h1,
.gallery-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 16vw, 7.8rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero-location {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero-location span {
  display: inline-block;
  margin-inline: 5px;
  color: #c5d8ca;
}

.hero-copy {
  max-width: 520px;
  margin: 13px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

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

.button-light {
  color: var(--green-950);
  background: var(--white);
}

.button-light:hover {
  background: var(--cream);
}

.button-primary {
  color: var(--white);
  background: var(--green-800);
}

.button-primary:hover {
  background: var(--green-950);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 42px;
  display: none;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* Animasi masuk yang diaktifkan oleh JavaScript */
.has-motion .hero-content > * {
  opacity: 0;
  transform: translateY(22px);
}

.has-motion.page-ready .hero-content > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-motion.page-ready .hero-content > *:nth-child(1) {
  transition-delay: 80ms;
}

.has-motion.page-ready .hero-content > *:nth-child(2) {
  transition-delay: 160ms;
}

.has-motion.page-ready .hero-content > *:nth-child(3) {
  transition-delay: 240ms;
}

.has-motion.page-ready .hero-content > *:nth-child(4) {
  transition-delay: 320ms;
}

.has-motion.page-ready .hero-content > *:nth-child(5) {
  transition-delay: 400ms;
}

.has-motion.page-ready .hero-content > *:nth-child(6) {
  transition-delay: 480ms;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-photo-grid .media-card.reveal-on-scroll {
  transform: translateY(26px) scale(0.98);
}

.home-photo-grid .media-card.reveal-on-scroll.is-visible {
  transform: translateY(0) scale(1);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 58px;
  background: rgba(255, 255, 255, 0.55);
}

.section {
  padding-block: 86px;
}

.section h2,
.album-invite h2 {
  margin: 0;
  font-size: clamp(2.35rem, 9vw, 5.5rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 44px;
}

.about-copy > p {
  margin: 0;
  color: #344038;
  font-size: 1.08rem;
  line-height: 1.85;
}

.about-copy .placeholder-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.place-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.place-label > span:last-child {
  display: grid;
  gap: 1px;
}

.place-label strong {
  color: var(--green-900);
  font-size: 0.9rem;
}

.place-label small {
  color: var(--muted);
  font-size: 0.78rem;
}

.place-icon {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--green-50);
  border-radius: 50%;
}

.place-icon::before {
  position: absolute;
  top: 9px;
  left: 13px;
  width: 10px;
  height: 14px;
  content: "";
  border: 2px solid var(--green-700);
  border-radius: 8px 8px 8px 0;
  transform: rotate(-45deg);
}

.place-icon::after {
  position: absolute;
  top: 13px;
  left: 17px;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--green-700);
  border-radius: 50%;
}

.latest {
  background: var(--cream);
}

.section-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-topline h2 {
  font-size: clamp(2.3rem, 8vw, 4.8rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-block: 9px;
  color: var(--green-900);
  border-bottom: 1px solid rgba(36, 92, 66, 0.35);
  font-size: 0.84rem;
  font-weight: 800;
}

.desktop-link {
  display: none;
}

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

.home-photo-grid .media-card {
  aspect-ratio: 0.84;
}

.home-photo-grid .media-card:nth-child(3n + 1) {
  aspect-ratio: 1.16;
}

.media-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #dbe3dc;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(20, 56, 41, 0.07);
  cursor: zoom-in;
  break-inside: avoid;
}

.media-card img,
.media-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.media-card:hover img,
.media-card:hover video {
  transform: scale(1.025);
  filter: brightness(0.9);
}

.media-card:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 3px;
}

.media-number {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(8, 22, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.video-card {
  cursor: pointer;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(9, 25, 18, 0.2);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(7px);
}

.play-badge::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  content: "";
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.video-card:hover .play-badge {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-feature {
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid rgba(36, 92, 66, 0.16);
}

.video-heading {
  margin-bottom: 20px;
}

.video-heading h3 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.home-video-grid {
  display: grid;
  gap: 14px;
}

.home-video-grid .media-card {
  aspect-ratio: 16 / 10;
  background: var(--green-950);
}

.home-video-grid .video-card video {
  object-fit: contain;
}

.mobile-action {
  margin-top: 30px;
  text-align: center;
}

.album-invite {
  color: var(--white);
  background: var(--green-900);
}

.album-invite-inner {
  position: relative;
  padding-block: 80px;
}

.album-invite p {
  margin: 0 0 18px;
  color: #b9d1c0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-invite h2 {
  max-width: 900px;
  font-size: clamp(2.35rem, 9vw, 5.5rem);
}

.circle-link {
  display: grid;
  width: 62px;
  height: 62px;
  margin-top: 32px;
  place-items: center;
  color: var(--green-950);
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.35rem;
  transition: transform 180ms ease, background 180ms ease;
}

.circle-link:hover {
  background: var(--white);
  transform: translateX(4px);
}

.site-footer {
  padding-top: 62px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-brand {
  color: var(--white);
}

.footer-grid > div:first-child > p {
  max-width: 440px;
  margin: 19px 0 0;
  font-size: 0.9rem;
}

.footer-address p {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  margin-top: 48px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 25px;
  color: var(--white);
  font-weight: 700;
}

/* Halaman galeri */
.gallery-page {
  background: #fbfcfb;
}

.gallery-hero {
  padding-block: 74px 52px;
  overflow: hidden;
  background: var(--cream);
}

.gallery-hero-grid {
  display: grid;
  gap: 38px;
}

.gallery-hero h1 {
  color: var(--green-950);
  font-size: clamp(2.85rem, 13vw, 7.5rem);
}

.gallery-intro {
  align-self: end;
}

.gallery-intro > p:first-child {
  max-width: 440px;
  margin: 0;
  color: #435048;
  font-size: 1.05rem;
}

.media-count {
  margin: 19px 0 0;
  color: var(--green-700);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-section {
  padding-block: 35px 90px;
}

.wide-container {
  width: min(calc(100% - 20px), 1380px);
}

.gallery-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 8px 24px;
  color: var(--muted);
  font-size: 0.75rem;
}

.gallery-note p {
  flex: 0 0 auto;
  margin: 0;
}

.gallery-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.media-masonry {
  columns: 2;
  column-gap: 9px;
}

.media-masonry .media-card {
  margin: 0 0 9px;
  aspect-ratio: auto;
  border-radius: 11px;
}

.media-masonry .media-card img,
.media-masonry .media-card video {
  height: auto;
  min-height: 150px;
  object-fit: cover;
}

.media-masonry .video-card {
  aspect-ratio: 9 / 14;
  background: var(--green-950);
}

.media-masonry .video-card video {
  height: 100%;
  object-fit: contain;
}

.noscript-message {
  padding: 18px;
  color: #704d20;
  background: #fff4d8;
  border-radius: var(--radius-sm);
}

/* Lightbox dan modal video */
.media-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  padding: 14px;
  place-items: center;
  color: var(--white);
  background: rgba(5, 15, 10, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms;
}

.media-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.modal-image,
.modal-video {
  display: block;
  max-width: 100%;
  max-height: calc(100svh - 100px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
}

.modal-video {
  width: min(100%, 1050px);
  background: #000;
}

.modal-close,
.modal-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.modal-close:hover,
.modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-close:focus-visible,
.modal-nav:focus-visible {
  outline: 3px solid var(--cream-deep);
  outline-offset: 2px;
}

.modal-close {
  top: 4px;
  right: 4px;
  font-size: 1.45rem;
}

.modal-nav {
  top: 50%;
  font-size: 1.6rem;
  transform: translateY(-50%);
}

.modal-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.modal-prev {
  left: 3px;
}

.modal-next {
  right: 3px;
}

.modal-counter {
  position: absolute;
  bottom: 2px;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

@media (min-width: 640px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  .wide-container {
    width: min(calc(100% - 32px), 1380px);
  }

  .hero-content {
    padding-bottom: 90px;
  }

  .scroll-cue {
    display: flex;
  }

  .home-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .home-photo-grid .media-card,
  .home-photo-grid .media-card:nth-child(3n + 1) {
    aspect-ratio: 0.86;
  }

  .home-photo-grid .media-card:nth-child(1),
  .home-photo-grid .media-card:nth-child(6) {
    aspect-ratio: 1.5;
    grid-column: span 2;
  }

  .home-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-masonry {
    columns: 3;
    column-gap: 13px;
  }

  .media-masonry .media-card {
    margin-bottom: 13px;
  }

  .modal-prev {
    left: 14px;
  }

  .modal-next {
    right: 14px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }
}

@media (min-width: 860px) {
  :root {
    --header-height: 82px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    padding: 0;
    gap: 7px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-menu a {
    position: relative;
    display: grid;
    min-width: 72px;
    min-height: 42px;
    place-items: center;
    color: inherit;
    background: transparent;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: inherit;
    background: transparent;
  }

  .nav-menu a::after {
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
    gap: 90px;
  }

  .about-copy {
    padding-top: 45px;
  }

  .desktop-link {
    display: inline-flex;
  }

  .mobile-action {
    display: none;
  }

  .album-invite-inner {
    padding-block: 110px;
  }

  .circle-link {
    position: absolute;
    right: 0;
    bottom: 112px;
    width: 78px;
    height: 78px;
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 0.42fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .gallery-hero {
    padding-block: 105px 78px;
  }

  .gallery-hero-grid {
    grid-template-columns: 1.25fr 0.65fr;
    align-items: end;
    gap: 70px;
  }

  .gallery-section {
    padding-block: 45px 120px;
  }

  .media-masonry {
    columns: 4;
    column-gap: 14px;
  }

  .media-masonry .media-card {
    margin-bottom: 14px;
  }
}

@media (min-width: 1180px) {
  .hero {
    background-position: center 54%;
  }

  .hero-slide:nth-child(1),
  .hero-slide:nth-child(4) {
    background-position: center 54%;
  }

  .hero-slide:nth-child(2) {
    background-position: center 48%;
  }

  .hero-slide:nth-child(3) {
    background-position: center;
  }

  .section {
    padding-block: 124px;
  }

  .media-masonry {
    columns: 5;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-slide {
    transform: none !important;
  }

  .reveal-on-scroll,
  .home-photo-grid .media-card.reveal-on-scroll,
  .has-motion .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
