/* =========================================================
   Kiniththa
   KF-005 — COASTAL PEARL CINEMATIC
========================================================= */


/* =========================================================
   01. DESIGN VARIABLES
========================================================= */

:root {
  --ocean-deep: #071b27;
  --ocean-dark: #0c2d3e;
  --ocean: #1d536b;
  --ocean-soft: #4f879b;
  --ocean-light: #9dc6d2;

  --pearl: #f8faf8;
  --pearl-soft: #eef3f2;
  --pearl-blue: #dce9eb;

  --silver: #b8c5c9;
  --silver-light: #dde5e7;

  --sand: #d8c9b3;
  --sand-light: #eee4d5;

  --white: #ffffff;
  --black: #07131a;

  --text: #253c46;
  --muted: #71838a;

  --border: rgba(29, 83, 107, 0.16);
  --border-light: rgba(255, 255, 255, 0.28);
  --border-strong: rgba(157, 198, 210, 0.48);

  --glass-dark: rgba(5, 28, 40, 0.5);
  --glass-light: rgba(255, 255, 255, 0.13);

  --shadow-small:
    0 15px 42px rgba(5, 33, 46, 0.1);

  --shadow-medium:
    0 28px 75px rgba(5, 33, 46, 0.2);

  --shadow-large:
    0 45px 120px rgba(3, 20, 29, 0.46);

  --transition: 0.35s ease;
}


/* =========================================================
   02. RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;
  overflow-x: hidden;

  background: var(--pearl);
  color: var(--text);

  font-family:
    "Segoe UI",
    Arial,
    sans-serif;

  line-height: 1.7;
}


body.invitation-locked {
  overflow: hidden;
}


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


button,
input,
select,
textarea {
  font: inherit;
}


button {
  cursor: pointer;
}


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


[hidden] {
  display: none !important;
}


::selection {
  background: var(--ocean);
  color: var(--white);
}


/* =========================================================
   03. SHARED
========================================================= */

.coastal-container {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}


.coastal-kicker {
  color: var(--ocean-soft);

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}


.invitation-content {
  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}


.invitation-content.active {
  opacity: 1;
  visibility: visible;
}


.pearl-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  margin: 28px 0;
}


.pearl-divider span {
  width: 78px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--ocean-light),
      transparent
    );
}


.pearl-divider b {
  color: var(--ocean-light);
  font-size: 0.68rem;
}


/* =========================================================
   04. EXPIRED SCREEN
========================================================= */

.expired-screen {
  position: fixed;
  z-index: 7000;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 22px;

  background:
    radial-gradient(
      circle at center,
      rgba(157, 198, 210, 0.2),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--ocean-deep),
      var(--ocean-dark)
    );
}


.expired-glass-card {
  width: min(640px, 100%);
  padding: 70px 42px;

  border: 1px solid var(--border-light);

  background: rgba(255, 255, 255, 0.1);

  box-shadow: var(--shadow-large);

  color: var(--white);

  text-align: center;

  backdrop-filter: blur(22px);
}


.expired-monogram {
  display: grid;
  place-items: center;

  width: 88px;
  height: 88px;
  margin: 0 auto 28px;

  border: 1px solid var(--ocean-light);
  border-radius: 50%;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.45rem;
  letter-spacing: 2px;
}


.expired-glass-card .coastal-kicker {
  color: var(--ocean-light);
}


.expired-glass-card h1 {
  margin-top: 17px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1.15;
}


.expired-glass-card > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   05. OPENING SCREEN
========================================================= */

.opening-screen {
  position: fixed;
  z-index: 6000;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100vh;
  padding: 95px 30px 70px;

  overflow: hidden;

  background: var(--ocean-deep);

  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}


.opening-screen.closed {
  opacity: 0;
  visibility: hidden;
}


.opening-background {
  position: absolute;
  inset: 0;
}


.opening-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.82)
    contrast(1.04);
}


.opening-background-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(5, 24, 34, 0.82),
      rgba(5, 24, 34, 0.45) 48%,
      rgba(4, 21, 31, 0.72)
    ),
    linear-gradient(
      180deg,
      rgba(3, 19, 28, 0.35),
      rgba(3, 19, 28, 0.62)
    );
}


.opening-ocean-glow {
  position: absolute;
  right: -140px;
  bottom: -180px;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background: rgba(157, 198, 210, 0.22);

  filter: blur(120px);
}


.opening-top-bar {
  position: absolute;
  z-index: 4;
  top: 25px;
  right: 38px;
  left: 38px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  padding-bottom: 16px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  color: var(--white);
}


.opening-top-bar p {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1rem;
}


.opening-top-bar span {
  color: rgba(255, 255, 255, 0.62);

  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}


.opening-side-label {
  position: absolute;
  z-index: 4;
  right: 23px;
  bottom: 45px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;

  writing-mode: vertical-rl;
}


.opening-content {
  position: relative;
  z-index: 4;

  width: min(680px, 100%);
}


.opening-glass-card {
  position: relative;

  padding: 55px 52px;

  border: 1px solid rgba(255, 255, 255, 0.28);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.17),
      rgba(255, 255, 255, 0.06)
    );

  box-shadow: var(--shadow-large);

  color: var(--white);

  text-align: center;

  backdrop-filter: blur(22px);
}


.opening-glass-card::before {
  position: absolute;
  inset: 12px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  content: "";

  pointer-events: none;
}


.opening-card-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 17px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.18);

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}


.opening-monogram {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  width: 92px;
  height: 92px;
  margin: 34px auto;

  border: 1px solid var(--ocean-light);
  border-radius: 50%;

  outline: 1px solid rgba(255, 255, 255, 0.18);
  outline-offset: 7px;

  background: rgba(8, 41, 55, 0.4);
  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.1rem;
}


.opening-monogram b {
  color: var(--ocean-light);
  font-size: 0.5rem;
}


