/* New look for hero case studies (/case-study/...) and micro case studies (/work/...), rolled out from the
   style test (Nov 2026). Loaded only by src/case-study.njk and src/micro-case-study.njk, scoped to .case-look on
   their page wrapper. Brand fonts: Borna for headlines and body, Clearface Std Bold for lead lines (our Clearface
   web licence covers Bold, Heavy and Black only). Heavy sentence-case headings with solid yellow highlight blocks,
   2px black outlines with hard offset shadows on photos, videos, cards and buttons, yellow tick boxes, the client
   logo above the title. The site-wide nav, partner banner and footer keep the current style. */
@font-face { font-family: "Clearface Std"; src: url("../fonts/ClearfaceStd-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Clearface Std"; src: url("../fonts/ClearfaceStd-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
.case-look {
  --st-ink: #000;
  --st-yellow: #ff0;
  --st-paper: #fff;
  --st-grey: #f1f1f1;
  --st-line: 2px solid var(--st-ink);
  --st-shadow: 8px 8px 0 var(--st-ink);
  --st-shadow-sm: 5px 5px 0 var(--st-ink);
  --st-head: Borna, "Helvetica Neue", Arial, sans-serif;
  --st-body: Borna, "Helvetica Neue", Arial, sans-serif;
  --st-serif: "Clearface Std", Georgia, "Times New Roman", serif;
  background: var(--st-paper);
}
.case-look main h1,
.case-look main h2,
.case-look main h3,
.case-look main .h2 {
  font-family: var(--st-head); text-transform: none; letter-spacing: -0.02em; color: var(--st-ink);
}
.case-look main h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 700; line-height: 1.22; }
.case-look main h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 700; line-height: 1.18; }
.case-look main h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.case-look main p,
.case-look main li,
.case-look main .text-rich-text { font-family: var(--st-body); font-size: 0.95rem; line-height: 1.65; letter-spacing: 0.02em; }
.case-look main section > .container > .flex.vertical > p {
  font-family: var(--st-serif); font-weight: 700; letter-spacing: 0; line-height: 1.45;
}
.case-look .services-highlight,
.case-look .service-name-highlight {
  background: var(--st-yellow) !important; background-image: none !important;
  padding: 0.02em 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.case-look .service-breadcrumb { font-family: var(--st-head); font-weight: 600; }
.case-look .work-tile {
  border: var(--st-line) !important; border-radius: 0 !important; box-shadow: var(--st-shadow-sm); background: var(--st-paper);
  transition: transform 0.15s, box-shadow 0.15s;
}
.case-look .work-tile:hover { transform: translate(-3px, -3px); box-shadow: var(--st-shadow); }
.case-look .work-rail_track { padding-top: 6px; padding-left: 6px; margin-left: -6px; padding-bottom: 14px; scroll-padding-left: 6px; }
.case-look .work-tile img,
.case-look .work-tile .media-placeholder { border-radius: 0 !important; border: var(--st-line); }
.case-look .work-rail_year-value { font: 700 2rem/1 var(--st-head); }
.case-look .button.primary .hover-button-blur { display: none; }
.case-look .vector-bg { display: none !important; }
.case-look .lightbox-video,
.case-look .case-body_cover,
.case-look .case-gallery .media-grid-item,
.case-look .micro-gallery .media-grid-item,
.case-look .video-gallery a,
.case-look .c_image-slider {
  border: var(--st-line); border-radius: 0 !important; box-shadow: var(--st-shadow-sm);
}
.case-look .lightbox-video img,
.case-look .video-gallery img { border-radius: 0 !important; }
.case-look .c_image-slider-item { padding: 0 6px 8px 0; }
.case-look .button-secondary .button-secondary-bg { display: none; }
.case-look .button-secondary .text-size-xsmall { font: 700 0.85rem/1 var(--st-head); letter-spacing: 0.04em; }
.case-look .micro-list li { position: relative; padding: 0.4rem 0 0.4rem 2rem !important; font-family: var(--st-head); font-weight: 700; }
.case-look .micro-list .divider { display: none; }
.case-look .micro-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem; width: 1.15rem; height: 1.15rem; box-sizing: border-box;
  border: var(--st-line); background: var(--st-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.case-look .case-service-link { font-family: var(--st-head); }
.case-look .case-nav a,
.case-look [class*="case-nav"] a { border-radius: 0 !important; }
.case-look main .case-hero_title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.18; }
@media (prefers-reduced-motion: reduce) {
  .case-look .button-secondary, .case-look .button.primary { transition: none;}
}
.case-look .case-hero_logo { display: block; max-height: 2.75rem; max-width: 11rem; width: auto; height: auto; object-fit: contain; object-position: left center; margin-bottom: 0.5rem; }
.case-look main .micro-intro_title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.18; }

/* Client name: hidden on screen (the logo shows it) but kept in the h1 for search engines and screen readers */
.case-look .case-hero_client { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Night mode: outlines, shadows and text use night mode's light ink on its dark page; anything on solid yellow
   (highlight blocks, buttons, tick boxes) keeps black text, as elsewhere on the site */
html.night-mode .case-look { --st-ink: var(--dark); --st-paper: var(--light); --st-grey: var(--main--grey-1); }
html.night-mode .case-look .services-highlight,
html.night-mode .case-look .service-name-highlight { color: #000 !important; }
html.night-mode .case-look .button.primary { color: #000 !important; }
html.night-mode .case-look .button-secondary:hover,
html.night-mode .case-look .button-secondary:focus-visible { color: #000; }
html.night-mode .case-look .case-hero_logo { filter: invert(1) grayscale(1); }

/* ===== Service pages (/services/...) ===== */
.case-look main .service-intro_title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.18; }
/* Category chip above the title (Strategy, Creative, Production, Distribution) */
.case-look .service-intro_title[data-chip]::before {
  content: attr(data-chip); display: table; margin-bottom: 1.25rem;
  background: var(--st-yellow); color: #000; font: 700 11px/1 var(--st-head);
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45rem 0.55rem;
}
/* Clearface for the lead lines: the explainer's first paragraph on service pages, the write-up's first paragraph on
   micro case studies, the outcomes intro. The strapline under a service page title is Borna, as under a micro case
   study title (Dec 2026) */
.case-look main .service-lead p:first-child,
.case-look main .micro-lead > p:first-of-type,
.case-look main .service-outcomes > div:first-child > p {
  font-family: var(--st-serif); font-weight: 700; letter-spacing: 0; line-height: 1.45;
}
.case-look main .service-lead p:first-child, .case-look main .micro-lead > p:first-of-type { font-size: 1.25rem; }
.case-look .service-intro { border-bottom: var(--st-line); }
/* Outcomes: outlined cards with a hard shadow and a yellow tick box */
.case-look .service-outcomes .service-list { display: flex; flex-direction: column; gap: 1rem; padding: 0 5px 5px 0; }
.case-look .service-outcome {
  background: var(--st-paper); border: var(--st-line); box-shadow: var(--st-shadow-sm);
  padding: 1rem 1.1rem 1rem 3rem !important; position: relative;
}
.case-look .service-outcome .divider { display: none; }
.case-look .service-outcome::before {
  content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 1.1rem; height: 1.1rem; box-sizing: border-box;
  border: 2px solid #000; background: var(--st-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 80% no-repeat;
}
/* Gallery photos: framed */
.case-look .service-gallery .media-grid-item { border: var(--st-line); box-shadow: var(--st-shadow-sm); border-radius: 0 !important; overflow: hidden; }
.case-look .service-gallery img { border-radius: 0 !important; }
/* How it works: outlined boxes with a hard shadow and a black number badge; yellow on hover */
.case-look .service-steps li {
  border: var(--st-line) !important; border-radius: 0 !important; box-shadow: var(--st-shadow); background: var(--st-paper);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.case-look .service-steps li:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--st-ink); background: var(--st-yellow); }
.case-look .service-steps li:hover, .case-look .service-steps li:hover * { color: #000; }
.case-look .service-step-num {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem;
  background: #000; color: var(--st-yellow) !important; font: 700 1.5rem/1 var(--st-head) !important; letter-spacing: 0 !important;
}
/* Related services: outlined rows */
.case-look .service-link-row { border: var(--st-line); box-shadow: var(--st-shadow-sm); padding: 1rem 1.25rem !important; background: var(--st-paper); }
.case-look .service-link-row .divider { display: none; }
.case-look .service-link-row:hover { background: var(--st-yellow); }
.case-look .service-link-row:hover, .case-look .service-link-row:hover * { color: #000; }
@media (prefers-reduced-motion: reduce) { .case-look .service-steps li { transition: none; } }
/* What you leave with: the three outcomes as a ticked list under the last How it works step */
.case-look .service-ticks_label { margin-top: 0.75rem; font-family: var(--st-head) !important; font-weight: 700; }
.case-look .service-ticks { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.case-look .service-steps .service-ticks li,
.case-look .service-steps li:hover .service-ticks li {
  border: 0 !important; box-shadow: none; background: none; transform: none; border-radius: 0 !important;
  padding: 0 0 0 1.9rem !important; margin: 0;
}
.case-look .service-ticks li { position: relative; padding-left: 1.9rem; font-family: var(--st-head) !important; font-weight: 700; font-size: 0.95rem; line-height: 1.35; }
.case-look .service-ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.05rem; width: 1.15rem; height: 1.15rem; box-sizing: border-box;
  border: 2px solid #000; background: var(--st-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.case-look .service-steps li:hover .service-ticks li::before { background-color: #fff; }

/* ===== Home page (index.njk, wrapper "case-look home-look") ===== */
/* One wider headline instead of short stacked lines */
.home-look .max-w-450 { max-width: 44rem; }
.home-look main h1.h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
/* The Our services intro is the same width as the intro under the main headline */
.home-look .home-services-section .max-w-272 { max-width: 25.5rem; }
/* Service panels: outlined cards with a hard shadow and a black number badge, yellow on hover */
.case-look .home-service-panel {
  border: var(--st-line) !important; border-radius: 0 !important; box-shadow: var(--st-shadow); background: var(--st-paper);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.case-look .home-service-panel:hover, .case-look .home-service-panel:focus-visible {
  transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--st-ink); background: var(--st-yellow);
}
.case-look .home-service-panel:hover *, .case-look .home-service-panel:focus-visible * { color: #000; }
.case-look .home-service-panel .text-size-xsmall {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; background: #000;
  color: var(--st-yellow) !important; font: 700 1.3rem/1 var(--st-head) !important; letter-spacing: 0 !important;
}
.case-look .home-service-panels { padding: 0 11px 11px 0; }
/* KOL cards: outlined with a hard shadow; the track leaves room for the outline and shadow */
.case-look #experts-slider .splide__slide > div { border: var(--st-line) !important; border-radius: 0 !important; box-shadow: var(--st-shadow-sm); background: var(--st-paper); }
.case-look #experts-slider .splide__slide img, .case-look #experts-slider .radius-0-25 { border-radius: 0 !important; }
.case-look #experts-slider .splide__track { padding: 4px 8px 32px 4px; }
@media (prefers-reduced-motion: reduce) { .case-look .home-service-panel { transition: none; } }

/* ---- Hub pages (src/hub.njk): Campaigns, Production and the Production sub-categories (Dec 2026) ---- */
.case-look.hub-page .hub-hero .service-lead p { max-width: 38rem; }
.case-look.hub-page .hub-showreel { display: flex; align-items: center; justify-content: center; border: var(--st-line); box-shadow: var(--st-shadow-sm); color: #fff; }
.case-look.hub-page .hub-showreel .video-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-look.hub-page .hub-showreel .w-embed { position: relative; z-index: 1; }
.case-look.hub-page .hub-cards { list-style: none; margin: 0; padding: 0 8px 8px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.case-look.hub-page .hub-card { display: flex; flex-direction: column; gap: 0.75rem; height: 100%; padding: 1.5rem; color: inherit; text-decoration: none; }
.case-look.hub-page .hub-card p { flex: 1; }
.case-look.hub-page .hub-card_more { font-weight: 600; font-size: var(--fs-small, 0.875rem); }
.case-look.hub-page .hub-journey_steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.case-look.hub-page .hub-journey_steps li { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border: var(--st-line); box-shadow: var(--st-shadow-sm); background: var(--light, #fff); }
.case-look.hub-page .hub-journey_steps li:not(:last-child)::after { content: "→"; margin-left: 1.25rem; font-weight: 700; }
.case-look.hub-page .hub-journey_num { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; background: var(--st-ink); color: #fff; }
@media screen and (max-width: 991px) {
  .case-look.hub-page .hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .case-look.hub-page .hub-cards { grid-template-columns: 1fr; }
  .case-look.hub-page .hub-journey_steps { flex-direction: column; align-items: stretch; }
  .case-look.hub-page .hub-journey_steps li:not(:last-child)::after { content: "↓"; margin-left: auto; }
}
/* New-look extras for hub pages (Dec 2026): Clearface lead under the title, centred section intros in Clearface */
.case-look.hub-page .hub-head p { font-family: var(--st-serif); font-weight: 700; letter-spacing: 0; max-width: 34rem; }
.case-look.hub-page .hub-card { gap: 0.75rem; }
.case-look.hub-page .hub-card .text-size-xsmall { align-self: flex-start; }
.case-look.hub-page .hub-cards { padding: 0 11px 11px 0; gap: 1.75rem; }
.case-look.hub-page .hub-answer .text-rich-text { text-align: center; }
.case-look.hub-page .hub-journey_steps { justify-content: center; }
.case-look.hub-page .hub-journey_num { background: #000; color: var(--st-yellow); font: 700 1rem/1 var(--st-head); }

/* ===== Services page A to Z (services.njk, wrapper "case-look home-look"; revised sitemap, Dec 2026) ===== */
.services-page.case-look .services-hero_lead p { font-family: var(--st-serif); font-weight: 700; font-size: 1.1rem; line-height: 1.45; letter-spacing: 0; }
.services-page.case-look .services-az_anchor { position: relative; top: -6rem; display: block; height: 0; }
.services-page.case-look .services-az_list { list-style: none; margin: 0; padding: 0 11px 11px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.services-page.case-look .services-az_list > li { scroll-margin-top: 7rem; }
.services-page.case-look .services-az_card { position: relative; display: flex; flex-direction: column; gap: 0.75rem; height: 100%; padding: 1.5rem; }
.services-page.case-look .services-az_card .text-size-xsmall { align-self: flex-start; }
.services-page.case-look .services-az_card h3 a { color: inherit; text-decoration: none; }
/* The whole card is clickable when the service has a page */
.services-page.case-look .services-az_card h3 a::after { content: ""; position: absolute; inset: 0; }
.services-page.case-look .services-az_card p { flex: 1; }
.services-page.case-look .services-az_tags { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 1; }
.services-page.case-look .services-az_tag { display: inline-block; padding: 0.15rem 0.5rem; border: 2px solid #000; background: var(--st-yellow); color: #000; font: 700 0.72rem/1.4 var(--st-head); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.services-page.case-look a.services-az_tag:hover { background: #000; color: var(--st-yellow); }
.services-page.case-look .services-az_more { font: 600 0.85rem/1 var(--st-head); color: inherit; text-decoration: none; }
.services-page.case-look .services-signposts_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; padding: 0 11px 11px 0; }
.services-page.case-look .services-signpost { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; color: inherit; text-decoration: none; }
.services-page.case-look .services-signpost .text-size-xsmall { align-self: flex-start; }
.services-page.case-look .services-signpost h3 { font-size: 1.6rem; }
.services-page.case-look .services-signpost_hidden { margin-left: 0.4rem; padding: 0.1rem 0.4rem; background: #000; color: var(--st-yellow); font-size: 0.7rem; vertical-align: middle; letter-spacing: 0.04em; text-transform: uppercase; }
@media screen and (max-width: 991px) {
  .services-page.case-look .services-az_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .services-page.case-look .services-az_list, .services-page.case-look .services-signposts_grid { grid-template-columns: 1fr; }
}
/* These cards use the Home panel look but size to their text (Home's panels are square) */
.case-look .hub-card.home-service-panel,
.services-page.case-look .services-az_card.home-service-panel,
.services-page.case-look .services-signpost.home-service-panel { aspect-ratio: auto; }
/* Hub hero in one column: title and intro stacked above the showreel (Dec 2026) */
.case-look.hub-page .hub-hero .service-lead p { max-width: 42rem; }
/* Production's sub-category cards: a plain four-column grid (no panel, no hover), photo, title at h2 size,
   text and a Find out more button. Four across on desktop, 2 x 2 on tablets (never a lone card), one on phones */
.case-look.hub-page .hub-subgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.case-look.hub-page .hub-sub { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.case-look.hub-page .hub-sub_img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--st-line); }
.case-look.hub-page .hub-sub_img.media-placeholder { display: grid; place-items: center; }
.case-look.hub-page .hub-sub .hub-sub_title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.18; letter-spacing: -0.02em; }
.case-look.hub-page .hub-sub p { flex: 1; }
.case-look.hub-page .hub-sub_button { margin-top: 0.25rem; }
@media screen and (max-width: 1199px) {
  .case-look.hub-page .hub-subgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 599px) {
  .case-look.hub-page .hub-subgrid { grid-template-columns: 1fr; }
}
/* Sub-category cards, refined: titles at h3 size held to a two-line block, so every card's text starts on
   the same line; a text "Find out more" link that gets the yellow highlighter on hover (the whole card is the link) */
.case-look.hub-page .hub-sub { position: relative; }
.case-look.hub-page .hub-sub .hub-sub_title {
  font-size: 1.1rem; line-height: 1.25; letter-spacing: -0.01em;
  min-height: calc(2em * 1.25); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-look.hub-page .hub-sub_more { color: inherit; text-decoration: none; font: 600 0.85rem/1.4 var(--st-head); letter-spacing: 0.06em; }
.case-look.hub-page .hub-sub_more::after { content: ""; position: absolute; inset: 0; }
.case-look.hub-page .hub-sub_more-text {
  padding: 0.05em 0.15em; background: linear-gradient(var(--st-yellow), var(--st-yellow)) no-repeat 0 100% / 0% 100%;
  transition: background-size 0.2s ease;
}
.case-look.hub-page .hub-sub:hover .hub-sub_more-text,
.case-look.hub-page .hub-sub_more:focus-visible .hub-sub_more-text { background-size: 100% 100%; color: #000; }
@media (prefers-reduced-motion: reduce) { .case-look.hub-page .hub-sub_more-text { transition: none; } }
/* Hub hero centred, with no button: the title, then the intro (first paragraph in Clearface, the rest in Borna,
   as on service pages), then the showreel */
.case-look.hub-page .hub-hero_text .service-lead p { max-width: 42rem; margin-left: auto; margin-right: auto; }
/* Hub sub-category cards: the intro under "Content we produce", centred Borna body text */
.case-look.hub-page .hub-subgrid_intro { max-width: 42rem; margin: 0 auto; text-align: center; font-family: var(--st-body); font-weight: 400; font-size: 0.95rem; line-height: 1.65; letter-spacing: 0.02em; }
/* Hub tags on case study pages (Production / Campaigns): the services list's font, stacked, each on a yellow highlight */
.case-look .case-hub-tag { color: var(--st-ink); margin: 0; }
.case-look .case-hub-tag a { color: inherit; text-decoration: none; }
html.night-mode .case-look .case-hub-tag { color: #000; }
/* Hub "Why it matters" section: body in the reading column, and a pull quote set large between its halves, in the
   testimonial style (Clearface Bold Italic, yellow rule) */
.case-look.hub-page .hub-why_body { max-width: 42rem; margin-left: auto; margin-right: auto; }
.case-look.hub-page .hub-pullquote { max-width: 46rem; margin: 2.75rem auto; }
.case-look.hub-page .hub-pullquote blockquote {
  font-family: var(--st-serif); font-weight: 700; font-style: italic; font-size: 2rem; line-height: 1.3; letter-spacing: 0;
  border-left: 6px solid var(--st-yellow); padding-left: 1.5rem; margin: 0;
}
.case-look.hub-page .hub-pullquote figcaption { margin-top: 1rem; padding-left: calc(1.5rem + 6px); color: var(--st-ink); }
.case-look.hub-page .hub-pullquote_link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.case-look.hub-page .hub-pullquote_link:hover { background: var(--st-yellow); color: #000; text-decoration: none; }
html.night-mode .case-look.hub-page .hub-pullquote figcaption { color: var(--light); }
@media (max-width: 767px) { .case-look.hub-page .hub-pullquote blockquote { font-size: 1.5rem; } }
/* A hub h1 written with [[highlighted]] words: the highlight sits on those words only */
.case-look.hub-page .hub-hero_title .services-highlight { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Hub hero: the eyebrow chip centred above the heading; links in the Why section underlined */
.case-look.hub-page .hub-hero .service-intro_title[data-chip]::before { margin-left: auto; margin-right: auto; }
.case-look.hub-page .hub-why_body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.case-look.hub-page .hub-why_body a:hover { background: var(--st-yellow); color: #000; text-decoration: none; }
/* Hub steps ("How a campaign runs"): Home-style panels, four across, 2 x 2 on tablets, stacked on phones */
.case-look.hub-page .hub-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .case-look.hub-page .hub-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .case-look.hub-page .hub-steps { grid-template-columns: 1fr; } }
/* Case study key numbers (the optional `stats` field): a list under the overview in the left column. Each number
   sits in a yellow circle with a black stroke, bold Borna, sized down by its character count so it never breaks the
   circle; the explainer beside it is Clearface at body size. */
.case-look .case-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.case-look .case-stat { display: flex; align-items: center; gap: 1rem; }
.case-look .case-stat_number {
  --stat-size: 4.5rem;
  flex: 0 0 var(--stat-size); width: var(--stat-size); height: var(--stat-size); border-radius: 50%;
  background: var(--st-yellow); border: 2px solid var(--st-ink); color: #000;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 0.4rem;
  font-family: var(--st-head); font-weight: 700; line-height: 1; letter-spacing: -0.02em; white-space: nowrap;
  font-size: min(1.75rem, calc(var(--stat-size) * 1.2 / max(var(--stat-chars), 2)));
}
.case-look .case-stat_text { font-family: var(--st-serif); font-weight: 700; font-size: 0.95rem; line-height: 1.4; letter-spacing: 0; }
html.night-mode .case-look .case-stat_number { border-color: var(--light); }
/* Case study pull quote (pullQuote): an inline quote in the story, large Clearface Bold Italic with a yellow rule,
   the same style as the hub pages' pull quote */
.case-look .case-pullquote { margin: 1.75rem 0 0; }
.case-look .case-pullquote blockquote {
  font-family: var(--st-serif); font-weight: 700; font-style: italic; font-size: 1.75rem; line-height: 1.3; letter-spacing: 0;
  border-left: 6px solid var(--st-yellow); padding-left: 1.5rem; margin: 0;
}
.case-look .case-pullquote figcaption { margin-top: 1rem; padding-left: calc(1.5rem + 6px); text-align: left; }
@media (max-width: 767px) { .case-look .case-pullquote blockquote { font-size: 1.4rem; } }
/* Services page header: the h1 in the hub heading style, the two lines spaced, the link underlined */
.case-look.services-page .services-hero_lead p + p { margin-top: 0.75rem; }
.case-look.services-page .services-hero_lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.case-look.services-page .services-hero_lead a:hover { background: var(--st-yellow); color: #000; text-decoration: none; }
/* The Services header sits outside <main>, so it gets the new-look heading here: Borna, sentence case, the hub h1 size */
.case-look.services-page .services-hero h1 {
  font-family: var(--st-head); text-transform: none; letter-spacing: -0.02em; color: var(--st-ink);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 700; line-height: 1.18;
}
/* Home "What we do": the two hubs as two panels side by side (stacked on phones), and the A to Z link under them */
.case-look.home-look .home-hub-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-look.home-look .home-hub-panels .home-service-panel { aspect-ratio: auto; }
.case-look.home-look .home-hub-panel_more { font-weight: 600; }
/* Side by side, the panels share four rows (number, title, text, link) through subgrid, so every line starts at the
   same height in both panels whatever the text length */
@media (min-width: 768px) {
  .case-look.home-look .home-hub-panels { grid-template-rows: repeat(4, auto); row-gap: 0; }
  .case-look.home-look .home-hub-panels .home-service-panel { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.75rem; align-content: start; }
  .case-look.home-look .home-hub-panels .home-service-panel > div { display: contents; }
  .case-look.home-look .home-hub-panels .home-service-panel > div > * { margin: 0; }
}
.case-look.home-look .home-hub-az a { color: inherit; text-decoration: none; font-weight: 600; }
@media (max-width: 767px) { .case-look.home-look .home-hub-panels { grid-template-columns: 1fr; } }
/* Home "Our work" intro: Borna body text, not the Clearface section-intro style */
.case-look.home-look main section > .container > .flex.vertical > p.home-work-intro { font-family: var(--st-body); font-weight: 400; font-size: 0.95rem; line-height: 1.65; letter-spacing: 0.02em; max-width: 27rem; }

/* Page titles (h1) in the new look: the yellow highlight sweeps in from the left on page load (skipped for reduced
   motion). The highlight rule above is !important, which an animation can't override, so its width runs through
   the registered custom property --title-hl, which the !important background-size reads */
@property --title-hl { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.case-look h1 .services-highlight {
  --title-hl: 0%;
  background: linear-gradient(var(--st-yellow), var(--st-yellow)) no-repeat 0 0 / var(--title-hl) 100% !important;
  animation: title-highlight-in 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards;
}
@keyframes title-highlight-in { from { --title-hl: 0%; } to { --title-hl: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .case-look h1 .services-highlight { animation: none; --title-hl: 100%; }
}

/* Services page panels (A to Z and How we work), Dec 2026: no box, outline or hard shadow, just a thin line above and
   below each; the hub tags are flat yellow chips with soft corners */
.services-page.case-look .services-az_list { padding: 0; column-gap: 2rem; row-gap: 0; }
.services-page.case-look .services-az_card.home-service-panel,
.services-page.case-look .services-signpost.home-service-panel {
  border: 0 !important; border-top: 1px solid var(--st-ink) !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important; background: transparent; padding: 1.75rem 0;
}
/* one line between rows (each panel's top line) and one closing line under the list */
.services-page.case-look .services-az_list, .services-page.case-look .services-signposts_grid { border-bottom: 1px solid var(--st-ink); }
.services-page.case-look .services-az_card.home-service-panel:hover,
.services-page.case-look .services-signpost.home-service-panel:hover { background: transparent !important; transform: none !important; box-shadow: none !important; }
.services-page.case-look .services-az_card:hover h3, .services-page.case-look .services-signpost:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.services-page.case-look .services-az_tag { border: 0; border-radius: 4px; padding: 0.2rem 0.55rem; }
.services-page.case-look .services-signposts_grid { gap: 0 2rem; }
html.night-mode .services-page.case-look .services-az_card:hover *, html.night-mode .services-page.case-look .services-signpost:hover * { color: inherit; }

/* Photos and video thumbnails (Dec 2026): no hard shadow, a 1px black line and 6px corners like the buttons. Covers
   service page galleries, case study and micro case study galleries and cover photos, the scrolling photo strip,
   video thumbnails and the hub showreel and sub-page cards */
.case-look .lightbox-video,
.case-look .case-body_cover,
.case-look .case-gallery .media-grid-item,
.case-look .micro-gallery .media-grid-item,
.case-look .service-gallery .media-grid-item,
.case-look .video-gallery a,
.case-look .c_image-slider,
.case-look.hub-page .hub-showreel,
.case-look.hub-page .hub-sub_img {
  border: 1px solid var(--st-ink) !important; border-radius: 6px !important; box-shadow: none !important; overflow: hidden;
}
.case-look .lightbox-video img, .case-look .video-gallery img, .case-look .service-gallery img,
.case-look .case-gallery img, .case-look .micro-gallery img { border-radius: 0 !important; }
.case-look .c_image-slider-item { padding: 0; }

/* Home "What we do" panels (Production, Campaigns) in the Services line style (Dec 2026): no box or shadow, a thin
   line above each and one below the pair; the title underlines on hover */
.case-look.home-look .home-hub-panels { padding: 0; column-gap: 2rem; border-bottom: 1px solid var(--st-ink); }
.case-look.home-look .home-hub-panels .home-service-panel {
  border: 0 !important; border-top: 1px solid var(--st-ink) !important; border-radius: 0 !important; box-shadow: none !important;
  transform: none !important; background: transparent !important; padding: 1.75rem 0 !important;
}
.case-look.home-look .home-hub-panels .home-service-panel:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.case-look.home-look .home-hub-panels .home-service-panel:hover * { color: inherit; }
@media (max-width: 767px) { .case-look.home-look .home-hub-panels { row-gap: 0; } }
/* Related services sit in the new look's heading style on service and micro case study pages */
.case-look .related-panels_title { font-family: var(--st-head); text-transform: none; letter-spacing: -0.02em; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 700; line-height: 1.18; }

/* ===== Soft panels (Dec 2026): the neo-brutalist look is gone =====
   Cards are "soft panels": a 1px light outline, 6px corners like the buttons and a very gentle shadow underneath
   (--soft-*). List rows use a thin line above each row and one under the list instead. No hard shadows, no lift. */
.case-look {
  --soft-border: 1px solid rgba(0, 0, 0, 0.15);
  --soft-radius: 6px;
  --soft-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.04);
  --soft-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.07);
}
html.night-mode .case-look { --soft-border: 1px solid rgba(255, 255, 255, 0.2); --soft-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); --soft-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.5); }
.case-look { --st-line: 1px solid var(--st-ink); --st-shadow: none; --st-shadow-sm: none; }
/* Soft panels: project cards, How it works boxes, hub cards and steps, KOL cards, outcomes, old related rows */
.case-look .work-tile, .case-look .service-steps > li, .case-look .home-service-panel, .case-look.hub-page .hub-journey_steps li,
.case-look #experts-slider .splide__slide > div, .case-look .service-outcome, .case-look .service-link-row {
  border: var(--soft-border) !important; border-radius: var(--soft-radius) !important; box-shadow: var(--soft-shadow) !important;
  transform: none !important; background: var(--st-paper) !important; transition: box-shadow 0.2s ease;
}
.case-look .work-tile:hover, .case-look a.home-service-panel:hover, .case-look a.home-service-panel:focus-visible, .case-look .service-link-row:hover { box-shadow: var(--soft-shadow-hover) !important; }
.case-look a.home-service-panel:hover h3, .case-look .service-link-row:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.case-look .service-steps > li:hover, .case-look .service-steps > li:hover * , .case-look .home-service-panel:hover * { color: inherit; }
.case-look .service-steps .service-ticks li { border: 0 !important; box-shadow: none !important; background: none !important; border-radius: 0 !important; }
.case-look .work-tile img, .case-look .work-tile .media-placeholder { border: 0 !important; border-radius: 4px !important; }
.case-look #experts-slider .splide__slide > div { overflow: hidden; }
.case-look .service-intro { border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
/* Badges and tick boxes keep their shape, with soft corners */
.case-look .service-step-num, .case-look .home-service-panel .text-size-xsmall { border-radius: 4px; }
.case-look .service-ticks li::before, .case-look .micro-list li::before, .case-look .service-outcome::before { border-width: 1px !important; border-radius: 3px; }
/* Home "What we do" keeps the line style (a line above each panel, one under the pair) */
.case-look.home-look .home-hub-panels .home-service-panel { border: 0 !important; border-top: 1px solid var(--st-ink) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }

/* Page headers on Insights, Case Studies and the KOL Hub (Dec 2026), in the Services / hub style: a Borna title in
   sentence case with a highlighted word (it sweeps in, as on every new-look h1) and a Clearface lead. Only the header
   carries the case-look class, so the rest of those pages keep their own look; it sits on the page's own background. */
.case-look.page-hero { background: transparent; }
.case-look.page-hero h1 {
  font-family: var(--st-head); text-transform: none; letter-spacing: -0.02em; color: var(--st-ink);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 700; line-height: 1.18; margin: 0;
}
.case-look.page-hero .services-hero_lead p { font-family: var(--st-serif); font-weight: 700; font-size: 1.1rem; line-height: 1.45; letter-spacing: 0; }
.case-look.page-hero .services-hero_lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.case-look.page-hero .services-hero_lead a:hover { background: var(--st-yellow); color: #000; text-decoration: none; }
html.night-mode .case-look.page-hero h1 { color: var(--light); }
html.night-mode .case-look.page-hero h1 .services-highlight { color: #000; }
/* Production's "Content we produce" cards as one soft panel each (Dec 2026): the photo runs edge to edge across the
   top (rounded only by the panel's top corners) and the outline carries on down past the link; gentle shadow,
   a little deeper on hover */
.case-look.hub-page .hub-sub {
  border: var(--soft-border); border-radius: var(--soft-radius); box-shadow: var(--soft-shadow); background: var(--st-paper);
  overflow: hidden; padding: 0 0 1.5rem; gap: 1rem; transition: box-shadow 0.2s ease;
}
.case-look.hub-page .hub-sub:hover { box-shadow: var(--soft-shadow-hover); }
.case-look.hub-page .hub-sub .hub-sub_img { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.case-look.hub-page .hub-sub > :not(.hub-sub_img) { margin-left: 1.5rem; margin-right: 1.5rem; }
.case-look.hub-page .hub-subgrid { gap: 2rem 1.5rem; }

/* ===== Home hero (src/index.njk, Dec 2026): copy on the left and a case study mosaic on the right ===== */
.lab-hero_grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; }
.lab-hero_copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.case-look.home-look main .lab-hero_copy h1.h2 { text-align: left; }
.case-look main .lab-hero_lead { font-family: var(--st-body); font-weight: 400; font-size: 1.05rem; line-height: 1.6; letter-spacing: 0.01em; max-width: 34rem; }
.lab-hero_actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lab-hero_award { margin-top: 0.5rem; }
.lab-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(8rem, 11vw, 11.5rem); gap: 1rem; }
.lab-tile { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--st-ink); color: #000; text-decoration: none;
  opacity: 0; transform: translateY(14px); animation: lab-tile-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.lab-tile--wide { grid-column: span 2; }
.lab-tile_img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lab-tile_overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.15rem; padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 0, 0.9); opacity: 0; transition: opacity 0.3s ease; }
.lab-tile_client { font-family: var(--st-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.01em; }
.lab-tile_project { font-family: var(--st-serif); font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.lab-tile_arrow { position: absolute; top: 1.1rem; right: 1.15rem; font-size: 0.8rem; line-height: 1; transform: translateX(-6px); transition: transform 0.3s ease; }
.lab-tile:hover .lab-tile_overlay, .lab-tile:focus-visible .lab-tile_overlay { opacity: 1; }
.lab-tile:hover .lab-tile_img, .lab-tile:focus-visible .lab-tile_img { transform: scale(1.05); }
.lab-tile:hover .lab-tile_arrow, .lab-tile:focus-visible .lab-tile_arrow { transform: none; }
.lab-tile:focus-visible { outline: 3px solid var(--st-ink); outline-offset: 3px; border-radius: 6px; }
@keyframes lab-tile-in { to { opacity: 1; transform: none; } }
@media (max-width: 991px) {
  .lab-hero_grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .lab-mosaic { grid-auto-rows: clamp(7rem, 22vw, 11rem); }
}
@media (max-width: 599px) {
  /* Phones: two columns, first and last tiles full width, the four between in pairs; no hover, so the names sit on a
     slim yellow strip at the foot of each photo */
  .lab-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9rem; gap: 0.6rem; }
  .lab-tile--wide { grid-column: span 1; }
  .lab-tile:first-child, .lab-tile:last-child:nth-child(even) { grid-column: span 2; }
  .lab-tile_overlay { opacity: 1; top: auto; padding: 0.4rem 1.6rem 0.4rem 0.6rem; gap: 0; }
  .lab-tile_client { font-size: 0.78rem; }
  .lab-tile_project { font-size: 0.72rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lab-tile_arrow { top: auto; bottom: 0.55rem; right: 0.6rem; font-size: 0.65rem; transform: none; }
  .lab-btn { padding: 0.6rem 0.6rem; font-size: 0.8rem; gap: 0.3rem; }
  .lab-hero_actions { gap: 0.4rem; flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .lab-tile { animation: none; opacity: 1; transform: none; }
  .lab-tile_img, .lab-tile_overlay, .lab-tile_arrow { transition: none; }
}
/* Home hero buttons: flat, thin outline, brand yellow; the reel button goes yellow to white, the others white to yellow */
.lab-btn { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; padding: 0.7rem 1.15rem; border: 1px solid var(--st-ink); border-radius: 6px;
  background: var(--st-paper); color: var(--st-ink); font: 600 0.9rem/1 var(--st-head); letter-spacing: 0.01em; text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.lab-btn:hover, .lab-btn:focus-visible { background: var(--st-yellow); color: #000; }
.lab-btn--reel { background: var(--st-yellow); border-color: var(--st-yellow); color: #000; }
.lab-btn--reel:hover, .lab-btn--reel:focus-visible { background: #fff; border-color: var(--st-ink); color: #000; }
.lab-btn_icon { font-size: 0.7rem; }
.lab-btn:focus-visible { outline: 2px solid var(--st-ink); outline-offset: 2px; }
html.night-mode .lab-btn { border-color: var(--light); }
html.night-mode .lab-btn--reel { border-color: var(--st-yellow); }
@media (prefers-reduced-motion: reduce) { .lab-btn { transition: none; } }
