/* ---------- Tokens ---------- */
:root {
    --orange: #ff5318;
    --yellow: #fec64d;
    --coral: #ff5a3c;
    --coral-deep: #c93a1e;
    --ink: #262626;
    --text: #4a4644;
    --muted: #6b6562;
    --peach: #ffe5d6;
    --peach-soft: #fff1e8;
    --butter: #fff1c9;
    --aqua: #d9f2f4;
    --sky: #e1eefc;
    --white: #fff;
    --line: rgba(38, 38, 38, .1);
    --gradient: linear-gradient(135deg, var(--yellow), var(--orange));
    --shadow: 0 18px 40px rgba(130, 70, 30, .12);
    --radius: 24px;
    --head: "Syne", "Segoe UI", sans-serif;
    --body: "Kanit", "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    /* Soft waves in the top right corner; they scroll away with the page. */
    background: var(--white) url("../img/bg-right-1.png") no-repeat right top / clamp(760px, 100%, 1557px) auto;
    color: var(--text);
    font: 300 17px/1.65 var(--body);
}
h1, h2, h3 {
    margin: 0 0 16px;
    color: var(--ink);
    font-family: var(--head);
    font-weight: 700;
    line-height: 1.12;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; }
main { display: block; overflow-x: clip; }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; }
[hidden] { display: none !important; }
section[id], .showcase[id], footer[id], .anchor { scroll-margin-top: 76px; }
#top { scroll-margin-top: 0; }

.container { width: min(100% - 40px, 1240px); margin-inline: auto; }
.section { padding: 80px 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.svg-defs { position: absolute; width: 0; height: 0; }
.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
}
.skip:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex: none; }

.eyebrow {
    margin-bottom: 14px;
    color: var(--coral-deep);
    font: 700 15px/1.3 var(--head);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head--left { max-width: 520px; margin-inline: 0; text-align: left; }
.section-head h2 { text-wrap: balance; } /* no single word left on a second line */
.underlined::after {
    content: "";
    display: block;
    width: 110px;
    height: 4px;
    margin-top: 18px;
    border-radius: 4px;
    background: var(--gradient);
}
.underlined--center::after { margin-inline: auto; width: 60px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 28px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--coral-deep); color: var(--white); }
.btn--primary:hover { background: var(--ink); }
.btn--outline { border-color: var(--coral-deep); color: var(--coral-deep); background: transparent; }
.btn--outline:hover { background: var(--coral-deep); color: var(--white); }
.btn--dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--dark:hover { background: var(--ink); color: var(--white); }
.btn--dark .icon { transition: transform .25s; }
.btn--dark:hover .icon { transform: translateX(5px); }

/* ---------- Header ---------- */
.header { position: absolute; inset: 0 0 auto; z-index: 50; }
.header.is-stuck {
    position: fixed;
    background: linear-gradient(90deg, var(--peach), var(--butter));
    box-shadow: 0 8px 28px rgba(130, 70, 30, .14);
    animation: slide-down .45s ease;
}
@keyframes slide-down { from { transform: translateY(-100%); } to { transform: none; } }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; transition: min-height .3s; }
.header.is-stuck .header__inner { min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 22px / 1 var(--head); letter-spacing: -1px; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__name { text-transform: uppercase; white-space: nowrap; }
.header__menu { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 28px; }
.header__menu nav { margin-inline: auto; }
.nav { display: flex; gap: 30px; }
.nav__item { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: block; padding: 8px 0; color: var(--ink); font-weight: 400; font-size: 15px; white-space: nowrap; }
.header__menu .btn { white-space: nowrap; }
/* The narrowest screens with the full menu: tighter spacing so nothing wraps. */
@media (min-width: 1101px) and (max-width: 1199px) {
    .nav { gap: 18px; }
    .header__inner, .header__menu { gap: 16px; }
    .header__menu .btn { padding-inline: 16px; }
}
.nav__toggle { display: grid; place-items: center; width: 24px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink); }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .25s; }
.nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: -20px; min-width: 270px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.submenu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* keeps the pointer "inside" while it crosses the gap */
.nav__item.is-open .submenu, .no-js .nav__item:hover .submenu, .no-js .nav__item:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 400; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { background: #f8f3ff; color: var(--coral-deep); }
.no-js .nav__toggle { pointer-events: none; }
.nav__link::after {
    content: "";
    position: absolute;
    inset: auto 0 2px;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--coral-deep); }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255, 255, 255, .7); }
