@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/source-serif-4.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(fonts/source-serif-4-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/source-sans-3.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(fonts/source-sans-3-italic.woff2) format("woff2"); }

:root {
  --ink: #161C45;        /* hero band, matched to the portrait backdrop */
  --ink-deep: #0D1130;   /* footer, portrait vignette */
  --text: #1B1F2B;
  --muted: #59607A;
  --paper: #FFFFFF;
  --paper-2: #F1F2F5;
  --line: #D3D7E2;
  --tint: #E6EAF5;
  --amber: #B9801E;      /* the tortoiseshell frames; phone number and focus only */
  --amber-deep: #8E6215;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  font-optical-sizing: auto;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 64px); }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: clamp(22px, 2.2vw, 26px); }
h4 { font-size: 20px; }
p { margin: 0 0 1em; max-width: var(--measure); }
p.lead { font-size: clamp(21px, 2vw, 24px); line-height: 1.45; color: var(--text); }
ul, ol { padding-left: 1.2em; max-width: var(--measure); }
li { margin-bottom: 0.4em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); font-family: var(--sans); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; line-height: 1; }
.wordmark small { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0.01em; margin-top: 4px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 12px; text-decoration: none; font-size: 17px; font-weight: 500; border-radius: 4px; }
.site-nav a:hover { background: var(--paper-2); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.site-phone { font-weight: 700; font-size: 19px; text-decoration: none; white-space: nowrap; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 4px; }
.site-phone:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 4px; padding: 8px 12px; font: inherit; font-size: 16px; cursor: pointer; }

@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { display: inline-block; order: 2; }
  .site-phone { order: 3; margin-left: 0; }
  .site-nav { order: 4; flex-basis: 100%; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .site-nav a { padding: 12px 8px; font-size: 18px; }
}
@media (max-width: 420px) { .site-phone { flex-basis: 100%; text-align: center; } }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 1; padding: 16px 22px; border-radius: 4px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-deep); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--paper-2); }
.hero .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn-primary:hover { background: var(--tint); border-color: var(--tint); }
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 0 40px; min-height: 620px; }
.hero-copy { padding: 72px 0 80px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.86); max-width: 52ch; }
.hero .lead { margin-top: 20px; }
.hero-portrait { align-self: stretch; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero-portrait img {
  width: min(100%, 520px); height: auto; max-height: 720px; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%); mask-composite: intersect;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-portrait { order: -1; padding-top: 24px; }
  .hero-portrait img { width: min(70vw, 380px); max-height: 460px; }
  .hero-copy { padding: 8px 0 56px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-2); }
.section-title { max-width: 26ch; margin-bottom: 0.7em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col-wide { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.sticky { position: sticky; top: 24px; }
@media (max-width: 800px) { .two-col, .two-col-wide { grid-template-columns: 1fr; gap: 32px; } .sticky { position: static; } }

/* Service list: hairlines, not cards */
.service-list { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line); }
.service-list li { margin: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { margin-bottom: 0.35em; }
.service-list p { margin: 0; max-width: 46ch; }
.service-list p + p { margin-top: 0.6em; }
@media (max-width: 800px) { .service-list { grid-template-columns: 1fr; } }

/* Credentials plate */
.plate { font-family: var(--sans); font-size: 17px; line-height: 1.45; border-top: 2px solid var(--ink); margin-top: 8px; }
.plate div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plate dt { color: var(--muted); font-weight: 500; margin: 0; }
.plate dd { margin: 0; }
@media (max-width: 520px) { .plate div { grid-template-columns: 1fr; gap: 2px; } }

/* Portrait figures */
figure { margin: 0; }
figcaption { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.portrait img { width: 100%; border-radius: 4px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: none; }
.quotes blockquote { margin: 0; padding-top: 20px; border-top: 2px solid var(--ink); }
.quotes p { font-size: 20px; line-height: 1.5; }
.quotes cite { font-family: var(--sans); font-style: normal; font-size: 16px; color: var(--muted); }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; gap: 28px; } }
.quote-long blockquote { margin: 0 0 40px; padding: 0 0 40px; border-bottom: 1px solid var(--line); max-width: var(--measure); }
.quote-long blockquote:last-child { border-bottom: 0; }
.quote-long cite { font-family: var(--sans); font-style: normal; font-size: 16px; color: var(--muted); display: block; margin-top: 8px; }

/* Visit / hours */
.hours { font-family: var(--sans); font-size: 18px; border-collapse: collapse; width: 100%; max-width: 380px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.hours th { color: var(--muted); width: 50%; padding-right: 16px; }
.hours td { white-space: nowrap; }
.contact-list { font-family: var(--sans); font-size: 18px; list-style: none; padding: 0; margin: 0; }
.contact-list li { margin: 0 0 18px; }
.contact-list .label { display: block; color: var(--muted); font-size: 15px; margin-bottom: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.big-phone { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, 4vw, 40px); text-decoration: none; color: var(--ink); letter-spacing: -0.01em; }
.big-phone:hover { color: var(--amber-deep); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 4px; background: var(--paper-2); }

/* Team */
.team { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.team li { margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.team img { width: 160px; height: 160px; object-fit: cover; border-radius: 4px; }
.team h3 { margin-bottom: 0.15em; }
.team .role { font-family: var(--sans); color: var(--muted); font-size: 16px; margin-bottom: 0.7em; }
.team p { font-size: 18px; }
@media (max-width: 800px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .team li { grid-template-columns: 1fr; } .team img { width: 100%; height: auto; aspect-ratio: 1; } }

/* Forms page */
.doc-list { list-style: none; padding: 0; margin: 0; max-width: var(--measure); border-top: 1px solid var(--line); }
.doc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; text-decoration: none; font-family: var(--sans); font-size: 19px; font-weight: 500; }
.doc-list a:hover { color: var(--amber-deep); }
.doc-list small { font-weight: 400; color: var(--muted); white-space: nowrap; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.4em; margin-bottom: 0.8em; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0.1em; font-family: var(--sans); font-weight: 600; width: 1.6em; height: 1.6em; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 0.85em; }

/* Contact form */
.form { font-family: var(--sans); max-width: 520px; }
.form label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 18px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; margin-bottom: 18px; color: var(--text); }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: 3px solid var(--amber); outline-offset: 2px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 15px; color: var(--muted); margin-top: 12px; }
.form-status { font-family: var(--sans); font-size: 17px; margin-top: 14px; padding: 12px 14px; border-radius: 4px; background: var(--tint); display: none; }
.form-status.show { display: block; }

/* Page intro */
.page-intro { padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 20ch; }
.page-intro p.lead { color: var(--muted); }

/* Photos strip */
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: none; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,0.85); font-family: var(--sans); font-size: 16px; padding: 56px 0 40px; margin-top: clamp(32px, 6vw, 72px); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .wordmark { color: #fff; }
.site-footer p { font-size: 16px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 20px; margin-top: 12px; color: rgba(255,255,255,0.6); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
