/* --- 00-tokens.css --- */
/* ============================================================
   Design tokens. The ONLY file that may contain colour values.
   Direction: modern clinical — clean blues on white, real
   containers, medical rather than editorial-minimal.
   ============================================================ */
:root {
  color-scheme: light;

  /* --- Colour ------------------------------------------------ */
  --jh-bg:         #FFFFFF;   /* white ground                     */
  --jh-surface:    #F2F8FC;   /* pale clinical blue, section fill */
  --jh-surface-2:  #E3EFF8;   /* stronger fill, badges, hovers    */
  --jh-lead:       #7FB2D4;   /* light clinical blue              */
  --jh-accent:     #0E5B8A;   /* the medical blue: links, CTA     */
  --jh-accent-hi:  #0A4568;   /* hover                            */
  --jh-ink:        #10394F;   /* headings                         */
  --jh-text:       #16202A;
  --jh-text-mut:   #5A6B78;
  --jh-line:       #DCE8F0;   /* card and divider borders         */
  --jh-line-str:   #C2D8E6;
  --jh-focus:      #0E5B8A;
  --jh-error:      #A63232;
  --jh-ok:         #1E7A5A;

  /* --- Elevation and shape ----------------------------------- */
  --radius:    14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 57, 79, .04), 0 2px 8px rgba(16, 57, 79, .05);
  --shadow-md: 0 2px 4px rgba(16, 57, 79, .05), 0 10px 28px rgba(16, 57, 79, .08);

  /* --- Glass ------------------------------------------------- */
  --glass-fill:      rgba(255, 255, 255, .72);
  --glass-fill-dark: rgba(16, 57, 79, .55);
  --glass-tile:      rgba(255, 255, 255, .55);
  --glass-header:    rgba(255, 255, 255, .78);
  --glass-edge:      rgba(255, 255, 255, .55);
  --glass-edge-dark: rgba(255, 255, 255, .18);
  --glass-sheen:     rgba(255, 255, 255, .65);
  --glass-shadow:    0 8px 32px rgba(16, 57, 79, .12);

  /* --- Type -------------------------------------------------- */
  --jh-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --jh-sans:  "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  clamp(2.1rem, 3.8vw, 3rem);
  --fs-hero: clamp(2.4rem, 4.8vw, 3.75rem);

  --lh-tight: 1.14;
  --lh-snug:  1.35;
  --lh-body:  1.7;

  --ls-tight: -0.015em;
  --ls-label:  0.09em;
  --ls-mark:   0.16em;

  /* --- Space ------------------------------------------------- */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 5.5rem;
  --sp-8: 7rem;

  /* --- Measure ----------------------------------------------- */
  --wrap-max:   1240px;
  --wrap-pad:   clamp(1.25rem, 5vw, 5rem);
  --measure:    40rem;
  --measure-sm: 32rem;
}