.opening-invited-label {
  position: relative;
  z-index: 2;

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


.opening-glass-card h1 {
  position: relative;
  z-index: 2;

  margin-top: 12px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
}


.opening-couple-names {
  position: relative;
  z-index: 2;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;

  color: var(--white);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.1rem, 5vw, 3.6rem);
}


.opening-couple-names small {
  color: var(--ocean-light);

  font-size: 1.15rem;
  font-style: italic;
}


.opening-description {
  position: relative;
  z-index: 2;

  max-width: 470px;
  margin: 0 auto;

  color: rgba(255, 255, 255, 0.63);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-style: italic;
}


.open-invitation-button {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  min-height: 54px;
  margin-top: 32px;
  padding: 13px 28px;

  border: 1px solid rgba(255, 255, 255, 0.55);

  background: var(--pearl);
  color: var(--ocean-dark);

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}


.open-invitation-button:hover {
  transform: translateY(-4px);

  background: transparent;
  color: var(--white);
}


.opening-note {
  position: relative;
  z-index: 2;

  margin-top: 16px;

  color: rgba(255, 255, 255, 0.4);

  font-size: 0.61rem;
}


.opening-scroll-indicator {
  position: absolute;
  z-index: 4;
  bottom: 27px;
  left: 38px;

  display: flex;
  align-items: center;
  gap: 14px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 0.57rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


.opening-scroll-indicator span {
  width: 55px;
  height: 1px;

  background: var(--ocean-light);
}


/* =========================================================
   06. MUSIC BUTTON
========================================================= */

.music-button {
  position: fixed;
  z-index: 1700;
  right: 20px;
  bottom: 20px;

  display: grid;
  place-items: center;

  width: 54px;
  height: 54px;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      var(--ocean),
      var(--ocean-deep)
    );

  color: var(--white);

  box-shadow:
    0 14px 38px rgba(5, 34, 48, 0.42);

  font-size: 1.08rem;
}


.music-button.playing {
  animation: coastalMusicRotate 4s linear infinite;
}


@keyframes coastalMusicRotate {
  to {
    transform: rotate(360deg);
  }
}


/* =========================================================
   07. NAVIGATION
========================================================= */

.coastal-navigation {
  position: sticky;
  z-index: 1200;
  top: 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;

  min-height: 74px;
  padding: 0 42px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  background: rgba(6, 32, 45, 0.9);
  color: var(--white);

  backdrop-filter: blur(18px);
}


.navigation-brand {
  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.05rem;
}


.navigation-links {
  display: flex;
  align-items: center;
  gap: 28px;
}


.navigation-links a {
  color: rgba(255, 255, 255, 0.63);

  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  transition: color var(--transition);
}


.navigation-links a:hover {
  color: var(--ocean-light);
}


.navigation-rsvp-button {
  justify-self: end;

  padding: 10px 17px;

  border: 1px solid rgba(255, 255, 255, 0.36);

  color: var(--white);

  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition:
    background var(--transition),
    color var(--transition);
}


.navigation-rsvp-button:hover {
  background: var(--pearl);
  color: var(--ocean-dark);
}


/* =========================================================
   08. HERO
========================================================= */

.coastal-hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: calc(100vh - 74px);
  padding: 100px 0 90px;

  overflow: hidden;

  background: var(--ocean-deep);
}


.hero-background {
  position: absolute;
  inset: 0;
}


.hero-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.85)
    contrast(1.05);
}


.hero-background-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 32, 0.88),
      rgba(5, 31, 43, 0.53) 55%,
      rgba(4, 23, 33, 0.78)
    );
}


.hero-cinematic-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(3, 18, 26, 0.18),
      rgba(3, 18, 26, 0.7)
    );
}


.hero-layout {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 85px;
}


.hero-content {
  max-width: 720px;
}


.hero-content .coastal-kicker {
  color: var(--ocean-light);
}


.couple-names {
  display: flex;
  flex-direction: column;

  margin-top: 28px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -4px;
}


.couple-names small {
  margin: 32px 0;

  color: var(--ocean-light);

  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: 0;
}


.hero-monogram {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-top: 38px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;
}


.hero-monogram b {
  color: var(--ocean-light);
  font-size: 0.5rem;
}


.hero-message {
  max-width: 600px;
  margin-top: 26px;

  color: rgba(255, 255, 255, 0.64);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1rem;
  font-style: italic;
}


.hero-guest-panel {
  max-width: 500px;
  margin-top: 31px;
  padding: 18px 21px;

  border-left: 2px solid var(--ocean-light);

  background:
    linear-gradient(
      90deg,
      rgba(157, 198, 210, 0.14),
      transparent
    );
}


.hero-guest-panel small {
  display: block;

  color: rgba(255, 255, 255, 0.46);

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


.hero-guest-panel strong {
  display: block;

  margin-top: 5px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.1rem;
  font-weight: 400;
}


.hero-explore-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  margin-top: 32px;

  color: var(--ocean-light);

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;

  transition:
    gap var(--transition),
    color var(--transition);
}


.hero-explore-button:hover {
  gap: 21px;
  color: var(--white);
}


.hero-event-glass-card {
  padding: 13px;

  border: 1px solid rgba(255, 255, 255, 0.24);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.055)
    );

  box-shadow: var(--shadow-large);

  color: var(--white);

  backdrop-filter: blur(22px);
}


.hero-event-glass-card > * {
  padding-right: 26px;
  padding-left: 26px;
}


.hero-event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding-top: 21px;
  padding-bottom: 21px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: rgba(255, 255, 255, 0.56);

  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


.hero-event-detail {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;

  padding-top: 25px;
  padding-bottom: 25px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}


.hero-event-detail > span {
  color: var(--ocean-light);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 0.82rem;
}


