/* eInvites marketing homepage — separate from per-event wedding themes. */
:root {
  --mk-ink: #121a27;
  --mk-ink-soft: #5c6678;
  --mk-mist: #e8edf3;
  --mk-paper: #f5f7fa;
  --mk-white: #ffffff;
  --mk-accent: #0f766e;
  --mk-accent-deep: #0b5a54;
  --mk-accent-soft: rgba(15, 118, 110, 0.12);
  --mk-line: rgba(18, 26, 39, 0.1);
  --mk-shadow: 0 18px 48px rgba(18, 26, 39, 0.1);
  --mk-font: Manrope, "Segoe UI", "Helvetica Neue", sans-serif;
  --mk-nav-h: 3.35rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mk-nav-h) + 0.75rem);
}

body.mk {
  margin: 0;
  min-height: 100vh;
  color: var(--mk-ink);
  font: 400 17px/1.55 var(--mk-font);
  background:
    radial-gradient(90% 60% at 82% -8%, rgba(15, 118, 110, 0.07), transparent 55%),
    radial-gradient(70% 50% at 8% 18%, rgba(18, 26, 39, 0.045), transparent 50%),
    linear-gradient(180deg, #fbfcfe 0%, var(--mk-paper) 48%, var(--mk-mist) 100%);
  color-scheme: light;
  overflow-x: hidden;
}

body.mk a {
  color: var(--mk-accent-deep);
}

body.mk a:hover {
  color: var(--mk-accent);
}

.mk-shell {
  position: relative;
}

/* —— Sticky primary nav —— */
.mk-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--mk-nav-h);
  padding: 0.55rem 1.25rem;
  margin: 0;
  background: rgba(18, 26, 39, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.mk-nav.is-solid {
  background: rgba(245, 247, 250, 0.94);
  border-bottom-color: var(--mk-line);
  box-shadow: 0 8px 28px rgba(18, 26, 39, 0.08);
}

.mk-nav-brand {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.mk-nav.is-solid .mk-nav-brand {
  color: var(--mk-ink);
}

.mk-nav-brand:hover {
  color: #fff;
  opacity: 0.9;
}

.mk-nav.is-solid .mk-nav-brand:hover {
  color: var(--mk-accent);
  opacity: 1;
}

.mk-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.15rem;
}

.mk-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font: 600 0.9rem/1.2 var(--mk-font);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mk-nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mk-nav.is-solid .mk-nav-links a {
  color: var(--mk-ink-soft);
}

.mk-nav.is-solid .mk-nav-links a:hover {
  background: var(--mk-accent-soft);
  color: var(--mk-accent-deep);
}

/* —— Hero (one composition, full-bleed atmosphere) —— */
.mk-hero {
  position: relative;
  min-height: min(calc(100vh - var(--mk-nav-h)), 50rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-top: calc(var(--mk-nav-h) * -1);
}

.mk-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mk-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  transition: transform 12s ease-out;
}

body.mk-hero-ready .mk-hero-media img {
  transform: scale(1);
}

.mk-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.42) 0%, rgba(12, 18, 28, 0.55) 48%, rgba(12, 18, 28, 0.8) 100%),
    linear-gradient(90deg, rgba(12, 18, 28, 0.48) 0%, transparent 55%);
}

.mk-hero-copy {
  position: relative;
  z-index: 1;
  width: min(44rem, calc(100% - 2.4rem));
  margin: 0 auto 0 0;
  padding: 7.5rem 1.4rem 3.4rem;
  max-width: 72rem;
  margin-left: max(1.2rem, calc((100% - 68rem) / 2));
}

.mk-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(3.1rem, 11vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: #fff;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.mk-hero h1 {
  margin: 0 0 0.9rem;
  max-width: 16ch;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
}

.mk-lede {
  margin: 0 0 1.55rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

.mk-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 0.98rem/1.2 var(--mk-font);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

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

.mk-btn:active {
  transform: translateY(0);
}

.mk-btn-primary {
  background: var(--mk-accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 90, 84, 0.35);
}

.mk-btn-primary:hover {
  background: var(--mk-accent-deep);
  color: #fff;
  box-shadow: 0 14px 32px rgba(11, 90, 84, 0.42);
}

.mk-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.mk-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.mk-btn-pulse {
  animation: mk-pulse 4.2s ease-in-out infinite;
}

@keyframes mk-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(11, 90, 84, 0.3); }
  50% { box-shadow: 0 12px 30px rgba(11, 90, 84, 0.42); }
}

