@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --sand: #E1D4C3;      /* from Sven's letter footer */
  --sand-deep: #CDBBA4;
  --ink: #1C2125;       /* jacket charcoal */
  --muted: #5E5850;
  --paper: #FFFFFF;
  --sold: #C4161C;      /* "Sold by Sven" sign red, used once */
  --line: #D9D2C8;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

/* Top bar */
.bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.who { display: flex; flex-direction: column; line-height: 1.2; }
.who-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.who-role { color: var(--muted); font-size: 14px; }
.bar-phone {
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px;
  white-space: nowrap;
}
.bar-phone:hover { background: var(--ink); color: var(--paper); }

/* Layout */
.page {
  max-width: 1080px; margin: 0 auto; padding: 36px 22px 56px;
  display: grid; gap: 40px;
}
@media (min-width: 900px) {
  .page { grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding-top: 64px; align-items: start; }
}

/* Headline: set like a sign board, condensed and heavy */
h1 {
  margin: 0;
  font-weight: 800;
  font-variation-settings: "wdth" 66;
  font-size: clamp(52px, 14vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 12ch;
}
.lede { margin: 20px 0 0; max-width: 46ch; color: var(--muted); font-size: 18px; }

/* Media: headshot rising out of a sand band, echoing the letter footer */
.media { margin-top: 32px; }
.portrait {
  margin: 0; background: var(--sand); border-radius: 6px; overflow: hidden;
  display: flex; justify-content: center; padding-top: 18px;
}
.portrait img { width: min(82%, 360px); }
.video {
  position: relative; aspect-ratio: 16 / 9; background: var(--ink);
  border-radius: 6px; overflow: hidden;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Form */
.signup {
  background: var(--paper);
  border-top: 6px solid var(--ink);
  padding-top: 24px;
}
@media (min-width: 900px) {
  .signup { position: sticky; top: 28px; }
}
h2 {
  margin: 0 0 20px;
  font-weight: 700; font-size: 24px; letter-spacing: -0.01em;
  font-variation-settings: "wdth" 85;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 6px;
  background: #FBFAF8;
  transition: border-color .15s;
}
.field input::placeholder { color: #9C948A; }
.field input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.field input[aria-invalid="true"] { border-color: var(--sold); }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 6px 0 20px; font-size: 16px; cursor: pointer;
}
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.consent.invalid span { color: var(--sold); }

.send {
  width: 100%; font: inherit; font-weight: 700; font-size: 18px;
  color: #fff; background: var(--sold);
  border: 0; border-radius: 6px; padding: 17px 20px; cursor: pointer;
  transition: background .15s, transform .1s;
}
.send:hover { background: #A51217; }
.send:active { transform: translateY(1px); }
.send[disabled] { opacity: .7; cursor: progress; }

.fine { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.form-error { margin: 0 0 14px; color: var(--sold); font-weight: 600; font-size: 15px; }
.hp { position: absolute; left: -9999px; }

.done { padding: 8px 0 4px; outline: none; }
.done-title {
  margin: 0 0 10px; font-weight: 800; font-size: 40px; line-height: 1;
  font-variation-settings: "wdth" 66;
}
.done p { max-width: 40ch; }
.done a { font-weight: 700; }

/* Footer */
.foot { background: var(--sand); }
.foot-inner { max-width: 1080px; margin: 0 auto; padding: 28px 22px 34px; }
.foot-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 600; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.licence { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