.lang a { display: block; min-width: 38px; padding: 3px 9px; border-radius: 30px; font-size: 13px; font-weight: 400; text-align: center; }
.lang a[aria-current] { background: var(--ink); color: var(--white); }
.burger { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 10px; background: transparent; }
.burger__lines, .burger__lines::before, .burger__lines::after {
    display: block;
    width: 26px;
    height: 2px;
    margin: auto;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .3s, background-color .3s;
}
.burger__lines::before, .burger__lines::after { content: ""; position: relative; }
.burger__lines::before { top: -8px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Photos ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; }
.photo--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background:
        radial-gradient(circle at 18% 22%, var(--butter) 0 22%, transparent 23%),
        radial-gradient(circle at 82% 78%, var(--aqua) 0 28%, transparent 29%),
        linear-gradient(135deg, var(--sky), var(--peach));
    color: var(--muted);
    font-size: 13px;
}
.photo--empty .icon { width: 40px; height: 40px; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 40px; } /* no fill, so the body background shows through */
.hero__intro { max-width: 1060px; margin: 0 auto 48px; text-align: center; }
.hero__line, .rotator__item { display: block; text-wrap: balance; }
/* Rotating headline: every phrase shares one cell, so the height never jumps and each stays centred. */
.rotator { display: grid; overflow: hidden; margin-block: -.08em -.16em; padding-block: .08em .16em; }
.rotator__item { grid-area: 1 / 1; align-self: start; opacity: 0; visibility: hidden; transform: translateY(-85%); }
.rotator__item.is-active { opacity: 1; visibility: visible; transform: none; }
.rotator.is-running .is-active, .rotator.is-running .is-leaving { transition: transform .5s cubic-bezier(.3, .7, .3, 1), opacity .45s ease, visibility .5s; }
.rotator__item.is-leaving { transform: translateY(85%); }
.hero .eyebrow { color: #b3321a; } /* a shade deeper to stay readable on the background waves */
.hero__text { max-width: 600px; margin-inline: auto; }
.bento { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; }
.bento__metrics {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 460px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--gradient);
    color: var(--ink);
}
.bento__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--white); color: var(--coral-deep); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.bento__label { margin-bottom: 16px; font-weight: 400; font-size: 19px; line-height: 1.35; }
.bento__label li + li { margin-top: 10px; }
.bento__big { margin: 0; font-size: 27px; }
.bento__main {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    grid-template-areas: "info photo" "stats photo";
    gap: 18px;
}
.bento__info { grid-area: info; padding: 32px 40px; border: 1px solid #e9ddfb; border-radius: var(--radius); background: #f8f3ff; }
.bento__info h2 { font-size: clamp(25px, 2.6vw, 34px); margin-bottom: 22px; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 16px 22px; }
.numbers li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 400; line-height: 1.35; }
.numbers__badge { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid var(--coral); border-radius: 50%; font-size: 15px; transition: background-color .3s, color .3s; }
.numbers li:hover .numbers__badge { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--white); }
.bento__stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px 32px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.bento__stats strong { display: block; color: var(--yellow); font-weight: 500; font-size: 32px; line-height: 1.2; }
.bento__stats span { display: block; font-size: 14px; line-height: 1.4; }
.bento__photo { grid-area: photo; position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius) 110px var(--radius) var(--radius); }
.bento__photo > .photo { position: absolute; inset: 0; }

/* ---------- Divider ---------- */
.divider svg { display: block; width: 100%; height: 80px; }
.divider path { fill: none; stroke: rgba(201, 58, 30, .18); stroke-width: 1.5; }

/* ---------- What we do ---------- */
.solutions .section-head { margin-bottom: 48px; }
.solutions .section-head p:not(.eyebrow) { max-width: 560px; margin-inline: auto; margin-bottom: 24px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { padding: 28px 24px 32px; border-radius: var(--radius); text-align: center; scroll-margin-top: 96px; transition: background-color .35s; }
.service:hover, .service:target { background: #f8f3ff; }
.service__art { width: 100%; max-width: 280px; height: auto; margin: 0 auto 20px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.service:hover .service__art { transform: translateY(-6px); }
.service p { max-width: 330px; margin: 0 auto; }
.service { position: relative; }
.service__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--coral-deep); font-weight: 400; font-size: 15px; }
.service__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* makes the whole card clickable */
.service__link .icon { width: 18px; height: 18px; transition: transform .25s; }
.service:hover .service__link .icon { transform: translateX(5px); }

/* ---------- Wide photo ---------- */
.showcase { padding: 0 20px; background: linear-gradient(180deg, var(--white) 55%, var(--peach-soft) 55%); }
.showcase__frame { max-width: 960px; aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; border: 5px solid var(--white); border-radius: 44px; box-shadow: var(--shadow); }
.showcase .photo { transition: transform 1.2s ease; }
.showcase__frame:hover .photo { transform: scale(1.04); }

/* ---------- How we work ---------- */
.process { background: linear-gradient(180deg, var(--peach-soft), var(--white)); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s, box-shadow .35s; }
.card p { margin: 0; }
.card__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border: 1px solid var(--coral-deep); border-radius: 50%; color: var(--coral-deep); transition: transform .35s; }
.js .card.is-visible:hover, .no-js .card:hover, .card:not([data-reveal]):hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

/* ---------- Tabs ---------- */
.power__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; gap: 40px; }
.power__photo { height: auto; aspect-ratio: 4 / 3; margin-top: 30px; border-radius: var(--radius); }
.tabs { display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.tabs__list { display: flex; flex-direction: column; gap: 6px; }
.tabs__tab { position: relative; padding: 14px 20px; border: 0; border-radius: 10px 0 0 10px; background: var(--peach-soft); font-weight: 400; text-align: left; transition: background-color .3s, color .3s, padding .3s; }
.tabs__tab:hover { background: var(--peach); padding-left: 26px; }
.tabs__tab[aria-selected="true"] { background: var(--coral-deep); color: var(--white); }
.tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; top: 50%; right: -1px; border: 9px solid transparent; border-right-color: var(--peach-soft); transform: translateY(-50%); }
.tabs__panels { min-width: 0; min-height: 460px; padding: 36px; border-radius: 0 var(--radius) var(--radius) var(--radius); background: var(--peach-soft); }
.js .tabs__panel { display: none; }
.js .tabs__panel.is-active { display: block; animation: panel-in .6s ease both; }
.no-js .tabs__panel + .tabs__panel { margin-top: 40px; }
@keyframes panel-in { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
.checks { margin-bottom: 20px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--ink); font-weight: 400; }
.checks .icon { color: var(--coral-deep); }

