/* ==========================================================================
   DSfEC microsite (/design-skills/)
   Loaded only by default-design-skills.hbs.

   Breakpoints (same as Elysian):
   - base           992px – 1438px   values in px
   - max-width 991  tablet
   - max-width 479  mobile
   - min-width 1439 large desktop     values in vw (px / 14.4) * --scale
   - min-width 1920 --scale: 0.8
   ========================================================================== */

/* Tokens
   ========================================================================== */
:root {
    --background-color: #FFFFFF;
    --text-color: #231F20;
    --text-color-muted: rgba(35, 31, 32, 0.5);
    --color-grey: #E7E5E5;
    --color-yellow: #FDFDD0;
    --color-blue: #BEE5FD;
    --font: 'Funnel Sans', sans-serif;
    --ease-transition: cubic-bezier(0.215, 0.61, 0.355, 1);
    --scale: 1;

    /* Type */
    --font-size-h1: 64px;
    --font-size-h2: 40px;
    --font-size-h3: 26px;
    --font-size-h4: 22px;
    --font-size-body: 20px;
    --font-size-small: 14px;
    --font-size-xsmall: 12px;

    /* Spacing */
    --padding: 16px;
    --section-padding: 160px;
    --section-padding-bigger: 200px;

    /* Side padding of .wide-container, carousels line up with it */
    --container-padding: calc(var(--padding) * 2);
}

@media (min-width: 1920px) {
    :root {
        --scale: 0.8;
    }
}

/* Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
ul, ol, li {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

img,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

/* Ghost's floating Portal (sign-up) button, not used on the microsite. The "Sign up" button in
   Download the report still opens Portal. */
[data-testid="portal-trigger-frame"] {
    display: none !important;
}

/* Base
   ========================================================================== */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font);
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.1;
}

h1,
.heading-1 {
    font-size: var(--font-size-h1);
    font-weight: 400;
    line-height: 110%;
}

h2,
.heading-2 {
    font-size: var(--font-size-h2);
    font-weight: 400;
    line-height: 110%;
}

h3 {
    font-size: var(--font-size-h3);
    line-height: 1.2;
}

h4 {
    font-size: var(--font-size-h4);
    line-height: 1.2;
}

p {
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: 140%;
}

.paragraph-small {
    font-size: 18px;
}

small {
    font-size: var(--font-size-small);
}

/* Layout
   ========================================================================== */
.wide-container {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* 2 × --padding on desktop and tablet, 1 × on mobile (same as the container's side padding) */
section {
    padding-top: var(--container-padding);
    padding-bottom: var(--container-padding);
}

/* Desktop only, see the tablet breakpoint */
.full-height-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.full-height-section > .wide-container {
    flex-grow: 1;
}

/* 1px line between two columns, horizontal when stacked */
.section-divider {
    background-color: var(--text-color);
}

/* Dark layer over an image, strength set from JSON (--overlay-opacity, main.js) */
.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #000000;
    opacity: var(--overlay-opacity, 0);
    pointer-events: none;
}

.section-subtitle {
    font-size: 18px;
    line-height: 143%;
    text-align: center;
}

/* Components
   ========================================================================== */
.heading-wrapper {
    width: 100%;
    max-width: 677px;
}

.paragraph-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 329px;
}

.icon {
    display: block;
    flex-shrink: 0;
}

/* Page load animation (main.js), hidden until it runs. Same as Elysian's .vertical-animation */
.vertical-animation {
    opacity: 0;
}

/* Underline on hover, only on devices with a mouse */
@media (hover: hover) {
    .hover-underline:hover {
        text-decoration: underline;
    }
}

/* Pill */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.01em;
    /* white-space: nowrap; */
}

.pill .icon {
    width: 16px;
    height: auto;
}

.pill-grey {
    background-color: var(--color-grey);
}

.pill-white {
    background-color: #FFFFFF;
}

/* Pill with an arrow, used as a link */
.pill-button {
    gap: 10px;
    padding: 4px 12px 6px 12px;
}

/* Uneven padding (4 top / 6 bottom) centres the text, nudge the arrow to the pill's centre */
/* stroke-width is in viewBox units (26 wide): 2.6 = 1.5px at 15px wide, scales with the icon */
.pill-button .icon {
    width: 15px;
    stroke-width: 2.6;
    overflow: visible;
    transform: translateY(1px);
}

.pill-outline {
    border: 2px solid var(--text-color);
}

/* Circle button */
.circle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
}

.circle-button .icon {
    width: 24px;
    height: auto;
}

/* Smaller arrows under the hero slider */
.hero-controls .circle-button {
    width: 36px;
    height: 36px;
}

.hero-controls .circle-button .icon {
    width: 18px;
}

/* Navigation
   ========================================================================== */

/* Sticky, slides up when scrolling down and back when scrolling up (main.js) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--background-color);
    transition: transform 0.3s ease-in-out, background-color 0.3s var(--ease-transition);
}

/* Bottom line of the navbar, drawn from left to right on page load (main.js) */
.navbar-line {
    height: 1px;
    background-color: var(--text-color);
    transform-origin: left center;
}

/* Page load animation (main.js), like Elysian's: lines grow from the left */
.horizontal-line-animation {
    transform: scaleX(0);
}

.navbar.is-hidden {
    transform: translateY(-100%);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--padding);
    padding-top: 22px;
    padding-bottom: var(--padding);
}

.navbar-logo {
    flex-shrink: 1;
    min-width: 0;
}

.logo-desktop {
    width: auto;
    height: 32px;
}

.logo-mobile {
    display: none;
    width: 235px;
    height: auto;
}

.navbar-links {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    padding-bottom: 8px;
}

.navbar-link {
    font-size: 24px;
    line-height: 100%;
    white-space: nowrap;
}

/* Hamburger, the lines turn into an X when the menu is open */
.menu-button {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 33px;
    height: 17px;
}

