/* Public-site typography and content design. */
:root {
    --font-sans: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: "Archivo", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Preserve the original headline proportions without the screen-height cap. */
.hero .hero__title {
    font-size: clamp(36px, 4.9vw, 66px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.022em;
}
.hero .hero__text { max-width: 78ch; }
@media (max-width: 700px) {
    .hero .hero__title { font-size: clamp(34px, 9.6vw, 46px); line-height: 1.02; }
}

main > .section {
    --agency-blue: #087dac;
    --agency-paper: #f1f3f5;
    font-family: var(--font-sans);
    padding-block: clamp(72px, 8vw, 128px);
}

main > .section + .section { border-top: 0; }
:where(main > .section) .section__title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4.5vw, 66px);
    font-weight: 550;
    line-height: 1.08;
    letter-spacing: -.055em;
    max-width: 23ch;
}
:where(main > .section) .section__title .accent { color: var(--agency-blue); }
:where(main > .section) .section__text,
:where(main > .section) .about__text {
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.75;
    color: #555960;
}
:where(main > .section) .section__head { margin-bottom: clamp(36px, 4.5vw, 64px); }
:where(main > .section) .kicker { color: var(--agency-blue); }

.agency-eyebrow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px 32px;
    padding-top: 18px;
    margin-bottom: clamp(36px, 5vw, 76px);
    border-top: 1px solid #d5d8da;
    color: #5a6067;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: .09em;
    line-height: 1.6;
    text-transform: uppercase;
}
.agency-eyebrow > :first-child { color: #191d22; }
.agency-eyebrow a { text-underline-offset: 5px; }
.agency-eyebrow a:hover { text-decoration: underline; }

/* A photographic introduction, with the existing company film still playable. */
.agency-intro { background: #fff; }
.agency-intro .about { --bs-gutter-x: clamp(32px, 7vw, 112px); }
.agency-intro .about__body { padding-block: 20px; }
.agency-intro .about__body .section__title { max-width: 18ch; }
.agency-intro .about__text { max-width: none; margin-top: 28px; }
.agency-intro .about__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding-block: 14px;
    margin-top: 30px;
    color: #11171c;
    font-family: inherit;
    font-size: 14px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 1px solid #11171c;
}
.agency-intro .about__link span { font-size: 22px; }
.agency-intro .about__video {
    display: block;
    padding: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0;
    background: #1d272d;
    text-align: left;
    isolation: isolate;
}
.agency-intro .about__video::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    z-index: 0;
    background: transparent;
    pointer-events: none;
}
.agency-intro .about__video .videoplay__poster {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
    opacity: 1;
    border: 0;
    border-radius: 0;
    transition: transform .6s ease;
}
.agency-intro .about__video:hover .videoplay__poster { transform: none; }
.agency-intro .videoplay__button {
    z-index: 1;
    top: auto;
    left: 20px;
    bottom: 20px;
    transform: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .75);
    background: rgba(0, 0, 0, .2);
    color: #fff;
    box-shadow: none;
}
.agency-intro .about__video:hover .videoplay__button,
.agency-intro .about__video:focus-visible .videoplay__button { transform: scale(1.06); }

