/* hrlo.org archive. Colours and sizes follow source/design-tokens.md (Wix site, Oct 2026).
   Fonts are free (OFL) substitutes for the licensed Wix fonts:
   Barlow Condensed ~ DIN Neuzeit Grotesk; Figtree ~ Avenir / Proxima Nova. */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/figtree-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/figtree-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url(/assets/fonts/figtree-latin-ext-wght-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --page: #daedff;        /* light blue page background */
  --header: #95c6ec;      /* header strip, footer panel */
  --hero: #0c3c60;        /* page-title band */
  --navy: #00305b;        /* text, headings */
  --slate: #313e4f;       /* post reading panel, Track Record tile */
  --bright: #1b99e8;      /* About tile */
  --lavender: #8c88a7;    /* Archive tile */
  --steel: #7392ad;       /* Contact tile */
  --active: #39729b;      /* current nav item */
  --border: #afcbe0;      /* card border */
  --post-text: #eef4fa;
  --post-link: #a9c6de;   /* lightened from Wix's #7392AD for contrast on slate */
  --flag: #d4b26a;        /* "[Added 12.9]" markers, lightened from #B49241 */
  --frame: 1340px;
  --column: 880px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font: 400 16px/1.7 var(--sans);
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 10; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- header */

.site-header { max-width: var(--frame); margin: 0 auto; }
.masthead {
  display: flex; align-items: center; gap: 24px 44px;
  min-height: 96px; padding: 8px 50px;
  background: var(--header);
}
.brand { flex: none; line-height: 0; }
.brand img { width: 154px; height: auto; }
.masthead nav ul { display: flex; flex-wrap: wrap; gap: 4px 54px; margin: 0; padding: 0; list-style: none; }
.masthead nav a {
  color: #2d3a48; font-weight: 600; font-size: 17px; text-decoration: none;
}
.masthead nav a:hover { color: var(--active); }
.masthead nav a[aria-current="page"] { color: var(--active); font-weight: 500; }

.archive-banner {
  margin: 0; padding: 7px 50px;
  background: #f4f9ff; color: var(--navy);
  border-bottom: 1px solid var(--border);
  font-size: 14px; line-height: 1.5;
}
.archive-banner a { white-space: nowrap; }
.archive-label {
  display: inline-block; margin-right: 10px; padding: 0 7px;
  border: 1px solid currentColor; border-radius: 2px;
  font: 600 13px/1.5 var(--display); letter-spacing: .08em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- hero */

.hero { background: var(--hero); color: var(--page); }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px 64px; align-items: center;
  max-width: 1000px; margin: 0 auto; padding: 36px 24px 40px;
}
.hero h1 {
  margin: 0; font: 700 56px/1.15 var(--display); text-transform: uppercase; letter-spacing: .005em;
}
.hero-tagline { margin: 0; font-size: 24px; line-height: 1.65; font-weight: 400; }

/* ---------------------------------------------------------------- main */

main { background: var(--page); }
main.watermark {
  background: var(--page) url(/assets/logo-watermark.svg) no-repeat center 0 / 1800px auto;
}
main.watermark:has(.hero) { background-position: center 190px; }
.content { max-width: calc(var(--column) + 48px); margin: 0 auto; padding: 32px 24px 48px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.6em; }
.prose h2 { margin: 1.6em 0 .4em; font: 500 28px/1.25 var(--display); }
.quote { margin: 0 0 1.6em; font-style: italic; }
.quote p { margin: 0; }
.quote.strong { font-weight: 600; }
.track p strong { font-weight: 600; }
.services { margin: 0 0 1.6em; padding-left: 1.3em; }
.services li { margin-bottom: .2em; }
.inquiries strong { font-weight: 600; }

/* home */
.home { padding-top: 24px; }
.home-logo { display: block; width: 680px; margin: 0 auto 32px; }
.home .prose { max-width: 840px; margin: 0 auto; }
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--frame); margin: 0 auto;
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 350px; padding: 48px 50px 40px;
  color: #fff; text-decoration: none;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; transition: opacity .2s; }