.menu-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transition: transform 0.3s var(--ease-transition), opacity 0.3s var(--ease-transition);
}

.menu-line:nth-child(1) {
    top: 0;
}

.menu-line:nth-child(2) {
    top: 8px;
}

.menu-line:nth-child(3) {
    top: 16px;
}

.menu-open .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-open .navbar {
    background-color: var(--color-yellow);
}

/* Mobile menu, sits under the navbar (--navbar-height is set in main.js) */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height, 73px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: var(--padding);
    overflow-y: auto;
    background-color: var(--color-yellow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-transition), visibility 0.3s var(--ease-transition);
}

.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--padding);
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--text-color);
    font-size: 24px;
    line-height: 100%;
}

.mobile-menu-link .icon {
    width: 20px;
    height: auto;
}

.mobile-menu-bottom {
    margin-top: var(--section-padding);
}

.mobile-menu-copyright {
    max-width: 233px;
    font-size: 20px;
    line-height: 100%;
}

/* Hero
   ========================================================================== */
.hero {
    padding-top: var(--section-padding-bigger);
    padding-bottom: var(--padding);
}

.hero-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--padding);
    margin-bottom: var(--padding);
}

/* Bleeds off the right edge of the screen */
/* Starts at the content edge (white space on the left) and runs off the right edge of the screen */
.hero-carousel {
    margin-left: var(--container-padding);
    height: 540px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-transition);
}

/* Set by main.js once the slides are built */
.hero-carousel.is-ready {
    opacity: 1;
}

.hero-carousel:not(.flickity-enabled) {
    display: flex;
    overflow: hidden;
}

.hero-slide {
    flex-shrink: 0;
    height: 540px;
    margin-right: var(--padding);
}

.hero-slide img {
    width: auto;
    max-width: none;
    height: 100%;
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--padding);
}

/* Pills sit between the arrows in the space-between row */
.hero-pills {
    display: contents;
}

/* The Programme
   ========================================================================== */
/* Two equal columns with a .section-divider between them, stacked on tablet/mobile */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: var(--padding);
}

.programme-content {
    display: flex;
    flex-direction: column;
}

.programme-intro {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Heading sits centred in the space between the subtitle and the paragraphs */
.programme-heading {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding-top: calc(80px + var(--padding));
    padding-bottom: calc(80px + var(--padding));
    text-align: center;
}

.programme-heading h2 {
    max-width: 504px;
}

.programme-paragraphs {
    column-count: 2;
    column-gap: var(--padding);
    padding-top: var(--padding);
    border-top: 1px solid var(--text-color);
}

.programme-paragraphs p {
    font-size: 18px;
    break-inside: avoid;
}

.programme-paragraphs p + p {
    margin-top: 12px;
}

.programme-image {
    position: relative;
}

.programme-image img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programme-logo {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 280px;
    transform: translate(-50%, -50%);
}

/* Our Partners & Collaborators
   ========================================================================== */
.partners {
    padding-top: calc(var(--section-padding) + var(--container-padding));
    padding-bottom: calc(var(--section-padding) + var(--container-padding));
}

.partners-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partners-description {
    max-width: 1038px;
    margin-top: 12px;
}

/* Hidden until main.js has built the logos from the image cards */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 48px;
    margin-top: 48px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-transition);
}

.partners-logos.is-ready {
    opacity: 1;
}

/* Widths in px come from the image captions (main.js) */
.partner-logo {
    flex-shrink: 0;
    width: calc(var(--logo-width, 120) * 1px);
    max-width: 100%;
}

.partner-logo img {
    width: 100%;
}

/* Cohort badge "(1) 2026"
   ========================================================================== */
.cohort-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 32px;
    line-height: 80%;
}

.cohort-badge-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
}

.cohort-badge-year {
    display: flex;
    flex-direction: column;
}

/* Accordion (built by main.js from the section JSON)
   ========================================================================== */
/* Lines between items and below the last one, none above the first */
.accordion-item + .accordion-item {
    border-top: 1px solid var(--text-color);
}

.accordion-item:last-child {
    border-bottom: 1px solid var(--text-color);
}

.accordion-toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--padding);
    width: 100%;
    padding-top: var(--padding);
    padding-bottom: var(--padding);
    text-align: left;
}

.accordion-item:first-child .accordion-toggle {
    padding-top: 0;
}.accordion-toggle .heading-2 {
    max-width: 482px;
}

.accordion-toggle .circle-button {
    flex-shrink: 0;
}

/* Plus turns into a minus when open: the vertical line rotates onto the horizontal one */
.icon-plus-vertical {
    transform-box: view-box;
    transform-origin: center;
    transition: transform 0.3s var(--ease-transition);
}

.accordion-item.is-open .icon-plus-vertical {
    transform: rotate(90deg);
}

/* Height is animated by main.js (setAccordionItem), closed panels are hidden completely */
.accordion-panel {
    overflow: hidden;
}

.accordion-content {
    display: flex;
    flex-direction: column;
    gap: var(--padding);
    padding-bottom: var(--padding);
}

.accordion-content img {
    width: 100%;
}

.accordion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Learning by doing
   ========================================================================== */
.accordion-aside {
    /* Sticks with the same gap as the section padding, above and below */
    position: sticky;
    top: var(--container-padding);
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - var(--container-padding) * 2);
    text-align: center;
}

.accordion-heading {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding-top: calc(80px + var(--padding));
    padding-bottom: calc(80px + var(--padding));
}

.accordion-heading h2 {
    max-width: 300px;
}

.accordion-caption {
    max-width: 476px;
}

[data-section="dsfec-sprint-projects"] .accordion-caption {
    max-width: 562px;
}

/* Video
   ========================================================================== */
.video-section {
    padding-top: var(--section-padding);
}

.video-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--padding);
    margin-bottom: var(--padding);
}

