:root {
  --bg: #FAF9F6; --ink: #14202E; --muted: #4A5563; --rule: #DDD9CF; --accent: #EDC160;
  --navy: #060D17; --green: #18221E;
  --display: "Playfair Display", Georgia, serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.1875rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: #B98A1F; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.wrap { max-width: 70rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.read { max-width: 47rem; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 10; background: var(--bg); padding: 0.6rem 1rem; }

.site-header { border-bottom: 3px solid var(--accent); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.75rem; min-height: 44px; padding-top: 0.5rem; text-decoration: none; font: 700 1.5rem var(--display); }
.brand span { font: 400 0.95rem var(--body); color: var(--muted); }
.site-header ul { display: flex; flex-wrap: wrap; column-gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.site-header li { margin: 0; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; border-bottom: 3px solid transparent; }
.site-header nav a:hover { border-bottom-color: var(--rule); }
.site-header nav a[aria-current] { font-weight: 700; border-bottom-color: var(--accent); }

.hero { padding-top: 2.25rem; padding-bottom: 2rem; }
.hero h1 { max-width: 48rem; }
.hero p { max-width: 47rem; margin: 1rem 0 0; font-size: 1.125rem; }
.draft { border: 2px dashed #9A6A00; background: #FFF8E6; border-radius: 4px; padding: 0.6rem 0.9rem; }
.draft::before { content: "Draft: not in the live build until you approve it"; display: block; font-size: 0.75rem; font-weight: 700; color: #7A5300; }

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0.6rem 1.15rem; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; border-radius: 4px; border-bottom: 3px solid var(--accent); }
.btn:hover { background: #24344A; }
.band .btn { background: var(--accent); color: var(--ink); border-bottom-color: #B98F2F; }
.actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.status { display: inline-block; padding: 0.2rem 0.7rem; border: 2px solid currentColor; border-radius: 4px; font-weight: 700; font-size: 0.95rem; }
.status.limited { border-style: dashed; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; }
.card { display: flex; flex-direction: column; scroll-margin-top: 4rem; }
.stage { display: flex; justify-content: center; align-items: center; gap: 0.75rem; height: 17rem; padding: 0.9rem; border-radius: 6px; background: var(--navy); overflow: hidden; }
.stage.green { background: var(--green); }
.stage img { max-height: 100%; width: auto; border: 1px solid #FFFFFF33; border-radius: 4px; }
.card h2 { font-size: 1.5rem; margin: 1rem 0 0.4rem; }
.card h2 a { text-decoration: none; }
.card .meta { color: var(--muted); font-size: 0.95rem; }
.card .actions-row { margin-top: auto; align-content: flex-start; min-height: 6.5rem; }

.section { padding-top: 3rem; padding-bottom: 3rem; border-top: 1px solid var(--rule); }
.section h2 { margin-bottom: 1rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
.entry { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.entry h2, .entry h3 { font-size: 1.3rem; margin: 0; }
.entry p { margin: 0.25rem 0 0; color: var(--muted); }
/* a label, not a button: no box */
.entry .status { white-space: nowrap; font-size: 0.95rem; padding: 0.25rem 0 0; border: 0; border-radius: 0; color: var(--muted); }
.block .read > h2 { margin-bottom: 0.75rem; }

.band { background: var(--navy); color: #FAF9F6; padding: 3rem 0; }
.band.green { background: var(--green); }
.band a { color: #FAF9F6; }
.band a.btn { color: var(--ink); }
.split { display: grid; grid-template-columns: 20rem 1fr; grid-template-areas: "head media" "info media"; grid-template-rows: auto 1fr; column-gap: 2.5rem; }
.split .head { grid-area: head; }
.split .info { grid-area: info; }
.split .media { grid-area: media; align-self: center; }
.band h1 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.facts { margin: 1.25rem 0 0; border-top: 1px solid #FFFFFF40; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid #FFFFFF40; font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.media { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2rem; }
figure { margin: 0; }
.media figure { width: min(100%, 18.75rem); }
.media figure.landscape { width: 100%; max-width: 46rem; }
figure a { display: block; }
figure img { width: 100%; border: 1px solid #FFFFFF33; border-radius: 6px; }
figcaption { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.5; opacity: 0.85; }
figcaption a { display: inline-block; white-space: nowrap; padding: 0.15rem 0; }

.block { padding-top: 2.75rem; }
.decisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.decisions li { margin: 0; }
.decisions .n { display: inline-block; margin-bottom: 0.6rem; padding-right: 1.25rem; font: 500 1.75rem var(--display); border-bottom: 3px solid var(--accent); }
.decisions h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.tools button { font: inherit; font-size: 0.95rem; min-height: 44px; min-width: 44px; margin-right: 1.25rem; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: #B98A1F; text-decoration-thickness: 2px; text-underline-offset: 3px; }
details { border-top: 1px solid var(--rule); }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; position: relative; padding: 0.75rem 0 0.75rem 1.75rem; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; position: absolute; left: 0.3rem; top: 1.35rem; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
details[open] > summary::before { transform: translateY(-2px) rotate(45deg); }
summary .hl { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
details > .body { padding: 0 0 1rem 1.75rem; }
details > .body > :last-child { margin-bottom: 0; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1.5rem; padding-top: 2.5rem; padding-bottom: 3rem; }

.page { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.page > h1 { margin-bottom: 0.75rem; }
.page h2.sub-head { margin: 2.25rem 0 0.75rem; font-size: 1.5rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1rem 0 0; }
.service { padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--rule); }
.service h3 { font-size: 1.3rem; margin: 0 0 0.35rem; }
.service .lead { font-weight: 700; margin-top: 0; }
.service .fact { margin: 0.6rem 0 0; }
.service ul, .service ol { margin: 0.35rem 0 0; padding-left: 1.25rem; }
.service.draft { padding: 1.25rem 0.9rem 1.5rem; }

.site-footer { background: var(--ink); color: #E8E6DF; padding: 2.5rem 0 2rem; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2rem; color: #E8E6DF; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0; }
.site-footer strong { display: block; font: 700 1.125rem var(--display); color: #fff; margin-bottom: 0.25rem; }

@media (max-width: 52rem) {
  .cards, .two, .decisions { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; grid-template-areas: "head" "media" "info"; grid-template-rows: auto; row-gap: 1.25rem; }
  .card .actions-row { min-height: 0; }
}
@media (max-width: 34rem) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .band h1 { font-size: 1.75rem; }
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .brand span { display: none; }
  /* status sits above the name so the text keeps the full width */
  .entry { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .entry .status { order: -1; padding: 0; }
  .brand { font-size: 1.3rem; }
  .site-header .wrap { padding-bottom: 0.25rem; }
  .site-header ul { column-gap: 1.25rem; font-size: 1rem; }
  .hero { padding-top: 1.5rem; }
  .band { padding: 1.75rem 0; }
  .media { flex-wrap: nowrap; gap: 0.75rem; }
  .media figure { width: 50%; flex: 1 1 0; max-width: 14rem; }
  .media figure.landscape { width: 100%; max-width: none; }
  .stage { height: 15rem; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
  .site-footer a { min-height: 44px; }
}
@media print { .tools, .site-header nav { display: none; } .band { background: none; color: #000; padding: 1rem 0; } .band a { color: #000; } }
