/* The HoLT — shared styling for hub.the-holt.com.
 *
 * Built to match her live Squarespace pages rather than to look like our work:
 * full-bleed colour blocks (yellow bar, black hero, yellow form, pink footer),
 * big uppercase display type, flat shapes, no outlines or offset shadows.
 *
 * The display face on her site is kilimanjaro-sans, an Adobe Fonts family served
 * under her Squarespace licence, which we cannot serve from this host. Poppins is
 * her real body face and stands in for the display face at 800 weight. If she
 * supplies a Typekit kit ID for this domain, swap --font-display and nothing else
 * needs to change.
 */

:root {
  --yellow:   #e5e045;
  --pink:     #fd0d97;
  --pink-soft:#ff91dc;
  --purple:   #872ec4;
  --green:    #10b981;
  --black:    #000000;
  --ink:      #111111;
  --paper:    #ffffff;
  --ink-mid:  #4a4a4a;
  --err:      #c02020;
  --ok:       #128a4a;
  --panel:    #f4f4f0;
  --rule:     #ededed;

  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body:    "Poppins", system-ui, -apple-system, sans-serif;
  --font-mono:    "Red Hat Mono", ui-monospace, "SF Mono", monospace;

  --gutter: clamp(20px, 5vw, 60px);
  --measure: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── header bar ────────────────────────────────────────── */
/* Her own header is a yellow bar with the wordmark left and the site menu right.
   We keep the bar, because that is what makes the page feel like hers, but not
   the menu: her Squarespace nav changes and a half-stale copy of it reads as
   broken. One clear way home instead. */
.topbar { background: var(--yellow); }
.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: clamp(74px, 9vw, 108px);
}
.topbar .logo { display: block; height: clamp(30px, 4.4vw, 46px); width: auto; }
.home-link {
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.home-link:hover { text-decoration: underline; }
.home-link svg { flex: none; }

/* ── hero ──────────────────────────────────────────────── */
.hero { background: var(--black); color: var(--paper); }
.hero .inner { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(34px, 5vw, 64px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
}

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

.hero h1,
.hero h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}
.hero h1 { font-size: clamp(28px, 4.4vw, 52px); }
.hero h2 { font-size: clamp(25px, 3.9vw, 46px); }

/* Pink marker behind the aside, exactly as she uses it. */
.marker {
  display: inline;
  background: var(--pink);
  color: var(--black);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 24px);
  padding: 2px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero p.note {
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.5;
  margin: 26px 0 0;
  max-width: 34ch;
}

.squiggle { display: block; margin: clamp(26px, 4vw, 48px) auto 0; width: clamp(170px, 22vw, 330px); height: auto; }

/* ── form block ────────────────────────────────────────── */
/* The section behind the form is hers: full-bleed yellow, centred bold intro.
   The form itself is ours and stays ours -- a white card with a hard black
   border and an offset shadow, stepped sections, a pill button. Her live form is
   a default Squarespace block; this is the thing she is paying for. */
.formblock { background: var(--yellow); }
.formblock .inner { padding-top: clamp(38px, 5vw, 70px); padding-bottom: clamp(44px, 6vw, 84px); }

.form-intro {
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.4;
  text-align: center;
  color: var(--black);
  max-width: 30ch;
  margin: 0 auto clamp(28px, 4vw, 46px);
}

.card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--black);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--black);
  padding: clamp(22px, 4.5vw, 40px);
}

fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
fieldset:last-of-type { margin-bottom: 10px; }

legend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 0 0 12px;
  display: block;
  width: 100%;
  border-bottom: 2px solid var(--rule);
  margin-bottom: 18px;
}
legend .step {
  display: inline-block;
  background: var(--black);
  color: var(--paper);
  border-radius: 999px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  margin-right: 8px;
}

/* align-items:end keeps the two inputs in a half-and-half row on the same line
   when one of them carries a hint and the other does not. */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }
.grid .field { margin-bottom: 0; }

.lab {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
}
.lab .req { color: var(--pink); margin-left: 2px; }
.lab .opt { font-weight: 400; color: var(--ink-mid); margin-left: 6px; font-size: 13px; }

/* Her Typeform questions carry a lot of parenthetical guidance and it is part of
   her voice, so it is rendered rather than dropped. */