/* --- 10-base.css --- */
/* ============================================================
   Reset and base typography.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--jh-bg);
  color: var(--jh-text);
  font-family: var(--jh-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--jh-serif);
  font-weight: 300;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0; }

a {
  color: var(--jh-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--jh-lead);
  transition: text-decoration-color 160ms ease;
}
a:hover { text-decoration-color: var(--jh-accent); }

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

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0 0 0 1.15rem; }
li { margin: 0 0 var(--sp-1); }
li::marker { color: var(--jh-lead); }

blockquote { margin: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--jh-line);
  margin: var(--sp-6) 0;
}

strong { font-weight: 600; }

table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { text-align: left; padding: var(--sp-1) var(--sp-2) var(--sp-1) 0; border-bottom: 1px solid var(--jh-line); }
th { font-weight: 600; }

::selection { background: var(--jh-surface); }

/* Utility --------------------------------------------------- */
.label {
  font-family: var(--jh-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--jh-text-mut);
}
.measure    { max-width: var(--measure); }
.measure-sm { max-width: var(--measure-sm); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Scroll reveal ----------------------------------------------
   Content must never depend on JavaScript. The hidden state only
   applies where scripting is actually available; without it the
   media query does not match and everything renders as normal. */
@media (scripting: enabled) {
  .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(14px);
  }
}
.reveal {
  transition: opacity 620ms ease, transform 620ms ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- 20-layout.css --- */
/* ============================================================
   Page frame: wrap, header, footer, sections.
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}
.wrap-narrow { max-width: calc(var(--measure) + 2 * var(--wrap-pad)); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--jh-accent); color: var(--jh-bg);
  padding: var(--sp-1) var(--sp-2); z-index: 100;
  border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { left: var(--sp-2); top: var(--sp-2); }

/* --- Header ------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--jh-line);
  background: var(--jh-bg);
  position: sticky; top: 0; z-index: 40;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  min-height: 78px;
  padding-block: var(--sp-2);
}
.brand { display: inline-flex; text-decoration: none; flex: none; }
.brand img { width: 205px; height: auto; display: block; }
.brand:focus-visible { outline-offset: 6px; }

.site-nav { display: flex; align-items: center; gap: var(--sp-3); }
.site-nav__list {
  display: flex; align-items: center; gap: var(--sp-1);
  list-style: none; margin: 0; padding: 0;
}
.site-nav__list li { margin: 0; }
.site-nav__link {
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--jh-text);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: background-color 160ms ease, color 160ms ease;
}
.site-nav__link:hover { background: var(--jh-surface); color: var(--jh-accent); }
.site-nav__link[aria-current="page"] {
  background: var(--jh-surface-2); color: var(--jh-accent); font-weight: 600;
}

.nav-toggle {
  display: none;
  background: var(--jh-bg); border: 1px solid var(--jh-line-str);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--jh-accent); cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--jh-bg);
    border-bottom: 1px solid var(--jh-line);
    box-shadow: var(--shadow-md);
    padding: var(--sp-3) var(--wrap-pad) var(--sp-4);
    flex-direction: column; align-items: stretch; gap: var(--sp-2);
    z-index: 50;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav__link { font-size: var(--fs-md); padding: 0.7rem 0.9rem; }
}

/* --- Sections ----------------------------------------------- */
.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-5); }
.section--surface { background: var(--jh-surface); }
.section--after-hero { padding-block: var(--sp-6) var(--sp-7); }

.section__head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--sp-2);
  max-width: var(--measure); margin-bottom: var(--sp-4);
}
.section__head h2 { color: var(--jh-ink); }
.section__lead { color: var(--jh-text-mut); }

/* --- Footer ------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--jh-line);
  background: var(--jh-surface);
  padding-block: var(--sp-6) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--jh-text-mut);
}
.site-footer__inner {
  display: grid; gap: var(--sp-4);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }

.site-footer__note { max-width: 46ch; margin-top: var(--sp-2); }
.site-footer__links {
  display: flex; gap: var(--sp-3); list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap;
}
.site-footer__links li { margin: 0; }
.site-footer__links a { color: var(--jh-text-mut); }
.site-footer__legal {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--jh-line);
  font-size: var(--fs-xs);
}

.site-footer__logo { width: 210px; height: auto; opacity: .85; }

/* --- 25-glass.css --- */
/* ============================================================
   Liquid glass.
   Frosted layers only ever sit ON something — a photo or a
   coloured field. Over flat white there is nothing to refract
   and the effect just reads as muddy, so it is used sparingly.
   ============================================================ */

.glass {
  background: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-sheen);
}

.glass--dark {
  background: var(--glass-fill-dark);
  border-color: var(--glass-edge-dark);
  color: var(--jh-bg);
}

/* Browsers without backdrop-filter get an honest opaque panel rather than
   a transparent one that would leave the text unreadable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--jh-bg); }
  .glass--dark { background: var(--jh-ink); }
}

/* --- Sticky header goes to glass once the page scrolls ------ */
.site-header {
  background: var(--glass-header);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: box-shadow 240ms ease, background-color 240ms ease;
}
.site-header.is-stuck {
  box-shadow: 0 1px 0 var(--jh-line), 0 6px 24px rgba(16, 57, 79, .07);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--jh-bg); }
}

