/* Sunderford, Chancery direction: bottle green and brass on cool stone. */
:root {
  --ink: #0E2A26; --ink-2: #163B35; --metal: #B8955A; --metal-hi: #D9C08F;
  --paper: #F2F3EF; --surface: #FFFFFF; --text: #1A2420; --muted: #5A6862; --line: #D4D8CE;
  --on-ink: #F2F3EF; --on-ink-muted: rgba(242, 243, 239, .78); --ink-rule: rgba(184, 149, 90, .32);
  --display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: Cinzel, "Trajan Pro", Georgia, serif;
  --radius: 2px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--metal); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: max(16px, 4vw); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--metal); color: var(--ink); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 16px; }
.selectable { user-select: all; }

.eyebrow { font: 600 12px/1.4 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--metal); margin-bottom: 18px; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--metal-hi); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal { width: 46px; height: 46px; }
.brand-name { font: 600 17px var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--metal-hi); }
.nav { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; color: var(--metal-hi); }

/* Buttons */
.btn { display: inline-block; font: 600 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 16px 26px; border-radius: var(--radius); border: 1px solid var(--metal); background: var(--metal); color: var(--ink); cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--metal-hi); }
.btn-ghost { background: transparent; color: var(--metal-hi); }
.btn-ghost:hover { background: rgba(184, 149, 90, .12); }
.btn-small { padding: 11px 18px; font-size: 12px; }

/* Hero */
.hero { background: radial-gradient(ellipse at 80% 40%, var(--ink-2), var(--ink) 70%); color: var(--on-ink); padding-block: clamp(56px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.hero-page h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 16em; }
.hero .lede { font-size: 19px; color: var(--on-ink-muted); max-width: 34em; margin-block: 26px 36px; }
.hero-page .lede { margin-bottom: 32px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-seal { width: 100%; max-width: 440px; justify-self: end; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head h2 { font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 44px; max-width: 18em; }
.overview { display: grid; gap: 22px; max-width: 46em; font-size: 19px; }
.overview p:first-child { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; }

/* Service list on the homepage */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 32px; align-items: baseline; padding-block: 30px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s; }
.svc-row:hover { padding-left: 14px; }
.svc-row h3 { font-size: 28px; }
.svc-row p { color: var(--muted); min-width: 0; }
.svc-more { font: 600 12px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--metal); white-space: nowrap; }

/* Standards, audiences, and scope grids */
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.standards h3, .scope h3 { font-size: 23px; margin-bottom: 10px; padding-top: 18px; border-top: 2px solid var(--metal); }
.standards p, .scope p { color: var(--muted); font-size: 16px; }
.scope { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }

/* Engagement steps: a real sequence, so they are numbered. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, upper-roman); display: block; font: 600 14px var(--label); letter-spacing: .2em; color: var(--metal); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { background: var(--ink); color: var(--on-ink); padding-block: clamp(64px, 8vw, 110px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-copy h2 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 20px; }
.contact-copy > p { color: var(--on-ink-muted); max-width: 30em; }
.contact-facts { margin: 36px 0 0; display: grid; gap: 18px; }
.contact-facts dt { font: 600 11px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--metal); }
.contact-facts dd { margin: 4px 0 0; }
.mail-panel { display: grid; gap: 18px; justify-items: start; align-self: start; background: var(--ink-2); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--ink-rule); min-width: 0; }
.mail-label { font: 600 11px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--metal); }
.mail-label:not(:first-child) { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--ink-rule); justify-self: stretch; }
.mail-address { font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; color: var(--metal-hi); text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.mail-address:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.mail-hints { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--on-ink-muted); }
.mail-hints li::marker { color: var(--metal); }

/* On the contact page the hero and email section share one green field. */
.hero-page + .contact { padding-top: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--ink-rule); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-block: 64px 40px; }
.footer-brand { display: flex; gap: 20px; align-items: flex-start; max-width: 26em; }
.footer-seal { width: 72px; height: 72px; flex: none; }
.footer-head { font: 600 12px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--metal); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--metal-hi); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid var(--ink-rule); font-size: 13px; }
.footer-est { font-family: var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--metal); }

@media (max-width: 900px) {
  .standards, .steps { grid-template-columns: 1fr 1fr; }
  .scope { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-seal { justify-self: start; max-width: 240px; order: -1; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) {
  .standards, .steps, .scope, .footer-grid { grid-template-columns: 1fr; }
  .nav li:not(:last-child) { display: none; }
  .brand-name { font-size: 15px; letter-spacing: .22em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
