@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Yellowtail;
  src: url("/assets/yellowtail.woff") format("woff");
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f4e6;
  --forest: #123b2e;
  --body: #344f42;
  --orange: #b84a1b;
  --orange-deep: #963a14;
  --sage: #dce5c6;
  --rule: #ddceb1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-block-size: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font: 400 1rem/1.55 var(--sans);
}
p, h1, h2 { margin: 0; }
a { color: inherit; }
img { display: block; max-inline-size: 100%; block-size: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.frame {
  width: min(95rem, 100% - 2 * clamp(1rem, 3.25vw, 3.5rem));
  margin-inline: auto;
}
.site-header { border-block-end: 1px solid var(--rule); }
.masthead, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  padding-block: .8rem;
}
.masthead { min-block-size: 4.6rem; }
.logo { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.logo img { width: clamp(8.75rem, 14vw, 12rem); }
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  padding-block: clamp(2.75rem, 6vw, 6rem);
}
.hero-copy { min-inline-size: 0; }
.eyebrow {
  color: var(--forest);
  text-transform: uppercase;
  font-size: clamp(.73rem, 1.12vw, .96rem);
  font-weight: 780;
  letter-spacing: .115em;
}
.handwriting {
  margin-block: .45rem .45rem;
  color: var(--orange);
  font: 400 clamp(2.85rem, 5.4vw, 5.6rem)/1.03 Yellowtail, "Brush Script MT", cursive;
}
h1, h2 { font-family: var(--serif); letter-spacing: -.054em; }
h1 { font-size: clamp(3.3rem, 6.5vw, 7.05rem); line-height: .98; }
.intro {
  max-inline-size: 34ch;
  margin-block-start: clamp(1.1rem, 2vw, 1.65rem);
  color: var(--body);
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem clamp(1rem, 1.7vw, 1.8rem);
  margin-block-start: clamp(1.2rem, 2.1vw, 1.85rem);
}
.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-block-size: 2.75rem;
  font-weight: 750;
  line-height: 1.35;
}
.text-link { text-decoration-thickness: .075em; text-underline-offset: .22em; }
.actions .text-link { text-decoration: none; }
.actions .text-link span:first-child { text-decoration: underline; text-underline-offset: .22em; }
.text-link:hover { color: var(--orange-deep); }
.button {
  border: 1px solid transparent;
  border-radius: .45rem;
  padding: .69rem 1.05rem;
  background: var(--orange);
  color: #fffdf7;
  text-decoration: none;
}
.button:hover { background: var(--orange-deep); }
.button:disabled { cursor: wait; opacity: .78; }
.actions a { font-size: clamp(.91rem, 1.16vw, 1.12rem); }
.hero-art { width: 100%; }
.site-footer { background: var(--sage); }
.footer-inner { min-block-size: 4.4rem; padding-block: .55rem; font-weight: 700; }
.request-dialog {
  width: min(100% - 1.5rem, 34rem);
  max-block-size: calc(100% - 1.5rem);
  border: 1px solid var(--rule);
  border-radius: .95rem;
  padding: 0;
  background: var(--paper);
  color: var(--forest);
  box-shadow: 0 1.5rem 4rem #123b2e36;
}
.request-dialog::backdrop { background: #102a21a8; }
.request-panel { padding: clamp(1.15rem, 5vw, 2rem); }
.request-panel .eyebrow { padding-inline-end: 2.75rem; color: var(--orange-deep); }
.request-panel h2 {
  margin-block: .28rem .6rem;
  padding-inline-end: .65rem;
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  line-height: 1.05;
}
.request-panel p { color: var(--body); }
.close-button {
  position: absolute;
  inset-block-start: .42rem;
  inset-inline-end: .45rem;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  font-size: 1.75rem;
  line-height: 1;
}
.close-button:hover { background: var(--sage); }
.workspace {
  margin-block-start: .7rem;
  padding: .65rem .8rem;
  border-radius: .35rem;
  background: var(--sage);
  font-size: .88rem;
  overflow-wrap: anywhere;
}
.workspace strong { display: block; }
#request-form { display: grid; gap: .65rem; margin-block-start: .8rem; }
#request-form label { display: grid; gap: .22rem; font-size: .92rem; font-weight: 680; }
#request-form input:not([type="checkbox"]) {
  width: 100%;
  min-block-size: 2.65rem;
  padding: .4rem .65rem;
  border: 1px solid #889989;
  border-radius: .35rem;
  background: #fffdf7;
  color: var(--forest);
  font-size: 1rem;
}
#request-form .consent { grid-template-columns: auto minmax(0, 1fr); gap: .45rem; align-items: start; font-weight: 500; }
.consent input { margin-block-start: .35rem; accent-color: var(--forest); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.send-button, .done-button { justify-self: start; }
.request-panel .form-error { color: #943711; font-weight: 650; }
.confirmation .button { margin-block-start: 1rem; }

@media (width < 780px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; padding-block: 2.15rem 1.65rem; }
  .hero-art { width: min(100%, 34rem); justify-self: center; }
  h1 { font-size: clamp(3rem, 10.8vw, 5rem); }
  .handwriting { font-size: clamp(2.75rem, 8.2vw, 4.45rem); }
  .footer-inner { column-gap: .75rem; }
}
.arrow {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