/* --- Caption plate laid over a photograph -------------------- */
.figure-plate { position: relative; }
.figure-plate img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius);
}
.figure-plate__note {
  position: absolute; left: var(--sp-3); bottom: var(--sp-3);
  right: auto; max-width: 22rem;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 2px;
}
.figure-plate__k {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--jh-accent);
}
.figure-plate__v { font-size: var(--fs-sm); color: var(--jh-text); }
@media (max-width: 560px) {
  .figure-plate__note { left: var(--sp-2); right: var(--sp-2); bottom: var(--sp-2); max-width: none; }
}

/* --- Glass tile for icons ----------------------------------- */
.tile-glass {
  background: var(--glass-tile);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-sheen);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* --- 30-components.css --- */
/* ============================================================
   Components. Real containers: white cards on pale blue,
   soft radii, restrained elevation.
   ============================================================ */

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-1);
  font-family: var(--jh-sans);
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--jh-accent);
  border-radius: var(--radius-pill);
  background: var(--jh-accent); color: var(--jh-bg);
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease,
              transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover {
  background: var(--jh-accent-hi); border-color: var(--jh-accent-hi);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn--ghost {
  background: var(--jh-bg); color: var(--jh-accent);
  border-color: var(--jh-line-str);
}
.btn--ghost:hover {
  background: var(--jh-surface); border-color: var(--jh-lead); color: var(--jh-accent);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; color: var(--jh-accent);
}
.link-arrow::after { content: "\2192"; transition: transform 160ms ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- Badge / pill ------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--jh-surface-2); color: var(--jh-accent);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-label); text-transform: uppercase;
}
.pill--plain { background: var(--jh-surface); color: var(--jh-text-mut); }

/* --- Card base ---------------------------------------------- */
.card-surface {
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* --- Meta line ---------------------------------------------- */
.meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-1) var(--sp-2);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--jh-text-mut);
}
.meta__sep { color: var(--jh-lead); }

/* --- Journal card ------------------------------------------- */
.card-grid {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--jh-line-str);
}
.card__media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--jh-surface); border-bottom: 1px solid var(--jh-line);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-3);
}
.card__title {
  font-family: var(--jh-serif); font-weight: 400;
  font-size: var(--fs-lg); line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight); margin: 0; color: var(--jh-ink);
}
.card__title a { text-decoration: none; color: inherit; }
.card:hover .card__title a { color: var(--jh-accent); }
.card__teaser { color: var(--jh-text-mut); font-size: var(--fs-sm); }

/* --- Service card ------------------------------------------- */
/* Four services: a fixed 2x2. auto-fit gives three columns at this width
   and leaves the fourth card stranded on its own row. */
.service-grid {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 800px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }
.service {
  display: flex; flex-direction: column;
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.service:hover {
  box-shadow: var(--shadow-md); border-color: var(--jh-line-str);
  transform: translateY(-2px);
}
.service__media {
  position: relative; display: block;
  aspect-ratio: 3 / 2; overflow: hidden; background: var(--jh-surface);
}
.service__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.6,.2,1);
}
.service:hover .service__media img { transform: scale(1.03); }
.service__body {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-4); flex: 1;
}
/* The icon rides on the photo as a glass chip. */
.service__icon {
  position: absolute; left: var(--sp-3); bottom: var(--sp-3);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  color: var(--jh-accent);
  display: grid; place-items: center;
}
.service__icon svg { width: 22px; height: 22px; }
.service__name { font-size: var(--fs-xl); color: var(--jh-ink); }
.service__what { color: var(--jh-text-mut); }
.service__facts { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); }
.service__facts li {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--jh-line);
}
.service__facts li:first-child { border-top: 1px solid var(--jh-line); }
.service__facts .k {
  color: var(--jh-text-mut);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-label); text-transform: uppercase;
}
.service__not {
  font-size: var(--fs-sm); color: var(--jh-text-mut);
  background: var(--jh-surface);
  border-radius: var(--radius-sm);
  padding: var(--sp-2); margin-top: auto;
}
.service__not strong { color: var(--jh-ink); }