/* Engagements read as a considered set, rather than a wall of floating cards. */
.agency-engagement { background: var(--agency-paper); }
.agency-engagement .section__head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 40px 8%;
    max-width: none;
}
.agency-engagement .section__head .section__text {
    margin: 0;
    max-width: none;
    justify-self: stretch;
    text-align: right;
}
.agency-engagement .section__head > *,
.agency-services .section__head > *,
.agency-platform__intro > *,
.agency-service-list .group > * { min-width: 0; }
.agency-models {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto minmax(min-content, 1fr) auto auto;
}
.agency-model {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    min-width: 0;
}
.agency-models .waycard {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    padding: clamp(24px, 3vw, 44px);
    min-height: 440px;
    height: auto;
    border: 1px solid #d7dadb;
    border-right: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.agency-model:last-child .waycard { border-right: 1px solid #d7dadb; }
.agency-models .waycard--feature {
    background: #e0eef4;
    border-top: 3px solid var(--agency-blue);
    padding-top: calc(clamp(24px, 3vw, 44px) - 2px);
}
.agency-models .waycard__label { grid-row: 1; color: #5c666d; font-size: 10px; letter-spacing: .12em; }
.agency-models .waycard__title {
    grid-row: 2;
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.4vw, 34px);
    max-width: none;
    min-height: 0;
    font-weight: 550;
    letter-spacing: -.045em;
    line-height: 1.15;
    margin-bottom: 22px;
}
.agency-models .waycard__text { grid-row: 3; font-size: 15px; color: #525d64; line-height: 1.75; }
.agency-models .waycard__meta {
    grid-row: 4;
    margin-top: 0;
    min-height: 0;
    padding: 24px 0 0;
    font-size: 11px;
    color: #525d64;
}
.agency-engagement .waycard__link {
    align-self: flex-start;
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid #6d777d;
    border-radius: 0;
    padding: 12px 0;
    margin-top: auto;
    background: transparent;
    color: #19232a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
}
.agency-engagement .waycard__link:hover { color: var(--agency-blue); border-color: var(--agency-blue); }
.agency-models .waycard__link {
    grid-row: 5;
    justify-self: start;
    align-self: end;
    margin-top: 24px;
}
.agency-partnership {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(min-content, 1fr) auto;
    column-gap: 60px;
    row-gap: 0;
    margin-top: 64px;
}
.agency-partnership .waycol {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    width: auto;
    padding: 0;
    margin: 0;
}
.agency-partnership .waycard {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    padding: 0 0 0 24px;
    min-height: 0;
    border: 0;
    border-left: 2px solid #a2c7d8;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.agency-partnership .waycard__body { display: grid; grid-template-rows: subgrid; grid-row: span 3; max-width: none; height: auto; }
.agency-partnership .waycard__title { grid-row: 1; max-width: none; font-family: var(--font-heading); font-size: 23px; font-weight: 550; letter-spacing: -.035em; }
.agency-partnership .waycard__text { grid-row: 2; margin-top: 16px; line-height: 1.75; color: #555960; }
.agency-partnership .waycard__link { grid-row: 3; justify-self: start; margin-top: 18px; }

/* Capabilities are full-width linked rows with a restrained blue hover. */
.agency-services.dark {
    background: #111a20;
    color: #fff;
    --ink: #fff;
    --ink-2: #bcc4c9;
    --border: #354047;
}
.agency-services .agency-eyebrow { border-color: #354047; color: #aab7bf; }
.agency-services .agency-eyebrow > :first-child { color: #fff; }
.agency-services .section__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8%; max-width: none; align-items: end; }
.agency-services .section__head .section__text { color: #aab7bf; max-width: none; justify-self: stretch; text-align: right; }
.agency-services .section__title .accent { color: #59c5f0; }
.agency-service-list { border: 0; border-top: 1px solid #354047; }
.agency-service-list .group {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 34px 0;
    border: 0;
    border-bottom: 1px solid #354047;
    transition: background-color .2s ease, padding .2s ease;
}
.agency-service-list .group:hover,
.agency-service-list .group:focus-within { padding-inline: 20px; background: #182b36; }
.agency-service-list .group__name {
    font-family: var(--font-heading);
    grid-column: 1;
    color: #fff;
    font-size: clamp(24px, 2.5vw, 37px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.045em;
    margin: 0;
}
.agency-service-list .group__name a::after { content: ""; position: absolute; inset: 0; }
.agency-service-list .group__name a:hover { color: #fff; }
.agency-service-list .group__items { grid-column: 2; color: #b5c1c9; font-size: 14px; line-height: 1.75; padding-top: 5px; }

/* Two aligned build options, without a decorative product diagram. */
.agency-platform { background: #f1f3f5; }
.agency-platform__intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(32px, 7vw, 100px); margin-bottom: 64px; }
.agency-platform__intro .section__head { margin-bottom: 0; }
.agency-platform .section__title { max-width: 15ch; }
.agency-platform .agency-platform__summary { margin: 0; max-width: none; text-align: right; }
.agency-platform .ways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto minmax(min-content, 1fr) auto;
    column-gap: 48px;
    row-gap: 0;
    margin: 0;
}
.agency-platform .ways > div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.agency-platform .way {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    height: auto;
    padding: 28px 0 0;
    min-height: 0;
    border: 0;
    border-top: 1px solid #a7c4d3;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.agency-platform .way__title { grid-row: 2; min-height: 0; font-size: 26px; font-weight: 550; letter-spacing: -.035em; }
.agency-platform .way__label { grid-row: 1; color: #386378; font-size: 10px; }
.agency-platform .way__text { grid-row: 3; color: #4b626e; line-height: 1.75; }
.agency-platform .way__meta { grid-row: 4; margin-top: 24px; color: #386378; border-color: #b6cdd8; }
.agency-platform .closing__actions { margin-top: 30px; justify-content: flex-start; }

/* People, principles and handover have their own visual rhythm. */
.agency-team { background: #fff; }
main > .section .member__media img { border-radius: 0; border: 0; aspect-ratio: 4 / 4.5; filter: saturate(.8); transition: filter .3s ease; }
main > .section .member__media:hover img { filter: saturate(1); }
main > .section .member__name { font-family: var(--font-heading); font-size: 28px; font-weight: 550; letter-spacing: -.04em; }
main > .section .member__role { color: #087dac; font-family: inherit; font-weight: 550; font-size: 10px; }
main > .section .member__bio { color: #555960; line-height: 1.75; }
main > .section .member__links { padding-top: 20px; border-top: 1px solid #d5d8da; }
main > .section .team {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px 24px;
    margin: 0;
}
main > .section .team > div {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    min-width: 0;
    width: auto;
    padding: 0;
    margin: 0 0 24px;
}
main > .section .team .member {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    min-width: 0;
    height: auto;
}
main > .section .team .member__media { grid-row: 1; margin: 0; }
main > .section .team .member__name { grid-row: 2; margin: 0; }
main > .section .team .member__role { grid-row: 3; margin: 0; }
main > .section .team .member__bio { grid-row: 4; margin: 0; }
main > .section .team .member__bio > :last-child { margin-bottom: 0; }
main > .section .team .member__links { grid-row: 5; align-self: end; margin: 0; }
@media (min-width: 576px) {
    main > .section .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    main > .section .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.agency-principles { background: #e9edf0; }
.agency-principles .section__head { max-width: 950px; }
.agency-principles .rules {
    border: 0;
    border-top: 1px solid #cdd1d2;
    border-radius: 0;
    background: transparent;
}
.agency-principles .rule { position: relative; padding: 36px 32px 36px 0; border: 0; border-bottom: 1px solid #cdd1d2; }
.agency-principles .rule__k { font-family: inherit; color: #18232a; font-size: 19px; font-weight: 550; letter-spacing: -.025em; text-transform: none; margin-bottom: 12px; }
.agency-principles .rule__v { font-size: 14px; color: #555960; line-height: 1.75; max-width: 42ch; }
.agency-ownership { background: #fff; }
.agency-ownership .keep__title { max-width: 17ch; }
.agency-ownership .keep__list { border-top-color: #ccd2d5; }
.agency-ownership .keep__list li { padding: 20px 0 20px 32px; font-size: 16px; border-bottom-color: #ccd2d5; }
.agency-ownership .keep__list li::before { top: 28px; border-radius: 50%; border: 0; background: #087dac; width: 5px; height: 5px; content: ""; }

/* Shared content pages use the same flat, editorial components. */
main > .section:not(.agency-platform) .way {
    border-radius: 0;
    border-color: #d5d8da;
    box-shadow: none;
    padding: 32px;
    transition: border-color .2s ease;
}
main > .section:not(.agency-platform) .way:hover { transform: none; border-color: #087dac; box-shadow: none; }
main > .section .way__title { font-family: var(--font-heading); font-weight: 550; letter-spacing: -.035em; }
main > .section .way__text { line-height: 1.75; }
main > .section .way__media { margin: -32px -32px 24px; }
main > .section .way__media img { border-radius: 0; }
main > .section .areatile { border-radius: 0; box-shadow: none; }
main > .section .gallery__item,
main > .section .about__portrait img,
main > .section .member__media--profile img { border-radius: 0; }
main > .section .faq { border-radius: 0; }
main > .section .about__subtitle { font-size: 28px; font-weight: 550; letter-spacing: -.04em; }
main > .section .field input,
main > .section .field textarea,
main > .section .field select { border-radius: 0; }

/* Rounded article cards, including cards appended by infinite scrolling. */
main .posts .post {
    border: 1px solid #dfe3e5;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
main .posts .post__media {
    flex-shrink: 0;
    margin: 0;
    overflow: hidden;
}
main .posts .post__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
main .posts .post__title { margin: 24px 24px 12px; }
main .posts .post__date { margin: 0 24px 12px; }
main .posts .post__text { margin: 0 24px 24px; }
main .posts .post > :last-child:not(.post__media) { margin-bottom: 24px; }
main .posts .post--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 0;
    margin: 0;
    padding: 0;
}
main .posts .post--featured > div {
    align-self: stretch;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}
main .posts .post--featured > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 32px;
}
main .posts .post--featured .post__media { height: 100%; min-height: 320px; }
main .posts .post--featured .post__media img { height: 100%; aspect-ratio: auto; }
main .posts .post--featured .post__title { margin: 0 0 12px; }
main .posts .post--featured .post__date { margin: 0 0 12px; }
main .posts .post--featured .post__text { margin: 0; }
@media (max-width: 767.98px) {
    main .posts .post--featured { grid-template-columns: minmax(0, 1fr); }
    main .posts .post--featured .post__media { height: auto; min-height: 0; }
    main .posts .post--featured .post__media img { height: auto; aspect-ratio: 16 / 10; }
    main .posts .post--featured > div:last-child { padding: 24px; }
}

main .index__row { grid-template-columns: 1fr; }
main .index__for, main .index__tag { grid-column: 1; }
@media (min-width: 900px) {
    main .index__row { grid-template-columns: 260px minmax(0, 1fr) 120px; }
    main .index__for, main .index__tag { grid-column: auto; }
}

/* A single, confident closing gesture, shared across the public site. */
.closing.agency-closing {
    background: #087dac;
    padding-block: clamp(64px, 7vw, 112px);
    color: #fff;
    text-align: left;
}
.agency-closing .agency-eyebrow { color: #d2eaf4; border-color: #ffffff4d; margin-bottom: 48px; }
.agency-closing .agency-eyebrow > :first-child { color: #fff; }
.agency-closing .closing__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.agency-closing .closing__panel::after { display: none; }
.agency-closing .closing__body { max-width: none; }
.agency-closing .closing__title { font-family: var(--font-heading); max-width: 14ch; font-size: clamp(48px, 7.8vw, 112px); line-height: .98; font-weight: 550; letter-spacing: -.065em; color: #fff; }
.agency-closing .closing__title .accent { color: #b6e4f7; }
.agency-closing .closing__text { max-width: 48ch; margin-top: 30px; color: #e1f0f7; line-height: 1.7; }
.agency-closing .closing__actions { margin-top: 36px; justify-content: flex-start; }
.agency-closing .cta { border-radius: 0; padding: 16px 22px; font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; }
.agency-closing .btn-text { font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; color: #fff; }
.footer { font-family: var(--font-sans); background: #111a20; }
.footer__inner { padding-block: clamp(64px, 7vw, 100px); }
.footer__col .footer__heading { color: #91a7b5; font-family: inherit; font-size: 10px; font-weight: 550; }
.footer__col a { line-height: 1.7; }
.footer__legal { border-top-color: #354047; }

@media (min-width: 992px) {
    .agency-intro .about__body { width: 56%; }
    .agency-intro .about__media { width: 44%; }
    .agency-principles .rule:nth-child(3n + 2),
    .agency-principles .rule:nth-child(3n + 3) { padding-left: 32px; }
    .agency-principles .rule:nth-child(3n + 2)::after,
    .agency-principles .rule:nth-child(3n + 3)::after { content: ""; position: absolute; left: 0; top: 36px; bottom: 36px; border-left: 1px solid #cdd1d2; }
}
@media (max-width: 991.98px) {
    .agency-intro .about__video { aspect-ratio: 16 / 9; }
    .agency-engagement .section__head,
    .agency-services .section__head { grid-template-columns: 1fr; gap: 24px; }
    .agency-engagement .section__head .section__text,
    .agency-services .section__head .section__text { max-width: none; text-align: left; }
    .agency-models .waycard { padding: 24px; }
    .agency-models .waycard--feature { padding-top: 22px; }
    .agency-models .waycard__title { font-size: 25px; }
    .agency-models .waycard__text { font-size: 14px; }
    .agency-service-list .group { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
    .agency-platform__intro { gap: 32px; }
    .agency-platform .section__title { font-size: 40px; }
}
@media (max-width: 767.98px) {
    .agency-eyebrow { font-size: 10px; gap: 20px; }
    .agency-eyebrow > :last-child:not(:first-child) { max-width: 46%; text-align: right; }
    .agency-models { display: block; }
    .agency-model { display: block; }
    .agency-models .waycard { display: flex; }
    .agency-models .waycard { min-height: 0; border-right: 1px solid #d7dadb; border-bottom: 0; padding: 28px; }
    .agency-model:last-child .waycard { border-bottom: 1px solid #d7dadb; }
    .agency-models .waycard--feature { padding-top: 26px; }
    .agency-models .waycard__title { font-size: 30px; }
    .agency-models .waycard__text { font-size: 15px; }
    .agency-models .waycard__link { align-self: flex-start; margin-top: 24px; }
    .agency-partnership { display: block; margin-top: 48px; }
    .agency-partnership .waycol + .waycol { margin-top: 36px; }
    .agency-partnership .waycol,
    .agency-partnership .waycard,
    .agency-partnership .waycard__body { display: block; }
    .agency-service-list .group { grid-template-columns: minmax(0, 1fr); padding-block: 28px; gap: 12px 16px; }
    .agency-service-list .group__name { font-size: 28px; }
    .agency-service-list .group__items { grid-column: 1; grid-row: 2; padding-top: 0; }
    .agency-service-list .group:hover,
    .agency-service-list .group:focus-within { padding-inline: 8px; }
    .agency-platform__intro { grid-template-columns: 1fr; margin-bottom: 44px; }
    .agency-platform .agency-platform__summary { text-align: left; }
    .agency-platform .ways { display: block; }
    .agency-platform .ways > div { display: block; }
    .agency-platform .ways > div + div { margin-top: 36px; }
    .agency-platform .way { display: flex; }
    .agency-platform .section__title { font-size: 38px; }
    .agency-principles .rule { padding: 28px 16px 28px 0; }
    .agency-principles .rule:nth-child(even) { padding-left: 16px; }
    .agency-closing .closing__panel { grid-template-columns: 1fr; gap: 0; }
    .agency-closing .closing__title { font-size: clamp(48px, 11vw, 82px); }
    .agency-closing .closing__text { font-size: 16px; }
    .agency-ownership .keep { --bs-gutter-y: 36px; }
}
@media (max-width: 575.98px) {
    .agency-principles .rule { padding-inline: 0; }
    .agency-principles .rule:nth-child(even) { padding-left: 0; }
    main > .section .member__name { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .agency-intro .about__video .videoplay__poster,
    .agency-service-list .group,
    main > .section .member__media img,
    main > .section .way { transition: none; }
    .agency-intro .about__video:hover .videoplay__poster { transform: none; }
}
