/* Health-Tech visual system (Phase 1).
   Additive layer on top of the A3 system: a colour/identity system, reusable surfaces and motifs, and CSS-only
   motion. Nothing here is required for content to be readable - without support for scroll timelines everything
   renders in its final, static state. No JavaScript is used anywhere in this file. */

/* ---------- 1. tokens ---------- */
:root {
  /* surfaces */
  --ht-bg: #FFFFFF;
  --ht-bg-soft: #F3F6FA;
  --ht-surface: #FFFFFF;
  --ht-surface-strong: #E7EEF7;
  --ht-surface-deep: #0B1B33;
  /* type */
  --ht-text: #0D1B2A;
  --ht-text-muted: #55647A;
  --ht-text-on-dark: #EAF1F8;
  --ht-text-on-dark-muted: #9FB3CA;
  /* lines */
  --ht-border: #D9E1EC;
  --ht-border-strong: #BCCBDE;
  --ht-border-dark: #1E3A5F;
  /* brand */
  --ht-primary: #12386B;
  --ht-primary-deep: #0B2750;
  --ht-primary-light: #1F6FB8;
  --ht-secondary: #0E8A96;
  --ht-accent: #35C4CB;
  --ht-grid: #E6ECF4;
  --ht-warm: #F1EDE4;
  --ht-warm-rule: #DED7C7;
}

/* ---------- 2. surfaces and structure ---------- */
.ht-band { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--ht-border); }
.ht-band--soft { background: linear-gradient(180deg, var(--ht-bg-soft) 0%, #FFFFFF 100%); border-top-color: var(--ht-border); }
.ht-band--warm { background: var(--ht-warm); border-top-color: var(--ht-warm-rule); }

.ht-band, .ht-band * { min-width: 0; }

/* grid children of the shared 12-column wrap span the full measure by default */

/* ---------- 3. type hierarchy ---------- */
.ht-eyebrow { font-family: var(--a3-mono, monospace); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-display { font-family: var(--a3-serif, Georgia, serif); font-weight: 400; font-size: clamp(46px, 7.6vw, 116px); line-height: 0.98; letter-spacing: -0.02em; color: var(--ht-primary-deep); font-variation-settings: 'opsz' 72; }
.ht-display--sm { font-size: clamp(44px, 6.6vw, 104px); font-variation-settings: 'opsz' 60; }
.ht-h2 { font-family: var(--a3-serif, Georgia, serif); font-weight: 400; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ht-primary-deep); }
.ht-h3 { font-family: var(--a3-serif, Georgia, serif); font-weight: 420; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.2; color: var(--ht-primary-deep); }
.ht-body { font-size: 18px; line-height: 1.7; color: var(--ht-text); }
.ht-note { font-size: 16px; line-height: 1.6; color: var(--ht-text-muted); }
.ht-mono { font-family: var(--a3-mono, monospace); font-size: 12.5px; letter-spacing: 0.03em; color: var(--ht-text-muted); }

/* ---------- 4. reusable modules ---------- */
.ht-link { color: var(--ht-primary-light); text-decoration: none; border-bottom: 1px solid var(--ht-border-strong); padding-bottom: 1px; }
.ht-link:hover { color: var(--ht-primary-deep); border-bottom-color: var(--ht-primary-deep); }
.ht-links { display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 17px; }
.ht-shot { margin: 0; }
.ht-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--ht-border); background: #0B1B33; }
.ht-cap { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ht-text-muted); max-width: 46ch; }

