/* ===========================================================================
   melbaudon.css
   Every style on this site that is mine.

   The other three stylesheets (normalize.css, webflow.css,
   melbaudon.webflow.css) are generated by Webflow and must not be edited:
   a re-export overwrites them. Everything I write lives here, loaded last so
   it wins, and this file is what survives a re-export.

   This replaced site-extra.css and case-study.css, which had split into two
   unrelated type scales because there were two files to put a rule in.

   Order:
     1. Tokens          type, amounts, colour, spacing, motion
     2. Type system     the scale, applied to the Webflow heading classes
     3. Control standard one hover behaviour for every interactive element
     4. Site-wide       nav, footer, forms, shared components
     5. Case studies    projects/edf, tjx, smat, vitality
   =========================================================================== */

/* Result line on project cards. Only TJX and Smat carry one, because
   only those two shipped and have measured numbers. EDF ended at design
   and MVP definition, and Vitality's figures were projections that were
   never measured, so giving those cards a matching line would dress up
   process as outcome. The asymmetry is deliberate: it pulls the eye to
   the two projects with real results. */
/* ---- Case study v2 ---------------------------------------------------
   Project metadata as a labelled row rather than six stacked paragraphs,
   using the same label/value pattern as the About page credentials list
   so the two read as one system. */
.cs-meta {
  border-top: 1px solid var(--border-color--border-primary);
  margin: 0 0 2.5rem;
}

.cs-meta_row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color--border-primary);
}

.cs-meta_label {
  color: var(--text-color--text-secondary);
}

@media screen and (max-width: 767px) {
  .cs-meta_row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }
}

/* The full process folded behind native <details>. No JavaScript, keyboard
   accessible for free, and the content stays in the DOM so it is still
   indexed and findable with in-page search. */
.cs-details {
  border-top: 1px solid var(--border-color--border-primary);
  border-bottom: 1px solid var(--border-color--border-primary);
  margin: 3rem 0 0;
}

.cs-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.5rem 2.25rem 1.5rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.cs-summary::-webkit-details-marker { display: none; }

.cs-summary_text {
  font-size: 1.25rem;
  font-weight: 500;
}

.cs-summary_hint { color: var(--text-color--text-secondary); }

/* Chevron, rotated when open */
.cs-summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.cs-details[open] > .cs-summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.cs-summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.cs-details_body { padding-bottom: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .cs-summary::after { transition: none; }
}

/* About page vertical rhythm. The template stacked 64px section padding
   on top of a 32px wrapper and the paragraph's own margin, so the gap
   between the opening paragraph and the stat tiles came to 112px, and
   between the credentials list and "Who I've worked with" to 128px.
   That much air reads as a broken layout rather than breathing room.
   All three classes are used only on About, so tuning them is safe. */
.about-hero_body {
  padding-bottom: 0;
  grid-row-gap: 1.5rem;
}

.about-hero_body-btm {
  padding-top: 1.5rem;
}

/* Each block also sits in a .padding-horizontal.padding-medium wrapper
   contributing another 32px top and bottom, which is what stacked up.
   Scoped to the About column so other pages keep the template rhythm. */
.about-hero_left .padding-horizontal.padding-medium {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* About page credentials list. The facts (employer, verticals, metrics,
   communities, sectors) used to sit inside body paragraphs, which made
   the prose read like a CV and buried the credentials in paragraph five.
   As a labelled list they scan in seconds and the prose gets to sound
   like a person again. Uses the same hairline rules as .number-grid, and
   deliberately no monospace or uppercase: section labels elsewhere on
   the site (footer "Navigation", "Social") are plain sentence case. */
.cred-list {
  border-top: 1px solid var(--border-color--border-primary);
  margin-top: 2.5rem;
}

.cred-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color--border-primary);
}

.cred-label {
  color: var(--text-color--text-secondary);
}

.cred-sub {
  color: var(--text-color--text-secondary);
}

@media screen and (max-width: 767px) {
  .cred-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }
}

/* The About stat tiles dropped from four to three (awards cut, and
   "digital products" removed because it duplicated the project count).
   The base grid is 2x2, which would orphan the third tile on its own
   row, so make it three across at every width. The labels are short
   enough to wrap cleanly even on a narrow phone, and three stats side
   by side scan as a set in a way three stacked blocks don't. */
.number-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
}

/* .contact-hero_intro has its own padding-top: 6rem, pushing the "Let's
   talk!" heading 96px below the "Contact me" chip. .about-hero_intro
   (the equivalent element on the About page) has no such padding, so
   its first line of copy sits right under the chip. Match About. */
.contact-hero_intro {
  padding-top: 0;
}

/* The 3D flip hero photos, the client-logo strip, and the hero ticker
   text all auto-play continuously via Webflow's JS interactions
   (inline transform/left, updated every frame) -- there's no
   prefers-reduced-motion handling anywhere in the exported site.
   !important here beats the inline styles the JS keeps re-applying
   (a stylesheet !important always outranks a plain inline style),
   freezing each on a static, readable frame instead of stopping
   mid-motion. Doesn't touch the short hover/focus transitions
   elsewhere -- those are user-triggered, not autoplaying, and aren't
   the kind of motion this preference is meant to suppress. */
@media (prefers-reduced-motion: reduce) {
  .rotate-inside,
  .rotate-text {
    transform: none !important;
  }

  .logo-container {
    left: 0 !important;
  }
}

/* Footer social icons were 2.4rem (38.4px), under the ~44px minimum
   recommended touch target size. Match the site's existing 2.75rem
   button height instead of picking an arbitrary new value. */
.social-icon {
  width: 2.75rem;
  height: 2.75rem;
}

/* .heading-style-h1 jumps from 6rem (<=991px, full-width single
   column) straight to a fixed 6.5rem for every width above that --
   right as the layout also switches to a 2-column split that HALVES
   the heading's available width. That combination made "Mentorships"
   the widest single word on the site break mid-word ("Mentor/ships")
   at ~1000-1100px, the range where the column is narrowest relative
   to the font size. Scale the >=992px tier with the viewport instead
   of jumping straight to the fixed 6.5rem, so there's no pinch point
   right at the breakpoint. Same 6.5rem ceiling once there's room
   (~1800px+); overflow-wrap: break-word (above) remains the fallback
   for any width this doesn't fully smooth over. */

/* Testimonial carousel prev/next controls (.quotes_arrow) are already
   accessible -- Webflow's slider gives them role="button", tabindex,
   and an aria-label -- but the arrow glyph itself is only 0.7rem
   (11px) inside a much larger click area, so it's easy to miss as
   interactive. Size it up for visibility without touching
   .icon-1x1-regular globally (used elsewhere at the smaller size). */
.quotes_arrow .icon-1x1-regular {
  width: 1.5rem;
  height: 1.5rem;
}

/* The mobile nav dropdown only sizes itself to its own link list
   (Webflow's default [data-nav-menu-open] rule has no height/overflow
   handling), so it ends as a short panel with page content visible
   directly behind/below it -- confusing paired with the "X" close
   icon, which implies a full-screen takeover. Make it actually cover
   the viewport and lock the page underneath while it's open. */
@media screen and (max-width: 991px) {
  .nav_menu[data-nav-menu-open],
  .nav_menu.w--nav-menu-open {
    height: 100vh;
    overflow-y: auto;
  }

  body:has(.nav_menu[data-nav-menu-open]) {
    overflow: hidden;
  }
}

/* .about-hero_intro (about.html, mentorships.html) is a CSS grid
   container, and grid items default to min-width: auto -- they refuse
   to shrink below their content's min-content size (the widest
   unbreakable word). At narrow-ish desktop widths the column is
   narrower than "Mentorships" needs at the 6.5rem heading size, so
   the heading (and, since it stretches to match, the paragraph under
   it) overflow the column and get hard-clipped by the section's
   overflow: hidden. Let them shrink to the column's actual width, and
   allow a single long word to break if it still doesn't fit. */
.about-hero_intro > * {
  min-width: 0;
}

.heading-style-h1 {
  overflow-wrap: break-word;
}

/* Kill Webflow's live text-flip interaction: webflow.js sets an inline
   transform on .hover-text on real pointer hover. Buttons get icon-nudge,
   links get underline-wipe -- nothing should flip anymore. */
.hover-text,
.button-shade,
.outline-shade,
.hover-arrow {
  transform: none !important;
}

/* Form field focus: black, not Webflow's default blue */
.w-input:focus,
.w-select:focus,
.form_text-field:focus,
.form_input:focus {
  border-color: #000 !important;
  outline: none;
}

