@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;500;600;700;800;900&display=swap");

:root {
  --ivory: #fbf8f1;
  --paper: #fffdf8;
  --ink: #231915;
  --muted: #756a64;
  --wine: #741126;
  --wine-dark: #4b0715;
  --gold: #c8943c;
  --line: #decaa4;
  --shadow: 0 24px 70px rgba(55, 25, 18, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  height: 82px;
  position: relative;
  z-index: 30;
  background: rgba(251, 248, 241, 0.96);
  border-bottom: 1px solid rgba(83, 58, 48, 0.12);
  backdrop-filter: blur(16px);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__symbol {
  width: 38px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid var(--gold);
  border-radius: 18px 18px 5px 5px;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #4f423c;
  font-size: 0.94rem;
}

.nav a {
  position: relative;
  padding-block: 28px;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 19px;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.nav a:hover::after { transform: scaleX(1); }

.header__cta {
  justify-self: end;
  padding: 10px 18px;
  color: var(--wine);
  border: 1px solid var(--wine);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.header__cta:hover {
  color: #fff;
  background: var(--wine);
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border-bottom: 1px solid rgba(83, 58, 48, 0.12);
}

.hero__media {
  min-height: 640px;
  position: relative;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(35, 15, 8, 0.22));
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-image 1.2s cubic-bezier(.22,.72,.2,1) both;
}

.hero__copy {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 72px clamp(40px, 7vw, 120px);
  text-align: center;
  animation: hero-copy 850ms 120ms cubic-bezier(.22,.72,.2,1) both;
}

.hero h1 {
  margin: 0;
  max-width: 630px;
  font-size: clamp(3rem, 5.4vw, 6.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero__copy > p {
  margin: 18px 0 0;
  color: #5f514a;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.ornament {
  width: min(260px, 80%);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--gold);
  font-size: 0.7rem;
}

.ornament span {
  height: 1px;
  flex: 1;
  background: var(--gold);
}

.hero__actions,
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 26px;
  border: 1px solid;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(78, 9, 24, 0.16);
}

.button--primary {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.button--outline {
  color: var(--wine);
  border-color: var(--gold);
  background: transparent;
}

.button--outline:hover {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.date-ticket {
  width: 280px;
  position: absolute;
  z-index: 3;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  padding: 28px;
  text-align: center;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(200, 148, 60, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: ticket-in 900ms 400ms cubic-bezier(.22,.72,.2,1) both;
}

.date-ticket::before,
.date-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 44px;
  background: #1d130e;
  border-radius: 50%;
  transform: translateY(-50%);
}

.date-ticket::before { right: -12px; }
.date-ticket::after { left: -12px; }

.date-ticket span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.date-ticket strong {
  display: block;
  margin: 12px 0;
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.date-ticket i {
  width: 70%;
  height: 1px;
  display: block;
  margin: 0 auto 14px;
  background: var(--line);
}

.date-ticket p {
  margin: 0;
  font-size: 0.92rem;
}

.date-ticket a {
  display: inline-block;
  margin-top: 18px;
  color: var(--wine);
  font-size: 0.9rem;
  font-weight: 700;
}

.ticker {
  height: 82px;
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid rgba(83, 58, 48, 0.12);
}

.ticker__label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: var(--wine);
  font-weight: 700;
}

.ticker__label span { color: #e9b85a; }
.ticker__viewport { overflow: hidden; }

.ticker__track {
  width: max-content;
  height: 100%;
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__track a {
  width: 190px;
  display: grid;
  place-content: center;
  text-align: center;
  border-left: 1px solid rgba(83, 58, 48, 0.12);
  transition: color 160ms ease, background 160ms ease;
}

.ticker__track a:hover {
  color: var(--wine);
  background: #f6ecdf;
}

.ticker__track strong {
  font-family: Georgia, serif;
  font-size: 1rem;
}

.ticker__track span {
  color: var(--muted);
  font-size: 0.78rem;
}

.ticker__empty {
  min-width: 280px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.home-banner {
  background: var(--wine);
  color: #fff;
}

.home-banner__inner {
  min-height: 142px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.home-banner__inner span {
  color: #e8bd6b;
  font-weight: 800;
}

.home-banner__inner strong {
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  line-height: 1.1;
}

.home-banner__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.home-banner__inner a {
  padding-bottom: 5px;
  border-bottom: 1px solid #e8bd6b;
  font-weight: 800;
}

.section { padding: 112px 0; }

.process {
  background:
    linear-gradient(rgba(251, 248, 241, 0.95), rgba(251, 248, 241, 0.95)),
    url("../images/wedding-hero-v2.png") center 44% / cover;
}

.process__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.process__title {
  padding-inline-start: 50px;
  border-inline-start: 1px solid var(--gold);
}

.process__eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.process h2,
.section-title h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.process__title p {
  margin: 16px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.65;
}

.process__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.process__cta span {
  color: var(--gold);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 84px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child { border-top: 1px solid var(--line); }

.steps span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2.4rem;
}

.steps strong {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
}

.dates { background: var(--paper); }

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-title a {
  color: var(--wine);
  font-weight: 700;
}

.date-list { border-top: 1px solid var(--line); }

.date-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.8fr 1.4fr 44px;
  gap: 22px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.date-row:hover {
  padding-inline: 34px 14px;
  background: #f7ecdf;
}

.date-row__number {
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.date-row > span:not(.date-row__number) { color: var(--muted); }
.date-row strong { font-weight: 600; }
.date-row i { color: var(--gold); font-size: 1.5rem; font-style: normal; }

.home-empty {
  display: grid;
  gap: 6px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.home-empty strong {
  font-size: 1.25rem;
}

.home-empty span {
  color: var(--muted);
}

.closing {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--wine-dark);
}

.closing::before,
.closing::after {
  content: "❦";
  position: absolute;
  bottom: -45px;
  color: rgba(200, 148, 60, 0.22);
  font-family: Georgia, serif;
  font-size: 12rem;
}

.closing::before { right: 3%; }
.closing::after { left: 3%; transform: scaleX(-1); }

.closing__inner {
  min-height: 390px;
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.closing p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}

.button--gold {
  color: #2b190d;
  background: #e3b45c;
  border-color: #e3b45c;
}

.button--dark-outline {
  color: #fff;
  border-color: rgba(227, 180, 92, 0.8);
}

.footer {
  padding: 30px 0;
  background: #1e1512;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer .brand { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(.22,.72,.2,1);
}

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

@keyframes hero-image {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-copy {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ticket-in {
  from { opacity: 0; transform: translate(-34px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes ticker {
  to { transform: translateX(50%); }
}

@media (max-width: 980px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__copy {
    min-height: 540px;
    grid-row: 1;
    padding: 70px 28px;
  }

  .hero__media { min-height: 520px; }
  .hero__media::after { background: linear-gradient(180deg, transparent 62%, rgba(35, 15, 8, 0.3)); }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .process__title {
    padding-inline-start: 28px;
  }

  .date-row {
    grid-template-columns: 1fr 0.65fr 0.8fr 44px;
  }

  .date-row strong { display: none; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header { height: 70px; }
  .header__cta { display: none; }

  .hero__copy {
    min-height: 455px;
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: -0.065em;
  }

  .hero__actions,
  .closing__actions {
    width: 100%;
    display: grid;
  }

  .button { width: 100%; }
  .hero__media { min-height: 430px; }

  .date-ticket {
    width: min(260px, calc(100% - 52px));
    left: 50%;
    top: auto;
    bottom: 24px;
    transform: translateX(-50%);
    padding: 22px;
    animation: none;
  }

  .ticker {
    height: 72px;
    grid-template-columns: 138px minmax(0, 1fr);
  }

  .ticker__label {
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .ticker__track a { width: 150px; }
  .ticker__empty { min-width: 210px; }
  .section { padding: 78px 0; }

  .home-banner__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 24px;
  }

  .process h2,
  .section-title h2,
  .closing h2 {
    font-size: 2.55rem;
  }

  .section-title {
    display: grid;
    margin-bottom: 28px;
  }

  .steps li {
    grid-template-columns: 50px 1fr;
  }

  .date-row {
    min-height: 86px;
    grid-template-columns: 1.25fr 0.8fr 34px;
    gap: 10px;
    padding: 14px 8px;
  }

  .date-row:hover { padding-inline: 12px 4px; }
  .date-row > span:nth-child(2) { display: none; }
  .date-row__number { font-size: 1.2rem; }

  .closing__inner {
    min-height: 430px;
    padding-block: 70px;
  }

  .footer .shell {
    flex-direction: column;
    text-align: center;
  }
}

@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;
  }
}

body.home {
  background: var(--ivory);
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
}

body.home .wdm-header {
  height: 82px;
  position: relative;
  background: rgba(251, 248, 241, 0.96);
  color: var(--ink);
  border-bottom: 1px solid rgba(83, 58, 48, 0.12);
  box-shadow: none;
}

body.home .wdm-header::after { display: none; }

body.home .wdm-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

body.home .wdm-brand {
  color: var(--ink);
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
  font-weight: 800;
}

body.home .wdm-brand__mark {
  width: 38px;
  height: 44px;
  color: var(--wine);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 18px 18px 5px 5px;
  box-shadow: none;
}

body.home .wdm-nav ul {
  gap: 30px;
  color: #4f423c;
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
  font-size: 0.94rem;
}

body.home .wdm-nav a { padding-block: 28px; }
body.home .wdm-nav a::after { background: var(--wine); }

body.home .wdm-header__actions {
  justify-self: end;
}

body.home .wdm-header__login { display: none; }

body.home .wdm-header__cta {
  color: var(--wine);
  background: transparent;
  border: 1px solid var(--wine);
  box-shadow: none;
}

body.home .wdm-header__cta:hover {
  color: #fff;
  background: var(--wine);
}

body.home .wdm-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.66);
  background: #1e1512;
}

body.home .wdm-footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.home .wdm-footer p {
  max-width: 720px;
  font-size: 0.82rem;
}

body.home .wdm-footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 920px) {
  body.home .wdm-header {
    height: 70px;
  }

  body.home .wdm-header__inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  body.home .wdm-header__actions {
    display: none;
  }

  body.home .wdm-header.is-open .wdm-nav {
    inset: 70px 0 auto;
    background: var(--ivory);
  }
}