/* --- Area tiles (what she advises on) ----------------------- */
.area-grid {
  display: grid; gap: var(--sp-2);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.area {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.area:hover { border-color: var(--jh-lead); background: var(--jh-surface); }
.area__icon {
  flex: none; width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--jh-surface-2); color: var(--jh-accent);
  display: grid; place-items: center;
}
.area__icon svg { width: 19px; height: 19px; }
.area__title { font-weight: 600; font-size: var(--fs-base); color: var(--jh-ink); }
.area__body { font-size: var(--fs-sm); color: var(--jh-text-mut); margin-top: 2px; }

/* --- Process ------------------------------------------------ */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: var(--sp-2);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.process__step {
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin: 0;
  display: flex; flex-direction: column; gap: var(--sp-1);
}
.process__num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: var(--radius-pill);
  background: var(--jh-accent); color: var(--jh-bg);
  font-family: var(--jh-sans); font-size: var(--fs-sm); font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--sp-1);
}
.process__body h3 {
  font-size: var(--fs-md); font-family: var(--jh-sans);
  font-weight: 600; letter-spacing: 0; color: var(--jh-ink);
}
.process__body p { color: var(--jh-text-mut); margin-top: var(--sp-1); font-size: var(--fs-sm); }

/* --- Voices ------------------------------------------------- */
.voices { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.voice {
  display: flex; flex-direction: column; gap: var(--sp-2);
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0;
}
.voice__text {
  font-family: var(--jh-serif); font-weight: 400;
  font-size: var(--fs-lg); line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight); color: var(--jh-ink);
}
.voice__who {
  font-size: var(--fs-xs); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--jh-text-mut); font-weight: 600;
}

/* --- Case note ---------------------------------------------- */
.cases { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.case {
  background: var(--jh-bg);
  border: 1px solid var(--jh-line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.case__title { font-size: var(--fs-md); font-weight: 600; color: var(--jh-ink); }
.case__body { color: var(--jh-text-mut); font-size: var(--fs-sm); }

/* --- Article body ------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--sp-3); }
.prose h2 {
  font-size: var(--fs-xl); margin-top: var(--sp-6); color: var(--jh-ink);
}
.prose h3 {
  font-family: var(--jh-sans); font-weight: 600; font-size: var(--fs-md);
  letter-spacing: 0; margin-top: var(--sp-5); color: var(--jh-ink);
}
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: var(--sp-1); }
.prose blockquote {
  background: var(--jh-surface); border-left: 3px solid var(--jh-lead);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--sp-3); color: var(--jh-text);
}

/* Key sentence -------------------------------------------- */
.keynote {
  margin: var(--sp-6) 0;
  padding: var(--sp-4);
  background: var(--jh-surface);
  border: 1px solid var(--jh-line);
  border-left: 4px solid var(--jh-accent);
  border-radius: var(--radius);
  max-width: var(--measure);
}
.keynote__label {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-mark);
  text-transform: uppercase; color: var(--jh-accent); display: block;
  margin-bottom: var(--sp-2);
}
.keynote__text {
  font-family: var(--jh-serif); font-weight: 400;
  font-size: var(--fs-xl); line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight); color: var(--jh-ink);
}

/* Sources ------------------------------------------------- */
.sources {
  max-width: var(--measure); margin-top: var(--sp-6);
  background: var(--jh-surface); border-radius: var(--radius);
  padding: var(--sp-4);
}
.sources__list { list-style: none; padding: 0; margin: var(--sp-2) 0 0; font-size: var(--fs-sm); }
.sources__list li {
  padding-block: var(--sp-1); border-bottom: 1px solid var(--jh-line);
  color: var(--jh-text-mut);
}
.sources__list li:last-child { border-bottom: 0; }
.sources__note { display: block; color: var(--jh-text-mut); }

/* Author box ---------------------------------------------- */
.authorbox {
  display: grid; grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--sp-3); align-items: start;
  max-width: var(--measure); margin-top: var(--sp-5);
  background: var(--jh-bg); border: 1px solid var(--jh-line);
  border-radius: var(--radius); padding: var(--sp-4);
}
@media (max-width: 560px) { .authorbox { grid-template-columns: 64px minmax(0, 1fr); } }
.authorbox__img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-pill); background: var(--jh-surface);
}
.authorbox__name { font-family: var(--jh-serif); font-size: var(--fs-lg); color: var(--jh-ink); }
.authorbox__role {
  font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--jh-accent); margin-top: 2px; font-weight: 600;
}
.authorbox__bio { font-size: var(--fs-sm); color: var(--jh-text-mut); margin-top: var(--sp-2); }