.hero-event-detail small {
  display: block;

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


.hero-event-detail strong {
  display: block;

  margin-top: 6px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.14rem;
  font-weight: 400;
}


.hero-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0;
  padding: 21px 26px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 0;

  color: var(--ocean-light);

  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.hero-edition-number {
  position: absolute;
  right: -20px;
  bottom: -55px;

  color: rgba(255, 255, 255, 0.045);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 20rem;
  line-height: 1;
}


.hero-side-text {
  position: absolute;
  top: 50%;
  left: 20px;

  color: rgba(255, 255, 255, 0.36);

  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;

  writing-mode: vertical-rl;

  transform:
    translateY(-50%)
    rotate(180deg);
}


.hero-bottom-line {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 24px;
  left: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-top: 15px;

  border-top: 1px solid rgba(255, 255, 255, 0.17);

  color: rgba(255, 255, 255, 0.4);

  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* =========================================================
   09. QUOTE
========================================================= */

.coastal-quote-section {
  position: relative;

  padding: 140px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(157, 198, 210, 0.16),
      transparent 32%
    ),
    var(--pearl);
}


.quote-wave {
  position: absolute;

  width: 550px;
  height: 550px;

  border: 1px solid rgba(29, 83, 107, 0.08);
  border-radius: 50%;
}


.quote-wave-one {
  top: -290px;
  left: -160px;
}


.quote-wave-two {
  right: -230px;
  bottom: -330px;
}


.quote-layout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 65px;
}


.quote-index {
  color: rgba(29, 83, 107, 0.18);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 5rem;
  line-height: 1;
}


.large-quote-mark {
  display: block;

  margin-top: 20px;

  color: var(--ocean-light);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 8rem;
  line-height: 0.5;
}


.quote-content blockquote {
  max-width: 900px;
  margin-top: 30px;

  color: var(--ocean-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
  font-style: italic;
  line-height: 1.15;
}


.quote-signature {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-top: 45px;
}


.quote-signature span {
  width: 90px;
  height: 1px;

  background: var(--ocean-soft);
}


.quote-signature p {
  color: var(--ocean);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-style: italic;
}


/* =========================================================
   10. SECTION HEADING
========================================================= */

.coastal-heading {
  display: grid;
  grid-template-columns: 100px 1fr 270px;
  align-items: flex-start;
  gap: 35px;

  margin-bottom: 65px;
}


.heading-number {
  color: rgba(29, 83, 107, 0.18);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 5rem;
  line-height: 0.9;
}


.heading-content h2,
.countdown-heading h2,
.programme-introduction h2,
.rsvp-introduction h2 {
  margin-top: 12px;

  color: var(--ocean-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.08;
}


.heading-content h2 span,
.countdown-heading h2 span,
.programme-introduction h2 span,
.rsvp-introduction h2 span {
  display: block;

  color: var(--ocean-soft);
  font-style: italic;
}


.heading-description {
  padding-top: 30px;

  color: var(--muted);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-style: italic;
}


/* =========================================================
   11. EVENT DETAILS
========================================================= */

.coastal-event-section {
  padding: 130px 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(157, 198, 210, 0.13),
      transparent 30%
    ),
    var(--pearl-soft);
}


.event-cinematic-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;

  min-height: 680px;

  box-shadow: var(--shadow-medium);
}


.event-image-panel {
  position: relative;

  min-height: 680px;
  overflow: hidden;
}


.event-image-panel img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.8)
    contrast(1.02);
}


.event-image-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 52%,
      rgba(4, 28, 40, 0.68)
    );
}


.event-image-caption {
  position: absolute;
  right: 38px;
  bottom: 36px;
  left: 38px;

  color: var(--white);
}


.event-image-caption small {
  display: block;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}


.event-image-caption strong {
  display: block;

  margin-top: 8px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2rem;
  font-weight: 400;
}


.event-information-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 48px 38px;

  border: 1px solid var(--border);

  background: var(--white);
}


.event-information-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding-bottom: 21px;

  border-bottom: 1px solid var(--border);

  color: var(--ocean-soft);

  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


.event-information-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 17px;

  padding: 28px 0;

  border-bottom: 1px solid var(--border);
}


.event-information-row > span {
  color: var(--ocean-soft);

  font-family:
    Georgia,
    "Times New Roman",
    serif;
}


.event-information-row small {
  display: block;

  color: var(--muted);

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


.event-information-row h3 {
  margin-top: 7px;

  color: var(--ocean-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.55rem;
  font-weight: 400;
}


.event-information-row p {
  margin-top: 5px;

  color: var(--muted);
}


.coastal-map-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 32px;
  padding: 15px 18px;

  border: 1px solid var(--ocean);

  background: var(--ocean);
  color: var(--white);

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}


.coastal-map-button:hover {
  transform: translateY(-3px);

  background: transparent;
  color: var(--ocean);
}


/* =========================================================
   12. COUNTDOWN
========================================================= */

.coastal-countdown-section {
  position: relative;

  min-height: 750px;
  padding: 135px 0;

  overflow: hidden;

  display: flex;
  align-items: center;

  background: var(--ocean-deep);
}


.countdown-background-image {
  position: absolute;
  inset: 0;
}


.countdown-background-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.76)
    contrast(1.05);
}


.countdown-background-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4, 25, 36, 0.9),
      rgba(4, 30, 42, 0.62),
      rgba(4, 25, 36, 0.84)
    );
}


.countdown-content {
  position: relative;
  z-index: 2;
}


.countdown-heading {
  max-width: 850px;
  margin: 0 auto 60px;

  text-align: center;
}


.countdown-heading .coastal-kicker {
  color: var(--ocean-light);
}


.countdown-heading h2 {
  color: var(--white);
}


.countdown-heading h2 span {
  color: var(--ocean-light);
}


.coastal-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  max-width: 1000px;
  margin: 0 auto;

  border: 1px solid rgba(255, 255, 255, 0.24);

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(16px);
}


.countdown-item {
  position: relative;

  padding: 45px 20px;

  text-align: center;
}


.countdown-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}


.countdown-item strong {
  display: block;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 400;
  line-height: 1;
}


.countdown-item span {
  display: block;

  margin-top: 16px;

  color: rgba(255, 255, 255, 0.54);

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}


.countdown-complete {
  margin-top: 35px;

  color: var(--ocean-light);

  text-align: center;
}


