/* Cozzens Consulting: rebuilt from the original Canva site.
   Fonts match Canva's: DM Sans (Home headings), Lustria (serif body),
   PT Sans (What We Do / Contact headings and the bio). */
:root {
  --grey: #747c80;
  --nav: #304254;
  --blue-grey: #e3eaed;
  --line: #e3e6e8;
  --error: #b4441c;
  --dm: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lustria: "Lustria", Georgia, "Times New Roman", serif;
  --pt: "PT Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #000;
  font-family: var(--lustria);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

/* Header (same on every page) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 47px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
}
.site-header nav { display: flex; gap: 32px; font-family: var(--lustria); font-size: 15px; }
.site-header a { color: var(--nav); opacity: 0.6; text-decoration: none; }
.site-header a:hover { opacity: 1; }
.site-header a[aria-current="page"] { opacity: 1; }

/* ---------- Home (What We Do content + logo) ---------- */
.page-home { background: #fff; }
.home-logo { width: 415px; margin: 0 auto; }
.page-home .what-intro { padding-top: 20px; }

/* Contact form (Contact page) */
.contact-card {
  max-width: 820px;
  margin: 40px auto 0;
  background: #fff;
  padding: 36px 40px;
  font-family: var(--dm);
}
.kind-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #f1f3f4;
  margin-bottom: 24px;
}
.kind-toggle button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; border: 0; border-radius: 12px; background: transparent;
  font: 600 14px var(--dm); color: #6b7175; cursor: pointer;
}
.kind-toggle button:hover { color: #222; }
.kind-toggle button[aria-selected="true"] { background: #fff; color: #111; box-shadow: 0 4px 14px -6px rgba(17, 24, 39, 0.35); }
.kind-toggle svg, .sent-icon svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
.field.wide { grid-column: 1 / -1; }
.field .label { display: block; font-size: 14px; font-weight: 500; color: #3f4448; margin-bottom: 6px; }
.field b { color: var(--error); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid #dcdfe1; background: #fff; font: 15px var(--dm); color: #111; outline: none;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a3a8ab; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #3d4347; box-shadow: 0 0 0 4px rgba(61, 67, 71, 0.12); }
.field .invalid { border-color: var(--error); }
.err { display: block; font-style: normal; font-size: 12px; color: var(--error); margin-top: 6px; }
.err:empty { display: none; }
form[data-kind="question"] .call-only { display: none; }
form[data-kind="call"] .question-only { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin-top: 20px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #f3d3c4; background: #fdf4ef; color: var(--error); font-size: 14px;
}
.form-error a { color: inherit; font-weight: 600; }
.submit {
  margin-top: 24px; width: 100%; height: 48px; border: 0; border-radius: 999px;
  background: #111; color: #fff; font: 600 16px var(--dm); cursor: pointer;
}
.submit:hover { background: #2b2f33; }
.submit:disabled { opacity: 0.7; cursor: default; }
.form-note { margin: 12px 0 0; text-align: center; font-size: 12px; color: #9aa0a4; }
.sent { text-align: center; padding: 24px 0; }
.sent-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: #f1f3f4; color: #111; margin-bottom: 16px;
}
.sent-icon svg { width: 28px; height: 28px; }
.sent-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.sent-body { color: #5b6165; margin: 8px auto 0; max-width: 360px; }
.again { margin-top: 24px; border: 0; background: none; font: 500 14px var(--dm); color: #80878b; cursor: pointer; }
.again:hover { color: #111; }

/* ---------- What We Do sections (shown on Home) ---------- */
.what-intro {
  max-width: 1184px;
  margin: 0 auto;
  padding: 85px 24px 52px;
  display: grid;
  grid-template-columns: 540px 583px;
  justify-content: space-between;
  align-items: start;
}
.what-copy { padding-top: 0; }
.what-copy h1 {
  font-family: var(--pt);
  font-weight: 700;
  color: var(--grey);
  font-size: 56px;
  line-height: 56px;
  margin: 0 0 58px;
}
.what-copy > p { font-size: 21.3px; line-height: 29px; margin: 0 0 42px; max-width: 510px; }
.three-things { list-style: none; margin: 0; padding: 0; }
.three-things li {
  width: 430px;
  max-width: 100%;
  background: var(--blue-grey);
  padding: 7px 15px;
  margin-bottom: 21px;
  font-size: 26.7px;
  line-height: 39px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.short-video { aspect-ratio: 583 / 1037; background: #0e1318; }
.short-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.solve { background: var(--blue-grey); padding: 58px 24px 56px; text-align: center; }
.solve h2 {
  font-family: var(--pt);
  font-weight: 700;
  color: var(--grey);
  font-size: 56px;
  line-height: 56px;
  margin: 0 0 80px;
}
.solve-row {
  max-width: 1319px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 644px 661px;
  justify-content: space-between;
  align-items: start;
  text-align: left;
}
.solve-copy { font-size: 21.3px; line-height: 31px; }
.solve-copy p { margin: 0 0 31px; }
.solve-copy ul { margin: 0; padding-left: 37px; }
.solve-row img { width: 661px; aspect-ratio: 661 / 441; object-fit: cover; }
.pill-button {
  display: inline-block;
  margin-top: 52px;
  width: 215px;
  height: 57px;
  line-height: 57px;
  border-radius: 999px;
  background: var(--grey);
  color: #fff;
  font-family: var(--pt);
  font-size: 18.7px;
  text-decoration: underline;
}
.pill-button:hover { background: #5f676b; }

/* ---------- Contact ---------- */
.page-contact { background: var(--blue-grey); }
.contact-page { max-width: 640px; margin: 0 auto; padding: 53px 24px 82px; }
.contact-page h1 {
  font-family: var(--pt);
  font-weight: 700;
  color: var(--grey);
  font-size: 56px;
  line-height: 56px;
  text-align: center;
  margin: 0 0 37px;
}
.portrait {
  width: 436px;
  aspect-ratio: 436 / 443;
  object-fit: cover;
  object-position: 21% 44%;
  margin: 0 auto 37px;
}
.bio { font-family: var(--pt); font-size: 21.3px; line-height: 29px; }
.bio p { margin: 0 0 29px; }
.contact-box {
  background: var(--grey);
  color: #fff;
  margin-top: 58px;
  padding: 45px 92px;
  min-height: 150px;
  font-size: 21.3px;
  line-height: 31px;
}
.contact-box p { margin: 0; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1240px) {
  .what-intro { grid-template-columns: 1fr minmax(0, 46%); gap: 48px; }
  .solve-row { grid-template-columns: 1fr minmax(0, 48%); gap: 48px; }
  .solve-row img { width: 100%; }
}
@media (max-width: 820px) {
  .site-header { justify-content: center; }
  .site-header nav { gap: 32px; }
  .home-logo { width: 280px; }
  .page-home .what-intro { padding-top: 12px; }
  .contact-card { padding: 24px 18px; margin-top: 32px; }

  .what-intro { grid-template-columns: 1fr; padding: 80px 16px 40px; gap: 18px; }
  .what-copy h1 { font-size: 44px; line-height: 46px; margin-bottom: 24px; }
  .what-copy > p { font-size: 18px; line-height: 24px; margin-bottom: 20px; }
  .three-things li { width: 344px; font-size: 21px; line-height: 30px; padding: 5px 11px; margin-bottom: 16px; }
  .short-video { max-width: 360px; }

  .solve { padding: 48px 16px 20px; text-align: left; }
  .solve h2 { font-size: 44px; line-height: 46px; margin-bottom: 30px; }
  .solve-row { grid-template-columns: 1fr; gap: 0; }
  .solve-copy { font-size: 18px; line-height: 25px; }
  .solve-copy p { margin-bottom: 25px; }
  .solve-copy ul { padding-left: 28px; margin-bottom: 25px; }
  .pill-button { display: block; margin: 16px auto 0; width: 172px; height: 46px; line-height: 46px; font-size: 15px; text-align: center; }

  .contact-page { padding: 40px 16px 60px; }
  .contact-page h1 { font-size: 40px; line-height: 44px; margin-bottom: 28px; }
  .portrait { width: 300px; margin-bottom: 28px; }
  .bio { font-size: 18px; line-height: 25px; }
  .contact-box { padding: 32px 28px; margin-top: 36px; font-size: 19px; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
}
