@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");
}

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

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/outfit-300.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/outfit-500.woff2") format("woff2");
}

:root {
  --ink: #07090f;
  --navy: #101624;
  --gold: #c6a36a;
  --gold-soft: rgba(198, 163, 106, 0.45);
  --champagne: #f3ead8;
  --cream: #f7f3ea;
  --muted: #c9c2b6;
  --faint: #9c958a;
  --line: rgba(198, 163, 106, 0.32);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 4.5rem;
  --measure: 38rem;
  --page: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(198, 163, 106, 0.08), transparent 55%),
    var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #1a140c;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--champagne);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.55rem 1.15rem;
  background: #07090f;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.crest {
  width: 46px;
  height: auto;
  flex: none;
}

.brand-text,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.18rem;
}

.brand-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--champagne);
}

.nav {
  position: relative;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.2rem;
  list-style: none;
  cursor: pointer;
  color: var(--champagne);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--champagne);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav[open] .nav-toggle-bars {
  background: transparent;
}

.nav[open] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(40deg);
}

.nav[open] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-40deg);
}

.nav nav {
  display: none;
}

.nav[open] nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 9;
  inset: var(--header) 0 0 0;
  padding: 1.5rem 1.4rem 2rem;
  background: #07090f;
  gap: 0.25rem;
}

.nav nav a {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker span {
  border-top: 1px solid var(--gold);
  padding-top: 0.7rem;
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 4.8rem);
  line-height: 0.96;
}

h1 .line {
  display: block;
}

h1 .quiet {
  font-style: italic;
  font-weight: 500;
  color: var(--champagne);
}

h1 .quiet::before {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0.9rem 0 0.85rem;
  background: var(--gold);
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

.lede,
.section p,
.invitation p,
.contact-lead {
  color: var(--muted);
  max-width: var(--measure);
}

.hero {
  display: flex;
  flex-direction: column;
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: 46vw;
  max-height: 420px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: cover;
  object-position: center 35%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 9, 15, 0.55), transparent 42%);
  pointer-events: none;
}

.hero-copy {
  padding: 2.2rem 1.25rem 2.8rem;
}

.lede {
  margin-top: 1.25rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold);
  color: #1a140c;
}

.btn-primary:hover {
  background: var(--champagne);
}

.btn-ghost {
  border: 1px solid var(--gold-soft);
  color: var(--champagne);
}

.btn-ghost:hover {
  border-color: var(--champagne);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band {
  padding: 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.band p {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--champagne);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.35;
}

.section {
  padding: 4.2rem 1.25rem;
}

.section-head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.phone-still,
.still {
  margin: 0;
}

.phone-still img,
.still img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.phone-still img {
  aspect-ratio: 4 / 5;
  object-position: center;
  background: #1a1c20;
}

.still {
  margin: 0 0 2.2rem;
}

.still img {
  aspect-ratio: 16 / 10;
  object-position: center 45%;
}

figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.services li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.8rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.services p {
  margin: 0;
  color: var(--muted);
}

.index {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
  padding-top: 0.35rem;
}

.invitation {
  position: relative;
  isolation: isolate;
  padding: 4.4rem 1.25rem;
}

.invitation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/gold.jpg") center / cover no-repeat;
}

.invitation::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.86) 48%, rgba(12, 16, 24, 0.68) 100%);
}

.invitation-grid {
  display: grid;
  gap: 2rem;
}

.invite-card {
  border: 1px solid var(--gold-soft);
  background: rgba(7, 9, 15, 0.72);
  padding: 1.6rem 1.4rem 1.4rem;
  max-width: 24rem;
}

.invite-card .crest {
  width: 92px;
  margin-bottom: 1.1rem;
}

.invite-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.invite-mark {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
  color: var(--cream);
}

.invite-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding-bottom: 5rem;
}

.email {
  display: inline-block;
  margin: 0.4rem 0 1.3rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--champagne);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}

.email:hover {
  color: var(--cream);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.contact-list li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  max-width: 28rem;
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: grid;
  gap: 1.25rem;
  padding: 1.6rem 1.25rem 2rem;
  border-top: 1px solid var(--line);
}

.footer-brand .crest {
  width: 58px;
}

.disclaimer,
.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.disclaimer {
  max-width: 36rem;
}

@media (min-width: 800px) {
  .site-header {
    padding: 0.6rem 2.2rem;
  }

  .crest {
    width: 54px;
  }

  .nav {
    flex: none;
    width: max-content;
  }

  .nav-toggle {
    display: none;
  }

  body.nav-open {
    overflow: visible;
  }

  .nav nav,
  .nav[open] nav,
  details.nav:not([open]) > nav {
    display: flex;
    flex-direction: row;
    position: static;
    inset: auto;
    padding: 0;
    background: none;
    gap: 1.75rem;
  }

  .nav nav a {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
  }

  .nav nav a:hover {
    border-bottom-color: var(--gold);
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    min-height: calc(100svh - var(--header));
  }

  .hero-media,
  .hero-media img {
    max-height: none;
    min-height: 100%;
    height: 100%;
  }

  .hero-media::after {
    background:
      linear-gradient(to right, rgba(7, 9, 15, 0.45), transparent 28%),
      linear-gradient(to top, rgba(7, 9, 15, 0.25), transparent 30%);
  }

  .hero-media::before {
    content: "";
    position: absolute;
    inset: 0.85rem;
    border: 1px solid rgba(243, 234, 216, 0.35);
    z-index: 1;
    pointer-events: none;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4.5rem 3.5rem 4rem 6vw;
  }

  .section,
  .invitation,
  .band,
  .site-footer {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
    align-items: end;
    gap: 3rem;
  }

  .services li {
    grid-template-columns: 4.5rem 1fr;
    gap: 1.5rem;
    padding: 1.7rem 0;
  }

  .invitation-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    align-items: center;
    gap: 4rem;
    max-width: var(--page);
  }

  .invite-card {
    justify-self: end;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .copyright {
    text-align: right;
  }
}

@media (min-width: 1180px) {
  .hero-copy {
    padding-left: max(6vw, calc((100vw - var(--page)) / 2));
  }

  .section,
  .invitation,
  .site-footer,
  .band {
    padding-left: max(6vw, calc((100vw - var(--page)) / 2));
    padding-right: max(6vw, calc((100vw - var(--page)) / 2));
  }
}

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

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