/* =========================================================
   13. GALLERY
========================================================= */

.coastal-gallery-section {
  padding: 130px 0;

  background: var(--pearl);
}


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


.gallery-item {
  position: relative;

  min-height: 100%;
  overflow: hidden;

  background: var(--pearl-blue);

  box-shadow: var(--shadow-small);
}


.gallery-item:first-child {
  grid-row: 1 / 3;
}


.gallery-item:nth-child(4) {
  grid-column: 2 / 4;
}


.gallery-item::after {
  position: absolute;
  inset: 12px;

  border: 1px solid rgba(255, 255, 255, 0.52);

  content: "";

  pointer-events: none;
}


.gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.76)
    contrast(1.01);

  transition:
    transform 0.8s ease,
    filter 0.8s ease;
}


.gallery-item:hover img {
  transform: scale(1.06);

  filter:
    saturate(1)
    contrast(1.05);
}


.gallery-placeholder {
  display: grid;
  place-items: center;

  min-height: 100%;
  padding: 30px;

  color: var(--ocean);

  text-align: center;
}


.gallery-placeholder span {
  display: block;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 3.8rem;
}


.gallery-placeholder p {
  margin-top: 14px;

  color: var(--muted);
}


/* =========================================================
   14. PROGRAMME
========================================================= */

.coastal-programme-section {
  position: relative;

  padding: 135px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at bottom right,
      rgba(157, 198, 210, 0.16),
      transparent 31%
    ),
    var(--pearl-soft);
}


.programme-large-word {
  position: absolute;
  top: 50%;
  right: -70px;

  color: rgba(29, 83, 107, 0.035);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17rem;
  letter-spacing: 8px;
  line-height: 1;

  transform:
    translateY(-50%)
    rotate(90deg);
}


.programme-introduction {
  position: relative;
  z-index: 2;

  max-width: 800px;
  margin-bottom: 75px;
}


.programme-introduction > p:last-child {
  max-width: 600px;
  margin-top: 22px;

  color: var(--muted);
}


.timeline-list {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--border);
}


.timeline-item {
  position: relative;

  padding: 45px 27px 35px;
}


.timeline-item:not(:last-child) {
  border-right: 1px solid var(--border);
}


.timeline-time {
  color: var(--ocean);

  font-family:
    Georgia,
    "Times New Roman",
    serif;
}


.timeline-dot {
  position: absolute;
  top: -7px;
  left: 27px;

  width: 14px;
  height: 14px;

  border: 4px solid var(--pearl-soft);
  border-radius: 50%;

  background: var(--ocean);

  box-shadow:
    0 0 0 1px var(--ocean);
}


.timeline-content {
  margin-top: 27px;
}


.timeline-content h3 {
  color: var(--ocean-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.5rem;
  font-weight: 400;
}


.timeline-content p {
  margin-top: 9px;

  color: var(--muted);
  font-size: 0.87rem;
}


/* =========================================================
   15. DRESS CODE
========================================================= */

.coastal-dress-section {
  padding: 125px 0;

  background: var(--pearl);
}


.dress-coastal-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  min-height: 680px;

  border: 1px solid var(--border);

  background: var(--white);

  box-shadow: var(--shadow-medium);
}


.dress-content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 70px;
}


.dress-content-panel h2 {
  margin-top: 14px;

  color: var(--ocean-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
}


.dress-content-panel > p:not(.coastal-kicker):not(.dress-note) {
  max-width: 560px;
  margin-top: 23px;

  color: var(--muted);
}


.coastal-colour-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;

  margin-top: 38px;
}


.coastal-colour-palette > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}


.coastal-colour-palette span {
  display: block;

  width: 40px;
  height: 40px;

  border: 4px solid var(--white);
  border-radius: 50%;

  box-shadow:
    0 0 0 1px var(--border);
}


.coastal-colour-palette small {
  color: var(--muted);

  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.palette-pearl {
  background: #f6f7f3;
}


.palette-ocean {
  background: #315f73;
}


.palette-silver {
  background: #b8c4c7;
}


.palette-sand {
  background: #d9c9b1;
}


.dress-note {
  margin-top: 40px;

  color: var(--ocean);

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}


.dress-image-panel {
  position: relative;

  min-height: 680px;
  overflow: hidden;
}


.dress-image-panel img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.75)
    contrast(1.02);
}


.dress-image-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 52%,
      rgba(5, 34, 47, 0.6)
    );
}


.dress-image-label {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--white);
}


.dress-image-label span {
  display: grid;
  place-items: center;

  width: 60px;
  height: 60px;

  border: 1px solid rgba(255, 255, 255, 0.55);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  backdrop-filter: blur(10px);
}


.dress-image-label p {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* =========================================================
   16. RSVP
========================================================= */

.coastal-rsvp-section {
  position: relative;

  padding: 135px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(157, 198, 210, 0.15),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      var(--ocean-deep),
      var(--ocean-dark)
    );
}


.rsvp-ocean-circle {
  position: absolute;
  top: -250px;
  left: -250px;

  width: 620px;
  height: 620px;

  border: 1px solid rgba(157, 198, 210, 0.09);
  border-radius: 50%;
}


.rsvp-background-word {
  position: absolute;
  right: -80px;
  bottom: -45px;

  color: rgba(255, 255, 255, 0.025);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 20rem;
  line-height: 1;
}


.rsvp-coastal-layout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 75px;
}


.rsvp-introduction .coastal-kicker {
  color: var(--ocean-light);
}


.rsvp-introduction h2 {
  color: var(--white);
}


.rsvp-introduction h2 span {
  color: var(--ocean-light);
}


.rsvp-introduction > p:not(.coastal-kicker) {
  max-width: 520px;
  margin-top: 23px;

  color: rgba(255, 255, 255, 0.58);
}


.rsvp-information-note {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-top: 38px;
  padding: 19px 21px;

  border-left: 2px solid var(--ocean-light);

  background:
    linear-gradient(
      90deg,
      rgba(157, 198, 210, 0.12),
      transparent
    );
}


