/* =========================================================
   Kiniththa
   KF-003 — IVORY EDITORIAL LUXE
========================================================= */


/* =========================
   VARIABLES
========================= */

:root {
  --ivory: #f7f3ea;
  --ivory-soft: #fcfaf5;
  --ivory-deep: #e8dfd0;

  --champagne: #c5a978;
  --champagne-light: #dfceb0;
  --champagne-dark: #927449;

  --sage: #879180;
  --sage-dark: #626c5e;
  --sage-light: #b7c0ae;

  --taupe: #9b8e7e;
  --brown: #463e37;
  --brown-soft: #665c52;

  --white: #ffffff;
  --black: #181713;

  --text: #443e37;
  --muted: #82786d;

  --border: rgba(70, 62, 55, 0.14);
  --border-strong: rgba(146, 116, 73, 0.38);

  --shadow-small:
    0 14px 40px rgba(74, 62, 48, 0.08);

  --shadow-medium:
    0 24px 65px rgba(74, 62, 48, 0.13);

  --shadow-large:
    0 45px 110px rgba(74, 62, 48, 0.2);

  --radius-small: 12px;
  --radius-medium: 22px;
  --radius-large: 36px;

  --transition: 0.35s ease;
}


/* =========================
   RESET
========================= */

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


html {
  scroll-behavior: smooth;
}


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

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

  font-family:
    "Segoe UI",
    "Noto Sans Sinhala",
    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(--sage);
  color: var(--white);
}


/* =========================
   SHARED
========================= */

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


.editorial-kicker {
  color: var(--champagne-dark);

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.8px;
  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;
}


.fine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin: 28px 0;
}


.fine-divider span {
  width: 75px;
  height: 1px;

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


.fine-divider b {
  color: var(--champagne);
  font-size: 0.7rem;
}


/* =========================
   EXPIRED SCREEN
========================= */

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

  display: grid;
  place-items: center;

  padding: 22px;

  background:
    radial-gradient(
      circle at center,
      rgba(197, 169, 120, 0.18),
      transparent 35%
    ),
    var(--ivory);
}


.expired-card {
  width: min(620px, 100%);
  padding: 70px 45px;

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

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

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

  text-align: center;

  backdrop-filter: blur(18px);
}


.expired-monogram {
  margin-top: 30px;

  color: var(--brown);

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

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


.expired-monogram span {
  color: var(--champagne-dark);
  font-style: italic;
}


.expired-card h1 {
  margin-top: 28px;

  color: var(--brown);

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

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


.expired-card > p:last-child {
  color: var(--muted);
}


/* =========================
   OPENING SCREEN
========================= */

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

  display: grid;
  place-items: center;

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

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 255, 255, 0.9),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(135, 145, 128, 0.18),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #f4efe4,
      #e5dccd
    );

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


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


.opening-paper-texture {
  position: absolute;
  inset: 0;

  opacity: 0.25;

  background-image:
    linear-gradient(
      rgba(70, 62, 55, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(70, 62, 55, 0.025) 1px,
      transparent 1px
    );

  background-size: 38px 38px;
}


.opening-issue-number {
  position: absolute;
  top: 35px;
  left: 40px;

  color: rgba(70, 62, 55, 0.42);

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

  font-size: 0.65rem;
  letter-spacing: 2px;
  line-height: 1.5;
}


.opening-side-title {
  position: absolute;
  right: 30px;
  bottom: 40px;

  color: rgba(70, 62, 55, 0.38);

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

  writing-mode: vertical-rl;
}


.editorial-cover {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: 1fr 1fr;

  width: min(1080px, 100%);
  min-height: 680px;

  border: 1px solid rgba(70, 62, 55, 0.18);

  background: var(--ivory-soft);

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


.cover-image-panel {
  position: relative;

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


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

  object-fit: cover;

  filter:
    saturate(0.78)
    contrast(0.96);
}


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

  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(36, 31, 27, 0.45)
    );
}


.cover-image-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;

  color: var(--white);
}


.cover-image-caption span {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.1rem;
}


.cover-image-caption small {
  color: rgba(255, 255, 255, 0.72);

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


.cover-content-panel {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 55px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at top right,
      rgba(135, 145, 128, 0.13),
      transparent 34%
    ),
    var(--ivory-soft);
}


.cover-content-panel::after {
  position: absolute;
  right: -150px;
  bottom: -160px;

  width: 360px;
  height: 360px;

  border: 1px solid rgba(146, 116, 73, 0.12);
  border-radius: 50%;

  content: "";
}


