/* ==========================================================================
   time change Pharma – website styles (no build step, plain CSS)
   ========================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --orange: #ff6f00;
    --orange-dark: #d95e00;
    --black: #000;
    --ink: #0c0c0c;
    --indigo: #2e2a63;
    --grey: #7c7c7c;
    --grey-300: #adadad;
    --grey-200: #d7d7d7;
    --grey-100: #f3f3f3;
    --text: #1a1a1a;
    --text-muted: #6b6b6b;
    --white: #fff;

    --radius: 26px;
    --radius-small: 14px;
    --container: 1140px;
    --gutter: clamp(20px, 4vw, 32px);
    --section: clamp(64px, 9vw, 120px);
    --header-height: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
video,
picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.015em;
    text-wrap: balance;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--white);
    color: var(--black);
    border-radius: 8px;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.rounded { border-radius: var(--radius); }

/* ------------------------------------------------------------------ buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border: 1px solid var(--orange);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .9375rem;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover,
.btn:focus-visible { background: var(--orange); color: var(--black); }
.btn__arrow { flex: none; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--on-dark { color: var(--white); }
.btn--small { padding: 8px 18px; font-size: .875rem; }
.btn--solid { background: var(--orange); color: var(--black); font-weight: 500; }
.btn--solid:hover,
.btn--solid:focus-visible { background: var(--white); border-color: var(--white); }

/* ------------------------------------------------------------------- header */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--header-height);
    color: var(--white);
    transition: background-color .3s, backdrop-filter .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(0, 0, 0, .82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}
.site-header__logo {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
}
.site-header__logo img { width: 112px; height: auto; }
.site-header__logo span {
    padding-bottom: 3px;
    color: var(--orange);
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-nav__list { display: flex; gap: clamp(16px, 2.4vw, 32px); list-style: none; }
.site-nav__list a {
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, .82);
    font-size: .9375rem;
    text-decoration: none;
    transition: color .2s;
}
.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current] { color: var(--white); }
.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after { transform: scaleX(1); }
.site-nav__meta { display: flex; align-items: center; gap: 20px; }

.lang-switch { display: flex; gap: 2px; list-style: none; font-size: .8125rem; }
.lang-switch a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current] { color: var(--white); font-weight: 600; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 0 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 32px var(--gutter) 40px;
        background: rgba(0, 0, 0, .96);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transition: opacity .25s, visibility .25s;
    }
    .site-header.is-open .site-nav { visibility: visible; opacity: 1; }
    .site-nav__list { flex-direction: column; gap: 4px; width: 100%; }
    .site-nav__list a { display: block; padding: 12px 0; font-size: 1.5rem; }
    .site-nav__list a::after { display: none; }
    .site-nav__list a[aria-current] { color: var(--orange); }
}

/* --------------------------------------------------------------------- hero */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(100svh, 900px);
    padding: calc(var(--header-height) + 40px) 0 96px;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video,
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .15) 65%, #000 100%);
}
.hero__inner { position: relative; }
.hero__title {
    font-size: clamp(2.5rem, 1rem + 6.4vw, 6rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.03em;
}
.hero__title span { display: block; }
.hero__title-muted { color: rgba(255, 255, 255, .45); }
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: var(--white);
    animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll:hover { border-color: var(--orange); }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.lead-band {
    padding: clamp(56px, 8vw, 104px) 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.lead-band__text {
    margin-bottom: 32px;
    color: rgba(255, 255, 255, .55);
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
    line-height: 1.35;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.lead-band__text strong { display: block; color: var(--white); font-weight: 500; }

/* -------------------------------------------------------------- page header */

.page-header {
    position: relative;
    padding: calc(var(--header-height) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 96px);
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}
.page-header__media { position: absolute; inset: 0; }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-header__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .25) 100%);
}
.page-header__inner { position: relative; }
.page-header h1 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -.03em;
}
.page-header__lead {
    max-width: 62ch;
    margin-top: 24px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
    line-height: 1.5;
}
.page-header__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .7);
    font-size: .875rem;
    text-decoration: none;
}
.page-header__back:hover { color: var(--white); }

