@font-face {
  font-family: 'Laurel Serif';
  src: url('/assets/cormorant-garamond-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --ink: #343a2f;
  --olive: #515b43;
  --muted: #686a5d;
  --line: #d8d7cb;
  --serif: 'Laurel Serif', Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--olive); outline-offset: 8px; }
.masthead {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  text-align: center;
  text-decoration: none;
  font: 500 46px/.9 var(--serif);
  letter-spacing: -1.8px;
}
.wordmark span {
  display: block;
  margin-top: 14px;
  font: 400 8px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: 2.4px;
}
.introduction {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: min(760px, calc(100svh - 195px));
  max-width: 1800px;
  margin: 0 auto;
}
.invitation { display: grid; align-items: center; padding: 72px clamp(32px, 5vw, 96px); }
.invitation-inner { max-width: 440px; margin: 0 auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 1.8px;
  color: var(--olive);
}
.eyebrow span { width: 24px; height: 1px; background: var(--olive); flex-shrink: 0; }
h1 {
  margin: 0 0 28px;
  font: 400 clamp(44px, 4.3vw, 72px)/1.04 var(--serif);
  letter-spacing: -1.9px;
}
h1 em { color: var(--olive); font-weight: 400; }
.description { max-width: 350px; margin: 0 0 15px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.signature { display: flex; align-items: center; gap: 17px; margin-top: 32px; color: var(--olive); }
.sprig { width: 38px; height: 56px; flex-shrink: 0; }
.signature p { margin: 0; font: 400 20px/1.3 var(--serif); }
.signature span { font: 400 11px/2 Arial, Helvetica, sans-serif; color: var(--muted); }
.room { margin: 24px 24px 24px 0; position: relative; min-height: 590px; background: #ded7c9; }
.room img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% center; }
.room figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 1.2px;
}
.footer { display: flex; justify-content: space-between; gap: 18px; padding: 25px 4%; border-top: 1px solid var(--line); color: var(--muted); }
.footer p { margin: 0; font-size: 9px; line-height: 1.6; letter-spacing: 1.5px; }
.footer p:last-child { letter-spacing: .5px; }
.not-found { min-height: 65svh; padding: 80px 24px; text-align: center; }
.not-found .eyebrow { justify-content: center; }
.not-found .description { margin: 0 auto 28px; }
.home-link { display: inline-block; padding: 15px 25px; border: 1px solid var(--olive); font-size: 12px; text-decoration: none; }
.home-link:hover { background: var(--olive); color: var(--paper); }

@media (min-width: 1800px) { .room { margin-right: 0; } }
@media (max-width: 1050px) and (min-width: 761px) {
  .invitation { padding: 50px 32px; }
  h1 { font-size: 47px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
  .room { min-height: 630px; }
}
@media (max-width: 760px) {
  .masthead { height: 103px; }
  .wordmark { font-size: 42px; }
  .wordmark span { font-size: 7px; letter-spacing: 2px; margin-top: 12px; }
  .introduction { display: flex; flex-direction: column; min-height: auto; }
  .invitation { padding: 49px 26px 39px; text-align: center; }
  .invitation-inner { max-width: 470px; }
  .eyebrow { justify-content: center; font-size: 8px; letter-spacing: 1.5px; margin-bottom: 24px; gap: 10px; }
  .eyebrow span { width: 20px; }
  h1 { font-size: clamp(43px, 9vw, 63px); letter-spacing: -1.5px; margin-bottom: 22px; }
  .description { margin: 0 auto 13px; font-size: 12px; line-height: 1.8; max-width: 330px; }
  .signature { justify-content: center; margin-top: 24px; gap: 13px; text-align: left; }
  .signature p { font-size: 19px; }
  .signature span { font-size: 10px; }
  .sprig { width: 30px; height: 47px; }
  .room { width: calc(100% - 32px); margin: 0 16px 20px; min-height: 0; aspect-ratio: 1.1; }
  .room img { object-position: center; }
  .room figcaption { right: 10px; bottom: 10px; font-size: 6px; }
  .footer { padding: 21px 20px; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
  .footer p { font-size: 8px; letter-spacing: 1.2px; }
}
