/* Indiana Ink Farm — landing page styles (mobile-first) */

:root {
  --cream:      #f9ecd6;
  --cream-dark: #f0e0c4;
  --navy:       #153741;
  --navy-dark:  #0f2c33;
  --orange:     #a7461c;
  --orange-dark:#8c3916;
  --ink:        #153741;
  --muted:      #3d4f54;

  --card:       #fdf6ea;
  --border:     #e3cfa9;
  --white:      #ffffff;
  --error:      #8a1c1c;
  --error-bg:   #fbe8e1;
  --field-border: #7a8b90; /* ≥3:1 against white for form-control boundaries */

  --font-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --container: 72rem;
  --gutter: 1.25rem;
  --header-h: 0px;
  --shadow: 0 1px 2px rgba(21, 55, 65, 0.06), 0 8px 24px -12px rgba(21, 55, 65, 0.22);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, 0.45), transparent 55%),
    radial-gradient(ellipse at 100% 60%, rgba(240, 224, 196, 0.6), transparent 60%);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--orange-dark); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0.75rem;
  color: var(--white);
  outline-color: var(--orange);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-small {
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(249, 236, 214, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "logo . cta"
    "nav  nav nav";
  align-items: center;
  column-gap: 0.75rem;
  padding-block: 0.5rem 0.25rem;
}

.header-logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 44px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy);
}
.header-drop {
  flex-shrink: 0;
}
.header-drop img {
  width: auto;
  height: 44px;
}
.header-wordmark {
  min-width: 0;
  max-width: 7.5em; /* wraps to "Print + Tech" / "Solutions" on small screens */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--navy);
  transition: color 0.18s ease;
}
.header-plus { color: var(--orange); }
.header-logo:hover .header-wordmark { color: var(--orange-dark); }

.header-cta { grid-area: cta; }

.site-nav { grid-area: nav; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 0.25rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.site-nav a:hover {
  background: var(--cream-dark);
  color: var(--navy-dark);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 2.5rem 3.5rem;
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title { margin: 0; }

.hero-logo {
  width: min(78vw, 340px);
  height: auto;
}

.hero-lede {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-copy .btn-row {
  margin-top: 1.75rem;
  justify-content: center;
}

/* ---------- Sections ---------- */

.section {
  padding-block: 3.5rem;
  scroll-margin-top: var(--header-h);
}
#top { scroll-margin-top: var(--header-h); }

.section-head {
  max-width: 40rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-head h2,
.contact-card h2 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--orange);
  border-radius: 2px;
}

.section-intro {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Services ---------- */

.services {
  background: var(--cream-dark);
  border-block: 1px solid var(--border);
}

.service-groups {
  display: grid;
  gap: 1.5rem;
}

.service-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.group-head {
  padding: 1.35rem 1.4rem 1.2rem;
  border-bottom: 3px solid var(--orange);
}
.group-head h3 {
  font-size: 1.75rem;
  font-weight: 700;
}
.group-head p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.service-group--tech .group-head { background: var(--navy); }
.service-group--tech .group-head h3,
.service-group--tech .group-head p { color: var(--cream); }

.service-group--print .group-head { background: var(--card); }

.service-list {
  margin: 0;
  padding: 0.5rem 1.4rem 1rem;
  list-style: none;
}
.service-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px dashed var(--border);
}
.service-list li:last-child { border-bottom: 0; }

/* small ink-drop marker echoing the logo */
.service-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.3rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--orange);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}
.service-group--tech .service-list li::before { background: var(--navy); }

.service-list h4 {
  font-size: 1.2rem;
  font-weight: 600;
}
.service-list p {
  margin-top: 0.2rem;
  color: var(--muted);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 60rem;
  margin-inline: auto;
}

.person {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}

.person-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

/* Shared founder photo slot: identical 5:4 frame for every person card */
.person-media {
  flex: none;
  width: min(100%, 20rem);
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  border: 5px solid var(--white);
  box-shadow: 0 2px 4px rgba(21, 55, 65, 0.08), 0 16px 32px -18px rgba(21, 55, 65, 0.45);
  background: var(--cream-dark);
  overflow: hidden;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  font-size: 1.75rem;
  font-weight: 700;
}
.person-title {
  margin-top: 0.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.person-subtitle {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.pull-quote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 4px solid var(--orange);
}
.pull-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  line-height: 1.25;
  color: var(--navy);
}

.bio p + p { margin-top: 1rem; }
.bio p { max-width: 68ch; }

/* ---------- Contact ---------- */

.contact { padding-top: 1rem; padding-bottom: 4rem; }

