/* Quinn Hunchar — landing page.
   Mobile-first. Palette: cool paper, deep pine ink, restrained honey accent.
   Display serif (Fraunces) for name/eyebrows only; system sans for body;
   handwritten (Caveat) reserved for the signature — the one personal signal
   that ties the mailed letter to the page. */

:root {
  --paper: #f7f8f7;
  --paper-2: #ffffff;
  --ink: #17352e;        /* deep pine — trust without corporate navy/black */
  --ink-soft: #4b544f;
  --muted: #7c837e;
  --line: #e3e6e2;
  --honey: #b07a28;      /* accent — CTA + signature only */
  --honey-deep: #8f6115;
  --focus: #1f6f5c;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Caveat", "Segoe Script", cursive;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

.page {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 6vw, 3rem) 1.25rem 3rem;
}

.hidden { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---- Hero ---- */
.hero { text-align: center; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }

.hero__photo {
  width: 170px; height: 170px;      /* portrait, not thumbnail — the visitor recognizes the letter-writer */
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--paper-2);
  box-shadow: 0 8px 26px rgba(23, 53, 46, 0.18);
  margin-bottom: 1.15rem;
}

.eyebrow {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0 0 0.35rem;
}

.hero__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 9vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.9rem;
}

.hero__lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin: 0 auto 1rem;
  max-width: 30rem;
}

.hero__meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin: 0;
}

/* ---- Sections ---- */
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.9rem;
}

.help { padding: 2rem 0; border-bottom: 1px solid var(--line); }

.help__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }

.help__list li { color: var(--ink-soft); }

.help__label {
  display: block;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

/* ---- Contact / form ---- */
.contact { padding-top: 2rem; }

.contact__intro { color: var(--ink-soft); margin: 0 0 1.4rem; }

.field { margin-bottom: 1.05rem; }

label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }

.optional { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

/* native select: keep the OS picker on mobile, just align the resting field with the inputs */
select {
  appearance: none;
  -webkit-appearance: none;
  height: calc(0.7rem * 2 + 1.6em + 2px);   /* match input box height */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237c837e' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
select:required:invalid { color: var(--muted); }   /* placeholder looks like a prompt until a state is chosen */

textarea { resize: vertical; min-height: 3.2rem; }

input:focus-visible, textarea:focus-visible, .submit:focus-visible, a:focus-visible, input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--focus);
}

/* Consent — the load-bearing element: give it weight and a warm frame. */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  background: #fbf6ec;
  border: 1px solid #ecdcc0;
  border-left: 4px solid var(--honey);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin: 1.4rem 0 1.5rem;
}

.consent input[type="checkbox"] {
  width: 1.35rem; height: 1.35rem;
  margin: 0.15rem 0 0;
  accent-color: var(--honey-deep);
  flex: none;
}

.consent label {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

.submit {
  width: 100%;
  font: inherit;
  font-weight: 650;
  font-size: 1.05rem;
  color: #fff;
  background: var(--honey);
  border: 0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.submit:hover { background: var(--honey-deep); }
.submit:active { transform: translateY(1px); }

.form-note { color: #a3341f; font-size: 0.9rem; margin: 0.8rem 0 0; }

/* ---- Confirmation ---- */
.thanks { text-align: center; padding: 1.5rem 0; }
.thanks__mark {
  font-size: 2rem; line-height: 1;
  width: 3.2rem; height: 3.2rem; margin: 0 auto 0.8rem;
  display: grid; place-items: center;
  color: #fff; background: var(--focus); border-radius: 50%;
}
.thanks a { color: var(--honey-deep); font-weight: 650; }

/* ---- Footer / signature (the one handwritten note) ---- */
.foot { text-align: center; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.foot__sig {
  font-family: var(--script);
  font-size: 2.1rem;
  color: var(--honey-deep);
  line-height: 1;
  margin: 0 0 0.5rem;
}
.foot__line { font-size: 0.8rem; color: var(--muted); margin: 0.2rem 0; }
.foot__muted { color: #a2a8a3; max-width: 26rem; margin-left: auto; margin-right: auto; }

/* ---- Carriers (plain text, credibility not claim) ---- */
.carriers {
  padding: 1.6rem 0 0.4rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.carriers__label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.carriers__names {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto;
  max-width: 28rem;
}

@media (min-width: 40rem) {
  body { font-size: 18px; }
  .page { padding-top: 3.5rem; }
  .hero__photo { width: 210px; height: 210px; }   /* larger portrait on desktop */
}

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