/* —— Content sections —— */
.mk-main {
  width: min(68rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0 0 3.5rem;
}

.mk-section {
  padding: 3.4rem 0 0.6rem;
}

.mk-section + .mk-section {
  border-top: 1px solid var(--mk-line);
  margin-top: 2.2rem;
}

.mk-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mk-accent);
}

.mk-section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--mk-ink);
}

.mk-copy {
  margin: 0 0 1.4rem;
  max-width: 38rem;
  color: var(--mk-ink-soft);
}

/* Event types — uniquely themed samples */
.mk-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mk-type {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 16.5rem;
  background: var(--mk-ink);
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mk-type:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(12, 18, 28, 0.18);
}

.mk-type img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 0.85s ease, opacity 0.45s ease, filter 0.45s ease;
}

.mk-type:hover img {
  transform: scale(1.04);
  opacity: 0.8;
}

.mk-type-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 16.5rem;
  padding: 1.2rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, transparent 12%, rgba(12, 18, 28, 0.88) 100%);
}

.mk-type-sample {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.mk-type h3 {
  margin: 0 0 0.4rem;
  font-size: 1.22rem;
  font-weight: 650;
}

.mk-type p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.mk-type-body > p:last-of-type {
  margin-bottom: 0.85rem;
}

.mk-type code {
  font-size: 0.88em;
  color: rgba(255, 255, 255, 0.92);
}

.mk-type-link {
  align-self: flex-start;
  margin-top: auto;
  color: #fff;
  font: 650 0.9rem/1.2 var(--mk-font);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.1rem;
}

.mk-type-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Wedding sample — champagne / rose banquet (marketing, not floral gold guest chrome) */
.mk-type-wedding img {
  filter: saturate(0.92) contrast(1.02);
  object-position: center 40%;
}

.mk-type-wedding .mk-type-body {
  background:
    linear-gradient(180deg, transparent 8%, rgba(62, 38, 42, 0.55) 45%, rgba(42, 24, 28, 0.92) 100%);
}

.mk-type-wedding .mk-type-sample {
  color: #f0d5c8;
}

.mk-type-wedding .mk-type-link {
  border-bottom-color: rgba(240, 213, 200, 0.55);
}

/* Family sample — warm amber / clay */
.mk-type-family img {
  filter: sepia(0.18) saturate(1.05) brightness(1.02);
  object-position: center 45%;
}

.mk-type-family .mk-type-body {
  background:
    linear-gradient(180deg, transparent 8%, rgba(74, 48, 28, 0.5) 45%, rgba(48, 32, 18, 0.92) 100%);
}

.mk-type-family .mk-type-sample {
  color: #f0d7b0;
}

.mk-type-family .mk-type-link {
  border-bottom-color: rgba(240, 215, 176, 0.55);
}

/* Corporate sample — cool slate / teal */
.mk-type-corporate img {
  filter: saturate(0.75) contrast(1.05) brightness(0.95);
  object-position: center 35%;
}

.mk-type-corporate .mk-type-body {
  background:
    linear-gradient(180deg, transparent 8%, rgba(20, 42, 52, 0.55) 45%, rgba(12, 28, 36, 0.94) 100%);
}

.mk-type-corporate .mk-type-sample {
  color: #9ed8d0;
}

.mk-type-corporate .mk-type-link {
  border-bottom-color: rgba(158, 216, 208, 0.55);
}

/* Shows sample — stage spotlight / ink + copper */
.mk-type-show img {
  filter: saturate(0.9) contrast(1.06) brightness(0.92);
  object-position: center 45%;
}

.mk-type-show .mk-type-body {
  background:
    radial-gradient(90% 70% at 70% 0%, rgba(196, 112, 58, 0.28), transparent 55%),
    linear-gradient(180deg, transparent 5%, rgba(14, 14, 18, 0.7) 40%, rgba(8, 8, 12, 0.96) 100%);
}

.mk-type-show .mk-type-sample {
  color: #e8b892;
}

.mk-type-show .mk-type-link {
  border-bottom-color: rgba(232, 184, 146, 0.55);
}

.mk-type-show h3 {
  letter-spacing: 0.02em;
}

/* Features */
.mk-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.15rem 1.25rem;
}

.mk-feature {
  padding: 0.15rem 0 0.35rem;
  transition: transform 0.28s ease;
}

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

.mk-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.7rem;
  color: var(--mk-accent);
  transition: transform 0.3s ease, color 0.3s ease;
}

.mk-feature:hover .mk-icon {
  transform: translateY(-1px);
  color: var(--mk-accent-deep);
}