.cover-top-line {
  position: absolute;
  top: 28px;
  right: 34px;
  left: 34px;

  display: flex;
  justify-content: space-between;
  gap: 15px;

  padding-bottom: 14px;

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

  color: var(--muted);

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


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

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

  color: var(--brown);

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

  font-size: 1.35rem;
}


.cover-monogram b {
  color: var(--champagne-dark);
  font-size: 0.8rem;
}


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

  margin-top: 40px;

  color: var(--muted);

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


.cover-content-panel h1 {
  position: relative;
  z-index: 2;

  margin-top: 12px;

  color: var(--brown);

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

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


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

  display: flex;
  flex-direction: column;

  margin-top: 35px;

  color: var(--sage-dark);

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

  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.95;
}


.cover-couple-names small {
  margin: 14px 0;

  color: var(--champagne-dark);

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


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

  max-width: 430px;
  margin-top: 28px;

  color: var(--muted);

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

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


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

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

  width: max-content;
  min-height: 52px;
  margin-top: 34px;
  padding: 13px 25px;

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

  background: var(--sage-dark);
  color: var(--white);

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.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(--sage-dark);
}


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

  margin-top: 15px;

  color: var(--muted);

  font-size: 0.62rem;
}


/* =========================
   MUSIC BUTTON
========================= */

.music-button {
  position: fixed;
  z-index: 1500;
  top: 20px;
  right: 20px;

  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

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

  background: var(--sage-dark);
  color: var(--white);

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

  font-size: 1.05rem;
}


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


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


/* =========================
   HERO
========================= */

.editorial-hero {
  position: relative;

  min-height: 100vh;
  padding: 32px 45px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(135, 145, 128, 0.14),
      transparent 33%
    ),
    var(--ivory-soft);
}