.rsvp-information-note > span {
  color: var(--ocean-light);
}


.rsvp-information-note div {
  display: flex;
  flex-direction: column;
}


.rsvp-information-note small {
  color: rgba(255, 255, 255, 0.42);

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}


.rsvp-information-note strong {
  margin-top: 5px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 0.9rem;
  font-weight: 400;
}


.rsvp-form {
  padding: 12px;

  border: 1px solid rgba(255, 255, 255, 0.26);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.17),
      rgba(255, 255, 255, 0.07)
    );

  box-shadow: var(--shadow-large);

  backdrop-filter: blur(22px);
}


.rsvp-form > * {
  margin-right: 24px;
  margin-left: 24px;
}


.rsvp-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0;
  padding: 21px 24px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: var(--ocean-light);

  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;

  margin-top: 29px;
}


.form-field {
  display: block;

  margin-bottom: 19px;
}


.form-field > span {
  display: block;

  margin-bottom: 8px;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}


.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;

  outline: none;

  background: rgba(255, 255, 255, 0.08);
  color: var(--white);

  transition:
    border-color var(--transition),
    background var(--transition);
}


.form-field input,
.form-field select {
  min-height: 53px;
  padding: 0 15px;
}


.form-field textarea {
  padding: 14px 15px;

  resize: vertical;
}


.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}


.form-field select option {
  background: var(--ocean-dark);
  color: var(--white);
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ocean-light);

  background: rgba(255, 255, 255, 0.13);
}


.rsvp-submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: calc(100% - 48px);
  min-height: 56px;
  margin-top: 7px;
  margin-bottom: 0;
  padding: 13px 21px;

  border: 1px solid var(--pearl);

  background: var(--pearl);
  color: var(--ocean-dark);

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}


.rsvp-submit-button:hover {
  transform: translateY(-3px);

  background: transparent;
  color: var(--white);
}


.rsvp-submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
}


.privacy-note {
  margin-top: 18px;
  margin-bottom: 23px;

  color: rgba(255, 255, 255, 0.38);

  font-size: 0.61rem;
  text-align: center;
}


/* =========================================================
   17. ACTION CARDS
========================================================= */

.coastal-action-section {
  padding: 120px 0;

  background: var(--pearl-soft);
}


.coastal-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 23px;
}


.coastal-action-card {
  position: relative;

  min-height: 410px;
  padding: 49px;

  overflow: hidden;

  border: 1px solid var(--border);

  background:
    radial-gradient(
      circle at top right,
      rgba(157, 198, 210, 0.13),
      transparent 30%
    ),
    var(--white);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}


.coastal-action-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-medium);
}


.action-card-number {
  position: absolute;
  top: 18px;
  right: 23px;

  color: rgba(29, 83, 107, 0.1);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 5rem;
  line-height: 1;
}


.action-card-icon {
  display: grid;
  place-items: center;

  width: 60px;
  height: 60px;

  border: 1px solid var(--ocean-soft);
  border-radius: 50%;

  color: var(--ocean);
}


.coastal-action-card .coastal-kicker {
  margin-top: 29px;
}


.coastal-action-card h3 {
  margin-top: 11px;

  color: var(--ocean-dark);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2.2rem;
  font-weight: 400;
}


.coastal-action-card > p:not(.coastal-kicker) {
  max-width: 480px;
  margin-top: 15px;

  color: var(--muted);
}


.coastal-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  min-height: 48px;
  margin-top: 29px;
  padding: 11px 20px;

  border: 1px solid var(--ocean);

  background: transparent;
  color: var(--ocean);

  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}


.coastal-outline-button:hover {
  transform: translateY(-3px);

  background: var(--ocean);
  color: var(--white);
}


.contact-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================================================
   18. CLOSING
========================================================= */

.coastal-closing-section {
  position: relative;

  display: grid;
  place-items: center;

  min-height: 900px;
  padding: 110px 30px;

  overflow: hidden;

  background: var(--ocean-deep);

  text-align: center;
}


.closing-background {
  position: absolute;
  inset: 0;
}


.closing-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.8)
    contrast(1.04);
}


.closing-background-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(4, 24, 35, 0.42),
      rgba(4, 24, 35, 0.83)
    );
}


.closing-horizon-line {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent
    );
}


.coastal-closing-content {
  position: relative;
  z-index: 3;

  max-width: 850px;
  padding: 65px 55px;

  border: 1px solid rgba(255, 255, 255, 0.22);

  background: rgba(5, 30, 42, 0.38);

  color: var(--white);

  backdrop-filter: blur(16px);
}


.coastal-closing-content .coastal-kicker {
  color: var(--ocean-light);
}


.closing-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  margin-top: 35px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;
}


.closing-monogram b {
  color: var(--ocean-light);
  font-size: 0.5rem;
}


.coastal-closing-content h2 {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-top: 38px;

  color: var(--pearl);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(4.7rem, 9vw, 8.7rem);
  font-weight: 400;
  line-height: 0.76;
}


.coastal-closing-content h2 small {
  margin: 30px 0;

  color: var(--ocean-light);

  font-size: 1.7rem;
  font-style: italic;
}


.coastal-closing-content > p:not(.coastal-kicker) {
  max-width: 570px;
  margin: 40px auto 0;

  color: rgba(255, 255, 255, 0.62);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-style: italic;
}


.closing-divider {
  margin-top: 40px;
}


.coastal-closing-content > small {
  color: rgba(255, 255, 255, 0.5);

  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}


/* =========================================================
   19. FOOTER
========================================================= */

.coastal-footer {
  padding: 55px 25px;

  border-top: 1px solid rgba(157, 198, 210, 0.16);

  background: #03131c;
  color: rgba(255, 255, 255, 0.45);

  text-align: center;
}


.footer-monogram {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;
  margin: 0 auto 20px;

  border: 1px solid rgba(157, 198, 210, 0.55);
  border-radius: 50%;

  color: var(--ocean-light);

  font-family:
    Georgia,
    "Times New Roman",
    serif;
}


