:root {
  --ink: #0b3029;
  --ink-2: #123d35;
  --ink-3: #315950;
  --paper: #fffdf8;
  --cream: #f6efe6;
  --cream-2: #ece1d3;
  --copper: #c56a3d;
  --coral: #ff6f55;
  --lime: #d5f45f;
  --aqua: #9cdec6;
  --line: rgba(11, 48, 41, .15);
  --line-light: rgba(255, 255, 255, .16);
  --shadow: 0 28px 70px rgba(11, 48, 41, .14);
  --radius: 28px;
  --shell: min(1180px, calc(100% - 44px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-150%); background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.section { padding: 118px 0; }
.eyebrow { margin: 0 0 18px; color: var(--copper); font: 800 10px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow-light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: inherit; }
h1 { max-width: 760px; margin-bottom: 25px; font: 800 clamp(54px, 6.2vw, 84px)/.95 "Manrope", sans-serif; letter-spacing: -.055em; }
h1 em { display: block; color: var(--copper); font: 600 italic .8em/1.05 "Instrument Serif", Georgia, serif; letter-spacing: -.035em; }
h2 { margin-bottom: 24px; font: 800 clamp(42px, 5.2vw, 68px)/.99 "Manrope", sans-serif; letter-spacing: -.048em; }
h2 em { display: block; font: 600 italic .75em/1.1 "Instrument Serif", Georgia, serif; letter-spacing: -.025em; }
h3 { font: 800 25px/1.12 "Manrope", sans-serif; letter-spacing: -.025em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: 800 12px/1 "Manrope", sans-serif; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: var(--ink); box-shadow: 0 12px 30px rgba(255, 111, 85, .22); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: var(--paper); color: var(--ink); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-outline { border-color: var(--line); background: rgba(255, 255, 255, .65); color: var(--ink); }
.button-small { min-height: 43px; padding-inline: 17px; font-size: 10px; }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-weight: 800; font-size: 13px; }
.text-link--light { color: #fff; }

/* Continuous ticker. JS duplicates one group and sets the exact travel distance. */
.ticker { height: 34px; overflow: hidden; background: #082820; color: #fff; }
.ticker__track { display: flex; width: max-content; height: 100%; will-change: transform; animation: loop-x 26s linear infinite; }
.ticker__group { flex: 0 0 auto; display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 800 9px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .11em; }
.ticker__group i { color: var(--coral); font-style: normal; }
@keyframes loop-x { to { transform: translateX(calc(-1 * var(--loop-distance, 50%))); } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 248, .88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 35px rgba(11, 48, 41, .08); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 "Instrument Serif", Georgia, serif; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 25px; font-size: 12px; font-weight: 700; }
.nav > a:not(.button) { position: relative; }
.nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--coral); transition: right .2s ease; }
.nav > a:not(.button):hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { bottom: 17px; }

.hero { position: relative; overflow: hidden; padding: 104px 0 82px; background: radial-gradient(circle at 82% 15%, rgba(156, 222, 198, .2), transparent 31%), radial-gradient(circle at 10% 18%, rgba(255, 111, 85, .11), transparent 25%), linear-gradient(180deg, #fffdf8 0%, #f7efe5 100%); }
.hero-gridlines { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(11,48,41,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,48,41,.05) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; }
.hero-lede { max-width: 655px; color: var(--ink-3); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 33px 0 34px; }
.hero-proof { max-width: 700px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-proof > div { min-height: 96px; padding: 18px 20px 16px 0; border-right: 1px solid var(--line); }
.hero-proof > div:nth-child(2), .hero-proof > div:last-child { padding-left: 20px; }
.hero-proof > div:last-child { border-right: 0; }
.hero-proof strong { display: block; font: 800 30px/1 "Manrope", sans-serif; }
.hero-proof strong span { color: var(--copper); font-size: 12px; }
.hero-proof p { margin: 8px 0 0; color: var(--ink-3); font-size: 11px; }
.platforms { display: flex; align-items: center; gap: 23px; min-height: 64px; flex-wrap: wrap; }
.platforms > span { color: var(--ink-3); font-size: 10px; }
.platforms img { width: auto; height: 27px; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .78; }
.hero-visual { position: relative; min-height: 635px; display: grid; place-items: center; perspective: 1200px; transform-style: preserve-3d; }
.visual-halo { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(156,222,198,.45), rgba(213,244,95,.12) 42%, transparent 69%); filter: blur(8px); animation: halo-pulse 7s ease-in-out infinite; }
.hero-motion { position: relative; z-index: 3; width: min(100%, 520px); transform: rotateY(-2deg) rotateX(1deg); transform-style: preserve-3d; transition: transform .18s ease-out; }
.hero-media-frame { position: relative; z-index: 3; margin: 0; overflow: hidden; border: 1px solid rgba(11,48,41,.13); border-radius: 30px; background: #fff; box-shadow: 0 36px 75px rgba(11,48,41,.18); animation: hero-bob 6.8s ease-in-out infinite; }
.hero-media-frame img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.hero-backplate { position: absolute; z-index: 1; inset: 7% -5% -5% 8%; border: 1px solid rgba(11,48,41,.11); border-radius: 30px; background: rgba(255,255,255,.68); box-shadow: 0 20px 45px rgba(11,48,41,.08); }
.hero-backplate--one { transform: translate3d(18px, 17px, -28px) rotate(2.2deg); }
.hero-backplate--two { inset: 3% 4% 1% -4%; opacity: .72; transform: translate3d(-16px, 14px, -48px) rotate(-2deg); }
.hero-orbit { position: absolute; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 8px rgba(255,111,85,.12); animation: orbit-bob 5.8s ease-in-out infinite; }
.hero-orbit--one { right: 3%; top: 19%; }
.hero-orbit--two { left: 5%; bottom: 18%; width: 11px; height: 11px; background: var(--lime); box-shadow: 0 0 0 7px rgba(213,244,95,.14); animation-delay: -2.9s; }
@keyframes halo-pulse { 50% { transform: scale(1.05); opacity: .78; } }
@keyframes hero-bob { 50% { transform: translateY(-9px); } }
@keyframes orbit-bob { 50% { transform: translateY(-10px) scale(1.06); } }

.brand-band { overflow: hidden; padding: 72px 0 62px; background: var(--ink); color: #fff; }
.brand-band__intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 45px; margin-bottom: 47px; }
.brand-band h2 { max-width: 850px; margin: 0; font: 600 clamp(35px, 4vw, 55px)/1.04 "Instrument Serif", Georgia, serif; letter-spacing: -.03em; }
.logo-marquee { overflow: hidden; }
.logo-marquee__track { display: flex; width: max-content; will-change: transform; animation: loop-x 35s linear infinite; }
.logo-marquee__group { flex: 0 0 auto; display: flex; align-items: center; gap: 58px; padding-right: 58px; }
.logo-marquee img { width: 165px; height: 58px; object-fit: contain; filter: brightness(0) invert(1); opacity: .88; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }

.about { padding: 108px 0; background: linear-gradient(130deg, #092a24, #0d3a31); color: #fff; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: center; }
.about-photo { position: relative; max-width: 500px; }
.about-photo::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(213,244,95,.35); border-radius: 27px; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 26px; box-shadow: 0 25px 60px rgba(0,0,0,.25); }
.about-photo__tag { position: absolute; right: -28px; bottom: 38px; padding: 14px 17px; border-radius: 15px; background: var(--lime); color: var(--ink); box-shadow: 0 15px 34px rgba(0,0,0,.2); }
.about-photo__tag span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.about-photo__tag strong { font: 800 13px/1.2 "Manrope", sans-serif; }
.about-copy h2 { max-width: 670px; }
.about-copy p:not(.eyebrow) { color: rgba(255,255,255,.7); font-size: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); margin: 34px 0 30px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.about-stats > div { padding: 20px 18px 20px 0; border-right: 1px solid var(--line-light); }
.about-stats > div:nth-child(2), .about-stats > div:last-child { padding-left: 18px; }
.about-stats > div:last-child { border-right: 0; }
.about-stats strong { display: block; color: var(--lime); font: 800 17px/1.2 "Manrope", sans-serif; }
.about-stats span { display: block; margin-top: 8px; color: rgba(255,255,255,.58); font-size: 10px; }

.portfolio-controls {
  width: min(1180px, calc(100% - 40px));
  margin: -22px auto 20px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.portfolio-control {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;

  border: 1px solid var(--line);
  border-radius: 50%;

  background: var(--paper);
  color: var(--ink);

  font-size: 20px;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.portfolio-control:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.portfolio-marquee {
  overflow-x: auto;
  scrollbar-width: none;
}

.portfolio-marquee::-webkit-scrollbar {
  display: none;
}

@media (max-width: 680px) {
  .portfolio-controls {
    width: calc(100% - 28px);
    margin-top: -8px;
  }

  .portfolio-control {
    width: 44px;
    height: 44px;
  }
}
.portfolio { overflow: hidden; background: var(--cream); }
.portfolio-head { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.portfolio-head h2 { margin-bottom: 0; }
.portfolio-head > div:last-child p { color: var(--ink-3); }
.portfolio-marquee { overflow: hidden; }
.portfolio-track { display: flex; width: max-content; will-change: transform; animation: loop-x 44s linear infinite; }
.portfolio-group { flex: 0 0 auto; display: flex; gap: 17px; padding: 10px 17px 25px 0; }
.portfolio figure { width: 265px; margin: 0; padding: 8px 8px 13px; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(11,48,41,.1); transition: transform .25s ease; }
.portfolio figure:hover { transform: translateY(-7px) rotate(-.5deg); }
.portfolio img { width: 100%; aspect-ratio: 4/5.3; object-fit: cover; border-radius: 14px; }
.portfolio figcaption { padding: 12px 6px 1px; color: var(--ink-3); font-size: 10px; font-weight: 700; }
.portfolio-marquee:hover .portfolio-track { animation-play-state: paused; }
.portfolio-foot { display: flex; justify-content: space-between; gap: 30px; align-items: center; color: var(--ink-3); font-size: 11px; }
.portfolio-foot code { padding: 3px 6px; border-radius: 6px; background: rgba(11,48,41,.08); }

.problem { position: relative; overflow: hidden; padding: 125px 0; background: var(--ink); color: #fff; }
.problem::before { content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; right: -260px; top: 10px; background: rgba(255,111,85,.12); filter: blur(8px); }
.problem-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.problem-copy { position: sticky; top: 130px; }
.problem-copy h2 { max-width: 520px; }
.problem-copy > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.66); font-size: 17px; }
.problem-list { display: grid; gap: 18px; }
.problem-card { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 31px; border: 1px solid var(--line-light); border-radius: 24px; background: rgba(255,255,255,.035); transition: transform .3s ease, background .3s ease; }
.problem-card:hover { transform: translateX(-8px); background: rgba(255,255,255,.07); }
.problem-card > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(213,244,95,.12); color: var(--lime); font-weight: 800; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { margin: 0; color: rgba(255,255,255,.64); }
.problem-card--accent { border-color: rgba(213,244,95,.4); background: linear-gradient(135deg, rgba(213,244,95,.12), rgba(156,222,198,.07)); }

.services { background: var(--paper); }
.services-intro { max-width: 920px; margin-bottom: 52px; text-align: center; margin-inline: auto; }
.services-intro > p:not(.eyebrow) { max-width: 760px; margin-inline: auto; color: var(--ink-3); font-size: 17px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.service-card { min-height: 390px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 22px 50px rgba(11,48,41,.09); border-color: rgba(197,106,61,.35); }
.service-icon { width: 56px; height: 56px; margin-bottom: 55px; border-radius: 18px; background: var(--cream); position: relative; color: var(--copper); display: grid; place-items: center; font: 800 20px/1 "Instrument Serif", Georgia, serif; }
.service-icon--strategy i { position: absolute; left: 15px; width: 26px; height: 4px; border-radius: 4px; background: var(--ink); }
.service-icon--strategy i:nth-child(1) { top: 17px; width: 15px; }
.service-icon--strategy i:nth-child(2) { top: 26px; width: 22px; }
.service-icon--strategy i:nth-child(3) { top: 35px; width: 29px; background: var(--coral); }
.service-icon--campaign i { width: 29px; height: 21px; border: 2px solid var(--ink); border-radius: 5px; }
.service-icon--campaign i::before, .service-icon--campaign i::after { content: ""; position: absolute; top: 23px; width: 18px; height: 2px; background: var(--coral); transform-origin: center; }
.service-icon--campaign i::before { left: 11px; transform: rotate(35deg); }
.service-icon--campaign i::after { right: 11px; transform: rotate(-35deg); }
.service-icon--flow i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); position: absolute; }
.service-icon--flow i:nth-child(1) { left: 10px; top: 23px; }
.service-icon--flow i:nth-child(2) { left: 24px; top: 10px; background: var(--coral); }
.service-icon--flow i:nth-child(3) { right: 10px; bottom: 12px; }
.service-icon--flow::after { content: ""; width: 31px; height: 22px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(24deg); }
.service-icon--report { align-items: end; grid-auto-flow: column; gap: 4px; padding: 12px; }
.service-icon--report i { display: block; width: 7px; border-radius: 4px 4px 0 0; background: var(--ink); }
.service-icon--report i:nth-child(1) { height: 13px; }
.service-icon--report i:nth-child(2) { height: 22px; background: var(--coral); }
.service-icon--report i:nth-child(3) { height: 31px; }
.service-card h3 { margin-bottom: 14px; }
.service-card > p { color: var(--ink-3); }
.service-card ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.service-card li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); font-size: 9px; }
.service-card--cta { justify-content: space-between; background: var(--ink); color: #fff; }
.service-card--cta p:not(.eyebrow) { color: rgba(255,255,255,.66); }

.case-studies { background: var(--cream); }
.section-head { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.section-head > div:last-child p { color: var(--ink-3); }
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: 0 18px 48px rgba(11,48,41,.08); display: flex; flex-direction: column; }
.case-card__media { height: 300px; overflow: hidden; background: var(--cream-2); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .55s ease; }
.case-card:hover .case-card__media img { transform: scale(1.035); }
.case-card__body { flex: 1; padding: 27px; display: flex; flex-direction: column; }
.case-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.case-card__top span { color: var(--ink-3); font: 800 9px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.case-card__top b { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: var(--cream); }
.case-card h3 { margin-bottom: 15px; font: 600 35px/1.02 "Instrument Serif", Georgia, serif; }
.case-card p { color: var(--ink-3); font-size: 14px; }
.case-card ul { list-style: none; padding: 0; margin: 12px 0 25px; display: flex; flex-wrap: wrap; gap: 7px; }
.case-card li { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; }
.case-card a { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-weight: 800; }

.comparison-section { background: linear-gradient(180deg, #fffdf8, #f7eee4); }
.comparison-intro { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.comparison-intro > p:not(.eyebrow) { color: var(--ink-3); font-size: 17px; }
.comparison { display: grid; grid-template-columns: repeat(2,1fr); overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.comparison-col { min-height: 540px; padding: 37px; }
.comparison-col--muted { background: #eae4db; }
.comparison-col--bright { background: var(--lime); }
.comparison-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 25px; border-bottom: 1px solid rgba(11,48,41,.16); }
.comparison-title span { font: 600 29px/1 "Instrument Serif", Georgia, serif; }
.comparison-title small { font: 800 8px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.comparison ul { list-style: none; padding: 0; margin: 32px 0; }
.comparison li { min-height: 62px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(11,48,41,.13); font-weight: 700; }
.comparison li i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(11,48,41,.08); font-style: normal; }
.comparison-col--bright li i { background: var(--ink); color: #fff; }

.process { padding: 120px 0; background: var(--ink); color: #fff; }
.process-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.process-copy { position: sticky; top: 135px; }
.process-copy > p:not(.eyebrow) { color: rgba(255,255,255,.65); font-size: 16px; }
.vertical-timeline { position: relative; }
.vertical-timeline__line { position: absolute; left: 24px; top: 26px; bottom: 26px; width: 2px; background: rgba(255,255,255,.13); }
.vertical-timeline__line i { display: block; width: 100%; height: var(--timeline-progress,0%); background: linear-gradient(var(--coral),var(--lime)); transition: height .1s linear; }
.timeline-step { display: grid; grid-template-columns: 50px 1fr; gap: 26px; position: relative; padding-bottom: 54px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step > b { position: relative; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); border: 2px solid var(--lime); color: var(--lime); font: 800 12px/1 "Manrope", sans-serif; }
.timeline-step span { color: var(--lime); font: 800 10px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.timeline-step h3 { margin: 10px 0; font-size: 30px; }
.timeline-step p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }

.fit-grid { display: grid; grid-template-columns: 1fr .76fr; gap: 55px; align-items: stretch; }
.fit-copy > p:not(.eyebrow) { color: var(--ink-3); font-size: 17px; }
.fit-list { display: grid; gap: 12px; margin: 32px 0; }
.fit-list span { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.fit-list i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--lime); font-style: normal; }
.not-fit { min-height: 430px; padding: 36px; border-radius: 28px; background: var(--copper); color: #fff; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; }
.not-fit::before { content: ""; position: absolute; width: 260px; height: 260px; border: 46px solid rgba(255,255,255,.16); border-radius: 50%; right: -90px; top: -90px; }
.not-fit > * { position: relative; }
.not-fit > span { width: max-content; padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.16); font: 800 9px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.not-fit h3 { margin: 22px 0 14px; font-size: 36px; line-height: 1.05; }
.not-fit p { margin: 0; color: rgba(255,255,255,.78); }

.testimonials { background: var(--cream); }
.testimonials-head { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; margin-bottom: 49px; }
.testimonials-head > div:last-child p { color: var(--ink-3); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-flow: dense; gap: 17px; }
.testimonial-card, .testimonial-video { min-height: 340px; padding: 30px; border: 1px solid var(--line); border-radius: 25px; background: #fff; position: relative; }
.testimonial-card--featured { grid-row: span 2; min-height: 697px; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.testimonial-card:not(.testimonial-card--featured) { display: flex; flex-direction: column; }
.testimonial-logo img { width: 150px; height: 54px; object-fit: contain; object-position: left center; filter: grayscale(1); }
.testimonial-card--featured .testimonial-logo img { filter: brightness(0) invert(1); }
.testimonial-card blockquote { margin: 50px 0 35px; font: 600 26px/1.27 "Instrument Serif", Georgia, serif; }
.testimonial-card--featured blockquote { margin-top: auto; font-size: 39px; }
.testimonial-person { margin-top: auto; display: grid; gap: 4px; }
.testimonial-person span { font-weight: 800; }
.testimonial-person small { color: var(--ink-3); }
.testimonial-card--featured .testimonial-person small { color: rgba(255,255,255,.62); }
.placeholder-label { position: absolute; top: 22px; right: 22px; padding: 7px 9px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 800 7px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.testimonial-video { background: var(--copper); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.video-placeholder { min-height: 235px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px dashed rgba(255,255,255,.42); border-radius: 18px; }
.video-placeholder span { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 17px; border-radius: 50%; background: #fff; color: var(--copper); }
.video-placeholder p { margin-bottom: 3px; font-weight: 800; }
.video-placeholder small { color: rgba(255,255,255,.65); }
.video-placeholder--embed { display: block; overflow: hidden; padding: 0; border-style: solid; }
.video-placeholder--embed iframe { width: 100%; height: 100%; min-height: 235px; border: 0; display: block; }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 85px; align-items: start; }
.faq-intro { position: sticky; top: 135px; }
.faq-intro > p:not(.eyebrow) { color: var(--ink-3); }
.accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; min-height: 88px; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; cursor: pointer; font: 800 19px/1.3 "Manrope", sans-serif; }
.faq-item button i { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); position: relative; flex: 0 0 auto; }
.faq-item button i::before, .faq-item button i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: #fff; transition: .2s; }
.faq-item button i::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] i { background: var(--coral); }
.faq-item button[aria-expanded="true"] i::after { transform: none; }
.faq-answer { padding: 0 60px 26px 0; color: var(--ink-3); }

.contact { position: relative; overflow: hidden; padding: 128px 0; background: radial-gradient(circle at 50% 22%, rgba(255,255,255,.045), transparent 37%), linear-gradient(135deg, #102f29 0%, #0a2621 100%); color: var(--paper); }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at center, #000, transparent 78%); }
.contact-ring { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(197,106,61,.23); border-radius: 50%; }
.contact-ring--left { left: -250px; top: -220px; }
.contact-ring--right { right: -250px; bottom: -230px; }
.contact-inner { position: relative; z-index: 2; max-width: 850px; text-align: center; }
.contact-inner > img { width: 82px; height: 82px; object-fit: contain; margin: 0 auto 20px; }
.contact-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 21px; color: #d9aa89; font: 800 9px/1 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .17em; }
.contact-kicker i { width: 28px; height: 1px; background: rgba(217,170,137,.72); }
.contact-inner h2 { max-width: 760px; margin-inline: auto; color: var(--paper); font: 600 clamp(48px, 6.5vw, 78px)/.96 "Instrument Serif", Georgia, serif; letter-spacing: -.045em; }
.contact-inner > p { max-width: 670px; margin-inline: auto; color: rgba(255,253,248,.7); font-size: 17px; }
.contact-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.contact .button-light { box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.contact-email { color: #d9aa89; font-weight: 800; border-bottom: 1px solid rgba(217,170,137,.55); }
.contact-inner > small { display: block; margin-top: 22px; color: rgba(255,253,248,.46); }

.footer { padding: 45px 0; background: #071f1b; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 35px; align-items: center; }
.footer-brand { color: #fff; }
.footer-grid > div:first-child > p { margin: 12px 0 0; color: rgba(255,255,255,.55); font-size: 12px; }
.footer-links { display: flex; gap: 18px; font-size: 11px; font-weight: 700; }
.footer-meta { text-align: right; color: rgba(255,255,255,.55); font-size: 11px; }
.footer-meta p { margin: 3px 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-side { transform: translateX(28px); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 1100px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-card { display: grid; grid-template-columns: .65fr 1fr; }
  .case-card__media { height: 100%; min-height: 430px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 112px 0 auto; padding: 28px 20px 34px; background: var(--paper); display: flex; flex-direction: column; align-items: stretch; gap: 17px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11,48,41,.13); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav .button { width: 100%; }
  .hero-grid, .about-grid, .problem-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; }
  .hero-copy { text-align: center; }
  .hero-lede, .hero-proof { margin-inline: auto; }
  .hero-actions, .platforms { justify-content: center; }
  .hero-visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .brand-band__intro, .portfolio-head, .section-head, .testimonials-head { grid-template-columns: 1fr; gap: 20px; }
  .problem-copy, .process-copy, .faq-intro { position: static; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .comparison { grid-template-columns: 1fr; }
  .comparison-col { min-height: auto; }
  .fit-grid, .faq-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card--featured { grid-row: auto; min-height: 510px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-meta { text-align: center; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section { padding: 82px 0; }
  .ticker { height: 31px; }
  .site-header .brand span { font-size: 19px; }
  .hero { padding: 73px 0 62px; }
  h1 { font-size: 49px; }
  h2 { font-size: 42px; }
  .hero-proof { grid-template-columns: 1fr; text-align: left; }
  .hero-proof > div, .hero-proof > div:nth-child(2), .hero-proof > div:last-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof > div:last-child { border-bottom: 0; }
  .platforms img { height: 25px; }
  .hero-visual { min-height: 520px; }
  .hero-motion { width: min(100%, 470px); }
  .hero-media-frame { border-radius: 22px; }
  .hero-backplate { border-radius: 22px; }
  .hero-orbit { display: none; }
  .brand-band { padding-top: 60px; }
  .brand-band h2 { font-size: 35px; }
  .logo-marquee img { width: 145px; }
  .about-photo__tag { right: 8px; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats > div, .about-stats > div:nth-child(2), .about-stats > div:last-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .about-stats > div:last-child { border-bottom: 0; }
  .portfolio figure { width: 225px; }
  .portfolio-foot { align-items: flex-start; flex-direction: column; }
  .problem { padding: 90px 0; }
  .problem-card { grid-template-columns: 44px 1fr; padding: 22px; gap: 15px; }
  .problem-card > span { width: 42px; height: 42px; }
  .problem-card h3 { font-size: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .case-card { display: flex; }
  .case-card__media { height: 300px; min-height: 0; }
  .comparison-col { padding: 27px; }
  .comparison-title { align-items: flex-start; gap: 12px; flex-direction: column; }
  .fit-grid { gap: 25px; }
  .not-fit { min-height: 360px; }
  .testimonial-card--featured { min-height: 470px; }
  .testimonial-card--featured blockquote { font-size: 31px; }
  .faq-item button { min-height: 78px; font-size: 16px; }
  .faq-answer { padding-right: 0; }
  .contact { padding: 90px 0; }
  .contact-inner > p:not(.eyebrow) { font-size: 16px; }
  .contact-actions { align-items: stretch; }
  .contact-actions .button { width: 100%; }
  .footer-links { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .logo-marquee__track, .portfolio-track, .visual-halo, .hero-media-frame, .hero-orbit { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .service-card, .portfolio figure, .case-card__media img { transition: none; }
}

/* =========================================================
   V7 DESIGN REFINEMENTS
   Two-font system: Instrument Serif for display, Manrope for utility/body.
   Editorial hero texture, stronger navigation, and V6-inspired contact card.
   ========================================================= */

body { font-family: "Manrope", sans-serif; }

/* Consistent display typography */
h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font: 400 clamp(64px, 6.7vw, 98px)/.88 "Instrument Serif", Georgia, serif;
  letter-spacing: -.045em;
}
h1 em {
  display: block;
  color: var(--coral);
  font: 400 italic .82em/.98 "Instrument Serif", Georgia, serif;
  letter-spacing: -.025em;
}
h2 {
  margin-bottom: 24px;
  font: 400 clamp(48px, 5.4vw, 76px)/.92 "Instrument Serif", Georgia, serif;
  letter-spacing: -.035em;
}
h2 em {
  display: block;
  font: 400 italic .78em/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.02em;
}
.brand { font: 400 24px/1 "Instrument Serif", Georgia, serif; }
.brand-band h2,
.case-card h3,
.comparison-title span,
.testimonial-card blockquote,
.service-icon {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
.brand-band h2 { font-size: clamp(40px, 4.3vw, 62px); line-height: .97; }
.case-card h3 { font-size: 39px; line-height: .98; }
.comparison-title span { font-size: 32px; line-height: 1; }
.testimonial-card blockquote { font-size: 29px; line-height: 1.18; }

/* Larger, clearer navigation with the key action visibly highlighted */
.nav { gap: 27px; font-size: 14px; font-weight: 700; }
.nav .button-small {
  min-height: 47px;
  padding-inline: 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  box-shadow: 0 10px 24px rgba(11, 48, 41, .14);
}
.nav .button-small:hover { background: var(--coral); color: var(--ink); }
.nav > a:not(.button)::after { bottom: -8px; }

/* V6-inspired editorial hero background, kept behind all readable content */
.hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 16%, rgba(156, 222, 198, .19), transparent 31%),
    radial-gradient(circle at 12% 18%, rgba(255, 111, 85, .09), transparent 25%),
    linear-gradient(180deg, #fffdf8 0%, #f5eee4 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.hero-gridlines { opacity: .11; z-index: 0; }
.hero-editorial-type {
  position: absolute;
  inset: 7% -2% 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.hero-editorial-word {
  display: block;
  white-space: nowrap;
  font: 800 clamp(126px, 18vw, 330px)/.67 "Manrope", sans-serif;
  letter-spacing: -.095em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(11, 48, 41, .075);
}
.hero-editorial-word--two {
  margin-left: 28%;
  color: rgba(11, 48, 41, .028);
  -webkit-text-stroke: 0;
}
.hero-grid { z-index: 2; }
.hero-copy { position: relative; z-index: 3; }
.hero-lede { max-width: 625px; }
.hero-motion { z-index: 4; }
.hero-media-frame { border-color: rgba(11,48,41,.11); }
.hero-backplate { backdrop-filter: blur(7px); }

/* V6 business-card idea, refined to match V5 */
.contact {
  position: relative;
  overflow: hidden;
  padding: 132px 0 118px;
  background:
    radial-gradient(circle at 86% 15%, rgba(156,222,198,.13), transparent 28%),
    radial-gradient(circle at 6% 88%, rgba(255,111,85,.11), transparent 30%),
    linear-gradient(135deg, #0e3029 0%, #071f1b 100%);
  color: var(--paper);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at center, #000, transparent 82%);
}
.contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: .25;
  pointer-events: none;
}
.contact-glow--a { width: 420px; height: 420px; right: -160px; top: -170px; background: var(--aqua); }
.contact-glow--b { width: 340px; height: 340px; left: -130px; bottom: -170px; background: var(--coral); opacity: .16; }
.contact-card {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  min-height: 610px;
  margin-inline: auto;
  padding: 52px 56px 48px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  border: 1px solid rgba(11,48,41,.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(156,222,198,.13), transparent 28%),
    var(--paper);
  color: var(--ink);
  box-shadow: 24px 26px 0 rgba(255,111,85,.86), 0 35px 80px rgba(0,0,0,.22);
  transform: rotate(-.35deg);
}
.contact-card__top,
.contact-card__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.contact-card__top img { width: 66px; height: 66px; object-fit: contain; }
.contact-card__role {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-card__role span { font-weight: 800; }
.contact-card__role b { color: var(--ink-3); font-weight: 500; }
.contact-card__statement { align-self: center; max-width: 880px; }
.contact-card__statement .eyebrow { margin-bottom: 15px; }
.contact-card__statement h2 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(58px, 7vw, 106px);
  line-height: .86;
}
.contact-card__statement > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--ink-3); font-size: 17px; }
.contact-card__bottom { align-items: flex-end; }
.contact-card__details { display: flex; flex-direction: column; gap: 4px; color: var(--ink-3); font-size: 12px; }
.contact-card__details a { width: max-content; color: var(--ink); font-weight: 800; border-bottom: 1px solid var(--coral); }
.contact-card > small {
  position: absolute;
  right: 56px;
  top: 52px;
  transform: translateY(78px);
  color: rgba(11,48,41,.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-card .button-dark { box-shadow: 0 12px 28px rgba(11,48,41,.16); }

@media (max-width: 980px) {
  .nav { font-size: 15px; }
  .nav .button-small { width: 100%; }
  .hero-editorial-type { inset: 7% -18% 0; }
  .hero-editorial-word { font-size: clamp(130px, 30vw, 260px); }
  .contact-card { min-height: 570px; transform: none; box-shadow: 18px 20px 0 rgba(255,111,85,.8), 0 30px 70px rgba(0,0,0,.2); }
}

@media (max-width: 680px) {
  h1 { font-size: 61px; line-height: .88; }
  h2 { font-size: 49px; }
  .hero-editorial-type { inset: 3% -45% auto; }
  .hero-editorial-word { font-size: 47vw; line-height: .72; }
  .hero-editorial-word--two { margin-left: 5%; }
  .contact { padding: 88px 0 82px; }
  .contact-card {
    min-height: 640px;
    padding: 30px 26px;
    gap: 28px;
    border-radius: 18px;
    box-shadow: 11px 13px 0 rgba(255,111,85,.82), 0 25px 55px rgba(0,0,0,.2);
  }
  .contact-card__top,
  .contact-card__bottom { align-items: flex-start; flex-direction: column; }
  .contact-card__role { align-items: flex-start; text-align: left; }
  .contact-card__statement h2 { font-size: 61px; line-height: .88; }
  .contact-card__statement > p:last-child { font-size: 15px; }
  .contact-card__bottom .button { width: 100%; }
  .contact-card > small { position: static; transform: none; order: 5; }
}

/* Prevent transformed reveal elements and decorative backplates from creating mobile horizontal scroll. */
body { overflow-x: hidden; overflow-x: clip; }

/* =========================================================
   V8 — QUIET EDITORIAL SYSTEM
   Cleaner hierarchy, fewer generic cards, restrained motion,
   accessible typewriter and premium rotating CTA border.
   ========================================================= */

@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --paper: #fbfaf6;
  --cream: #f1ede6;
  --cream-2: #e7e0d7;
  --line: rgba(11, 48, 41, .17);
  --shadow: 0 30px 80px rgba(11, 48, 41, .11);
  --radius: 8px;
}

html { scroll-padding-top: 112px; }
section[id] { scroll-margin-top: 112px; }
[hidden] { display: none !important; }

body {
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.brand-band h2,
.case-card h3,
.comparison-title span,
.testimonial-card blockquote {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

h3 {
  font-size: 31px;
  line-height: 1.02;
  letter-spacing: -.025em;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.button {
  position: relative;
  isolation: isolate;
  border-radius: 999px;
}

.button-glow {
  --glow-angle: 0deg;
  --glow-speed: 4.8s;
  box-shadow: 0 14px 34px rgba(11, 48, 41, .13);
}

.button-glow::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg 205deg,
    rgba(255, 111, 85, .1) 222deg,
    var(--coral) 242deg,
    #e3a66d 261deg,
    var(--lime) 279deg,
    var(--aqua) 300deg,
    transparent 326deg 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: glow-rotate var(--glow-speed) linear infinite;
}

.button-glow::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;
  opacity: .22;
  filter: blur(12px);
  background: conic-gradient(from var(--glow-angle), transparent 40%, var(--coral), var(--lime), var(--aqua), transparent 72%);
  animation: glow-rotate var(--glow-speed) linear infinite;
}

.button-glow:hover { --glow-speed: 2.8s; }
@keyframes glow-rotate { to { --glow-angle: 360deg; } }

/* Header stays simple. The CTA is the only visually loud element. */
.site-header {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 82px; }
.nav { gap: 29px; font-size: 14px; }
.nav .button-small {
  min-height: 46px;
  padding-inline: 21px;
  background: var(--ink);
  color: var(--paper);
}

/* Clean editorial hero. No grid, floating pills or layered fake cards. */
.hero {
  isolation: isolate;
  min-height: calc(100svh - 116px);
  padding: clamp(92px, 10vw, 145px) 0 96px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.hero-watermark {
  position: absolute;
  left: 3.5vw;
  bottom: -3.5vw;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 48, 41, .055);
  font: 400 clamp(150px, 26vw, 430px)/.7 "Instrument Serif", Georgia, serif;
  letter-spacing: -.07em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero-grid {
  z-index: 2;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(68px, 7vw, 108px);
  line-height: .84;
  letter-spacing: -.052em;
}
.hero-headline-main { display: block; }
.hero-copy h1 em {
  display: block;
  width: max-content;
  max-width: 100%;
  min-height: 1.05em;
  margin-top: .1em;
  color: var(--coral);
  font-size: .68em;
  line-height: 1;
  letter-spacing: -.025em;
}
.typewriter-text {
  display: inline-block;
  width: 19ch;
  max-width: 100%;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
}
.motion-ready .typewriter-text {
  width: 0;
  border-right: 1.5px solid currentColor;
  animation:
    typewriter 1.8s steps(19, end) .55s both,
    caret-blink .82s step-end .55s infinite;
}
@keyframes typewriter { to { width: 19ch; } }
@keyframes caret-blink { 50% { border-color: transparent; } }
.hero-lede {
  max-width: 620px;
  color: var(--ink-3);
  font-size: clamp(16px, 1.35vw, 18px);
}
.hero-actions { margin: 35px 0 38px; }
.hero-proof { max-width: 660px; }
.hero-proof > div { min-height: 92px; }
.hero-proof strong { font-size: 29px; }

.hero-visual {
  position: relative;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  perspective: 1400px;
}
.hero-visual-rule {
  width: min(100%, 520px);
  margin: 0 auto 15px;
  padding: 0 2px 10px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font: 700 9px/1 "Manrope", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-visual-rule i { color: var(--copper); font-style: normal; }
.hero-motion {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}
.hero-media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(11,48,41,.18);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 32px 78px rgba(11,48,41,.14);
  animation: none;
}
.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px rgba(255,255,255,.8);
}
.hero-media-frame img { aspect-ratio: 5 / 6; object-fit: cover; }
.hero-visual-index {
  width: min(100%, 520px);
  margin: 13px auto 0;
  color: var(--ink-3);
  font: 700 10px/1 "Manrope", sans-serif;
  letter-spacing: .12em;
  text-align: right;
}

/* Remove the repeated rounded-card language across the page. */
.about-photo::before { border-radius: 0; }
.about-photo img { border-radius: 0; }
.about-photo__tag { border-radius: 2px; }

.portfolio figure {
  padding: 7px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}
.portfolio img { border-radius: 0; }
.portfolio figure:hover { transform: translateY(-5px); }

.problem::before { display: none; }
.problem-list { gap: 0; border-top: 1px solid var(--line-light); }
.problem-card,
.problem-card--accent {
  padding: 31px 0;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
}
.problem-card:hover { transform: translateX(-5px); background: transparent; }
.problem-card > span {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(213,244,95,.32);
  border-radius: 50%;
  background: transparent;
}
.problem-card--accent { border-bottom-color: rgba(213,244,95,.65); }

.services-intro {
  max-width: none;
  margin-bottom: 55px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  column-gap: 72px;
  text-align: left;
}
.services-intro .eyebrow { grid-column: 1 / -1; }
.services-intro h2 { grid-column: 1; margin-bottom: 0; }
.services-intro > p:not(.eyebrow) {
  grid-column: 2;
  align-self: end;
  margin: 0;
  max-width: 560px;
}
.services-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card,
.service-card--cta {
  min-height: 355px;
  padding: 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.service-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  background: rgba(197,106,61,.045);
}
.service-card--cta { background: var(--ink); }
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.service-card--cta .service-icon { border-color: var(--line-light); }
.service-card li {
  padding: 5px 0;
  border: 0;
  border-radius: 0;
}
.service-card li:not(:last-child)::after { content: " /"; opacity: .4; }

.case-grid { gap: 30px; }
.case-card {
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.case-card__media { height: 320px; border-bottom: 1px solid var(--line); }
.case-card__body { padding: 26px 0 0; }
.case-card__top b {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.case-card li { padding: 0; border: 0; border-radius: 0; }
.case-card li:not(:last-child)::after { content: " /"; opacity: .4; }

.comparison-section { background: var(--paper); }
.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}
.comparison-col--muted { background: var(--cream); }
.comparison-col--bright { background: #dff08e; }
.not-fit { border-radius: 2px; }
.not-fit > span { border-radius: 2px; }

.testimonial-card,
.testimonial-video {
  border-radius: 2px;
}
.placeholder-label { border-radius: 2px; }

.contact-card {
  border-radius: 4px;
}

/* More deliberate reveal: content, then media. */
.reveal {
  transform: translateY(28px);
  transition-duration: .8s;
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
}
.hero-visual.reveal { transform: translateY(22px) scale(.985); }
.hero-visual.reveal.in-view { transform: none; }

.image-fallback {
  min-height: 220px;
  display: grid !important;
  place-items: center;
  padding: 24px;
  background: var(--cream);
  color: var(--ink-3);
  border: 1px dashed var(--line);
  text-align: center;
}
.image-fallback::after {
  content: "Replace this image in the assets folder";
  font: 700 11px/1.4 "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.image-fallback img { display: none; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(390px,.82fr); gap: 55px; }
  .hero-copy h1 { font-size: clamp(63px, 7.8vw, 88px); }
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-lede, .hero-proof { margin-inline: 0; }
  .hero-actions, .platforms { justify-content: flex-start; }
  .hero-copy h1 { max-width: 760px; }
  .hero-visual { min-height: 0; margin-top: 28px; }
  .services-intro { grid-template-columns: 1fr; row-gap: 18px; }
  .services-intro h2,
  .services-intro > p:not(.eyebrow) { grid-column: 1; }
}

@media (max-width: 680px) {
  .hero { padding: 78px 0 66px; }
  .hero-watermark { bottom: 4%; font-size: 47vw; }
  .hero-copy h1 { font-size: clamp(54px, 15vw, 72px); line-height: .88; }
  .hero-copy h1 em { font-size: .72em; width: auto; }
  .typewriter-text {
    width: auto;
    max-width: none;
    white-space: normal;
    border-right: 0;
    animation: none;
  }
  .hero-visual-rule,
  .hero-visual-index { width: 100%; }
  .hero-media-frame { border-radius: 3px; }
  .services-grid { border-left: 0; }
  .service-card,
  .service-card--cta { border-left: 0; border-right: 0; }
  .case-card__media { height: 300px; }
  .button-glow::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter-text {
    width: auto;
    border-right: 0;
    animation: none !important;
  }
  .button-glow::before,
  .button-glow::after { animation: none !important; }
  .hero-motion { transform: none !important; transition: none; }
}

@media (max-width: 680px) {
  .hero-copy,
  .hero-copy h1,
  .hero-headline-main,
  .hero-copy h1 em,
  .typewriter-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .typewriter-text { display: block; }
}
html, body { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 680px) {
  .motion-ready .typewriter-text {
    width: 100%;
    border-right: 0;
    animation: none;
  }
}

/* =========================================================
   V9 — SINGLE-ACCENT TYPOGRAPHY + INTERACTION PASS
   DM Mono utility type, teal UI system, looping typewriter,
   stronger CTA glow and full-size portfolio lightbox.
   ========================================================= */

:root {
  --accent: #0a9688;
  --accent-dark: #066f66;
  --accent-deep: #064f49;
  --accent-bright: #42e3cd;
  --accent-pale: #b8f4ea;
  --accent-wash: #e1f8f3;
  /* Legacy tokens now resolve to one coherent accent family. */
  --copper: var(--accent-dark);
  --coral: var(--accent);
  --lime: var(--accent-bright);
  --aqua: var(--accent-pale);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Utility typography: distinct from body copy without fighting Instrument Serif. */
.eyebrow,
.ticker__group,
.hero-visual-rule,
.contact-card__role,
.contact-card > small,
.case-card__top,
.timeline-step > div > span {
  font-family: "Manrope", system-ui, sans-serif;
}

.eyebrow {
  margin-bottom: 19px;
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--accent-bright); }
.ticker__group {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .08em;
}
.ticker__group i { color: var(--accent-bright); }

:focus-visible {
  outline-color: var(--accent-bright);
}
.nav > a:not(.button)::after { background: var(--accent); }

/* CTA hierarchy: larger text, darker button surface and one teal glow language. */
.button {
  min-height: 56px;
  padding-inline: 25px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.012em;
}
.button-small {
  min-height: 47px;
  padding-inline: 20px;
  font-size: 13px;
}
.button-primary,
.button-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.button-lime {
  background: var(--accent-pale);
  color: var(--ink);
  box-shadow: none;
}
.button-light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.button-outline {
  border-color: rgba(10, 150, 136, .35);
  background: transparent;
  color: var(--ink);
}
.button-primary:hover,
.button-dark:hover,
.nav .button-small:hover {
  background: var(--ink);
  color: #fff;
}
.button-lime:hover { background: var(--accent-pale); color: var(--ink); }
.button-light:hover { background: var(--paper); color: var(--ink); }
.button-outline:hover { background: var(--accent-wash); color: var(--ink); }

.button-glow {
  --glow-speed: 4.2s;
  box-shadow: 0 13px 32px rgba(6, 79, 73, .17);
}
.button-glow::before {
  inset: -4px;
  padding: 2.5px;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg 222deg,
    rgba(184, 244, 234, .18) 238deg,
    var(--accent-pale) 252deg,
    #ffffff 264deg,
    var(--accent-bright) 278deg,
    var(--accent) 296deg,
    transparent 320deg 360deg
  );
}
.button-glow::after {
  inset: -10px;
  opacity: .48;
  filter: blur(15px);
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg 225deg,
    var(--accent-pale) 248deg,
    var(--accent-bright) 270deg,
    var(--accent) 296deg,
    transparent 326deg 360deg
  );
}
.button-glow:hover { --glow-speed: 3.15s; }

/* The cursor now lives directly beside the real typed text. JS loops the phrase. */
.hero-copy h1 em { color: var(--accent-dark); }
.hero-typewriter {
  min-height: 1.05em;
}
.typewriter-text,
.motion-ready .typewriter-text {
  display: inline;
  width: auto;
  max-width: none;
  overflow: visible;
  border: 0;
  animation: none;
  white-space: nowrap;
}
.motion-ready .typewriter-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .82em;
  margin-left: .075em;
  background: currentColor;
  vertical-align: -.03em;
  animation: caret-blink .82s step-end infinite;
}
.hero-visual-index { display: none !important; }
.hero-proof strong span { color: var(--accent-dark); }
.hero-visual-rule i { color: var(--accent-dark); }

/* One accent language across dark sections and small UI details. */
.about-photo::before { border-color: rgba(66, 227, 205, .38); }
.about-photo__tag { background: var(--accent-pale); }
.problem-card > span { border-color: rgba(66, 227, 205, .38); color: var(--accent-bright); }
.problem-card--accent { border-bottom-color: rgba(66, 227, 205, .72); }
.comparison-col--bright { background: var(--accent-pale); }
.vertical-timeline__line i { background: linear-gradient(var(--accent), var(--accent-bright)); }
.not-fit { background: var(--accent-deep); }
.testimonial-video { background: var(--accent-deep); }
.video-placeholder span { color: var(--accent-deep); }
.faq-item button[aria-expanded="true"] i { background: var(--accent); }
.contact-glow--a { background: var(--accent-pale); }
.contact-glow--b { background: var(--accent); opacity: .18; }
.contact-card {
  box-shadow: 24px 26px 0 rgba(10, 150, 136, .82), 0 35px 80px rgba(0,0,0,.22);
}
.contact-card__details a { border-bottom-color: var(--accent); }

/* Service icons and hover states remain readable. */
.service-card:hover { background: rgba(10, 150, 136, .045); }
.service-card--cta,
.service-card--cta:hover {
  background: var(--ink);
  color: #fff;
}
.service-card--cta:hover h3,
.service-card--cta:hover p { color: inherit; }
.service-card--cta:hover p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.service-icon { color: var(--accent-dark); }
.service-icon--strategy i:nth-child(3),
.service-icon--flow i:nth-child(2),
.service-icon--report i:nth-child(2) { background: var(--accent); }
.service-icon--campaign i::before,
.service-icon--campaign i::after { background: var(--accent); }

/* Portfolio items are actual interactive previews, not decorative cards. */
.portfolio figure[data-lightbox] {
  position: relative;
  cursor: zoom-in;
}
.portfolio figure[data-lightbox]:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 5px;
}
.portfolio figure[data-lightbox]::after {
  content: "Open full email";
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 7px 9px;
  background: rgba(6, 79, 73, .92);
  color: #fff;
  font: 500 9px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.portfolio figure[data-lightbox]:hover::after,
.portfolio figure[data-lightbox]:focus-visible::after {
  opacity: 1;
  transform: none;
}

body.lightbox-open { overflow: hidden; }
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}
.portfolio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 22, 19, .82);
  backdrop-filter: blur(10px);
}
.portfolio-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 96vw);
  max-height: 94vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(184, 244, 234, .34);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .42);
}
.portfolio-lightbox__bar {
  min-height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.portfolio-lightbox__bar p,
.portfolio-lightbox__caption {
  margin: 0;
  font: 500 11px/1.35 "Manrope", system-ui, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.portfolio-lightbox__close {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 700 13px/1 "Manrope", sans-serif;
}
.portfolio-lightbox__close span { margin-left: 7px; font-size: 20px; vertical-align: -2px; }
.portfolio-lightbox__stage {
  min-height: 0;
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #e8eeeb;
  overscroll-behavior: contain;
}
.portfolio-lightbox__stage img {
  width: min(760px, 100%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 24px 58px rgba(11, 48, 41, .2);
}
.portfolio-lightbox__caption {
  padding: 17px 20px 19px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  text-transform: none;
  letter-spacing: .02em;
}

@media (max-width: 980px) {
  .contact-card { box-shadow: 18px 20px 0 rgba(10, 150, 136, .78), 0 30px 70px rgba(0,0,0,.2); }
}

@media (max-width: 680px) {
  .button { width: auto; min-height: 54px; padding-inline: 21px; font-size: 14px; }
  .button-small { font-size: 13px; }
  .typewriter-text,
  .motion-ready .typewriter-text { white-space: normal; }
  .contact-card { box-shadow: 11px 13px 0 rgba(10, 150, 136, .78), 0 25px 55px rgba(0,0,0,.2); }
  .portfolio-lightbox { padding: 8px; }
  .portfolio-lightbox__dialog { width: 100%; max-height: 97svh; }
  .portfolio-lightbox__bar { min-height: 58px; padding-inline: 14px; }
  .portfolio-lightbox__stage { padding: 12px; }
  .portfolio-lightbox__caption { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .typewriter-text::after { display: none; }
}
.portfolio-marquee.is-paused .portfolio-track {
  animation-play-state: paused;
}
/* Final V9 colour cleanup: no orange light spill remains in the closing section. */
.contact {
  background:
    radial-gradient(circle at 86% 15%, rgba(66, 227, 205, .13), transparent 28%),
    radial-gradient(circle at 6% 88%, rgba(10, 150, 136, .12), transparent 30%),
    linear-gradient(135deg, #0e3029 0%, #071f1b 100%);
}
.contact-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(66, 227, 205, .12), transparent 28%),
    var(--paper);
}
@media (min-width: 681px) {
  .button { font-size: 15px; }
  .button-small { font-size: 13px; }
}


/* =========================================================
   V10 FINAL REFINEMENTS
   ========================================================= */
.testimonial-card--featured {
  grid-row: auto;
  min-height: 470px;
}
.testimonial-card:not(.testimonial-card--featured) { min-height: 470px; }
.testimonial-card blockquote { text-wrap: balance; }

.case-card__body > p { min-height: 6.8em; }

@media (max-width: 680px) {
  /* Remove the dead space created where two dark sections meet. */
  .brand-band { padding-bottom: 34px; }
  .brand-band__intro { margin-bottom: 28px; }
  .about { padding-top: 38px; padding-bottom: 82px; }
  .about-grid { gap: 38px; }
  .about-photo { margin-top: 0; }
  .logo-marquee__group { gap: 34px; padding-right: 34px; }
  .logo-marquee img { width: 132px; height: 48px; }
  .testimonial-card--featured,
  .testimonial-card:not(.testimonial-card--featured) { min-height: 430px; }
  .case-card__body > p { min-height: 0; }
}

/* =========================================================
   NETLIFY FINAL POLISH
   ========================================================= */
/* Keep the navigation CTA in the same mint treatment as the About CTA. */
.nav .button-small.button-lime:hover,
.nav .button-small.button-lime:focus-visible {
  background: var(--accent-pale);
  color: var(--ink);
}

/* Show platform branding in its intended colour instead of generic grayscale text. */
.platforms img {
  filter: none;
  opacity: 1;
  max-width: 118px;
  height: 28px;
}

/* Cleaner service icon system. */
.service-icon--svg {
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}
.service-icon--svg svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Case-study cards: the image and the visible CTA both open the full case study. */
.case-card a.case-card__media {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.case-card a.case-card__media:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: -3px;
}
.case-card a.case-card__cta {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 0 18px;
  min-height: 48px;
  border: 1px solid var(--ink);
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.case-card a.case-card__cta:hover {
  background: var(--ink);
  color: #fff;
}
.case-section-cta { white-space: nowrap; }

/* Footer: use the same logo mark, rendered light for contrast. */
.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: .96;
}

@media (max-width: 680px) {
  .platforms img { height: 26px; max-width: 106px; }
  .case-card a.case-card__cta { width: 100%; }
}

/* =========================================================
   FINAL LAUNCH PASS — SIMPLIFIED STRUCTURE + TYPOGRAPHY
   ========================================================= */

/* Replace the robotic mono utility face with a condensed editorial sans. */
.eyebrow,
.hero-visual-rule,
.contact-card__role,
.contact-card > small,
.case-card__top,
.timeline-step > div > span,
.portfolio figure[data-lightbox]::after,
.portfolio-lightbox__bar p,
.portfolio-lightbox__caption {
  font-family: "Manrope", system-ui, sans-serif;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .105em;
}
.hero-visual-rule,
.contact-card__role,
.contact-card > small,
.case-card__top,
.timeline-step > div > span {
  font-weight: 600;
  letter-spacing: .055em;
}

/* Static announcement bar: no looping motion competing with the hero typewriter. */
.ticker--static {
  height: auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  overflow: visible;
  background: #082820;
  color: #fff;
}
.ticker__static {
  width: min(1180px, calc(100% - 36px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ticker__static i {
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,.32);
}

/* The supplied official partner assets should remain legible and uncropped. */
.platforms {
  gap: 20px;
}
.platforms img {
  height: 30px;
  max-width: 128px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.platforms img[alt="Alia"] { height: 34px; }

/* Compact agency comparison folded into About instead of living as a full section. */
.about-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 3px;
  overflow: hidden;
}
.about-comparison__col {
  padding: 22px 22px 20px;
}
.about-comparison__col + .about-comparison__col {
  border-left: 1px solid rgba(255,255,255,.14);
}
.about-comparison__col > span {
  display: block;
  margin-bottom: 14px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.about-comparison__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.about-comparison__col li {
  position: relative;
  padding-left: 19px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.5;
}
.about-comparison__col--muted li::before,
.about-comparison__col--mine li::before {
  position: absolute;
  left: 0;
  top: .04em;
  font-weight: 700;
}
.about-comparison__col--muted li::before { content: "×"; color: rgba(255,255,255,.45); }
.about-comparison__col--mine {
  background: rgba(66, 227, 205, .07);
}
.about-comparison__col--mine > span { color: var(--accent-bright); }
.about-comparison__col--mine li::before { content: "✓"; color: var(--accent-bright); }

/* Slightly tighter site now that two repetitive sections are removed. */
.services.section,
.case-studies.section,
.testimonials.section,
.faq.section {
  padding-top: 104px;
  padding-bottom: 104px;
}

/* Use the light brand mark rather than relying on a filter against the footer. */
.footer-brand img {
  filter: none;
  object-fit: contain;
}

@media (max-width: 760px) {
  .ticker__static {
    width: calc(100% - 24px);
    min-height: 38px;
    gap: 10px;
    justify-content: space-between;
    font-size: 10.5px;
    line-height: 1.15;
  }
  .ticker__static span:nth-of-type(3),
  .ticker__static i:nth-of-type(2) {
    display: none;
  }
  .about-comparison { grid-template-columns: 1fr; }
  .about-comparison__col + .about-comparison__col {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .platforms img { height: 26px; max-width: 106px; }
  .platforms img[alt="Alia"] { height: 29px; }
}

/* =========================================================
   FINAL DETAIL PASS — BRAND TYPE ONLY + CLEANER MICROCOPY
   ========================================================= */
/* Keep every small utility label in the same sans family used by the brand. */
.eyebrow,
.ticker__group,
.ticker__static,
.hero-visual-rule,
.contact-card__role,
.contact-card > small,
.case-card__top,
.timeline-step > div > span,
.portfolio figure[data-lightbox]::after,
.portfolio-lightbox__bar p,
.portfolio-lightbox__caption,
.about-comparison__col > span {
  font-family: "Manrope", system-ui, sans-serif;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .075em;
}

/* Tiny metadata was reading like developer UI. Keep it legible and editorial. */
.service-card li,
.case-card li,
.case-card__top span,
.portfolio figcaption,
.hero-proof p,
.platforms > span,
.about-stats span,
.about-photo__tag span {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0;
}
.case-card__top span,
.about-photo__tag span {
  font-weight: 700;
  letter-spacing: .055em;
}

.portfolio figure[data-lightbox]::after {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .025em;
}
.portfolio-lightbox__bar p,
.portfolio-lightbox__caption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* Slightly cleaner icon rendering. */
.service-icon--svg svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.65;
  shape-rendering: geometricPrecision;
}

/* v5 polish: restore moving top ticker, improve case study cards, and sharpen lightbox usage. */
.case-card__media {
  position: relative;
  display: block;
  isolation: isolate;
}
.case-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,48,41,0) 18%, rgba(11,48,41,.14) 56%, rgba(11,48,41,.88) 100%);
  pointer-events: none;
  z-index: 1;
}
.case-card__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 6px;
  color: #fff;
}
.case-card__overlay strong {
  font: 600 30px/1.02 "Instrument Serif", Georgia, serif;
  letter-spacing: -.03em;
}
.case-card__overlay small {
  display: block;
  max-width: 30ch;
  font: 500 12px/1.45 "Manrope", system-ui, sans-serif;
  letter-spacing: .01em;
  color: rgba(255,255,255,.88);
}
.case-card:hover .case-card__overlay strong,
.case-card:hover .case-card__overlay small {
  transform: translateY(-2px);
}
.case-card__overlay strong,
.case-card__overlay small {
  transition: transform .35s ease;
}

.portfolio-lightbox__stage {
  scroll-behavior: smooth;
}
.portfolio-lightbox__stage img {
  width: auto;
  max-width: min(760px, 100%);
  image-rendering: auto;
}

.service-icon--svg svg {
  overflow: visible;
}

@media (max-width: 720px) {
  .case-card__overlay strong { font-size: 25px; }
  .case-card__overlay small { font-size: 11px; }
}

/* =========================================================
   V7 CASE STUDY CARD REFINEMENT
   ========================================================= */
.case-grid {
  align-items: stretch;
}
.case-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}
.case-card__media {
  position: relative;
  display: block;
  min-height: 460px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream-2);
  isolation: isolate;
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .65s cubic-bezier(.2,.75,.2,1), filter .45s ease;
}
.case-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,25,21,.06) 0%, rgba(9,25,21,.08) 30%, rgba(9,25,21,.42) 68%, rgba(9,25,21,.9) 100%);
  z-index: 1;
  transition: background .35s ease, backdrop-filter .35s ease;
}
.case-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(0px);
  opacity: 0;
  z-index: 1;
  transition: opacity .35s ease, backdrop-filter .35s ease;
}
.case-card:hover .case-card__media img,
.case-card:focus-within .case-card__media img {
  transform: scale(1.03);
  filter: blur(5px) saturate(.92) brightness(.72);
}
.case-card:hover .case-card__media::before,
.case-card:focus-within .case-card__media::before {
  background: linear-gradient(180deg, rgba(9,25,21,.16) 0%, rgba(9,25,21,.18) 28%, rgba(9,25,21,.52) 62%, rgba(9,25,21,.92) 100%);
}
.case-card:hover .case-card__media::after,
.case-card:focus-within .case-card__media::after {
  opacity: 1;
  backdrop-filter: blur(4px);
}
.case-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(11,48,41,.14);
  font: 800 22px/1 "Manrope", system-ui, sans-serif;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}
.case-card:hover .case-card__arrow,
.case-card:focus-within .case-card__arrow {
  transform: translateY(-2px) scale(1.02);
  background: var(--ink);
  color: #fff;
}
.case-card__overlay {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: #fff;
}
.case-card__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  font: 700 10px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.case-card__overlay strong {
  font: 400 clamp(36px, 4vw, 48px)/.96 "Instrument Serif", Georgia, serif;
  letter-spacing: -.04em;
}
.case-card__overlay small {
  display: block;
  max-width: 34ch;
  font: 500 13px/1.55 "Manrope", system-ui, sans-serif;
  color: rgba(255,255,255,.92);
}
.case-card__body,
.case-card__cta { display: none !important; }

@media (max-width: 980px) {
  .case-card__media { min-height: 420px; }
}
@media (max-width: 680px) {
  .case-card__media { min-height: 340px; }
  .case-card__overlay { inset: auto 18px 18px; }
  .case-card__overlay strong { font-size: 34px; }
  .case-card__overlay small { font-size: 12px; max-width: none; }
  .case-card__arrow { width: 46px; height: 46px; font-size: 20px; }
}


/* =========================================================
   V8 HERO + CASE STUDY THUMBNAIL ADJUSTMENTS
   ========================================================= */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1.02fr);
  gap: clamp(48px, 6vw, 92px);
}
.hero-visual {
  min-height: 0;
}
.hero-visual-rule,
.hero-motion,
.hero-visual-index {
  width: min(100%, 620px);
}
.hero-media-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

.case-card__media {
  min-height: 205px;
  height: 205px;
}
.case-card__overlay {
  inset: auto 18px 18px;
  gap: 7px;
}
.case-card__overlay strong {
  font-size: clamp(28px, 2.6vw, 38px);
}
.case-card__overlay small {
  max-width: 32ch;
  font-size: 12px;
  line-height: 1.5;
}
.case-card__arrow {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, .96fr);
  }
  .hero-visual-rule,
  .hero-motion,
  .hero-visual-index {
    width: min(100%, 560px);
  }
}

@media (max-width: 980px) {
  .case-card__media {
    min-height: 190px;
    height: 190px;
  }
}

@media (max-width: 680px) {
  .case-card__media {
    min-height: 220px;
    height: 220px;
  }
  .case-card__overlay strong {
    font-size: 30px;
  }
  .case-card__overlay small {
    font-size: 11px;
  }
}


/* =========================================================
   V9 INDIVIDUAL CASE STUDY THUMBNAIL CROPPING
   ========================================================= */
.case-card__media img {
  object-fit: cover;
}
.case-card__media--labcharge img {
  object-position: center 10%;
}
.case-card__media--havn img {
  object-position: center 12%;
}
.case-card__media--anson img {
  object-position: center 7%;
}

@media (max-width: 980px) {
  .case-card__media--labcharge img { object-position: center 8%; }
  .case-card__media--havn img { object-position: center 10%; }
  .case-card__media--anson img { object-position: center 5%; }
}

@media (max-width: 680px) {
  .case-card__media--labcharge img { object-position: center 5%; }
  .case-card__media--havn img { object-position: center 7%; }
  .case-card__media--anson img { object-position: center 3%; }
}


/* =========================================================
   V10 FULL-WIDTH HERO + LARGER CASE STUDY CARDS
   ========================================================= */
.hero {
  padding-top: clamp(82px, 9vw, 138px);
  padding-bottom: clamp(82px, 9vw, 132px);
}
.hero-grid {
  display: block;
  width: 100%;
}
.hero-copy {
  width: 100%;
  max-width: none;
}
.hero-copy .eyebrow {
  margin-bottom: 24px;
}
.hero-copy h1 {
  max-width: 1120px;
  margin-bottom: 34px;
  font-size: clamp(76px, 9.1vw, 142px);
  line-height: .82;
  letter-spacing: -.058em;
}
.hero-copy h1 em {
  font-size: .62em;
  margin-top: .12em;
}
.hero-lede {
  max-width: 790px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}
.hero-actions {
  margin: 36px 0 42px;
}
.hero-proof {
  max-width: 900px;
}
.platforms {
  margin-top: 24px;
}
.hero-visual,
.hero-visual-rule,
.hero-motion,
.hero-visual-index {
  display: none !important;
}

.case-grid {
  gap: 22px;
}
.case-card__media {
  min-height: 390px;
  height: 390px;
}
.case-card__overlay {
  inset: auto 22px 22px;
  gap: 8px;
}
.case-card__overlay strong {
  font-size: clamp(34px, 3vw, 46px);
}
.case-card__overlay small {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.52;
}
.case-card__arrow {
  width: 50px;
  height: 50px;
}

@media (max-width: 1180px) {
  .hero-copy h1 {
    max-width: 980px;
    font-size: clamp(72px, 9.5vw, 120px);
  }
  .case-card__media {
    min-height: 350px;
    height: 350px;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 86px;
  }
  .hero-copy h1 {
    max-width: 850px;
  }
  .case-card__media {
    min-height: 330px;
    height: 330px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 68px;
  }
  .hero-copy h1 {
    font-size: clamp(56px, 16vw, 82px);
    line-height: .86;
  }
  .hero-copy h1 em {
    font-size: .64em;
  }
  .hero-actions {
    margin: 28px 0 34px;
  }
  .case-card__media {
    min-height: 310px;
    height: 310px;
  }
}

/* =========================================================
   V11 CENTERED IMAGELESS HERO
   Inspired by simple, conversion-focused DTC/SaaS hero layouts.
   ========================================================= */
.hero {
  min-height: auto;
  padding-top: clamp(92px, 10vw, 150px);
  padding-bottom: clamp(84px, 9vw, 128px);
}
.hero-grid {
  display: block;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}
.hero-copy {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  text-align: center;
}
.hero-copy .eyebrow {
  width: fit-content;
  margin: 0 auto 24px;
}
.hero-copy h1 {
  max-width: 1080px;
  margin: 0 auto 30px;
  font-size: clamp(72px, 8.4vw, 128px);
  line-height: .84;
  letter-spacing: -.057em;
  text-wrap: balance;
}
.hero-copy h1 em {
  width: fit-content;
  max-width: 100%;
  margin: .12em auto 0;
  font-size: .62em;
}
.hero-lede {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.62;
  text-wrap: balance;
}
.hero-actions {
  justify-content: center;
  margin: 34px 0 44px;
}
.hero-proof {
  width: min(100%, 820px);
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.hero-proof > div {
  padding: 20px 22px 18px;
}
.hero-proof > div:nth-child(2),
.hero-proof > div:last-child {
  padding-left: 22px;
}
.hero-proof p {
  max-width: 22ch;
  margin: 8px auto 0;
  font-size: 11px;
}
.platforms {
  justify-content: center;
  margin-top: 22px;
}
.hero-watermark {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.hero-visual,
.hero-visual-rule,
.hero-motion,
.hero-visual-index {
  display: none !important;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 76px;
    padding-bottom: 88px;
  }
  .hero-copy h1 {
    max-width: 860px;
    font-size: clamp(66px, 11vw, 104px);
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 68px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1 {
    font-size: clamp(54px, 15.5vw, 78px);
    line-height: .87;
  }
  .hero-copy h1 em {
    width: fit-content;
    margin-inline: auto;
  }
  .hero-lede {
    max-width: 36rem;
  }
  .hero-actions,
  .platforms {
    justify-content: center;
  }
  .hero-proof {
    text-align: center;
  }
  .hero-proof > div,
  .hero-proof > div:nth-child(2),
  .hero-proof > div:last-child {
    padding: 16px 0;
  }
  .hero-proof p {
    max-width: 30ch;
  }
}

/* =========================================================
   V12 FINAL POLISH
   Hero watermark, mobile nav, booking modal
   ========================================================= */

/* Keep the EMAIL watermark decorative without colliding with proof/platform logos. */
.hero-watermark {
  top: 28%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: clamp(150px, 22vw, 360px);
  line-height: .72;
  letter-spacing: -.055em;
  -webkit-text-stroke: 1px rgba(11, 48, 41, .045);
  opacity: .9;
}

/* Mobile navigation: keep the header visible and open a real viewport drawer below it. */
@media (max-width: 980px) {
  body.menu-open { overflow: auto; }
  .site-header { z-index: 1000; }
  .nav {
    position: fixed;
    top: var(--mobile-nav-top, 82px);
    left: 0;
    right: 0;
    bottom: 0;
    inset: var(--mobile-nav-top, 82px) 0 0;
    z-index: 999;
    max-height: calc(100dvh - var(--mobile-nav-top, 82px));
    overflow-y: auto;
    padding: 28px 22px 38px;
    background: rgba(255, 253, 248, .985);
    border-top: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: 0 24px 50px rgba(11, 48, 41, .14);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, opacity .2s ease, visibility .2s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a:not(.button) {
    padding: 12px 0;
    font-size: 18px;
  }
}

@media (max-width: 680px) {
  .hero-watermark { display: none; }
}

/* Google Calendar booking modal. */
.booking-modal[hidden] { display: none !important; }
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 24, 20, .72);
  backdrop-filter: blur(10px);
}
.booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  height: min(820px, calc(100dvh - 40px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
}
.booking-modal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.booking-modal__bar p { margin: 0; font-weight: 800; color: var(--ink); }
.booking-modal__close {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.booking-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.booking-modal__fallback {
  margin: 0;
  padding: 12px 20px 16px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.booking-modal__fallback a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.booking-open { overflow: hidden; }

@media (max-width: 680px) {
  .booking-modal { padding: 0; }
  .booking-modal__dialog {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }
}


/* =========================================================
   V13 EXPANDABLE FULL-SCREEN VIEWERS + WATERMARK POSITION
   ========================================================= */
.hero-watermark {
  top: auto;
  left: 50%;
  bottom: -7.2vw;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  font-size: clamp(150px, 26vw, 430px);
  line-height: .7;
  letter-spacing: -.07em;
  -webkit-text-stroke: 1px rgba(11, 48, 41, .055);
  opacity: 1;
}

.portfolio-lightbox { position: fixed; inset: 0; z-index: 6000; padding: 0; display: block; }
.portfolio-lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgba(4,20,17,.72); backdrop-filter: blur(12px); }
.portfolio-lightbox__dialog { position: fixed; inset: 0; z-index: 1; width: 100vw; height: 100dvh; max-height: none; display: block; overflow: hidden; border: 0; border-radius: 0; background: #f8f6f1; box-shadow: none; outline: none; will-change: transform,border-radius,opacity; }
.portfolio-lightbox__close, .booking-modal__close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); z-index: 8; width: 48px; height: 48px; min-width: 48px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(11,48,41,.16); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.12); font: 500 24px/1 "Manrope",sans-serif; backdrop-filter: blur(10px); }
.portfolio-lightbox__stage { width: 100%; height: 100dvh; overflow: auto; padding: clamp(72px,8vw,96px) 20px 40px; display: flex; justify-content: center; align-items: flex-start; background: #f8f6f1; scroll-behavior: auto; }
.portfolio-lightbox__stage img { width: min(760px,100%); max-width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: 0 18px 55px rgba(11,48,41,.12); }
.portfolio-lightbox__bar, .portfolio-lightbox__caption { display: none !important; }

.booking-modal { position: fixed; inset: 0; z-index: 6500; display: block; padding: 0; }
.booking-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(4,20,17,.72); backdrop-filter: blur(12px); }
.booking-modal__dialog { position: fixed; inset: 0; z-index: 1; width: 100vw; height: 100dvh; max-height: none; display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 0; border-radius: 0; background: #fff; box-shadow: none; outline: none; will-change: transform,border-radius,opacity; }
.booking-modal__bar { display: none !important; }
.booking-modal__frame { width: 100%; height: 100%; min-height: 0; border: 0; background: #fff; }
.booking-modal__fallback { position: relative; z-index: 2; margin: 0; padding: 10px 66px 12px 16px; text-align: center; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); font-size: 11px; }

.case-email-showcase { padding: 18px 0 48px; }
.case-email-showcase__head { display: block; margin-bottom: 14px; }
.case-email-showcase__head .eyebrow { margin: 0; }
.case-email-card { cursor: zoom-in; }

@media (max-width:680px) {
  .hero-watermark { display: none; }
  .portfolio-lightbox__stage { padding: 68px 10px 24px; }
  .portfolio-lightbox__stage img { width: 100%; }
  .booking-modal__fallback { padding-inline: 12px 60px; }
  .case-email-showcase { padding: 12px 0 36px; }
  .case-email-showcase__head { padding-inline: 14px; margin-bottom: 10px; }
}


/* =========================================================
   V14 LOGO CAROUSEL + MOBILE NAV HARDENING
   ========================================================= */

/* Cult UI-inspired logo carousel: fixed logo slots with animated swaps, not a marquee. */
.logo-carousel {
  width: var(--shell);
  max-width: 1180px;
  margin: 0 auto;
}
.logo-carousel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.logo-carousel__slot {
  position: relative;
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 26px 24px;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.15);
}
.logo-carousel__slot:last-child { border-right: 0; }
.logo-carousel__slot img {
  display: block;
  width: min(100%, 176px);
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
  transform-origin: center;
}

/* True full-screen mobile navigation below the sticky header. No nested scrolling area. */
@media (max-width: 980px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
  }
  .site-header { z-index: 3001; }
  .nav {
    position: fixed !important;
    top: var(--mobile-nav-top, 82px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: var(--mobile-nav-top, 82px) 0 0 !important;
    z-index: 3000 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    overscroll-behavior: none;
    padding: clamp(30px, 7vh, 66px) 28px max(28px, env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: clamp(8px, 1.9vh, 18px);
    background: rgba(255,253,248,.995) !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-12px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .nav.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav > a:not(.button) {
    padding: 8px 0 !important;
    font: 500 clamp(27px, 7vw, 42px)/1.05 "Instrument Serif", Georgia, serif !important;
    text-align: center;
  }
  .nav > a:not(.button)::after { display: none; }
  .nav .button {
    width: min(100%, 360px) !important;
    margin: 14px auto 0;
    min-height: 54px;
    justify-content: center;
    font-size: 13px;
  }
  .nav-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:last-child {
    bottom: 21px;
    transform: rotate(-45deg);
  }
  .nav-toggle span { transition: transform .2s ease, top .2s ease, bottom .2s ease; }
}

@media (max-width: 720px) {
  .logo-carousel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-carousel__slot { min-height: 104px; padding: 20px 16px; }
  .logo-carousel__slot:nth-child(2) { border-right: 0; }
  .logo-carousel__slot:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .logo-carousel__slot img { width: min(100%, 142px); height: 48px; }
}

/* =========================================================
   V15 — MOBILE NAV REBUILD
   One full-screen layer, no measured offsets, no nested scroll region.
   Body scroll is locked/restored by JS for reliable iOS Safari behavior.
   ========================================================= */
@media (max-width: 980px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: auto !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 7101 !important;
    background: rgba(255,253,248,.98) !important;
  }

  .nav-toggle {
    z-index: 7103 !important;
  }

  .nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 7100 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding:
      calc(112px + env(safe-area-inset-top))
      24px
      max(28px, env(safe-area-inset-bottom)) !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: clamp(6px, 1.25vh, 13px) !important;

    overflow: hidden !important;
    overscroll-behavior: none !important;
    background: #fffdf8 !important;
    border: 0 !important;
    box-shadow: none !important;

    transform: translateY(-10px) scale(.995) !important;
    transform-origin: top center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition:
      transform .28s cubic-bezier(.22,.8,.22,1),
      opacity .2s ease,
      visibility .2s ease !important;
  }

  .nav.open {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav > a:not(.button) {
    width: min(100%, 420px) !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: clamp(7px, 1.15vh, 11px) 0 !important;
    display: block !important;
    flex: 0 0 auto !important;
    color: var(--ink) !important;
    font: 400 clamp(29px, 7.8vw, 40px)/1 "Instrument Serif", Georgia, serif !important;
    letter-spacing: -.025em !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav > a:not(.button)::after {
    display: none !important;
  }

  .nav .button {
    width: min(100%, 390px) !important;
    min-height: 54px !important;
    margin: clamp(10px, 1.7vh, 18px) auto 0 !important;
    padding-inline: 20px !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    top: 21px !important;
    transform: rotate(45deg) !important;
  }
  .nav-toggle[aria-expanded="true"] span:last-child {
    bottom: 21px !important;
    transform: rotate(-45deg) !important;
  }
}

/* Short phones: fit every navigation item without creating a second scroll area. */
@media (max-width: 980px) and (max-height: 720px) {
  .nav {
    padding-top: calc(92px + env(safe-area-inset-top)) !important;
    gap: 3px !important;
  }
  .nav > a:not(.button) {
    padding: 5px 0 !important;
    font-size: clamp(25px, 6.7vw, 32px) !important;
  }
  .nav .button {
    min-height: 48px !important;
    margin-top: 7px !important;
  }
}

/* =========================================================
   V16 — FINAL MOBILE NAV STABILITY FIX
   Do not move/fix the body. Keep the sticky header in normal viewport space.
   ========================================================= */
@media (max-width: 980px) {
  html,
  body {
    position: static !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9101 !important;
    transform: none !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 9103 !important;
    flex: 0 0 44px !important;
  }

  .nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9100 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding:
      calc(112px + env(safe-area-inset-top))
      24px
      max(28px, env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
    touch-action: none !important;
  }

  .nav.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav:not(.open) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 980px) {
  /* backdrop-filter can make fixed descendants use the header as their containing block on Safari. */
  .site-header,
  .site-header.scrolled {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    contain: none !important;
    background: #fffdf8 !important;
  }
}


/* =========================================================
   V17 — MOBILE DRAWER NAV + ALWAYS-AVAILABLE CTA
   A conventional off-canvas drawer replaces the fragile full-screen menu.
   ========================================================= */
.mobile-header-cta,
.nav-drawer-head,
.nav-backdrop,
.nav-close { display: none; }

@media (max-width: 980px) {
  .site-header,
  .site-header.scrolled {
    position: sticky !important;
    top: 0 !important;
    z-index: 9400 !important;
    background: rgba(255,253,248,.98) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transform: none !important;
  }

  .nav-wrap {
    height: 74px !important;
    gap: 10px !important;
  }

  .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .mobile-header-cta {
    display: inline-flex !important;
    margin-left: auto;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    white-space: nowrap;
    font-size: 11px !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  .nav-toggle {
    display: block !important;
    flex: 0 0 44px !important;
    position: relative !important;
    z-index: 9410 !important;
  }

  /* Keep the hamburger simple. The explicit X lives inside the drawer. */
  .nav-toggle[aria-expanded="true"] span:first-child,
  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: none !important;
  }
  .nav-toggle[aria-expanded="true"] span:first-child { top: 17px !important; }
  .nav-toggle[aria-expanded="true"] span:last-child { bottom: 17px !important; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9440;
    background: rgba(7,31,27,.38);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    inset: 0 0 0 auto !important;
    z-index: 9450 !important;
    width: min(88vw, 390px) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: max(18px, env(safe-area-inset-top)) 22px max(26px, env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    background: #fffdf8 !important;
    border: 0 !important;
    box-shadow: -24px 0 60px rgba(7,31,27,.14) !important;
    transform: translateX(104%) !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .32s cubic-bezier(.22,.8,.22,1), visibility .32s ease !important;
  }

  .nav.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-drawer-head {
    display: flex !important;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav-drawer-head > span {
    font: 500 28px/1 "Instrument Serif", Georgia, serif;
    color: var(--ink);
  }

  .nav-close {
    display: grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font: 400 32px/1 "Manrope", system-ui, sans-serif;
    cursor: pointer;
  }

  .nav > a:not(.button) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 15px 2px !important;
    border-bottom: 1px solid var(--line);
    display: flex !important;
    align-items: center;
    color: var(--ink) !important;
    font: 400 clamp(30px, 8vw, 38px)/1.02 "Instrument Serif", Georgia, serif !important;
    letter-spacing: -.025em !important;
    text-align: left !important;
  }
  .nav > a:not(.button)::after { display: none !important; }

  .nav .button {
    width: 100% !important;
    min-height: 56px !important;
    margin: 24px 0 0 !important;
    padding-inline: 18px !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }
}

@media (max-width: 560px) {
  .site-header .brand span { display: none !important; }
  .site-header .brand img { width: 38px !important; height: 38px !important; }
  .mobile-header-cta {
    font-size: 10.5px !important;
    padding-inline: 12px !important;
  }
}

@media (max-width: 390px) {
  .mobile-header-cta span { display: none; }
  .mobile-header-cta { padding-inline: 10px !important; }
}


/* =========================================================
   V18 — MOBILE NAV BRAND + CTA COPY
   ========================================================= */
@media (max-width: 980px) {
  .nav-drawer-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    color: var(--ink) !important;
    text-decoration: none !important;
    font: 400 24px/1 "Instrument Serif", Georgia, serif !important;
  }
  .nav-drawer-brand img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
  }
  .nav-drawer-brand span {
    display: inline !important;
    font: inherit !important;
  }
}