/* On desktop the 3 stacked photos are taller than the text column next
   to them, so the grid overflows top/bottom into neighboring sections.
   Shrink the photos and gap so they fit within the matched height.
   The column is capped at 100vh (see .home-service_wrapper), so on
   short windows a fixed width still overflows vertically and gets
   silently clipped (.home-service_left has overflow: clip). Cap the
   width by available viewport height too -- three images at their
   12:11 aspect ratio plus two 2rem gaps must fit within
   100vh minus the wrapper's 3.75rem top padding -- so the images
   shrink instead of being cut off. */
@media screen and (min-width: 992px) {
  .home-service_image {
    width: min(34%, 25rem, calc((100vh - 8rem) / 2.75));
  }

  .home-service_left {
    grid-row-gap: 2rem;
  }
}

/* The text column next to these photos is wrapped in
   .padding-horizontal.padding-medium, giving it the same left padding
   as every other section. The photo column has no such wrapper, so
   the images run flush to the edge of the screen. Give it the same
   padding-left, at the same breakpoints, using the same design
   tokens. Applied to .home-service_left itself (not .home-service_wrapper)
   because that's the element with overflow: clip -- the .left-side
   photos are nudged further left via a relative offset for a stagger
   effect, and need that offset to land inside the clip boundary
   instead of past it.
   That same stagger offset also eats into the padding visually --
   the .left-side photos sit closer to the edge than the padding value
   alone suggests -- so add a flat buffer on top of the matched value
   to keep the visible gap at least as wide as the text column's. */
@media screen and (min-width: 992px) {
  .home-service_left {
    padding-left: calc(var(--padding--medium) + 1.25rem);
  }
}

@media screen and (max-width: 991px) {
  .home-service_left {
    padding-left: calc(var(--padding--small) + 1.25rem);
  }
}

@media screen and (max-width: 767px) {
  .home-service_left {
    padding-left: calc(var(--padding--tiny) + 1.25rem);
  }
}

/* Inline text links: black, not brand blue -- matches the rich-text
   body links, which already use the secondary (black) link color. */
.text-style-link {
  color: #000;
}

/* Contact page's hero had noticeably less top padding than every
   other hero (About: .about-hero_left 5rem + .about-hero_top 5rem;
   Contact: .contact-hero_left 0 + .contact-hero_top 3.75rem), leaving
   only ~7px between the nav and the "Contact me" chip instead of
   About's ~107px. Match About's values exactly. */
.contact-hero_left {
  padding-top: 5rem;
}

.contact-hero_top {
  padding-top: 5rem;
}