.hint { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--ink-mid); }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea, select {
  width: 100%;
  font: inherit;
  font-size: 16px;              /* 16px stops iOS zooming the page on focus */
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 11px 13px;
  transition: box-shadow .12s ease, border-color .12s ease;
}
textarea { resize: vertical; min-height: 96px; }

input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--err); }

.err { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--err); }
.field:not(.has-error) .err { display: none; }

/* ── choices ───────────────────────────────────────────── */
.choices { display: grid; gap: 10px; }
.choice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 2px solid var(--black);
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.4;
  background: var(--paper);
  transition: background .12s ease, box-shadow .12s ease;
}
.choice:hover { background: var(--panel); }
.choice input { margin: 3px 0 0; accent-color: var(--pink); width: 17px; height: 17px; flex: none; }
.choice.is-picked { background: var(--yellow); box-shadow: 3px 3px 0 var(--black); }

/* ── file upload ───────────────────────────────────────── */
.drop {
  display: block; /* a label is inline by default, and an inline box with a block child fragments its dashed border */
  border: 2px dashed var(--black);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  background: var(--panel);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-mid);
}
.drop.is-over { background: var(--pink-soft); }
.drop strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.drop input[type="file"] { display: none; }
.file-chosen { margin-top: 8px; font-size: 13px; color: var(--ok); font-weight: 600; }

/* ── actions ───────────────────────────────────────────── */
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

.btn {
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
  background: var(--black);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--pink);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--pink); }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }
.btn:disabled { opacity: .55; cursor: default; box-shadow: 4px 4px 0 var(--rule); }

.status { font-size: 14px; color: var(--ink-mid); }
.status.is-error { color: var(--err); font-weight: 600; }

.footnote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--rule);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-mid);
}
.footnote svg { flex: none; margin-top: 2px; }

/* Honeypot: off-screen rather than display:none, because some bots skip hidden
   fields but happily fill positioned ones. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── result ────────────────────────────────────────────── */
.result {
  max-width: 700px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--black);
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--black);
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
  color: var(--ink);
}
.result .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--yellow);
  border: 3px solid var(--black);
  margin-bottom: 16px;
}
.result h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.12;
  margin: 0 0 12px;
}
.result p { margin: 0 auto; max-width: 46ch; font-size: 16px; }

/* ── footer ────────────────────────────────────────────── */
.site-foot { background: var(--pink); color: var(--paper); text-align: center; }
.site-foot .inner { padding-top: 34px; padding-bottom: 34px; }
.socials { display: flex; justify-content: center; gap: 30px; margin-bottom: 16px; }
.socials a { color: var(--paper); display: inline-flex; }
.socials a:hover { opacity: .75; }
.site-foot .copy { font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.site-foot .legal { font-size: 13.5px; margin: 0; }
.site-foot a { color: var(--paper); }

/* Embedded mode: drop the site chrome so the form can sit inside another page. */
body.is-embed .topbar,
body.is-embed .site-foot,
body.is-embed .hero { display: none; }
body.is-embed .formblock { background: transparent; }
body.is-embed .formblock .inner { padding: 0; }
body.is-embed .card { border: 0; padding: 0; }

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

/* ── plain hero (form pages with no artwork) ───────────── */
.hero--plain .inner { padding-bottom: clamp(30px, 4vw, 52px); }
.hero--plain .hero-tag {
  background: var(--yellow);
  border: 2px solid var(--black);
  color: var(--black);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero--plain h1 { max-width: 22ch; }
.hero--plain h2 { max-width: 30ch; font-size: clamp(19px, 2.6vw, 30px); }
.hero--plain .marker { font-size: clamp(15px, 1.7vw, 19px); }

/* ── index list ────────────────────────────────────────── */
.index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.index-list li { border-bottom: 2px solid var(--rule); }
.index-list li:last-child { border-bottom: 0; }
.index-list a {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.index-list a:hover { color: var(--pink); }

/* ── slot picker ───────────────────────────────────────── */
.slot-days, .slot-times { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.slot-times { margin-bottom: 0; }
.slot-day, .slot-time {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 9px 13px;
  cursor: pointer;
}
.slot-day:hover, .slot-time:hover { background: var(--panel); }
.slot-day.is-picked, .slot-time.is-picked { background: var(--yellow); box-shadow: 3px 3px 0 var(--black); }
.slot-days { max-height: 132px; overflow-y: auto; }
