/* Hallmark · page: landing · genre: editorial · theme: dark */
@font-face {
  font-family: "Roboto Slab";
  src: url("/assets/roboto-slab-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --coal: #242522;
  --gold: #b39154;
  --ivory: #f5f0e7;
  --clay: #a85037;
  --quiet: #c9c2b5;
  --line: #6a5942;
  --ink: #1b1b18;
  --heading: "Roboto Slab", Rockwell, Georgia, serif;
  --body: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; color: var(--ivory); background: var(--coal); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }

.masthead {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
}
.brand { display: block; width: min(50vw, 15rem); }
.masthead .brand { flex-shrink: 1; min-width: 0; }
.masthead-place {
  display: grid;
  gap: .2rem;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-size: .79rem;
  line-height: 1.32;
}
address { font-style: normal; }
.location, .kicker {
  color: var(--quiet);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.kicker { color: var(--gold); margin: 0 0 .75rem; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.12; }
h1 {
  font-size: clamp(3.25rem, 7.3vw, 7rem);
  font-weight: 900;
  letter-spacing: -.068em;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
h1 span { color: var(--gold); }
.offer { font-size: clamp(1.08rem, 2.25vw, 1.45rem); font-weight: 700; margin: 1rem 0 .4rem; max-width: 31rem; }
.note { color: var(--quiet); margin: 0 0 1.5rem; max-width: 31rem; }
.signup {
  color-scheme: light;
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(1rem, 3vw, 1.5rem);
  border-top: 4px solid var(--clay);
  max-width: 30rem;
}
.email-label { display: block; margin-bottom: .36rem; font-weight: 750; }
.signup input[type="email"] {
  width: 100%;
  min-height: 3.1rem;
  padding: .6rem .75rem;
  margin: 0 0 .7rem;
  background: #fffaf1;
  color: var(--ink);
  border: 1px solid #7d7162;
  border-radius: 0;
}
.check { display: flex; align-items: start; gap: .65rem; color: var(--ink); font-size: .9rem; cursor: pointer; padding-block: .42rem; }
.check input { flex: none; accent-color: var(--clay); width: 1.1rem; height: 1.1rem; margin: .12rem 0 0; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
button {
  border: 0;
  min-height: 3.15rem;
  padding: .6rem .9rem;
  color: white;
  background: #863d2a;
  font-weight: 770;
  cursor: pointer;
}
button:hover { background: #6f321f; }
button:disabled { cursor: wait; background: #645d52; }
.signup button { display: flex; justify-content: space-between; gap: .5rem; align-items: center; width: 100%; margin-top: .75rem; white-space: nowrap; }
.fine-print { margin: .75rem 0 0; font-size: .77rem; color: #52483d; }
.fine-print a { margin-inline-start: .24rem; }
.form-result { padding-top: .62rem; margin: .7rem 0 0; font-size: .92rem; border-top: 1px solid #a89579; }
.form-result[data-state="error"] { color: #863d2a; }

.hero-figure { margin: 0; min-width: 0; }
.photo {
  aspect-ratio: 750 / 457;
  position: relative;
  overflow: hidden;
  outline: 1px solid var(--gold);
  outline-offset: 6px;
  background: var(--ink);
}
.photo img {
  position: absolute;
  width: 149.6%;
  max-width: none;
  height: auto;
  left: -24.8%;
  top: -74.8%;
}
.hero-figure figcaption { margin-top: 1.35rem; font: 700 1rem/1.4 var(--heading); color: var(--quiet); }
.instructions { background: var(--ivory); color: var(--ink); padding-block: 2.2rem; }
.instruction-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.instruction-grid div { border-left: 1px solid #a89579; padding-left: 1rem; }
.instruction-grid h2 { margin: 0; font-size: 1.5rem; }
.instruction-grid h3 { margin: 0 0 .28rem; font-size: 1rem; }
.instruction-grid p { margin: 0; color: #51473d; font-size: .87rem; }
.invite {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 2rem;
  padding-block: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.invite h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.invite p { margin: .35rem 0 0; color: var(--quiet); }
.invite-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.invite-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .52rem .85rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.invite-action:hover { background: var(--ivory); }
.invite-copy { background: transparent; color: var(--ivory); }
.invite-copy:hover { background: var(--ink); }
.invite [hidden] { display: none; }
.invite .share-status { font-size: .86rem; }
.invite .share-status:empty { margin: 0; }
.manual-copy { margin-top: .45rem; font-size: .85rem; }
.manual-copy input {
  display: block;
  width: 100%;
  margin-top: .25rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--ivory);
}
.footer { display: flex; gap: .7rem 1.5rem; flex-wrap: wrap; justify-content: space-between; color: var(--quiet); font-size: .8rem; padding-block: 1.5rem; }
.footer address { margin-top: .2rem; }
.message { width: min(100% - 2.5rem, 35rem); margin: 3.5rem auto; }
.message h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.035em; margin-top: 2rem; }
.message p { max-width: 55ch; }

@media (max-width: 800px) {
  .wrap { width: min(100% - 2.25rem, 34rem); }
  .masthead { min-height: 4.8rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2rem; }
  .hero-figure { margin: .25rem 6px 0; }
  .signup { max-width: none; }
  .instruction-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .instruction-grid div { padding-left: .85rem; }
  .invite { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 375px) {
  .wrap { width: calc(100% - 1.75rem); }
  .location { font-size: .57rem; }
  .masthead-place { font-size: .71rem; }
  h1 { font-size: 2.95rem; }
  .signup button { font-size: .88rem; }
}