.coastal-footer strong {
  color: var(--ocean-light);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 400;
}


.coastal-footer span,
.coastal-footer small {
  display: block;

  margin-top: 6px;

  font-size: 0.62rem;
  letter-spacing: 1px;
}


/* =========================================================
   20. REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   21. RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr 0.85fr;
    gap: 50px;
  }

  .couple-names {
    font-size: 6.3rem;
  }

  .rsvp-coastal-layout {
    gap: 45px;
  }

  .dress-content-panel {
    padding: 55px;
  }
}


/* =========================================================
   22. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {
  .coastal-navigation {
    grid-template-columns: 1fr auto;
  }

  .navigation-links {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;

    max-width: 720px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-monogram,
  .hero-explore-button {
    justify-content: center;

    margin-right: auto;
    margin-left: auto;
  }

  .hero-message {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-guest-panel {
    margin-right: auto;
    margin-left: auto;

    border-right: 2px solid var(--ocean-light);
  }

  .hero-event-glass-card {
    width: min(600px, 100%);
    margin: 0 auto;
  }

  .hero-side-text {
    display: none;
  }

  .quote-layout {
    grid-template-columns: 75px 1fr;
    gap: 35px;
  }

  .coastal-heading {
    grid-template-columns: 75px 1fr;
  }

  .heading-description {
    grid-column: 2;
    padding-top: 0;
  }

  .event-cinematic-layout {
    grid-template-columns: 1fr;
  }

  .event-image-panel {
    min-height: 620px;
  }

  .event-information-panel {
    min-height: 600px;
  }

  .coastal-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 390px);
  }

  .gallery-item:first-child,
  .gallery-item:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
  }

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

  .timeline-item:nth-child(2) {
    border-right: 0;
  }

  .timeline-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .dress-coastal-layout {
    grid-template-columns: 1fr;
  }

  .dress-image-panel {
    min-height: 620px;
  }

  .rsvp-coastal-layout {
    grid-template-columns: 1fr;
  }

  .rsvp-introduction {
    max-width: 700px;

    text-align: center;
  }

  .rsvp-introduction > p:not(.coastal-kicker) {
    margin-right: auto;
    margin-left: auto;
  }

  .rsvp-information-note {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;

    text-align: left;
  }

  .coastal-action-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   23. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 650px) {
  .coastal-container {
    width: min(100% - 28px, 1180px);
  }

  .opening-screen {
    display: block;

    padding: 85px 14px 70px;

    overflow-y: auto;
  }

  .opening-top-bar {
    top: 18px;
    right: 16px;
    left: 16px;
  }

  .opening-top-bar span {
    display: none;
  }

  .opening-side-label,
  .opening-scroll-indicator {
    display: none;
  }

  .opening-content {
    margin: 0 auto;
  }

  .opening-glass-card {
    padding: 40px 22px;
  }

  .opening-card-top {
    font-size: 0.52rem;
  }

  .opening-monogram {
    width: 78px;
    height: 78px;
  }

  .opening-glass-card h1 {
    font-size: 2.3rem;
  }

  .opening-couple-names {
    flex-direction: column;
    gap: 5px;

    font-size: 2.7rem;
  }

  .opening-couple-names small {
    margin: 4px 0;
  }

  .open-invitation-button {
    width: 100%;
  }

  .coastal-navigation {
    min-height: 66px;
    padding: 0 17px;
  }

  .navigation-rsvp-button {
    padding: 8px 11px;

    font-size: 0.54rem;
  }

  .coastal-hero {
    min-height: auto;
    padding: 80px 0 100px;
  }

  .couple-names {
    font-size: 4.3rem;
    letter-spacing: -2px;
  }

  .hero-bottom-line {
    right: 17px;
    left: 17px;
  }

  .hero-edition-number {
    display: none;
  }

  .coastal-quote-section,
  .coastal-event-section,
  .coastal-gallery-section,
  .coastal-programme-section,
  .coastal-rsvp-section,
  .coastal-action-section {
    padding: 85px 0;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quote-index {
    font-size: 3rem;
  }

  .quote-content blockquote {
    font-size: 2.7rem;
  }

  .coastal-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .heading-number {
    font-size: 3rem;
  }

  .heading-description {
    grid-column: auto;
  }

  .heading-content h2,
  .countdown-heading h2,
  .programme-introduction h2,
  .rsvp-introduction h2 {
    font-size: 2.8rem;
  }

  .event-image-panel {
    min-height: 470px;
  }

  .event-information-panel {
    min-height: auto;
    padding: 42px 24px;
  }

  .coastal-countdown-section {
    min-height: 680px;
    padding: 90px 0;
  }

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

  .countdown-item {
    padding: 34px 10px;
  }

  .countdown-item:nth-child(2) {
    border-right: 0;
  }

  .countdown-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .coastal-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item {
    min-height: 380px;
  }

  .timeline-list {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .timeline-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .dress-content-panel {
    padding: 50px 25px;
  }

  .dress-content-panel h2 {
    font-size: 3rem;
  }

  .dress-image-panel {
    min-height: 480px;
  }

  .rsvp-form {
    padding: 7px;
  }

  .rsvp-form > * {
    margin-right: 15px;
    margin-left: 15px;
  }

  .rsvp-form-header {
    margin: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rsvp-submit-button {
    width: calc(100% - 30px);
  }

  .coastal-action-card {
    min-height: auto;
    padding: 40px 25px;
  }

  .contact-button-grid {
    flex-direction: column;
  }

  .contact-button-grid .coastal-outline-button {
    width: 100%;
  }

  .coastal-closing-section {
    min-height: 750px;
    padding: 85px 17px;
  }

  .coastal-closing-content {
    padding: 50px 22px;
  }

  .coastal-closing-content h2 {
    font-size: 4.6rem;
  }
}


/* =========================================================
   24. VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
  .opening-glass-card h1 {
    font-size: 2rem;
  }

  .opening-couple-names {
    font-size: 2.4rem;
  }

  .navigation-brand {
    font-size: 0.92rem;
  }

  .navigation-rsvp-button {
    font-size: 0.48rem;
  }

  .couple-names {
    font-size: 3.7rem;
  }

  .hero-event-glass-card > * {
    padding-right: 17px;
    padding-left: 17px;
  }

  .hero-event-card-top {
    padding-right: 17px;
    padding-left: 17px;
  }

  .quote-content blockquote {
    font-size: 2.3rem;
  }

  .countdown-item strong {
    font-size: 2.8rem;
  }

  .gallery-item {
    min-height: 325px;
  }

  .coastal-colour-palette {
    gap: 14px;
  }

  .coastal-closing-content h2 {
    font-size: 4rem;
  }
}


/* =========================================================
   25. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   KINIRTHTHA THEMED OPENING EFFECTS
========================================================= */

