:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #4f4f4f;
  --line: #111111;
  --panel: #ffffff;
  --soft: #f3f3f3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Helvetica, Arial, sans-serif;
}

button, input, textarea { font: inherit; }
strong { font-weight: 700; }
a { color: inherit; }


.outline-50th {
  color: #ffffff;
  -webkit-text-stroke: 2px #111111;
  text-stroke: 2px #111111;
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #111111,
     1px -1px 0 #111111,
    -1px  1px 0 #111111,
     1px  1px 0 #111111,
     2px  0 0 #111111,
    -2px  0 0 #111111,
     0  2px 0 #111111,
     0 -2px 0 #111111;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.hero-block,
.content-grid,
.rsvp-section {
  border-top: 2px solid var(--line);
}

.hero-block {
  padding: 24px 0 26px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  z-index: 3;
  margin: 0 0 -24px;
  max-width: 9ch;
  font-size: clamp(3.8rem, 11vw, 8.7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.video-section {
  padding: 0;
}

.video-wrap {
  position: relative;
  background: #000;
  margin-top: 0;
}

.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.replay-link {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.92rem;
  cursor: pointer;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-meta p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.venue-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.info-panel {
  padding: 26px 24px 30px 0;
  border-right: 1px solid var(--line);
}

.info-panel:last-child {
  border-right: 0;
  padding-left: 24px;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.info-panel p {
  max-width: 38ch;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.rsvp-section {
  padding: 26px 0 0;
}

form {
  display: grid;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 16px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-weight: 700;
}

label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 14px;
  background: var(--bg);
  color: var(--text);
  outline: none;
}

textarea { resize: vertical; }
input::placeholder,
textarea::placeholder { color: #8d8d8d; }

input:focus,
textarea:focus {
  background: var(--soft);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 180px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

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

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-message.success { color: #1c6b35; }
.form-message.error { color: #9e1e1e; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 22px, 760px);
    padding-top: 14px;
  }

  .hero-block { padding-top: 18px; }

  .hero-meta,
  .content-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 8px;
  }

  .content-grid {
    border-top: 2px solid var(--line);
  }

  .info-panel,
  .info-panel:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-panel:last-child {
    border-bottom: 0;
  }

  h1 {
    margin-bottom: -12px;
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .replay-link {
    right: 12px;
    bottom: 10px;
    font-size: 0.86rem;
  }
}