/* ---------- 5. motifs (inline SVG) ---------- */
.ht-motif { display: block; width: 100%; height: auto; overflow: visible; }
.ht-motif .ht-line { fill: none; stroke: var(--ht-primary); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ht-motif .ht-dot { fill: var(--ht-accent); }
.ht-motif .ht-node { fill: #FFFFFF; stroke: var(--ht-primary); stroke-width: 1.4; }
.ht-motif .ht-node--accent { stroke: var(--ht-secondary); }
.ht-motif text { font-family: var(--a3-mono, monospace); font-size: 12px; letter-spacing: 0.06em; fill: var(--ht-text-muted); }

/* ---------- 6. motion (CSS only, fully optional) ---------- */
@keyframes ht-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ht-rise-far { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes ht-draw { from { stroke-dashoffset: var(--ht-len, 1200); } to { stroke-dashoffset: 0; } }
@keyframes ht-node-in { from { opacity: 0; transform: scale(0.78); } to { opacity: 1; transform: none; } }
@keyframes ht-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes ht-field-drift { from { transform: translateX(-7px); } to { transform: translateX(7px); } }
@keyframes ht-mask { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ht-sheen { from { background-position: 0% 0%; } to { background-position: 100% 0%; } }

.ht-motif .ht-drawpath { stroke-dasharray: var(--ht-len, 1200); stroke-dashoffset: 0; }
.ht-motif .ht-point { transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  /* the hero plays on load: the trace draws, the anchors switch on, the field drifts */
  .ht-hero__copy > * { animation: ht-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .ht-hero__copy > *:nth-child(1) { animation-delay: 0.04s; }
  .ht-hero__copy > *:nth-child(2) { animation-delay: 0.12s; }
  .ht-hero__copy > *:nth-child(3) { animation-delay: 0.22s; }
  .ht-hero__copy > *:nth-child(4) { animation-delay: 0.32s; }
  .ht-hero__copy > *:nth-child(5) { animation-delay: 0.42s; }
  .ht-hero__side { animation: ht-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
  .ht-hero__field .ht-field { animation: ht-field-drift 28s ease-in-out infinite alternate; }
  .ht-hero__field .ht-trace { animation: ht-draw 2.3s cubic-bezier(0.35, 0, 0.2, 1) 0.2s both; }
  .ht-hero__field .ht-anchor__ring,
  .ht-hero__field .ht-anchor__core { animation: ht-node-in 0.55s ease-out both; animation-delay: calc(1.05s + var(--i) * 0.24s); }
  .ht-hero__field .ht-anchor__drop,
  .ht-hero__field .ht-anchor__label,
  .ht-hero__field .ht-anchor__meta { animation: ht-rise 0.62s ease-out both; animation-delay: calc(1.3s + var(--i) * 0.24s); }
  .ht-hero__field .ht-point { animation: ht-pulse 4.4s ease-in-out infinite; }
  .ht-hero__field .ht-point:nth-of-type(2n) { animation-duration: 5.6s; animation-delay: 0.5s; }
  .ht-hero__field .ht-point:nth-of-type(3n) { animation-duration: 6.2s; animation-delay: 1.1s; }

  /* hover treatments: additive, never required */
  .ht-shot img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease; }
  .ht-shot:hover img { transform: scale(1.015); border-color: var(--ht-primary-light); }
  .ht-chip { transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease; }
  .ht-contact__cell { transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
  .ht-contact__cell:hover { transform: translateY(-3px); }
  .ht-link { transition: color 0.2s ease, border-color 0.2s ease; }
}

/* Scroll-driven reveals. Browsers without view() timelines render the final state. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ht-reveal { animation: ht-rise 0.75s linear both; animation-timeline: view(); animation-range: entry 3% cover 26%; }
        .ht-conv__src { animation: ht-rise 0.7s linear both; animation-timeline: view(); animation-range: entry calc(2% + var(--i) * 5%) cover 28%; }
    .ht-conv__out { animation: ht-rise 0.9s linear both; animation-timeline: view(); animation-range: entry 14% cover 34%; }
    .ht-edu__layer { animation: ht-rise 0.8s linear both; animation-timeline: view(); animation-range: entry calc(2% + var(--i) * 8%) cover 30%; }
    .ht-edu__together { animation: ht-rise 0.8s linear both; animation-timeline: view(); animation-range: entry 24% cover 40%; }
    .ht-matrix__grid { animation: ht-mask 0.9s linear both; animation-timeline: view(); animation-range: entry 4% cover 26%; }
    .ht-matrix__cell { animation: ht-rise 0.6s linear both; animation-timeline: view(); animation-range: entry calc(4% + var(--i) * 4%) cover 30%; }
    .ht-matrix__out { animation: ht-rise 0.7s linear both; animation-timeline: view(); animation-range: entry 22% cover 36%; }
    .ht-conv-lines .ht-drawpath { animation: ht-draw 1.4s linear both; animation-timeline: view(); animation-range: entry 6% cover 34%; }
    .ht-conv-nodes .ht-node { animation: ht-node-in 0.7s linear both; animation-timeline: view(); animation-range: entry 12% cover 32%; }
    .ht-shot--lead img,
    .ht-shot--lead,
    .ht-shot--wide { animation: ht-mask 0.95s linear both; animation-timeline: view(); animation-range: entry 4% cover 30%; }
    .ht-exp__row { animation: ht-rise 0.65s linear both; animation-timeline: view(); animation-range: entry 6% cover 28%; }
    .ht-story__stage .ht-shot img { animation: ht-mask 1.1s linear both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
  }
}

/* Accessibility: one switch turns every animation off and restores the final state. */
@media (prefers-reduced-motion: reduce) {
  .ht-reveal, .ht-drawpath, .ht-exp__row, .ht-conv__src, .ht-conv__out, .ht-conv-lines .ht-drawpath,
  .ht-conv-nodes .ht-node, .ht-edu__layer, .ht-edu__together, .ht-matrix__cell, .ht-matrix__grid, .ht-matrix__out,
  .ht-hero__copy > *, .ht-hero__side, .ht-hero__field .ht-field, .ht-hero__field .ht-trace,
  .ht-hero__field .ht-anchor__ring, .ht-hero__field .ht-anchor__core, .ht-hero__field .ht-anchor__drop,
  .ht-hero__field .ht-anchor__label, .ht-hero__field .ht-anchor__meta, .ht-hero__field .ht-point,
  .ht-shot--lead, .ht-shot--wide, .ht-shot img, .ht-story__stage .ht-shot img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
    clip-path: none !important;
  }
  .ht-shot img, .ht-chip, .ht-contact__cell, .ht-link { transition: none; }
  .ht-shot:hover img, .ht-contact__cell:hover { transform: none; }
}

/* ---------- 7. homepage band rhythm ---------- */
.ht-wrap { max-width: 1360px; }
.ht-band--grid { background-image: linear-gradient(90deg, var(--ht-grid) 1px, transparent 1px), linear-gradient(180deg, var(--ht-grid) 1px, transparent 1px); background-size: 25% 100%, 100% 240px; }
.ht-dark { background: radial-gradient(125% 120% at 12% 0%, #16355A 0%, #0B1B33 58%, #06111F 100%); color: var(--ht-text-on-dark); }
.ht-dark .ht-h2, .ht-dark .ht-h3, .ht-dark .ht-display { color: #FFFFFF; }
.ht-dark .ht-note, .ht-dark .ht-mono { color: var(--ht-text-on-dark-muted); }
.ht-dark .ht-body { color: var(--ht-text-on-dark); }
.ht-dark .ht-eyebrow { color: var(--ht-accent); }
.ht-dark a { color: #BFE6EA; }
.ht-dark .ht-link { color: #EAF1F8; border-bottom-color: #2C4E75; }
.ht-dark .ht-link:hover { color: #FFFFFF; border-bottom-color: var(--ht-accent); }
.ht-dark .ht-chip { background: rgba(255, 255, 255, 0.06); border-color: #2C4E75; color: #D6E6F2; background-image: none; }
.ht-dark .ht-cap { color: var(--ht-text-on-dark-muted); }
.ht-dark .ht-secmark__n { color: rgba(255, 255, 255, 0.2); }
.ht-dark .ht-secmark__l { color: var(--ht-accent); }

/* ---------- 8. editorial folio + section head ---------- */
.ht-secmark { display: flex; align-items: baseline; gap: clamp(12px, 1.6vw, 20px); margin-bottom: clamp(12px, 1.6vw, 20px); }
.ht-secmark__n { font-family: var(--a3-mono, monospace); font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.02em; color: var(--ht-border-strong); }
.ht-secmark__l { font-family: var(--a3-mono, monospace); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); row-gap: 12px; align-items: end; margin-bottom: clamp(20px, 2.6vw, 34px); }
.ht-split .ht-h2 { grid-column: 1 / 8; }
.ht-split .ht-note { grid-column: 8 / 13; }
.ht-band .ht-split + .ht-secmark { margin-top: 0; }

/* ---------- 9. data chips (information architecture, not buttons) ---------- */
.ht-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ht-chip { display: inline-flex; align-items: baseline; padding: 7px 13px; border: 1px solid var(--ht-border-strong); background: #FFFFFF; font-family: var(--a3-mono, monospace); font-size: 13px; line-height: 1.35; letter-spacing: 0.03em; color: var(--ht-primary); }

/* ---------- 10. hero ---------- */
.ht-hero { padding: clamp(26px, 3.4vw, 54px) 0 clamp(40px, 5vw, 80px); }
.ht-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); row-gap: clamp(22px, 2.6vw, 34px); align-items: start; }
.ht-hero__copy { grid-column: 1 / 9; }
.ht-hero__side { grid-column: 10 / 13; }
.ht-hero__name { margin: 6px 0 0; }
.ht-hero__lede { margin-top: clamp(16px, 2vw, 24px); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.45; max-width: 32em; color: var(--ht-text); }
.ht-hero__sub { margin-top: 14px; max-width: 40em; }
.ht-hero__links { margin-top: clamp(18px, 2.2vw, 28px); }
.ht-meta { border: 1px solid var(--ht-border); background: var(--ht-surface-strong); padding: clamp(16px, 1.8vw, 24px); }
.ht-meta__head { font-family: var(--a3-mono, monospace); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-primary); }
.ht-meta__where { margin-top: 8px; font-size: 15px; color: var(--ht-text-muted); }
.ht-meta__row { margin-top: 13px; }
.ht-meta__k { display: block; margin-bottom: 3px; font-family: var(--a3-mono, monospace); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-meta__v { font-size: 15.5px; line-height: 1.55; }
.ht-meta__foot { margin-top: 14px; }
.ht-hero__panel { margin-top: clamp(26px, 3.4vw, 52px); border: 1px solid var(--ht-border); background: linear-gradient(180deg, #FFFFFF 0%, var(--ht-bg-soft) 100%); }
.ht-panel__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 12px clamp(14px, 1.6vw, 22px); border-bottom: 1px solid var(--ht-border); }
.ht-panel__k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-primary); }
.ht-panel__note { color: var(--ht-text-muted); }
.ht-hero__field { padding: clamp(8px, 1.2vw, 18px) clamp(8px, 1.2vw, 18px) 0; }
.ht-hero__ticks { display: none; }


.ht-field__frame, .ht-field__tick { stroke: var(--ht-border-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ht-field__guide { stroke: var(--ht-border); stroke-width: 1; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.ht-trace { fill: none; stroke: var(--ht-primary); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ht-anchor__drop { stroke: var(--ht-secondary); stroke-width: 1.2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.ht-anchor__ring { fill: #FFFFFF; stroke: var(--ht-primary); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.ht-anchor__core { fill: var(--ht-accent); }
.ht-dot--minor { fill: var(--ht-secondary); opacity: 0.45; }
.ht-anchor__label { fill: var(--ht-primary-deep); font-family: var(--a3-mono, monospace); font-size: 22px; letter-spacing: 0.14em; }
.ht-anchor__meta { fill: var(--ht-text-muted); font-family: var(--a3-mono, monospace); font-size: 16px; letter-spacing: 0.06em; }

/* ---------- 11. convergence component ---------- */
.ht-conv { display: grid; grid-template-columns: minmax(0, 4.1fr) minmax(0, 2.4fr) minmax(0, 4.1fr); gap: clamp(16px, 2vw, 30px); align-items: stretch; margin-top: clamp(22px, 2.8vw, 38px); }
.ht-conv__sources { display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.ht-conv__src { padding: clamp(14px, 1.7vw, 22px); background: var(--ht-surface-strong); border-left: 3px solid var(--ht-secondary); }
.ht-conv--dark .ht-conv__src { background: rgba(255, 255, 255, 0.05); border-left-color: var(--ht-accent); }
.ht-conv__k { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.15; color: var(--ht-primary-deep); }
.ht-conv--dark .ht-conv__k { color: #FFFFFF; }
.ht-conv__m { margin-top: 5px; }
.ht-conv__chips { margin-top: 11px; }
.ht-conv__map { height: 100%; }
.ht-motif--converge { display: block; width: 100%; height: 100%; overflow: visible; }
.ht-motif--converge .ht-line { stroke-width: 2.2; }
.ht-conv__out { align-self: center; padding: clamp(20px, 2.4vw, 34px); background: var(--ht-primary-deep); border-left: 4px solid var(--ht-accent); }
.ht-conv--dark .ht-conv__out { background: rgba(255, 255, 255, 0.08); }
.ht-conv__outk { font-family: var(--a3-mono, monospace); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-accent); }
.ht-conv__outv { margin-top: 10px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; color: #FFFFFF; }
.ht-conv__outn { margin-top: 10px; color: rgba(234, 241, 248, 0.72); }
.ht-line--echo { stroke: var(--ht-border-strong); stroke-dasharray: 4 7; opacity: 0.75; }
.ht-conv--dark .ht-line { stroke: #7FB6D9; }
.ht-conv--dark .ht-line--echo { stroke: #3D6D96; }
.ht-conv--dark .ht-node { fill: #0B1B33; stroke: #9CC9E4; }
.ht-conv--dark .ht-node--accent { fill: var(--ht-accent); stroke: var(--ht-accent); }
.ht-intersect__prose { margin-top: clamp(26px, 3.2vw, 46px); max-width: 64ch; }

/* ---------- 12. work features ---------- */
.ht-work__head, .ht-work__foot { padding: clamp(46px, 5.6vw, 88px) 0; }
.ht-feature { padding: clamp(40px, 5vw, 78px) 0; }
.ht-feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); row-gap: clamp(22px, 2.6vw, 34px); align-items: start; }
.ht-feature__k { font-family: var(--a3-mono, monospace); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-dark .ht-feature__k { color: var(--ht-accent); }
.ht-feature__title { margin-top: 10px; }
.ht-feature__desc { margin-top: 14px; font-size: 17.5px; line-height: 1.6; color: var(--ht-text); max-width: 42ch; }
.ht-dark .ht-feature__desc { color: var(--ht-text-on-dark); }
.ht-feature__role { margin-top: 12px; max-width: 46ch; }
.ht-feature__link { margin-top: 16px; }
.ht-feature--sleep { background: radial-gradient(125% 125% at 8% 0%, #16355A 0%, #0B1B33 58%, #06111F 100%); }
.ht-feature--sleep .ht-feature__text { grid-column: 1 / 5; }
.ht-feature--sleep .ht-feature__visual { grid-column: 5 / 13; }
.ht-frame { border: 1px solid #24405F; background: #0A1B33; padding: clamp(10px, 1.2vw, 16px); }
.ht-frame__bar { display: flex; gap: 6px; padding-bottom: 10px; }
.ht-frame__dot { width: 9px; height: 9px; border-radius: 50%; background: #2C4E75; }
.ht-frame__dot:nth-child(2) { background: #1E5B8A; }
.ht-frame__dot:nth-child(3) { background: #2A6E6E; }
.ht-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); align-items: start; }
.ht-shots__item--lead { grid-column: 1 / 3; }
.ht-shots__item .ht-cap { color: var(--ht-text-on-dark-muted); }
.ht-feature--sleep .ht-shot img { border-color: #24405F; }
.ht-shots .ht-cap { color: var(--ht-text-on-dark-muted); }
.ht-panel { border: 1px solid var(--ht-border); background: linear-gradient(180deg, #FFFFFF 0%, var(--ht-bg-soft) 130%); padding: clamp(14px, 1.8vw, 26px); }
.ht-panel__cap { margin-top: 12px; max-width: 70ch; }
.ht-feature--type .ht-feature__type { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); }
.ht-feature__type > .ht-feature__k { grid-column: 1 / 13; }
.ht-feature__bigtitle { grid-column: 1 / 13; margin: 8px 0 16px; }
.ht-feature__type > .ht-chips { grid-column: 1 / 13; }
.ht-feature__type > .ht-feature__desc--wide { grid-column: 1 / 7; margin-top: clamp(18px, 2.2vw, 28px); max-width: 52ch; }
.ht-feature__type > .ht-feature__role { grid-column: 8 / 13; margin-top: clamp(18px, 2.2vw, 28px); color: var(--ht-text-muted); }
.ht-feature__type > .ht-feature__link { grid-column: 1 / 13; margin-top: 16px; }
.ht-feature--story .ht-storyfig { display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); gap: clamp(18px, 2.6vw, 44px); align-items: end; }
.ht-storyfig__text { padding-bottom: 6px; }
.ht-shot--lead img, .ht-shot--wide img { border-color: var(--ht-border); }

/* ---------- 13. experience ---------- */
.ht-exp__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(16px, 2.4vw, 34px); padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); background: #FFFFFF; border-left: 3px solid var(--ht-accent); margin-top: clamp(12px, 1.5vw, 18px); }
.ht-exp__year { margin: 0; font-size: clamp(19px, 2.1vw, 28px); letter-spacing: 0.02em; color: var(--ht-secondary); }
.ht-exp__title { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; color: var(--ht-primary-deep); }
.ht-exp__where { margin-top: 6px; }
.ht-exp__note { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: var(--ht-text-muted); max-width: 64ch; }

/* ---------- 14. journey photo essay ---------- */
.ht-story__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); align-items: center; margin-top: clamp(40px, 5.2vw, 84px); }
.ht-story__media { grid-column: 1 / 8; position: relative; }
.ht-story__text { grid-column: 8 / 13; }
.ht-story__stage--flip .ht-story__media { grid-column: 6 / 13; }
.ht-story__stage--flip .ht-story__text { grid-column: 1 / 6; }
.ht-shot--lead img { box-shadow: 0 34px 64px -44px rgba(11, 27, 51, 0.55); }
.ht-story__side { position: absolute; right: -5%; top: -7%; width: 38%; background: #FFFFFF; padding: 9px 9px 6px; box-shadow: 0 26px 52px -32px rgba(11, 27, 51, 0.5); }
.ht-story__stage--flip .ht-story__side { right: auto; left: -5%; }
.ht-story__side .ht-cap { margin-top: 6px; font-size: 13px; }
.ht-story__n { font-family: var(--a3-mono, monospace); font-size: clamp(40px, 5.2vw, 80px); line-height: 0.85; color: var(--ht-border-strong); }
.ht-story__year { margin-top: 8px; font-size: 14px; letter-spacing: 0.12em; color: var(--ht-secondary); }
.ht-story__title { margin-top: 8px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; color: var(--ht-primary-deep); }
.ht-story__place { margin-top: 6px; }
.ht-story__say { margin-top: 14px; font-size: 17.5px; line-height: 1.6; color: var(--ht-text); max-width: 40ch; }
.ht-story__more { margin-top: clamp(28px, 3.6vw, 52px); }

/* ---------- 15. about preview ---------- */
.ht-aboutband { padding-bottom: clamp(48px, 6vw, 96px); }
.ht-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; margin-top: clamp(18px, 2.2vw, 30px); }
.ht-about__copy { grid-column: 1; }
.ht-about__note { margin-top: 12px; max-width: 44ch; }
.ht-photos { grid-column: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(12px, 1.6vw, 20px); align-items: end; }

/* ---------- 16. explore ---------- */
.ht-explore__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(22px, 2.8vw, 38px); }
.ht-explore__cell { grid-column: span 4; background: #FFFFFF; padding: clamp(18px, 2vw, 28px); border-top: 3px solid var(--ht-border-strong); }
.ht-explore__cell--num { grid-column: span 5; border-top-color: var(--ht-accent); }
.ht-explore__cell--list { grid-column: span 7; }
.ht-explore__cell--skate { grid-column: span 4; }
.ht-explore__cell--parks { grid-column: span 8; }
.ht-explore__num { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(70px, 9vw, 152px); line-height: 0.86; letter-spacing: -0.03em; color: var(--ht-primary-deep); }
.ht-explore__k { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(19px, 1.8vw, 25px); color: var(--ht-primary-deep); }
.ht-explore__say { margin-top: 8px; font-size: 16.5px; line-height: 1.6; color: var(--ht-text-muted); }
.ht-explore__cell--list p { font-size: 16.5px; line-height: 1.6; color: var(--ht-text-muted); }
.ht-explore__cell--list p + p { margin-top: 10px; }
.ht-explore__cell--list b { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; color: var(--ht-primary-deep); }
.ht-stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }

/* ---------- 17. contact ---------- */
.ht-contact { padding: clamp(52px, 6.4vw, 104px) 0 clamp(40px, 5vw, 76px); }
.ht-contact__line { margin-top: 6px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(28px, 3.6vw, 54px); line-height: 1.06; color: #FFFFFF; max-width: 26ch; }
.ht-contact__note { margin-top: 12px; }
.ht-contact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(26px, 3.2vw, 44px); }
.ht-contact__cell { display: block; text-decoration: none; padding: clamp(16px, 1.8vw, 24px); background: rgba(255, 255, 255, 0.06); border-top: 2px solid rgba(255, 255, 255, 0.22); }
.ht-contact__k { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-accent); }
.ht-contact__v { display: block; margin-top: 8px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(17px, 1.6vw, 23px); line-height: 1.2; color: #FFFFFF; overflow-wrap: anywhere; }
.ht-contact__stamp { grid-column: 1 / -1; margin-top: 6px; }

/* ---------- 18. responsive ---------- */
@media (max-width: 1180px) {
  .ht-story__media { grid-column: 1 / 8; }
  .ht-story__side { width: 46%; }
}
@media (max-width: 1024px) {
  .ht-hero__copy, .ht-hero__side { grid-column: 1 / 13; }
  .ht-hero__side { max-width: 560px; }
  .ht-split .ht-h2 { grid-column: 1 / 13; }
  .ht-split .ht-note { grid-column: 1 / 13; }
  .ht-conv { grid-template-columns: minmax(0, 1fr); }
  .ht-conv__map { display: none; }
  .ht-conv__sources { grid-template-rows: none; }
  .ht-conv__out { margin-top: 4px; }
  .ht-feature__type > .ht-feature__desc--wide { grid-column: 1 / 13; }
  .ht-feature__type > .ht-feature__role { grid-column: 1 / 13; margin-top: 14px; }
  .ht-feature--story .ht-storyfig { grid-template-columns: minmax(0, 1fr); }
  .ht-story__media, .ht-story__stage--flip .ht-story__media { grid-column: 1 / 13; }
  .ht-story__text, .ht-story__stage--flip .ht-story__text { grid-column: 1 / 13; margin-top: 26px; }
  .ht-story__side, .ht-story__stage--flip .ht-story__side { position: static; width: auto; margin-top: 12px; padding: 0; background: none; box-shadow: none; }
  .ht-shots__item--lead { grid-column: 1 / 2; }
  .ht-about { grid-template-columns: minmax(0, 1fr); }
  .ht-about__copy, .ht-photos { grid-column: 1 / 13; }
  .ht-explore__cell, .ht-explore__cell--num, .ht-explore__cell--list, .ht-explore__cell--skate, .ht-explore__cell--parks { grid-column: span 12; }
  .ht-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-exp__row { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ht-motif--hero text { display: none; }
  .ht-hero__ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: clamp(12px, 3vw, 18px); }
  .ht-hero__tick { border-left: 2px solid var(--ht-secondary); padding-left: 10px; }
  .ht-hero__tickl { display: block; font-family: var(--a3-mono, monospace); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ht-primary-deep); }
  .ht-hero__tickm { display: block; margin-top: 4px; font-size: 11.5px; }
  .ht-panel__bar { flex-direction: column; }
  .ht-hero__name { font-size: clamp(46px, 13.5vw, 78px); }
  .ht-hero__lede { font-size: clamp(18px, 4.6vw, 22px); }
  .ht-feature__bigtitle { font-size: clamp(38px, 12vw, 66px); }
  .ht-shots { grid-template-columns: minmax(0, 1fr); }
  .ht-exp__row { grid-template-columns: minmax(0, 1fr); }
  .ht-contact__grid { grid-template-columns: minmax(0, 1fr); }
  .ht-secmark__n { font-size: 30px; }
  .ht-story__n { font-size: 44px; }
  .ht-explore__num { font-size: clamp(64px, 22vw, 110px); }
}

/* ---------- 19. text-led closing stage (a stage with no free photograph) ---------- */
.ht-story__stage--text .ht-story__text { grid-column: 1 / 9; background: var(--ht-bg-soft); border-left: 3px solid var(--ht-accent); padding: clamp(22px, 2.6vw, 36px); }
.ht-story__stage--text .ht-story__n { font-size: clamp(44px, 5.6vw, 88px); }
.ht-story__stage--text .ht-story__say { margin-top: 18px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(20px, 2.1vw, 28px); line-height: 1.3; color: var(--ht-primary-deep); max-width: 32ch; }

/* ---------- 20. shared footer (every route) ---------- */
body .site-footer, body.a3 .site-footer {
  margin-top: clamp(40px, 5vw, 72px);
  padding: 0;
  border-top: 1px solid var(--ht-border);
  background: var(--ht-bg-soft);
  color: var(--ht-text-muted);
  font-size: 15px;
}
.site-footer .shell { max-width: 1360px; padding: clamp(30px, 3.6vw, 48px) clamp(20px, 4.4vw, 56px) clamp(24px, 3vw, 34px); }
body .site-footer .footer-top, body.a3 .site-footer .footer-top { align-items: baseline; gap: 1.2rem 2.4rem; }
.site-footer .footer-links { gap: 0.6rem 1.5rem; }
.site-footer .footer-links a { color: var(--ht-primary); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.site-footer .footer-links a:hover { color: var(--ht-primary-deep); border-bottom-color: var(--ht-accent); text-decoration: none; }
.site-footer .contact { margin: 0; }
.site-footer .linklist { margin: 0; gap: 0.6rem 1.5rem; font-family: var(--a3-mono, monospace); font-size: 12.5px; letter-spacing: 0.05em; }
.site-footer .linklist a { color: var(--ht-secondary); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.site-footer .linklist a:hover { color: var(--ht-primary-deep); border-bottom-color: var(--ht-accent); }
body .site-footer .footer-meta, body.a3 .site-footer .footer-meta {
  margin-top: clamp(20px, 2.4vw, 30px);
  padding-top: 14px;
  border-top: 1px solid var(--ht-border);
  gap: 0.4rem 1.6rem;
  color: var(--ht-text-muted);
  font-family: var(--a3-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.site-footer a:focus-visible { outline: 2px solid var(--ht-primary-light); outline-offset: 3px; }
@media (max-width: 760px) {
  .ht-story__stage--text .ht-story__text { grid-column: 1 / 13; }
  body .site-footer .footer-top, body.a3 .site-footer .footer-top { flex-direction: column; gap: 0.9rem; }
  .site-footer .shell { padding: clamp(24px, 6vw, 34px) 20px; }
}

/* ---------- 21. education: layered progression (accumulation, not convergence) ---------- */
.ht-edu__stack { display: grid; gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(18px, 2.2vw, 30px); }
.ht-edu__layer { display: grid; grid-template-columns: minmax(0, 86px) minmax(0, 1fr); gap: clamp(14px, 2vw, 30px); padding: clamp(20px, 2.4vw, 34px); background: #FFFFFF; border-left: 3px solid var(--ht-border-strong); }
.ht-edu__layer--1 { margin-right: 22%; border-left-color: var(--ht-secondary); }
.ht-edu__layer--2 { margin-left: 11%; margin-right: 11%; background: var(--ht-bg-soft); border-left-color: var(--ht-primary-light); }
.ht-edu__layer--3 { margin-left: 22%; background: var(--ht-surface-strong); border-left-color: var(--ht-primary-deep); }
.ht-edu__body { min-width: 0; }
.ht-edu__n { margin: 0; font-size: clamp(34px, 4vw, 62px); line-height: 0.9; letter-spacing: -0.02em; color: var(--ht-border-strong); }
.ht-edu__school { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.08; color: var(--ht-primary-deep); }
.ht-edu__program { margin-top: 8px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.35; color: var(--ht-primary); }
.ht-edu__meta { margin-top: 10px; color: var(--ht-secondary); }
.ht-edu__role { margin-top: 12px; font-size: 16.5px; line-height: 1.5; color: var(--ht-text-muted); }
.ht-edu__rolek { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-text-muted); }
.ht-edu__together { display: grid; gap: 8px; margin-top: clamp(24px, 3vw, 42px); padding-top: clamp(18px, 2.2vw, 28px); border-top: 1px solid var(--ht-border); }
.ht-edu__tk { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-edu__tv { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(24px, 2.9vw, 42px); line-height: 1.14; color: var(--ht-primary-deep); max-width: 34ch; }

/* ---------- 22. AI for Global Health: analytical framework matrix ---------- */
.ht-feature--matrix .ht-feature__text { grid-column: 1 / 5; }
.ht-feature--matrix .ht-feature__visual { grid-column: 5 / 13; }
.ht-matrix { padding: 0; }
.ht-matrix__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 12px clamp(14px, 1.6vw, 22px); border-bottom: 1px solid var(--ht-border); }
.ht-matrix__head .ht-panel__k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-primary); }
.ht-matrix__head .ht-panel__note { color: var(--ht-text-muted); }
.ht-matrix__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: stretch; }
.ht-matrix__cell { padding: clamp(20px, 2.4vw, 36px) clamp(16px, 1.9vw, 28px); border-bottom: 1px solid var(--ht-border); border-right: 1px solid var(--ht-border); background: #FFFFFF; }
.ht-matrix__cell:nth-child(2n) { border-right: 0; }
.ht-matrix__cell:nth-child(4n + 2), .ht-matrix__cell:nth-child(4n + 3) { background: var(--ht-bg-soft); }
.ht-matrix__n { margin: 0; font-size: 12px; letter-spacing: 0.16em; color: var(--ht-border-strong); }
.ht-matrix__t { margin-top: 10px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(22px, 2.5vw, 36px); line-height: 1.08; color: var(--ht-primary-deep); }
.ht-matrix__out { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); padding: clamp(14px, 1.7vw, 22px) clamp(16px, 1.9vw, 28px) 0; }
.ht-matrix__arrow { flex: 1; height: 1px; background: linear-gradient(90deg, var(--ht-border-strong), var(--ht-secondary)); position: relative; }
.ht-matrix__arrow::after { content: ''; position: absolute; right: 0; top: -3px; border-left: 7px solid var(--ht-secondary); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.ht-matrix__outl { color: var(--ht-secondary); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11.5px; white-space: nowrap; }
.ht-matrix .ht-panel__cap { margin: clamp(12px, 1.4vw, 18px) clamp(14px, 1.6vw, 22px) clamp(16px, 1.8vw, 24px); }

/* ---------- 23. responsive: layered education + analytical matrix ---------- */
@media (max-width: 1024px) {
  .ht-edu__layer--1, .ht-edu__layer--2, .ht-edu__layer--3 { margin-left: 0; margin-right: 0; }
  .ht-matrix__t { font-size: clamp(21px, 2.4vw, 30px); }
}
@media (max-width: 760px) {
  .ht-edu__layer { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ht-edu__n { font-size: 30px; }
  .ht-edu__school { font-size: clamp(24px, 8vw, 34px); }
  .ht-matrix__grid { grid-template-columns: minmax(0, 1fr); }
  .ht-matrix__cell { border-right: 0; }
  .ht-matrix__cell:nth-child(4n + 2), .ht-matrix__cell:nth-child(4n + 3) { background: transparent; }
  .ht-matrix__cell:nth-child(2n) { background: var(--ht-bg-soft); }
  .ht-matrix__t { font-size: clamp(21px, 6.4vw, 28px); }
  .ht-matrix__out { flex-wrap: wrap; gap: 8px; }
  .ht-matrix__arrow { flex: 1 0 60%; }
}

/* ---------- 24. About: the personal half of the site ---------- */
.ht-ab-reveal { /* marker class; motion lives in the view() block below */ }
.ht-ab-hero { padding: clamp(30px, 4vw, 64px) 0 clamp(36px, 4.4vw, 72px); }
.ht-ab-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 40px); row-gap: clamp(22px, 2.6vw, 34px); align-items: start; }
.ht-ab-hero__copy { grid-column: 1 / 7; }
.ht-ab-hero__statement { margin: 10px 0 0; max-width: 14ch; font-size: clamp(38px, 5vw, 72px); }
.ht-ab-hero__lede { margin-top: clamp(16px, 2vw, 26px); font-family: var(--a3-serif, Georgia, serif); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.42; color: var(--ht-text); max-width: 32ch; }
.ht-ab-hero__sub { margin-top: 14px; max-width: 40ch; }
.ht-ab-hero__meta { margin-top: clamp(18px, 2.2vw, 28px); }
/* the hero portrait keeps its own landscape framing: nothing is clipped */
.ht-ab-hero__portrait { grid-column: 7 / 13; }
.ht-ab-portrait img { border-color: var(--ht-border); }
.ht-ab-h2 { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -0.01em; color: var(--ht-primary-deep); margin-bottom: clamp(20px, 2.6vw, 34px); max-width: 26ch; }
.ht-ab-lede { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(20px, 2.1vw, 30px); line-height: 1.3; color: var(--ht-primary-deep); max-width: 30ch; margin-bottom: clamp(14px, 1.8vw, 22px); }
.ht-ab-prose { font-size: 17.5px; line-height: 1.68; color: var(--ht-text); max-width: 54ch; }
.ht-ab-prose + .ht-ab-prose { margin-top: 14px; }
.ht-ab-plate .ht-cap { margin-top: 10px; max-width: 52ch; }

/* people */
.ht-ab-people__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 38px); row-gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.ht-ab-people__text { grid-column: 1 / 5; }
.ht-ab-people__wide { grid-column: 5 / 13; }
.ht-ab-people__wide img { aspect-ratio: 4 / 3; object-fit: cover; }
.ht-ab-people__support .ht-cap { max-width: 34ch; }
/* these two keep their own framing: a forced ratio would crop people out of the cohort photograph */
/* one anchor photograph, then three supporting ones: every frame keeps its own ratio so faces stay whole */
.ht-ab-people__support { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); align-items: end; }

/* curiosity */
.ht-ab-curiosity__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 38px); row-gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.ht-ab-curiosity__text { grid-column: 1 / 5; }
.ht-ab-curiosity__frags { margin-top: 6px; }
.ht-ab-curiosity__frags p { font-size: 16.5px; line-height: 1.6; color: var(--ht-text-muted); }
.ht-ab-curiosity__frags p + p { margin-top: 8px; }
.ht-ab-curiosity__frags b { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(17px, 1.7vw, 21px); font-weight: 400; color: var(--ht-primary-deep); }
.ht-ab-curiosity__skate { grid-column: 5 / 10; }
.ht-ab-curiosity__owl { grid-column: 10 / 13; }
.ht-ab-curiosity__flower { grid-column: 5 / 8; margin-top: clamp(24px, 3vw, 44px); }
.ht-ab-curiosity__puzzle { grid-column: 8 / 13; margin-top: clamp(24px, 3vw, 44px); align-self: end; }

/* parks and travel */
.ht-ab-travel__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 38px); row-gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.ht-ab-travel__text { grid-column: 1 / 5; }
.ht-ab-travel__text .ht-h3 { margin-top: clamp(12px, 1.6vw, 20px); }
.ht-ab-travel__text .ht-ab-prose { margin-top: 10px; }
.ht-ab-travel__wide { grid-column: 5 / 13; }
.ht-ab-travel__wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.ht-ab-travel__trio { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.ht-ab-travel__trio img { aspect-ratio: 2 / 3; object-fit: cover; }
.ht-ab-travel__outing { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 22px); align-items: end; }
.ht-ab-travel__closing { margin-top: clamp(30px, 3.8vw, 56px); font-family: var(--a3-serif, Georgia, serif); font-size: clamp(20px, 2.1vw, 30px); line-height: 1.3; color: var(--ht-primary-deep); max-width: 34ch; }

/* why this intersection: the page's one dark band */
.ht-ab-why { padding: clamp(52px, 6.4vw, 104px) 0 clamp(46px, 5.6vw, 92px); }
.ht-ab-why .ht-secmark__n { color: rgba(255, 255, 255, 0.2); }
.ht-ab-why .ht-secmark__l { color: var(--ht-accent); }
.ht-ab-why__lead { color: #FFFFFF; font-size: clamp(32px, 4.2vw, 66px); max-width: 22ch; }
.ht-ab-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(30px, 3.6vw, 54px); }
.ht-ab-why__k { color: var(--ht-accent); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11.5px; }
.ht-ab-why__v { margin-top: 10px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.32; color: var(--ht-text-on-dark); }
.ht-ab-why__out { margin-top: clamp(32px, 4vw, 58px); font-family: var(--a3-serif, Georgia, serif); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.24; color: #FFFFFF; max-width: 30ch; }

/* About motion: gentler than the homepage */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ht-ab-reveal { animation: ht-rise 0.9s linear both; animation-timeline: view(); animation-range: entry 3% cover 26%; }
    .ht-ab-people__wide img, .ht-ab-people__support img, .ht-ab-curiosity__skate img, .ht-ab-curiosity__owl img,
    .ht-ab-curiosity__flower img, .ht-ab-curiosity__puzzle img, .ht-ab-travel__wide img, .ht-ab-travel__trio img,
    .ht-ab-travel__outing img, .ht-ab-portrait img { animation: ht-mask 1.15s linear both; animation-timeline: view(); animation-range: entry 4% cover 30%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ht-ab-reveal, .ht-ab-people__wide img, .ht-ab-people__support img, .ht-ab-curiosity__skate img,
  .ht-ab-curiosity__owl img, .ht-ab-curiosity__flower img, .ht-ab-curiosity__puzzle img, .ht-ab-travel__wide img, .ht-ab-travel__trio img,
  .ht-ab-travel__outing img, .ht-ab-portrait img { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@media (max-width: 1024px) {
  .ht-ab-hero__copy, .ht-ab-hero__portrait { grid-column: 1 / 13; }
  .ht-ab-hero__portrait { max-width: 520px; }
  .ht-ab-people__text, .ht-ab-people__wide, .ht-ab-people__support,
  .ht-ab-curiosity__text, .ht-ab-curiosity__skate, .ht-ab-curiosity__owl, .ht-ab-curiosity__flower, .ht-ab-curiosity__puzzle,
  .ht-ab-travel__text, .ht-ab-travel__wide, .ht-ab-travel__trio, .ht-ab-travel__outing { grid-column: 1 / 13; }
  .ht-ab-why__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ht-ab-hero__statement, .ht-ab-hero__lede { max-width: 100%; }
  .ht-ab-h2 { font-size: clamp(24px, 8vw, 34px); }
  .ht-ab-people__support, .ht-ab-travel__outing { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .ht-ab-people__support img, .ht-ab-travel__outing img { max-width: 82%; }
  .ht-ab-curiosity__skate, .ht-ab-curiosity__owl, .ht-ab-curiosity__flower, .ht-ab-curiosity__puzzle { margin-top: 0; }
  .ht-ab-travel__trio { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .ht-ab-travel__trio img { aspect-ratio: 4 / 3; }
}

/* ---------- 26. Work: editorial project index (own grammar) ---------- */
.ht-wk-hero { padding: clamp(28px, 3.6vw, 58px) 0 clamp(30px, 3.6vw, 54px); }
.ht-wk-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); row-gap: clamp(18px, 2.2vw, 28px); align-items: end; }
.ht-wk-hero__copy { grid-column: 1 / 6; }
.ht-wk-hero__title { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(42px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.02em; color: var(--ht-primary-deep); font-variation-settings: 'opsz' 72; }
.ht-wk-hero__dek { margin-top: clamp(12px, 1.6vw, 18px); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ht-text); max-width: 26em; }
.ht-wk-hero__meta { margin-top: 14px; color: var(--ht-secondary); }
.ht-wk-hero__caps { grid-column: 7 / 13; font-size: 17.5px; line-height: 1.65; color: var(--ht-text-muted); max-width: 54ch; }
.ht-wk-areas { margin-top: clamp(24px, 3vw, 42px); padding-top: clamp(18px, 2.2vw, 28px); border-top: 1px solid var(--ht-border); }
.ht-wk-areas__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: 12px; }
.ht-wk-areas__item { display: grid; gap: 6px; border-left: 2px solid var(--ht-accent); padding-left: 12px; }
.ht-wk-areas__l { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(16px, 1.5vw, 19px); color: var(--ht-primary-deep); }
.ht-wk-areas__n { font-size: 11.5px; color: var(--ht-text-muted); }

/* shared work type */
.ht-wk-feature { padding: clamp(40px, 5vw, 82px) 0; }
.ht-wk-feature__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); row-gap: 6px; margin-bottom: clamp(22px, 2.8vw, 40px); }
.ht-wk-feature__head > .ht-wk__k { grid-column: 1 / 13; }
.ht-wk-feature__head > .ht-wk-title { grid-column: 1 / 9; }
.ht-wk-feature__head > .ht-wk-sub { grid-column: 1 / 9; }
.ht-wk-feature__head > .ht-wk__meta { grid-column: 1 / 9; margin-top: 8px; }
.ht-wk-feature__head > .ht-wk__cats { grid-column: 1 / 9; }
.ht-wk__k { font-family: var(--a3-mono, monospace); font-size: 11.5px; letter-spacing: 0.2em; color: var(--ht-border-strong); }
.ht-wk-h2 { font-family: var(--a3-mono, monospace); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-wk-title { margin: 4px 0 0; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(30px, 3.8vw, 56px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ht-primary-deep); max-width: 26ch; text-wrap: balance; }
.ht-wk-title--sm { font-size: clamp(26px, 3vw, 44px); }
.ht-wk-sub { margin-top: 6px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(17px, 1.7vw, 22px); color: var(--ht-primary); }
.ht-wk__meta { margin-top: 8px; color: var(--ht-text-muted); }
/* dark feature (AI for Global Health): keep the editorial scale, restore the contrast */
.ht-dark .ht-wk-title { color: #FFFFFF; }
.ht-dark .ht-wk-title--sm { color: #FFFFFF; }
.ht-dark .ht-wk-sub { color: var(--ht-text-on-dark); }
.ht-dark .ht-wk-feature__head > .ht-wk__k { color: var(--ht-accent); }
.ht-wk__cats { margin-top: 8px; color: var(--ht-secondary); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11.5px; }
.ht-wk__label { margin-top: clamp(18px, 2.2vw, 28px); color: var(--ht-text-muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.ht-wk__role { margin-top: 14px; color: var(--ht-secondary); }
.ht-wk-prose { font-size: 17.5px; line-height: 1.66; color: var(--ht-text); max-width: 50ch; }
.ht-wk-note { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ht-text-muted); max-width: 56ch; }
.ht-wk-note--plate { color: var(--ht-text-muted); }
.ht-wk__link { margin-top: clamp(16px, 2vw, 24px); }
.ht-wk-spec { margin: 10px 0 0; }
.ht-wk-spec__row { display: grid; grid-template-columns: minmax(0, 11ch) minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-bottom: 1px solid var(--ht-border); }
.ht-wk-spec__row dt { font-family: var(--a3-mono, monospace); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ht-text-muted); }
.ht-wk-spec__row dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ht-text); }
.ht-wk-spec--tight .ht-wk-spec__row { padding: 7px 0; border-bottom: 0; }
.ht-wk-spec--dark .ht-wk-spec__row { border-bottom-color: #24405F; }
.ht-wk-spec--dark .ht-wk-spec__row dd { color: var(--ht-text-on-dark); }
.ht-wk-spec--dark .ht-wk-spec__row dt { color: var(--ht-text-on-dark-muted); }
.ht-wk-block + .ht-wk-block { margin-top: clamp(26px, 3.2vw, 46px); }
.ht-wk-ghic__left .ht-wk-block--chain { margin-top: clamp(24px, 3vw, 40px); }

/* sleepsync plate */
.ht-wk-sleep { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 44px); row-gap: clamp(24px, 3vw, 40px); align-items: start; }
.ht-wk-sleep__text { grid-column: 1 / 5; }
.ht-wk-sleep__media { grid-column: 5 / 13; }
.ht-wk-plate { background: var(--ht-surface-deep); padding: clamp(12px, 1.4vw, 20px); }
.ht-wk-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); align-items: start; }
.ht-wk-shots__item--lead { grid-column: 1 / 3; }
.ht-wk-plate .ht-shot img { border-color: #24405F; }
.ht-wk-plate .ht-cap { color: var(--ht-text-on-dark-muted); }

/* ghic dossier */
.ht-wk-ghic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 44px); row-gap: clamp(26px, 3vw, 44px); align-items: start; }
.ht-wk-ghic__left { grid-column: 1 / 6; }
.ht-wk-ghic__right { grid-column: 6 / 13; }
.ht-wk-cases { list-style: none; margin: 14px 0 0; padding: 0; }
.ht-wk-cases__item { display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 2px 14px; padding: clamp(12px, 1.4vw, 18px) 0; border-bottom: 1px solid #24405F; }
.ht-wk-cases__n { color: var(--ht-accent); font-size: 12px; letter-spacing: 0.1em; }
.ht-wk-cases__t { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(19px, 1.9vw, 26px); color: #FFFFFF; }
.ht-wk-cases__c { grid-column: 2 / 3; color: var(--ht-text-on-dark-muted); font-size: 12px; }
.ht-wk-lenses { margin: 12px 0 0; }
.ht-wk-lenses__row { padding: clamp(10px, 1.2vw, 16px) 0; border-bottom: 1px solid #24405F; }
.ht-wk-lenses__row dt { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(18px, 1.8vw, 24px); color: #FFFFFF; }
.ht-wk-lenses__row dd { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--ht-text-on-dark-muted); max-width: 52ch; }
.ht-wk-chain { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ht-wk-chain li { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15.5px; color: var(--ht-text-on-dark); }
.ht-wk-chain li + li::before { content: '→'; margin-right: 12px; color: #3D6D96; }
.ht-wk-chain__n { font-size: 11px; color: var(--ht-accent); }

/* financial codebook specification */
.ht-wk-cbk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 44px); row-gap: clamp(26px, 3vw, 44px); align-items: start; }
.ht-wk-cbk__left { grid-column: 1 / 5; }
.ht-wk-cbk__right { grid-column: 5 / 13; }
.ht-wk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); margin-top: 14px; }
.ht-wk-stat { border-top: 2px solid var(--ht-accent); padding-top: clamp(10px, 1.2vw, 16px); }
.ht-wk-stat__v { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1; color: var(--ht-primary-deep); }
.ht-wk-stat__k { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ht-text-muted); }
.ht-wk-fields { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px) clamp(20px, 2.6vw, 40px); }
.ht-wk-fields__row { display: grid; grid-template-columns: minmax(0, 13ch) minmax(0, 1fr); gap: 4px 14px; }
.ht-wk-fields__row dt { font-size: 15.5px; line-height: 1.4; color: var(--ht-primary-deep); }
.ht-wk-fields__n { display: block; font-size: 10.5px; color: var(--ht-border-strong); letter-spacing: 0.12em; }
.ht-wk-fields__row dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ht-text-muted); }
.ht-wk-flow { list-style: none; margin: 16px 0 0; padding: 0 0 0 clamp(16px, 2vw, 26px); border-left: 1px solid var(--ht-border); }
.ht-wk-flow__step { display: grid; grid-template-columns: 4ch minmax(0, 15ch) minmax(0, 1fr); gap: 3px 16px; padding: clamp(7px, 0.9vw, 11px) 0; }
.ht-wk-flow__n { font-size: 11px; color: var(--ht-secondary); }
.ht-wk-flow__t { font-family: var(--a3-serif, Georgia, serif); font-size: 17px; color: var(--ht-primary-deep); }
.ht-wk-flow__d { font-size: 15px; line-height: 1.45; color: var(--ht-text-muted); }

/* tsinghua photo feature */
.ht-wk-ts__media { display: block; }
.ht-wk-ts__photo img { aspect-ratio: 21 / 9; object-fit: cover; }
.ht-wk-ts__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(18px, 2.4vw, 30px); }
.ht-wk-ts__text > * { grid-column: 1 / 6; }
.ht-wk-ts__text > .ht-wk-prose { grid-column: 6 / 11; margin-top: 0; }
.ht-wk-ts__text > .ht-wk-note { grid-column: 6 / 11; }
.ht-wk-ts__text > .ht-wk__label { grid-column: 6 / 11; }

/* secondary index */
.ht-wk-more__note, .ht-wk-close__note { margin-bottom: clamp(18px, 2.2vw, 30px); }
.ht-wk-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); row-gap: 8px; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 1px solid var(--ht-border); }
.ht-wk-row__cat { grid-column: 1 / 4; color: var(--ht-secondary); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.ht-wk-row__body { grid-column: 4 / 13; }
.ht-wk-row__title { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12; color: var(--ht-primary-deep); }
.ht-wk-row__meta { margin-top: 8px; color: var(--ht-text-muted); }
.ht-wk-row__d { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: var(--ht-text); max-width: 60ch; }

/* close */
.ht-wk-caselinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.ht-wk-case { display: grid; gap: 10px; padding: clamp(18px, 2.2vw, 28px) 0 0; border-top: 3px solid var(--ht-primary); text-decoration: none; }
.ht-wk-case:hover { border-top-color: var(--ht-accent); }
.ht-wk-case__k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-wk-case__t { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(20px, 2.1vw, 28px); line-height: 1.14; color: var(--ht-primary-deep); }
.ht-wk-case:hover .ht-wk-case__t { color: var(--ht-primary-light); }
.ht-wk-case__m { font-size: 12px; color: var(--ht-text-muted); }

/* ---------- 27. Work: motion + responsive ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ht-wk-reveal { animation: ht-rise 0.8s linear both; animation-timeline: view(); animation-range: entry 3% cover 26%; }
    .ht-wk-row { animation: ht-rise 0.7s linear both; animation-timeline: view(); animation-range: entry calc(3% + var(--i) * 5%) cover 28%; }
    .ht-wk-case { animation: ht-rise 0.75s linear both; animation-timeline: view(); animation-range: entry calc(4% + var(--i) * 6%) cover 30%; }
    .ht-wk-flow__step { animation: ht-rise 0.6s linear both; animation-timeline: view(); animation-range: entry calc(4% + var(--i) * 3%) cover 26%; }
    .ht-wk-shots .ht-shot img,
    .ht-wk-ts__photo img { animation: ht-mask 1.05s linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ht-wk-case { transition: border-color 0.25s ease; }
  .ht-wk-case__t { transition: color 0.25s ease; }
  .ht-wk-row { transition: background-color 0.25s ease; }
  .ht-wk-row:hover { background-color: var(--ht-bg-soft); }
}
@media (prefers-reduced-motion: reduce) {
  .ht-wk-reveal, .ht-wk-row, .ht-wk-case, .ht-wk-flow__step, .ht-wk-shots .ht-shot img, .ht-wk-ts__photo img {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .ht-wk-case, .ht-wk-case__t, .ht-wk-row { transition: none; }
  .ht-wk-row:hover { background-color: transparent; }
}
@media (max-width: 1024px) {
  .ht-wk-hero__copy, .ht-wk-hero__caps { grid-column: 1 / 13; }
  .ht-wk-feature__head > .ht-wk-title, .ht-wk-feature__head > .ht-wk-sub,
  .ht-wk-feature__head > .ht-wk__meta, .ht-wk-feature__head > .ht-wk__cats { grid-column: 1 / 13; }
  .ht-wk-sleep__text, .ht-wk-sleep__media,
  .ht-wk-ghic__left, .ht-wk-ghic__right,
  .ht-wk-cbk__left, .ht-wk-cbk__right { grid-column: 1 / 13; }
  .ht-wk-ts__text > *, .ht-wk-ts__text > .ht-wk-prose,
  .ht-wk-ts__text > .ht-wk-note, .ht-wk-ts__text > .ht-wk__label { grid-column: 1 / 13; }
  .ht-wk-fields { grid-template-columns: minmax(0, 1fr); }
  .ht-wk-areas__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ht-wk-row__cat { grid-column: 1 / 13; }
  .ht-wk-row__body { grid-column: 1 / 13; }
}
@media (max-width: 760px) {
  .ht-wk-hero__title { font-size: clamp(36px, 12vw, 56px); }
  .ht-wk-areas__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .ht-wk-ts__photo img { aspect-ratio: 3 / 2; }
  .ht-wk-shots { grid-template-columns: minmax(0, 1fr); }
  .ht-wk-shots__item--lead { grid-column: 1 / 2; }
  .ht-wk-stats { grid-template-columns: minmax(0, 1fr); }
  .ht-wk-fields__row, .ht-wk-flow__step { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ht-wk-caselinks { grid-template-columns: minmax(0, 1fr); }
  .ht-wk-spec__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 28. Journey: documentary route through places and transitions ---------- */
.ht-jr-hero { padding: clamp(26px, 3.4vw, 56px) 0 clamp(24px, 3vw, 44px); }
.ht-jr-hero__kicker { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-jr-hero__title { margin-top: 10px; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(40px, 5.4vw, 82px); line-height: 1; letter-spacing: -0.02em; color: var(--ht-primary-deep); }
.ht-jr-hero__dek { margin-top: clamp(12px, 1.6vw, 18px); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--ht-text); max-width: 30em; }
.ht-jr-hero__meta { margin-top: 14px; color: var(--ht-text-muted); }

/* route overview */
.ht-jr-route-band { padding-top: clamp(28px, 3.4vw, 50px); padding-bottom: clamp(30px, 3.6vw, 56px); }
.ht-jr-route { position: relative; list-style: none; margin: clamp(18px, 2.2vw, 30px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.ht-jr-route::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--ht-border-strong); transform-origin: left center; }
.ht-jr-route__stop { position: relative; display: grid; gap: 6px; align-content: start; }
.ht-jr-route__node { width: 11px; height: 11px; border-radius: 50%; border: 1.6px solid var(--ht-primary); background: #FFFFFF; }
.ht-jr-route__stop.is-now .ht-jr-route__node { background: var(--ht-accent); border-color: var(--ht-secondary); }
.ht-jr-route__when { margin-top: 4px; font-size: 11.5px; letter-spacing: 0.1em; color: var(--ht-text-muted); }
.ht-jr-route__place { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(17px, 1.7vw, 24px); line-height: 1.2; color: var(--ht-primary-deep); }
.ht-jr-route__place--to { color: var(--ht-primary); }
.ht-jr-route__arrow { font-family: var(--a3-mono, monospace); font-size: 13px; color: var(--ht-secondary); }

/* chapters */
.ht-jr-stages { padding-bottom: clamp(28px, 3.6vw, 54px); }
.ht-jr-chapter { padding: clamp(34px, 4.4vw, 74px) 0; border-top: 1px solid var(--ht-border); }
.ht-jr-chapter__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 38px); row-gap: clamp(18px, 2.2vw, 30px); align-items: start; }
.ht-jr-chapter__head { grid-column: 1 / 4; display: grid; gap: 6px; }
.ht-jr-chapter__n { font-family: var(--a3-mono, monospace); font-size: 11.5px; letter-spacing: 0.2em; color: var(--ht-border-strong); }
.ht-jr-year { font-family: var(--a3-mono, monospace); font-size: clamp(22px, 2.6vw, 38px); line-height: 1; letter-spacing: -0.01em; color: var(--ht-secondary); }
.ht-jr-place { margin: 2px 0 0; font-family: var(--a3-serif, Georgia, serif); font-size: clamp(24px, 2.7vw, 42px); line-height: 1.08; color: var(--ht-primary-deep); }
.ht-jr-transition { margin-top: 6px; font-size: 11.5px; letter-spacing: 0.06em; color: var(--ht-text-muted); }
.ht-jr-chapter__media { grid-column: 4 / 13; }
.ht-jr-chapter__text { grid-column: 4 / 10; }
.ht-jr-line { font-size: 18px; line-height: 1.62; color: var(--ht-text); max-width: 48ch; }
.ht-jr-marker { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.ht-jr-marker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ht-accent); flex: 0 0 auto; }
.ht-jr-marker__k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-primary); }
.ht-jr-plate + .ht-jr-plate { margin-top: clamp(12px, 1.6vw, 20px); }
/* prelude: the journey starts before the United States */
.ht-jr-prelude { margin: 0 0 clamp(24px, 3vw, 44px); }
.ht-jr-prelude__media { max-width: 420px; }
.ht-jr-prelude__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.ht-jr-prelude__k { margin-top: 10px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-jr-prelude .ht-cap { margin-top: 4px; }
/* varsity award: documentary inset inside the first stage */
.ht-jr-plate--inset { grid-column: 8 / 13; }
.ht-jr-plate--inset img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 46%; }
.ht-jr-plate--inset .ht-cap { font-size: 13px; }
.ht-jr-chapter--two .ht-jr-chapter__media,
.ht-jr-chapter--pair .ht-jr-chapter__media { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.8vw, 28px); align-items: end; }
/* stage 1: the host-family photograph leads at roughly 60%, the class photo sits at roughly 40%.
   Neither image is given an aspect-ratio override, so both keep their natural framing and no face is cropped. */
.ht-jr-chapter--two .ht-jr-plate--lead { grid-column: 1 / 8; }
.ht-jr-chapter--two .ht-jr-plate--side { grid-column: 8 / 13; }
.ht-jr-chapter--pair .ht-jr-plate--lead { grid-column: 1 / 8; }
.ht-jr-chapter--pair .ht-jr-plate--lead img { aspect-ratio: 16 / 10; object-fit: cover; }
.ht-jr-chapter--pair .ht-jr-plate--side { grid-column: 8 / 13; }
.ht-jr-chapter--pair .ht-jr-plate--side img { aspect-ratio: 3 / 4; object-fit: cover; }
.ht-jr-chapter--band .ht-jr-chapter__media { grid-column: 1 / 13; }
.ht-jr-chapter--band .ht-jr-chapter__head { grid-column: 1 / 4; }
.ht-jr-chapter--band .ht-jr-chapter__text { grid-column: 4 / 10; }
.ht-jr-chapter--band .ht-jr-plate--lead img { aspect-ratio: 21 / 9; object-fit: cover; }

/* current stage: the page's one dark band */
.ht-jr-chapter--now { border-top: 0; background: radial-gradient(120% 130% at 85% 0%, #16355A 0%, #0B1B33 58%, #06111F 100%); color: var(--ht-text-on-dark); }
.ht-jr-chapter--now .ht-jr-chapter__media { grid-column: 1 / 8; }
.ht-jr-chapter--now .ht-jr-chapter__head { grid-column: 8 / 13; }
.ht-jr-chapter--now .ht-jr-chapter__text { grid-column: 8 / 13; }
.ht-jr-chapter--now .ht-jr-place { color: #FFFFFF; }
.ht-jr-chapter--now .ht-jr-year { color: var(--ht-accent); }
.ht-jr-chapter--now .ht-jr-transition { color: var(--ht-text-on-dark-muted); }
.ht-jr-chapter--now .ht-jr-chapter__n { color: rgba(255, 255, 255, 0.22); }
.ht-jr-chapter--now .ht-jr-line { color: var(--ht-text-on-dark); }
.ht-jr-chapter--now .ht-jr-marker__k { color: var(--ht-accent); }
.ht-jr-chapter--now .ht-cap { color: var(--ht-text-on-dark-muted); }
.ht-jr-chapter--now .ht-shot img { border-color: #24405F; }
.ht-jr-take { margin-top: clamp(16px, 2vw, 26px); padding-left: clamp(14px, 1.6vw, 22px); border-left: 3px solid var(--ht-accent); font-family: var(--a3-serif, Georgia, serif); font-size: clamp(19px, 2vw, 28px); line-height: 1.26; color: #FFFFFF; max-width: 26ch; }
.ht-jr-now { grid-column: 8 / 13; }
.ht-jr-now__k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-accent); }
.ht-jr-now__where { margin-top: 8px; font-size: 15px; color: var(--ht-text-on-dark-muted); }
.ht-jr-now__row { margin-top: 12px; }
.ht-jr-now__l { display: block; margin-bottom: 3px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ht-accent); }
.ht-jr-now__t { font-size: 15.5px; line-height: 1.55; color: var(--ht-text-on-dark); }
.ht-jr-now__foot { margin-top: 14px; font-size: 11.5px; color: var(--ht-text-on-dark-muted); }

/* close */
.ht-jr-close { padding: clamp(34px, 4.4vw, 68px) 0 clamp(34px, 4.4vw, 64px); }
.ht-jr-close__k { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-jr-close__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(16px, 2vw, 26px); }
.ht-jr-close__link { display: block; padding: clamp(14px, 1.6vw, 20px) 0 0; border-top: 3px solid var(--ht-primary); text-decoration: none; }
.ht-jr-close__link:hover { border-top-color: var(--ht-accent); }
.ht-jr-close__t { font-family: var(--a3-serif, Georgia, serif); font-size: clamp(20px, 2.1vw, 28px); color: var(--ht-primary-deep); }
.ht-jr-close__link:hover .ht-jr-close__t { color: var(--ht-primary-light); }

/* ---------- 29. Journey: motion + responsive ---------- */
@keyframes ht-line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ht-arrow { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ht-jr-reveal { animation: ht-rise 0.8s linear both; animation-timeline: view(); animation-range: entry 3% cover 26%; }
    .ht-jr-route::before { animation: ht-line-grow 1.1s linear both; animation-timeline: view(); animation-range: entry 6% cover 30%; }
    .ht-jr-route__stop { animation: ht-rise 0.7s linear both; animation-timeline: view(); animation-range: entry calc(4% + var(--i) * 5%) cover 28%; }
    .ht-jr-route__arrow { animation: ht-arrow 0.8s linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    .ht-jr-plate .ht-shot img { animation: ht-mask 1.05s linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
    .ht-jr-close__link { animation: ht-rise 0.7s linear both; animation-timeline: view(); animation-range: entry calc(4% + var(--i) * 6%) cover 30%; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ht-jr-close__link { transition: border-color 0.25s ease; }
  .ht-jr-close__t { transition: color 0.25s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-jr-reveal, .ht-jr-route__stop, .ht-jr-route__arrow, .ht-jr-plate .ht-shot img, .ht-jr-close__link {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .ht-jr-route::before { animation: none !important; transform: none !important; }
  .ht-jr-close__link, .ht-jr-close__t { transition: none; }
}
@media (max-width: 1024px) {
  .ht-jr-route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ht-jr-route::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform-origin: center top; }
  .ht-jr-route__stop { grid-template-columns: 18px minmax(0, 1fr); column-gap: 14px; padding-bottom: clamp(18px, 2.4vw, 26px); }
  .ht-jr-route__node { grid-column: 1 / 2; grid-row: 1; }
  .ht-jr-route__when, .ht-jr-route__place, .ht-jr-route__arrow { grid-column: 2 / 3; }
  .ht-jr-chapter__head, .ht-jr-chapter__media, .ht-jr-chapter__text, .ht-jr-now,
  .ht-jr-chapter--band .ht-jr-chapter__head, .ht-jr-chapter--band .ht-jr-chapter__text,
  .ht-jr-chapter--now .ht-jr-chapter__media, .ht-jr-chapter--now .ht-jr-chapter__head,
  .ht-jr-chapter--now .ht-jr-chapter__text { grid-column: 1 / 13; }
}
@media (max-width: 760px) {
  .ht-jr-hero__title { font-size: clamp(34px, 11vw, 54px); }
  .ht-jr-chapter--two .ht-jr-chapter__media,
  .ht-jr-chapter--pair .ht-jr-chapter__media { grid-template-columns: minmax(0, 1fr); }
  .ht-jr-chapter--two .ht-jr-plate--lead, .ht-jr-chapter--two .ht-jr-plate--side, .ht-jr-chapter--two .ht-jr-plate--inset,
  .ht-jr-chapter--pair .ht-jr-plate--lead, .ht-jr-chapter--pair .ht-jr-plate--side { grid-column: 1 / 2; }
  .ht-jr-plate--inset img { aspect-ratio: 3 / 4; }
  /* mobile: the host-family photograph stays clearly dominant; the class photo reads as context beneath it */
  .ht-jr-chapter--two .ht-jr-plate--side, .ht-jr-chapter--two .ht-jr-plate--inset { max-width: 64%; }
  .ht-jr-chapter--pair .ht-jr-plate--side img { aspect-ratio: 4 / 3; }
  .ht-jr-chapter--band .ht-jr-plate--lead img { aspect-ratio: 3 / 2; }
  .ht-jr-close__links { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 30. Resume: the document page (own grammar) ---------- */
.ht-rs-head { border-top: 0; padding: clamp(56px, 7vw, 104px) 0 clamp(44px, 5.6vw, 84px); }
.ht-rs-head__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.4vw, 36px); row-gap: clamp(26px, 3.2vw, 44px); align-items: start; }
.ht-rs-head__copy { grid-column: 1 / 8; }
.ht-rs-k { letter-spacing: 0.16em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-rs-title { margin: 12px 0 0; font-family: var(--a3-serif, Georgia, serif); font-weight: 400; font-size: clamp(42px, 6.6vw, 96px); line-height: 0.98; letter-spacing: -0.03em; color: var(--ht-primary-deep); }
.ht-rs-lede { margin-top: clamp(14px, 1.8vw, 22px); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--ht-text-muted); max-width: 44ch; }
.ht-rs-meta { margin-top: clamp(16px, 2vw, 24px); display: flex; flex-wrap: wrap; }
.ht-rs-meta span + span::before { content: '·'; margin: 0 12px; color: var(--ht-border-strong); }

/* the artifact: a document panel, not a card in a grid of cards */
.ht-rs-card { grid-column: 8 / 13; border: 1px solid var(--ht-border-strong); background: var(--ht-bg-soft); padding: clamp(20px, 2.4vw, 32px); }
.ht-rs-card__k { letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-rs-card__file { margin-top: 10px; font-family: var(--a3-mono, monospace); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.35; color: var(--ht-text); overflow-wrap: anywhere; }
.ht-rs-facts { margin-top: clamp(16px, 2vw, 22px); border-top: 1px solid var(--ht-border-strong); }
.ht-rs-facts__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--ht-border); }
.ht-rs-facts dt { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ht-text-muted); }
.ht-rs-facts dd { color: var(--ht-text); }
.ht-rs-card__cta { margin-top: clamp(18px, 2.2vw, 26px); }
.ht-rs-card__note { margin-top: 14px; }
.ht-rs-btn { display: inline-flex; align-items: baseline; gap: 10px; padding: 13px 22px; border: 1px solid var(--ht-primary-deep); background: var(--ht-primary-deep); color: #FFFFFF; font-family: var(--a3-mono, monospace); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.ht-rs-btn::after { content: '\2192'; }
.ht-rs-btn:hover { background: var(--ht-primary); border-color: var(--ht-primary); color: #FFFFFF; }
.ht-rs-btn.is-disabled { opacity: 0.45; }

/* The button carries its own colour: a3.css ships `body.a3 a` (one class, two elements), which beats a
   single-class rule, so each state is scoped with a pseudo-class to keep the label legible on both surfaces. */
.ht-rs-card__cta .ht-rs-btn:link, .ht-rs-card__cta .ht-rs-btn:visited,
.ht-rs-card__cta .ht-rs-btn:hover { color: #FFFFFF; }
.ht-rs-artifact__act .ht-rs-btn:link, .ht-rs-artifact__act .ht-rs-btn:visited { color: var(--ht-primary-deep); }
.ht-rs-artifact__act .ht-rs-btn:hover { color: #04202B; }

/* 01 profile */
.ht-rs-profile__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.4vw, 36px); row-gap: clamp(22px, 2.8vw, 34px); align-items: start; }
.ht-rs-profile__lede { grid-column: 1 / 8; }
.ht-rs-body { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.62; color: var(--ht-text); max-width: 52ch; }
.ht-rs-profile__side { grid-column: 9 / 13; }
.ht-rs-label { letter-spacing: 0.14em; text-transform: uppercase; color: var(--ht-secondary); }
.ht-rs-profile__side .ht-rs-label + .ht-rs-focus, .ht-rs-profile__side .ht-rs-label + .ht-rs-chips { margin-top: 12px; }
.ht-rs-profile__side .ht-rs-label:not(:first-child) { margin-top: clamp(20px, 2.4vw, 28px); }
.ht-rs-focus { list-style: none; margin: 0; padding: 0; }
.ht-rs-focus li { padding: 9px 0; border-top: 1px solid var(--ht-border); font-size: 15.5px; line-height: 1.45; color: var(--ht-text); }
.ht-rs-focus li:last-child { border-bottom: 1px solid var(--ht-border); }
.ht-rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* 02 education, 03 experience: one ruled ledger row each */
.ht-rs-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.4vw, 36px); padding: clamp(20px, 2.6vw, 34px) 0; }
.ht-rs-row::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ht-border); transform-origin: left center; }
.ht-rs-edu .ht-rs-row:last-child::after, .ht-rs-exp .ht-rs-row:last-child::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--ht-border); }
.ht-rs-row__body { grid-column: 1 / 9; }
.ht-rs-row__side { grid-column: 9 / 13; }
.ht-rs-row__title { font-family: var(--a3-serif, Georgia, serif); font-weight: 400; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; color: var(--ht-primary-deep); }
.ht-rs-row__sub { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ht-text); }
.ht-rs-row__role { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ht-text-muted); max-width: 58ch; }
.ht-rs-row__d { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ht-text-muted); max-width: 58ch; }
.ht-rs-row__link { margin-top: 10px; }
.ht-rs-row__when { color: var(--ht-text); }
.ht-rs-row__where { margin-top: 6px; }
.ht-rs-row__cat { margin-top: 6px; color: var(--ht-border-strong); }

/* 04 the document: the page's one dark band */
.ht-rs-artifact { padding: clamp(52px, 6.4vw, 104px) 0 clamp(48px, 6vw, 96px); }
.ht-rs-artifact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.4vw, 36px); row-gap: clamp(26px, 3vw, 40px); align-items: end; }
.ht-rs-artifact__copy { grid-column: 1 / 8; }
.ht-rs-artifact__h { margin-top: 12px; font-family: var(--a3-serif, Georgia, serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.03em; color: #FFFFFF; }
.ht-rs-artifact__copy .ht-note { margin-top: 12px; }
.ht-rs-artifact__act { grid-column: 9 / 13; }
.ht-rs-artifact__file { color: var(--ht-text-on-dark-muted); overflow-wrap: anywhere; }
.ht-rs-artifact__cta { margin-top: 14px; }
.ht-rs-artifact__act .ht-rs-btn { background: #FFFFFF; border-color: #FFFFFF; color: var(--ht-primary-deep); }
.ht-rs-artifact__act .ht-rs-btn:hover { background: var(--ht-accent); border-color: var(--ht-accent); color: #04202B; }
.ht-rs-artifact__act .ht-rs-label { margin-top: clamp(20px, 2.4vw, 28px); color: var(--ht-accent); }
.ht-rs-ways { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 18px; }

/* ---------- 31. Resume: motion + responsive ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ht-rs-reveal { animation: ht-rise 0.8s linear both; animation-timeline: view(); animation-range: entry 3% cover 26%; }
    .ht-rs-row::before, .ht-rs-edu .ht-rs-row:last-child::after, .ht-rs-exp .ht-rs-row:last-child::after {
      animation: ht-line-grow 0.9s linear both; animation-timeline: view(); animation-range: entry 4% cover 22%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ht-rs-reveal, .ht-rs-row::before, .ht-rs-edu .ht-rs-row:last-child::after, .ht-rs-exp .ht-rs-row:last-child::after {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}
@media (max-width: 1024px) {
  .ht-rs-head__copy, .ht-rs-card, .ht-rs-profile__lede, .ht-rs-profile__side,
  .ht-rs-artifact__copy, .ht-rs-artifact__act { grid-column: 1 / 13; }
  .ht-rs-row__body { grid-column: 1 / 8; }
  .ht-rs-row__side { grid-column: 8 / 13; }
}
@media (max-width: 700px) {
  .ht-rs-title { font-size: clamp(38px, 13vw, 60px); }
  .ht-rs-row__body, .ht-rs-row__side { grid-column: 1 / 13; }
  .ht-rs-row__side { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .ht-rs-row__side p { margin-top: 0; }
  .ht-rs-artifact__h { font-size: clamp(28px, 9vw, 44px); }
}