.video-title-paragraph {
    margin-top: 12px;
}

/* Hidden until main.js has replaced Ghost's video card with the plain video */
.video-player {
    opacity: 0;
    transition: opacity 0.4s var(--ease-transition);
}

.video-player.is-ready {
    opacity: 1;
}

.video-player video,
.video-player iframe {
    width: 100%;
    height: auto;
}

.video-player iframe {
    aspect-ratio: 16 / 9;
}

.video-pills {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--padding);
    margin-top: var(--padding);
}

/* Play/pause and sound buttons, centred between the two pills */
.video-controls {
    display: flex;
    order: 1;
    gap: 12px;
}

.video-pills > .pill:last-of-type {
    order: 2;
}

.video-controls .circle-button {
    width: 38px;
    height: 38px;
}

.video-controls .icon-play,
.video-controls .icon-pause {
    width: 13px;
}

/* A triangle looks off-centre (its weight is on the left), nudge it right so it looks centred */
.video-controls .icon-play {
    transform: translateX(1.5px);
}

.video-controls .icon-sound,
.video-controls .icon-mute {
    width: 20px;
}

/* Icons show the action: paused shows play, playing shows pause.
   Sound on (default) shows the mute icon, muted shows the sound icon */
.video-controls .is-playing .icon-play,
[data-video-play]:not(.is-playing) .icon-pause,
.video-controls .is-muted .icon-mute,
[data-video-sound]:not(.is-muted) .icon-sound {
    display: none;
}

/* YouTube's thumbnail covers its own play button and title until the first play.
   The cover lets clicks through, but the video itself has pointer-events: none (see below). */
.video-player-youtube {
    position: relative;
}

/* YouTube itself can't be clicked or hovered, our play/pause and sound buttons control it */
.video-player-youtube iframe {
    pointer-events: none;
}

.video-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-transition);
}

.video-cover.is-hidden {
    opacity: 0;
}

/* Person card (team, built by main.js)
   ========================================================================== */
.person-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.person-card-image {
    width: 100%;
    margin-bottom: var(--padding);
}

.person-card-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Long words break inside the card instead of widening its column */
.person-card-name,
.person-card-role {
    font-size: 32px;
    line-height: 110%;
    overflow-wrap: anywhere;
}

.person-card-role {
    color: var(--text-color-muted);
}

.person-card-button {
    margin-top: 12px;
}

/* The Team
   ========================================================================== */
.team {
    padding-top: var(--section-padding);
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: calc(120px + var(--padding));
    text-align: center;
}

/* minmax(0, 1fr) keeps every column the same width, whatever the text inside */
.team-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--padding);
    padding-top: var(--padding);
    border-top: 1px solid var(--text-color);
}

/* Vertical swipes on a carousel scroll the page, horizontal ones go to Flickity */
.flickity-viewport {
    touch-action: pan-y;
}

/* Carousel controls (circle arrows under a carousel)
   ========================================================================== */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    margin-top: var(--padding);
}

/* Small pills (site visits) */
.pill-small {
    gap: 6px;
    padding: 4px 8px;
    font-size: 14px;
}

.pill-small.pill-outline {
    border-width: 1px;
}

.pill-small .icon {
    width: 10px;
    transform: none;
}

/* Colour comes from the section JSON (--pill-background) */
.pill-color {
    background-color: var(--pill-background, var(--color-blue));
}

/* Waste Site Visits
   ========================================================================== */
.site-visits {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.site-visits-header,
.designers-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--padding);
    margin-bottom: var(--padding);
}

/* Hidden until main.js has built the cards and started Flickity */
/* Starts at the content edge (white space on the left) and runs off the right edge of the screen */
.site-visits-carousel {
    margin-right: calc(var(--container-padding) * -1);
    opacity: 0;
    transition: opacity 0.4s var(--ease-transition);
}

.site-visits-carousel.is-ready {
    opacity: 1;
}

.site-visits-carousel:not(.flickity-enabled) {
    display: flex;
    overflow: hidden;
}

/* 4 cards fill the content width, each with a 1px line on its left */
.site-visit-card {
    flex-shrink: 0;
    width: calc((100% - var(--container-padding)) / 4);
    padding-left: var(--padding);
    padding-right: var(--padding);
    border-left: 1px solid var(--text-color);
}

.site-visit-image img {
    width: 100%;
    aspect-ratio: 320 / 200;
    object-fit: cover;
}

.site-visit-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--padding);
}

.site-visit-title {
    margin-top: var(--padding);
    font-size: 26px;
    line-height: 100%;
}

.site-visit-text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 128%;
}

/* Up to 2 contacts under each other */
.site-visit-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: var(--padding);
}