.hero-top-navigation {
  position: relative;
  z-index: 4;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;

  padding-bottom: 21px;

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


.hero-top-navigation p {
  color: var(--brown);

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

  font-size: 1.1rem;
}


.hero-top-navigation span {
  color: var(--muted);

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


.hero-top-navigation a {
  justify-self: end;

  color: var(--sage-dark);

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


.editorial-hero-grid {
  display: grid;
  grid-template-columns: 0.45fr 1.15fr 1.15fr;
  align-items: stretch;
  gap: 35px;

  width: min(1450px, 100%);
  min-height: calc(100vh - 125px);
  margin: 30px auto 0;
}


.hero-left-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 20px 0 55px;
}


.hero-vertical-line {
  width: 1px;
  height: 180px;
  margin: 35px 0;

  background:
    linear-gradient(
      var(--champagne),
      transparent
    );
}


.hero-side-copy {
  max-width: 150px;

  color: var(--muted);

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

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


.hero-edition {
  display: flex;
  align-items: center;
  gap: 14px;
}


.hero-edition > span {
  color: var(--sage-dark);

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

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


.hero-edition p {
  color: var(--muted);

  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-transform: uppercase;
}


.hero-photo-column {
  position: relative;

  padding-bottom: 55px;
}


.hero-photo-frame {
  position: relative;

  height: 100%;
  min-height: 720px;
  overflow: hidden;
}


.hero-photo-frame::before {
  position: absolute;
  z-index: 3;
  inset: 15px;

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

  content: "";

  pointer-events: none;
}


.hero-photo-frame img {
  width: 100%;
  height: 100%;

  object-fit: cover;

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


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

  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(43, 38, 33, 0.5)
    );
}


.photo-caption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;

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

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


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

  padding: 70px 25px 100px;
}


.hero-invitation-label {
  color: var(--muted);

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


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

  margin-top: 30px;

  color: var(--brown);

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

  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -4px;
}


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

  color: var(--champagne-dark);

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


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

  margin-top: 37px;

  color: var(--sage-dark);

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

  font-size: 1.05rem;
}


.hero-monogram-row b {
  color: var(--champagne-dark);
  font-size: 0.55rem;
}


.hero-message {
  max-width: 540px;
  margin-top: 28px;

  color: var(--muted);

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

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


.hero-guest-card {
  max-width: 480px;
  margin-top: 32px;
  padding: 18px 20px;

  border-left: 2px solid var(--sage);

  background:
    linear-gradient(
      90deg,
      rgba(135, 145, 128, 0.1),
      transparent
    );
}


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

  color: var(--muted);

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


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

  margin-top: 4px;

  color: var(--brown);

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

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


.hero-discover-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  width: max-content;
  margin-top: 32px;

  color: var(--sage-dark);

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

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


.hero-discover-button:hover {
  gap: 20px;
  color: var(--champagne-dark);
}


.hero-bottom-strip {
  position: absolute;
  right: 45px;
  bottom: 0;
  left: 45px;

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

  padding: 15px 0;

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

  color: var(--muted);

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


/* =========================
   QUOTE SECTION
========================= */

.editorial-quote-section {
  position: relative;

  padding: 135px 0;

  overflow: hidden;

  background: var(--ivory);
}


.quote-side-number {
  position: absolute;
  top: 50%;
  right: -45px;

  color: rgba(146, 116, 73, 0.06);

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

  font-size: 24rem;
  line-height: 1;

  transform: translateY(-50%);
}


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

  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: center;
  gap: 80px;
}


.quote-small-column {
  padding-right: 45px;

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


.quote-small-column span {
  display: block;

  margin-top: 30px;

  color: var(--muted);

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

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


.large-quote-mark {
  display: block;

  color: var(--champagne-light);

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

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


.quote-main-column blockquote {
  max-width: 880px;
  margin-top: 25px;

  color: var(--brown);

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

  font-size: clamp(2.7rem, 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(--champagne);
}


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

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

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


/* =========================
   EDITORIAL HEADING
========================= */

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

  margin-bottom: 65px;
}


.heading-index {
  color: rgba(146, 116, 73, 0.22);

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

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


.heading-content h2,
.timeline-introduction h2,
.countdown-title h2,
.rsvp-editorial-intro h2 {
  margin-top: 12px;

  color: var(--brown);

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

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


.heading-content h2 span,
.timeline-introduction h2 span,
.countdown-title h2 span,
.rsvp-editorial-intro h2 span {
  display: block;

  color: var(--sage-dark);
  font-style: italic;
}


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

  color: var(--muted);

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

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


/* =========================
   EVENT DETAILS
========================= */

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

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


.event-editorial-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr 0.9fr;
  min-height: 580px;

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

  background: var(--white);

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


.event-date-card,
.event-details-card {
  padding: 48px 36px;
}


.event-date-card {
  display: flex;
  flex-direction: column;
  justify-content: center;

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

  background:
    radial-gradient(
      circle at bottom left,
      rgba(197, 169, 120, 0.15),
      transparent 35%
    ),
    var(--ivory);
}


.event-card-label {
  color: var(--champagne-dark);

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


.large-date-number {
  margin-top: 30px;

  color: var(--sage-dark);

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

  font-size: clamp(7rem, 11vw, 11rem);
  line-height: 0.8;
}


.event-date-card h3 {
  margin-top: 35px;

  color: var(--brown);

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

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


.event-date-card > span {
  margin-top: 8px;

  color: var(--muted);

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


.event-image-card {
  position: relative;

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


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

  object-fit: cover;

  filter:
    saturate(0.72)
    contrast(0.94);
}


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

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(38, 33, 29, 0.56)
    );
}


.event-image-text {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;

  color: var(--white);
}


.event-image-text span {
  display: block;

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

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


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

  margin-top: 7px;

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

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


.event-details-card {
  display: flex;
  flex-direction: column;
  justify-content: center;

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


.event-detail-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;

  padding: 27px 0;

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


.event-detail-row > span {
  color: var(--champagne-dark);

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

  font-size: 0.85rem;
}


.event-detail-row p {
  color: var(--muted);

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


.event-detail-row h3 {
  margin-top: 5px;

  color: var(--brown);

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

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


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

  margin-top: 5px;

  color: var(--muted);
}


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

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

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

  color: var(--sage-dark);

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

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


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

  background: var(--sage-dark);
  color: var(--white);
}


/* =========================
   COUNTDOWN
========================= */

.editorial-countdown-section {
  position: relative;

  padding: 135px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.1),
      transparent 35%
    ),
    var(--sage-dark);

  color: var(--white);
}


.countdown-large-word {
  position: absolute;
  top: 50%;
  left: 50%;

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

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

  font-size: 15vw;
  letter-spacing: 10px;
  line-height: 1;

  transform: translate(-50%, -50%);
}


.countdown-title {
  position: relative;
  z-index: 2;

  max-width: 760px;
  margin: 0 auto 60px;

  text-align: center;
}


.countdown-title .editorial-kicker {
  color: var(--champagne-light);
}


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


.countdown-title h2 span {
  color: var(--champagne-light);
}


.editorial-countdown-grid {
  position: relative;
  z-index: 2;

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

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

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


.countdown-item {
  position: relative;

  padding: 45px 20px;

  text-align: center;
}


.countdown-item:not(:last-child)::after {
  position: absolute;
  top: 20%;
  right: 0;

  width: 1px;
  height: 60%;

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

  content: "";
}


.countdown-item strong {
  display: block;

  color: var(--ivory-soft);

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

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


.countdown-item span {
  display: block;

  margin-top: 15px;

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

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


.countdown-complete {
  position: relative;
  z-index: 2;

  margin-top: 35px;

  text-align: center;
}


/* =========================
   GALLERY
========================= */

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

  background: var(--ivory);
}


.editorial-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 360px 360px;
  gap: 18px;
}


.gallery-item {
  position: relative;

  min-height: 100%;
  overflow: hidden;

  background: var(--ivory-deep);

  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.55);

  content: "";

  pointer-events: none;
}


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

  object-fit: cover;

  filter:
    saturate(0.72)
    contrast(0.95);

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


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

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


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

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

  color: var(--sage-dark);

  text-align: center;
}


.gallery-placeholder span {
  display: block;

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

  font-size: 3.7rem;
}


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

  color: var(--muted);
}


/* =========================
   TIMELINE
========================= */

.editorial-timeline-section {
  padding: 130px 0;

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


.timeline-introduction {
  max-width: 790px;
  margin-bottom: 70px;
}


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

  color: var(--muted);
}


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

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


.timeline-item {
  position: relative;

  padding: 45px 28px 35px;
}


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


.timeline-time {
  color: var(--champagne-dark);

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

  font-size: 1rem;
}


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

  width: 14px;
  height: 14px;

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

  background: var(--sage-dark);

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


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


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

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

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


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

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


/* =========================
   DRESS CODE
========================= */

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

  background: var(--ivory);
}


.dress-editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;

  min-height: 650px;

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

  background: var(--white);

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


.dress-image-panel {
  position: relative;

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


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

  object-fit: cover;

  filter:
    saturate(0.68)
    contrast(0.95);
}


.dress-image-number {
  position: absolute;
  top: 28px;
  left: 28px;

  display: grid;
  place-items: center;

  width: 65px;
  height: 65px;

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

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

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

  backdrop-filter: blur(10px);
}


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

  padding: 70px;
}


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

  color: var(--brown);

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

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


.dress-content-panel > p:not(.editorial-kicker):not(.dress-note) {
  max-width: 570px;
  margin-top: 24px;

  color: var(--muted);
}


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

  margin-top: 38px;
}


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


.editorial-palette span {
  display: block;

  width: 38px;
  height: 38px;

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

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


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

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


.palette-ivory {
  background: #eee8dc;
}


.palette-champagne {
  background: #cfb98e;
}


.palette-sage {
  background: #879180;
}


.palette-taupe {
  background: #998b7b;
}


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

  color: var(--sage-dark);

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


/* =========================
   RSVP
========================= */

.editorial-rsvp-section {
  position: relative;

  padding: 135px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(197, 169, 120, 0.17),
      transparent 32%
    ),
    var(--ivory-deep);
}


.rsvp-background-text {
  position: absolute;
  top: 50%;
  right: -40px;

  color: rgba(70, 62, 55, 0.035);

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

  font-size: 23rem;
  letter-spacing: 10px;
  line-height: 1;

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


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

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 75px;
}


.rsvp-editorial-intro > p:not(.editorial-kicker) {
  max-width: 500px;
  margin-top: 24px;

  color: var(--muted);
}


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

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

  border-left: 2px solid var(--sage-dark);

  background:
    linear-gradient(
      90deg,
      rgba(135, 145, 128, 0.1),
      transparent
    );
}


.rsvp-contact-note > span {
  color: var(--champagne-dark);
}


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


.rsvp-contact-note small {
  color: var(--muted);

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


.rsvp-contact-note strong {
  margin-top: 4px;

  color: var(--brown);

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

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


.rsvp-form {
  padding: 12px;

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

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

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

  backdrop-filter: blur(14px);
}


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


.rsvp-form-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin: 0;
  padding: 21px 25px;

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

  color: var(--champagne-dark);

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  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: var(--brown-soft);

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


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

  border: 1px solid rgba(70, 62, 55, 0.18);
  border-radius: 0;

  outline: none;

  background: rgba(255, 255, 255, 0.65);
  color: var(--brown);

  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(70, 62, 55, 0.4);
}


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

  background: var(--white);
}


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

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

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

  background: var(--sage-dark);
  color: var(--white);

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

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


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

  background: transparent;
  color: var(--sage-dark);
}


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


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

  color: var(--muted);

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


/* =========================
   ACTIONS
========================= */

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

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


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


.action-editorial-card {
  position: relative;

  min-height: 390px;
  padding: 48px;

  overflow: hidden;

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

  background: var(--white);

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


.action-editorial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}


.action-card-index {
  position: absolute;
  top: 20px;
  right: 25px;

  color: rgba(146, 116, 73, 0.12);

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

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


.action-editorial-card h3 {
  margin-top: 28px;

  color: var(--brown);

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

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


.action-editorial-card > p:not(.editorial-kicker) {
  max-width: 470px;
  margin-top: 16px;

  color: var(--muted);
}


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

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

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

  background: transparent;
  color: var(--sage-dark);

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

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


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

  background: var(--sage-dark);
  color: var(--white);
}


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


/* =========================
   CLOSING
========================= */

.editorial-closing-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  min-height: 850px;

  background: var(--ivory);
}


.closing-photo-side {
  position: relative;

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


.closing-photo-side img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.7)
    contrast(0.95);
}


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

  background:
    linear-gradient(
      90deg,
      transparent 60%,
      rgba(247, 243, 234, 0.5)
    );
}


