/* TALENTBANK SHARED KIT (tb-kit.css). Master look approved by Ben, 22 Nov 2026.
   Opt-in: a page changes only once it loads this file and uses the .tbk- classes. Pages that do not load it are untouched.
   Load it after site.css:  <link rel="stylesheet" href="/assets/css/tb-kit.css?v=...">   and, for the fade-in,
   <script src="/assets/js/tb-kit.js?v=..." defer></script>
   Rules in plain English and copy-and-paste snippets: docs/design-kit.md. Checker: tools/kit-check.js.
   Colours are the brand set only (navy, red for main buttons, gold for accents and lines, cream, white, warm grey text)
   and come from the site.css tokens. Fonts: Outfit for headings and interface, IBM Plex Sans for text. */

/* 1. TOKENS */
:root {
  --tbk-radius: var(--radius-2, 8px);
  --tbk-navy: var(--navy-900, #0A1F44);
  --tbk-red: var(--red-button, #C41E1A);        /* main buttons and form errors only */
  --tbk-red-edge: var(--red-accent, #D6231F);   /* the red button's lighter 1px border */
  --tbk-red-hover: var(--red-deep, #B01813);
  --tbk-gold: var(--champagne, #B89253);        /* bright gold: fills, lines, dots, hover edges; text only on navy */
  --tbk-gold-deep: var(--champagne-deep, #9A7942); /* accent words in large headings on light */
  --tbk-gold-ink: var(--gold-ink, #80633A);     /* gold text and icons on light: eyebrows, arrow links, labels */
  --tbk-gold-pale: var(--champagne-soft, #E8D9B8); /* hero eyebrow and the accent words in an h1 */
  --tbk-cream: var(--cream, #FAF7F0);           /* the one cream: section backgrounds, and cards on white */
  --tbk-paper: var(--paper, #F8F4EC);           /* cream text on navy */
  --tbk-sand: var(--paper-deep, #E8E0CE);       /* borders and hairlines */
  --tbk-text: var(--body-text, #6B6358);        /* warm grey reading text */
  --tbk-section-y: var(--section-y, clamp(72px, 9vw, 120px)); /* 120px on laptop, 72px on phone */
  --tbk-content: 1200px;                        /* widest content; photos in the hero and bands run full width */
  --tbk-measure: 650px;                         /* longest line of reading text (Ben, 23 Nov 2026) */
  --tbk-text-size: 18px;                        /* reading text (Ben, 23 Nov 2026) */
  --tbk-h1: clamp(38px, 5vw, 68px);             /* 68px on laptop, 38px on phone */
  --tbk-h1-plain: clamp(36px, 4.7vw, 64px);     /* short navy band (legal pages): 64px and 36px */
  --tbk-h2: var(--fs-h2, clamp(30px, 4.1vw, 52px)); /* 52px on laptop, 30px on phone */
  --tbk-card-title: 24px;                       /* one step above the old 21px card title */
  --tbk-card-pad: 32px;
  --tbk-btn-h: 53px;
}
@media (max-width: 600px) { :root { --tbk-card-title: 22px; --tbk-card-pad: 24px; } }

/* 2. LAYOUT. Content is 1200px at most and centred; 20px side margin on phones. */
:is(.tbk-section, .tbk-hero, .tbk-band, .tb-more) > .container { max-width: calc(var(--tbk-content) + 128px); }
@media (max-width: 600px) { :is(.tbk-section, .tbk-hero, .tbk-band, .tb-more) > .container { padding-left: 20px; padding-right: 20px; } }

/* 3. SECTIONS. 120px above and below on laptop, 72px on phone. Cream and white take turns; navy for one or two key bands. */
.tbk-section { padding: var(--tbk-section-y) 0; background: var(--tbk-cream); color: var(--page-text, #0A1F44); }
.tbk-section--white { background: #fff; }
.tbk-section--navy { background: var(--dark-bg, #0A1F44); color: var(--dark-text, #F8F4EC); }

/* 4. BUTTONS. Red is the main action, gold the second. Outline: ghost on dark, "more" on light. */
.tbk-btn-red, .tbk-btn-gold, .tbk-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; box-sizing: border-box;
  min-height: var(--tbk-btn-h); padding: 15px 34px; border: 1px solid transparent; border-radius: var(--tbk-radius);
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.tbk-btn-red { background: var(--tbk-red); border-color: var(--tbk-red-edge); color: var(--tbk-paper); }
.tbk-btn-red:hover { background: var(--tbk-red-hover); border-color: var(--tbk-red-hover); }
.tbk-btn-gold { background: var(--tbk-gold); border-color: var(--tbk-gold); color: var(--tbk-navy); }
.tbk-btn-gold:hover { background: transparent; color: var(--tbk-gold); }
.tbk-btn-ghost { background: transparent; border-color: rgba(248, 244, 236, 0.38); color: var(--tbk-paper); }
.tbk-btn-ghost:hover { border-color: var(--tbk-paper); background: rgba(248, 244, 236, 0.08); }
.tbk-btn-more {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 14px 26px;
  background: transparent; border: 1px solid var(--tbk-sand); border-radius: var(--tbk-radius); color: var(--tbk-gold-ink);
  font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
.tbk-btn-more:hover { border-color: var(--tbk-gold); color: var(--tbk-navy); }
.tbk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tbk-actions--centre { justify-content: center; }

/* 5. ARROW LINKS. Small caps in brown-gold on light; sentence case in bright gold, underlined, on navy. */
.tbk-link {
  display: inline-flex; align-items: center; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; line-height: 1.6;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--tbk-gold-ink); transition: color .2s ease;
}
a.tbk-link:hover { color: var(--tbk-navy); }
:is(.tbk-section--navy, .tbk-band) .tbk-link, .tbk-link--navy {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none;
  text-decoration: underline; text-underline-offset: 4px; color: var(--accent-on-dark, #B89253);
}
.tbk-band .tbk-link { color: var(--tbk-gold); }
:is(.tbk-section--navy, .tbk-band) a.tbk-link:hover, a.tbk-link--navy:hover { color: var(--tbk-paper); }
@media (max-width: 600px) { .tbk-link { min-height: 44px; } } /* a full tap target on phones; the look stays */

/* 6. EYEBROWS. Always with a gold rule: one before (left-aligned sections), one each side (centred sections). */
.tbk-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tbk-gold-ink);
}
.tbk-eyebrow::before, .tbk-eyebrow--centre::after { content: ''; flex: none; width: 28px; height: 1px; background: currentColor; }
.tbk-section--navy .tbk-eyebrow { color: var(--accent-on-dark, #B89253); }
.tbk-band .tbk-eyebrow { color: var(--tbk-gold); }
.tbk-eyebrow--hero { gap: 12px; margin-bottom: 28px; letter-spacing: 0.3em; color: var(--tbk-gold-pale); }
.tbk-eyebrow--hero::before { width: 48px; background: var(--tbk-gold); }

/* 7. HEADINGS, ACCENT WORDS AND TEXT. At most two gold accents on a page; the h1 accent is pale gold. */
h1.tbk-h1, .tbk-h1 {
  margin: 0; max-width: 16em; font-family: 'Outfit', sans-serif; font-size: var(--tbk-h1); font-weight: 400;
  line-height: 1.04; letter-spacing: -0.02em; color: var(--tbk-paper);
}
h2.tbk-h2, .tbk-h2 {
  margin: 0; font-family: 'Outfit', sans-serif; font-size: var(--tbk-h2); font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--page-text, #0A1F44);
}
.tbk-section--navy .tbk-h2 { color: var(--dark-text, #F8F4EC); }
.tbk-band .tbk-h2 { color: var(--tbk-paper); }
.tbk-accent { font-style: normal; color: var(--tbk-gold-deep); }
.tbk-section--navy .tbk-accent { color: var(--accent-on-dark, #B89253); }
.tbk-band .tbk-accent { color: var(--tbk-gold); }
.tbk-h1 .tbk-accent { color: var(--tbk-gold-pale); }
/* Section heading block: eyebrow, h2 and an optional intro line. Left-aligned by default. */
.tbk-head { margin: 0 0 56px; max-width: 760px; }
.tbk-head--centre { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
/* Reading text: 18px IBM Plex Sans, never wider than 650px. .tbk-lead is the intro line under a heading. */
p.tbk-text, .tbk-text, p.tbk-lead, .tbk-lead { max-width: var(--tbk-measure); font-family: 'IBM Plex Sans', sans-serif; font-size: var(--tbk-text-size); line-height: 1.7; color: var(--tbk-text); }
.tbk-text { margin: 0 0 16px; } .tbk-text:last-child { margin-bottom: 0; }
p.tbk-lead, .tbk-lead { margin: 18px 0 0; }
.tbk-head--centre .tbk-lead, .tbk-text--centre { margin-left: auto; margin-right: auto; text-align: center; }
:is(.tbk-section--navy) :is(.tbk-text, .tbk-lead) { color: var(--dark-text-soft, rgba(248, 244, 236, 0.82)); }
.tbk-band :is(.tbk-text, .tbk-lead) { color: rgba(248, 244, 236, 0.86); }
@media (max-width: 600px) { .tbk-head { margin-bottom: 40px; } }

/* 8. CARDS. 8px corners, 1px sand border, no shadow at rest. White on cream, cream on white, dark on navy. */
.tbk-card {
  position: relative; display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; padding: var(--tbk-card-pad);
  background: #fff; border: 1px solid var(--tbk-sand); border-radius: var(--tbk-radius); box-shadow: none;
  color: var(--page-text, #0A1F44); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tbk-section--white .tbk-card { background: var(--tbk-cream); }
.tbk-section--navy .tbk-card { background: var(--dark-bg-alt, #122A55); border-color: var(--dark-border, rgba(201, 166, 107, 0.2)); color: var(--dark-text, #F8F4EC); }
/* Gold edge and a slight lift, only where the card is a link (a.tbk-card) or holds one main link (.tbk-card--action). */
a.tbk-card:hover, a.tbk-card:focus-visible, .tbk-card--action:hover, .tbk-card--action:focus-within {
  border-color: var(--tbk-gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 31, 68, 0.08);
}
.tbk-section--navy :is(a.tbk-card:hover, a.tbk-card:focus-visible, .tbk-card--action:hover, .tbk-card--action:focus-within) { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }
/* .tbk-card--action: the card's one link (give it .tbk-card__go) covers the whole card. */
.tbk-card--action .tbk-card__go::after { content: ''; position: absolute; inset: 0; }
/* Photo flush to the top edge, 16:10; the card clips its top corners round. On phones it becomes a short wide strip.
   The three-part selectors outrank the page-level "TB-RADIUS" rule that rounds anything with "card" in its class name. */
.tbk-card > .tbk-card__photo:first-child {
  display: block; flex: none; margin: calc(-1 * var(--tbk-card-pad)) calc(-1 * var(--tbk-card-pad)) 24px;
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0; background: var(--tbk-sand);
}
.tbk-card > .tbk-card__photo:first-child img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 600px) { .tbk-card > .tbk-card__photo:first-child { aspect-ratio: 16 / 7; margin-bottom: 20px; } }
.tbk-card .tbk-card__label { display: block; margin: 0 0 12px; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tbk-gold-ink); }
.tbk-card .tbk-card__title { margin: 0 0 12px; max-width: none; font-size: var(--tbk-card-title); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: inherit; }
:is(h2, h3, h4, span, b).tbk-card__title { font-family: 'Outfit', sans-serif; }
.tbk-card .tbk-card__body { margin: 0; font-size: 15px; line-height: 1.7; color: var(--tbk-text); }
.tbk-card .tbk-card__go { margin-top: auto; padding-top: 20px; }
@media (max-width: 600px) { .tbk-card .tbk-card__go { padding-top: 8px; margin-bottom: -10px; } }
.tbk-section--navy .tbk-card .tbk-card__label { color: var(--accent-on-dark, #B89253); }
.tbk-section--navy .tbk-card .tbk-card__body { color: var(--dark-text-soft, rgba(248, 244, 236, 0.82)); }
/* .tbk-card--plaque: the one named exception. A navy card for awards and recognition items on a light section. */
.tbk-card.tbk-card--plaque { align-items: center; text-align: center; background: var(--tbk-navy); border-color: var(--tbk-navy); color: var(--tbk-paper); }
.tbk-card--plaque > svg:first-child { flex: none; width: 64px; height: 40px; margin-bottom: 14px; color: var(--tbk-gold); }
.tbk-card.tbk-card--plaque .tbk-card__label { color: var(--tbk-gold); }
.tbk-card.tbk-card--plaque .tbk-card__body { color: rgba(248, 244, 236, 0.82); }
a.tbk-card--plaque:hover, a.tbk-card--plaque:focus-visible, .tbk-card--plaque.tbk-card--action:hover, .tbk-card--plaque.tbk-card--action:focus-within { border-color: var(--tbk-gold); }
/* .tbk-card--row: on phones the card becomes a row with a small square photo (lists of news; Ben, 17 Nov 2026). */
@media (max-width: 600px) {
  .tbk-card--row { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; padding: 12px; }
  .tbk-card--row > .tbk-card__photo:first-child { grid-row: 1 / span 4; width: 104px; height: 104px; margin: 0; aspect-ratio: 1; border-radius: 6px; }
  .tbk-card--row .tbk-card__label, .tbk-card--row .tbk-card__title { margin-bottom: 0; }
}
/* Card rows: 2, 3 or 4 across, chosen so every row is full (never one card alone on a row). Four become two on tablet. */
.tbk-grid { display: grid; gap: 20px; grid-template-columns: repeat(var(--tbk-cols, 3), minmax(0, 1fr)); }
.tbk-grid--2 { --tbk-cols: 2; } .tbk-grid--3 { --tbk-cols: 3; } .tbk-grid--4 { --tbk-cols: 4; }
/* 4 / 2 / 1 (Ben, 23 Nov 2026): three- and four-across rows become two on tablet; five items show as 3 then 2, left-aligned. */
@media (max-width: 1024px) { .tbk-grid--3, .tbk-grid--4 { --tbk-cols: 2; } }
@media (max-width: 600px) { .tbk-grid { --tbk-cols: 1; gap: 16px; } }

/* 9. PAGE TOP. Type A: full-bleed photo under a navy overlay, one screen tall (main pages).
   Type B (.tbk-hero--plain): a short plain navy band, no photo, with a smaller h1 (legal pages, sitemap and similar).
   The text colours are fixed, not themed: they sit on the navy overlay in either theme. */
.tbk-hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--tbk-navy); color: var(--tbk-paper); }
.tbk-hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.tbk-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 31, 68, 0.95) 0%, rgba(10, 31, 68, 0.84) 50%, rgba(10, 31, 68, 0.62) 100%); }
.tbk-hero .tbk-hero__in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; padding-top: 150px; padding-bottom: 72px; }
.tbk-hero__lead { margin: 24px 0 0; max-width: var(--tbk-measure); font-size: var(--tbk-text-size); line-height: 1.7; color: rgba(248, 244, 236, 0.86); }
.tbk-hero .tbk-actions { margin-top: 32px; }
.tbk-hero--plain { min-height: 0; }
.tbk-hero--plain::after { content: none; }
.tbk-hero--plain .tbk-h1 { font-size: var(--tbk-h1-plain); }
.tbk-hero.tbk-hero--plain .tbk-hero__in { padding-top: 180px; padding-bottom: 72px; }
@media (max-width: 600px) {
  .tbk-hero .tbk-hero__in { padding-top: 120px; padding-bottom: 48px; }
  .tbk-hero.tbk-hero--plain .tbk-hero__in { padding-top: 128px; padding-bottom: 56px; }
}

/* 10. CLOSING BAND. An existing photo of the page's subject under 78% navy, cream headline, red main button. */
.tbk-band { position: relative; overflow: hidden; padding: var(--tbk-section-y) 0; background: var(--tbk-navy); color: var(--tbk-paper); text-align: center; }
.tbk-band__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.tbk-band::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(10, 31, 68, 0.78); }
.tbk-band > .container { position: relative; z-index: 2; }
.tbk-band .tbk-lead { margin-left: auto; margin-right: auto; }
.tbk-band .tbk-actions { justify-content: center; margin-top: 36px; }

/* 11. PHOTOS WITH A CAPTION. The caption sits on the photo, over a navy fade at the bottom. */
.tbk-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--tbk-radius); background: var(--tbk-sand); }
.tbk-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tbk-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 44px 16px 14px; background: linear-gradient(180deg, rgba(10, 31, 68, 0), rgba(10, 31, 68, 0.85)); font-size: 13px; line-height: 1.45; color: var(--tbk-paper); }

/* 12. LISTS. Bullets: a small 7px gold dot. Numbered steps: navy circles with cream numbers on a soft sand line, no gold. */
.tbk-list { list-style: none; margin: 0; padding: 0; max-width: var(--tbk-measure); }
.tbk-list > li { position: relative; margin: 0 0 10px; padding-left: 22px; font-size: var(--tbk-text-size); line-height: 1.7; color: var(--tbk-text); }
.tbk-list > li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--tbk-gold); }
.tbk-card .tbk-list > li { font-size: 15px; }
.tbk-steps { list-style: none; margin: 0; padding: 0; max-width: var(--tbk-measure); counter-reset: tbk-step; }
.tbk-steps > li { position: relative; padding: 0 0 28px 48px; counter-increment: tbk-step; font-size: var(--tbk-text-size); line-height: 1.7; color: var(--tbk-text); }
.tbk-steps > li::before { content: counter(tbk-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tbk-navy); color: var(--tbk-paper); font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; line-height: 28px; text-align: center; }
.tbk-steps > li::after { content: ''; position: absolute; left: 13.5px; top: 34px; bottom: 6px; width: 1px; background: var(--tbk-sand); }
.tbk-steps > li:last-child { padding-bottom: 0; } .tbk-steps > li:last-child::after { content: none; }
.tbk-steps b, .tbk-steps strong { display: block; font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 19px; line-height: 28px; color: var(--page-text, #0A1F44); }

/* 13. ICONS. Thin gold line icons, inline SVG, no fill; used sparingly beside short points. No emoji. */
.tbk-icon { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--tbk-gold-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tbk-icon--lg { width: 28px; height: 28px; }
.tbk-point { display: flex; align-items: flex-start; gap: 12px; max-width: var(--tbk-measure); font-size: var(--tbk-text-size); line-height: 1.5; }

/* 14. FAQ. Five questions at most, all listed, each opens on tap. No "show all" button. */
.tbk-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--tbk-sand); }
.tbk-faq > details { border-bottom: 1px solid var(--tbk-sand); }
.tbk-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 0; list-style: none; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 500; line-height: 1.35; color: var(--page-text, #0A1F44); }
.tbk-faq summary::-webkit-details-marker { display: none; }
.tbk-faq summary::after { content: '+'; flex: none; font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 300; line-height: 1; color: var(--tbk-gold-ink); }
.tbk-faq details[open] > summary::after { content: '\2212'; }
.tbk-faq details > :not(summary) { max-width: var(--tbk-measure); margin: 0 0 20px; font-size: var(--tbk-text-size); line-height: 1.7; color: var(--tbk-text); }

/* 15. FORMS. White field, sand border, label always above, 16px text. Focus: gold border and a faint gold ring. */
.tbk-field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
.tbk-field > label, .tbk-label { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--page-text, #0A1F44); }
.tbk-input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; border: 1px solid var(--tbk-sand); border-radius: var(--tbk-radius); font-size: 16px; line-height: 1.5; color: var(--tbk-navy); transition: border-color .2s ease, box-shadow .2s ease; }
textarea.tbk-input { min-height: 132px; resize: vertical; }
.tbk-input:focus, .tbk-input:focus-visible { outline: none; border-color: var(--tbk-gold); box-shadow: 0 0 0 3px rgba(184, 146, 83, 0.22); }
.tbk-field--error .tbk-input, .tbk-input[aria-invalid="true"] { border-color: var(--tbk-red); }
.tbk-error { margin: 0; font-size: 14px; line-height: 1.4; color: var(--tbk-red); }

/* 15b. LONG DOCUMENTS (legal pages and similar; Ben, 23 Nov 2026). On laptop the contents list stays in view on the left
   and the text reads on the right; below 1025px it is one column with the contents list on top. The text keeps the
   650px measure. Markup: .tbk-doc > .tbk-doc__toc + .tbk-doc__text. The child selectors outrank older page rules. */
.tbk-doc { max-width: 780px; margin: 0 auto; }
.tbk-doc > .tbk-doc__toc { box-sizing: border-box; margin: 0 0 44px; padding: 24px 28px; background: #fff; border: 1px solid var(--tbk-sand); border-radius: var(--tbk-radius); }
.tbk-section--white .tbk-doc > .tbk-doc__toc { background: var(--tbk-cream); }
.tbk-doc > .tbk-doc__text { min-width: 0; }
/* The clause being read (tb-kit.js sets aria-current): navy, with a gold underline. */
.tbk-doc > .tbk-doc__toc a[aria-current="true"] { color: var(--tbk-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tbk-gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tbk-doc > .tbk-doc__text :is(h2, h3) { scroll-margin-top: 108px; } /* lands under the 84px header */
@media (min-width: 1025px) {
  .tbk-doc { max-width: var(--tbk-content); display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .tbk-doc > .tbk-doc__toc { position: sticky; top: 116px; margin: 0; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
}

/* 16. EXPLORE MORE on a kit page. The shared block (.tb-more, its cards are .tb-card) follows the card and spacing rules:
   photo on top (.tbk-card__photo as the card's first child), gold edge and lift on hover, bigger title, 120/72 spacing. */
.tb-more { padding: var(--tbk-section-y) 0; background: var(--tbk-cream); border-top: 0; }
.tb-more.tbk-section--white { background: #fff; }
.tb-more .tb-card { position: relative; overflow: hidden; gap: 0; padding: var(--tbk-card-pad); border-radius: var(--tbk-radius); box-shadow: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tb-more.tbk-section--white .tb-card { background: var(--tbk-cream); }
.tb-more a.tb-card:hover, .tb-more a.tb-card:focus-visible { border-color: var(--tbk-gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 31, 68, 0.08); }
.tb-more .tb-card > .tbk-card__photo:first-child { display: block; flex: none; margin: calc(-1 * var(--tbk-card-pad)) calc(-1 * var(--tbk-card-pad)) 24px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0; background: var(--tbk-sand); }
.tb-more .tb-card > .tbk-card__photo:first-child img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.tb-more .tb-card .tb-card-title { margin: 0 0 12px; font-size: var(--tbk-card-title); line-height: 1.25; }
.tb-more .tb-card .tb-card-body { font-size: 15px; }
.tb-more .tb-card .tb-card-link { display: inline-flex; align-items: center; padding-top: 20px; }
@media (max-width: 600px) {
  .tb-more .tb-card > .tbk-card__photo:first-child { aspect-ratio: 16 / 7; margin-bottom: 20px; }
  .tb-more .tb-card .tb-card-link { min-height: 44px; padding-top: 8px; margin-bottom: -10px; }
}

/* 18. KEYBOARD FOCUS. A 3px outline with a 3px gap, navy on light and cream on navy. Keyboard only, never on a mouse click. */
:is(.tbk-section, .tbk-hero, .tbk-band, .tb-more) :is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--tbk-navy); outline-offset: 3px; }
.tbk-section--navy :is(a, button, summary, [tabindex]):focus-visible { outline-color: var(--dark-text, #F8F4EC); }
:is(.tbk-hero, .tbk-band) :is(a, button, summary, [tabindex]):focus-visible { outline-color: var(--tbk-paper); }
:is(.tbk-section, .tbk-hero, .tbk-band, .tb-more) :is(a, button, summary, [tabindex]):focus:not(:focus-visible) { outline: none; }

/* 19. MOVEMENT. Gentle: .tbk-fade content is visible at rest and fades in once as it scrolls into view (tb-kit.js adds
   .tbk-in; without JavaScript nothing is ever hidden). No bouncing, spinning or parallax. Reduced motion: no movement. */
@keyframes tbk-fade-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tbk-fade.tbk-in { animation: tbk-fade-in .7s ease; }
@media (prefers-reduced-motion: reduce) {
  .tbk-fade.tbk-in { animation: none; }
  .tbk-card, .tb-more .tb-card { transition: border-color .2s ease; }
  a.tbk-card:hover, a.tbk-card:focus-visible, .tbk-card--action:hover, .tbk-card--action:focus-within, .tb-more a.tb-card:hover, .tb-more a.tb-card:focus-visible { transform: none; box-shadow: none; }
}

/* Mini menu hover (Ben, 23 Nov 2026, option A): a gold line grows under the word on hover; the current section has a navy line. Same on every page. */
.tb-fnav .tb-fnav-links a { position: relative; border-radius: 0; background: transparent; box-shadow: none; transition: color .2s ease; }
.tb-fnav .tb-fnav-links a::after { content: ""; position: absolute; left: var(--sp-3, 12px); right: var(--sp-3, 12px); bottom: 2px; height: 2px; border-radius: 1px; background: var(--champagne-deep, #B89253); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.tb-fnav .tb-fnav-links a:hover { color: var(--navy-900, #0A1F44); }
.tb-fnav .tb-fnav-links a:hover::after { transform: scaleX(1); }
.tb-fnav .tb-fnav-links a.active { color: var(--navy-900, #0A1F44); background: transparent; box-shadow: none; }
.tb-fnav .tb-fnav-links a.active::after { transform: scaleX(1); background: var(--navy-900, #0A1F44); }
@media (prefers-reduced-motion: reduce) { .tb-fnav .tb-fnav-links a::after { transition: none; } }

