:root {
  --navy: #102a56;
  --navy-dark: #0a1f43;
  --teal: #397478;
  --charcoal: #252a30;
  --black: #000000;
  --blue-grey: #dde3ea;
  --light-grey: #f3f6f9;
  --line: #cbd4de;
  --white: #ffffff;
  --max-width: 1280px;
  --section-space: clamp(5.5rem, 8vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--white); color: var(--charcoal); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 3.5rem), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--white); color: var(--navy); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 82px; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--white); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); color: var(--navy); box-shadow: 0 10px 28px rgba(16,42,86,.08); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1rem; white-space: nowrap; }
.brand strong { font-weight: 700; }
.brand-symbol { display: flex; align-items: center; gap: 3px; height: 25px; }
.brand-symbol > span { width: 3px; height: 13px; background: currentColor; transform: skew(-14deg); }
.brand-symbol > span:nth-child(2) { height: 24px; background: #86afb1; }
.brand-symbol > span:nth-child(3) { height: 18px; }
.main-navigation { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: .86rem; font-weight: 500; }
.main-navigation > a:not(.button) { position: relative; opacity: .9; }
.main-navigation > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .2s ease; }
.main-navigation > a:not(.button):hover::after, .main-navigation > a:not(.button):focus-visible::after { right: 0; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px 7px; border: 0; background: transparent; color: inherit; }
.menu-button span { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s ease, opacity .25s ease; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.35rem; border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: var(--white); font-weight: 600; font-size: .9rem; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: var(--teal); background: var(--teal); box-shadow: 0 10px 24px rgba(16,42,86,.2); }
.button-header { min-height: 42px; padding: .6rem 1rem; border-color: var(--white); background: var(--white); color: var(--navy); }
.site-header.is-scrolled .button-header { border-color: var(--navy); background: var(--navy); color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.hero .button, .contact-copy .button, .contact-form .button { min-height: 56px; padding: .95rem 1.65rem; font-size: 1rem; }

.hero { position: relative; min-height: min(920px, 100svh); display: flex; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-background { position: absolute; z-index: 0; top: 0; right: -2%; width: 74%; height: 100%; background: url("Images freelance/Hemato_Strategy_background.svg") center right / cover no-repeat; opacity: .95; }
.hero-background::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(16,42,86,.94) 22%, rgba(16,42,86,.15) 78%); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; padding-top: 8.5rem; padding-bottom: 4rem; }
.hero-content { max-width: 1600px; }
.hero h1 { margin: 0; max-width: 1600px; font-size: clamp(3.2rem, 5.7vw, 5.8rem); line-height: .99; letter-spacing: -.06em; }
.hero-summary { max-width: 1100px; margin: 2rem 0 0; color: rgba(255,255,255,.79); font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.7; }
.hero-signature { margin: 1.35rem 0 0; color: #acd0d1; font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.hero .button { margin-top: 2rem; }
.hero-reveal { opacity: 0; transform: translateY(18px); animation: hero-in .8s .15s ease forwards; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

.section { padding-block: var(--section-space); }
.section p { color: var(--black); font-size: 1.35rem; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.65rem, 4.2vw, 4.6rem); line-height: 1.05; letter-spacing: -.05em; }
h3 { margin: 0; color: var(--navy); font-size: 1.24rem; line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }

.problem-section { background: var(--white); }
.problem-grid { width: min(calc(100% - 2rem), 1480px); display: grid; grid-template-columns: minmax(420px, .82fr) minmax(0, 1.18fr); gap: clamp(3rem, 5vw, 6rem); align-items: center; }
.statistics-carousel { width: 100%; min-width: 0; justify-self: start; }
.problem-copy { width: 100%; justify-self: stretch; }
.carousel-viewport { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 60px rgba(16,42,86,.1); }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { height: 100%; object-fit: contain; }
.carousel-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; }
.carousel-controls { display: flex; gap: .55rem; }
.carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); transition: background .2s, color .2s, border-color .2s; }
.carousel-controls button:hover, .carousel-controls button:focus-visible { border-color: var(--navy); background: var(--navy); color: var(--white); }
.carousel-controls svg { width: 18px; }
.carousel-indicators { display: flex; gap: .55rem; }
.carousel-indicators button { width: 28px; height: 3px; padding: 0; border: 0; background: var(--line); transition: width .3s, background .3s; }
.carousel-indicators button.is-active { width: 50px; background: var(--teal); }
.problem-copy h2 { margin-bottom: 2.1rem; }
.problem-copy p { margin: 0 0 1.25rem; color: var(--black); font-size: 1.1rem; }
.problem-copy p:last-child { margin-top: 1.8rem; padding-left: 1.25rem; border-left: 3px solid var(--teal); color: var(--black); font-size: 1.1rem; font-weight: 600; }