/* Mentorship offer cards: grey-outlined card with a 3-column info row */
.mentorship_card {
  border: 1px solid var(--border-color--border-primary);
  border-radius: 0.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mentorship_info-grid {
  display: grid;
  /* minmax(0, 1fr), not plain 1fr: grid tracks default to a
     content-based minimum (min-width: auto), so a 1fr column won't
     shrink below its longest unbreakable word. At narrower card
     widths (particularly the 2nd, longer-text card at desktop 2-col
     widths just above 991px) that forces wildly unequal columns
     instead of even thirds, crushing the last column's text up
     against the card's edge. minmax(0, ...) removes that floor so
     the three columns stay equal and text wraps normally instead. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.mentorship_divider {
  border-top: 1px solid var(--border-color--border-primary);
}

.section-3 {
  border-bottom-color: var(--border-color--border-primary) !important;
}

.mentorship_info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media screen and (max-width: 479px) {
  .mentorship_info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}



.project_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project_gallery img.image-cover {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

.is-zoomable {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox_content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox_content img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.25rem;
  cursor: default;
}

.lightbox_close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

/* Standardized CTA button scale: one height/padding for every button */
.button,
.button-long {
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  margin: 1.5rem 0;
  gap: 0.5rem;
  border-color: #000 !important;
  transition: transform 0.2s ease;
}

.button-long {
  display: inline-flex;
  width: auto;
  background-color: #fff;
  color: #000;
}

.button {
  display: inline-flex;
  width: auto;
  gap: 0.5rem;
}

.button.is-full,
.button-long.is-full {
  display: flex;
  width: 100%;
}

.button-shade {
  background-color: transparent !important;
}

.work-button,
.outline-shade {
  border-color: #000 !important;
}

.work-button {
  height: 2.75rem;
  padding: 0 1.1rem;
  gap: 0.5rem;
  transition: transform 0.2s ease;
}

.submit-button {
  height: 2.75rem;
  width: auto;
  padding: 0 1.1rem;
  gap: 0.5rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Secondary CTAs: solid black, white content (Book now, Download my resume) */
.button.is-dark,
.button-long.is-dark {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.button.is-dark .btn-icon,
.button-long.is-dark .btn-icon {
  filter: invert(1);
}

.btn-icon {
  width: 0.85rem;
  height: 0.85rem;
  object-fit: contain;
  flex: none;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

/* The icon-nudge hover these controls used to have is gone; icon-only
   controls now behave exactly like any other outlined button. */

.quotes_arrow {
  border-color: #000 !important;
  transition: transform 0.2s ease;
}


/* ===========================================================================
   TYPE SYSTEM
   One scale for the whole site, used by every page and by case-study.css.

   Steps are named for what they DO, not for an h-number, so the same token
   sets a card title, a figure and a heading instead of three near-identical
   values. Every step is fluid between a phone and a large desktop, so there
   are no per-breakpoint font sizes left to maintain.

   This replaced two unrelated scales: five sizes were doing the job of
   "small uppercase label" (.72 .74 .75 .8 .85rem) and three were doing body
   (.9 .95 1rem). It also fixed h3 rendering LARGER at 479px than at 767px.

     display  40 to 104px    page h1, one per page
     title    32 to  60px    section heading
     heading  24 to  34px    sub-section, card role
     subhead  19 to  24px    block title
     lead     17 to  19px    opening paragraph of a page or section
     body     16px           running text
     small    14.4px         captions, figure labels, anything secondary
     label    12px           uppercase eyebrows and meta, the only caps

   Amounts are their own set. They are always the grotesk, always tabular,
   and tracked tighter than text because figures sit loose at display sizes.

   One family throughout. Two weights: 400 to read, 500 to title. Nothing
   is set in bold.
   =========================================================================== */
:root {
  --fs-display: clamp(2.5rem, 1.2rem + 5.6vw, 6.5rem);
  --fs-title:   clamp(2rem, 1.25rem + 3.1vw, 3.75rem);
  --fs-heading: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
  --fs-subhead: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead:    clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --fs-body:    1rem;
  --fs-small:   0.9rem;
  --fs-label:   0.75rem;

  /* amounts: the year on the About timeline, a stats band, a figure in a card */
  --fs-amount-lg: clamp(3.25rem, 2rem + 4vw, 5.5rem);
  --fs-amount:    clamp(2.25rem, 1.9rem + 1.5vw, 2.75rem);
  --fs-amount-sm: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);

  --lh-display: 1.02;
  --lh-title:   1.08;
  --lh-heading: 1.25;
  --lh-body:    1.65;
  --lh-tight:   1.45;

  --track-display: -0.03em;
  --track-tight:   -0.02em;
  --track-amount:  -0.035em;
  --track-label:    0.14em;

  --wt-body: 400;
  --wt-heading: 500;

  /* kept as aliases: the Webflow classes below and older rules still use them */
  --fs-h1: var(--fs-display);
  --fs-h2: var(--fs-title);
  --fs-h3: var(--fs-heading);
  --fs-h4: var(--fs-subhead);
  --fs-h5: var(--fs-lead);
  --fs-h6: var(--fs-body);
  --weight-heading: var(--wt-heading);
}


/* --- the Webflow heading classes, mapped onto the scale --- */
.heading-style-h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  font-weight: var(--wt-heading);
}

.heading-style-h2 {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  letter-spacing: var(--track-display);
  font-weight: var(--wt-heading);
}

.heading-style-h3 {
  font-size: var(--fs-heading);
  line-height: var(--lh-heading);
  letter-spacing: var(--track-tight);
  font-weight: var(--wt-heading);
}

.heading-style-h4 {
  font-size: var(--fs-subhead);
  line-height: var(--lh-heading);
  letter-spacing: var(--track-tight);
  font-weight: var(--wt-heading);
}

.heading-style-h5 { font-size: var(--fs-lead); line-height: 1.5; font-weight: var(--wt-heading); }
.heading-style-h6 { font-size: var(--fs-body); line-height: 1.5; font-weight: var(--wt-heading); }

/* --- amounts ---------------------------------------------------------------
   Any figure meant to be read as a number. Tabular so a column of them lines
   up, and tracked in because digits sit loose once they get large. */
.amount,
.amount-lg,
.amount-sm {
  font-weight: var(--wt-body);
  line-height: 1;
  letter-spacing: var(--track-amount);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.amount-lg { font-size: var(--fs-amount-lg); }
.amount    { font-size: var(--fs-amount); }
.amount-sm { font-size: var(--fs-amount-sm); }

/* a counter or any inline run of digits inside text */
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }


/* ===========================================================================
   FOCUS
   One visible ring on everything a keyboard can reach, so nothing depends on
   the browser default (which Webflow's reset removes in places). Black on
   white is 21:1, far above the 3:1 WCAG 2.4.11 asks of a focus indicator,
   and the 3px offset keeps it clear of the control's own border.

   :focus-visible, so it shows for keyboard and never on a mouse click.
   =========================================================================== */
a[href],
button,
input,
select,
textarea,
summary,
label,
[tabindex]:not([tabindex="-1"]),
[role="button"],
[role="link"],
[role="tab"],
.w-slider-arrow-left,
.w-slider-arrow-right,
.w-slider-dot {
  outline-color: var(--ink);
}

a[href]:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
label:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
[role="button"]:focus-visible,
[role="link"]:focus-visible,
[role="tab"]:focus-visible,
.w-slider-arrow-left:focus-visible,
.w-slider-arrow-right:focus-visible,
.w-slider-dot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* on a dark ground the black ring would disappear */
.is-dark:focus-visible,
.submit-button:focus-visible,
.button.is-dark:focus-visible {
  outline-color: var(--ink);
  outline-offset: 3px;
}

/* a focused nav link shows its underline as well as the ring */
.skip-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}



/* ---------- hero ticker ----------
   The bar is a 1fr 1fr 1fr grid, so the middle column was 448px of a 1344px
   bar while the icons beside it only needed ~100px. The ticker window was
   then capped at 18rem (288px) inside that, against sentences 498px long, so
   every line was chopped mid-word and the window sat right against the icons
   at narrower widths. Let the columns size to their content and give the
   slack to the ticker. */
.hero_bar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: var(--s8);
}

.hero_bar .rotate-text_wrapper {
  max-width: 100%;
  width: 100%;
  /* A marquee is cut dead at its edges, so a half-word sits hard against
     whatever is beside it and reads as text colliding with the icons. Fade
     the first and last 48px instead, so the line dissolves in and out. */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

/* ===========================================================================
   CONTROL GEOMETRY
   Audited across every page and found five heights, three radii and three
   icon sizes doing the same job:

     height  44 (button, work-button, submit) / 40 (carousel circles)
             36 (.social-icon.small) / 71 (the About me ghost)
     radius  5.6 (button, social, submit, input) / 0 (work-button) / 6 (ghost)
     icon    14 (feather in buttons) / 11 (social) / 8 (the ghost arrow)

   One of each below. Height is set on the box, not built out of padding, so
   a control with an icon and one without still line up.
   =========================================================================== */
.button,
.work-button,
.button-long,
.submit-button,
.social-icon,
.quotes_arrow,
.car_b {
  height: var(--ctl-h);
  min-height: var(--ctl-h);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

/* .small made the hero's social icons 36px while the identical pair in the
   footer were 44px. Same component, same size. */
.social-icon,
.social-icon.small {
  width: var(--ctl-h);
  height: var(--ctl-h);
  padding: 0;
  flex: none;
}

/* square and circular controls */
.quotes_arrow,
.car_b {
  width: var(--ctl-h);
  padding: 0;
  flex: none;
}

/* radius: the work-button was the only square box on the site */
.button,
.work-button,
.button-long,
.submit-button,
.social-icon,
.form_text-field,
.w-input,
.w-select {
  border-radius: var(--ctl-radius);
}

/* The carousel controls were the only round things on the site. They are
   icon-only outlined buttons, so they are square like every other box. */
.quotes_arrow,
.car_b,
.zoom_x {
  border-radius: var(--ctl-radius);
}

/* horizontal padding, for the controls that carry a label */
.button,
.work-button,
.button-long,
.submit-button {
  padding-left: var(--ctl-pad-x);
  padding-right: var(--ctl-pad-x);
  padding-top: 0;
  padding-bottom: 0;
}

/* icons: one size, whatever family the file came from.
   .social-image.small is (0,2,0) in the Webflow sheet and outranked a plain
   descendant selector, which is why the hero's social icons rendered 11px
   while the identical footer pair rendered 16px. */
.social-icon .social-image,
.social-icon .social-image.small,
.intro_social img,
.button img,
.button svg,
.work-button img,
.work-button svg,
.button-long img,
.button-long svg,
.submit-button img,
.submit-button svg,
.social-icon img,
.social-icon svg img svg,
.quotes_arrow img,
.quotes_arrow svg,
.car_b svg {
  width: var(--ctl-icon);
  height: var(--ctl-icon);
  flex: none;
  display: block;
}

/* the form fields sat at 14px next to 16px buttons */
.form_text-field,
.w-input,
.w-select {
  font-size: var(--fs-body);
}

/* a single-line field matches the control height; the message box does not */
.form_text-field:not(textarea),
.w-input:not(textarea),
.w-select {
  height: var(--ctl-h);
  min-height: var(--ctl-h);
  padding-top: 0;
  padding-bottom: 0;
}

/* ===========================================================================
   CONTROL STANDARD
   One behaviour for every interactive element, replacing the four different
   hovers the Webflow components shipped with.

     Boxes  fill #f2f1ef, border #8f8f8f to #000, scale(1.035), 0.25s.
            Solid controls lift to #2a2a2a instead, being already dark.
     Text   1px underline wiping in from the left over 0.3s.

   Black on #f2f1ef measures 17.5:1, so labels keep full contrast throughout.
   =========================================================================== */
:root {
  /* Page gutter, measured off the Webflow pages so every page lines up:
     48px at 992 and over, 24px on tablet, 20px on phones. Container is
     103rem, the same as .container-large. Stepped at breakpoints rather
     than interpolated with vw, which lands on arbitrary values between
     the steps. */
  --gutter: 20px;
  --page-max: 103rem;

  /* geometry: one height, one radius, one icon size for every control */
  --ctl-h: 44px;          /* also the WCAG 2.5.5 minimum target */
  --ctl-h-sm: 36px;       /* only for a control inside a dense row */
  --ctl-radius: 6px;
  --ctl-pad-x: 1.1rem;
  --ctl-icon: 16px;

  --ctl-fill: #f2f1ef;
  --ctl-fill-dark: #2a2a2a;
  --ctl-edge: #8f8f8f;
  --ctl-edge-on: #000;
  --ctl-lift: 1.035;
  --ctl-t: 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* after the :root that declares the base, or 20px would override them */
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 992px) { :root { --gutter: 48px; } }


/* --- boxes --- */
.button,
.work-button,
.button-long,
.submit-button,
.social-icon {
  transition: background-color var(--ctl-t),
              border-color var(--ctl-t),
              transform var(--ctl-t);
}

.button:hover,
.work-button:hover,
.button-long:hover,
.social-icon:hover,
.submit-button:hover {
  background-color: var(--ctl-fill);
  transform: scale(var(--ctl-lift));
}

/* Resting and hover rings.

   These are drawn as inset shadows rather than borders. scale(1.035) lands the
   element on a fractional pixel (47.45px for the social icons), and a 1.035px
   border covering 45% of a pixel renders as nothing, so the left edge vanished
   on hover. An inset shadow is painted with the element's own background layer
   and survives the transform. The border stays, transparent, so it keeps
   occupying its 1px of layout and nothing shifts. */
.button,
.social-icon,
.submit-button {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px var(--ctl-edge);
  transition: background-color var(--ctl-t),
              box-shadow var(--ctl-t),
              transform var(--ctl-t);
}

.button:hover,
.social-icon:hover,
.submit-button:hover {
  box-shadow: inset 0 0 0 1px var(--ctl-edge-on);
}

.work-button .outline-shade {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px var(--ctl-edge);
  transition: box-shadow var(--ctl-t);
}

.work-button:hover .outline-shade {
  box-shadow: inset 0 0 0 1px var(--ctl-edge-on);
}

/* solid controls keep a dark edge; a grey ring round a black button reads
   as a mistake */
.button.is-dark {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #000;
}

/* solid controls are already dark, so they lift rather than lighten.
   The form's Send Message is NOT one of these: it is white with black text,
   so filling it dark grey put black text on a dark ground. It is outlined. */
.button.is-dark:hover {
  background-color: var(--ctl-fill-dark);
  box-shadow: inset 0 0 0 1px var(--ctl-fill-dark);
  transform: scale(var(--ctl-lift));
}

/* ghost: no border until you reach for it */
.button-long {
  border-color: transparent !important;
}

.button .button-shade,
.work-button .button-shade,
.social-icon .button-shade,
.button-long .button-shade { display: none; }

/* Webflow slides the icon and the label on hover. Nothing inside a control
   moves any more; the control itself is the thing that responds. */
.button .clip,
.work-button .clip,
.button-long .clip,
.submit-button .clip,
.social-icon .clip,
.btn-icon,
.hover-arrow {
  transform: none !important;
}

/* --- ghost ---
   The one on the home page was a bare link with an arrow and no state at all.
   Ghost behaviour per the standard: no border at rest, fills and grows on
   hover, and the icon stays where it is. Scoped to the anchor, because the
   same class is also used on a plain label that is not a link. */
/* The ghost IS .button. The only difference is that it draws no ring, so it
   inherits every bit of the button's geometry and hover for free.
   It sits in a stretching parent, so it also has to be told to size to its
   label and sit at the start rather than filling the column. */
.button.is-ghost {
  box-shadow: none;
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
  justify-self: start;
}

.button.is-ghost:hover {
  box-shadow: none;
}



/* --- text links: nav, footer and the case study rail ---
   One pattern for every text link on the site, taken from the case study
   rail: grey at rest, it slides 4px and goes full black on hover, and the
   current page sits 8px in and stays black. No underline anywhere, because
   the rail never had one.

   .rail keeps its own rules further down (it adds indent levels and the
   2px travelling mark); these three share its type, colour and motion. */
.nav_menu-link,
.footer_link {
  position: relative;
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.25s var(--ease), transform 0.3s var(--ease);
}

.nav_menu-link:hover,
.footer_link:hover,
.nav_menu-link:focus-visible,
.footer_link:focus-visible {
  color: var(--ink);
  transform: translateX(4px);
}

/* selected state, same as the rail's aria-current */
.nav_menu-link.w--current,
.footer_link.w--current,
.nav_menu-link[aria-current],
.footer_link[aria-current] {
  color: var(--ink);
  transform: translateX(8px);
}

.nav_menu-link.w--current:hover,
.footer_link.w--current:hover,
.nav_menu-link[aria-current]:hover,
.footer_link[aria-current]:hover {
  transform: translateX(8px);
}

/* the label inherits, or Webflow's own colour would win inside .clip */
.nav_menu-link .text-size-small,
.footer_link .text-size-small,
.nav_menu-link div,
.footer_link div {
  color: inherit;
  font-size: inherit;
  transition: color 0.25s var(--ease);
}

}

/* No underline on a footer link: it follows the rail, which slides and
   changes colour instead. */
.footer_link::after,
.footer_link .hover-text:not(.bottom-text) > *::after {
  content: none;
}

/* The About and Mentorships heroes were a 50/50 split, so the photo carried as
   much weight as the copy. Give the text the larger share, which also brings
   the prose measure from ~53 characters per line into the 60-70 range.
   Desktop only: below 992px the grid already stacks to one column. */
@media (min-width: 992px) {
  .about-hero_grid.text-led {
    grid-template-columns: 1.7fr 1fr;
  }
}

/* Webflow caps .about-hero_intro at max-width: 70ch (about 629px). At the old
   720px column that barely bit, but with the wider text-led column it leaves
   the heading block inset ~72px further than the paragraph and credentials
   below it, which reads as a stray right padding. Let it fill the column. */
.about-hero_grid.text-led .about-hero_intro {
  max-width: none;
}

/* .about-hero_body-text is centred by auto margins, so with the wider column
   the prose floated in the middle while the heading sat flush left. Keep its
   78ch reading cap, but align it to the same left edge as the heading. */
.about-hero_grid.text-led .about-hero_body-text {
  margin-left: 0;
  margin-right: auto;
}

/* With the 70ch cap gone the heading fills the column, which is right for a
   display line, but the body copy then ran to 79-82 characters per line, past
   the comfortable limit. Cap the paragraphs alone. Not the containers: one of
   them also holds the logo marquee and a full-width button, which should keep
   the column width. */
.about-hero_grid.text-led .about-hero_intro > p,
.about-hero_grid.text-led .about-hero_body-text > p {
  max-width: 54ch;
}

/* ---------------------------------------------------------------------------
   Testimonial carousel controls. The arrows were 68px wide outlined bars the
   full height of the slider, which read as panels rather than buttons and
   matched nothing else on the site. They now use the same control as the case
   study carousels: a 40px circle pair on the left, the slider dots restyled as
   a segmented progress line beside them, all sitting under the quotes.

   CSS only. The slider markup and Webflow's slider script are untouched, so
   swipe, keyboard and the infinite loop all still work.
   --------------------------------------------------------------------------- */
.quotes_slider {
  position: relative;
  padding: 0 0 4.5rem;
}

.quotes_arrow {
  top: auto !important;
  bottom: 0 !important;
  width: var(--ctl-h) !important;
  height: var(--ctl-h);
  margin: 0 !important;
  border: 1px solid transparent !important;
  box-shadow: inset 0 0 0 1px var(--ctl-edge);
  border-radius: var(--ctl-radius) !important;
  background: none !important;
  display: grid !important;
  place-items: center;
  overflow: visible;
  transition: background-color 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.quotes_arrow.left-side  { left: 0 !important; right: auto !important; }
.quotes_arrow.right-side { left: 3rem !important; right: auto !important; }

/* same behaviour as every other control: fill, firm the border, grow.
   Webflow's slider wants to slide the arrow glyph on hover; it stays put. */
.quotes_arrow:hover {
  background-color: #f2f1ef !important;
  box-shadow: inset 0 0 0 1px #000;
  transform: scale(1.035);
}

.quotes_arrow .icon-1x1-regular { width: var(--ctl-icon); height: var(--ctl-icon); }
.quotes_arrow .button-shade { display: none; }
.quotes_arrow .clip,
.quotes_arrow .hover-arrow { transform: none !important; transition: none !important; }
.quotes_arrow .hover-arrow.left-arrow,
.quotes_arrow .hover-arrow.right-arrow { display: none; }

@media (prefers-reduced-motion: reduce) {
  .quotes_arrow:hover { transform: none; }
}

/* the dots become the progress line */
.slide-nav {
  top: auto !important;
  bottom: 1.1rem !important;
  left: 6.5rem !important;
  right: 0 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  gap: 0.5rem;
  text-align: left;
}

.slide-nav .w-slider-dot {
  flex: 1;
  width: auto !important;
  height: 2px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background-color: #e6e4e0 !important;
  transition: background-color 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.slide-nav .w-slider-dot.w-active { background-color: #0a0a0a !important; }

@media (max-width: 640px) {
  .quotes_arrow.right-side { left: 2.9rem !important; }
  .slide-nav { left: 6rem !important; }
}


/* ===========================================================================
   ===========================================================================
   CASE STUDY TEMPLATE
   Shared by projects/edf, projects/tjx, projects/smat, projects/vitality.
   Everything below this line only renders on those four pages. It sits last
   in the file, so it wins on the element-level rules the Webflow stylesheets
   set (figcaption alignment and so on).
   ===========================================================================
   =========================================================================== */

:root{
  --s1:.5rem;--s2:1rem;--s3:1.5rem;--s4:2rem;--s5:2.5rem;--s6:3rem;
  --s7:3.5rem;--s8:4rem;--s10:5rem;--s12:6rem;--s16:8rem;
  --ink:#0a0a0a;--ink-2:#4a4a4a;--ink-3:#6b6b6b;--label:#595959;
  --rule:#e6e4e0;--rule-strong:#8f8f8f;--paper:#fff;--wash:#f8f8f8;
  --sans:"Overusedgrotesk Vf",system-ui,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --nav-h:128px;  /* the site nav is position:fixed over the hero; 16x8 so
                     anything built on it stays on the 8px grid */
}
/* Scoped to the case study pages, which is where these two rules applied
   before this file was merged. The full-bleed hero and glance bands overflow
   the viewport by design, and clip stops that becoming sideways scroll.
   The four project pages carry data-cs on <html>. */
html[data-cs],html[data-cs] body{overflow-x:clip}
*{box-sizing:border-box}  /* webflow.css already sets this; kept for clarity */
/* Scoped like the clip rules above. The Webflow pages set their body text to
   pure black; the case studies use --ink (#0a0a0a). Left unscoped this rule
   would quietly restyle every page's text colour. */
html[data-cs] body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
.wrap{max-width:var(--page-max);margin:0 auto;padding:0 var(--gutter)}
/* explicit focus ring: black on white is 21:1, far above the 3:1 a focus
   indicator needs, and it does not depend on browser defaults */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.s_body figure img:focus-visible{outline-offset:4px}

.prog{position:fixed;top:0;left:0;height:2px;background:var(--ink);width:0;z-index:60;transition:width .1s linear}

/* hero: copy left, image right, running to the top edge of the page */
.hero{width:100vw;margin-left:calc(50% - 50vw);display:grid;
      grid-template-columns:minmax(0,1fr) 40vw;align-items:stretch;
      min-height:min(88vh,780px)}
.hero_text{display:flex;flex-direction:column;justify-content:center;min-width:0;
  padding:calc(var(--s12) + var(--nav-h)) var(--s10) var(--s12)
          calc(max((100vw - var(--page-max))/2, 0px) + var(--gutter))}
.eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1);margin:0 0 var(--s5);list-style:none;padding:0}
.eyebrow li{font-size:var(--fs-small);line-height:var(--lh-tight);color:var(--ink-2);border:1px solid var(--rule);border-radius:100rem;padding:.1rem .65rem .2rem}
.eyebrow .lead{display:flex;align-items:baseline;gap:var(--s1);color:var(--ink);font-weight:500;border:0;border-radius:0;padding:0;margin-right:var(--s2)}
.eyebrow_k{font-size:var(--fs-label);font-weight:var(--wt-body);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label)}
/* the grotesk, matching every other h1 on the site. It stays an
   accent for pull quotes. */
.title{font-family:var(--sans);font-weight:var(--wt-heading);font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--track-display);margin:0 0 var(--s4);max-width:17ch;text-wrap:balance}
.lede{font-size:var(--fs-lead);line-height:var(--lh-body);max-width:48ch;color:var(--ink-2);margin:0}
.hero_fig{margin:0;overflow:hidden;background:var(--wash);height:100%}
.hero_fig img{width:100%;height:100%;object-fit:cover;display:block}

/* rules span the viewport; content stays inside the wrap */
.glance{background:var(--wash);width:100vw;margin-left:calc(50% - 50vw);padding:var(--s8) 0}
.glance_in{max-width:var(--page-max);margin:0 auto;padding:0 var(--gutter)}

/* one shared pair of styles across both rows */
.k{font-size:var(--fs-label);line-height:1.3;letter-spacing:var(--track-label);text-transform:uppercase;
   color:var(--label);font-weight:400;margin:0 0 var(--s1)}
.v{font-size:var(--fs-small);line-height:var(--lh-tight);color:var(--ink-2);margin:0}

/* outcomes lead: they are the proof */
.g-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s5);margin:0 0 var(--s7)}
.g-stat_n{font-size:var(--fs-amount);line-height:1;letter-spacing:var(--track-amount);
          font-weight:400;font-variant-numeric:tabular-nums;margin:0 0 var(--s2);color:var(--ink)}