.kiniththa-effect-layer {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.9s ease;
}

.kiniththa-effect-layer.is-fading { opacity: 0; }

.kiniththa-effect-particle {
  position: absolute;
  display: block;
  width: var(--kfx-size);
  height: var(--kfx-size);
  opacity: 0;
  will-change: transform, opacity;
}

/* Floral rose petals */
.effect-rose-petals .kiniththa-effect-particle {
  border-radius: 80% 12% 80% 12%;
  background: linear-gradient(135deg, #fff6f3, #e8aeb0 58%, #b96872);
  box-shadow: 0 4px 12px rgba(125, 52, 64, 0.18);
  animation: kfx-fall var(--kfx-duration) cubic-bezier(.25,.65,.35,1) var(--kfx-delay) forwards;
}

/* Royal gold dust */
.effect-gold-sparkles .kiniththa-effect-particle {
  width: calc(var(--kfx-size) * .68);
  height: calc(var(--kfx-size) * .68);
  background: #f4d58a;
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
  filter: drop-shadow(0 0 8px rgba(244, 213, 138, .88));
  animation: kfx-gold-fall var(--kfx-duration) ease-in var(--kfx-delay) forwards;
}

/* Ivory butterflies */
.effect-ivory-butterflies .kiniththa-effect-particle {
  width: calc(var(--kfx-size) * 1.5);
  height: var(--kfx-size);
  animation: kfx-fly var(--kfx-duration) ease-in-out var(--kfx-delay) forwards;
}
.effect-ivory-butterflies .kiniththa-effect-particle::before,
.effect-ivory-butterflies .kiniththa-effect-particle::after {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  border: 1px solid rgba(150, 137, 111, .55);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(232,225,207,.72));
  content: "";
  animation: kfx-wing .34s ease-in-out infinite alternate;
}
.effect-ivory-butterflies .kiniththa-effect-particle::before { left: 0; border-radius: 80% 20% 70% 30%; transform-origin: 100% 60%; }
.effect-ivory-butterflies .kiniththa-effect-particle::after { right: 0; border-radius: 20% 80% 30% 70%; transform-origin: 0 60%; }