/* accent bar in the colour of the event format card */
.page-header[class*="--accent-"]::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    height: 6px;
    background: var(--accent, var(--orange));
}
.page-header--accent-orange { --accent: var(--orange); }
.page-header--accent-indigo { --accent: #5a52c9; }
.page-header--accent-grey { --accent: var(--grey); }
.page-header--accent-black { --accent: var(--white); }

.kicker {
    margin-bottom: 16px;
    color: var(--orange);
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------------- sections */

.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .55) 0; }
/* two light sections in a row share one gap instead of doubling it */
.section:not(.section--dark):not(.section--grey) + .section:not(.section--dark):not(.section--grey) { padding-top: 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--grey { background: var(--grey-100); }

.section__title { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head p { margin-top: 16px; color: var(--text-muted); }
.section--dark .section__head p { color: rgba(255, 255, 255, .65); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__cta { margin-top: clamp(32px, 4vw, 48px); }
.section__cta--center { text-align: center; }

.subline {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
    line-height: 1.35;
}
.subline--small { font-size: 1.0625rem; }
.section--dark .subline { color: rgba(255, 255, 255, .55); }
.lead { font-size: 1.125rem; color: var(--text-muted); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(24px, 6vw, 96px);
    align-items: start;
}
.split--head { margin-bottom: clamp(36px, 5vw, 64px); }
.split__text .btn { margin-top: 28px; }

.media-text {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 7vw, 104px);
    align-items: center;
}
.media-text__media img { width: 100%; }
.media-text__body h2 { margin-bottom: 24px; }
.media-text__body .btn { margin-top: 28px; }

.collage { position: relative; padding: 0 12% 12% 0; }
.collage .collage__main { width: 100%; border-radius: var(--radius); }
.collage .collage__secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    border-radius: var(--radius);
    box-shadow: 0 0 0 8px var(--white);
}

.prose { color: var(--text-muted); }
.prose > * + * { margin-top: 1em; }
.prose ul { display: grid; gap: 10px; list-style: none; }
.prose li { position: relative; padding-left: 30px; color: var(--text); }
.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 16px;
    height: 12px;
    background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M0 9h21M14 2l7 7-7 7' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M0 9h21M14 2l7 7-7 7' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose a { color: var(--orange-dark); }
.prose--muted { color: var(--text-muted); }

/* -------------------------------------------------------------------- stats */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px clamp(20px, 3vw, 40px);
}
.stats__item {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid var(--grey-200);
}
.stats__value {
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.03em;
}
.stats__label { margin-top: 10px; color: var(--text-muted); font-size: .9375rem; line-height: 1.4; }
.stats__item:first-child { border-top-color: var(--orange); }

/* ------------------------------------------------------------------ pillars */

.pillars { display: flex; gap: 16px; min-height: 420px; }
.pillar {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--grey);
    color: var(--white);
    overflow: hidden;
    transition: flex-grow .6s var(--ease), background-color .4s;
}
.pillar.is-open { flex-grow: 2.4; background: var(--ink); }
.pillar__title { font-size: clamp(1.375rem, 1rem + 1.1vw, 1.75rem); line-height: 1.2; }
.pillar__title button {
    display: block;
    width: 100%;
    padding: 32px 32px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    cursor: pointer;
}
.pillar:not(.is-open) .pillar__title button { display: flex; align-items: flex-start; height: 420px; }
.pillar__title button:focus-visible { outline-offset: -6px; border-radius: var(--radius); }
.pillar__body {
    flex: 1;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: opacity .2s;
}
.pillar.is-open .pillar__body {
    opacity: 1;
    visibility: visible;
    max-height: none;
    transition: opacity .5s .3s;
}
.pillar__body-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    padding: 20px 32px 32px;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .78);
}
.pillar__body-inner p { margin: 0; max-width: 46ch; }
.pillar__points ul { display: grid; gap: 10px; list-style: none; }
.pillar__points li { position: relative; padding-left: 28px; color: var(--white); }
.pillar__points li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--orange);
}
.pillar__outro { margin-top: auto !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.pillar__outro strong { display: block; color: var(--white); font-weight: 500; }

/* --------------------------------------------------------------- flip cards */

.flipgrid {
    --glow: 255, 255, 255;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
}
.flip {
    position: relative;
    min-height: 330px;
    border-radius: var(--radius);
    perspective: 1300px;
    cursor: pointer;
}
.flip__inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform .75s var(--ease);
}
.flip.is-flipped .flip__inner,
.flip:focus-within .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) {
    .flip:hover .flip__inner { transform: rotateY(180deg); }
}
.flip__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 36px 36px 32px;
    border-radius: var(--radius);
    color: var(--white);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}