.g-stat_l{font-size:var(--fs-small);line-height:var(--lh-tight);color:var(--ink-2);max-width:26ch;margin:0}

/* engagement facts are reference, so they sit quieter and second */
.g-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s5);margin:0}
.g-meta_i dt{font-size:var(--fs-label);line-height:1.3;letter-spacing:var(--track-label);text-transform:uppercase;
             color:var(--label);margin:0 0 var(--s1)}
.g-meta_i dd{margin:0;font-size:var(--fs-small);line-height:var(--lh-tight);color:var(--ink-2)}

.main{--gut:clamp(var(--s6),7vw,var(--s16));position:relative;display:grid;grid-template-columns:14rem minmax(0,1fr);gap:var(--gut);padding:var(--s12) 0 var(--s16);align-items:start}
.main::before{content:"";position:absolute;top:0;bottom:0;left:calc(14rem + var(--gut)/2);width:1px;background:var(--rule)}
.rail{position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto;
      overscroll-behavior:contain;background:var(--paper);z-index:5;
      padding:var(--s6) var(--s3) var(--s6) 0;margin-left:calc(var(--s3)*-1);
      padding-left:var(--s3)}
.rail ol{list-style:none;margin:0;padding:0;position:relative}
.rail ol::before{content:"";position:absolute;left:0;top:.4rem;bottom:.4rem;width:1px;background:var(--rule)}
.rail li{position:relative}
.rail a{display:inline-block;position:relative;text-decoration:none;color:var(--ink-3);font-size:var(--fs-small);line-height:1.4;padding:var(--s1) 0 var(--s1) var(--s3);transition:color .25s var(--ease),transform .3s var(--ease)}
.rail .t2>a{color:var(--ink-2)}
.rail .t3>a{padding-left:var(--s4);font-size:var(--fs-small)}
.rail .t4{display:none}
.rail a[aria-current]{color:var(--ink);transform:translateX(8px)}
/* hover and active sit last: .rail .t2>a has the same specificity as
   .rail a:hover, so source order is what decides the colour. */