.site-visit-contact {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Contacts who are also in Cohort Experts link to their profile there */
.site-visit-contact.is-linked {
    cursor: pointer;
}

@media (hover: hover) {
    .site-visit-contact.is-linked:hover .site-visit-contact-name {
        text-decoration: underline;
    }
}

.site-visit-contact-image {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.site-visit-contact-name,
.site-visit-contact-role {
    font-size: 20px;
    line-height: 110%;
}

.site-visit-contact-role {
    color: var(--text-color-muted);
}

/* Testimonial
   ========================================================================== */

/* Full-screen background image with the text box on top (left, or right with .testimonial-right) */
.testimonial {
    position: relative;
    display: flex;
    min-height: 100vh;
    padding: calc(var(--padding) * 2);
}

.testimonial-right {
    justify-content: flex-end;
}

.testimonial-image {
    position: absolute;
    inset: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 672px;
    padding: 24px;
    background-color: var(--background-color);
    text-align: center;
}

/* Quote sits centred between the label and the name */
.testimonial-quote {
    display: flex;
    flex-grow: 1;
    align-items: center;
    max-width: 506px;
    margin: 0;
    padding-top: 48px;
    padding-bottom: 48px;
    font-size: 40px;
    font-weight: 400;
    line-height: 110%;
}

/* "quote_size": "small" in the JSON, for long quotes */
.testimonial-small .testimonial-quote {
    font-size: 26px;
    line-height: 130%;
}

.testimonial-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name,
.testimonial-role {
    font-size: 20px;
    line-height: 100%;
}

.testimonial-role {
    color: var(--text-color-muted);
}

/* Cohort Experts (rows built by main.js)
   ========================================================================== */
.experts {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.experts-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--padding);
    margin-bottom: 64px;
}

.experts-header h2 {
    max-width: 520px;
}

/* Desktop row: photo | name & role | line | session, chevron top right */
.expert {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1px 2fr;
    gap: var(--padding);
    padding: var(--padding);
    border-top: 1px solid var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s var(--ease-transition);
}

.expert.is-open {
    background-color: var(--expert-background, transparent);
}

/* Desktop with a mouse: the colour also shows on hover */
@media (hover: hover) and (min-width: 992px) {
    .expert:hover {
        background-color: var(--expert-background, transparent);
    }
}

.expert-photo-column,
.expert-session-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expert-photo {
    width: 103px;
    height: 103px;
    object-fit: cover;
}

.expert-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.expert-name,
.expert-role {
    font-size: 26px;
    line-height: 100%;
}

.expert-role {
    color: var(--text-color-muted);
}

.expert-text {
    font-size: 18px;
}

.expert-session {
    padding-right: 40px;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.expert-session-title {
    font-size: 26px;
    line-height: 120%;
}

/* Parts that appear when a row opens, animated from 0 to their height */
.expert-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-transition);
}

.expert.is-open .expert-collapse,
.expert-session-collapse {
    grid-template-rows: 1fr;
}

.expert-collapse-inner {
    min-height: 0;
    overflow: hidden;
}

/* Spacing sits on the content (not the collapse), so a closed collapse takes up no space */
.expert-linkedin .expert-collapse-inner > * {
    margin-top: 16px;
}

.expert-collapse-inner > .expert-text {
    margin-top: 16px;
}

.expert-description .expert-collapse-inner > .expert-text {
    margin-top: 8px;
}

.expert-toggle {
    position: absolute;
    top: var(--padding);
    right: var(--padding);
    padding: 4px 0;
}

.expert-toggle .icon {
    width: 26px;
    height: auto;
    transition: transform 0.3s var(--ease-transition);
    stroke-width: 2px;
}

.expert.is-open .expert-toggle .icon {
    transform: rotate(180deg);
}

/* Designer Cohort (cards and side panel built by main.js)
   ========================================================================== */
.designers {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

/* overflow: hidden clips the row lines at the grid edges (see .designer-card::before) */
.designers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--padding);
    overflow: hidden;
}

.designer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: var(--padding);
    text-align: left;
}

/* 1px line above each row, it also covers the gap to the left so the line looks continuous */
.designer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(var(--padding) * -1);
    right: 0;
    height: 1px;
    background-color: var(--text-color);
}

/* The designer's colour covers the photo on hover */
.designer-card-image {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: var(--padding);
}

.designer-card-image img {
    width: 100%;
    aspect-ratio: 266 / 312;
    object-fit: cover;
}

.designer-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--designer-background, var(--color-grey));
    opacity: 0;
    transition: opacity 0.3s var(--ease-transition);
}

@media (hover: hover) {
    .designer-card:hover .designer-card-image::after {
        opacity: 1;
    }

    .designer-card:hover .designer-card-name {
        text-decoration: underline;
    }
}

.designer-card-name,
.designer-card-role {
    font-size: 20px;
    line-height: 100%;
    overflow-wrap: anywhere;
}

.designer-card-role {
    margin-top: 2px;
    color: var(--text-color-muted);
}

/* Side panel from the right, coloured with the designer's colour */
.designer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(35, 31, 32, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-transition), visibility 0.4s var(--ease-transition);
}

.designer-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 201;
    width: 100%;
    max-width: 720px;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--designer-background, var(--background-color));
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-transition);
}

.designer-panel-open .designer-backdrop {
    opacity: 1;
    visibility: visible;
}

.designer-panel-open .designer-panel {
    transform: translateX(0);
}

.designer-panel-close {
    position: absolute;
    top: 24px;
    right: 24px;
}

.designer-panel-close svg {
    stroke-width: 2px;
}

.designer-panel-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.designer-panel-head {
    padding-right: 64px;
}

.designer-panel-name,
.designer-panel-role,
.designer-panel-project {
    font-size: 40px;
    line-height: 110%;
}

.designer-panel-role,
.designer-panel-project-description {
    color: var(--text-color-muted);
}

.designer-panel-project-description {
    display: block;
}

.designer-panel-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.designer-panel-bio {
    font-size: 20px;
}

/* Sprint Project and Course Reflection, each under a line */
.designer-panel-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--text-color);
}

.designer-panel-reflection {
    font-size: 32px;
    line-height: 120%;
}

/* Accordion item extras (Sprint Projects): tags, images, designer, labelled texts
   ========================================================================== */

/* Grey subtitle at the top of an opened item */
.accordion-subtitle {
    color: var(--text-color-muted);
}

.accordion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* "image": 1 is full width, "images": [1, 2] sit side by side */
.accordion-images {
    display: grid;
    gap: var(--padding);
}

.accordion-images-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accordion-images-2 img {
    height: 100%;
    aspect-ratio: 304 / 375;
    object-fit: cover;
}

.accordion-designer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--padding);
}

/* Label pill with its text underneath */
.accordion-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.accordion-designer-name {
    font-size: 20px;
    line-height: 120%;
}

/* Contact
   ========================================================================== */