.journey-section { min-height: 760px; display: flex; align-items: center; background: var(--navy); color: var(--white); overflow: hidden; }
.journey-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.journey-intro h2 { color: var(--white); }
.journey-intro p { max-width: 560px; margin: 0; color: var(--white); font-size: 1.35rem; }
.strategy-journey { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(4rem, 8vw, 7rem) 0 0; padding: 0; list-style: none; border-top: none; border-bottom: none; }
.strategy-journey li { opacity: 0; transform: translateY(22px); }
.strategy-journey.is-visible li { animation: journey-in .65s ease forwards; }
.strategy-journey.is-visible li:nth-child(2) { animation-delay: .22s; }
.strategy-journey.is-visible li:nth-child(3) { animation-delay: .44s; }
.strategy-journey.is-visible li:nth-child(4) { animation-delay: .66s; }
@keyframes journey-in { to { opacity: 1; transform: translateY(0); } }
.strategy-journey a { position: relative; min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: 1.5rem; border-right: none; text-align: center; transition: background .25s, padding .25s; }
.strategy-journey li:last-child a { border-right: 0; padding-left: 1.5rem; }
.strategy-journey li:not(:first-child) a { padding-left: 1.5rem; }
.strategy-journey a:hover { background: rgba(255,255,255,.05); }
.journey-number { color: #9cc2c4; font-size: 2rem; font-weight: 600; line-height: 1; text-align: center; }
.strategy-journey strong { color: var(--white); font-size: clamp(1.65rem, 2.6vw, 2.7rem); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; text-align: center; }
.strategy-journey svg { position: absolute; top: 50%; right: -24px; z-index: 2; width: 48px; height: 48px; padding: 8px; border-radius: 50%; background: #9cc2c4; color: var(--navy); transform: translateY(-50%); }

.pillar-light { background: var(--white); }
.pillar-tint { background: var(--light-grey); }
.pillar-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr); gap: 2.5rem 6rem; padding-bottom: clamp(3.2rem, 6vw, 5.5rem); }
.pillar-top h2 { grid-column: 1 / -1; max-width: 1060px; font-size: clamp(2.45rem, 4vw, 4.35rem); }
.pillar-detail { align-self: start; }
.pillar-label { color: var(--teal); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; }
.pillar-questions { align-self: start; }
.pillar-questions { margin-top: .65rem; }
.pillar-questions p { position: relative; margin: 0; padding: .95rem 0 .95rem 1.6rem; border-bottom: none; color: var(--black); font-size: 1.35rem; font-weight: 400; line-height: 1.42; }
.pillar-questions p:first-child { border-top: none }
.pillar-questions p::before { content: ""; position: absolute; top: 1.55rem; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.pillar-objective { max-width: 550px; margin: 1.6rem 0 0; color: var(--black); font-size: 1.35rem; font-weight: 400; line-height: 1.42; }
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.services-label { justify-self: start; text-align: left; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card-grid-four { grid-template-columns: repeat(4, 1fr); }
.service-card { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-start; padding: 1.8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(57,116,120,.72); box-shadow: 0 18px 42px rgba(16,42,86,.1); }
.card-heading { display: flex; align-items: flex-start; gap: 1rem; }
.icon-wrap { flex: 0 0 46px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: rgba(57,116,120,.1); color: var(--teal); }
.icon-wrap svg { width: 23px; height: 23px; stroke-width: 1.7; }
.service-card h3 { padding-top: .35rem; }
.service-card p { margin: 1.35rem 0 0; color: var(--black); font-size: 1.0625rem; line-height: 1.55; }

.audiences-section { background: var(--white); }
.audiences-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.audiences-heading p { max-width: 420px; margin: 0; color: var(--teal); font-size: 1.2rem; font-weight: 500; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-item { min-height: 390px; padding: 2.2rem 1.7rem; text-align: center; border-right: 1px solid var(--line); transition: background .25s, transform .25s; }
.audience-item:first-child { border-left: 1px solid var(--line); }
.audience-item:hover { z-index: 1; transform: translateY(-5px); background: var(--navy); }
.audience-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); transition: border-color .25s, color .25s; }
.audience-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.audience-item h3 { min-height: 64px; margin-top: 2.5rem; font-size: 1.25rem; transition: color .25s; }
.audience-item p { margin: 1rem 0 0; color: var(--black); font-size: 1.0625rem; line-height: 1.6; transition: color .25s; }
.audience-item:hover .audience-icon { border-color: #9cc2c4; color: #9cc2c4; }
.audience-item:hover h3 { color: var(--white); }
.audience-item:hover p { color: rgba(255,255,255,.68); }

.about-section { background: var(--light-grey); }
.about-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: center; }
.profile { max-width: 440px; margin: 0; }
.profile-image { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--blue-grey); }
.profile-image img { height: 100%; object-fit: cover; }
.profile figcaption { display: flex; flex-direction: column; align-items: center; padding: 1.2rem 1rem 0; text-align: center; }
.profile figcaption strong { color: var(--navy); font-size: 1.03rem; }
.profile figcaption span { margin-top: .25rem; color: #69737d; font-size: .83rem; }
.about-content h2 { margin-bottom: 2rem; }
.about-content p { color: var(--navy); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.48; }
.credibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(5rem, 8vw, 7.5rem); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.credibility-block { min-height: 270px; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.credibility-block:hover { z-index: 1; transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,42,86,.09); }
.credibility-block h3 { min-height: 66px; font-size: 1.13rem; }
.credibility-block p { margin: 2rem 0 0; color: var(--black); font-size: 1.0625rem; }

.experience-section { background: var(--navy); color: var(--white); }
.experience-heading { max-width: 760px; margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.experience-heading h2 { color: var(--white); }
.experience-heading p { max-width: 650px; margin: 1.2rem 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.6; }
.case-grid { width: 100%; display: flex; align-items: stretch; gap: 1.25rem; transition: width .4s cubic-bezier(.2,.72,.3,1), gap .4s ease; }
.case-grid .case-card { flex: 1 1 0; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; background: var(--white); color: var(--black); box-shadow: 0 16px 40px rgba(5,21,48,.14); transition: flex-basis .4s cubic-bezier(.2,.72,.3,1), height .4s cubic-bezier(.2,.72,.3,1), opacity .3s ease, transform .4s cubic-bezier(.2,.72,.3,1), border-color .3s ease, box-shadow .3s ease; }
.case-grid:not(.has-expanded) .case-card:hover { transform: translateY(-4px); border-color: #9cc2c4; box-shadow: 0 22px 52px rgba(5,21,48,.22); }
.case-card-collapsed { height: 100%; min-height: 490px; display: flex; flex-direction: column; }
.case-card-media, .case-expanded-media { margin: 0; overflow: hidden; background: #eef3f7; }
.case-card-media { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.case-card-media img, .case-expanded-media img { height: 100%; object-fit: contain; }
.case-card-summary { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.45rem, 2vw, 2rem); }
.case-card-summary h3 { color: var(--navy); font-size: clamp(1.25rem, 1.55vw, 1.55rem); line-height: 1.25; }
.case-explore { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding: 1.6rem 0 0; border: 0; background: transparent; color: var(--teal); font-size: .95rem; font-weight: 700; text-align: left; animation: case-cta-nudge 7s ease-in-out infinite; }
.case-cta-arrow { display: inline-block; font-size: 1.1em; transition: transform .2s ease; }
.case-explore:hover, .case-explore:focus-visible { color: var(--navy); }
.case-explore:hover .case-cta-arrow, .case-explore:focus-visible .case-cta-arrow { animation: none; transform: translateX(4px); }
.case-explore:focus-visible, .case-back:focus-visible, .case-study-link:focus-visible { outline: 3px solid #8fb9bb; outline-offset: 4px; border-radius: 2px; }
@keyframes case-cta-nudge {
  0%, 82%, 94%, 100% { transform: translateX(0); }
  88% { transform: translateX(7px); }
}

.case-grid.has-expanded { gap: 0; }
.case-grid.has-expanded .case-card.is-expanded { flex-basis: 100%; }
.case-grid.has-expanded .case-card.is-retracting { flex-basis: 0; opacity: 0; transform: scale(.985); pointer-events: none; }
.case-card-expanded { opacity: 0; transform: translateY(10px); }
.case-card-expanded.is-visible { opacity: 1; transform: translateY(0); transition: opacity .28s ease, transform .28s ease; }
.case-card-expanded { display: grid; grid-template-columns: minmax(0, .84fr) minmax(440px, 1.16fr); grid-template-areas: "back media" "title media" "details details" "link link"; align-items: start; column-gap: clamp(2.75rem, 4.5vw, 4.75rem); padding: clamp(2rem, 3.2vw, 3rem); }
.case-card-collapsed[hidden], .case-card-expanded[hidden] { display: none; }
.case-back { grid-area: back; justify-self: start; display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem); padding: .25rem 0; border: 0; background: transparent; color: var(--teal); font-size: .95rem; font-weight: 700; }
.case-back:hover { color: var(--navy); }
.case-expanded-title { grid-area: title; max-width: none; color: var(--navy); font-size: clamp(2rem, 3.3vw, 3.45rem); line-height: 1.08; letter-spacing: -.045em; }
.case-expanded-media { grid-area: media; align-self: start; width: 100%; max-width: none; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 10px; background: #eef3f7; box-shadow: 0 14px 34px rgba(16,42,86,.09); }
.case-study-details { grid-area: details; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2.5rem, 5vw, 5rem); margin: clamp(3rem, 5vw, 4.5rem) 0 0; }
.case-study-details div { padding: clamp(1.5rem, 2.5vw, 2.15rem) 0; border-top: 1px solid var(--line); }
.case-study-details div:nth-child(odd) { padding-right: clamp(1rem, 2vw, 2rem); }
.case-study-details div:nth-child(even) { padding-left: clamp(1.75rem, 3vw, 3.25rem); border-left: 1px solid var(--line); }
.case-study-details dt { color: var(--teal); font-size: .86rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.case-study-details dd { margin: .55rem 0 0; color: var(--charcoal); font-size: 1rem; line-height: 1.65; }
.case-study-link { grid-area: link; justify-self: start; display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.4rem; color: var(--teal); font-size: 1rem; font-weight: 700; }
.case-study-link:hover { color: var(--navy); }
.case-study-link span { transition: transform .2s ease; }
.case-study-link:hover span, .case-study-link:focus-visible span { transform: translateX(4px); }

@media (min-width: 961px) {
  .case-grid.has-expanded { width: min(calc(100vw - 3.5rem), 1340px); margin-left: 50%; transform: translateX(-50%); }
}

.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(3.5rem, 8vw, 8rem); align-items: start; }
.contact-copy p { max-width: 550px; margin: 1.8rem 0 2rem; color: var(--black); font-size: 1.0625rem; }
.contact-form { padding: clamp(2rem, 4vw, 3.3rem); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 54px rgba(16,42,86,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.contact-form label { display: block; margin-bottom: 1.25rem; }
.contact-form label span { display: block; margin-bottom: .35rem; color: var(--navy); font-size: .78rem; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: .7rem .1rem; border: 0; border-bottom: 1px solid #aab6c1; border-radius: 0; outline: none; background: var(--white); color: var(--charcoal); transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
.contact-form [aria-invalid="true"] { border-color: #9e3838; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.6rem; }
.form-actions p { margin: 0; color: var(--black); font-size: 1.0625rem; }
.form-actions p.is-error { color: #9e3838; }
.form-actions p.is-success { color: var(--teal); font-weight: 600; }
.contact-form .form-privacy-notice { margin: 1.35rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); color: #69737d; font-size: .78rem; line-height: 1.6; }
.form-privacy-notice a { color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.form-privacy-notice a:hover, .form-privacy-notice a:focus-visible { color: var(--navy); }

.legal-hero { display: flex; align-items: end; min-height: 420px; padding: 9.5rem 0 4.5rem; background: var(--navy); color: var(--white); }
.legal-hero h1 { max-width: 900px; margin: 0; color: var(--white); font-size: clamp(3.2rem, 6vw, 5.8rem); line-height: 1; letter-spacing: -.055em; }
.legal-main { background: var(--white); }
.legal-content { width: min(calc(100% - 3.5rem), 880px); margin-inline: auto; padding-block: var(--section-space); }
.legal-language + .legal-language { margin-top: clamp(5rem, 9vw, 8rem); padding-top: clamp(4rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.legal-language h2 { margin: 0 0 1rem; color: var(--navy); font-size: clamp(2.35rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.045em; }
.legal-language h3 { margin: 2.75rem 0 1rem; color: var(--navy); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.025em; }
.legal-language p, .legal-language li, .legal-language address { color: var(--charcoal); font-size: 1.05rem; line-height: 1.75; }
.legal-language p { margin: 0 0 1.2rem; }
.legal-language address { margin: 0 0 1.2rem; font-style: normal; }
.legal-language ul { margin: .75rem 0 1.4rem; padding-left: 1.4rem; }
.legal-language li + li { margin-top: .35rem; }
.legal-language a { color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-language a:hover, .legal-language a:focus-visible { color: var(--navy); }
.legal-updated { color: #69737d; font-size: .92rem; }
.legal-precedence { margin: 1.6rem 0 2.5rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--teal); background: var(--light-grey); }

.site-footer { padding-top: 4rem; background: var(--navy-dark); color: rgba(255,255,255,.62); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 3rem; padding-bottom: 4rem; }
.brand-footer { color: var(--white); }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; font-size: .85rem; }
.footer-grid > div:nth-child(2) strong { color: var(--white); font-size: .95rem; }
.footer-grid > div:nth-child(3) { display: flex; flex-wrap: wrap; gap: 1rem 2rem; color: var(--white); font-size: .86rem; }
.footer-bottom { padding-block: 1.3rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .73rem; }

.reveal, .reveal-card { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible, .reveal-card.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .main-navigation { gap: 1rem; }
  .main-navigation > a:not(.button) { display: none; }
  .hero-background { right: -28%; width: 94%; }
  .problem-grid { gap: 4rem; }
  .service-card-grid-four { grid-template-columns: repeat(2, 1fr); }
  .audience-grid, .credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-item:nth-child(3) { border-left: 1px solid var(--line); }
  .audience-item { border-bottom: 1px solid var(--line); }
  .credibility-block h3 { min-height: 0; }
  .case-card-collapsed { min-height: 460px; }
  .case-card-summary { padding: 1.4rem; }
  .case-card-summary h3 { font-size: 1.22rem; }
  .case-card-expanded { grid-template-columns: minmax(0, .84fr) minmax(360px, 1.16fr); column-gap: clamp(2rem, 4vw, 3.25rem); }
}

@media (max-width: 960px) {
  .case-grid { flex-direction: column; }
  .case-card { flex-basis: auto; }
  .case-card-collapsed { min-height: 0; display: grid; grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr); }
  .case-card-media { aspect-ratio: 16 / 10; border-right: 1px solid var(--line); border-bottom: 0; }
  .case-card-summary { min-height: 265px; }
  .case-grid.has-expanded { gap: 1.25rem; }
  .case-grid.has-expanded .case-card.is-expanded { flex-basis: auto; }
  .case-grid.has-expanded .case-card:not(.is-expanded) { opacity: 1; transform: none; pointer-events: auto; }
  .case-card-expanded { display: block; }
  .case-expanded-title { margin-bottom: 2rem; }
  .case-expanded-media { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
  .case-study-details { display: block; margin-top: 2rem; }
  .case-study-details div:nth-child(odd), .case-study-details div:nth-child(even) { padding-right: 0; padding-left: 0; border-left: 0; }
}

@media (max-width: 820px) {
  :root { --section-space: 5rem; }
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .site-header { height: 70px; }
  .menu-button { display: block; z-index: 2; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-navigation { position: fixed; inset: 70px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 2rem 1.3rem; background: var(--navy); color: var(--white); visibility: hidden; transform: translateX(100%); transition: visibility .3s, transform .3s; }
  .main-navigation.is-open { visibility: visible; transform: translateX(0); }
  .main-navigation > a:not(.button) { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 1.2rem; }
  .main-navigation .button, .site-header.is-scrolled .main-navigation .button { margin-top: 1.5rem; border-color: var(--white); background: var(--white); color: var(--navy); }
  .site-header.is-scrolled .main-navigation { color: var(--white); }
  .hero { min-height: 790px; }
  .hero-inner { padding-top: 7rem; }
  .hero-background { right: -72%; width: 160%; opacity: .62; }
  .hero-background::before { background: linear-gradient(90deg, var(--navy) 12%, rgba(16,42,86,.72) 76%, rgba(16,42,86,.28)); }
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 4.2rem); }
  .hero-summary { font-size: 1.05rem; }
  .problem-grid, .journey-intro, .pillar-top, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .problem-copy { order: -1; }
  .problem-copy h2 { font-size: 2.65rem; }
  .journey-section { min-height: auto; }
  .journey-intro { gap: 1.5rem; }
  .strategy-journey { grid-template-columns: 1fr 1fr; }
  .strategy-journey a { min-height: 175px; border-bottom: 1px solid rgba(255,255,255,.27); }
  .strategy-journey li:nth-child(2) a { border-right: 0; }
  .strategy-journey li:nth-child(2) svg { display: none; }
  .strategy-journey li:nth-child(3) a { padding-left: 0; }
  .pillar-top { gap: 2rem; }
  .pillar-top h2 { grid-column: auto; }
  .services-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .services-label { justify-self: start; text-align: left; }
  .service-card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .audiences-heading { align-items: start; flex-direction: column; }
  .about-grid { gap: 3.5rem; }
  .profile { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-hero { min-height: 360px; padding: 8rem 0 3.5rem; }
  .legal-content { width: min(calc(100% - 2rem), 880px); }
}

@media (max-width: 560px) {
  h2 { font-size: 2.45rem; }
  .hero h1 { font-size: 2.75rem; }
  .hero-signature { font-size: 1rem; }
  .strategy-journey { grid-template-columns: 1fr; }
  .strategy-journey a, .strategy-journey li:not(:first-child) a, .strategy-journey li:last-child a { min-height: 130px; padding: 1.2rem; border-right: 0; }
  .strategy-journey li:nth-child(3) a { padding-left: 1.2rem; }
  .strategy-journey svg { display: none; }
  .service-card-grid-four, .audience-grid, .credibility-grid { grid-template-columns: 1fr; }
  .audience-item, .audience-item:first-child, .audience-item:nth-child(3) { min-height: 0; border-left: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .footer-grid > div:nth-child(3) { justify-content: flex-start; }
  .experience-heading p { font-size: 1rem; }
  .case-card-collapsed { display: flex; }
  .case-card-media { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-card-summary { min-height: 240px; padding: 1.4rem; }
  .case-card-summary h3 { font-size: 1.28rem; }
  .case-card-expanded { padding: 1.45rem; }
  .case-back { margin-bottom: 1.5rem; }
  .case-expanded-title { margin-bottom: 1.5rem; font-size: 1.9rem; }
  .case-study-details dd { font-size: .98rem; }
  .legal-hero h1 { font-size: 3rem; }
  .legal-language h2 { font-size: 2.35rem; }
  .legal-language p, .legal-language li, .legal-language address { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-reveal, .reveal, .reveal-card, .strategy-journey li { opacity: 1; transform: none; }
  .case-explore { animation: none; }
}
