:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #041243;
  background: #e8f7ff;
  line-height: 1.5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #0756a3;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
header,
main,
footer {
  max-width: 1320px;
  margin: auto;
}
header {
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: block;
  flex-shrink: 0;
  width: 216px;
}
.brand-artwork {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 490 / 104;
}
.brand-artwork img {
  position: absolute;
  max-width: none;
  width: 341.22449%;
  height: auto;
  left: -119.387755%;
  top: -96.153846%;
}
.pill {
  font-size: 10px;
  letter-spacing: 1.7px;
  border: 1px solid #b5d8e7;
  padding: 8px 13px;
  border-radius: 100px;
  font-weight: 700;
}
.hero {
  padding: 40px 48px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #0756a3;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -2.7px;
  margin: 0 0 28px;
  font-weight: 800;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #0875b6;
  letter-spacing: -2px;
}
.lede {
  font-size: 18px;
  line-height: 1.8;
  max-width: 500px;
  color: #334969;
}
.invitation {
  font-size: 16px;
  color: #334969;
  margin: 20px 0 30px;
}
.event-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.event-tags span {
  font-size: 11px;
  border: 1px solid #b5d8e7;
  border-radius: 30px;
  padding: 7px 13px;
}
.signup-card {
  background: white;
  border: 1px solid #d5e6ec;
  border-radius: 22px;
  padding: 30px 32px;
  box-shadow: 0 18px 60px #08496b0c;
}
.signup-card .eyebrow {
  margin-bottom: 8px;
}
.signup-card h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.card-intro {
  font-size: 14px;
  color: #53627b;
  margin: 0 0 24px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 7px;
}
label > span:not(.check span) {
  font-weight: 400;
  color: #53627b;
}
input:not([type="checkbox"]),
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #aabacb;
  border-radius: 7px;
  color: #041243;
  background: #fff;
  font-size: 16px;
}
input::placeholder {
  color: #64748b;
}
.optional-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 17px 0 22px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  margin: 13px 0;
}
.check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #0756a3;
  margin: 1px 0;
}
.privacy-note,
.fine-print {
  font-size: 11px;
  color: #53627b;
  line-height: 1.6;
}
.privacy-note {
  margin: 15px 0;
}
button {
  border: 0;
  border-radius: 8px;
  background: #071b4d;
  color: white;
  width: 100%;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
button:hover {
  background: #0756a3;
}
button[hidden] {
  display: none;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #0885bd;
  outline-offset: 4px;
}
.fine-print {
  margin: 12px 0 0;
}
#status:not(:empty) {
  margin-top: 18px;
  border-left: 3px solid #0875b6;
  padding: 8px 12px;
  font-size: 14px;
  background: #eff9ff;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 3;
}
.skip:focus {
  top: 12px;
}
.moments {
  padding: 42px 48px 50px;
  border-top: 1px solid #c9e2ec;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font:
    normal 30px Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 0;
}
.section-heading p {
  font-size: 13px;
  color: #53627b;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.photo-grid figure {
  margin: 0;
}
.photo-grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: #d4e9f1;
  color: #334969;
}
.photo-grid figure:nth-child(3) img {
  object-position: 50% 60%;
}
figcaption {
  font-weight: 600;
  font-size: 13px;
  margin-top: 12px;
}
.photo-note {
  font-size: 10px;
  color: #53627b;
  margin-top: 24px;
}
footer {
  border-top: 1px solid #c9e2ec;
  padding: 26px 48px 32px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  font-size: 11px;
  color: #53627b;
}
.brand-footer {
  font-size: 15px;
  color: #041243;
  font-weight: 700;
}
.brand-footer span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
}
footer nav {
  display: flex;
  gap: 18px;
}
.token-card {
  max-width: 540px;
  margin: 12vh auto;
  padding: 32px;
  background: white;
  border-radius: 20px;
}
.token-card h1 {
  font-size: 36px;
  letter-spacing: -1px;
}
.token-card button {
  margin: 25px 0;
}
.token-card p {
  font-size: 15px;
}
@media (max-width: 900px) {
  header {
    padding: 24px;
  }
  .hero {
    padding: 24px 24px 40px;
    gap: 30px;
  }
  h1 {
    font-size: 44px;
  }
  .signup-card {
    padding: 25px;
  }
  .moments {
    padding: 32px 24px;
  }
  .photo-grid {
    gap: 14px;
  }
  .photo-grid img {
    height: 170px;
  }
  footer {
    padding: 24px;
    flex-wrap: wrap;
  }
}
@media (max-width: 680px) {
  header {
    padding: 22px 20px;
  }
  .pill {
    font-size: 8px;
  }
  .brand {
    width: 168px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 22px 20px 36px;
    gap: 30px;
  }
  .intro {
    max-width: 500px;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2px;
    margin-bottom: 22px;
  }
  h1 em {
    letter-spacing: -1.5px;
  }
  .lede {
    font-size: 16px;
  }
  .invitation {
    margin-bottom: 20px;
  }
  .signup-card {
    padding: 25px 22px;
    border-radius: 16px;
  }
  .optional-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid img {
    height: 230px;
  }
  .photo-grid figure {
    margin-bottom: 14px;
  }
  .moments {
    padding: 30px 20px;
  }
  .token-card {
    margin: 40px 20px;
  }
  footer {
    display: block;
    padding: 25px 20px;
  }
  footer nav {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.photo-grid figure,
.hero > * {
  min-width: 0;
}
.photo-grid img {
  max-width: 100%;
  overflow: hidden;
}
.photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 680px) {
  .photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.photo-grid img {
  height: 280px;
}
@media (max-width: 680px) {
  .photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .photo-grid img {
    height: 230px;
  }
}