/* Full-screen background image with the box centred on top */
.contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.contact-background {
    position: absolute;
    inset: 0;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-box {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Same as the padding, so the text sits centred between the image and the box edge */
    gap: 24px;
    width: 1084px;
    max-width: 100%;
    padding: 24px;
    background-color: var(--background-color);
}

.contact-box-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 514 / 342;
    object-fit: cover;
}

/* Badge at the top, heading and text centred, button at the bottom */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-heading {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}

.contact-heading h2 {
    max-width: 440px;
}

/* Download the report
   ========================================================================== */
.report {
    padding-top: 24px;
    padding-bottom: 24px;
}

.report-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.report-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 696px;
    padding-top: 160px;
    padding-bottom: 120px;
}

.report-heading p {
    max-width: 400px;
}

/* Terms & Conditions page (page-terms.hbs)
   ========================================================================== */

/* Title and date on the left, content on the right */
.legal-page {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.legal-page-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

/* Title stays in view while the content scrolls (desktop) */
.legal-page-header {
    position: sticky;
    top: calc(var(--padding) * 2 + var(--navbar-height, 64px));
    min-height: calc(100vh - var(--container-padding) * 2);
}

.legal-page-header h1 {
    max-width: 454px;
}

.legal-page-updated {
    margin-top: 12px;
    font-size: 20px;
    line-height: 140%;
}

/* Ghost editor content: headings, paragraphs, lists, links */
.legal-page-content h2,
.legal-page-content h3 {
    margin-top: 40px;
    margin-bottom: 12px;
    line-height: 110%;
}

/* h2 uses the normal heading size (40px, 26px on mobile), no space above the first one */
.legal-page-content h2 {
    margin-bottom: 16px;
    font-size: var(--font-size-h2);
}

.legal-page-content h2:first-of-type {
    margin-top: 0;
}

.legal-page-content h3 {
    font-size: 24px;
}

.legal-page-content > :first-child {
    margin-top: 0;
}

.legal-page-content p,
.legal-page-content li {
    font-size: 20px;
    line-height: 140%;
}

.legal-page-content p + p,
.legal-page-content p + ul,
.legal-page-content ul + p,
.legal-page-content p + ol,
.legal-page-content ol + p {
    margin-top: 16px;
}

.legal-page-content ul {
    list-style: disc;
    padding-left: 20px;
}

.legal-page-content ol {
    list-style: decimal;
    padding-left: 20px;
}

.legal-page-content a {
    text-decoration: underline;
}

/* Footer
   ========================================================================== */

/* 4-column grid: logo | description, first link column (2 wide) | the others, © | bottom links.
   The column and bottom-link wrappers are display: contents, so their children sit in this grid. */
.footer {
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-logo {
    grid-column: span 2;
}

.footer-logo img {
    width: 248px;
}

.footer-description {
    grid-column: span 2;
    font-size: 28px;
    line-height: 120%;
}

.footer-columns,
.footer-bottom-links {
    display: contents;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 72px;
}

.footer-column:first-child {
    grid-column: span 2;
}

.footer-copyright {
    grid-column: 1 / span 2;
}

.footer-label,
.footer-link,
.footer-copyright {
    font-size: 20px;
    line-height: 140%;
}

.footer-label {
    color: var(--text-color-muted);
}

/* Tablet
   ========================================================================== */
@media (max-width: 991px) {
    :root {
        --font-size-h3: 24px;
        --font-size-h4: 20px;
    }

    .logo-desktop,
    .navbar-links {
        display: none;
    }

    .navbar-inner {
        padding-top: var(--padding);
    }

    .logo-mobile,
    .menu-button {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .full-height-section {
        min-height: 0;
    }

    .section-divider {
        height: 1px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .programme-paragraphs {
        column-count: 1;
    }

    .accordion-aside {
        position: static;
        min-height: 0;
    }

    .video-header {
        flex-direction: column;
    }

    .video-header .paragraph-wrapper {
        max-width: none;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-visits-header,
    .designers-header {
        flex-direction: column;
    }

    .designers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-page-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .legal-page-header {
        position: static;
        min-height: 0;
    }

    .contact-box {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }

    .contact-heading {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .designer-panel-name,
    .designer-panel-role,
    .designer-panel-project {
        font-size: 32px;
    }

    .designer-panel-reflection {
        font-size: 26px;
    }

    /* Runs off the right edge of the screen, so the next card peeks in */
    .site-visit-card {
        width: calc((100% - var(--container-padding)) / 2);
    }

    .experts-header {
        grid-template-columns: 1fr;
    }

    /* Tablet/mobile row: photo + name, everything else stacked below and only shown when open.
       The columns become invisible (display: contents) so their parts can be placed in this grid. */
    .expert {
        grid-template-columns: 80px minmax(0, 1fr);
        grid-template-areas:
            "photo head"
            "bio bio"
            "linkedin linkedin"
            "session session"
            "description description";
        row-gap: 0;
    }

    .expert-photo-column,
    .expert-info-column,
    .expert-session-column {
        display: contents;
    }

    .expert-photo {
        grid-area: photo;
        width: 80px;
        height: 80px;
    }

    .expert-head {
        grid-area: head;
        padding-right: 40px;
    }

    .expert-bio {
        grid-area: bio;
    }

    .expert-linkedin {
        grid-area: linkedin;
    }

    .expert-session-collapse {
        grid-area: session;
    }

    .expert-description {
        grid-area: description;
    }

    .expert-divider {
        display: none;
    }

    .expert-name,
    .expert-role {
        font-size: 20px;
    }

    /* Session (tags and title) only shows when open, with a line above it */
    .expert-session-collapse {
        grid-template-rows: 0fr;
    }

    .expert-session {
        margin-top: var(--padding);
        padding-top: var(--padding);
        padding-right: 0;
        border-top: 1px solid var(--text-color);
    }

    .programme-image img:first-child {
        position: static;
        aspect-ratio: 368 / 492;
    }

    .programme-logo {
        width: 210px;
    }

    .hero-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-carousel,
    .hero-slide {
        height: 420px;
    }
}

/* Mobile
   ========================================================================== */
@media (max-width: 479px) {
    /* Footer: one column, bigger links (the bottom links stay 20px) */
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-logo,
    .footer-description,
    .footer-column,
    .footer-column:first-child,
    .footer-copyright,
    .footer-bottom-links .footer-link {
        grid-column: 1 / -1;
    }

    .footer-label,
    .footer-link,
    .footer-copyright {
        font-size: 24px;
    }

    .footer-bottom-links .footer-link {
        font-size: 20px;
    }

    .experts-header {
        margin-bottom: var(--padding);
    }

    .video-controls .circle-button {
        width: 34px;
        height: 34px;
    }

    .cohort-badge {
        font-size: 28px;
    }

    .cohort-badge-number {
        width: 42px;
        height: 42px;
    }

    .hero-controls .circle-button {
        width: 34px;
        height: 34px;
    }

    .hero-controls .circle-button .icon {
        width: 17px;
    }

    /* Pills sit between the arrows and wrap onto two lines when there isn't enough space */
    .hero-pills {
        display: flex;
        flex: 1;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 8px;
    }

    /* Outline pills ("2025 — 2026", "Cohort 01"): smaller, 1px less at the top and bottom */
    .pill-outline:not(.pill-small) {
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 18px;
    }

    :root {
        --container-padding: var(--padding);
        --section-padding-bigger: 160px;
        --font-size-h1: 48px;
        --font-size-h2: 26px;
        --font-size-h3: 22px;
        --font-size-h4: 18px;
        --font-size-small: 13px;
    }

    .hero-carousel,
    .hero-slide {
        height: 240px;
    }

    .partner-logo {
        width: calc(var(--logo-width-mobile, var(--logo-width, 120)) * 1px);
    }

    /* The mobile design uses the bigger heading size here */
    .video-heading {
        font-size: var(--font-size-h1);
    }

    .team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Intro blocks of The Programme, Learning by doing and The Team are all the same height */
    .programme-intro,
    .accordion-aside,
    .team-header {
        min-height: 368px;
    }

    .programme-heading,
    .accordion-heading,
    .team-header {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .team {
        padding-top: var(--padding);
    }

    .team-header {
        justify-content: center;
    }

    /* 368px block plus --padding below it (the top gap comes from the section padding) */
    .programme-intro,
    .team-header {
        min-height: calc(368px + var(--padding));
    }

    .programme-intro {
        padding-bottom: var(--padding);
    }

    .team-header {
        padding-bottom: calc(80px + var(--padding));
    }

    /* One card (330px on a 400px screen) with the next one peeking in */
    .site-visit-card {
        width: 82.5vw;
    }

    /* The image shows above, the box sits at the bottom */
    .testimonial {
        align-items: flex-end;
        padding: 376px 24px 24px;
    }

    .testimonial-box {
        width: 100%;
    }

    /* The mobile design keeps the big heading here */
    .contact-heading h2,
    .report-heading h2 {
        font-size: 40px;
    }

    .footer-column {
        margin-top: 0;
    }

    .footer-column:first-child {
        margin-top: 72px;
    }

    .contact-heading {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .testimonial-quote {
        padding-top: 32px;
        padding-bottom: 32px;
        font-size: 20px;
        line-height: 140%;
    }

    .testimonial-small .testimonial-quote {
        font-size: 14px;
        line-height: 120%;
    }

    .person-card-name,
    .person-card-role {
        font-size: 26px;
    }
}

/* Large desktop (design is 1440px wide: px / 14.4 = vw)
   ========================================================================== */
@media (min-width: 1439px) {
    :root {
        --font-size-h1: calc(4.44vw * var(--scale));
        --font-size-h2: calc(2.78vw * var(--scale));
        --font-size-h3: calc(1.81vw * var(--scale));
        --font-size-h4: calc(1.53vw * var(--scale));
        --font-size-body: calc(1.39vw * var(--scale));
        --font-size-small: calc(0.97vw * var(--scale));
        --font-size-xsmall: calc(0.83vw * var(--scale));

        --padding: calc(1.11vw * var(--scale));
        --section-padding: calc(11.11vw * var(--scale));
        --section-padding-bigger: calc(13.89vw * var(--scale));
    }

    .pill {
        gap: calc(0.56vw * var(--scale));
        padding: calc(0.42vw * var(--scale)) calc(0.83vw * var(--scale));
        font-size: calc(1.39vw * var(--scale));
    }

    .pill .icon {
        width: calc(1.11vw * var(--scale));
    }

    .pill-button {
        gap: calc(0.69vw * var(--scale));
        padding: calc(0.28vw * var(--scale)) calc(0.83vw * var(--scale)) calc(0.42vw * var(--scale)) calc(0.83vw * var(--scale));
    }

    .pill-button .icon {
        width: calc(1.04vw * var(--scale));
        transform: translateY(calc(0.07vw * var(--scale)));
    }

    .pill-outline {
        border-width: calc(0.14vw * var(--scale));
    }

    .circle-button {
        width: calc(3.33vw * var(--scale));
        height: calc(3.33vw * var(--scale));
        border-width: calc(0.14vw * var(--scale));
    }

    .circle-button .icon {
        width: calc(1.67vw * var(--scale));
    }

    .hero-controls .circle-button {
        width: calc(2.5vw * var(--scale));
        height: calc(2.5vw * var(--scale));
    }

    .hero-controls .circle-button .icon {
        width: calc(1.25vw * var(--scale));
    }

    .video-controls {
        gap: calc(0.83vw * var(--scale));
    }

    .experts-header {
        margin-bottom: calc(4.44vw * var(--scale));
    }

    .experts-header h2 {
        max-width: calc(36.11vw * var(--scale));
    }

    .video-controls .circle-button {
        width: calc(2.64vw * var(--scale));
        height: calc(2.64vw * var(--scale));
    }

    .video-controls .icon-play,
    .video-controls .icon-pause {
        width: calc(0.9vw * var(--scale));
    }

    .video-controls .icon-play {
        transform: translateX(calc(0.1vw * var(--scale)));
    }

    .video-controls .icon-sound,
    .video-controls .icon-mute {
        width: calc(1.39vw * var(--scale));
    }

    .navbar-line {
        height: calc(0.07vw * var(--scale));
    }

    .logo-desktop {
        height: calc(2.22vw * var(--scale));
    }

    .navbar-inner {
        padding-top: calc(1.53vw * var(--scale));
    }

    .navbar-links {
        gap: calc(0.83vw * var(--scale));
        padding-bottom: calc(0.56vw * var(--scale));
    }

    .navbar-link {
        font-size: calc(1.67vw * var(--scale));
    }

    .heading-wrapper {
        max-width: calc(47.01vw * var(--scale));
    }

    .paragraph-wrapper {
        gap: calc(1.67vw * var(--scale));
        max-width: calc(22.85vw * var(--scale));
    }

    .hero-carousel,
    .hero-slide {
        height: calc(37.5vw * var(--scale));
    }

    .split-layout {
        grid-template-columns: 1fr calc(0.07vw * var(--scale)) 1fr;
    }

    .programme-heading {
        padding-top: calc(5.56vw * var(--scale) + var(--padding));
        padding-bottom: calc(5.56vw * var(--scale) + var(--padding));
    }

    .section-subtitle {
        font-size: calc(1.25vw * var(--scale));
    }

    .programme-heading h2 {
        max-width: calc(35vw * var(--scale));
    }

    .programme-paragraphs {
        border-top-width: calc(0.07vw * var(--scale));
    }

    .programme-paragraphs p {
        font-size: calc(1.25vw * var(--scale));
    }

    .programme-paragraphs p + p {
        margin-top: calc(0.83vw * var(--scale));
    }

    .programme-logo {
        width: calc(19.44vw * var(--scale));
    }

    .partners-description {
        max-width: calc(72.08vw * var(--scale));
        margin-top: calc(0.83vw * var(--scale));
    }

    .partners-logos {
        gap: calc(1.11vw * var(--scale)) calc(3.33vw * var(--scale));
        margin-top: calc(3.33vw * var(--scale));
    }

    .partner-logo {
        width: calc(var(--logo-width, 120) / 14.4 * 1vw * var(--scale));
    }

    .cohort-badge {
        gap: calc(0.28vw * var(--scale));
        font-size: calc(2.22vw * var(--scale));
    }

    .cohort-badge-number {
        width: calc(3.33vw * var(--scale));
        height: calc(3.33vw * var(--scale));
        border-width: calc(0.14vw * var(--scale));
    }

    .accordion-item + .accordion-item {
        border-top-width: calc(0.07vw * var(--scale));
    }

    .accordion-item:last-child {
        border-bottom-width: calc(0.07vw * var(--scale));
    }

    .accordion-toggle .heading-2 {
        max-width: calc(33.47vw * var(--scale));
    }

    .paragraph-small {
        font-size: calc(1.25vw * var(--scale));
    }

    .video-title-paragraph {
        margin-top: calc(0.83vw * var(--scale));
    }

    .person-card-name,
    .person-card-role {
        font-size: calc(2.22vw * var(--scale));
    }

    .person-card-button {
        margin-top: calc(0.83vw * var(--scale));
    }

    .team-header {
        gap: calc(0.83vw * var(--scale));
        padding-bottom: calc(8.33vw * var(--scale) + var(--padding));
    }

    .team-grid {
        border-top-width: calc(0.07vw * var(--scale));
    }

    .pill-small {
        gap: calc(0.42vw * var(--scale));
        padding: calc(0.28vw * var(--scale)) calc(0.56vw * var(--scale));
        font-size: calc(0.97vw * var(--scale));
    }

    .pill-small.pill-outline {
        border-width: calc(0.07vw * var(--scale));
    }

    .pill-small .icon {
        width: calc(0.69vw * var(--scale));
    }

    .site-visit-card {
        border-left-width: calc(0.07vw * var(--scale));
    }

    .site-visit-pills {
        gap: calc(0.56vw * var(--scale));
    }

    .site-visit-title {
        font-size: calc(1.81vw * var(--scale));
    }

    .site-visit-text {
        margin-top: calc(0.56vw * var(--scale));
        font-size: calc(0.97vw * var(--scale));
    }

    .site-visit-contacts {
        gap: calc(0.83vw * var(--scale));
    }

    .site-visit-contact {
        gap: calc(0.56vw * var(--scale));
    }

    .site-visit-contact-image {
        width: calc(2.78vw * var(--scale));
        height: calc(2.78vw * var(--scale));
    }

    .site-visit-contact-name,
    .site-visit-contact-role {
        font-size: calc(1.39vw * var(--scale));
    }

    .accordion-buttons {
        gap: calc(0.83vw * var(--scale));
    }

    .accordion-heading {
        padding-top: calc(5.56vw * var(--scale) + var(--padding));
        padding-bottom: calc(5.56vw * var(--scale) + var(--padding));
    }

    .accordion-heading h2 {
        max-width: calc(20.83vw * var(--scale));
    }

    .accordion-caption {
        max-width: calc(33.06vw * var(--scale));
    }

    [data-section="dsfec-sprint-projects"] .accordion-caption {
        max-width: calc(39.03vw * var(--scale));
    }

    .testimonial-box {
        padding: calc(1.67vw * var(--scale));
    }

    .testimonial-box {
        width: calc(46.67vw * var(--scale));
    }

    .testimonial-quote {
        max-width: calc(35.14vw * var(--scale));
        padding-top: calc(3.33vw * var(--scale));
        padding-bottom: calc(3.33vw * var(--scale));
        font-size: calc(2.78vw * var(--scale));
    }

    .testimonial-small .testimonial-quote {
        font-size: calc(1.81vw * var(--scale));
    }

    .testimonial-person {
        gap: calc(0.14vw * var(--scale));
    }

    .expert {
        border-top-width: calc(0.07vw * var(--scale));
    }

    .expert-photo {
        width: calc(7.15vw * var(--scale));
        height: calc(7.15vw * var(--scale));
    }

    .expert-head {
        gap: calc(0.14vw * var(--scale));
    }

    .expert-name,
    .expert-role,
    .expert-session-title {
        font-size: calc(1.81vw * var(--scale));
    }

    .expert-text {
        font-size: calc(1.25vw * var(--scale));
    }

    .expert-session {
        padding-right: calc(2.78vw * var(--scale));
    }

    .expert-tags {
        gap: calc(0.56vw * var(--scale));
        margin-bottom: calc(0.28vw * var(--scale));
    }

    .expert-linkedin .expert-collapse-inner > * {
        margin-top: calc(1.11vw * var(--scale));
    }

    .expert-collapse-inner > .expert-text {
        margin-top: calc(1.11vw * var(--scale));
    }

    .expert-description .expert-collapse-inner > .expert-text {
        margin-top: calc(0.56vw * var(--scale));
    }

    .expert-toggle {
        padding: calc(0.28vw * var(--scale)) 0;
    }

    .expert-toggle .icon {
        width: calc(1.81vw * var(--scale));
    }

    .designer-card::before {
        height: calc(0.07vw * var(--scale));
    }

    .designer-card-name,
    .designer-card-role {
        font-size: calc(1.39vw * var(--scale));
    }

    .designer-card-role {
        margin-top: calc(0.14vw * var(--scale));
    }

    .designer-panel {
        max-width: calc(50vw * var(--scale));
        padding: calc(1.67vw * var(--scale));
    }

    .designer-panel-close {
        top: calc(1.67vw * var(--scale));
        right: calc(1.67vw * var(--scale));
    }

    .designer-panel-head {
        padding-right: calc(4.44vw * var(--scale));
    }

    .designer-panel-name,
    .designer-panel-role,
    .designer-panel-project {
        font-size: calc(2.78vw * var(--scale));
    }

    .designer-panel-content {
        gap: calc(1.67vw * var(--scale));
    }

    .designer-panel-bio {
        font-size: calc(1.39vw * var(--scale));
    }

    .designer-panel-block {
        gap: calc(1.39vw * var(--scale));
        padding-top: calc(1.67vw * var(--scale));
        border-top-width: calc(0.07vw * var(--scale));
    }

    .designer-panel-reflection {
        font-size: calc(2.22vw * var(--scale));
    }

    .testimonial-name,
    .testimonial-role {
        font-size: calc(1.39vw * var(--scale));
    }

    .accordion-tags,
    .accordion-block {
        gap: calc(0.56vw * var(--scale));
    }

    .accordion-designer-name {
        font-size: calc(1.39vw * var(--scale));
    }


    .contact {
        padding: calc(1.67vw * var(--scale));
    }

    .contact-box {
        gap: calc(1.67vw * var(--scale));
        width: calc(75.28vw * var(--scale));
        padding: calc(1.67vw * var(--scale));
    }

    .contact-heading {
        gap: calc(0.83vw * var(--scale));
        padding: calc(1.67vw * var(--scale));
    }

    .contact-heading h2 {
        max-width: calc(30.56vw * var(--scale));
    }

    .report {
        padding-top: calc(1.67vw * var(--scale));
        padding-bottom: calc(1.67vw * var(--scale));
    }

    .report-heading {
        gap: calc(0.83vw * var(--scale));
        max-width: calc(48.33vw * var(--scale));
        padding-top: calc(11.11vw * var(--scale));
        padding-bottom: calc(8.33vw * var(--scale));
    }

    .report-heading p {
        max-width: calc(27.78vw * var(--scale));
    }

    .legal-page-inner {
        gap: calc(3.33vw * var(--scale));
    }

    .legal-page-header h1 {
        max-width: calc(31.53vw * var(--scale));
    }

    .legal-page-updated {
        margin-top: calc(0.83vw * var(--scale));
        font-size: calc(1.39vw * var(--scale));
    }

    .legal-page-content h2,
    .legal-page-content h3 {
        margin-top: calc(2.78vw * var(--scale));
        margin-bottom: calc(0.83vw * var(--scale));
    }

    .legal-page-content h3 {
        font-size: calc(1.67vw * var(--scale));
    }

    .legal-page-content h2 {
        margin-bottom: calc(1.11vw * var(--scale));
    }

    .legal-page-content h2:first-of-type {
        margin-top: 0;
    }

    .legal-page-content p,
    .legal-page-content li {
        font-size: calc(1.39vw * var(--scale));
    }

    .legal-page-content p + p,
    .legal-page-content p + ul,
    .legal-page-content ul + p,
    .legal-page-content p + ol,
    .legal-page-content ol + p {
        margin-top: calc(1.11vw * var(--scale));
    }

    .footer {
        padding-top: calc(1.67vw * var(--scale));
        padding-bottom: calc(1.67vw * var(--scale));
    }

    .footer-grid {
        gap: calc(3.33vw * var(--scale));
        padding-left: calc(1.67vw * var(--scale));
        padding-right: calc(1.67vw * var(--scale));
    }

    .footer-logo img {
        width: calc(17.22vw * var(--scale));
    }

    .footer-description {
        font-size: calc(1.94vw * var(--scale));
    }

    .footer-column {
        gap: calc(0.28vw * var(--scale));
        margin-top: calc(5vw * var(--scale));
    }

    .footer-label,
    .footer-link,
    .footer-copyright {
        font-size: calc(1.39vw * var(--scale));
    }
}