.closing-content-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 70px;

  text-align: center;
}


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

  margin-top: 35px;

  color: var(--sage-dark);

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

  font-size: 1.1rem;
}


.closing-monogram b {
  color: var(--champagne-dark);
  font-size: 0.55rem;
}


.closing-content-side h2 {
  display: flex;
  flex-direction: column;

  margin-top: 40px;

  color: var(--brown);

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

  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.78;
}


.closing-content-side h2 small {
  margin: 28px 0;

  color: var(--champagne-dark);

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


.closing-content-side > p:not(.editorial-kicker) {
  max-width: 470px;
  margin-top: 38px;

  color: var(--muted);

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

  font-style: italic;
}


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


.closing-content-side > small {
  color: var(--sage-dark);

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


/* =========================
   FOOTER
========================= */

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

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

  background: var(--brown);
  color: rgba(255, 255, 255, 0.55);

  text-align: center;
}


.footer-editorial-brand {
  color: var(--champagne-light);

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

  font-size: 1.25rem;
}


.editorial-footer p {
  margin-top: 11px;

  color: var(--white);

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

  font-style: italic;
}


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

  margin-top: 6px;

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


/* =========================
   REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(38px);

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


.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   RESPONSIVE — TABLET
========================= */

@media (max-width: 1050px) {
  .editorial-cover {
    width: min(900px, 100%);
  }

  .cover-content-panel {
    padding: 45px;
  }

  .editorial-hero-grid {
    grid-template-columns: 0.35fr 1fr 1fr;
    gap: 24px;
  }

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

  .event-editorial-layout {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .event-details-card {
    grid-column: 1 / -1;

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

  .event-detail-row {
    grid-template-columns: 45px 1fr;
  }

  .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);
  }

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


/* =========================
   RESPONSIVE — SMALL TABLET
========================= */

@media (max-width: 850px) {
  .opening-screen {
    overflow-y: auto;
  }

  .editorial-cover {
    grid-template-columns: 1fr;

    max-width: 620px;
    min-height: auto;
  }

  .cover-image-panel {
    min-height: 430px;
  }

  .cover-content-panel {
    min-height: 620px;
  }

  .opening-side-title,
  .opening-issue-number {
    display: none;
  }

  .editorial-hero {
    padding-right: 25px;
    padding-left: 25px;
  }

  .editorial-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-left-column {
    display: none;
  }

  .hero-photo-column {
    padding-bottom: 0;
  }

  .hero-photo-frame {
    min-height: 680px;
  }

  .hero-content-column {
    padding: 60px 15px 110px;

    text-align: center;
  }

  .hero-monogram-row,
  .hero-discover-button {
    margin-right: auto;
    margin-left: auto;
  }

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

  .hero-guest-card {
    margin-right: auto;
    margin-left: auto;
  }

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

  .quote-small-column {
    padding-right: 0;
    padding-bottom: 35px;

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

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

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

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

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

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

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

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

  .rsvp-editorial-intro {
    max-width: 700px;

    text-align: center;
  }

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

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

    text-align: left;
  }

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

  .editorial-closing-section {
    grid-template-columns: 1fr;
  }

  .closing-photo-side {
    min-height: 650px;
  }

  .closing-photo-overlay {
    background:
      linear-gradient(
        180deg,
        transparent 65%,
        rgba(247, 243, 234, 0.55)
      );
  }

  .closing-content-side {
    min-height: 700px;
  }
}


/* =========================
   RESPONSIVE — MOBILE
========================= */

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

  .opening-screen {
    display: block;

    padding: 14px;
  }

  .editorial-cover {
    margin: 0 auto;
  }

  .cover-image-panel {
    min-height: 370px;
  }

  .cover-content-panel {
    min-height: 600px;
    padding: 65px 25px 40px;
  }

  .cover-top-line {
    right: 20px;
    left: 20px;
  }

  .cover-content-panel h1 {
    font-size: 2.4rem;
  }

  .cover-couple-names {
    font-size: 3rem;
  }

  .editorial-hero {
    min-height: auto;
    padding: 22px 15px 0;
  }

  .hero-top-navigation {
    grid-template-columns: 1fr auto;
  }

  .hero-top-navigation span {
    display: none;
  }

  .hero-photo-frame {
    min-height: 570px;
  }

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

  .hero-bottom-strip {
    right: 15px;
    left: 15px;
  }

  .hero-bottom-strip p:last-child {
    display: none;
  }

  .editorial-quote-section,
  .event-editorial-section,
  .editorial-countdown-section,
  .editorial-gallery-section,
  .editorial-timeline-section,
  .editorial-rsvp-section,
  .editorial-action-section {
    padding: 85px 0;
  }

  .quote-side-number {
    font-size: 15rem;
  }

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

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

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

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

  .heading-content h2,
  .timeline-introduction h2,
  .countdown-title h2,
  .rsvp-editorial-intro h2 {
    font-size: 2.8rem;
  }

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

  .event-date-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .event-image-card {
    min-height: 480px;
  }

  .large-date-number {
    font-size: 7rem;
  }

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

  .countdown-item:nth-child(2)::after {
    display: none;
  }

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

  .editorial-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-image-panel {
    min-height: 470px;
  }

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

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

  .rsvp-form {
    padding: 7px;
  }

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

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

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

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

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

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

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

  .closing-photo-side {
    min-height: 520px;
  }

  .closing-content-side {
    min-height: 650px;
    padding: 65px 25px;
  }

  .closing-content-side h2 {
    font-size: 4.5rem;
  }
}


/* =========================
   VERY SMALL MOBILE
========================= */

@media (max-width: 390px) {
  .cover-content-panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .cover-content-panel h1 {
    font-size: 2.1rem;
  }

  .cover-couple-names {
    font-size: 2.7rem;
  }

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

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

  .hero-bottom-strip {
    justify-content: center;
  }

  .hero-bottom-strip p {
    display: none;
  }

  .quote-main-column blockquote {
    font-size: 2.35rem;
  }

  .editorial-countdown-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .editorial-palette {
    gap: 14px;
  }

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


/* =========================
   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-003 IVORY EDITORIAL */
.editorial-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, 330px) !important;
  gap: 15px !important;
}
.editorial-gallery-grid .gallery-item { min-height: 0 !important; height: auto !important; }
.editorial-gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.editorial-gallery-grid .gallery-item:nth-child(2) { grid-column: 6 / 10; grid-row: 1; }
.editorial-gallery-grid .gallery-item:nth-child(3) { grid-column: 10 / 13; grid-row: 1; }
.editorial-gallery-grid .gallery-item:nth-child(4) { grid-column: 6 / 13; grid-row: 2; }
.editorial-gallery-grid .gallery-item img { height: 100% !important; object-fit: cover !important; }
@media (max-width: 680px) {
  .editorial-gallery-section { padding: 78px 0 !important; overflow: hidden; }
  .editorial-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: 350px 190px 230px !important; gap: 9px !important; }
  .editorial-gallery-grid .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .editorial-gallery-grid .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .editorial-gallery-grid .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .editorial-gallery-grid .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
}