.flip__face--back { transform: rotateY(180deg); padding: 30px 32px 26px; }
.flip--orange .flip__face { background: var(--orange); }
.flip--black .flip__face { background: var(--ink); }
.flip--indigo .flip__face { background: var(--indigo); }
.flip--grey .flip__face { background: var(--grey); }
/* white on orange needs a darker tone on the text-heavy back side */
.flip--orange .flip__face--back { background: #c95400; }
.flip--grey .flip__face--back { background: #5f5f5f; }

.flip__title {
    min-height: 2.4em;
    font-size: clamp(1.5rem, 1.1rem + 1.1vw, 1.875rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.01em;
    hyphens: auto;
}
.flip__sub { max-width: 80%; margin: 16px 0 0; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.flip__face--back h4 { margin-bottom: 10px; font-size: 1.125rem; font-weight: 600; line-height: 1.25; }
.flip__face--back p { margin: 0; font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.flip__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
}
.flip__link::after { content: ""; position: absolute; inset: 0; }
.flip__link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.flip__link:hover svg { transform: translateX(4px); }
.flip__arrow {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1.5px solid rgba(var(--glow), .5);
    border-radius: 50%;
    background: rgba(var(--glow), .07);
    animation: glow 2.6s ease-in-out infinite;
}
.flip:nth-child(2) .flip__arrow { animation-delay: -.9s; }
.flip:nth-child(3) .flip__arrow { animation-delay: -1.7s; }
.flip:nth-child(4) .flip__arrow { animation-delay: -.5s; }
.flip:nth-child(5) .flip__arrow { animation-delay: -1.3s; }
.flip:nth-child(6) .flip__arrow { animation-delay: -2.1s; }
@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px 1px rgba(var(--glow), .15); }
    50% { box-shadow: 0 0 18px 3px rgba(var(--glow), .38); }
}

/* ---------------------------------------------------------------- checklist */

.checklist { position: relative; overflow: hidden; }
.checklist__media { position: absolute; inset: 0; }
.checklist__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.checklist__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .8) 60%, #000);
}
.checklist .container { position: relative; }
.checklist__items ul { display: grid; gap: 14px; list-style: none; }
.checklist__items li { position: relative; padding-left: 34px; color: rgba(255, 255, 255, .88); }
.checklist__items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 18px;
    height: 18px;
    background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5l6 6L21 6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5l6 6L21 6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ----------------------------------------------------------------- features */

.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px clamp(20px, 3vw, 40px);
    list-style: none;
    text-align: center;
}
.feature__icon { width: 64px; height: 64px; margin: 0 auto 28px; object-fit: contain; }
.feature h3 { max-width: 12ch; margin: 0 auto 14px; font-size: 1.375rem; }
.feature p { max-width: 26ch; margin-inline: auto; color: rgba(255, 255, 255, .62); font-size: .9375rem; }

/* ------------------------------------------------------------- case studies */

.cases { display: grid; gap: 24px; }
.case {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 24px;
    align-items: stretch;
}
.case__media { border-radius: var(--radius); overflow: hidden; background: var(--grey-100); }
.case__media picture,
.case__img { width: 100%; height: 100%; }
.case__img { min-height: 280px; object-fit: cover; }
.case__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius);
    background: var(--grey-200);
}
.case__title { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); }
.case__title a { text-decoration: none; }
.case__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.case__subtitle { margin: 4px 0 0; color: #595959; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.3; }
.case__facts { display: grid; gap: 18px; margin-top: 28px; font-size: .9375rem; }
.case__title + .case__facts,
.case__card > .case__facts:first-child { margin-top: 0; }
.case__facts dt { font-weight: 600; }
.case__facts dd { color: #4d4d4d; }
.case__result { padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, .2); }
.case__result dt { color: #b84e00; }
.case__result dd { color: var(--black); font-size: 1.0625rem; font-weight: 500; }
.case__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
}
.case__more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.case__card:hover .case__more svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ process */

.process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px clamp(20px, 3vw, 40px);
    list-style: none;
    counter-reset: step;
}
.process__step { padding-top: 22px; border-top: 1px solid var(--grey-300); }
.process__number { display: block; margin-bottom: 18px; color: var(--orange-dark); font-size: .875rem; font-weight: 600; letter-spacing: .08em; }
.process__step h3 { margin-bottom: 10px; }
.process__step p { color: var(--text-muted); font-size: .9375rem; }