/* --- Form ---------------------------------------------------- */
.form {
  display: grid; gap: var(--sp-3); max-width: var(--measure-sm);
  background: var(--jh-bg); border: 1px solid var(--jh-line);
  border-radius: var(--radius); padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: var(--sp-1); }
.field > label {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--jh-text-mut);
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  font: inherit; font-size: var(--fs-base);
  color: var(--jh-text); background: var(--jh-bg);
  border: 1px solid var(--jh-line-str);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem; width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: var(--lh-body); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--jh-accent);
  box-shadow: 0 0 0 3px var(--jh-surface-2);
  outline: none;
}
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--sp-2); }
.field--check label {
  text-transform: none; letter-spacing: 0; font-size: var(--fs-sm);
  font-weight: 400; color: var(--jh-text-mut);
}
.field--check input { margin-top: 0.3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: var(--fs-sm); min-height: 1.5rem; }
.form__status[data-state="ok"]  { color: var(--jh-ok); font-weight: 600; }
.form__status[data-state="err"] { color: var(--jh-error); }

/* --- 40-pages.css --- */
/* ============================================================
   Page-specific layout.
   ============================================================ */

/* --- Home hero: text left, portrait right ------------------- */
.hero {
  background: var(--jh-surface);
  border-bottom: 1px solid var(--jh-line);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-7);
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-4); padding-block: var(--sp-5); }
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
.hero__title {
  font-size: var(--fs-hero); max-width: 15ch; margin: 0; color: var(--jh-ink);
}
.hero__sub { font-size: var(--fs-md); color: var(--jh-text-mut); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-1); }
.hero__points {
  list-style: none; padding: 0; margin: var(--sp-2) 0 0;
  display: flex; flex-direction: column; gap: var(--sp-1);
  font-size: var(--fs-sm); color: var(--jh-text);
}
.hero__points li { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0; }
.hero__points svg { flex: none; width: 18px; height: 18px; color: var(--jh-accent); margin-top: 3px; }

.hero__media { position: relative; }
.hero__portrait {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--jh-bg);
  box-shadow: var(--shadow-md);
}
.hero__stamp {
  position: absolute; left: calc(-1 * var(--sp-3)); bottom: var(--sp-4);
  background: var(--jh-bg); border: 1px solid var(--jh-line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: var(--sp-2) var(--sp-3);
  display: flex; flex-direction: column; gap: 2px; max-width: 15rem;
}
@media (max-width: 900px) { .hero__stamp { left: var(--sp-2); } }
.hero__stamp-k {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--jh-accent);
}
.hero__stamp-v { font-size: var(--fs-sm); color: var(--jh-text-mut); }

/* --- Intro -------------------------------------------------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--sp-6); align-items: start; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: var(--sp-4); } }
.intro__aside { display: flex; flex-direction: column; gap: var(--sp-3); }
.intro__img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.intro__lead {
  font-family: var(--jh-serif); font-weight: 400;
  font-size: var(--fs-xl); line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight); color: var(--jh-ink);
}
.intro__body { display: flex; flex-direction: column; gap: var(--sp-3); color: var(--jh-text-mut); }
.intro__body p { max-width: var(--measure); }

/* --- Page header (subpages) --------------------------------- */
.page-head {
  background: var(--jh-surface);
  border-bottom: 1px solid var(--jh-line);
}
.page-head__inner {
  padding-block: var(--sp-6) var(--sp-6);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--sp-2);
}
.page-head__title { max-width: 20ch; color: var(--jh-ink); }
.page-head__sub { font-size: var(--fs-md); color: var(--jh-text-mut); max-width: var(--measure); }

