/* ============================================================
   Venturis Management — site styles
   Palette: mist paper / spruce ink / verdigris accent
   Type:    Newsreader (display) + Archivo (body & UI)
   ============================================================ */

:root {
  --paper: #f3f5f3;
  --card: #fbfcfb;
  --ink: #212b27;
  --muted: #5c6b64;
  --accent: #396758;
  --accent-deep: #2a4f44;
  --line: #d7dfda;
  --line-strong: #b9c6c0;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1060px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Masthead (letterhead motif) ---------- */

.masthead { background: var(--paper); }

.masthead-rule {
  height: 3px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 14px 24px 0;
}
.masthead-rule.thin {
  height: 0;
  border-bottom: none;
  border-top: 1px solid var(--line-strong);
  margin-top: 0;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-seal { width: 40px; height: 40px; color: var(--accent-deep); flex: none; }
.brand-word {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-sub {
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.site-nav .nav-cta {
  color: var(--accent-deep);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  padding: 7px 18px;
}
.site-nav .nav-cta:hover { background: var(--accent-deep); color: #fff; }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0;
}
h1 em, .motto em {
  font-style: italic;
  color: var(--accent-deep);
}
h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

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

.hero { padding: 84px 0 56px; }

.hero-inner { max-width: 780px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  margin-bottom: 22px;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 30px;
}

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

.button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent-deep);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  padding: 12px 26px;
  transition: background-color 160ms ease, color 160ms ease;
}
.button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.ghost {
  background: transparent;
  color: var(--accent-deep);
}
.button.ghost:hover { background: var(--accent-deep); color: #fff; }

.fact-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 56px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.fact-strip li {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.fact-strip li:last-child { border-right: none; margin-right: 0; padding-right: 0; }

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

.section { padding: 72px 0; }

.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.divider { display: flex; align-items: center; gap: 14px; }
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.divider span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Cards (services) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent-deep);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
}
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.section-note {
  margin: 26px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.steps p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.motto {
  margin: 60px auto 0;
  max-width: 620px;
  text-align: center;
}
.motto p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  margin: 0;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.about-grid .section-head { margin-bottom: 0; }
.about-copy p { margin: 0 0 18px; color: var(--muted); }
.about-copy p:first-child {
  color: var(--ink);
  font-size: 1.08rem;
}
.about-copy p:last-child { margin-bottom: 0; }

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

.contact { padding-bottom: 96px; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.contact-main h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 14px; }
.contact-main p { color: var(--muted); max-width: 460px; margin: 0 0 26px; }
.contact-main .button { text-transform: none; letter-spacing: 0.02em; }

.contact-details {
  font-style: normal;
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.contact-details p { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.detail-label {
  font-size: 0.76rem !important;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 6px !important;
}

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

.footer {
  border-top: 1px solid var(--line-strong);
  padding: 40px 0 48px;
}
.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 820px;
  margin: 0 0 26px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted);
}
.footer-row p { margin: 0; }
.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--ink); }

/* ---------- Terms page ---------- */

.legal-page { padding: 64px 0 96px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 40px; }
.legal-page h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
}
.legal-page p { color: var(--muted); margin: 0 0 16px; }
.back-link { display: inline-block; margin-bottom: 32px; font-size: 0.9rem; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .contact-details { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .hero { padding-top: 56px; }
  .masthead-inner { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .fact-strip { flex-direction: column; gap: 8px; }
  .fact-strip li { border-right: none; padding-right: 0; margin-right: 0; }
}