/* ---------------------------------------------------------------- accordion */

.accordion { border-top: 1px solid var(--grey-200); }
.accordion__item { border-bottom: 1px solid var(--grey-200); }
.accordion__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat,
        linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat;
    transition: transform .3s var(--ease);
}
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__item .prose { padding: 0 40px 22px 0; }

/* ----------------------------------------------------------------- cta band */

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 64px);
    border-radius: var(--radius);
    background: var(--indigo);
    color: var(--white);
}
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .72); }
.cta-band .btn { flex: none; border-color: var(--white); }
.cta-band .btn:hover { background: var(--white); }

/* ------------------------------------------------------------------ contact */

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(40px, 7vw, 104px);
    align-items: start;
}
.contact__intro h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 300; }
.person { display: flex; align-items: center; gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.person__photo { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.person p { margin: 0; }
.person__name { font-size: 1.125rem; font-weight: 500; }
.person__role { margin-bottom: 10px !important; color: rgba(255, 255, 255, .6); font-size: .9375rem; }
.person a { display: block; color: rgba(255, 255, 255, .85); font-size: .9375rem; text-decoration: none; }
.person a:hover { color: var(--orange); }

.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form__field { grid-column: 1 / -1; display: grid; gap: 6px; font-size: .875rem; color: rgba(255, 255, 255, .7); }
.form__field--half { grid-column: span 1; }
.form__field--small { max-width: 220px; }
.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    font: inherit;
    font-size: 1rem;
    transition: border-color .2s, background-color .2s;
}
.form select option { color: var(--black); }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .1); }
.form.was-validated :invalid { border-color: #ff6b6b; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .5); font-size: .8125rem; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { margin-bottom: 20px; padding: 16px 18px; border-radius: var(--radius-small); font-size: .9375rem; }
.form__status--success { background: rgba(255, 111, 0, .14); border: 1px solid var(--orange); }
.form__status--error { background: rgba(255, 107, 107, .12); border: 1px solid #ff6b6b; }

/* ------------------------------------------------------------------- footer */

.site-footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--black); color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.section--dark + .site-footer,
main > .section--dark:last-child + .site-footer { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer__brand p { max-width: 42ch; margin-top: 20px; }
.site-footer__heading { margin-bottom: 16px; color: var(--white); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__list { display: grid; gap: 8px; list-style: none; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { color: var(--orange); }
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .45);
    font-size: .8125rem;
}

/* ------------------------------------------------------------------- reveal */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
    .flipgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features,
    .process,
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .split,
    .media-text,
    .contact__grid,
    .case { grid-template-columns: minmax(0, 1fr); }
    .split { gap: 20px; }
    .media-text__media { max-width: 520px; }

    .pillars { flex-direction: column; min-height: 0; }
    .pillar,
    .pillar.is-open { flex: none; }
    .pillar:not(.is-open) .pillar__title button { height: auto; padding-bottom: 28px; }
    .pillar__title button { padding: 26px 26px 0; }
    .pillar__body-inner { padding: 16px 26px 28px; }

    .cta-band { flex-direction: column; align-items: flex-start; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .case__img { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
    .flipgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .flip { min-height: 350px; }
    .flip__face { padding: 30px 28px; }
    .flip__sub { max-width: 100%; }
    .flip__arrow { right: 24px; bottom: 24px; width: 48px; height: 48px; }
    .features,
    .process { grid-template-columns: minmax(0, 1fr); }
    .form__field--half { grid-column: 1 / -1; }
    .person { align-items: flex-start; }
    .person__photo { width: 80px; height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after { animation: none !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
