/* Strandworks Medical Resources: wildfire-first site, October 2026.
   Brand: "Field Office" (ADVERTISING/Strandworks-Medical-Resources/Brand/brand-guide.md).
   Ink, Slate, Rust, Grey, Paper; Source Serif 4 headings, Inter body. Rust is the single accent. */

:root {
  --ink: #14202B;
  --slate: #2E4A63;
  --rust: #A33C10;
  --grey: #8A9199;
  --paper: #F4F6F7;
  --white: #FFFFFF;
  --mist: #E7EBEE;
  --muted: #4A5A68; /* body-secondary text, 7.0:1 on Paper */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: "tnum" 0;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; }

/* Header */
.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
  padding: 20px var(--gutter);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.site-head .brand img { height: 44px; width: auto; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--rust); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--rust); }

/* Page frame */
main { padding: 0 var(--gutter); }
.wrap { max-width: 1120px; margin: 0 auto; }
.prose { max-width: var(--measure); }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--mist); }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; }
h1 { font-weight: 700; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -0.012em; max-width: 17ch; }
h2 { font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 22px; max-width: var(--measure); }
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; margin: 28px 0 8px; color: var(--slate); }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink); max-width: 58ch; margin-top: 22px; }
.note { color: var(--muted); font-size: 14px; }
ul.plain { padding-left: 1.1em; margin: 0 0 16px; }
ul.plain li { margin-bottom: 6px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 40px; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); } }

/* Plate: the brand's nameplate, used for the home summary and the training callouts */
.plate {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 22px 24px 20px;
  position: relative;
}
.plate::after { /* rust hairline, as in the mark */
  content: ""; position: absolute; left: 24px; right: 24px; top: 58px; height: 1px; background: var(--rust);
}
.plate h2 { font-size: 20px; border: 0; padding: 0; margin: 0 0 26px; }
.plate dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 15px; }
.plate dt { color: var(--muted); }
.plate dd { margin: 0; font-weight: 500; }

/* Two-column facts */
.facts { display: grid; gap: 0 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts > div { padding: 4px 0 8px; }

/* Tables */
table { border-collapse: collapse; width: 100%; max-width: 820px; background: var(--white); font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--mist); }
thead th { background: var(--mist); color: var(--slate); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
tbody th { font-weight: 600; width: 34%; }
.table-scroll { overflow-x: auto; }

/* Links forward */
.next { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ink); max-width: 980px; }
@media (min-width: 820px) { .next { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next a { display: block; padding: 18px 20px 20px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--mist); }
@media (min-width: 820px) { .next a { border-bottom: 0; border-right: 1px solid var(--mist); padding-left: 20px; } .next a:first-child { padding-left: 0; } .next a:last-child { border-right: 0; } }
.next strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.next span { color: var(--muted); font-size: 15px; }
.next a:hover strong { color: var(--rust); }

.button {
  display: inline-block; background: var(--rust); color: var(--white); text-decoration: none;
  font-weight: 600; padding: 12px 20px; border: 2px solid var(--rust);
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Footer */
.site-foot { margin-top: 40px; background: var(--ink); color: var(--paper); padding: 36px var(--gutter) 40px; }
.site-foot .wrap { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .site-foot .wrap { grid-template-columns: auto 1fr auto; align-items: start; } }
.site-foot img { height: 40px; width: auto; }
.site-foot p { margin: 0 0 6px; font-size: 14px; color: #D5DBE0; }
.site-foot a { color: var(--paper); }
.site-foot a:hover { color: #F2B79C; }

@media print {
  @page { size: letter; margin: 0.5in; }
  body { background: var(--white); font-size: 10.5pt; }
  .site-head nav, .site-foot, .skip, .no-print { display: none !important; }
  .site-head { border-bottom: 2px solid var(--ink); padding: 0 0 8px; }
  main { padding: 0; }
  section { padding: 14px 0; }
  h1 { font-size: 22pt; max-width: none; }
  h2 { font-size: 13pt; margin-bottom: 8px; padding-bottom: 4px; }
  table { font-size: 9.5pt; }
  th, td { padding: 4px 8px; }
  a { color: var(--ink); text-decoration: none; }
}

/* Training callouts */
.callouts { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.callouts .plate::after { display: none; }
.callouts .plate h2 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rust); }
.callouts .plate p { margin: 0; }

/* Inquiry forms */
.inquiry { margin-top: 28px; max-width: 640px; }
.inquiry .row { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .inquiry .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.inquiry label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--slate); }
.inquiry input, .inquiry select, .inquiry textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 400 16px/1.4 var(--sans);
  color: var(--ink); background: var(--white); border: 1px solid var(--grey); border-radius: 0;
}
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { border-color: var(--ink); }
.inquiry .button { font: 600 16px var(--sans); cursor: pointer; }
.hp { position: absolute; left: -9999px; }

/* Availability notice */
.notice { margin: 24px 0 0; padding: 14px 18px; max-width: 58ch; background: #FBEDE6; border: 2px solid var(--rust); color: var(--rust); font-size: 17px; }
