/* Webley Development. Orange HTML5-shield palette: shield orange, lighter right panel, near-black ink on cool grey. */
:root {
  --paper: #EDEDED;
  --ink: #1A1A1A;
  --muted: #575757;
  --line: #CDCDCD;
  --orange: #E44D26;
  --orange-lt: #F16529;
  --accent-text: #C23D1A;
  --on-orange: #1A1A1A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141414;
    --ink: #EDEDED;
    --muted: #A6A6A6;
    --line: #2C2C2C;
    --accent-text: #F16529;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Display type: Anton, one weight, set in capitals like the logo. */
h1, h2, h3, .brand, .mail, .terms strong {
  font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
}

/* The shield: used as the bullet, the brand mark and the hero. */
.mark, h2::before {
  content: "";
  display: inline-block;
  width: .72em; height: .86em;
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--orange-lt) 50% 100%);
  clip-path: polygon(0 0, 100% 0, 92% 80%, 50% 100%, 8% 80%);
}

/* Top bar */
.site {
  position: sticky; top: 0; z-index: 20;
  padding: 16px 0;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; text-decoration: none; line-height: 1; }
.brand:hover { color: inherit; }
.brand .mark { width: 18px; height: 22px; }
.site nav { display: flex; gap: 28px; font-weight: 600; font-size: 17px; }
.site nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site nav a:hover, .site nav a[aria-current] { color: inherit; border-bottom-color: var(--orange); }

/* Hero */
.hero { padding: 56px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  gap: 40px 64px;
  align-items: start;
}
.shield {
  container-type: inline-size;
  aspect-ratio: 5 / 6;
  width: 100%;
  display: grid;
  place-items: center;
  padding-bottom: 12%;
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--orange-lt) 50% 100%);
  clip-path: polygon(0 0, 100% 0, 92% 80%, 50% 100%, 8% 80%);
}
.shield span {
  font-family: "Anton", Impact, sans-serif;
  font-size: 92cqw;
  line-height: .8;
  color: rgba(255, 255, 255, .82);
}
.copy { container-type: inline-size; min-width: 0; }
.status {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--muted);
  margin: 0 0 28px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange);
  animation: ping 2.8s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 14px transparent; }
}
h1 {
  margin: 0;
  font-size: clamp(40px, 18cqw, 170px);
  line-height: .94;
}
h1 span { display: block; }
.lede {
  max-width: 30em;
  margin: 32px 0 0;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.38;
  font-weight: 500;
}
.hero--about .shield { max-width: 260px; }
.hero--about h1 { font-size: clamp(48px, 26cqw, 170px); }

/* Sections */
section { padding: 80px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; }
.grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px 48px; }
h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  display: flex; align-items: center; gap: 12px;
  align-self: start;
}
h2::before { width: 16px; height: 19px; flex: none; }
.body p { margin: 0 0 1.1em; max-width: 36em; }
.body p:last-child { margin-bottom: 0; }
.body h3 { font-size: 26px; margin: 1.6em 0 .3em; }

.work, .terms { list-style: none; margin: 0; padding: 0; }
.work li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.work li:first-child { padding-top: 0; }
.work li:last-child { border-bottom: 0; padding-bottom: 0; }
.work h3 { margin: 0 0 6px; font-size: 32px; line-height: 1.05; }
.work h3 a { text-decoration: none; }
.work h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--orange); color: inherit; }
.work p { margin: 0; max-width: 36em; color: var(--muted); }

.terms li { padding: 20px 0; border-bottom: 1px solid var(--line); max-width: 36em; }
.terms li:first-child { padding-top: 0; }
.terms li:last-child { border-bottom: 0; padding-bottom: 0; }
.terms strong { display: block; font-size: 26px; line-height: 1.1; margin-bottom: 4px; }

/* Contact: one solid band of shield orange. */
.contact { background: var(--orange); color: var(--on-orange); border-top: 0; padding: 96px 0 104px; }
.contact a:focus-visible { outline-color: var(--on-orange); }
.contact h2::before { background: var(--on-orange); }
.contact .grid { grid-template-columns: 1fr; gap: 28px; }
.mail {
  display: inline-block;
  font-size: clamp(22px, 5.5vw, 74px);
  line-height: 1.05;
  text-transform: none;
  color: var(--on-orange);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mail:hover { color: #fff; }
.note { margin: 22px 0 0; max-width: 34em; font-weight: 500; }

footer { padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; justify-content: space-between; }
footer .logo { height: 54px; width: auto; display: block; }
footer p { margin: 0; }
footer .links { display: flex; gap: 8px 24px; flex-wrap: wrap; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .site nav { gap: 18px; font-size: 16px; }
  .brand { font-size: 19px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .shield { max-width: 260px; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  section { padding: 56px 0; }
  .contact { padding: 64px 0 72px; }
}
@media (max-width: 420px) {
  .brand span.t { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Key facts, written for a journalist to lift from. */
.facts { margin: 0; max-width: 40em; }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 760px) { .facts div { grid-template-columns: 1fr; } }

/* Space between a short intro and the list that follows it. */
.body + .work { margin-top: 36px; }

/* Headline starts level with the top of the shield (grid is top-aligned). */


/* Hero copy runs as a few short lines. */
.lede + .lede { margin-top: 16px; }
.lede strong { font-weight: 600; }

/* Inner pages: compact hero, long headline, plain lists. */
.hero--long h1 { font-size: clamp(40px, 18cqw, 170px); }
.lede a { text-underline-offset: 5px; }
.plain { list-style: none; margin: 0 0 1.1em; padding: 0; max-width: 36em; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain li:first-child { padding-top: 0; }
.plain li:last-child { border-bottom: 0; }