/* Heritage lotus petals */
.effect-lotus-petals .kiniththa-effect-particle {
  width: calc(var(--kfx-size) * .78);
  height: calc(var(--kfx-size) * 1.35);
  border-radius: 75% 75% 42% 42%;
  background: linear-gradient(180deg, #fff2df, #d98f60 65%, #8f3f2a);
  box-shadow: 0 0 13px rgba(255, 183, 104, .28);
  animation: kfx-fall var(--kfx-duration) ease-in var(--kfx-delay) forwards;
}

/* Coastal fireflies */
.effect-coastal-fireflies .kiniththa-effect-particle {
  border-radius: 50%;
  background: #ffe9a6;
  box-shadow: 0 0 8px #ffe9a6, 0 0 20px rgba(113, 202, 215, .9), 0 0 34px rgba(52, 139, 163, .45);
  animation: kfx-rise-drift var(--kfx-duration) ease-out var(--kfx-delay) forwards;
}

/* Golden birthday balloons */
.effect-gold-balloons .kiniththa-effect-particle {
  width: calc(var(--kfx-size) * 1.05);
  height: calc(var(--kfx-size) * 1.28);
  border-radius: 52% 52% 48% 48%;
  background: radial-gradient(circle at 32% 25%, #fff5c7 0 8%, #e6b94b 30%, #9f6d13 100%);
  box-shadow: 0 7px 18px rgba(111, 69, 8, .25);
  animation: kfx-rise var(--kfx-duration) ease-out var(--kfx-delay) forwards;
}
.effect-gold-balloons .kiniththa-effect-particle::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: calc(var(--kfx-size) * 2.5);
  background: rgba(152, 112, 47, .5);
  content: "";
}

/* Champagne bubbles */
.effect-champagne-bubbles .kiniththa-effect-particle {
  border: 1px solid rgba(220, 164, 154, .8);
  border-radius: 50%;
  background: rgba(255, 244, 238, .14);
  box-shadow: inset 3px 3px 7px rgba(255,255,255,.72), 0 0 11px rgba(221, 164, 154, .35);
  animation: kfx-rise-drift var(--kfx-duration) ease-out var(--kfx-delay) forwards;
}

/* Neon light streaks */
.effect-neon-streaks .kiniththa-effect-particle {
  width: calc(var(--kfx-size) * .34);
  height: calc(var(--kfx-size) * 3.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff52d9, #865dff 54%, #35eaff);
  box-shadow: 0 0 9px #ff52d9, 0 0 21px rgba(53, 234, 255, .85);
  animation: kfx-neon-fall var(--kfx-duration) linear var(--kfx-delay) forwards;
}

/* Grand opening ribbons */
.effect-opening-ribbons .kiniththa-effect-particle {
  width: calc(var(--kfx-size) * .45);
  height: calc(var(--kfx-size) * 2.4);
  border-radius: 999px 999px 35% 35%;
  background: linear-gradient(180deg, #f9d789, #b88629 55%, #174a3c);
  box-shadow: 0 4px 10px rgba(23, 74, 60, .18);
  animation: kfx-ribbon-fall var(--kfx-duration) ease-in var(--kfx-delay) forwards;
}

/* Product reveal technology particles */
.effect-tech-particles .kiniththa-effect-particle {
  border: 1px solid rgba(100, 209, 255, .9);
  background: rgba(41, 153, 213, .13);
  box-shadow: 0 0 12px rgba(61, 196, 255, .75);
  animation: kfx-tech-fall var(--kfx-duration) linear var(--kfx-delay) forwards;
}
.effect-tech-particles .kiniththa-effect-particle:nth-child(3n) { border-radius: 50%; }
.effect-tech-particles .kiniththa-effect-particle:nth-child(4n) { transform: rotate(45deg); }

/* Conference network nodes */
.effect-network-nodes .kiniththa-effect-particle {
  border-radius: 50%;
  background: #73d8e6;
  box-shadow: 0 0 10px rgba(115, 216, 230, .8), 0 0 23px rgba(25, 92, 116, .45);
  animation: kfx-fly var(--kfx-duration) ease-in-out var(--kfx-delay) forwards;
}
.effect-network-nodes .kiniththa-effect-particle::after {
  position: absolute;
  top: 50%;
  right: 50%;
  width: calc(var(--kfx-size) * 4.5);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115,216,230,.52));
  content: "";
  transform: rotate(-18deg);
  transform-origin: right center;
}

@keyframes kfx-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(0); }
  12% { opacity: var(--kfx-opacity); }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), 122vh, 0) rotate(var(--kfx-rotation)); }
}
@keyframes kfx-gold-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) scale(.25) rotate(0); }
  18% { opacity: var(--kfx-opacity); transform: translate3d(calc(var(--kfx-drift) * .16), 15vh, 0) scale(1.2) rotate(90deg); }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), 118vh, 0) scale(.45) rotate(var(--kfx-rotation)); }
}
@keyframes kfx-fly {
  0% { opacity: 0; transform: translate3d(-6vw, 0, 0) rotate(-8deg) scale(.7); }
  12% { opacity: var(--kfx-opacity); }
  55% { transform: translate3d(58vw, var(--kfx-flight-y), 0) rotate(7deg) scale(1); }
  100% { opacity: 0; transform: translate3d(124vw, calc(var(--kfx-flight-y) * -.3), 0) rotate(-6deg) scale(.82); }
}
@keyframes kfx-wing {
  from { transform: rotateY(18deg) rotateZ(-8deg); }
  to { transform: rotateY(72deg) rotateZ(9deg); }
}
@keyframes kfx-rise {
  0% { opacity: 0; transform: translate3d(0, 8vh, 0) rotate(0); }
  14% { opacity: var(--kfx-opacity); }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), -125vh, 0) rotate(var(--kfx-rotation)); }
}
@keyframes kfx-rise-drift {
  0% { opacity: 0; transform: translate3d(0, 6vh, 0) scale(.55); }
  20% { opacity: var(--kfx-opacity); }
  55% { transform: translate3d(calc(var(--kfx-drift) * -.35), -55vh, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), -125vh, 0) scale(.35); }
}
@keyframes kfx-neon-fall {
  0% { opacity: 0; transform: translate3d(0, -15vh, 0) rotate(36deg) scaleY(.5); }
  18% { opacity: var(--kfx-opacity); }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), 125vh, 0) rotate(36deg) scaleY(1.3); }
}
@keyframes kfx-ribbon-fall {
  0% { opacity: 0; transform: translate3d(0, -12vh, 0) rotate(0) skewY(-18deg); }
  15% { opacity: var(--kfx-opacity); }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), 124vh, 0) rotate(var(--kfx-rotation)) skewY(22deg); }
}
@keyframes kfx-tech-fall {
  0% { opacity: 0; transform: translate3d(0, -12vh, 0) rotate(0) scale(.3); }
  17% { opacity: var(--kfx-opacity); }
  60% { opacity: .9; }
  100% { opacity: 0; transform: translate3d(var(--kfx-drift), 120vh, 0) rotate(var(--kfx-rotation)) scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .kiniththa-effect-layer { display: none !important; }
}


/* KINIRTHTHA SHARED GALLERY POLISH */
#galleryGrid .gallery-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 45px rgba(20, 24, 28, .10);
}
#galleryGrid .gallery-item::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,.13));
  content: "";
  opacity: .48;
  pointer-events: none;
  transition: opacity .45s ease;
}
#galleryGrid .gallery-item img {
  display: block;
  width: 100%;
  max-width: none;
  transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .75s ease !important;
}
#galleryGrid .gallery-item:hover img { transform: scale(1.045); }
#galleryGrid .gallery-item:hover::before { opacity: .18; }
@media (max-width: 680px) {
  #galleryGrid { width: 100%; }
  #galleryGrid .gallery-item { min-height: 0 !important; box-shadow: 0 10px 28px rgba(20,24,28,.10); }
  #galleryGrid .gallery-item img { min-height: 0 !important; object-position: center center; }
}

/* KINIRTHTHA PREMIUM GALLERY — KF-005 CINEMATIC MOSAIC */
.coastal-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, 330px) !important;
  gap: 15px !important;
}
.coastal-gallery-grid .gallery-item { min-height: 0 !important; height: auto !important; }
.coastal-gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.coastal-gallery-grid .gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.coastal-gallery-grid .gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.coastal-gallery-grid .gallery-item:nth-child(4) { grid-column: 6 / 13; grid-row: 2; }
.coastal-gallery-grid .gallery-item img { height: 100% !important; object-fit: cover !important; }
@media (max-width: 680px) {
  .coastal-gallery-section { padding: 78px 0 !important; overflow: hidden; }
  .coastal-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: 350px 190px 230px !important; gap: 9px !important; }
  .coastal-gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .coastal-gallery-grid .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .coastal-gallery-grid .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .coastal-gallery-grid .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
}