/* ---------- Chart ---------- */
.chart { margin-top: 24px; padding: 22px; border-radius: 16px; background: var(--white); }
.chart figcaption { margin-bottom: 16px; color: var(--ink); font-weight: 400; }
.chart__plot { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; font-size: 12px; text-align: center; }
.chart__bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 150px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.chart__bar { width: 11px; height: var(--h); border-radius: 4px 4px 0 0; background: var(--gradient); transition: height 1s cubic-bezier(.2, .7, .2, 1); }
.chart__bar--before { background: #a9dde2; }
.js .chart:not(.is-drawn) .chart__bar { height: 0; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; font-size: 13px; }
.chart__key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: var(--gradient); }
.chart__key--before::before { background: #a9dde2; }

/* ---------- Client logos ---------- */
.logos { padding: 60px 0; text-align: center; }
.logos h2 { margin-bottom: 36px; font-size: clamp(24px, 2.6vw, 32px); }
.logos__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px 20px; }
.logos__list li { aspect-ratio: 5 / 3; transition: transform .3s; }
.logos__list li:hover { transform: translateY(-4px); }
.logos__list img { width: 100%; height: 100%; object-fit: contain; }
.logos__list .is-vector img { padding-inline: 8%; } /* vector files have no built-in margin */

/* ---------- Success story ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px; }
.work__grid .section-head { margin: 0; }
.story { position: relative; overflow: hidden; min-height: 400px; border-radius: var(--radius); color: var(--white); isolation: isolate; box-shadow: var(--shadow); }
.story__photo { position: absolute; inset: 0; z-index: -2; transition: transform .8s ease; }
.story::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38, 38, 38, .08) 20%, rgba(38, 38, 38, .9)); transition: background-color .4s; }
.story:hover .story__photo { transform: scale(1.08); }
.story:hover::after { background-color: rgba(38, 38, 38, .25); }
.story__badge { position: absolute; top: 22px; left: 22px; margin: 0; padding: 6px 16px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 500; font-size: 15px; }
.story__body { display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 86px 28px 28px; }
.story__client { margin-bottom: 6px; font-size: 15px; }
.story h3 { color: var(--white); font-size: clamp(23px, 2.4vw, 30px); }
.story__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.story__tags li { padding: 3px 14px; border-radius: 30px; background: rgba(255, 255, 255, .2); font-size: 13px; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; padding: 90px 0; isolation: isolate; }
.testimonials::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--peach-soft); clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%); }
.testimonials__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; }
.testimonials__photo { width: 100%; max-width: 400px; aspect-ratio: 5 / 6; justify-self: center; overflow: hidden; border-radius: 220px 220px var(--radius) var(--radius); }
.slider { min-width: 0; touch-action: pan-y; }
.slider__quote { width: 60px; height: 45px; margin-bottom: 20px; }
.slider__slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(50px); transition: opacity .6s, transform .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote p { color: var(--ink); font-size: clamp(19px, 2vw, 24px); font-style: italic; }
.slide__stars { color: #c96a00; font-size: 22px; letter-spacing: 3px; }
.slide figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.slide figcaption span { color: var(--muted); font-size: 14px; }
.slider__dots { display: flex; gap: 4px; margin-top: 22px; }
.slider__dots button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.slider__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 10px; background: rgba(38, 38, 38, .22); transition: width .3s, background-color .3s; }
.slider__dots button[aria-current]::before { width: 24px; background: var(--coral-deep); }
.no-js .slider__dots { display: none; }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button, .filters a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); font-size: 14px; transition: background-color .25s, border-color .25s; }
.filters button:hover, .filters a:hover { background: var(--butter); }
.filters button[aria-pressed="true"], .filters a[aria-current] { border-color: var(--peach); background: var(--peach); color: var(--ink); font-weight: 500; }
.no-js div.filters { display: none; } /* the homepage buttons need the script; the blog page links do not */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; }
.post { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform .35s, box-shadow .35s; }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post.is-entering { animation: post-in .55s ease both; }
@keyframes post-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
.post__media { display: block; overflow: hidden; aspect-ratio: 55 / 31; } /* the shape of the list-sized covers */
.post__media .photo { transition: transform .7s ease; }
.post:hover .post__media .photo { transform: scale(1.08); }
.post__body { padding: 22px; }
.post h3 { margin-bottom: 8px; font-size: 20px; }
.post__date { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.post__body > p:last-child { margin-bottom: 0; }
.post h3 a:hover, .latest__title a:hover, .post-body a:not(.btn):hover { color: var(--coral-deep); }
.blog__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Blog page and post page ---------- */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.post-meta__tag { padding: 3px 12px; border-radius: 30px; background: var(--butter); color: var(--ink); font-weight: 500; }
.latest__title { font-size: clamp(28px, 3.4vw, 46px); }
.latest__media { display: block; }
.latest__media .photo { transition: transform .7s ease; }
.latest__media:hover .photo { transform: scale(1.05); }
.blog--list { padding-top: 50px; }
.blog__empty { text-align: center; }
.pagination { margin-top: 48px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination__gap { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; }
.pagination a { border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 400; transition: background-color .25s, border-color .25s; }
.pagination a:hover { background: var(--butter); }
.pagination a[aria-current="page"] { border-color: var(--coral-deep); background: var(--coral-deep); color: var(--white); }
.pagination .icon { width: 20px; height: 20px; }
.pagination__prev .icon { transform: rotate(180deg); }
.post-title { font-size: clamp(30px, 3.6vw, 48px); }
.post-body { padding-top: 40px; }
.post-body .container { max-width: 760px; }
.post-body p { margin-bottom: 30px; font-size: 19px; }
.page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
/* The text of a post, as written in the admin editor. */
.post-content { margin-bottom: 40px; overflow-wrap: break-word; }
.post-content h2 { margin: 44px 0 16px; font-size: clamp(24px, 2.6vw, 32px); }
.post-content h3 { margin: 34px 0 12px; font-size: 22px; }
.post-content ul, .post-content ol { margin: 0 0 30px; padding-left: 24px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 10px; font-size: 19px; }
.post-content li p { margin-bottom: 0; }
.post-content a { text-decoration: underline; text-decoration-color: var(--coral-deep); text-underline-offset: 3px; }
.post-content img { height: auto; margin-inline: auto; border-radius: 12px; }
.post-content iframe, .post-content video { max-width: 100%; }
.post-table { margin-bottom: 30px; overflow-x: auto; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.post-table th, .post-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-table p, .post-table li { margin: 0; font-size: inherit; }
.not-found { padding-bottom: 90px; text-align: center; }

/* ---------- Results ---------- */
.results { padding: 0 0 90px; }
.results__panel { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px 40px; padding: 52px; border: 1px solid #e9ddfb; border-radius: var(--radius); background: #f8f3ff; }
.results__head { grid-column: 1 / -1; }
.results__head h2 { margin-bottom: 10px; }
.results__head p { margin: 0; }
.results__lead { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px 22px; border-radius: var(--radius); background: var(--white); text-align: center; }
.results__lead strong { color: var(--coral-deep); font-weight: 500; font-size: 44px; line-height: 1.1; }
.results__lead span { color: var(--ink); text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.results__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 20px; text-align: center; }
.results__list strong { display: block; color: var(--ink); font-weight: 300; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
.results__list span { font-size: 15px; }

/* ---------- Service pages ---------- */
.page-hero { padding: 130px 0 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs a:hover { color: var(--coral-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); }
.page-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.page-hero .eyebrow { color: #b3321a; }
.page-hero__text { max-width: 540px; font-size: 19px; }
.page-hero .checks { margin-bottom: 26px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__media { position: relative; }
.page-hero__frame .photo { object-position: 50% 15%; } /* wider frames on small screens keep heads in view */
.page-hero__frame { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius) 110px var(--radius) var(--radius); box-shadow: var(--shadow); }
.page-hero__art { position: absolute; left: -32px; bottom: -36px; width: 210px; padding: 8px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.page-hero__art .service__art { max-width: none; margin: 0; }
.page-hero__media--whole .page-hero__frame { aspect-ratio: 1200 / 630; } /* a picture with writing keeps its own shape */
.page-hero__frame .about__photo { object-position: 50% 85%; } /* the man stands at the bottom: keep his feet in the wider tablet frame */

.checks li { align-items: flex-start; }
.checks .icon { margin-top: 2px; }

.overview__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.overview__intro { padding-right: 56px; border-right: 1px solid var(--line); }
.overview__intro p { margin: 0; }
.ticks li { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; color: var(--ink); }
.ticks .icon { width: 22px; height: 22px; margin-top: 3px; padding: 4px; border-radius: 50%; background: var(--coral-deep); color: var(--white); stroke-width: 3; }

.types { background: linear-gradient(180deg, var(--peach-soft), var(--white)); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
.split h2 { margin-bottom: 24px; }
.split .underlined::after { margin-top: 16px; }
.split__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 110px var(--radius) var(--radius) var(--radius); }
.split__media .photo { object-position: 50% 15%; } /* keeps faces in view in upright photos */
.metrics__label { margin: 26px 0 12px; font-size: 16px; }
.metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.metrics li { padding: 6px 16px; border: 1px solid #e9ddfb; border-radius: 30px; background: #f8f3ff; color: var(--ink); font-weight: 400; font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.step { position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: -10px; height: 2px; background: linear-gradient(90deg, var(--coral), rgba(255, 90, 60, .12)); }
.step__number { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50%; background: var(--gradient); color: var(--ink); font: 700 18px/1 var(--head); }
.step p { margin: 0; }

.package { background: linear-gradient(180deg, var(--white), var(--peach-soft)); }
.switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 5px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); }
.switch__tab { padding: 10px 26px; border: 0; border-radius: 30px; background: transparent; font-weight: 400; transition: background-color .3s, color .3s; }
.switch__tab:hover { background: var(--peach-soft); }
.switch__tab[aria-selected="true"] { background: var(--coral-deep); color: var(--white); }
[role="tabpanel"].switch__panel { max-width: 960px; margin-inline: auto; padding: 36px 40px; border: 1px solid #e9ddfb; border-radius: var(--radius); background: #f8f3ff; }
.switch__panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.switch__panel li { display: flex; align-items: flex-start; gap: 14px; }
.switch__panel li .icon { margin-top: 3px; color: var(--coral-deep); }
.switch__panel strong { display: block; color: var(--ink); font-weight: 500; }
.js .switch__heading { display: none; }
.js .switch__panel:not(.is-active) { display: none; }
.js .switch__panel.is-active { animation: panel-in .5s ease both; }
.no-js .switch { display: none; }
.no-js .switch__panel + .switch__panel { margin-top: 24px; }

.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 24px; }
.faq__column { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: background-color .3s, border-color .3s; }
.faq__item[open] { border-color: #e9ddfb; background: #f8f3ff; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; color: var(--ink); font: 600 17px/1.35 var(--head); list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; color: var(--coral-deep); font: 400 26px/1 var(--body); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0; padding: 0 22px 20px; }

.related { padding: 0 0 90px; }
.related__panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 52px; border-radius: var(--radius); background: var(--gradient); color: var(--ink); }
.related__panel > div { flex: 1 1 360px; max-width: 660px; }
.related__panel h2 { margin-bottom: 10px; font-size: clamp(24px, 2.6vw, 34px); }
.related__panel p { margin: 0; }
.related__panel .btn:focus-visible { outline-color: var(--ink); }

/* ---------- Performance marketing page ---------- */
.intro__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.intro h2 { margin-bottom: 24px; }
.intro .underlined::after { margin-top: 16px; }

/* Five steps on a ring; each position is a point on a circle of radius 36%. */
.cycle { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.cycle__ring circle { stroke: var(--coral); stroke-width: .35; stroke-dasharray: 1.6 1.6; }
.cycle__ring path { stroke: var(--coral-deep); stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; }
.cycle__item { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 140px; color: var(--ink); font-weight: 400; font-size: 15px; line-height: 1.3; text-align: center; transform: translate(-50%, -29px); }
.cycle__item:nth-child(1) { top: 14%; left: 50%; }
.cycle__item:nth-child(2) { top: 38.9%; left: 84.2%; }
.cycle__item:nth-child(3) { top: 79.1%; left: 71.2%; }
.cycle__item:nth-child(4) { top: 79.1%; left: 28.8%; }
.cycle__item:nth-child(5) { top: 38.9%; left: 15.8%; }
.cycle__icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--coral-deep); border-radius: 50%; background: var(--white); color: var(--coral-deep); }
.cycle__label { padding: 1px 8px; border-radius: 8px; background: var(--white); }
.cycle__centre { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; color: var(--ink); font: 700 20px/1.2 var(--head); transform: translate(-50%, -50%); }
.cycle__centre .icon { width: 30px; height: 30px; color: var(--coral-deep); }

.calc { background: linear-gradient(180deg, var(--peach-soft), var(--white)); }
.calc__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 1000px; margin-inline: auto; overflow: hidden; border: 1px solid #e9ddfb; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.calc__inputs { display: grid; align-content: center; gap: 18px; padding: 36px 40px; }
.calc__field { display: grid; gap: 6px; color: var(--ink); font-weight: 400; font-size: 15px; }
.calc__field input { width: 100%; min-width: 0; padding: 11px 16px; border: 1px solid #cfc8d9; border-radius: 12px; background: var(--white); color: var(--ink); font: 400 18px/1.4 var(--body); }
.calc__note { margin: 0; font-size: 14px; }
.calc__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 24px; padding: 36px 40px; background: #f8f3ff; }
.calc__result h3 { min-height: 2.7em; margin-bottom: 8px; font-size: 16px; line-height: 1.35; }
.calc__value { margin: 0 0 6px; color: var(--coral-deep); font-weight: 300; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.calc__definition { margin: 0; font-size: 14px; }
.calc__summary, .calc__caveat { grid-column: 1 / -1; margin: 0; }
.calc__summary { padding-top: 20px; border-top: 1px solid #e2d4f7; color: var(--ink); font-weight: 400; }
.calc__caveat { font-size: 14px; }

.channel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.channel + .channel { margin-top: 64px; }
.channel--reverse .channel__media { order: 2; border-radius: var(--radius) 110px var(--radius) var(--radius); }
.channel__title { margin-bottom: 14px; font-size: clamp(24px, 2.6vw, 34px); }

.support { margin-top: 72px; }
.support__title { margin-bottom: 24px; text-align: center; }
.support__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.support__list a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s, box-shadow .35s, background-color .3s; }
.support__list a:hover { background: #f8f3ff; box-shadow: var(--shadow); transform: translateY(-4px); }
.support__list .service__art { flex: none; width: 92px; margin: 0; }
.support__list a > span { font-size: 15px; line-height: 1.5; }
.support__list strong { display: block; margin-bottom: 4px; color: var(--ink); font: 600 16px/1.35 var(--head); }

/* ---------- Contact page ---------- */
.contact .page-hero__text { margin-bottom: 32px; }
.contact__card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form p { margin: 0; }
.form label { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 400; font-size: 15px; }
.form label span { color: var(--coral-deep); }
.form input, .form textarea { width: 100%; padding: 12px 16px; border: 1px solid #d6cfdd; border-radius: 12px; background: #f7f5f8; color: var(--ink); font: 300 17px/1.4 var(--body); transition: border-color .25s, background-color .25s; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--coral-deep); background: var(--white); }
.form input:user-invalid { border-color: var(--coral-deep); }
.form__trap { position: absolute; left: -9999px; } /* hidden from people, not from form-filling robots */
.form .form__send { justify-content: center; width: 100%; margin-top: 4px; }
.form .form__status { padding: 12px 16px; border-radius: 12px; background: var(--butter); color: var(--ink); font-size: 15px; }
.form__status a { font-weight: 400; text-decoration: underline; overflow-wrap: anywhere; }
.form .form__note { color: var(--muted); font-size: 14px; text-align: center; }
.form__note a { text-decoration: underline; }
.form__note a:hover { color: var(--coral-deep); }
/* Notes of the checks (main.js), the approval box and the answer after sending. */
.form [aria-invalid="true"] { border-color: var(--coral-deep); }
.form .form__error { display: block; margin-top: 6px; color: var(--coral-deep); font-size: 14px; }
.form .form__check { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 10px; }
.form .form__check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--coral-deep); }
.form .form__check label { flex: 1; margin: 0; font-weight: 300; }
.form__check a { text-decoration: underline; }
.form__check a:hover { color: var(--coral-deep); }
.form .form__check .form__error { flex-basis: 100%; }
.form .form__send:disabled { opacity: .7; cursor: progress; }
.form .form__status[data-kind="error"] { background: var(--peach); }
.form .form__status[data-kind="success"] { background: #e6f4e8; }
.contact__panel {position: relative; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 48px 44px; border-radius: 18px; background-color: var(--coral-deep); color: var(--white); }
/* The desk photo, softened and tinted coral. Multiplying keeps every part of it
   at least as dark as the plain coral, so the white text stays readable. */
.contact__panel {
    background-image: linear-gradient(var(--coral-deep), var(--coral-deep)), linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)), url("../img/photos/slide3.jpg");
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply, normal, normal;
}
.contact__panel > * { position: relative; z-index: 1; }
.contact__panel h2 { color: var(--white); font-size: clamp(28px, 2.8vw, 40px); }
.contact__panel p { max-width: 420px; font-size: 19px; }
.contact__direct { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; }
.contact__direct a { display: inline-flex; align-items: center; gap: 12px; font-weight: 400; font-size: 20px; overflow-wrap: anywhere; }
.contact__direct a:hover, .contact__social a:hover { text-decoration: underline; }
.contact__social { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 15px; }
.contact__panel :focus-visible { outline-color: var(--white); }
.contact__panel > .contact__art { position: absolute; right: 14px; bottom: 14px; z-index: 0; width: 190px; height: 190px; opacity: .55; pointer-events: none; }
.office__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 48px; }
.office address { margin-bottom: 24px; color: var(--ink); font-size: 19px; font-style: normal; }
.office__map { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); background: var(--peach-soft); box-shadow: var(--shadow); }
.office__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- About page ---------- */
.about__title { font-size: clamp(32px, 3.8vw, 52px); text-wrap: balance; }
.about__stats { margin-top: 56px; padding-block: 30px; text-align: center; }
.about__open { background: linear-gradient(180deg, var(--peach-soft), var(--white)); }
.about__logos { padding-top: 30px; padding-bottom: 80px; }
.logos.about__logos h2 { margin-bottom: 20px; }
.about__sectors { max-width: 640px; margin: 0 auto 32px; }
.cards.measures { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; text-align: center; }
.measures .measures__short { margin-bottom: 12px; color: var(--coral-deep); font: 700 40px/1.1 var(--head); }
.measures h3 { font-size: 19px; }
.measures__note { max-width: 700px; margin: 32px auto 0; text-align: center; }
.measures__note p { margin-bottom: 20px; }
.about__logos + .offer { padding-top: 0; }
.offer { padding: 30px 0 90px; }
.offer__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 48px; padding: 52px; border-radius: var(--radius); background: var(--coral-deep); color: var(--white); }
.offer__panel .eyebrow, .offer__panel h2 { color: var(--white); }
.offer__panel h2 { font-size: clamp(28px, 3.2vw, 44px); }
.offer__panel p { font-size: 18px; }
.offer__button { background: var(--white); color: var(--coral-deep); }
.offer__button:hover { background: var(--butter); color: var(--ink); }
.offer__panel :focus-visible { outline-color: var(--white); }
.offer__panel .offer__note { margin: 18px 0 0; font-size: 14px; }
.offer__report { padding: 32px 34px; border-radius: 18px; background: var(--white); color: var(--text); }
.offer__report h3 { margin-bottom: 8px; }
.offer__report .checks { margin-bottom: 16px; }
.offer__report p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.contact__request { padding: 14px 18px; border-radius: 12px; background: var(--butter); color: var(--ink); }
.form .contact__request strong { display: block; font-weight: 500; }

/* ---------- Privacy notice, cookie policy and job pages ---------- */
.page-hero--text { padding-bottom: 0; }
.reading.container { max-width: 860px; }
.reading__lead { max-width: none; margin-top: 24px; }
.legal .post-content p, .legal .post-content li { font-size: 17px; }
.legal .post-content p { margin-bottom: 18px; }
.legal .post-content ol.letters { list-style: lower-alpha; }
.legal .post-content a { overflow-wrap: anywhere; }
.legal .post-table td { overflow-wrap: anywhere; }
.section.legal { padding-top: 28px; }
.section.jobs { padding-top: 40px; }
.jobs__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.job { padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.job + .job { margin-top: 40px; }
.job h2 { font-size: clamp(26px, 2.8vw, 36px); }
.job h3 { margin: 24px 0 8px; font-size: 19px; }
.job__intro { max-width: 860px; }
.job__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.job .checks li { padding: 5px 0; color: var(--text); font-weight: 300; } /* long lines read better light */
.job__apply { margin-top: 30px; padding: 26px 28px; border-radius: 16px; background: var(--butter); color: var(--ink); }
.job__apply h3 { margin-top: 0; }
.job__apply p a { overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--coral-deep); text-underline-offset: 3px; }
.job__note { font-size: 15px; }

/* ---------- Cookie notice ---------- */
.consent { position: fixed; left: 18px; bottom: 18px; z-index: 60; width: min(460px, 100% - 36px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 18px 50px rgba(38, 38, 38, .22); }
.consent h2 { margin-bottom: 8px; font-size: 20px; }
.consent p { font-size: 15px; line-height: 1.55; }
.consent a { text-decoration: underline; text-decoration-color: var(--coral-deep); text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.no-js [data-consent-open] { display: none; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 30px; background: linear-gradient(90deg, var(--peach), var(--butter)); } /* the header's gradient; a straight top edge */
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 44px; border-bottom: 1px solid rgba(38, 38, 38, .16); }
.footer__cta h2 { margin: 0; }
.footer__eyebrow { margin-bottom: 8px; color: var(--ink); text-transform: uppercase; font-weight: 400; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 32px; padding: 44px 0; }
.footer address { margin-top: 6px; font-style: normal; }
.footer h3 { font-size: 15px; text-transform: uppercase; }
.footer li { padding: 3px 0; overflow-wrap: anywhere; }
.footer li a { transition: color .25s, padding .25s; }
.footer li a:hover { padding-left: 6px; color: var(--coral-deep); text-decoration: underline; }
.footer__about p { max-width: 330px; margin-top: 18px; }
.footer__end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; padding: 22px 64px 0 0; border-top: 1px solid rgba(38, 38, 38, .16); } /* kept clear of the floating buttons */
.footer__copy { margin: 0; font-size: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; }
.footer .footer__legal li { padding: 0; }
.footer__legal button { padding: 0; border: 0; background: none; font-size: inherit; }
.footer__legal button:hover { color: var(--coral-deep); text-decoration: underline; }
.footer .footer__legal a:hover { padding-left: 0; }

/* ---------- Floating buttons ---------- */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: var(--coral-deep); color: var(--white); box-shadow: var(--shadow); transition: opacity .3s, transform .3s, visibility .3s, background-color .3s; }
.float__btn:hover { background: var(--ink); }
.float__top { opacity: 0; visibility: hidden; transform: translateY(14px); }
.float__top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Scroll entrance effects ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .8s ease var(--delay, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms); }
.js [data-reveal="up"] { transform: translateY(50px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Tablet and small laptop ---------- */
@media (max-width: 1100px) {
    .header__menu {
        position: absolute;
        inset: 100% 20px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 20px;
        border-radius: 16px;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    .header__menu.is-open { display: flex; animation: post-in .3s ease both; }
    .header__menu nav { margin: 0; }
    .nav { flex-direction: column; gap: 4px; }
    .nav__item { flex-wrap: wrap; }
    .nav__link { display: inline-block; }
    .nav__toggle { width: 44px; height: 40px; margin-left: auto; }
    .submenu { position: static; display: none; width: 100%; min-width: 0; margin: 4px 0; padding: 0 0 0 10px; border: 0; border-left: 2px solid var(--peach); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
    .submenu::before { display: none; }
    .submenu a { white-space: normal; }
    .nav__item.is-open .submenu, .no-js .submenu { display: block; }
    .no-js .nav__toggle { display: none; }
    .lang { align-self: flex-start; }
    .burger { display: block; }
    .no-js .burger { display: none; }
    .no-js .header__menu { position: static; display: flex; flex-wrap: wrap; flex-direction: row; }
    .no-js .header__inner { flex-wrap: wrap; }
    .no-js .nav { flex-direction: row; flex-wrap: wrap; }

    .bento { grid-template-columns: minmax(0, 1fr); }
    .bento__metrics { min-height: 0; }
    .power__grid { grid-template-columns: minmax(0, 1fr); }
    .power__intro { max-width: 520px; }
    .logos__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .results__panel { grid-template-columns: minmax(0, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* room for the address */
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work__grid, .testimonials__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .testimonials__photo { max-width: 300px; }
    .page-hero__grid, .overview__grid, .split, .faq__grid, .intro__grid, .calc__panel, .channel, .support__list, .job__lists { grid-template-columns: minmax(0, 1fr); }
    .channel { gap: 28px; }
    .channel--reverse .channel__media { order: 0; }
    .page-hero__grid { gap: 40px; }
    .page-hero__media { margin-bottom: 36px; }
    .page-hero__frame, .split__media { aspect-ratio: 16 / 10; }
    .page-hero__art { left: -8px; } /* stays inside the screen once the columns stack */
    .cards.measures { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
    .offer__panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .contact__card, .office__grid { grid-template-columns: minmax(0, 1fr); }
    .contact__direct { margin-top: 0; }
    .office__grid { gap: 32px; }
    .overview__grid { gap: 28px; }
    .overview__intro { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
    .split { gap: 32px; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
    body { font-size: 16px; }
    .section { padding: 56px 0; }
    .header__inner { min-height: 76px; }
    .header.is-stuck .header__inner { min-height: 66px; }
    .hero { padding-top: 110px; }
    .hero__intro { margin-bottom: 36px; }
    .bento__metrics { gap: 20px; padding: 24px; }
    .bento__big { font-size: 25px; }
    .bento__main { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "info" "photo" "stats"; }
    .bento__info { padding: 28px 24px; }
    .numbers { gap: 12px; }
    .numbers__badge { width: 40px; height: 40px; font-size: 14px; }
    .bento__photo { min-height: 340px; }
    .bento__stats { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .showcase__frame { border-radius: 24px; aspect-ratio: 4 / 3; }
    /* Photo above the text, so the title does not cover faces on narrow screens. */
    .story { min-height: 0; background: var(--ink); }
    .story::after { display: none; }
    .story__photo { position: static; height: auto; aspect-ratio: 4 / 3; }
    .story__body { position: relative; z-index: 1; min-height: 0; padding: 22px; background: var(--ink); }
    .tabs { grid-template-columns: minmax(0, 1fr); }
    .tabs__list { flex-direction: row; flex-wrap: wrap; margin-bottom: 8px; }
    .tabs__tab { flex: 1 1 auto; border-radius: 10px; text-align: center; }
    .tabs__tab:hover { padding-left: 20px; }
    .tabs__tab[aria-selected="true"]::after { display: none; }
    .tabs__panels { min-height: 0; padding: 24px 18px; border-radius: var(--radius); }
    .chart { padding: 16px 10px; }
    .chart__bar { width: 8px; }
    .logos__list { gap: 8px; }
    .services, .cards { grid-template-columns: minmax(0, 1fr); }
    .services { gap: 8px; }
    .service { padding: 20px 12px 28px; }
    .posts { grid-template-columns: minmax(0, 1fr); }
    .results { padding-bottom: 60px; }
    .results__panel { padding: 28px 20px; }
    .results__list { grid-template-columns: minmax(0, 1fr); }
    .page-hero { padding-top: 96px; }
    .blog--list { padding-top: 30px; }
    .contact__card { gap: 20px; padding: 16px; }
    .offer { padding-bottom: 60px; }
    .offer__panel { padding: 32px 20px; }
    .offer__report { padding: 24px 20px; }
    .contact__panel { padding: 32px 18px 110px; }
    .contact__direct a { gap: 8px; font-size: clamp(15px, 4.3vw, 19px); } /* the email address stays on one line */
    .contact__direct .icon { width: 20px; height: 20px; }
    .contact__panel > .contact__art { right: 8px; bottom: 8px; width: 110px; height: 110px; }
    .office__map { aspect-ratio: 4 / 3; }
    .crumbs { margin-bottom: 22px; }
    .page-hero__text { font-size: 17px; }
    .page-hero__frame { aspect-ratio: 5 / 4; border-radius: var(--radius) 70px var(--radius) var(--radius); }
    .page-hero__art { left: -6px; bottom: -34px; width: 130px; }
    .split__media { aspect-ratio: 4 / 3; border-radius: 70px var(--radius) var(--radius) var(--radius); }
    .channel--reverse .channel__media { border-radius: 70px var(--radius) var(--radius) var(--radius); }
    /* The ring becomes a simple list, top to bottom. */
    .cycle { aspect-ratio: auto; }
    .cycle__ring { display: none; }
    .cycle__list { display: grid; gap: 16px; }
    .cycle__item, .cycle__item:nth-child(n) { position: relative; top: auto; left: auto; flex-direction: row; gap: 14px; width: auto; text-align: left; transform: none; }
    .cycle__item:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: 24px; width: 1px; height: 16px; background: var(--coral-deep); }
    .cycle__icon { width: 48px; height: 48px; }
    .cycle__label { padding: 0; }
    .cycle__centre { position: static; flex-direction: row; gap: 14px; margin-top: 20px; font-size: 18px; transform: none; }
    .cycle__centre .icon { width: 48px; padding: 0 9px; }
    .calc__inputs, .calc__results { padding: 26px 20px; }
    .calc__results { grid-template-columns: minmax(0, 1fr); }
    .calc__result h3 { min-height: 0; }
    .steps, .switch__panel ul { grid-template-columns: minmax(0, 1fr); }
    .switch__tab { padding: 9px 18px; }
    [role="tabpanel"].switch__panel { padding: 26px 20px; }
    .related { padding-bottom: 60px; }
    .related__panel { padding: 30px 22px; }
    .related__panel > div { flex-basis: 100%; }
    .footer { padding-top: 50px; }
    /* The cookie table: one card per cookie instead of three narrow columns. */
    .legal .post-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .legal .post-table table, .legal .post-table tbody, .legal .post-table tr, .legal .post-table td { display: block; }
    .legal .post-table tr { margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
    .legal .post-table td { padding: 3px 0; border: 0; }
    .legal .post-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
    .job { padding: 24px 18px; }
    .job__apply { padding: 20px 18px; }
    .consent { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
}

/* One footer column, so the email address is never split. */
@media (max-width: 560px) {
    .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Small phones: keep the name and the menu button side by side. */
@media (max-width: 420px) {
    .header__inner { gap: 12px; }
    .burger { flex: none; }
}
@media (max-width: 359px) {
    .header__inner { gap: 8px; }
    .logo { gap: 8px; font-size: 20px; }
    .logo__mark { width: 34px; height: 34px; }
}

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