/* Shared by the homepage and the training hub: the quiet layout with the
   angled red band as the one bold element. See index.html history (PR #45). */
/* ========================================================================
   HOME (2026-09-30). One bold element: the angled red band from the print
   pieces, used as the page's spine (hero services strip, course, contact).
   Everything else is quiet: sentence-case Share Tech headings, hairline rules,
   left alignment, no boxed cards. Cyan is kept for links and focus only.
   ======================================================================== */
.h { --ink: #121212; --graphite: #1E1E1E; --steel: #2D2D2D; --red: #B63C35; --bone: #EFECEB;
  --muted: rgba(239,236,235,0.66); --rule: rgba(239,236,235,0.14); }
.h-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.h h2 { font-family: var(--rl-font-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05;
  letter-spacing: 0.005em; color: #fff; margin: 0 0 20px; max-width: 24ch; }
.h-lede { font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.h a:focus-visible, .h .btn:focus-visible { outline: 2px solid var(--rl-royal-aqua); outline-offset: 3px; }

/* band: the one bold element */
.h-band { position: relative; background: linear-gradient(115deg, #c4453d 0%, var(--red) 42%, #8e2b25 100%); color: #fff;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }

/* hero */
.h-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: calc(64px + 96px) 0 0; }
.h-hero-mark { position: absolute; right: -90px; top: 90px; width: 520px; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.h-hero .h-wrap { position: relative; }
.h-place { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.h-hero h1 { font-family: var(--rl-font-display); font-weight: 400; font-size: clamp(46px, 7.2vw, 96px); line-height: 0.98;
  letter-spacing: 0.005em; margin: 0 0 28px; max-width: 17ch; }
.h-hero .h-lede { margin-bottom: 36px; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h-hero .h-band { margin-top: 96px; padding: 76px 0 40px; }
.h-ways { display: grid; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .h-ways { grid-template-columns: repeat(4, 1fr); } }
.h-ways li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.28); }
@media (min-width: 860px) { .h-ways li { padding: 0 22px; border-top: 0; border-left: 1px solid rgba(255,255,255,0.28); }
  .h-ways li:first-child { padding-left: 0; border-left: 0; } }
.h-ways a { color: #fff; text-decoration: none; display: block; }
.h-ways strong { display: block; font-family: var(--rl-font-display); font-weight: 400; font-size: 24px; line-height: 1.1; margin-bottom: 6px; }
.h-ways span { font-size: 14px; color: #fbe9e7; line-height: 1.5; }
.h-ways a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .h-hero .h-band { animation: h-band-in 0.9s cubic-bezier(.2,.7,.2,1) 0.2s both; }
  @keyframes h-band-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } } }

.h-band-price { }
.h-more { margin-top: 44px; font-size: 16px; }
.h-more--sub { margin-top: 14px; color: var(--muted); }
.h-cols + .h-more { margin-top: 48px; }
.h-next { margin-top: 14px; font-size: 14px; color: var(--bone); }
.h-next strong { color: #fff; }
.h-next a { color: #fff; font-weight: 600; margin-left: 6px; text-decoration-color: var(--red); text-underline-offset: 5px; }
.h-more a { color: #fff; font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.h-hero .h-band-grid { align-items: end; }
@media (min-width: 860px) { .h-hero .h-band-grid { grid-template-columns: 1.1fr 1fr auto; } .h-band-price { text-align: right; } }
/* problem: three columns split by hairlines */
.h-sec { padding: 112px 0; color: #fff; }
.h-sec--graphite { background: var(--graphite); }
.h-sec--ink { background: var(--ink); }
.h-cols { display: grid; grid-template-columns: 1fr; margin-top: 56px; }
@media (min-width: 860px) { .h-cols { grid-template-columns: repeat(3, 1fr); } }
.h-col { padding: 26px 0; border-top: 1px solid var(--rule); }
@media (min-width: 860px) { .h-col { padding: 0 32px; border-top: 0; border-left: 1px solid var(--rule); }
  .h-col:first-child { padding-left: 0; border-left: 0; } }
.h-col img { width: 32px; height: 32px; margin-bottom: 18px; }
.h-col h3 { font-family: var(--rl-font-display); font-weight: 400; font-size: 26px; color: #fff; margin: 0 0 10px; }
.h-col p { font-size: 15px; line-height: 1.7; color: var(--muted); }

/* approach: text left, checklist right */
.h-split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 900px) { .h-split { grid-template-columns: 1.1fr 0.9fr; gap: 80px; } }
.h-checks { list-style: none; margin: 8px 0 0; padding: 0; }
.h-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--rule);
  font-size: 16px; line-height: 1.55; color: var(--bone); }
.h-checks li:last-child { border-bottom: 1px solid var(--rule); }
.h-split-title { font-family: var(--rl-font-display); font-weight: 400; font-size: 24px; line-height: 1.2; color: #fff; margin: 6px 0 14px; }
.h-checks svg { margin-top: 3px; }

/* services: spec-sheet rows */
.h-rows { margin-top: 56px; border-top: 1px solid var(--rule); }
.h-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 30px 0; border-bottom: 1px solid var(--rule); position: relative; }
@media (min-width: 860px) { .h-row { grid-template-columns: 300px 1fr 170px; gap: 40px; align-items: baseline; } }
.h-row h3 { font-family: var(--rl-font-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: #fff; margin: 0; }
.h-row p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.h-row .h-kind { font-size: 14px; color: var(--muted); }
@media (min-width: 860px) { .h-row .h-kind { text-align: right; } }
.h-row--course::before { content: ""; position: absolute; left: -24px; top: 30px; bottom: 30px; width: 3px; background: var(--red); }
.h-row--course .h-kind a { color: #fff; font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 5px; }

/* course */
.h-course { background: var(--ink); color: #fff; padding: 120px 0 0; text-align: center; }
.h-course h2 { max-width: none; margin: 0 auto 16px; font-size: clamp(52px, 8.4vw, 112px); line-height: 1; }
.h-course h2 .ai { color: var(--red); }
.h-course-line { font-size: clamp(18px, 2vw, 24px); font-weight: 300; color: var(--bone); margin-bottom: 56px; }
.h-course .h-cols { text-align: left; margin-top: 0; }
.h-course .h-band { margin-top: 88px; padding: 76px 0 44px; text-align: left; }
.h-band-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: end; }
@media (min-width: 860px) { .h-band-grid { grid-template-columns: 1fr 1fr auto; } }
.h-big { font-family: var(--rl-font-display); font-size: clamp(32px, 3.8vw, 48px); line-height: 1; }
.h-small { font-size: 14px; color: #fbe9e7; margin-top: 8px; }

/* quotes */
.h-quotes { display: grid; grid-template-columns: 1fr; gap: 56px; margin-top: 56px; }
@media (min-width: 860px) { .h-quotes { grid-template-columns: 1fr 1fr; gap: 72px; } }
.h-quote { margin: 0; border-left: 3px solid var(--red); padding-left: 28px; }
.h-quote blockquote { margin: 0 0 22px; font-size: 20px; font-weight: 300; line-height: 1.6; color: var(--bone); }
.h-quote cite { font-style: normal; font-size: 14px; color: var(--muted); }
.h-quote cite strong { display: block; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 2px; }

/* contact: the band again */
.cta-section { background: linear-gradient(115deg, #c4453d 0%, #B63C35 42%, #8e2b25 100%); clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(80px + 40px); margin-top: -40px; position: relative; }


/* links inside rows and the training hub */
.h-link { color: #fff; font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 5px; }
.h .cohorts-empty a { color: #fff; }

/* coming up: dated items, each hides itself after its date */
.h-events { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.h-event { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: center; }
@media (min-width: 900px) { .h-event { grid-template-columns: 240px 1fr auto; gap: 36px; } }
.h-event strong { display: block; font-family: var(--rl-font-display); font-weight: 400; font-size: 24px; line-height: 1.15; color: #fff; }
.h-event span { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 6px; max-width: 62ch; }
.h-event .btn { white-space: nowrap; justify-self: start; }

/* course rows: the whole row is the link (the button's ::after covers it),
   with a solid button and a hover state so clicking is the obvious move */
.h-row--link { cursor: pointer; transition: background-color .15s; }
.h-row--link:hover { background: rgba(182,60,53,0.08); }
.h-row--link::before { content: ""; position: absolute; left: -24px; top: 30px; bottom: 30px; width: 3px; background: var(--red); }
.h-row-cta { position: static; white-space: nowrap; justify-self: start; }
.h-row-cta::after { content: ""; position: absolute; inset: 0; }
.h-row--link:hover .h-row-cta { background-color: #9c332d; border-color: #9c332d; }
@media (min-width: 860px) { .h-row--link { grid-template-columns: 300px 1fr auto; align-items: center; } .h-row-cta { justify-self: end; } }
.h-inline { color: #fff; font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 4px; white-space: nowrap; }

/* Course rows: inset the content so the hover tint has breathing room around
   the button, while the text stays aligned with the page (negative margin). */
.h-row--link { padding-left: 24px; padding-right: 24px; margin-left: -24px; margin-right: -24px; border-radius: 6px; }
.h-row--link::before { left: 0; }
@media (max-width: 600px) { .h-row--link { padding-left: 14px; padding-right: 14px; margin-left: -14px; margin-right: -14px; } }
