/* ── Tokens ── */
:root {
  --slate:    #1B2B3C;
  --blue:     #0075BA;
  --amber:    #E89E1A;
  --parchment:#F5F1EB;
  --steel:    #7A8D9D;
  --night:    #111820;
  --white:    #ffffff;
  --rule:     #DDD8CE;
  --surface:  #EDE8DF;
  --text:     #1B2B3C;
  --muted:    #5C6E7A;

  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-serif: var(--font-sans);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--parchment);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.site-nav {
  background: var(--night);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--amber);
  overflow: visible;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  align-self: flex-start;
  height: 60px;
  gap: 14px;
  text-decoration: none;
}
.nav-badge {
  width: 90px;
  height: 90px;
  background: #ddeef8;
  border: 3px solid #3A7FCA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start; /* top-align so it bleeds down into hero */
}
.nav-badge img {
  width: 44px;
  height: 56px;
  margin-left: 5px; /* mark artwork has 5 units of empty space on its right */
}
.nav-logo-name {
  font-family: 'Raleway', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--parchment);
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(235,229,215,0.7);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--parchment); }
.nav-links a.active {
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--parchment);
  border-radius: 2px;
  transition: opacity 0.2s;
}

/* ── Layout ── */
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--slate);
  color: var(--white);
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--slate);
}
.btn-outline:hover { background: var(--slate); color: var(--white); }

/* ── Hero ── */
.hero {
  background: var(--parchment);
  padding: 80px 24px 88px;
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-rule {
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin-bottom: 28px;
  border-radius: 2px;
}

/* ── Section ── */
.section {
  padding: 72px 24px;
}
.section-alt { background: var(--white); }
.section-dark {
  background: var(--night);
  color: var(--parchment);
}
.section-inner {
  max-width: 960px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate);
  margin-bottom: 16px;
}
.section-dark h2 { color: var(--parchment); }
.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
}
.section-dark .section-lead { color: rgba(235,229,215,0.65); }

/* ── Service cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px 24px;
}
.section-alt .card { background: var(--white); border-color: var(--rule); }
.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--blue);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
  line-height: 1.25;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.card-link:hover { text-decoration: underline; }

/* ── Page header ── */
.page-header {
  background: var(--parchment);
  padding: 56px 24px 52px;
  border-bottom: 1px solid var(--rule);
}
.page-header-inner {
  max-width: 960px;
  margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
}
.page-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
}

/* ── Service detail rows ── */
.service-row {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: 6px;
}
.service-icon {
  margin-top: 20px;
  opacity: 0.85;
  display: flex;
  justify-content: center;
}
.service-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}
.service-content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}
.service-content p + p { margin-top: 12px; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.about-body p {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.75;
}
.about-body p + p { margin-top: 16px; }
.about-aside {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px;
}
.about-aside-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}
.about-aside ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-aside li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.about-aside li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

/* ── Contact form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.contact-intro p {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.7;
}
.contact-intro p + p { margin-top: 14px; }
.contact-detail {
  margin-top: 28px;
  font-size: 14px;
  color: var(--steel);
}
.contact-detail a { color: var(--blue); }
.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 32px 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--slate);
  background: var(--parchment);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── CTA band ── */
.cta-band {
  background: var(--slate);
  padding: 64px 24px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 16px;
  color: rgba(235,229,215,0.65);
  margin-bottom: 32px;
}
.btn-parchment {
  background: var(--parchment);
  color: var(--slate);
}
.btn-parchment:hover { opacity: 0.9; }

/* ── Footer ── */
.site-footer {
  background: var(--night);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-logo-name {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--parchment);
}
.footer-tagline {
  font-size: 11.5px;
  color: rgba(235,229,215,0.4);
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: rgba(235,229,215,0.5);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--parchment); }
.footer-copy {
  font-size: 12px;
  color: rgba(235,229,215,0.3);
  width: 100%;
  margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--night);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0 16px;
  }
  .nav-links.open li a {
    display: block;
    padding: 10px 24px;
  }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 56px 24px 64px; }
}
@media (max-width: 480px) {
  .cards { gap: 14px; }
}

/* ── Legal pages (privacy policies) ── */
.legal { max-width: 760px; }
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.75;
}
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--blue); }
.legal strong { color: var(--text); }
.legal .legal-meta { font-size: 14px; color: var(--steel); margin-bottom: 32px; }
.legal-table-wrap { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  line-height: 1.5;
}
.legal th { color: var(--text); font-weight: 600; background: var(--surface); }
.legal .legal-list { list-style: none; padding: 0; margin-top: 0; }
.legal-list li {
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 8px;
  padding: 18px 20px;
}
.legal-list li a { font-weight: 600; font-size: 17px; text-decoration: none; }
