/* Prototype A — Straight Forward
   Clean, generous white space; charcoal text; red used sparingly. */

:root {
  --ink: #231f20;          /* wordmark charcoal */
  --ink-soft: #383838;
  --muted: #5f5b5c;        /* tagline grey, darkened for AA contrast */
  --line: #e6e3e3;
  --paper: #ffffff;
  --paper-alt: #f7f6f5;
  --red: #ed1c24;          /* logo red — decorative use only */
  --red-text: #c8161d;     /* AA-safe red for text and buttons */
  --red-dark: #a31218;

  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Questrial", "Century Gothic", "Avenir Next", system-ui, sans-serif;

  --gutter: 16px;
  --max: 1120px;
  --radius: 14px;          /* echoes the mark's rounded corners */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.75rem;
}

.accent { color: var(--red-text); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand img { width: 168px; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.975rem;
}
.site-nav a:hover { color: var(--red-text); }

.site-nav .nav-cta {
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
}
.site-nav .nav-cta:hover { background: var(--ink); color: #fff; }

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

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary { background: var(--red-text); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

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

.hero { padding: clamp(72px, 12vw, 152px) 0 clamp(64px, 10vw, 128px); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy > * { max-width: 880px; }
.hero-art { width: 100%; height: auto; }

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

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

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-alt); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2,
.about-body h2,
.contact-intro h2 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.section-intro { color: var(--muted); }

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

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px; /* echoes the rounded logo box */
  background: #fdeced;
  color: var(--red-text);
}
.service-icon svg { width: 24px; height: 24px; }
.service-top .service-num { margin: 0; }

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--red-text);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service h3 { font-size: 1.625rem; }
.service p { color: var(--muted); margin: 0; }
.service p + p { margin-top: 14px; }
.service-proof {
  font-size: 0.9375rem;
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding-left: 12px;
}

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

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about-art img { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto; }
.about-sectors { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.02em; color: var(--red-text); }

.founder { display: flex; align-items: center; gap: 16px; margin: 36px 0 0; }
.founder-photo {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 22px; /* echoes the rounded logo box */
  overflow: hidden;
}
.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.08);
}
.founder figcaption { display: flex; flex-direction: column; line-height: 1.35; }
.founder figcaption strong { font-family: var(--font-display); font-size: 1.25rem; }
.founder figcaption span { color: var(--muted); font-size: 0.9rem; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Process ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 28px;
  border-top: 3px solid var(--ink);
}
.step:first-child { border-top-color: var(--red); }

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--line);
  margin-bottom: 12px;
}

.step h3 { font-size: 1.625rem; }
.step p { color: var(--muted); margin: 0; }

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact-intro p:not(.eyebrow) { color: var(--muted); }
.contact-art { display: block; width: min(320px, 100%); height: auto; margin-top: 40px; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #cfcaca;
  border-radius: 10px;
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.18); }

.field .optional { color: var(--muted); font-weight: normal; }
.form-note { font-size: 0.875rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin: 14px 0 0; padding: 12px 16px; border-radius: 8px; }
.form-status-success { background: #eaf6ec; color: #1d5b2a; }
.form-status-error { background: #fdeced; color: var(--red-text); }
.recaptcha-note {
  margin: 16px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

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

.site-footer {
  background: var(--ink);
  color: #c9c5c6;
  padding: 56px 0 40px;
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 56px;
  align-items: center;
}

.footer-logo { width: 176px; }

.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer strong { color: #fff; font-weight: normal; }

.copyright {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #a19c9d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.copyright p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #c9c5c6; }
.footer-links a:hover { color: #fff; }

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand img { width: 140px; }

  .site-nav { width: 100%; }
  .site-nav ul { gap: 6px 18px; flex-wrap: wrap; }
  .site-nav a { font-size: 0.9375rem; }
  .site-nav .nav-cta { padding: 4px 14px; }

  .about,
  .contact,
  .footer-inner { grid-template-columns: minmax(0, 1fr); }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; }
  .about-art img { max-width: 320px; margin: 0; }
  .contact-art { display: none; }

  .service { padding-right: 0; }
  .section-head { margin-bottom: 36px; }
}

/* Contact form: honeypot field for bots, kept off-screen rather than display:none so naive bots still fill it */
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: 0.6; cursor: progress; }
/* The reCAPTCHA badge may be hidden because .recaptcha-note shows Google's required wording */
.grecaptcha-badge { visibility: hidden; }

/* Cookie consent banner (analytics.js shows it until the visitor chooses) */
.cookie-banner {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 60;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px 24px;
  padding: 18px 22px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(35, 31, 32, 0.18);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 22px; font-size: 0.9375rem; }
.cookie-actions .btn-ghost { background: transparent; }
.cookie-actions .btn-ghost:hover { background: var(--ink); }

@media (max-width: 760px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 16px; }
  .cookie-actions .btn { flex: 1; }
}

/* Text pages (privacy) */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2rem); margin-top: 1.6em; }
.prose-updated { color: var(--muted); font-size: 0.9375rem; }
.prose ul { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--ink); font-weight: normal; }
.prose code { font-size: 0.9em; }