.rail a:hover,.rail .t2>a:hover,.rail .t3>a:hover{color:var(--ink);transform:translateX(4px)}
.rail a[aria-current]:hover{transform:translateX(8px)}
/* same 2px weight as the reading progress bar at the top of the page */
.rail_mark{position:absolute;left:0;width:2px;z-index:2;background:var(--ink);transition:transform .35s var(--ease),height .35s var(--ease);height:0}

.s{padding:0 0 var(--s10)}
.s+.s{padding-top:var(--s10);position:relative}
.s+.s::before{content:"";position:absolute;top:0;left:calc(var(--gut)/-2);width:100vw;height:1px;background:var(--rule)}
.s_h{font-size:var(--fs-heading);line-height:var(--lh-heading);font-weight:var(--wt-body);letter-spacing:var(--track-tight);margin:0 0 var(--s5);scroll-margin-top:var(--s8)}
.s_body h3{font-size:var(--fs-subhead);line-height:var(--lh-heading);font-weight:var(--wt-heading);letter-spacing:var(--track-tight);margin:var(--s8) 0 var(--s3);scroll-margin-top:var(--s8)}
.s_body h4{font-size:var(--fs-body);line-height:1.4;font-weight:var(--wt-heading);color:var(--ink);margin:var(--s6) 0 var(--s2);scroll-margin-top:var(--s8)}
.s_body p,.s_body li{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink-2);max-width:62ch}
.s_body p{margin:0 0 var(--s3)}
.s_body ul,.s_body ol{margin:0 0 var(--s4);padding-left:var(--s3);max-width:62ch}
.s_body li{margin:0 0 var(--s2)}
.s_body strong{font-weight:500;color:var(--ink)}
.s_body em{font-style:normal;color:var(--ink-3)}
.s_body blockquote{margin:var(--s5) 0;padding-left:var(--s3);border-left:1px solid var(--ink);font-family:var(--sans);font-size:var(--fs-subhead);font-weight:var(--wt-body);line-height:1.4;color:var(--ink);max-width:48ch}
.s_body blockquote p{font-family:var(--sans);font-size:inherit;line-height:inherit;color:inherit;max-width:none;margin:0}
.s_body blockquote cite{display:block;margin-top:var(--s2);font-family:var(--sans);font-style:normal;font-size:var(--fs-label);line-height:1.4;letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label)}
.s_body figure{margin:var(--s6) 0;max-width:none}
/* captions had no rule of their own, so they ran at the 16px body size */
/* both webflow.css and melbaudon.webflow.css centre figcaption at element level */
/* Webflow sizes video embeds with `.w-richtext figure[data-rt-type="video"]`
   rules; the template drops that wrapper, so the iframe fell back to its
   intrinsic 300x150 inside a figure padded to 75%. The inline padding-bottom
   Webflow writes on the figure needs !important to clear. 16/9 is the real
   YouTube ratio; the 640:480 in the markup is a stale Webflow default. */
.s_body figure[data-rt-type="video"]{position:relative;max-width:none;height:auto;
  padding-bottom:0 !important;margin:var(--s6) 0}
.s_body figure[data-rt-type="video"]>div{position:relative;width:100%;aspect-ratio:16/9;
  padding-bottom:0;height:auto}
.s_body figure[data-rt-type="video"] iframe{position:absolute;inset:0;width:100%;height:100%;
  display:block;border:1px solid var(--rule);background:var(--wash)}

.s_body figcaption{font-size:var(--fs-small);line-height:var(--lh-tight);font-style:italic;text-align:left;color:var(--label);margin-top:var(--s2);max-width:60ch}
.s_body figcaption em{font-style:italic;color:inherit}
.s_body figure img{display:block;width:100%;height:auto;background:var(--wash);border:1px solid var(--rule);cursor:zoom-in;transition:opacity .3s var(--ease)}
.car{position:relative;margin:0}
.car_win{overflow:hidden}
.car_track{display:flex;transition:transform .55s var(--ease)}
.s_body .car_track figure{flex:0 0 100%;margin:0;max-width:none}
.car_bar{display:flex;align-items:center;gap:var(--s3);margin-top:var(--s4)}
.car_steps{flex:1;display:flex;gap:var(--s1)}
.car_steps i{flex:1;height:2px;background:var(--rule);transition:background .3s var(--ease)}
.car_steps i.on{background:var(--ink)}
.car_n{font-size:var(--fs-label);color:var(--label);font-variant-numeric:tabular-nums;letter-spacing:var(--track-label)}
/* --rule is 1.27:1 on white, below the 3:1 that WCAG 1.4.11 wants for a
   control boundary. --rule-strong is 3.23:1. */
