:root {
  --ink: #20231f;
  --muted: #74776d;
  --paper: #f6f2ea;
  --stone: #d9d0c2;
  --sand: #eee7db;
  --olive: #69725d;
  --clay: #9c7d62;
  --sea: #829da0;
  --white: #fffdf8;
  --line: rgba(32, 35, 31, 0.14);
  --shadow: 0 30px 90px rgba(37, 34, 28, 0.14);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

button,
input {
  font: inherit;
}

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

.gate-page {
  min-height: 100vh;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(246, 242, 234, 0.76), rgba(246, 242, 234, 0.94)),
    linear-gradient(135deg, #efe7dc 0%, #d9d0c2 48%, #b9c6c4 100%);
}

.gate__panel {
  width: min(100%, 460px);
  padding: clamp(28px, 7vw, 52px);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
  border: 1px solid rgba(32, 35, 31, 0.08);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gate h1,
.hero h1,
.intro h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.gate h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  line-height: 0.94;
}

.gate p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gate__form {
  margin-top: 30px;
}

.gate__form label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.gate__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.gate input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
}

.gate button,
.lang-switch button,
.text-button {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.gate__row button {
  min-height: 48px;
  padding: 0 18px;
  font-weight: 600;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 26px;
  padding: 4px;
  border: 1px solid var(--line);
}

.lang-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(177, 193, 194, 0.58) 0%, rgba(238, 231, 218, 0.18) 48%, rgba(45, 50, 43, 0.32) 100%),
    url("assets/hero.jpeg"),
    linear-gradient(180deg, #aebfc0 0%, #dfd6c8 48%, #6f7868 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 23, 0.12), rgba(20, 24, 23, 0.08) 48%, rgba(20, 24, 23, 0.42)),
    radial-gradient(circle at 50% 38%, rgba(255, 253, 248, 0.22), transparent 38%);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 42px);
  min-height: 88px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 248, 0.5);
  color: var(--white);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand span {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.brand span:first-child,
.brand span:last-child {
  transform: none;
  transform-origin: center;
}

.brand span:nth-child(2) {
  margin: 0 1px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.62em;
  font-weight: 500;
  transform: translateY(-0.04em);
}

.topbar form {
  margin: 0;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.lang-switch--nav {
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  margin: 0;
  border-color: rgba(255, 253, 248, 0.34);
}

.hero__side-label {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: clamp(24px, 5vw, 54px);
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lang-switch--nav button {
  color: rgba(255, 253, 248, 0.74);
}

.lang-switch--nav button.is-active {
  background: var(--white);
  color: var(--ink);
}

.hero__content {
  width: min(90vw, 680px);
  padding: 132px 0 92px;
  text-align: center;
  text-wrap: balance;
}

.hero__content .eyebrow {
  color: rgba(255, 253, 248, 0.84);
}

.hero h1 {
  margin: 0 auto 32px;
  max-width: 640px;
  font-size: clamp(2.7rem, 5.7vw, 5.3rem);
  line-height: 1;
}

.hero__date {
  display: inline-flex;
  margin: 0 auto 20px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.58);
  border-bottom: 1px solid rgba(255, 253, 248, 0.58);
  color: var(--white);
  font-size: clamp(0.98rem, 1.7vw, 1.22rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__place,
.hero__follow,
.hero__calendar,
.hero__names {
  margin: 0;
  line-height: 1.75;
}

.hero__place {
  color: rgba(255, 253, 248, 0.9);
  white-space: pre-line;
}

.hero__follow {
  margin-top: 28px;
  color: rgba(255, 253, 248, 0.76);
}

.hero__calendar {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 248, 0.62);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__names {
  margin-top: 16px;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.intro,
.place-story,
.image-story,
.details-grid,
.venue-map,
.note {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(32px, 8vw, 126px);
  padding: clamp(84px, 12vw, 150px) 0 clamp(54px, 8vw, 92px);
  border-bottom: 1px solid var(--line);
}

.intro h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  line-height: 0.94;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.9;
}

.place-story {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(20px, 4vw, 52px) 0 clamp(80px, 12vw, 150px);
}

.place-story__media {
  min-height: clamp(340px, 52vw, 640px);
  background:
    linear-gradient(180deg, rgba(32, 35, 31, 0.02), rgba(32, 35, 31, 0.1)),
    url("assets/IMG_6602.JPG"),
    linear-gradient(145deg, #d9d0c2 0%, #ece4d8 42%, #899d9c 100%);
  background-size: cover;
  background-position: center;
}

.place-story__copy {
  padding: clamp(8px, 3vw, 34px) 0;
}

.place-story h2 {
  margin: 0;
  max-width: 520px;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  font-weight: 400;
  line-height: 0.96;
}

.place-story p:last-child {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.9;
}

.image-story {
  padding: 0 0 clamp(82px, 12vw, 154px);
}

.image-story__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.image-story__header h2 {
  max-width: 520px;
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: 0.96;
  text-align: right;
}

.image-story__rail {
  width: min(100vw, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.image-story__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  animation: image-drift 58s linear infinite;
}

.image-story__rail:hover .image-story__track {
  animation-play-state: paused;
}

.image-story__item {
  position: relative;
  width: clamp(220px, 28vw, 390px);
  height: clamp(260px, 34vw, 470px);
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.image-story__item--wide {
  width: clamp(320px, 42vw, 620px);
  height: clamp(220px, 29vw, 390px);
}

.image-story__item--tall {
  width: clamp(220px, 27vw, 360px);
  height: clamp(360px, 46vw, 620px);
}

.image-story__item img {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.9) contrast(0.96);
  object-fit: cover;
}

@keyframes image-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: 1px;
  background: var(--line);
}

.details-grid article {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 36px);
  background: #f2ece1;
}

.details-grid span {
  color: var(--olive);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.details-grid strong {
  max-width: 420px;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
}

.details-grid strong a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.venue-map {
  margin-bottom: clamp(44px, 6vw, 72px);
  padding-top: clamp(12px, 2vw, 22px);
  background: transparent;
}

.mini-map {
  position: relative;
  min-height: clamp(190px, 24vw, 285px);
  display: block;
  overflow: hidden;
  border: 1px solid rgba(32, 35, 31, 0.11);
  background: #d9d2c7;
}

.mini-map iframe,
.mini-map__link {
  position: absolute;
  inset: 0;
}

.mini-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) sepia(0.16) saturate(0.5) contrast(0.92) brightness(1.04);
}

.mini-map__link {
  inset: 0;
  z-index: 1;
}

.note {
  padding: 0 0 clamp(64px, 8vw, 104px);
}

.note p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.note__kicker {
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .gate__row,
  .intro,
  .place-story,
  .image-story__header,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .gate__row button {
    width: 100%;
  }

  .topbar {
    justify-content: flex-start;
    gap: 18px;
    min-height: 72px;
    padding: 12px 18px 12px 82px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topbar::-webkit-scrollbar {
    display: none;
  }

  .hero__side-label {
    display: none;
  }

  .brand {
    position: fixed;
    left: 18px;
    top: 12px;
    z-index: 2;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    background: rgba(32, 35, 31, 0.12);
    backdrop-filter: blur(8px);
  }

  .topbar a,
  .topbar form,
  .text-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lang-switch--nav {
    position: static;
    margin-left: 2px;
    margin-right: 8px;
    flex: 0 0 auto;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__content {
    width: min(84vw, 520px);
    padding: 122px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }

  .hero__date {
    padding: 7px 0;
    font-size: clamp(0.82rem, 3.5vw, 0.96rem);
    letter-spacing: 0.17em;
  }

  .place-story {
    width: 100%;
    padding-top: 0;
  }

  .place-story__copy {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .image-story__header {
    display: block;
  }

  .image-story__header h2 {
    text-align: left;
  }

  .image-story__rail {
    width: 100vw;
    margin-left: -20px;
  }

  .image-story__track {
    gap: 14px;
    animation-duration: 46s;
  }

  .image-story__item {
    width: 68vw;
    height: 84vw;
  }

  .image-story__item--wide,
  .image-story__item--tall {
    width: 78vw;
    height: 66vw;
  }

  .details-grid {
    background: transparent;
    gap: 0;
  }

  .details-grid article {
    border-bottom: 1px solid var(--line);
  }

  .mini-map {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-story__track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .image-story__item {
    scroll-snap-align: center;
  }
}
