/* Site styles. Tokens copied from ../brand-classic/brand.css (the source of truth).
   Rules from BRAND.md: brass never carries text; Cormorant only at display sizes;
   Work Sans for body and UI. */

:root {
  --navy: #1B3A52;
  --navy-dark: #11283A;
  --brass: #96763F;       /* ornament only */
  --brass-deep: #7D6232;  /* gold text on ivory */
  --brass-light: #C4A164; /* gold on navy */
  --slate: #4E5A63;
  --mist: #DCE3E8;
  --ivory: #F7F4EC;
  --shell: #FDFBF6;
  --hairline: #DFD8C8;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, sans-serif;

  --wrap: 68rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--navy); }

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

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

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--ivory);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.brand img { width: 2rem; height: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.45rem;
  letter-spacing: 0.17em; white-space: nowrap; text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a.navlink {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--slate);
}
.site-nav a.navlink:hover { color: var(--navy); }
@media (max-width: 760px) { .site-nav a.navlink { display: none; } }
@media (max-width: 420px) {
  .brand-name { font-size: 1.15rem; letter-spacing: 0.12em; }
  .site-header .btn { padding: 0.7rem 1rem; font-size: 0.85rem; }
}

/* ---------- Pieces ---------- */

.label {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-deep);
  margin: 0 0 1rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.06; letter-spacing: -0.005em; max-width: 18ch; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; max-width: 24ch; }
h3 { font-size: 1.6rem; line-height: 1.2; }

.lede { font-size: 1.15rem; color: var(--slate); max-width: 38rem; margin: 1.5rem 0 0; }
.rule { width: 4.5rem; height: 1px; background: var(--brass); border: 0; margin: 1.5rem 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--ivory);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.9rem 1.6rem; min-height: 44px;
  border: 0; border-radius: 2px; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-dark); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass-deep); outline-offset: 3px;
}
.btn-quiet { background: transparent; color: var(--navy); border: 1px solid var(--brass); }
.btn-quiet:hover { background: var(--shell); }
.btn-ivory { background: var(--ivory); color: var(--navy); }
.btn-ivory:hover { background: var(--shell); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background 120ms ease; } }

section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
section + section { border-top: 1px solid var(--hairline); }

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

.hero { padding-top: clamp(3rem, 10vw, 7rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.tagline {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.6rem; color: var(--navy); margin: 2.5rem 0 0;
}

/* ---------- Problem ---------- */

.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  padding: 1rem 0 1rem 1.75rem; position: relative;
  border-bottom: 1px solid var(--hairline);
}
.ticks li:first-child { border-top: 1px solid var(--hairline); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.75rem;
  width: 0.85rem; height: 1px; background: var(--brass);
}
.after-list { color: var(--slate); margin: 1.5rem 0 0; }

/* ---------- Steps (Assess / Build / Run) ---------- */

.cards { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--shell); border: 1px solid var(--hairline); border-radius: 2px;
  padding: 2rem 1.75rem;
}
.card .num {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--brass-deep); margin: 0 0 0.75rem;
}
.card p { color: var(--slate); margin: 0.9rem 0 0; }

/* ---------- Who it's for ---------- */

.sectors { display: grid; gap: 0; margin-top: 2.5rem; }
@media (min-width: 700px) { .sectors { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.sector { padding: 1.4rem 0; border-top: 1px solid var(--hairline); }
.sector h3 { font-size: 1.45rem; }
.sector p { color: var(--slate); margin: 0.35rem 0 0; }

/* ---------- Why us (mist panel) ---------- */

.why { background: var(--mist); }
.why + section { border-top: 0; }
.why-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.why-grid h3 { font-size: 1.45rem; }
.why-grid p { color: var(--slate); margin: 0.75rem 0 0; }

/* ---------- How it starts (navy band) ---------- */

.start { background: var(--navy); color: var(--ivory); border-top: 0; }
.start + section { border-top: 0; }
.start .label { color: var(--brass-light); }
.start h2 { color: var(--ivory); }
.start .rule { background: var(--brass-light); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: step; border-top: 1px solid var(--brass-light); padding-top: 1.25rem; }
.steps li::before {
  content: "0" counter(step); display: block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; color: var(--brass-light);
  margin-bottom: 0.6rem;
}
.steps h3 { color: var(--ivory); font-size: 1.5rem; }
.steps p { color: #D5DDE3; margin: 0.6rem 0 0; }
.start .hero-actions { margin-top: 3rem; }

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

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.contact-details { color: var(--slate); margin-top: 1.5rem; }
.contact-details a { color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--brass-light); }

form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.field .opt { color: var(--slate); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--shell); border: 1px solid var(--hairline); border-radius: 2px;
  padding: 0.75rem 0.85rem; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 0.95rem; color: var(--slate); min-height: 1.5em; }
.form-status.ok { color: var(--navy); font-weight: 500; }

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

.site-footer { background: var(--navy-dark); color: #C9D3DB; padding: 3rem 0; font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 1.75rem; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: auto 1fr; align-items: center; gap: 3rem; } }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ivory); }
.footer-brand img { width: 2.2rem; }
.footer-brand .brand-name { font-size: 1.25rem; }
.footer-mark { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ivory); margin: 0; max-width: 34rem; line-height: 1.4; }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid rgba(196,161,100,0.35); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(196,161,100,0.6); }
