/* PaSys Technology — "navy" scheme. Swap these values for another scheme. */
:root {
  --bg: #F4F7F9;
  --surface: #FFFFFF;
  --ink: #0F2A4A;
  --muted: #4A5B70;
  --rule: #D5DEE6;
  --accent: #0B7372;      /* cyan, darkened for small text on light backgrounds */
  --cyan: #2CBCBC;        /* logo cyan */
  --btn-bg: #2CBCBC;
  --btn-text: #0F2A4A;
  --band: #0F2A4A;
  --band-text: #F4F7F9;
  --band-muted: #A9BACB;
  --band-rule: #23436A;
  --field-border: #7F8FA3;
  --serif: "Fraunces", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bg); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .crest { height: 48px; width: auto; }
.brand .wordmark { height: 32px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a:not(.btn) {
  padding: 12px 0; text-decoration: none; font-weight: 600;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: var(--cyan); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-cyan { background: var(--cyan); color: var(--band); }
.btn-outline-light { border: 1px solid var(--band-text); color: var(--band-text); }
.btn:hover { filter: brightness(1.05); }
.btn svg { width: 18px; height: 18px; }

/* Type */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.display, .title, .serif { font-family: var(--serif); font-weight: 500; }
.display { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.0; letter-spacing: -0.03em; }
.title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.lead { max-width: 580px; font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
.num { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.small { font-size: 15px; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 112px); }
.surface { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 56px; }
.row-end { align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(48px, 6vw, 80px); align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-figure { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.hero-figure figcaption { font-size: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Facts strip */
.facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ink); padding-bottom: clamp(56px, 7vw, 96px); }
.facts div { flex: 1 1 220px; padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; }
.facts span { color: var(--muted); }

/* Practices */
.practices { display: flex; flex-wrap: wrap; gap: 40px; }
.practice { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--ink); }
.practice h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; }
.rules { padding: 0; list-style: none; }
.rules li { padding: 12px 0; border-top: 1px solid var(--rule); }
.rules li:last-child { border-bottom: 1px solid var(--rule); }
.link-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-underline-offset: 6px; }
.link-arrow svg { width: 18px; height: 18px; }

/* Deliverables */
.deliver { flex: 2 1 560px; min-width: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; column-gap: 40px; counter-reset: d; }
.deliver li { flex: 1 1 260px; display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); font-weight: 600; counter-increment: d; }
.deliver li::before { content: counter(d, decimal-leading-zero); font-family: var(--serif); font-weight: 400; color: var(--accent); }

/* Steps */
.steps { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 32px; counter-reset: s; }
.steps li { flex: 1 1 230px; display: flex; flex-direction: column; gap: 12px; counter-increment: s; }
.steps li::before {
  content: counter(s); width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px;
}
.steps h3 { font-size: 20px; font-weight: 700; }

/* Dark band + footer */
.band { background: var(--band); color: var(--band-text); }
.band .section { padding-block: clamp(64px, 9vw, 128px); }
.band .display { font-size: clamp(40px, 5.6vw, 76px); }
.band .lead { color: var(--band-muted); }
.site-footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-rule); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; padding-block: 48px; }
.site-footer a { color: var(--band-text); }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand div { display: flex; align-items: center; gap: 14px; }
.footer-brand .crest { height: 64px; width: auto; }
.footer-brand .wordmark { height: 30px; width: auto; }
.site-footer address { flex: 1 1 220px; font-style: normal; display: flex; flex-direction: column; gap: 6px; }
.site-footer nav { flex: 0 1 160px; display: flex; flex-direction: column; gap: 6px; }
.copyright { flex: 1 1 100%; padding-top: 24px; border-top: 1px solid var(--band-rule); }

/* Services page */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.wide-photo { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; border-radius: 6px; }
.practice-section { border-top: 1px solid var(--rule); }
.practice-section.surface { border-bottom: 0; }
.practice-intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.practice-intro h2 { font-size: clamp(32px, 3.6vw, 48px); }
.cards { flex: 2 1 600px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; padding: 28px;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--surface);
}
.surface .card { background: var(--bg); }
.card h3 { font-size: 20px; font-weight: 700; }
.card a { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }

/* Contact page */
.contact-info { border-top: 1px solid var(--ink); }
.contact-info div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-info dt {
  flex: 0 0 120px; display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.contact-info dt svg { width: 18px; height: 18px; }
.contact-info dd { font-weight: 600; }
.contact-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.form-card { flex: 1 1 460px; min-width: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(24px, 4vw, 44px); }
.form { display: flex; flex-direction: column; gap: 20px; }
.form h2 { font-size: 32px; letter-spacing: -0.01em; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row label { flex: 1 1 200px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--field-border); border-radius: 6px;
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 400;
}
.form textarea { padding-block: 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; }
.form .btn { justify-content: center; }
.form-note { font-size: 15px; color: var(--muted); }
.form-note a { font-weight: 600; color: var(--accent); }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 6px; background: var(--bg); border: 1px solid var(--rule); font-size: 15px; }
.hp { position: absolute; left: -9999px; }

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