.car_b{width:var(--ctl-h);height:var(--ctl-h);border:1px solid transparent;box-shadow:inset 0 0 0 1px var(--ctl-edge);
  background:none;border-radius:var(--ctl-radius);cursor:pointer;color:var(--ink);display:grid;place-items:center;
  transition:box-shadow var(--ctl-t),background-color var(--ctl-t),transform var(--ctl-t)}
.car_b:hover:not([disabled]){box-shadow:inset 0 0 0 1px var(--ctl-edge-on);background-color:var(--ctl-fill);transform:scale(var(--ctl-lift))}
.car_b[disabled]{opacity:.35;cursor:default}
.car_b svg{width:var(--ctl-icon);height:var(--ctl-icon)}
.s_body figure img:hover{opacity:.9}

.rise{opacity:0;transform:translateY(10px)}
.rise.in{opacity:1;transform:none;transition:opacity .65s var(--ease),transform .65s var(--ease);transition-delay:var(--d,0ms)}
.hero_fig.rise{transform:none}
.hero_fig.rise.in{transition:opacity .9s var(--ease)}
.hero_fig img{transform:scale(1.03);transition:transform 1.2s var(--ease)}
.hero_fig.in img{transform:none}
@media (prefers-reduced-motion:reduce){
  .rise,.rise.in{opacity:1;transform:none;transition:none}
  .hero_fig img,.hero_fig.in img{transform:none;transition:none}
  .prog,.rail_mark,.rail a,.car_track,.zoom_x{transition:none}
}

.zoom{position:fixed;inset:0;z-index:80;background:rgba(10,10,10,.94);display:none;align-items:center;justify-content:center;padding:var(--s5)}
.zoom.open{display:flex}
.zoom img{max-width:100%;max-height:100%;cursor:zoom-out}
/* the carousel button, translated onto the dark overlay */
.zoom_x{position:fixed;top:var(--s3);right:var(--s3);width:var(--ctl-h);height:var(--ctl-h);border-radius:var(--ctl-radius);border:1px solid #fff;background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center;transition:background .25s var(--ease),color .25s var(--ease)}
/* inverts on hover, and the white ring keeps it legible on the dark overlay */
.zoom_x:hover{background:var(--ink);color:#fff}
.zoom_x svg{width:14px;height:14px}
/* the global ring is black, which is invisible on the dark overlay */
.zoom_x:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media (max-width:991px){
  .main{grid-template-columns:1fr;gap:var(--s5);padding:var(--s8) 0 var(--s10)}
  .rail{position:static;max-height:none;border-bottom:1px solid var(--rule);padding-bottom:var(--s4)}
  .rail .t3,.rail .t4{display:none}
  .rail ol::before,.rail_mark,.main::before{display:none}
  .s+.s::before{left:calc(50% - 50vw)}
  .rail a{padding-left:0}
  .rail a[aria-current]{transform:none}
  .g-meta{grid-template-columns:1fr;gap:var(--s4)}
  .g-stats{grid-template-columns:1fr;gap:var(--s4)}
  .hero{grid-template-columns:1fr;min-height:0}
  .hero_text{padding:calc(var(--s8) + var(--nav-h)) var(--gutter) var(--s6)}
  .hero_fig{height:42vh}
}

/* ===========================================================================
   ABOUT PAGE
   Sits after the case study block on purpose: both style .hero/.hero_fig and
   the About page's version has to win, exactly as it did when it was a
   separate stylesheet loaded last.
   The scroll-driven timeline, the stats bands, the brands marquee and the
   teaching block. Only renders on about.html.
   =========================================================================== */
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
.w{max-width:var(--page-max);margin:0 auto;padding:0 var(--gutter)}

/* ---------- opening ---------- */
.hero_fig img.me{object-position:40% 50%}
.hero_text .button{align-self:stretch;width:100%;justify-content:center;margin-top:0}
/* the three figures used to sit in a grey band under the hero; in the column
   they are part of the opening, so no band and a tighter grid */
.hero_stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s4);
  margin:var(--s6) 0 var(--s6);max-width:34rem}
.hero_stats .g-stat_n{font-size:var(--fs-amount-sm)}
.hero_stats .g-stat_l{font-size:var(--fs-small);max-width:14ch}
@media (max-width:600px){.hero_stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s2)}}
/* The About hero runs long, so a column-height portrait came out as a thin
   strip. Pinning it to one viewport keeps the crop in proportion and lets it
   hold while the copy scrolls past. */
@media (min-width:992px){
  .hero{grid-template-columns:minmax(0,1fr) 46vw}
  /* --fs-display is sized for a full-width hero. In a column beside a large
     image it wrapped to five lines and crowded the photo. */
  .hero .title{font-size:clamp(2.5rem,4.6vw,4.5rem)}
  .hero_fig{position:sticky;top:0;align-self:start;height:100vh}
}
.intro_social{display:flex;gap:var(--s1);margin:0 0 var(--s6)}
/* these carry .social-icon now, so they inherit the control standard:
   44px, 6px radius, grey ring that firms up, grey fill and a 3.5% lift.
   They used to invert to a solid black fill, which was the one control on
   the site still doing its own thing. */
.hero_text .intro_cols{display:grid;gap:var(--s4);max-width:34rem;margin:var(--s5) 0 0}
.hero_text .intro_cols p{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink-2);margin:0}

/* ---------- brands ---------- */
/* In the hero column now, so it loses the section chrome: no top rule, no
   section-sized heading, and the marquee stays inside the column instead of
   running the full viewport width. */
.hero_text .brands{margin:var(--s4) 0 var(--s7);padding:0;border-top:0}
.hero_text .brands h2{font-weight:var(--wt-body);font-size:var(--fs-label);
  letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label);
  line-height:1.4;margin:0 0 var(--s3)}
.hero_text .marq{width:100%;max-width:100%;min-width:0;margin-left:0;
  -webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 64px),transparent 100%);
  mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 64px),transparent 100%)}
.hero_text .marq img{height:clamp(22px,1.8vw,28px)}
.brands{margin-top:var(--s12);padding-top:var(--s10);border-top:1px solid var(--ink)}
.brands h2{font-weight:var(--wt-heading);font-size:var(--fs-title);line-height:var(--lh-title);margin:0 0 var(--s6);letter-spacing:var(--track-display)}
.marq{width:100vw;margin-left:calc(50% - 50vw);overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marq_track{display:flex;width:max-content;animation:marq 48s linear infinite}
.marq:hover .marq_track,.marq:focus-within .marq_track{animation-play-state:paused}
.marq_set{display:flex;align-items:center;gap:clamp(var(--s6),6vw,var(--s10));
  padding-right:clamp(var(--s6),6vw,var(--s10));flex:none}
/* NHS is a solid blue rectangle, and TJX, BAE and Deutsche Bank carry coloured
   backgrounds, so brightness(0) painted them as black blocks. Greyscale keeps
   every mark readable whatever its background sits on. */
.marq img{height:clamp(26px,2.4vw,34px);width:auto;display:block;opacity:.9;transition:opacity .3s var(--ease)}
.marq img:hover{opacity:1}
@keyframes marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ================= TIMELINE ================= */
/* Vertical only. The shorthand here used to set left/right to 0, and since
   .tl comes after .w with equal specificity it wiped the page gutter, so
   every heading in this block sat flush against the window edge.
   The trailing padding is back now the figures are on white: without the
   grey band there is nothing else holding them off the footer. */
.tl{padding-top:var(--s12);padding-bottom:var(--s12)}
.tl_head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s4);
  margin:0 0 var(--s10);padding-bottom:var(--s3);border-bottom:1px solid var(--ink)}
.tl_head h2{font-weight:var(--wt-heading);font-size:var(--fs-title);line-height:var(--lh-title);margin:0;letter-spacing:var(--track-display)}
.tl_head p{margin:0;font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label)}

.tl_cards{display:grid;grid-template-columns:clamp(8rem,13vw,14rem) minmax(0,1fr);
  gap:clamp(var(--s5),5vw,var(--s10));padding-bottom:var(--s12);align-items:start}

/* the year parks and cross-fades as the cards pass it */
.tl_yearwrap{position:sticky;top:30vh;align-self:start;height:0}
.tl_year{font-family:var(--sans);font-weight:var(--wt-body);font-size:var(--fs-amount-lg);line-height:.95;
  color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:var(--track-amount);display:block;
  transition:opacity .28s var(--ease),transform .28s var(--ease)}