.mk-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mk-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--mk-ink);
}

.mk-feature p {
  margin: 0;
  color: var(--mk-ink-soft);
  font-size: 0.97rem;
}

/* How it works */
.mk-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mk-step;
  display: grid;
  gap: 0.85rem;
}

.mk-steps li {
  counter-increment: mk-step;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--mk-line);
  color: var(--mk-ink-soft);
}

.mk-steps li::before {
  content: counter(mk-step);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--mk-accent-soft);
  color: var(--mk-accent-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.mk-steps strong {
  color: var(--mk-ink);
  font-weight: 650;
}

.mk-demos {
  margin: 1.25rem 0 0;
  color: var(--mk-ink-soft);
}

/* Social proof placeholder */
.mk-proof {
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
  border: 1px dashed var(--mk-line);
  background: rgba(255, 255, 255, 0.55);
}

.mk-proof p {
  margin: 0;
  color: var(--mk-ink-soft);
  max-width: 40rem;
}

.mk-proof cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--mk-ink);
  font-size: 0.92rem;
}

/* Contact */
.mk-contact-form {
  position: relative;
  max-width: 28rem;
  margin-top: 0.35rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--mk-line);
  background: var(--mk-white);
  box-shadow: var(--mk-shadow);
}

.mk-contact-form label {
  display: block;
  margin: 0.75rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mk-ink);
}

.mk-contact-form input,
.mk-contact-form select,
.mk-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--mk-line);
  border-radius: 10px;
  background: var(--mk-paper);
  color: var(--mk-ink);
  font: 400 1rem/1.4 var(--mk-font);
}

.mk-contact-form input:focus,
.mk-contact-form select:focus,
.mk-contact-form textarea:focus {
  outline: 2px solid var(--mk-accent);
  outline-offset: 1px;
}

.mk-contact-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mk-contact-form button[type="submit"] {
  margin-top: 0.35rem;
  width: 100%;
  min-height: 2.85rem;
  border: 0;
  border-radius: 10px;
  background: var(--mk-accent);
  color: #fff;
  font: 650 1rem/1.2 var(--mk-font);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.mk-contact-form button[type="submit"]:hover {
  background: var(--mk-accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 90, 84, 0.28);
}

.mk-contact-form button[type="submit"]:active {
  transform: translateY(0);
}

.mk-contact-form button[type="submit"]:disabled {
  opacity: 0.72;
  cursor: wait;
}

.mk-notice {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  background: rgba(232, 245, 240, 0.95);
  border: 1px solid rgba(15, 118, 110, 0.28);
  color: #1d4f4a;
}

.mk-alert {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 240, 238, 0.95);
  border: 1px solid rgba(155, 61, 61, 0.28);
  color: #7a3030;
}

.mk-footer {
  width: min(68rem, calc(100% - 2.4rem));
  margin: 2.5rem auto 0;
  padding: 1.2rem 0 2.2rem;
  border-top: 1px solid var(--mk-line);
  color: var(--mk-ink-soft);
  font-size: 0.92rem;
}

.mk-footer a {
  color: var(--mk-ink-soft);
  text-decoration: none;
}

.mk-footer a:hover {
  color: var(--mk-accent);
}

/* Motions — soft fades / reveals; marketing look only (not floral event chrome) */
.mk-hero-copy > [data-reveal] {
  transition-duration: 0.85s;
}

.mk-hero-copy > [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.mk-hero-copy > [data-reveal]:nth-child(2) { transition-delay: 0.14s; }
.mk-hero-copy > [data-reveal]:nth-child(3) { transition-delay: 0.24s; }
.mk-hero-copy > [data-reveal]:nth-child(4) { transition-delay: 0.34s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--mk-reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.mk-types [data-reveal],
.mk-features [data-reveal] {
  transition-duration: 0.65s;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .mk-hero-media img,
  .mk-type img,
  .mk-feature,
  .mk-feature .mk-icon,
  .mk-btn,
  .mk-type {
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 52rem) {
  .mk-types {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .mk-nav {
    padding: 0.45rem 0.85rem;
  }

  .mk-nav-links a {
    padding: 0.3rem 0.55rem;
    font-size: 0.84rem;
  }

  .mk-hero {
    min-height: min(calc(92vh - var(--mk-nav-h)), 40rem);
  }

  .mk-hero-copy {
    padding: 5.5rem 1.15rem 2.6rem;
    margin-left: 0;
    width: 100%;
  }

  .mk-cta .mk-btn {
    width: 100%;
  }

  .mk-section {
    padding-top: 2.6rem;
  }
}
