:root {
  color-scheme: light;
  --ink: #17313a;
  --muted: #5e7380;
  --line: rgba(23, 49, 58, 0.14);
  --paper: #fffaf1;
  --foam: #eff9f7;
  --aqua: #44b8c7;
  --coral: #f06e5f;
  --sun: #f5c75e;
  --shadow: 0 24px 70px rgba(24, 50, 60, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.94em;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: linear-gradient(to bottom, rgba(6, 33, 43, 0.72), rgba(6, 33, 43, 0));
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.hero {
  position: relative;
  min-height: min(780px, 92svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 33, 42, 0.74), rgba(7, 33, 42, 0.24) 58%, rgba(7, 33, 42, 0.08)),
    linear-gradient(0deg, rgba(255, 250, 241, 1), rgba(255, 250, 241, 0) 36%);
}

.hero__content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 128px 0 120px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 150px);
  font-weight: 500;
  line-height: 0.86;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.6vw, 26px);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 14px 34px rgba(24, 50, 60, 0.16);
}

.button--primary {
  color: #ffffff;
  background: var(--coral);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section__inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section--intro {
  background: linear-gradient(180deg, var(--paper), var(--foam));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(36px, 8vw, 92px);
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 420px;
}

.image-stack img {
  position: absolute;
  filter: drop-shadow(0 28px 42px rgba(24, 50, 60, 0.18));
}

.image-stack__letter {
  right: 8%;
  bottom: 0;
  width: min(74%, 360px);
  transform: rotate(8deg);
}

.image-stack__bottle {
  left: 10%;
  top: 8%;
  width: min(34%, 150px);
  transform: rotate(-11deg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.step {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.step__number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--aqua);
  font-weight: 900;
}

.section--contact {
  background: #12343d;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(23, 49, 58, 0.72);
  font-size: 14px;
}

.invite-page {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.5), rgba(255, 250, 241, 0.98)),
    url("./assets/bottlewish-hero.png") center / cover fixed;
}

.invite-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.invite-card {
  width: min(560px, 100%);
  padding: clamp(30px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.invite-card p {
  margin-right: auto;
  margin-left: auto;
}

.invite-card .button {
  width: 100%;
  margin-top: 12px;
}

.invite-card .button--secondary {
  border-color: var(--line);
}

.invite-card__bottle {
  width: 74px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 26px rgba(24, 50, 60, 0.18));
}

@media (max-width: 800px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__content {
    padding-bottom: 92px;
  }

  .split,
  .steps {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: 330px;
  }

  .step {
    min-height: 0;
  }

  .contact-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