.tl_yearwrap.swap .tl_year{opacity:0;transform:translateY(-10px)}
/* once the last card has scrolled past, the year has nothing left to label,
   so it goes rather than sitting alone beside empty space */
.tl_yearwrap.done .tl_year,
.tl_yearwrap.done .tl_count{opacity:0;transform:translateY(-10px);pointer-events:none}
.tl_yearwrap .tl_count{transition:opacity .28s var(--ease),transform .28s var(--ease)}
.tl_count{display:block;margin-top:var(--s2);font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;
  color:var(--label);font-variant-numeric:tabular-nums}



/* the same sticky stack the home project cards use: each entry parks under
   the nav and the next one scrolls up over it. The opaque background is what
   does the covering, so it has to be set. */
.tl_items{position:relative;margin:0;padding:0;list-style:none}

/* Every entry is the same height, set by --card-h from the tallest one.
   A sticky element stops at (container bottom - its own height), so cards of
   different heights unpark at different scroll points and you end up seeing
   three headers at once. Equal heights make them release together. The
   min-height is the floor: no card shorter than the slot it parks in, or it
   cannot cover the one parked above it. */
.tl_i{position:sticky;top:calc(var(--nav-h) + var(--s3));background:var(--paper);
  height:var(--card-h,auto);min-height:calc(100vh - var(--nav-h) - var(--s6));
  padding:var(--s6) 0 var(--s8);border-top:1px solid var(--rule);margin-top:-1px}
.tl_i:first-child{border-top:0}
/* webflow.css gives every li a 4px bottom margin, which is off the 8px grid */
.tl_items li{margin-bottom:0}

.tl_top{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--s1) var(--s3);margin:0 0 var(--s2)}
.tl_when{font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label);margin:0}
.tl_place{font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--ink-3);margin:0}
.tl_role{font-size:var(--fs-heading);line-height:var(--lh-heading);font-weight:var(--wt-body);margin:0 0 var(--s1);letter-spacing:var(--track-tight)}
.tl_org{display:flex;align-items:center;gap:var(--s2);font-size:var(--fs-small);color:var(--ink-2);margin:0 0 var(--s5)}
.tl_org img{height:19px;width:auto;display:block}

/* the figures carry the entry; the prose supports them */
.tl_figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:var(--s4);
  margin:0 0 var(--s5);padding:var(--s4) 0 0;border-top:1px solid var(--rule);max-width:52rem}
.tl_fig b{display:block;font-size:var(--fs-amount-sm);font-weight:var(--wt-body);line-height:1;letter-spacing:var(--track-amount);
  font-variant-numeric:tabular-nums;margin:0 0 var(--s1)}
.tl_fig span{display:block;font-size:var(--fs-small);line-height:var(--lh-tight);color:var(--ink-2);max-width:20ch}

.tl_i ul{margin:0;padding:0;list-style:none;display:grid;gap:var(--s2);max-width:56ch}
.tl_i li{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink-2);position:relative;padding-left:var(--s3)}
.tl_i li::before{content:"";position:absolute;left:0;top:.68em;width:9px;height:1px;background:#c9c6c0}
.tl_i strong{font-weight:var(--wt-heading);color:var(--ink)}
.tl_award_i{width:14px;height:14px;flex:none;display:block}
.tl_award{display:inline-flex;align-items:center;gap:.45rem;margin:var(--s4) 0 0;font-size:var(--fs-label);
  letter-spacing:var(--track-label);text-transform:uppercase;color:var(--ink);
  border:1px solid var(--ink);border-radius:100rem;padding:.3rem .8rem .35rem}

/* ---------- teaching ----------
   Full-bleed band: copy in two columns, the photo edge to edge of the window,
   then the figures. The photo is landscape (5472x3648), so a wide crop keeps
   almost all of the frame; the tall column it used to sit in threw away 71%
   of the width. Full-bleed is also the page's existing language, the same
   move the glance band and the case study heroes make. */
/* The last block on the page. Home and Portfolio leave ~160-185px between
   their final line and the footer; --s16 (128) plus the figures' own line
   height lands in that range. */
.teach{margin-top:var(--s12);padding-bottom:var(--s16)}
.teach_head{padding-top:var(--s10)}
.teach_copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(var(--s6),5vw,var(--s10));align-items:start;margin:0 0 var(--s10)}
.teach h2{font-weight:var(--wt-heading);font-size:var(--fs-title);line-height:var(--lh-title);
  letter-spacing:var(--track-display);margin:0 0 var(--s5);max-width:16ch}
.teach_copy p{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink-2);
  margin:0 0 var(--s4);max-width:54ch}
.teach_copy p:last-child{margin-bottom:0}

.teach_shot{width:100vw;margin:0 0 var(--s10) calc(50% - 50vw)}
.teach_shot img{width:100%;aspect-ratio:21/8;object-fit:cover;object-position:50% 46%;
  display:block;background:var(--wash)}

.teach_n{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s7) var(--s5);margin:0}

.rise{opacity:0;transform:translateY(10px)}
.rise.in{opacity:1;transform:none;transition:opacity .65s var(--ease),transform .65s var(--ease);transition-delay:var(--d,0ms)}
.hero_fig.rise{transform:none}
.hero_fig.rise.in{transition:opacity .9s var(--ease)}
.hero_fig img{transform:scale(1.03);transition:transform 1.2s var(--ease)}
.hero_fig.in img{transform:none}
@media (prefers-reduced-motion:reduce){
  .rise,.rise.in{opacity:1;transform:none;transition:none}
  .hero_fig img,.hero_fig.in img{transform:none;transition:none}
  .prog,.rail_mark,.rail a,.car_track,.zoom_x{transition:none}
}

.zoom{position:fixed;inset:0;z-index:80;background:rgba(10,10,10,.94);display:none;align-items:center;justify-content:center;padding:var(--s5)}
.zoom.open{display:flex}
.zoom img{max-width:100%;max-height:100%;cursor:zoom-out}
/* the carousel button, translated onto the dark overlay */
.zoom_x{position:fixed;top:var(--s3);right:var(--s3);width:var(--ctl-h);height:var(--ctl-h);border-radius:var(--ctl-radius);border:1px solid #fff;background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center;transition:background .25s var(--ease),color .25s var(--ease)}
/* inverts on hover, and the white ring keeps it legible on the dark overlay */
.zoom_x:hover{background:var(--ink);color:#fff}
.zoom_x svg{width:14px;height:14px}
/* the global ring is black, which is invisible on the dark overlay */
.zoom_x:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media (max-width:991px){
  .main{grid-template-columns:1fr;gap:var(--s5);padding:var(--s8) 0 var(--s10)}
  .rail{position:static;max-height:none;border-bottom:1px solid var(--rule);padding-bottom:var(--s4)}
  .rail .t3,.rail .t4{display:none}
  .rail ol::before,.rail_mark,.main::before{display:none}
  .s+.s::before{left:calc(50% - 50vw)}
  .rail a{padding-left:0}
  .rail a[aria-current]{transform:none}
  .g-meta{grid-template-columns:1fr;gap:var(--s4)}
  .g-stats{grid-template-columns:1fr;gap:var(--s4)}
  .hero{grid-template-columns:1fr;min-height:0}
  .hero_text{padding:calc(var(--s8) + var(--nav-h)) var(--gutter) var(--s6)}
  .hero_fig{height:42vh}
}

/* ===========================================================================
   ABOUT PAGE
   Sits after the case study block on purpose: both style .hero/.hero_fig and
   the About page's version has to win, exactly as it did when it was a
   separate stylesheet loaded last.
   The scroll-driven timeline, the stats bands, the brands marquee and the
   teaching block. Only renders on about.html.
   =========================================================================== */
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
.w{max-width:var(--page-max);margin:0 auto;padding:0 var(--gutter)}

/* ---------- opening ---------- */
.hero_fig img.me{object-position:40% 50%}
.hero_text .button{align-self:stretch;width:100%;justify-content:center;margin-top:0}
/* the three figures used to sit in a grey band under the hero; in the column
   they are part of the opening, so no band and a tighter grid */
.hero_stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s4);
  margin:var(--s6) 0 var(--s6);max-width:34rem}
.hero_stats .g-stat_n{font-size:var(--fs-amount-sm)}
.hero_stats .g-stat_l{font-size:var(--fs-small);max-width:14ch}
@media (max-width:600px){.hero_stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s2)}}
/* The About hero runs long, so a column-height portrait came out as a thin
   strip. Pinning it to one viewport keeps the crop in proportion and lets it
   hold while the copy scrolls past. */