/* --- Article ------------------------------------------------ */
.article {
  padding-block: var(--sp-5) var(--sp-7);
  max-width: calc(var(--measure) + 7rem);
  margin-inline: auto;
}
.article__head { max-width: var(--measure); display: flex; flex-direction: column; gap: var(--sp-3); }
.article__title { font-size: var(--fs-3xl); color: var(--jh-ink); }
.article__sub { font-size: var(--fs-md); color: var(--jh-text-mut); line-height: var(--lh-snug); }
.article__hero {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  max-height: 28rem;
  background: var(--jh-surface);
  border-radius: var(--radius);
  margin-bottom: var(--sp-4);
}
.article__body { margin-top: var(--sp-5); }
.article .keynote, .article .sources, .article .authorbox { max-width: var(--measure); }

/* --- Related ------------------------------------------------- */
.related { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--jh-line); }
.related__grid {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--sp-3);
}

/* --- Journal index ------------------------------------------ */
.journal-list { display: grid; gap: var(--sp-3); }
.journal-item {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--sp-4); align-items: center;
  background: var(--jh-bg); border: 1px solid var(--jh-line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}
.journal-item:hover { box-shadow: var(--shadow-md); border-color: var(--jh-line-str); }
@media (max-width: 760px) { .journal-item { grid-template-columns: 1fr; } }
.journal-item__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--jh-surface); }
.journal-item__media img { width: 100%; height: 100%; object-fit: cover; }
.journal-item__body {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) 0;
}
@media (max-width: 760px) { .journal-item__body { padding: var(--sp-3); } }
.journal-item__title { font-size: var(--fs-xl); color: var(--jh-ink); }
.journal-item__title a { text-decoration: none; color: inherit; }
.journal-item__title a:hover { color: var(--jh-accent); }
.journal-item__teaser { color: var(--jh-text-mut); max-width: var(--measure); }

/* --- Legal / long text -------------------------------------- */
.legal { padding-block: var(--sp-5) var(--sp-7); }
.legal .prose h2 { font-size: var(--fs-lg); margin-top: var(--sp-5); }

/* --- 404 ----------------------------------------------------- */
.notfound {
  min-height: 48vh; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: var(--sp-3);
  padding-block: var(--sp-7);
}

/* --- CTA band ------------------------------------------------ */
.cta-band {
  background: var(--jh-accent); color: var(--jh-bg);
  border-radius: var(--radius); padding: var(--sp-5);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--sp-3);
}
.cta-band h2 { color: var(--jh-bg); max-width: 22ch; }
.cta-band p { color: var(--jh-bg); opacity: .85; max-width: 46ch; margin-top: var(--sp-1); }
.cta-band .btn {
  background: var(--jh-bg); color: var(--jh-accent); border-color: var(--jh-bg);
}
.cta-band .btn:hover { background: var(--jh-surface); border-color: var(--jh-surface); }

/* --- Feature band (photo + text) ----------------------------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--sp-6); align-items: center;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: var(--sp-4); } }
.feature .figure-plate { margin: 0; }
.feature .figure-plate img { aspect-ratio: 3 / 2; box-shadow: var(--shadow-md); }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
.feature__text h2 { color: var(--jh-ink); }
.feature__text p { color: var(--jh-text-mut); max-width: var(--measure); }

/* --- Full-width photo band ---------------------------------- */
.band {
  width: 100%; overflow: hidden;
  border-block: 1px solid var(--jh-line);
}
.band img {
  width: 100%; height: clamp(200px, 26vw, 340px); object-fit: cover; display: block;
}

/* Photograph inside a text column */
.prose__img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  margin-block: var(--sp-4);
}