.contact-card {
  max-width: 46rem;
  margin-inline: auto;
  padding: 2.5rem 1.4rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-lede {
  margin: 1rem auto 1.75rem;
  max-width: 32rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.contact-email {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.contact-email a {
  display: inline-block;
  padding-block: 0.6rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-location {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Start a project form ---------- */

#start,
#contact { scroll-margin-top: var(--header-h); }

.contact .contact-card { max-width: 54rem; }

.start-form {
  margin-top: 0.5rem;
  text-align: left;
}

.form-note {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.form-grid {
  display: grid;
  gap: 1.35rem;
}

.form-row {
  display: grid;
  gap: 1.35rem;
}

.field { min-width: 0; }

.field > label,
.field-group > legend {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

.hint {
  margin: -0.15rem 0 0.45rem;
  font-size: 0.95rem;
  color: var(--muted);
}
select + .hint { margin: 0.35rem 0 0; }

.start-form input[type="text"],
.start-form input[type="email"],
.start-form input[type="tel"],
.start-form select,
.start-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--field-border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.start-form input[type="text"]:hover,
.start-form input[type="email"]:hover,
.start-form input[type="tel"]:hover,
.start-form select:hover,
.start-form textarea:hover { border-color: var(--navy); }
.start-form ::placeholder { color: #6b7b80; opacity: 1; }
.start-form textarea {
  min-height: 7rem;
  resize: vertical;
}
.start-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23153741' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 9px;
  cursor: pointer;
}

.start-form input:focus-visible,
.start-form select:focus-visible,
.start-form textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Errors: deep maroon, readable on cream (≈ 8:1) */
.start-form [aria-invalid="true"]:not([type="checkbox"]) {
  border-color: var(--error);
  box-shadow: inset 4px 0 0 var(--error);
}

.field-error {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--error);
}
.field-error::before { content: "! "; font-weight: 700; }

.form-alert {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid var(--error);
  border-left-width: 5px;
  border-radius: 8px;
}
.form-alert:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-alert p { font-weight: 700; }
.form-alert ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-alert a { color: var(--error); font-weight: 600; }

/* Checkbox group */
.field-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field-group > legend { padding: 0; }

.check-grid {
  display: grid;
  gap: 0.5rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.check:hover { border-color: var(--navy); }
.check:has(input:checked) {
  border-color: var(--navy);
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.check input {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.check input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.field-group[aria-invalid="true"] .check,
.field-group.is-invalid .check { border-color: var(--error); }

.field--sub { margin-top: 0.85rem; }
.field--sub[hidden] { display: none; }

/* Honeypot: visually hidden + out of tab order (not display:none) */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.turnstile-wrap { min-height: 65px; }

.form-noscript {
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
}

.form-actions .btn {
  width: 100%;
  font-size: 1.1rem;
  cursor: pointer;
}
.form-actions .btn:focus-visible { outline-offset: 3px; }
.form-actions .btn:disabled {
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.form-success {
  margin-top: 0.5rem;
  padding: 2rem 1.4rem;
  text-align: center;
  background: var(--cream);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
}
.form-success:focus { outline: 3px solid var(--orange); outline-offset: 3px; }
.form-success h3 {
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
}
.form-success h3::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--orange);
  border-radius: 2px;
}
.form-success p {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Homepage CTA band (#contact) ---------- */

.contact-anchor {
  display: block;
  position: relative;
  top: calc(-1 * var(--header-h));
  height: 0;
}
.contact .cta-band { max-width: 46rem; }
.cta-band .contact-lede { margin-bottom: 1.5rem; }
.cta-band .contact-email { margin-top: 1rem; }

/* ---------- /start/ page ---------- */

#inquiry { scroll-margin-top: var(--header-h); }

.start-intro { padding-block: 3rem 1.5rem; }
.start-intro-inner {
  max-width: 46rem;
  text-align: center;
}
.start-intro h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.1rem, 7vw, 3.25rem);
  font-weight: 700;
}
.start-intro h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--orange);
  border-radius: 2px;
}
.start-lede {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.start-why { padding-block: 1rem 0.5rem; }
.start-why-inner {
  max-width: 54rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
}
.start-why h2 {
  font-size: clamp(1.5rem, 4.6vw, 2rem);
  font-weight: 700;
  text-align: center;
}
.start-why-copy {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--muted);
}
.start-why-copy p + p { margin-top: 0.75rem; }

.cred-row {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem auto 0;
  padding: 0;
  max-width: 46rem;
  list-style: none;
}
.cred-row li {
  position: relative;
  padding: 0.55rem 0.9rem 0.55rem 2.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cred-row strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}
/* ink-drop mark, same shape as the service list bullets */
.cred-row li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.35rem;
  background: var(--orange);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}

.start-brand-line {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--navy);
}

.start-inquiry { padding-top: 1.5rem; }

.inquiry-card {
  max-width: 54rem;
  margin-inline: auto;
  padding: 2rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 5px solid var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.inquiry-card .start-form { margin-top: 0; }

.form-heading {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 700;
}
.form-heading + .form-note { margin-top: 0.5rem; }

.field-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.field > label.field-heading,
.field-group > legend.field-heading { margin-bottom: 0.4rem; }

.field--feature {
  padding-top: 1.35rem;
  border-top: 1px dashed var(--border);
}
.start-form .field--feature textarea { min-height: 9rem; }

/* Step 2 disclosure */
.disclosure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.disclosure-heading { margin: 0; font-size: inherit; }
.disclosure-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 56px;
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.disclosure-toggle .optional { font-family: var(--font-body); font-size: 1rem; }
.disclosure-toggle:hover { background: var(--cream); }
.disclosure-icon {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--orange);
  border-radius: 50%;
}
.disclosure-icon::before,
.disclosure-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7rem;
  height: 2px;
  margin: -1px 0 0 -0.35rem;
  background: var(--orange);
}
.disclosure-icon::after { transform: rotate(90deg); }
.disclosure-toggle[aria-expanded="true"] .disclosure-icon::after { display: none; }

.disclosure-panel {
  padding: 0.25rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.disclosure-panel[hidden] { display: none; }
.disclosure-intro { margin: 0.85rem 0 1.1rem; }
.field[hidden] { display: none; }

/* Submission area */
.form-actions { text-align: center; }
.btn.is-loading::before {
  content: "";
  width: 1em;
  height: 1em;
  margin-right: 0.6em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-status:empty { display: none; }
.form-status { margin-top: 0.5rem; font-weight: 600; color: var(--muted); }

.form-reassure {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  color: var(--muted);
}
.form-reassure p + p { margin-top: 0.6rem; }

.form-alert .form-alert-fallback { margin-top: 0.5rem; font-weight: 600; }

.form-success h2 {
  font-size: clamp(1.5rem, 4.8vw, 2rem);
  font-weight: 700;
  color: var(--navy);
}
.form-success h2:focus { outline: none; }
.form-success h2:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.form-success h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--orange);
  border-radius: 2px;
}

.inquiry-contact {
  margin-top: 1.5rem;
  padding-top: 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.inquiry-contact .contact-email { margin-top: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding-block: 2rem;
}
.site-footer :focus-visible { outline-color: var(--cream); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.footer-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--cream);
}

.footer-text p { line-height: 1.5; }
.footer-text p:first-child { font-weight: 700; }

/* ---------- Tablet (≥ 40em / 640px) ---------- */

@media (min-width: 40em) {
  :root { --gutter: 2rem; }

  .hero-logo { width: 380px; }

  .group-head,
  .service-list { padding-inline: 1.75rem; }

  .person { padding: 2rem 2rem; }
  .person-head {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
  }
  .person-media { width: 18rem; }
  .contact-card { padding: 3rem 2.5rem; }

  .form-row--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .check-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form-actions .btn { width: auto; min-width: 16rem; }

  .start-intro { padding-block: 4rem 2rem; }
  .cred-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inquiry-card { padding: 2.75rem 2.5rem; }
  .disclosure-toggle { padding-inline: 1.25rem; }
  .disclosure-panel { padding-inline: 1.25rem; }
}

/* ---------- Desktop header (≥ 52em / 832px) ---------- */

@media (min-width: 52em) {
  :root { --header-h: 84px; }

  .site-header {
    position: sticky;
    top: 0;
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    backdrop-filter: saturate(1.2) blur(6px);
    background: rgba(249, 236, 214, 0.92);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    padding-block: 0.5rem;
    min-height: var(--header-h);
  }
  .header-logo { gap: 0.65rem; }
  .header-drop img { height: 52px; }
  .header-wordmark {
    max-width: none;
    white-space: nowrap;
    font-size: 1.15rem;
  }

  .site-nav ul {
    justify-content: flex-end;
    margin: 0;
    padding-top: 0;
    border-top: 0;
  }
}

/* ---------- Large (≥ 64em / 1024px) ---------- */

@media (min-width: 64em) {
  :root { --gutter: 2.5rem; }

  .header-wordmark { font-size: 1.3rem; }

  .hero { padding-block: 4rem 5.5rem; }

  .hero-logo { width: 460px; }
  .hero-lede { font-size: 1.25rem; }

  .section { padding-block: 5.5rem; }

  .service-groups {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 2rem;
  }
  .service-group--tech .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
  /* Only drop the second-to-last border when it shares the final row (even count). */
  .service-group--tech .service-list li:nth-last-child(2) { border-bottom: 0; }

  .about-grid { gap: 2rem; }
  .person { padding: 2.75rem 3rem; }
  .person-media { width: 23rem; }

  .contact { padding-top: 1.5rem; padding-bottom: 6rem; }
}

/* ---------- Motion / accessibility preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .service-list li::before,
  .cred-row li::before { forced-color-adjust: none; background: CanvasText; }
  .start-form [aria-invalid="true"] { border-color: Mark; }
}