.tile:hover::before, .tile:focus-visible::before { opacity: .8; }
.tile-track-record::before { background: var(--slate); }
.tile-about::before { background: var(--bright); }
.tile-analysis-archive::before { background: var(--lavender); }
.tile-contact::before { background: var(--steel); }
.tile-title { font: 500 27px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.tile-text { margin-top: 18px; max-width: 250px; line-height: 1.6; }
.tile-arrow { width: 64px; height: 26px; margin-top: auto; padding-top: 0; }

/* archive */
.archive section { margin-bottom: 48px; }
.archive section:last-child { margin-bottom: 0; }
.archive h2 { margin: 0 0 6px; font: 500 26px/1.3 var(--display); }
.archive p { margin: 0 0 1em; font-size: 15px; }
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  height: 100%; min-height: 100px; padding: 14px 12px 12px 14px;
  background: var(--page); border: 1px solid var(--border);
  text-decoration: none; transition: background .15s, border-color .15s;
}
.card:hover { background: #fff; border-color: var(--active); }
.card-text { display: flex; flex-direction: column; gap: 10px; }
.card-title { font: 600 16px/1.25 var(--display); }
.card time { font-size: 12px; }
.card img { flex: none; width: 48px; height: 48px; object-fit: cover; }
.hrc-list { display: grid; gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.hrc-card {
  display: grid; grid-template-columns: 200px 1fr; min-height: 180px;
  background: var(--page); border: 1px solid var(--border); text-decoration: none;
  transition: background .15s, border-color .15s;
}
.hrc-card:hover { background: #fff; border-color: var(--active); }
.hrc-card img { width: 100%; height: 100%; object-fit: cover; contain: size; } /* text sets the card height */
.hrc-text { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; }
.hrc-meta { font-size: 12px; }
.hrc-title { font: 500 26px/1.2 var(--display); }
.hrc-excerpt { font-size: 15px; line-height: 1.55; }

/* ---------------------------------------------------------------- post */

.post-wrap { max-width: 988px; margin: 0 auto; padding: 28px 24px 56px; }
.post-back { margin: 0 0 20px; font-size: 15px; }
.post-back a { text-decoration: none; font-weight: 500; }
.post-back a:hover { text-decoration: underline; }
.post {
  padding: 64px 100px 48px;
  background: var(--slate); color: var(--post-text);
  font-size: 18px; line-height: 1.5;
}
.post a { color: var(--post-link); }
.post-meta, .post-updated { margin: 0; font-size: 13px; }
.post h1 { margin: 14px 0 12px; font: 500 42px/1.15 var(--display); color: #fff; }
.post-updated { margin-bottom: 8px; }
.post-body { margin-top: 24px; overflow-wrap: break-word; }
.post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 {
  margin: 1.4em 0 .5em; font-family: var(--display); font-weight: 600; line-height: 1.25; color: #fff;
}
.post-body h2 { font-size: 28px; }
.post-body h3 { font-size: 23px; }
.post-body h4 { font-size: 21px; }
.post-body h5, .post-body h6 { font-size: 19px; }
.post-body h2 strong, .post-body h3 strong, .post-body h4 strong, .post-body h5 strong { font-weight: inherit; }
.post-body p { margin: 0 0 1em; }
.post-body > :first-child { margin-top: 0; }
.post-body ul, .post-body ol { margin: 0 0 1em; padding-left: 1.6em; }
.post-body li > ul, .post-body li > ol { margin: .3em 0 .3em; }
.post-body li.gap { margin-bottom: 1em; }
.post-body .center { text-align: center; }
.post-body h2.center + p.center { margin-top: -.5em; }
.post-body hr { margin: 2em 0; border: 0; border-top: 2px solid #8796aa; }
.post-body blockquote {
  margin: 0 0 1em; padding: 4px 0 4px 20px; border-left: 3px solid var(--post-link); font-style: italic;
}
.post-body figure { margin: 1.5em auto; }
.post-body figure img { display: block; width: 100%; }
.post-body figcaption { padding: 10px 0 0; font-size: 14px; text-align: center; opacity: .9; }
.post-body .flag { color: var(--flag); }
.post-body [id] { scroll-margin-top: 16px; }

/* collapsible lists (Wix "collapsible list" blocks) */
.accordion { margin: 0 0 1em; }
.accordion details { border-bottom: 1px solid #4a5869; }
.accordion summary {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 0;
  cursor: pointer; list-style: none;
  font: 500 24px/1.3 var(--display); color: #fff;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 0 4px;
  border-right: 2px solid #a8b4c3; border-bottom: 2px solid #a8b4c3;
  transform: translateY(-3px) rotate(-45deg); transition: transform .15s;
}
.accordion details[open] > summary::before { transform: translateY(-6px) rotate(45deg); }
.accordion summary strong { font-weight: inherit; }
.accordion .summary-p { font-family: var(--sans); font-size: 18px; }
.details-body { padding: 0 0 12px 31px; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.post-tags li { padding: 3px 12px; background: var(--page); color: var(--navy); font-size: 13px; }
.post-category { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #4a5869; font-size: 13px; }
.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px;
}
.pager a {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 20px;
  background: var(--page); border: 1px solid var(--border); text-decoration: none;
  font: 500 19px/1.25 var(--display);
}
.pager a:hover { background: #fff; border-color: var(--active); }
.pager span { font: 500 13px/1.4 var(--sans); }
.pager-prev { grid-column: 2; text-align: right; }
.pager-next { grid-column: 1; }

/* ---------------------------------------------------------------- footer */

.site-footer { max-width: var(--frame); margin: 25px auto 0; }
.footer-panel {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px 80px; align-items: start;
  padding: 48px 93px 40px; background: var(--header);
}
.footer-col p { margin: 0; line-height: 1.75; }
.footer-head {
  display: inline-block; margin-bottom: 18px;
  font: 500 19px/1.2 var(--display); text-transform: uppercase;
}
.footer-logo { line-height: 0; padding-top: 4px; }
.footer-logo img { width: 184px; }
.copyright { margin: 0; padding: 14px 16px 20px; text-align: center; font-size: 14px; }

/* ---------------------------------------------------------------- narrower screens */

@media (max-width: 1100px) {
  .masthead { padding: 8px 24px; }
  .masthead nav ul { gap: 4px 28px; }
  .archive-banner { padding: 7px 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 300px; }
  .footer-panel { padding: 40px 40px 32px; gap: 32px 40px; }
}

@media (max-width: 800px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 20px 12px; }
  .brand img { width: 120px; }
  .masthead nav ul { gap: 2px 20px; }
  .masthead nav a { font-size: 16px; }
  .archive-banner { padding: 8px 20px; }
  .hero-inner { grid-template-columns: 1fr; padding: 32px 20px; gap: 18px; }
  .hero h1 { font-size: 44px; }
  .hero-tagline { font-size: 20px; line-height: 1.55; }
  .content { padding: 28px 20px 40px; }
  .home-logo { width: 100%; max-width: 480px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hrc-card { grid-template-columns: 1fr; }
  .hrc-card img { aspect-ratio: 16 / 9; height: auto; contain: none; }
  .post-wrap { padding: 20px 0 40px; }
  .post-back { padding: 0 20px; }
  .post { padding: 36px 20px 32px; font-size: 17px; }
  .post h1 { font-size: 34px; }
  .post-body ul, .post-body ol { padding-left: 1.3em; }
  .accordion summary { font-size: 21px; }
  .details-body { padding-left: 12px; }
  .pager { grid-template-columns: 1fr; padding: 0 20px; }
  .pager-prev, .pager-next { grid-column: 1; text-align: left; }
  .footer-panel { grid-template-columns: 1fr; padding: 32px 20px; gap: 24px; }
  .footer-logo { order: -1; }
  .footer-logo img { width: 140px; }
  .site-footer { margin-top: 0; }
}

@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 230px; padding: 32px 24px 28px; }
  .card-grid { grid-template-columns: 1fr; gap: 10px; }
  .card { min-height: 0; align-items: center; }
  .hero h1 { font-size: 38px; }
}

@media print {
  .site-header nav, .tiles, .pager, .site-footer, .post-back { display: none; }
  main, main.watermark { background: #fff; }
  .post { background: #fff; color: #000; padding: 0; }
  .post a, .post h1, .post-body h2, .post-body h3, .post-body h4, .post-body h5 { color: #000; }
  .accordion details > .details-body { display: block; }
}