@media (min-width:992px){
  .hero{grid-template-columns:minmax(0,1fr) 46vw}
  /* --fs-display is sized for a full-width hero. In a column beside a large
     image it wrapped to five lines and crowded the photo. */
  .hero .title{font-size:clamp(2.5rem,4.6vw,4.5rem)}
  .hero_fig{position:sticky;top:0;align-self:start;height:100vh}
}
.intro_social{display:flex;gap:var(--s1);margin:0 0 var(--s6)}
/* these carry .social-icon now, so they inherit the control standard:
   44px, 6px radius, grey ring that firms up, grey fill and a 3.5% lift.
   They used to invert to a solid black fill, which was the one control on
   the site still doing its own thing. */
.hero_text .intro_cols{display:grid;gap:var(--s4);max-width:34rem;margin:var(--s5) 0 0}
.hero_text .intro_cols p{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink-2);margin:0}

/* ---------- brands ---------- */
/* In the hero column now, so it loses the section chrome: no top rule, no
   section-sized heading, and the marquee stays inside the column instead of
   running the full viewport width. */
.hero_text .brands{margin:var(--s4) 0 var(--s7);padding:0;border-top:0}
.hero_text .brands h2{font-weight:var(--wt-body);font-size:var(--fs-label);
  letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label);
  line-height:1.4;margin:0 0 var(--s3)}
.hero_text .marq{width:100%;max-width:100%;min-width:0;margin-left:0;
  -webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 64px),transparent 100%);
  mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 64px),transparent 100%)}
.hero_text .marq img{height:clamp(22px,1.8vw,28px)}
.brands{margin-top:var(--s12);padding-top:var(--s10);border-top:1px solid var(--ink)}
.brands h2{font-weight:var(--wt-heading);font-size:var(--fs-title);line-height:var(--lh-title);margin:0 0 var(--s6);letter-spacing:var(--track-display)}
.marq{width:100vw;margin-left:calc(50% - 50vw);overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marq_track{display:flex;width:max-content;animation:marq 48s linear infinite}
.marq:hover .marq_track,.marq:focus-within .marq_track{animation-play-state:paused}
.marq_set{display:flex;align-items:center;gap:clamp(var(--s6),6vw,var(--s10));
  padding-right:clamp(var(--s6),6vw,var(--s10));flex:none}
/* NHS is a solid blue rectangle, and TJX, BAE and Deutsche Bank carry coloured
   backgrounds, so brightness(0) painted them as black blocks. Greyscale keeps
   every mark readable whatever its background sits on. */
.marq img{height:clamp(26px,2.4vw,34px);width:auto;display:block;opacity:.9;transition:opacity .3s var(--ease)}
.marq img:hover{opacity:1}
@keyframes marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ================= TIMELINE ================= */
/* Vertical only. The shorthand here used to set left/right to 0, and since
   .tl comes after .w with equal specificity it wiped the page gutter, so
   every heading in this block sat flush against the window edge.
   The trailing padding is back now the figures are on white: without the
   grey band there is nothing else holding them off the footer. */
.tl{padding-top:var(--s12);padding-bottom:var(--s12)}
.tl_head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s4);
  margin:0 0 var(--s10);padding-bottom:var(--s3);border-bottom:1px solid var(--ink)}
.tl_head h2{font-weight:var(--wt-heading);font-size:var(--fs-title);line-height:var(--lh-title);margin:0;letter-spacing:var(--track-display)}
.tl_head p{margin:0;font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label)}

.tl_cards{display:grid;grid-template-columns:clamp(8rem,13vw,14rem) minmax(0,1fr);
  gap:clamp(var(--s5),5vw,var(--s10));padding-bottom:var(--s12);align-items:start}

/* the year parks and cross-fades as the cards pass it */
.tl_yearwrap{position:sticky;top:30vh;align-self:start;height:0}
.tl_year{font-family:var(--sans);font-weight:var(--wt-body);font-size:var(--fs-amount-lg);line-height:.95;
  color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:var(--track-amount);display:block;
  transition:opacity .28s var(--ease),transform .28s var(--ease)}
.tl_yearwrap.swap .tl_year{opacity:0;transform:translateY(-10px)}
/* once the last card has scrolled past, the year has nothing left to label,
   so it goes rather than sitting alone beside empty space */
.tl_yearwrap.done .tl_year,
.tl_yearwrap.done .tl_count{opacity:0;transform:translateY(-10px);pointer-events:none}
.tl_yearwrap .tl_count{transition:opacity .28s var(--ease),transform .28s var(--ease)}
.tl_count{display:block;margin-top:var(--s2);font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;
  color:var(--label);font-variant-numeric:tabular-nums}



/* the same sticky stack the home project cards use: each entry parks under
   the nav and the next one scrolls up over it. The opaque background is what
   does the covering, so it has to be set. */
.tl_items{position:relative;margin:0;padding:0;list-style:none}

/* Every entry is the same height, set by --card-h from the tallest one.
   A sticky element stops at (container bottom - its own height), so cards of
   different heights unpark at different scroll points and you end up seeing
   three headers at once. Equal heights make them release together. The
   min-height is the floor: no card shorter than the slot it parks in, or it
   cannot cover the one parked above it. */
.tl_i{position:sticky;top:calc(var(--nav-h) + var(--s3));background:var(--paper);
  height:var(--card-h,auto);min-height:calc(100vh - var(--nav-h) - var(--s6));
  padding:var(--s6) 0 var(--s8);border-top:1px solid var(--rule);margin-top:-1px}
.tl_i:first-child{border-top:0}
/* webflow.css gives every li a 4px bottom margin, which is off the 8px grid */
.tl_items li{margin-bottom:0}

.tl_top{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--s1) var(--s3);margin:0 0 var(--s2)}
.tl_when{font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--label);margin:0}
.tl_place{font-size:var(--fs-label);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--ink-3);margin:0}
.tl_role{font-size:var(--fs-heading);line-height:var(--lh-heading);font-weight:var(--wt-body);margin:0 0 var(--s1);letter-spacing:var(--track-tight)}
.tl_org{display:flex;align-items:center;gap:var(--s2);font-size:var(--fs-small);color:var(--ink-2);margin:0 0 var(--s5)}
.tl_org img{height:19px;width:auto;display:block}

/* the figures carry the entry; the prose supports them */
.tl_figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:var(--s4);
  margin:0 0 var(--s5);padding:var(--s4) 0 0;border-top:1px solid var(--rule);max-width:52rem}
.tl_fig b{display:block;font-size:var(--fs-amount-sm);font-weight:var(--wt-body);line-height:1;letter-spacing:var(--track-amount);
  font-variant-numeric:tabular-nums;margin:0 0 var(--s1)}
.tl_fig span{display:block;font-size:var(--fs-small);line-height:var(--lh-tight);color:var(--ink-2);max-width:20ch}

.tl_i ul{margin:0;padding:0;list-style:none;display:grid;gap:var(--s2);max-width:56ch}
.tl_i li{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink-2);position:relative;padding-left:var(--s3)}
.tl_i li::before{content:"";position:absolute;left:0;top:.68em;width:9px;height:1px;background:#c9c6c0}
.tl_i strong{font-weight:var(--wt-heading);color:var(--ink)}
.tl_award_i{width:14px;height:14px;flex:none;display:block}
.tl_award{display:inline-flex;align-items:center;gap:.45rem;margin:var(--s4) 0 0;font-size:var(--fs-label);
  letter-spacing:var(--track-label);text-transform:uppercase;color:var(--ink);
  border:1px solid var(--ink);border-radius:100rem;padding:.3rem .8rem .35rem}

/* teaching layout lives above; only its breakpoints follow */
@media (max-width:991px){
  .teach_copy{grid-template-columns:1fr;gap:var(--s2);margin-bottom:var(--s7)}
  .teach_shot{margin-bottom:var(--s7)}
  .teach_n{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s6) var(--s5)}
}
@media (max-width:600px){
  .teach_shot img{aspect-ratio:3/2}
  .teach_n{grid-template-columns:1fr}
}

.rise{opacity:0;transform:translateY(14px)}
.rise.in{opacity:1;transform:none;transition:opacity .6s var(--ease),transform .6s var(--ease);transition-delay:var(--d,0ms)}
@media (prefers-reduced-motion:reduce){
  .rise,.rise.in{opacity:1;transform:none;transition:none}
  /* a 48s loop is exactly the kind of motion this setting exists for */
  .marq_track{animation:none}
  .marq{overflow-x:auto}
}
@media (max-width:991px){
  .tl_cards{grid-template-columns:1fr;gap:var(--s3)}
  .tl_yearwrap{position:static;height:auto;margin-bottom:var(--s4)}
  .tl_year{font-size:var(--fs-amount)}
  .intro_cols{grid-template-columns:1fr}
    .tl_i{position:static;background:none;height:auto;min-height:0;padding:var(--s5) 0 var(--s6)}
  .tl_figs{grid-template-columns:repeat(2,minmax(0,1fr))}
}

