@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

:root {
  --sand: #f5f1ea;
  --deep: #0e2a26;
  --ink: #142420;
  --lede: #31423c;
  --kicker: #3d4f48;
  --line: rgba(14, 42, 38, 0.16);
  --orange: #febd59;
  --footer-meta: #d5ddd8;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 430;
  border-top: 4px solid var(--orange);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--deep); }

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--deep);
  color: var(--sand);
  padding: 0.7rem 1rem;
  z-index: 5;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  transform: none;
  top: 0.75rem;
}

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

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

header { border-bottom: 1px solid var(--line); }
.bar {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.logo, .foot-logo { flex: 0 0 auto; width: auto; max-width: none; }
.logo { height: 40px; width: calc(40px * 1524 / 609); }
.bar a, footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.98rem;
  font-weight: 580;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.bar a { color: var(--deep); }
.bar a:hover, footer a:hover { text-decoration-thickness: 2px; }

main {
  flex: 1 0 auto;
  padding: 3.25rem 0 4.25rem;
}
.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  color: var(--kicker);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
h1 {
  margin: 0;
  max-width: 9em;
  color: var(--deep);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.15rem, 8vw, 6.15rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
}
h1 em { font-style: italic; font-weight: 500; }
.lede {
  max-width: 36rem;
  margin-top: 1.6rem;
  color: var(--lede);
  font-size: 1.125rem;
  line-height: 1.65;
}
.actions { margin: 2rem 0 0; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  background: var(--deep);
  color: var(--sand);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background-color 150ms ease;
}
.cta svg { flex: none; }
.cta:hover { background: #183833; text-decoration: none; }
.cta:active { background: #0a1f1c; }

.invite {
  margin-top: 4.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
}
.invite h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.invite p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

footer {
  background: var(--deep);
  color: var(--sand);
}
.foot {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}
.foot-brand { display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap; }
.foot-logo { height: 36px; width: calc(36px * 1524 / 609); }
.foot-brand p {
  margin: 0;
  color: var(--footer-meta);
  font-size: 0.95rem;
}
footer a { color: var(--sand); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid CanvasText;
  outline-offset: 3px;
}
@media not (forced-colors: active) {
  :focus-visible {
    outline: 3px solid var(--deep);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--sand);
  }
  footer :focus-visible,
  .skip:focus-visible {
    outline-color: var(--sand);
    box-shadow: 0 0 0 6px var(--deep);
  }
}

@media (min-width: 720px) {
  .wrap { padding-left: 2.5rem; padding-right: 2.5rem; }
  .logo { height: 46px; width: calc(46px * 1524 / 609); }
  main { padding: 5.25rem 0 5.75rem; }
  .lede { font-size: 1.2rem; }
  .invite {
    max-width: none;
    margin-top: 5rem;
    padding-top: 2rem;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 3rem;
    align-items: baseline;
  }
  .invite h2 { font-size: 2rem; }
}
@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 40rem) minmax(9rem, 1fr);
    column-gap: 3rem;
    align-items: center;
  }
  .hero::after {
    content: "";
    width: min(100%, 320px);
    aspect-ratio: 1;
    justify-self: end;
    border-radius: 50%;
    background: var(--orange);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  body { background: #fff; color: #000; border: 0; }
  footer { background: #fff; color: #000; }
  .foot-logo { display: none; }
  .foot-brand p, footer a, .bar a { color: #000; }
  .cta { color: #000; background: #fff; border: 1px solid #000; }
  .hero::after, .dot { display: none; }
}
