:root {
  --black: #0b0b0b;
  --charcoal: #171717;
  --ink: #141414;
  --muted: #646464;
  --line: #d8d8d4;
  --soft: #f3f3f0;
  --warm: #fafaf7;
  --white: #fff;
  --accent: #ef5a34;
  --blue: #2877e8;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--warm); color: var(--ink); font-family: var(--font); line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #000; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 160px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--black); color: var(--white); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, .h2 { margin-bottom: .5em; font-weight: 450; letter-spacing: -.055em; line-height: .94; }
h1 { font-size: clamp(64px, 8.4vw, 148px); }
h2 { font-size: clamp(54px, 7vw, 116px); }
.h3 { font-size: clamp(36px, 4vw, 66px); font-weight: 450; letter-spacing: -.045em; line-height: 1; }
p { font-size: clamp(16px, 1.25vw, 20px); }
.lead { font-size: clamp(21px, 2vw, 31px); line-height: 1.25; letter-spacing: -.02em; }
.eyebrow { margin-bottom: 24px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow--light { color: rgba(255,255,255,.76); }
.eyebrow--accent { color: var(--accent); }
.eyebrow--blue { color: var(--blue); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 0 24px; border: 1px solid currentColor; font-size: 13px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding-inline: 17px; font-size: 11px; }
.button--light { background: var(--white); color: var(--black); border-color: var(--white); }
.button--light:hover { background: transparent; color: var(--white); }
.button--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.66); }
.button--ghost:hover { background: var(--white); color: var(--black); }
.button--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.button--dark:hover { background: transparent; color: var(--black); }
.text-link { display: inline-flex; gap: 24px; align-items: center; margin-top: 24px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.text-link--light { color: var(--white); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding: 22px var(--gutter); color: var(--white); transition: padding .3s, background .3s, color .3s, box-shadow .3s; }
.site-header.is-scrolled { padding-block: 12px; background: rgba(250,250,247,.94); color: var(--black); box-shadow: 0 1px 0 rgba(0,0,0,.1); backdrop-filter: blur(12px); }
.site-header.is-scrolled .button--ghost { color: var(--black); border-color: rgba(0,0,0,.45); }
.site-header.is-scrolled .button--ghost:hover { background: var(--black); color: var(--white); }
.brand { font-size: 28px; font-weight: 800; letter-spacing: .06em; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 1.8vw, 24px); }
.site-nav a { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-home { width: auto; height: auto; display: inline-block; flex: 0 0 auto; font-size: inherit; line-height: inherit; text-decoration: none; }
.site-nav .nav-home svg { display: none; }
.site-nav .nav-home::after { bottom: -8px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--black); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url("/assets/home-hero-ayno.webp") center/cover no-repeat; transform: scale(1.03); animation: heroZoom 12s ease-out both; }
.hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.18) 78%, rgba(0,0,0,.34) 100%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding-top: 145px; padding-bottom: clamp(80px, 9vw, 140px); }
.hero-copy { max-width: 950px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-lead { max-width: 620px; margin-bottom: 12px; font-size: clamp(21px, 2vw, 30px); line-height: 1.25; }
.hero-text { max-width: 610px; color: rgba(255,255,255,.77); }
.hero-side { display: grid; gap: 18px; align-self: center; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.32); font-size: 11px; letter-spacing: .08em; }
.hero-side span:first-child { font-size: 24px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 24px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; animation: float 2s infinite; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1.03); } }
@keyframes float { 50% { transform: translateY(6px); } }

.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 160px); align-items: start; }
.intro-copy { max-width: 650px; padding-top: 42px; }
.intro-copy p:not(.lead) { color: var(--muted); }

.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--black); }
.solution-card { position: relative; min-height: 720px; overflow: hidden; color: var(--white); border-right: 1px solid rgba(255,255,255,.22); }
.solution-card:last-child { border-right: 0; }
.solution-card__media, .solution-card__shade { position: absolute; inset: 0; }
.solution-card__media { background-position: center; background-size: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.solution-card__shade { background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.82)); }
.solution-card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 34px; }
.solution-card h3 { margin-bottom: 32px; font-size: clamp(31px, 2.8vw, 50px); font-weight: 450; letter-spacing: -.04em; line-height: .98; }
.solution-card ul { margin: 0 0 38px; padding: 0; list-style: none; color: #fff; font-size: 16px; line-height: 1.75; }
.solution-card a { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.solution-card:hover .solution-card__media { transform: scale(1.055); filter: saturate(1.12); }
.solution-card--meet .solution-card__media { background-image: url('/assets/solution-meet-v62.webp'); background-position: 68% center; }
.solution-card--see .solution-card__media { background-image: url('/assets/solution-see-v62.webp'); background-position: 24% center; }
.solution-card--hear .solution-card__media { background-image: url('/assets/solution-hear-v62.webp'); background-position: center center; }
.solution-card--work .solution-card__media { background-image: url('/assets/solution-work-v62.webp'); background-position: 64% center; }

.numbers { background: var(--white); border-bottom: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 28px 36px; border-right: 1px solid var(--line); }
.number:first-child { border-left: 1px solid var(--line); }
.number-value { font-size: clamp(27px, 2.6vw, 46px); letter-spacing: -.04em; }
.number-label { margin-top: 6px; color: var(--muted); font-size: 13px; }

.partner-layout { display: grid; grid-template-columns: minmax(280px, .75fr) 1.75fr; gap: clamp(50px, 7vw, 120px); align-items: center; }
.logo-cloud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 18vw, 280px); align-items: stretch; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-cloud span { min-height: 110px; display: grid; place-items: center; background: var(--soft); font-size: clamp(17px, 1.5vw, 25px); font-weight: 650; letter-spacing: -.03em; }

.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { position: relative; min-height: 420px; overflow: hidden; color: var(--white); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(0,0,0,.82)); }
.project-card__copy { position: absolute; inset: auto 24px 25px; display: grid; gap: 6px; }
.project-card__copy small { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.project-card__copy strong { font-size: clamp(25px, 2vw, 36px); font-weight: 450; letter-spacing: -.035em; line-height: 1; }
.project-card__copy em { font-size: 12px; font-style: normal; color: rgba(255,255,255,.72); }
.project-card:hover img { transform: scale(1.055); }

.services-layout { display: grid; grid-template-columns: .7fr 2fr; gap: clamp(50px, 7vw, 110px); }
.service-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.service-steps li { position: relative; padding: 0 22px; border-left: 1px solid var(--line); }
.service-steps span { display: block; margin-bottom: 48px; color: var(--muted); font-size: 12px; }
.service-steps strong { display: block; margin-bottom: 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.service-steps p { color: var(--muted); font-size: 14px; }

.experience { display: grid; grid-template-columns: 1.1fr 1fr .8fr; min-height: 550px; background: var(--white); }
.experience-media { min-height: 440px; overflow: hidden; }
.experience-media img { width: 100%; height: 100%; object-fit: cover; }
.experience-copy, .experience-locations { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 80px); }
.experience-copy p:not(.eyebrow) { color: var(--muted); }
.experience-locations { gap: 46px; border-left: 1px solid var(--line); }
.experience-locations div { display: grid; gap: 6px; }
.experience-locations strong { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.experience-locations span { color: var(--muted); font-size: 14px; }

.group-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 11vw, 180px); align-items: end; }
.group-layout p:not(.eyebrow) { color: rgba(255,255,255,.72); }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.insight-card { min-height: 360px; display: flex; flex-direction: column; padding: 36px; border-right: 1px solid var(--line); }
.insight-card:last-child { border-right: 0; }
.insight-card h3 { margin-bottom: 18px; font-size: clamp(26px, 2vw, 37px); font-weight: 450; letter-spacing: -.035em; line-height: 1.05; }
.insight-card p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.insight-card a { margin-top: auto; font-size: 13px; font-weight: 700; }

.final-cta { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.final-cta__media, .final-cta__shade { position: absolute; inset: 0; }
.final-cta__media { background: url('/assets/philip-morris-hero.webp') center/cover no-repeat; }
.final-cta__shade { background: rgba(0,0,0,.78); }
.final-cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(70px, 10vw, 170px); align-items: end; }
.final-cta h2 { margin-bottom: 0; }
.final-cta p { color: rgba(255,255,255,.75); }

.site-footer { padding-top: 76px; background: var(--black); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; padding-bottom: 64px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.brand--footer { font-size: 34px; }
.footer-grid p, .footer-grid span, .footer-grid a, .footer-grid small { color: rgba(255,255,255,.65); font-size: 13px; }
.footer-grid strong { margin-top: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.52); font-size: 12px; }

/* Inner pages */
.inner-hero { min-height: 72svh; position: relative; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--black); }
.inner-hero__media, .inner-hero__shade { position: absolute; inset: 0; }
.inner-hero__media { background: center/cover no-repeat; }
.inner-hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.2)); }
.inner-hero__copy { position: relative; z-index: 1; padding-top: 160px; padding-bottom: clamp(70px, 8vw, 120px); }
.inner-hero__copy h1 { max-width: 1000px; }
.inner-hero__copy p { max-width: 700px; color: rgba(255,255,255,.78); }
.content-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 9vw, 160px); }
.content-grid h2 { position: sticky; top: 120px; font-size: clamp(43px, 5vw, 78px); }
.prose { max-width: 840px; }
.prose h2, .prose h3 { position: static; margin-top: 2.3em; font-size: clamp(32px, 3vw, 50px); font-weight: 450; letter-spacing: -.04em; line-height: 1.05; }
.prose p, .prose li { color: #4e4e4e; font-size: clamp(17px, 1.25vw, 20px); }
.prose ul { padding-left: 1.2em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.feature-card { min-height: 240px; padding: 30px; background: var(--soft); }
.feature-card span { display: block; margin-bottom: 60px; color: var(--muted); font-size: 12px; }
.feature-card h3 { margin: 0 0 12px; font-size: 27px; font-weight: 450; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

.services-process { position: relative; overflow: hidden; background: #ebeae4; }
.services-process::before, .services-process::after { content: ""; position: absolute; inset: 0; }
.services-process::before { background: url('/assets/services-process-bg.webp') center/cover no-repeat; transform: scale(1.03); }
.services-process::after { background: linear-gradient(180deg, rgba(243,243,240,.28), rgba(243,243,240,.42)); }
.services-process > .page-shell { position: relative; z-index: 1; }
.services-process .feature-card { background: rgba(250,250,247,.84); backdrop-filter: blur(2px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }

.final-cta--services .final-cta__shade { background: rgba(0,0,0,.38); }

.cta-band--plain { background: var(--white); border-top: 1px solid var(--line); }
.cta-band--plain h2 { margin-bottom: 0; }
.cta-band--plain p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.gallery img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; min-height: 734px; }
.quote { margin: 70px 0; padding: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote blockquote { margin: 0 0 24px; font-size: clamp(29px, 3vw, 48px); line-height: 1.13; letter-spacing: -.035em; }
.quote cite { color: var(--muted); font-style: normal; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-form label.full { grid-column: 1/-1; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid #999; border-radius: 0; background: transparent; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .button { justify-self: start; grid-column: 1/-1; margin-top: 12px; }
.form-note { grid-column: 1/-1; color: var(--muted); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 1120px) {
  .header-cta { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .site-nav { justify-content: flex-end; gap: 14px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card { min-height: 640px; }
  .solution-card:nth-child(2) { border-right: 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number:nth-child(2) { border-right: 0; }
  .number:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-steps { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .experience { grid-template-columns: 1fr 1fr; }
  .experience-locations { grid-column: 1/-1; flex-direction: row; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; padding-block: 16px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; background: var(--black); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a { font-size: 23px; }
  body.menu-open { overflow: hidden; }
  .site-header:has(.site-nav.is-open) { color: var(--white); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .split-heading, .partner-layout, .services-layout, .group-layout, .final-cta__grid, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .project-grid, .insight-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 520px; }
  .insight-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .insight-card:last-child { border-bottom: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .experience { grid-template-columns: 1fr; }
  .experience-locations { grid-column: auto; }
  .experience--compact .experience-media { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid h2 { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img:first-child { grid-row: auto; min-height: 420px; }
}

@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 580px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .numbers-grid { grid-template-columns: 1fr; }
  .number, .number:first-child { border: 0; border-bottom: 1px solid var(--line); }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
  .project-card { min-height: 430px; }
  .service-steps { grid-template-columns: 1fr; }
  .service-steps li { padding: 0 0 28px 20px; }
  .service-steps span { margin-bottom: 24px; }
  .experience-locations { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label.full, .contact-form .button, .form-note { grid-column: auto; }
}

/* AYNO official header logo */
.brand--header {
  position: relative;
  display: block;
  width: clamp(210px, 14vw, 270px);
  height: auto;
  line-height: 0;
  flex: none;
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.brand-logo--dark { display: none; }
.site-header.is-scrolled .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark { display: block; }
.site-header:has(.site-nav.is-open) .brand-logo--light { display: block; }
.site-header:has(.site-nav.is-open) .brand-logo--dark { display: none; }
@media (max-width: 820px) {
  .brand--header { width: clamp(180px, 44vw, 225px); }
}
@media (max-width: 420px) {
  .brand--header { width: 175px; }
}

/* Contact form refinements - V8 */
.contact-form .privacy-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}
.contact-form .privacy-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}
.contact-form input:required,
.contact-form select:required,
.contact-form textarea:required {
  box-shadow: none;
}

/* About page refinements - V11 */
.partner-section { background: var(--warm); }
.partner-intro { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); column-gap: clamp(50px, 8vw, 130px); align-items: end; margin-bottom: clamp(54px, 6vw, 86px); }
.partner-intro .eyebrow { grid-column: 1 / -1; }
.partner-intro h2 { margin-bottom: 0; }
.partner-intro > p:last-child { max-width: 720px; margin: 0; color: var(--muted); }
.partner-groups { min-width: 0; }
.partner-group { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); align-items: stretch; padding: 34px 0 38px; border-top: 1px solid var(--line); }
.partner-group:first-child { border-top: 0; padding-top: 0; }
.partner-group__title { display: flex; align-items: center; margin: 0; padding-left: 26px; border-left: 5px solid var(--ink); color: var(--ink); font-size: clamp(19px, 1.45vw, 25px); font-weight: 750; letter-spacing: -.025em; line-height: 1.16; text-transform: uppercase; }
.partner-logo-grid { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 22px 30px; align-items: center; }
.partner-logo { min-width: 0; min-height: 82px; display: flex; align-items: center; justify-content: center; padding: 8px 2px; background: transparent; }
.partner-logo img { display: block; width: auto; max-width: 100%; max-height: 68px; object-fit: contain; background: transparent; mix-blend-mode: normal; filter: none; }
.partner-logo:nth-child(3) img, .partner-logo:nth-child(6) img { max-height: 82px; }
.partner-disclaimer { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: right; }
.locations-list { display: grid; gap: 34px; }
.location-entry h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 0; }
.location-entry p { margin-bottom: 0; }
.location-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px 4px; border: 1px solid #b8b8b8; border-radius: 999px; color: #555; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1120px) {
  .partner-group { grid-template-columns: 180px minmax(0, 1fr); }
  .partner-logo-grid { grid-template-columns: repeat(4, minmax(100px, 1fr)); }
}
@media (max-width: 820px) {
  .partner-intro { grid-template-columns: 1fr; row-gap: 24px; }
  .partner-group { grid-template-columns: 1fr; gap: 28px; padding-block: 34px; }
  .partner-group__title { min-height: 74px; }
  .partner-logo-grid { grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: 18px 24px; }
  .partner-disclaimer { text-align: left; }
  .locations-list { gap: 26px; }
}
@media (max-width: 560px) {
  .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
  .partner-logo { min-height: 72px; }
  .partner-logo img { max-height: 58px; }
}


/* V12 About: separate high-resolution partner logos */
.partner-logo {
  overflow: visible;
  min-height: 88px;
}
.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 190px);
  max-height: 60px;
  object-fit: contain;
  background: transparent;
}
.partner-logo img.partner-logo__vector {
  filter: none;
}
.partner-logo img.partner-logo__raster {
  filter: none;
  mix-blend-mode: normal;
}
.partner-logo--pair {
  gap: 13px;
}
.partner-logo--pair img {
  max-width: 40%;
  max-height: 48px;
}
.partner-logo--pair span {
  width: 1px;
  height: 34px;
  background: #9d9d9d;
  opacity: .65;
}
.location-entry p {
  line-height: 1.75;
}
@media (max-width: 560px) {
  .partner-logo { min-height: 76px; }
  .partner-logo img { max-width: min(100%, 155px); max-height: 52px; }
  .partner-logo--pair img { max-width: 39%; max-height: 42px; }
}

/* V14 - AYNO cookie consent banner */
.ayno-cookie-banner[hidden] { display: none !important; }
.ayno-cookie-banner {
  position: fixed;
  z-index: 9998;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #050505;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -12px 42px rgba(0,0,0,.18);
}
.ayno-cookie-banner__inner {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 22px clamp(18px, 2.6vw, 42px) 18px;
}
.ayno-cookie-banner__text {
  max-width: 1460px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.42;
}
.ayno-cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.ayno-cookie-banner__choices {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.ayno-cookie-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.ayno-cookie-button:hover { transform: translateY(-1px); }
.ayno-cookie-button--details {
  min-width: 255px;
  background: #222;
  color: #fff;
  border: 2px solid #5aa7ef;
}
.ayno-cookie-button--choice {
  min-width: 108px;
  background: #0878cf;
  color: #fff;
}
.ayno-cookie-button--choice:hover { background: #1289e7; }

@media (max-width: 760px) {
  .ayno-cookie-banner__inner { padding: 18px 16px 16px; }
  .ayno-cookie-banner__text { font-size: 12px; line-height: 1.45; }
  .ayno-cookie-banner__actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .ayno-cookie-banner__choices { width: 100%; margin-left: 0; }
  .ayno-cookie-button--details { width: 100%; min-width: 0; }
  .ayno-cookie-button--choice { flex: 1; min-width: 0; }
}
/* V16 - Footer AYNO company line */
.site-footer .brand--footer { color: #fff !important; }

/* V20 - Mobile menu: keep the full-screen overlay black even after page scroll */
@media (max-width: 820px) {
  .site-nav {
    z-index: 1;
  }

  .brand--header,
  .menu-toggle {
    position: relative;
    z-index: 2;
  }

  body.menu-open .site-header,
  .site-header:has(.site-nav.is-open) {
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.menu-open .site-nav,
  .site-nav.is-open {
    background: var(--black);
    color: #fff;
    opacity: 1;
    visibility: visible;
  }

  body.menu-open .site-nav a,
  .site-nav.is-open a {
    color: #fff !important;
  }

  body.menu-open .brand-logo--light,
  .site-header:has(.site-nav.is-open) .brand-logo--light {
    display: block !important;
  }

  body.menu-open .brand-logo--dark,
  .site-header:has(.site-nav.is-open) .brand-logo--dark {
    display: none !important;
  }

  body.menu-open .menu-toggle {
    color: #fff !important;
  }
}


/* V30 - bilingual ITA / ENG language switch */
.language-switch { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid currentColor; border-radius: 999px; line-height: 1; white-space: nowrap; }
.site-nav .language-switch a { font-size: 10px; letter-spacing: .08em; opacity: .55; }
.site-nav .language-switch a.is-active { opacity: 1; }
.site-nav .language-switch a::after { display: none; }
.language-switch > span { font-size: 10px; opacity: .45; }
@media (max-width: 820px) {
  .site-nav .language-switch { margin-top: 12px; padding: 8px 12px; }
  .site-nav .language-switch a { font-size: 14px; }
  .language-switch > span { font-size: 13px; }
}


/* V32 — Projects & case studies */
.projects-index-hero { min-height: 72svh; display: grid; align-items: end; padding-top: 150px; padding-bottom: clamp(70px, 8vw, 120px); background: #0b0b0b; color: #fff; }
.projects-index-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 10vw, 170px); align-items: end; }
.projects-index-hero h1 { margin: 0; font-size: clamp(58px, 8vw, 132px); max-width: 920px; }
.projects-index-hero .lead { color: rgba(255,255,255,.78); max-width: 620px; }
.projects-count { display: inline-block; margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.28); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.project-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.case-card { min-height: 520px; display: flex; flex-direction: column; background: #ecece8; overflow: hidden; border: 1px solid #deded8; transition: transform .35s var(--ease), background .35s var(--ease); }
.case-card:hover { transform: translateY(-5px); background: #fff; }
.case-card__media { height: 210px; overflow: hidden; background: #151515; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__abstract { height: 100%; padding: 24px; display: flex; justify-content: space-between; align-items: flex-start; color: rgba(255,255,255,.7); background: linear-gradient(135deg,#111 0%,#242424 100%); font-size: 11px; letter-spacing: .12em; }
.case-card__abstract span:last-child { font-size: 42px; letter-spacing: -.05em; color: #fff; }
.case-card__copy { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.case-card__index { margin-bottom: 16px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.case-card__copy small { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.case-card__copy h2 { margin: 18px 0 14px; font-size: clamp(28px,2.4vw,42px); line-height: .98; letter-spacing: -.045em; }
.case-card__copy p { color: var(--muted); font-size: 15px; }
.case-card__link { margin-top: auto; padding-top: 28px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.case-study-hero { position: relative; min-height: 74svh; display: grid; align-items: end; overflow: hidden; background: #0b0b0b; color: #fff; }
.case-study-hero__media, .case-study-hero__shade, .case-study-hero__graphic { position: absolute; inset: 0; }
.case-study-hero__media { background-position: center; background-size: cover; }
.case-study-hero__shade { background: linear-gradient(90deg,rgba(0,0,0,.85),rgba(0,0,0,.24)),linear-gradient(0deg,rgba(0,0,0,.38),transparent 52%); }
.case-study-hero__graphic { display: flex; justify-content: space-between; align-items: flex-start; padding: clamp(110px,12vw,180px) var(--gutter) 0; color: rgba(255,255,255,.12); font-size: clamp(50px,9vw,160px); font-weight: 700; letter-spacing: -.07em; }
.case-study-hero__copy { position: relative; z-index: 2; padding-top: 170px; padding-bottom: clamp(70px,8vw,120px); }
.case-study-hero__copy h1 { max-width: 1120px; margin-bottom: 24px; font-size: clamp(60px,8vw,132px); }
.case-study-hero__copy > p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.78); font-size: clamp(19px,1.6vw,26px); }
.case-back { display: inline-block; margin-top: 32px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.case-intro__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,9vw,150px); align-items: start; }
.case-intro h2 { font-size: clamp(42px,5vw,78px); }
.case-lead { padding-top: 32px; }
.case-story { background: #fff; }
.case-story__grid { display: grid; grid-template-columns: 1fr 1fr; padding-inline: 0; width: min(100%,var(--max)); }
.case-story__block { min-height: 520px; padding: clamp(42px,5vw,76px); border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-story__block--dark { background: #111; color: #fff; border-color: #111; }
.case-story__block > span { margin-bottom: auto; color: var(--muted); font-size: 12px; }
.case-story__block h3 { margin: 0; font-size: clamp(27px,2.6vw,45px); font-weight: 450; letter-spacing: -.04em; line-height: 1.12; }
.case-story__block--dark h3 { color: #fff; }
.case-section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.case-highlights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.case-highlight { min-height: 200px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.65); }
.case-highlight span { color: var(--muted); font-size: 11px; }
.case-highlight strong { font-size: clamp(19px,1.7vw,28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.case-next { background: #fff; }
.case-next__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px,10vw,170px); align-items: end; }
.case-next__grid p { color: var(--muted); }
@media (max-width: 1100px){ .project-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .case-highlights{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width: 820px){ .projects-index-hero__grid,.case-intro__grid,.case-story__grid,.case-next__grid{grid-template-columns:1fr;} .project-directory-grid{grid-template-columns:1fr;} .case-card{min-height:460px;} .case-story__block{min-height:380px;} .case-study-hero__graphic{font-size:15vw;} }
@media (max-width: 560px){ .case-highlights{grid-template-columns:1fr;} .projects-index-hero h1,.case-study-hero__copy h1{font-size:clamp(48px,15vw,78px);} }


/* V33 — Case study original project imagery */
.case-card--logo .case-card__media { padding: 34px; background: #fff; }
.case-card--logo .case-card__media img { object-fit: contain; transform: none !important; }
.case-study-hero--logo { background: #0b0b0b; }
.case-study-hero__logo-panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 9vw 7vw 5vw 53%; background: linear-gradient(90deg,#0b0b0b 0%,#0b0b0b 44%,#f0f0ec 44%,#fff 100%); }
.case-study-hero__logo-panel img { width: min(560px, 34vw); max-height: 300px; object-fit: contain; }
.case-study-hero__logo-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.08) 42%,transparent 58%); pointer-events: none; }
.case-gallery-section { background: #101010; color: #fff; }
.case-gallery-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.case-gallery-head .eyebrow { color: rgba(255,255,255,.62); }
.case-gallery-head h2 { margin: 0; }
.case-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.case-photo { min-height: 380px; margin: 0; overflow: hidden; background: #1a1a1a; }
.case-photo--wide { grid-column: 1/-1; min-height: 560px; }
.case-photo img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .7s var(--ease); }
.case-photo:hover img { transform: scale(1.025); }
@media (max-width: 820px) {
  .case-study-hero__logo-panel { padding: 150px 10vw 34vh; background: linear-gradient(180deg,#0b0b0b 0%,#0b0b0b 40%,#f0f0ec 40%,#fff 100%); }
  .case-study-hero__logo-panel img { width: min(460px,70vw); max-height: 190px; }
  .case-photo-grid { grid-template-columns: 1fr; }
  .case-photo--wide { grid-column: auto; }
  .case-photo, .case-photo--wide { min-height: 320px; }
  .case-gallery-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .case-card--logo .case-card__media { padding: 28px; }
  .case-photo, .case-photo--wide { min-height: 260px; }
}

/* V35 case study gallery */
.case-gallery{padding-top:0}
.case-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.case-gallery__item{margin:0;overflow:hidden;background:#f2f2f2;aspect-ratio:16/10}
.case-gallery__item img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:820px){.case-gallery__grid{grid-template-columns:1fr}.case-gallery__item{aspect-ratio:4/3}}

/* V36 featured projects and client logo */
.project-grid--featured { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.case-client-logo { display: block; margin-top: 18px; max-width: 180px; width: 100%; height: auto; }
@media (max-width: 1200px) {
  .project-grid--featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .project-grid--featured { grid-template-columns: 1fr; }
}

/* V37 partner logos */
.logo-cloud .partner-logo { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; display: grid; place-items: center; align-self: stretch; overflow: hidden; background: #fff; padding: clamp(22px, 3vw, 42px); }
.logo-cloud .partner-logo img { display: block; width: auto; height: auto; max-width: 180px; max-height: 68px; object-fit: contain; filter: none !important; mix-blend-mode: normal !important; image-rendering: auto; }
.logo-cloud .partner-logo img[src$="biamp-color.svg"] { width: 119px; max-width: 119px; height: 47px; max-height: 47px; image-rendering: -webkit-optimize-contrast; }

/* Compensate only for transparent/white canvas included in supplied originals. */
.logo-cloud .partner-logo img[src$="cisco-color.png"] { width: 185px; max-width: none; max-height: none; }
.logo-cloud .partner-logo img[src$="maxhub-color.png"] { width: 205px; max-width: none; max-height: none; }
.logo-cloud .partner-logo img[src$="samsung-color.png"] { width: 205px; max-width: none; max-height: none; }
.logo-cloud .partner-logo img[src$="navori-color.webp"] { width: 285px; max-width: none; max-height: none; }
.logo-cloud .partner-logo img[src$="hisense-color.png"] { width: 205px; max-width: none; max-height: none; }

.partner-trademark-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: right; }
@media (max-width: 820px) {
  .logo-cloud { grid-auto-rows: 150px; }
  .logo-cloud .partner-logo { min-height: 0; padding: 20px; }
  .logo-cloud .partner-logo img { max-width: 155px; max-height: 58px; }
  .logo-cloud .partner-logo img[src$="cisco-color.png"] { width: 165px; }
  .logo-cloud .partner-logo img[src$="maxhub-color.png"],
  .logo-cloud .partner-logo img[src$="samsung-color.png"] { width: 185px; }
  .logo-cloud .partner-logo img[src$="navori-color.webp"] { width: 255px; }
  .logo-cloud .partner-logo img[src$="hisense-color.png"] { width: 185px; }
  .partner-trademark-note { text-align: left; }
}

/* V53 - Supplied upgraded Zoom, Microsoft and Logitech artwork */
.logo-cloud .partner-logo img[src$="zoom-hd.svg"] { width: 150px; max-width: none; max-height: none; }
.logo-cloud .partner-logo img[src$="microsoft-hd.svg"] { width: 190px; max-width: none; max-height: none; }
.logo-cloud .partner-logo img[src$="logitech-hd.svg"] { width: 170px; max-width: none; max-height: none; }
.partners .partner-trademark-note { grid-column: 2; margin: 12px 0 0; }
@media (max-width: 820px) {
  .logo-cloud .partner-logo img[src$="zoom-hd.svg"] { width: 140px; }
  .logo-cloud .partner-logo img[src$="microsoft-hd.svg"] { width: 165px; }
  .logo-cloud .partner-logo img[src$="logitech-hd.svg"] { width: 150px; }
  .partners .partner-trademark-note { grid-column: 1; }
}


/* STIM Tech Group footer - layout mirrored from stimtechgroup.com */
.stim-group-footer {
  width: 100%;
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: Arial, Helvetica, sans-serif;
}
.stim-group-footer * { box-sizing: border-box; }
.stim-group-footer__inner {
  padding-top: 62px;
  padding-bottom: 44px;
}
.stim-group-footer__grid {
  display: grid;
  grid-template-columns: minmax(340px, 2.35fr) minmax(135px, .85fr) minmax(120px, .75fr) minmax(120px, .75fr) minmax(150px, 1fr);
  column-gap: clamp(28px, 3.2vw, 62px);
  align-items: start;
}
.stim-group-footer__legal,
.stim-group-footer__company-col,
.stim-group-footer__company-card {
  min-width: 0;
}
.stim-group-footer img {
  display: block;
  width: auto;
  max-width: 100%;
}
.stim-group-footer__hero-logo {
  width: min(100%, 370px);
  height: auto;
  margin: 0 0 24px;
}
.stim-group-footer__legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.stim-group-footer a {
  display: inline-block;
  width: fit-content;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.stim-group-footer a:hover,
.stim-group-footer a:focus-visible { opacity: .72; }
.stim-group-footer__policies {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 39px;
}
.stim-group-footer__company,
.stim-group-footer__copyright {
  margin: 20px 0 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
}
.stim-group-footer__copyright { margin-top: 9px; }
.stim-group-footer__company-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stim-group-footer__company-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 0 22px;
  object-fit: contain;
  object-position: left top;
}
.stim-group-footer__company-card a + a { margin-top: 14px; }
.stim-group-footer__company-card--stim img { width: 90px; }
.stim-group-footer__company-card--varuna { margin-top: 87px; }
.stim-group-footer__company-card--varuna img { width: 180px; margin-bottom: 20px; }
.stim-group-footer__company-card--ayno img { width: 105px; }
.stim-group-footer__company-card--yooda img { width: 125px; }
.stim-group-footer__company-card--serenno img { width: 205px; margin-top: -4px; margin-bottom: 18px; }

@media (max-width: 1120px) {
  .stim-group-footer__grid {
    grid-template-columns: minmax(300px, 1.6fr) repeat(2, minmax(150px, 1fr));
    row-gap: 54px;
  }
  .stim-group-footer__legal { grid-row: span 2; }
  .stim-group-footer__company-card--varuna { margin-top: 52px; }
}
@media (max-width: 760px) {
  .stim-group-footer__inner { padding-top: 48px; padding-bottom: 38px; }
  .stim-group-footer__grid { grid-template-columns: 1fr 1fr; gap: 48px 30px; }
  .stim-group-footer__legal { grid-column: 1 / -1; grid-row: auto; }
  .stim-group-footer__company-card--varuna { margin-top: 44px; }
}
@media (max-width: 480px) {
  .stim-group-footer__grid { grid-template-columns: 1fr; }
  .stim-group-footer__legal { grid-column: auto; }
}


/* V50 - Existing partner artwork, sized for the homepage grid only.
   The About partner grid and the homepage hero keep their existing styles. */
.partners .logo-cloud--home .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.4vw, 22px);
}

.partners .logo-cloud--home .partner-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 140px;
  max-height: 68px;
  object-fit: contain;
}

/* These originals include extra canvas around the visible brand mark. */
.partners .logo-cloud--home .partner-logo img[src$="cisco-color.png"] {
  width: 175px;
  max-width: 100%;
  max-height: 100%;
}

.partners .logo-cloud--home .partner-logo img[src$="maxhub-color.png"] {
  width: 160px;
  max-width: 100%;
  max-height: 100%;
}

.partners .logo-cloud--home .partner-logo img[src$="neat-color.png"] {
  max-width: 100px;
}

/* When the grid shares a narrow desktop row with the heading, use two
   columns to keep all eight logos readable and inside their cells. */
@media (min-width: 821px) and (max-width: 1120px) {
  .partners .logo-cloud--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }
}

/* V52 - Supplied local Pexip PNG; allow for its transparent canvas. */
.partners .logo-cloud--home .partner-logo img[src$="pexip-hd.png"] {
  width: 200px;
  max-width: 100%;
  max-height: 100%;
}

/* V53 - Better supplied artwork for Zoom, Microsoft and Logitech on the homepage */
.partners .logo-cloud--home .partner-logo img[src$="zoom-hd.svg"] {
  width: 150px;
  max-width: 100%;
  max-height: 100%;
}
.partners .logo-cloud--home .partner-logo img[src$="microsoft-hd.svg"] {
  width: 190px;
  max-width: 100%;
  max-height: 100%;
}
.partners .logo-cloud--home .partner-logo img[src$="logitech-hd.svg"] {
  width: 165px;
  max-width: 100%;
  max-height: 100%;
}


/* V55 - Add Mappano to the homepage location lists only.
   Preserve the hero, partner logos and all existing section height rules. */
.number-value--locations {
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.2;
}

/* All three centres share the existing horizontal layout on tablets. */
@media (min-width: 561px) and (max-width: 1120px) {
  .experience--compact .experience-locations > div {
    flex: 1 1 0;
    min-width: 0;
  }
}


/* V54 - About only: use the supplied Microsoft vector without its empty square canvas. */
.partner-section .logo-cloud .partner-logo img.partner-logo__microsoft {
  width: 180px;
  max-width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .partner-section .logo-cloud .partner-logo img.partner-logo__microsoft {
    width: 155px;
    max-height: 58px;
  }
}


/* V61 - Content-led layout, shared rhythm and responsive components. */
:root {
  --space-section: clamp(64px, 7.5vw, 112px);
  --space-grid: clamp(32px, 5.5vw, 88px);
  --anchor-offset: 100px;
}
html { scroll-padding-top: var(--anchor-offset); }
main [id] { scroll-margin-top: 18px; }
body { overflow-wrap: break-word; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: clamp(48px, 8.4vw, 132px); }
h2 { font-size: clamp(42px, 6.5vw, 100px); }
p { line-height: 1.55; }
.page-shell { min-width: 0; }
.section { padding-block: var(--space-section); }
main > section { height: auto; max-height: none; min-width: 0; }
main > section:not(.hero):not(.inner-hero):not(.projects-index-hero):not(.case-study-hero):not(.final-cta):not(.experience) { min-height: 0; }
:where(.split-heading, .content-grid, .contact-layout, .group-layout, .final-cta__grid, .case-intro__grid, .case-next__grid, .services-layout, .feature-grid, .numbers-grid) > * { min-width: 0; }
:where(p, ul, ol):last-child { margin-bottom: 0; }
.button { max-width: 100%; padding-block: 13px; line-height: 1.4; text-align: center; cursor: pointer; }
.button--small { padding-block: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 5px;
}
.section--dark a:focus-visible, .site-footer a:focus-visible, .stim-group-footer :focus-visible { outline-color: #fff; }
.text-link { line-height: 1.5; }
.site-nav .is-current::after { transform: scaleX(1); }
.site-nav > a { padding-block: 8px; }
.site-nav > a::after { bottom: 2px; }

/* A visual hero is allowed to grow: no clipping at short window heights. */
.hero { min-height: min(100svh, 1000px); }
.hero-grid { padding-top: 154px; padding-bottom: clamp(88px, 8vw, 128px); }
.hero-copy h1 { max-width: 950px; }
.hero-lead { line-height: 1.3; }
.inner-hero, .case-study-hero, .projects-index-hero { min-height: clamp(620px, 74svh, 760px); }
.inner-hero__copy, .case-study-hero__copy { padding-top: 152px; padding-bottom: clamp(72px, 7vw, 108px); }
.inner-hero__copy > p:last-child, .case-study-hero__copy > p:last-child { margin-bottom: 0; }
.inner-hero__copy h1, .case-study-hero__copy h1 { line-height: .98; }
.inner-hero__copy > p:not(.eyebrow) { font-size: clamp(18px, 1.5vw, 22px); }
.projects-index-hero { padding-top: 152px; padding-bottom: clamp(72px, 7vw, 108px); }

/* Text and headings share clear, stable columns. No sticky section titles. */
.split-heading, .content-grid, .contact-layout, .case-intro__grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--space-grid); align-items: start;
}
.content-grid h2 { position: static; margin-bottom: 0; font-size: clamp(42px, 4.8vw, 74px); line-height: 1; }
.content-grid .eyebrow { margin-bottom: 22px; }
.intro-copy, .case-lead { padding-top: 0; }
.prose > :first-child { margin-top: 0; }
.prose .lead, .case-lead .lead { font-size: clamp(21px, 2vw, 28px); line-height: 1.35; color: inherit; }
.prose h3 { margin-top: 40px; margin-bottom: 20px; font-size: clamp(29px, 3vw, 44px); }
.prose p, .prose li { line-height: 1.6; }
.section--dark .prose p, .section--dark .prose li { color: rgba(255,255,255,.8); }
.section--dark .prose .lead, .section--dark .prose h3 { color: #fff; }
.group-layout, .final-cta__grid, .case-next__grid, .projects-index-hero__grid { gap: var(--space-grid); }
.group-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; }
.section-head { align-items: end; gap: 28px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; }
.section-head > .text-link { flex-shrink: 0; }

/* Solution tiles stay in normal document flow, including two-row tablets. */
.solutions-grid { height: auto; min-height: 0; max-height: none; grid-template-columns: repeat(4,minmax(0,1fr)); }
.solution-card { display: flex; align-items: end; min-width: 0; min-height: 650px; height: auto; max-height: none; }
.solution-card__body { position: relative; inset: auto; width: 100%; padding: clamp(24px, 2.35vw, 36px); }
.solution-card h3 { min-height: 3.1em; font-size: clamp(29px, 2.45vw, 40px); margin-bottom: 24px; line-height: 1.04; }
.solution-card .eyebrow { margin-bottom: 24px; }
.solution-card ul { font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.solution-card__body > a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; }
.solution-card__shade { background: linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.86)); }

/* Home: comfortable readable columns instead of undersized service copy. */
.numbers-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.number { padding: 30px clamp(22px,2.5vw,36px); }
.number-value--locations { font-size: clamp(23px,1.9vw,29px); }
.services-layout { grid-template-columns: 1fr; gap: 44px; }
.services-layout h2 { max-width: 760px; margin-bottom: 0; }
.service-steps { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; }
.service-steps li { padding-inline: clamp(20px,2vw,30px); }
.service-steps span { margin-bottom: 32px; }
.service-steps p { font-size: 15px; line-height: 1.6; }
.experience--compact { height: auto; min-height: 600px; grid-template-columns: minmax(0,1.1fr) minmax(0,1.15fr) minmax(220px,.7fr); }
.experience--compact .experience-media { position: relative; height: auto; min-height: 100%; }
.experience--compact .experience-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.experience--compact .experience-copy, .experience--compact .experience-locations { padding: clamp(30px,3.2vw,50px); }
.experience-copy > .button { align-self: start; }
.experience-copy .h3 { font-size: clamp(34px,3.25vw,50px); line-height: 1.02; }
.experience--compact .experience-locations { gap: 32px; }
.experience-locations strong { line-height: 1.5; }
.insight-card { min-height: 320px; padding: clamp(26px,3vw,40px); }
.insight-card a { padding-block: 8px; }

/* Uniform cards: natural growth, aligned headers and generous inner margins. */
.feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.feature-card { min-width: 0; min-height: 252px; padding: clamp(26px,3vw,40px); }
.feature-card span { margin-bottom: 36px; }
.feature-card h3 { margin: 0 0 16px; font-size: clamp(25px,2.1vw,32px); line-height: 1.12; }
.feature-card p { font-size: 16px; line-height: 1.55; }
.services-process .feature-grid { margin-top: 0; }
.services-process .feature-card { background: rgba(250,250,247,.94); }
.about-timeline { margin-top: 54px; }

/* Keep partner artwork inside its cell; preserve brand proportions. */
.partner-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.55fr); gap: var(--space-grid); }
.partner-intro { gap: 28px var(--space-grid); margin-bottom: 52px; }
.partner-section .logo-cloud { grid-auto-rows: clamp(135px,12vw,185px); }
.partner-section .logo-cloud .partner-logo { padding: clamp(20px,2.5vw,34px); }
.partner-section .logo-cloud .partner-logo img { max-width: 100%; max-height: 78px; width: auto; height: auto; }
.partner-section .logo-cloud .partner-logo img[src$="cisco-color.png"],
.partner-section .logo-cloud .partner-logo img[src$="maxhub-color.png"],
.partner-section .logo-cloud .partner-logo img[src$="samsung-color.png"],
.partner-section .logo-cloud .partner-logo img[src$="hisense-color.png"] { max-height: 110px; }
.partner-section .logo-cloud .partner-logo img[src$="navori-color.webp"] { width: 210px; max-height: 110px; }
.partner-section .logo-cloud .partner-logo img[src$="biamp-color.svg"] { width: 119px; height: auto; }
.partners .logo-cloud--home { grid-auto-rows: clamp(140px,12vw,185px); }
.partners .partner-trademark-note { grid-column: 2; margin-top: -12px; }
.location-entry h3 { line-height: 1.2; }
.location-badge { white-space: normal; }

/* Project previews and galleries: reserved image ratios, no stretched rows. */
.project-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-grid--featured { grid-template-columns: repeat(4,minmax(0,1fr)); }
.project-card { min-width: 0; min-height: 420px; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card__copy { gap: 10px; }
.project-card__copy strong { line-height: 1.08; }
.project-directory-grid { gap: 24px; }
.case-card { min-height: 0; }
.case-card__media { height: auto; aspect-ratio: 16/10; flex: none; }
.case-card__copy { padding: clamp(24px,2.4vw,32px); }
.case-card__copy h2 { font-size: clamp(29px,2.5vw,40px); line-height: 1.05; }
.case-card__copy p { line-height: 1.6; }
.case-intro h2 { margin-bottom: 0; font-size: clamp(36px,4vw,60px); line-height: 1.06; }
.case-story__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.case-story__block { min-height: 420px; padding: clamp(36px,4.5vw,64px); gap: 48px; }
.case-story__block > span { line-height: 1.6; }
.case-story__block--dark > span { color: rgba(255,255,255,.65); }
.case-story__block h3 { font-size: clamp(25px,2.6vw,38px); line-height: 1.2; }
.case-section-head, .case-gallery-head { align-items: end; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; }
.case-section-head h2, .case-gallery-head h2 { margin: 0; }
.case-section-head > h2 { max-width: 75%; }
.case-section-head .eyebrow, .case-gallery-head .eyebrow { margin-bottom: 0; }
.case-highlights { grid-template-columns: repeat(4,minmax(0,1fr)); }
.case-highlight { min-height: 170px; padding: 26px; gap: 28px; }
.case-highlight strong { line-height: 1.18; overflow-wrap: anywhere; }
.case-photo-grid { gap: 18px; }
.case-photo { position: relative; min-height: 0; aspect-ratio: 16/10; }
.case-photo--wide { min-height: 0; aspect-ratio: 2/1; }
.case-photo img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.case-photo-grid:has(> .case-photo--wide:first-child) > .case-photo:last-child:nth-child(even) { grid-column: 1/-1; aspect-ratio: 2/1; }
.case-gallery__grid > .case-gallery__item:last-child:nth-child(odd) { grid-column: 1/-1; aspect-ratio: 2/1; }
.case-next { min-height: 0; }
.case-next__grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; }
.case-next__grid h2 { font-size: clamp(38px,4.5vw,68px); margin-bottom: 0; line-height: 1.05; }
.gallery { align-items: stretch; }
.gallery img { min-height: 0; aspect-ratio: 16/10; }
.gallery img:first-child { min-height: 0; aspect-ratio: auto; }

/* Calls to action retain impact with content-safe padding. */
.final-cta { min-height: 560px; padding-block: var(--space-section); }
.final-cta__grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; }
.final-cta p { color: rgba(255,255,255,.88); }
.cta-band .content-grid { align-items: center; }
.cta-band h2 { margin-bottom: 0; }

/* Forms and utility pages. */
.contact-form { align-content: start; align-items: start; gap: 26px 24px; }
.contact-form label { min-width: 0; line-height: 1.5; }
.contact-form input, .contact-form select, .contact-form textarea { min-width: 0; font-size: 16px; line-height: 1.5; text-transform: none; letter-spacing: 0; padding: 12px 0; }
.contact-form select { padding-right: 26px; }
.contact-form textarea { min-height: 160px; }
.contact-form .privacy-consent { font-size: 13px; line-height: 1.6; }
.privacy-consent a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form .privacy-consent input { padding: 0; }
.form-note { margin: 0; line-height: 1.6; }
.contact-form .button { margin-top: 4px; }
.utility-page main > .section { min-height: max(580px,78svh); display: grid; align-items: center; padding-top: 150px; }
.utility-page h1 { font-size: clamp(48px,7vw,100px); }
.utility-page .site-header { background: var(--warm); color: var(--ink); }
.utility-page .brand-logo--light { display: none; }
.utility-page .brand-logo--dark { display: block; }
.utility-page .header-cta { color: var(--ink); }
.utility-page .site-header:has(.site-nav.is-open) .brand-logo--light { display: block; }
.utility-page .site-header:has(.site-nav.is-open) .brand-logo--dark { display: none; }

/* Footers and persistent controls: spacious but not several screens tall. */
.site-footer { padding-top: 58px; }
.footer-grid { gap: 34px; padding-bottom: 48px; grid-template-columns: minmax(0,1.3fr) repeat(3,minmax(0,1fr)); }
.footer-grid > div { min-width: 0; }
.footer-grid a { padding-block: 3px; }
.footer-grid .brand--footer { line-height: 1.5; }
.stim-group-footer__grid { grid-template-columns: minmax(0,2.1fr) repeat(4,minmax(0,1fr)); gap: 32px; }
.stim-group-footer__company-card img { height: 60px; max-height: 60px; object-fit: contain; object-position: left center; }
.stim-group-footer__company-card--serenno img { margin-top: 0; margin-bottom: 22px; }
.stim-group-footer__company-card--varuna { margin-top: 48px; }
.cookie-preferences { appearance: none; border: 0; background: none; padding: 4px 0; color: inherit; font: inherit; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ayno-cookie-banner { max-height: calc(100svh - 16px); overflow-y: auto; overscroll-behavior: contain; }
.ayno-cookie-banner__inner { padding-bottom: max(20px,env(safe-area-inset-bottom)); }
.ayno-cookie-button { min-height: 44px; }
/* Visible by default. JavaScript opts only pending reveal elements into motion. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal--pending:not(.is-visible) { opacity: 0; transform: translateY(18px); }
}

@media (max-width: 1200px) {
  .project-grid--featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header { gap: 24px; }
}
@media (max-width: 1120px) {
  .solutions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .solution-card { min-height: 600px; border-bottom: 1px solid rgba(255,255,255,.22); }
  .solution-card h3 { min-height: 2.1em; font-size: 38px; }
  .numbers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 0; }
  .experience--compact { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 0; }
  .experience--compact .experience-copy { min-height: 500px; padding: 44px; }
  .experience--compact .experience-locations { grid-column: 1/-1; flex-direction: row; gap: 30px; border-left: 0; border-top: 1px solid var(--line); padding: 36px var(--gutter); }
  .experience--compact .experience-locations > div { flex: 1 1 0; min-width: 0; }
  .case-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stim-group-footer__grid { grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(0,1fr)); gap: 36px; }
  .stim-group-footer__legal { grid-row: span 2; }
}
@media (max-width: 980px) {
  .content-grid, .case-intro__grid { gap: 40px; }
  .content-grid h2 { font-size: clamp(38px,4.7vw,48px); }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-timeline { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .about-timeline .feature-card { padding: 26px; }
  .site-nav { gap: 12px; }
}
@media (max-width: 820px) {
  :root { --space-section: 72px; --space-grid: 36px; --anchor-offset: 88px; }
  .site-nav { inset: 0; padding: 104px 24px max(30px,env(safe-area-inset-bottom)); gap: clamp(12px,2.5svh,24px); justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; }
  .site-nav > a { min-height: 42px; display: flex; align-items: center; padding-block: 4px; flex-shrink: 0; }
  .site-nav .language-switch { margin-top: 0; }
  .menu-toggle { width: 44px; height: 44px; }
  .site-header { padding-block: 14px; }
  .site-header.is-scrolled { padding-block: 10px; }
  .hero-grid { padding-top: 130px; padding-bottom: 84px; }
  .hero { min-height: 700px; }
  .hero-copy h1 { font-size: clamp(50px,10vw,78px); }
  .inner-hero, .case-study-hero, .projects-index-hero { min-height: 580px; }
  .inner-hero__copy, .case-study-hero__copy { padding-top: 128px; padding-bottom: 64px; }
  .inner-hero h1, .case-study-hero__copy h1, .projects-index-hero h1 { font-size: clamp(48px,10vw,80px); line-height: .99; }
  .projects-index-hero { padding-top: 128px; padding-bottom: 64px; }
  .projects-index-hero__grid, .split-heading, .content-grid, .contact-layout, .group-layout, .case-intro__grid, .case-next__grid, .final-cta__grid { grid-template-columns: 1fr; }
  .content-grid h2 { font-size: clamp(42px,7vw,60px); }
  .contact-layout { gap: 52px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-card { min-height: 420px; }
  .section-head { align-items: flex-start; }
  .section-head > .text-link { margin-top: 0; }
  .service-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience--compact { grid-template-columns: 1fr; }
  .experience--compact .experience-media { min-height: 0; height: 380px; }
  .experience--compact .experience-copy { min-height: 0; padding: 48px var(--gutter); }
  .experience--compact .experience-locations { grid-column: auto; padding-inline: var(--gutter); }
  .experience-copy .h3 { font-size: clamp(36px,6vw,50px); }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card { min-height: 0; padding: 32px 0; }
  .insight-card a { margin-top: 12px; }
  .partner-layout { grid-template-columns: 1fr; }
  .partners .partner-trademark-note { grid-column: 1; margin-top: -16px; }
  .partner-section .logo-cloud { grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 145px; }
  .case-story__grid { grid-template-columns: 1fr; }
  .case-story__block { min-height: 320px; padding: 40px var(--gutter); }
  .case-gallery-head, .case-section-head { align-items: flex-start; flex-direction: column; }
  .case-section-head > h2 { max-width: 100%; }
  .case-photo, .case-photo--wide, .case-photo-grid:has(> .case-photo--wide:first-child) > .case-photo:last-child:nth-child(even) { aspect-ratio: 16/10; grid-column: auto; }
  .case-gallery__grid > .case-gallery__item:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 4/3; }
  .final-cta { min-height: 560px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .stim-group-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 28px; }
  .stim-group-footer__legal { grid-column: 1/-1; grid-row: auto; }
  .stim-group-footer__inner { padding-top: 44px; padding-bottom: 40px; }
}
@media (max-width: 560px) {
  :root { --space-section: 60px; }
  h2 { font-size: clamp(38px,10.5vw,54px); line-height: 1; }
  .hero { min-height: 660px; }
  .hero-grid { padding-top: 124px; padding-bottom: 84px; }
  .hero-copy h1 { font-size: clamp(48px,12.8vw,64px); }
  .hero-lead { font-size: 21px; }
  .hero-text { font-size: 16px; }
  .hero .button-row { gap: 12px; margin-top: 28px; }
  .hero .button { width: 100%; }
  .inner-hero, .case-study-hero, .projects-index-hero { min-height: 560px; }
  .inner-hero__copy, .case-study-hero__copy { padding-top: 120px; padding-bottom: 56px; }
  .inner-hero h1, .case-study-hero__copy h1, .projects-index-hero h1 { font-size: clamp(44px,12.4vw,64px); }
  .content-grid h2 { font-size: 42px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 540px; }
  .solution-card__body { padding: 32px var(--gutter); }
  .solution-card h3 { font-size: 36px; min-height: 0; }
  .solution-card ul { font-size: 15px; }
  .number { min-height: 138px; padding: 26px 18px; border: 0; border-bottom: 1px solid var(--line); }
  .number:nth-child(odd) { border-right: 1px solid var(--line); }
  .number:first-child { border-left: 0; }
  .number-value { font-size: 29px; line-height: 1.15; }
  .number-value--locations { font-size: 22px; }
  .number-label { font-size: 12px; line-height: 1.5; }
  .project-grid, .project-grid--featured { grid-template-columns: 1fr; }
  .project-card { min-height: 390px; }
  .service-steps { grid-template-columns: 1fr; gap: 26px; }
  .service-steps li { padding: 0 0 0 22px; }
  .service-steps span { margin-bottom: 18px; }
  .experience--compact .experience-media { height: 280px; }
  .experience--compact .experience-locations { flex-direction: column; gap: 26px; }
  .experience--compact .experience-locations > div { flex: 0 0 auto; }
  .feature-grid, .about-timeline { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .feature-card { min-height: 0; padding: 28px 24px; }
  .feature-card span { margin-bottom: 26px; }
  .feature-card h3 { font-size: 27px; }
  .partner-section .logo-cloud { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 130px; }
  .partner-section .logo-cloud .partner-logo { padding: 18px; }
  .partner-section .logo-cloud .partner-logo img { max-height: 68px; }
  .partners .logo-cloud--home { grid-auto-rows: 130px; }
  .partner-intro { margin-bottom: 36px; }
  .case-intro h2 { font-size: 36px; }
  .case-story__block { min-height: 0; gap: 42px; }
  .case-story__block h3 { font-size: 26px; }
  .case-highlights { grid-template-columns: 1fr; }
  .case-highlight { min-height: 120px; padding: 26px 24px; gap: 20px; }
  .case-highlight strong { font-size: 24px; }
  .case-next__grid h2 { font-size: 40px; }
  .case-card__copy h2 { font-size: 32px; }
  .case-back { min-height: 44px; display: inline-flex; align-items: center; }
  .final-cta { min-height: 560px; }
  .final-cta h2 { font-size: clamp(44px,12vw,60px); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label.full, .contact-form .button, .form-note { grid-column: 1; }
  .contact-form .button { width: 100%; }
  .footer-grid { gap: 32px 24px; }
  .footer-grid > div:nth-child(2) { grid-column: 1/-1; }
  .footer-bottom { padding-block: 20px; line-height: 1.6; }
  .stim-group-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stim-group-footer__legal { grid-column: 1/-1; }
  .stim-group-footer__company-card img { max-height: 50px; height: 50px; }
  .stim-group-footer__company-card--varuna { margin-top: 36px; }
  .ayno-cookie-banner__actions { align-items: stretch; }
  .ayno-cookie-button--details { min-width: 0; width: 100%; }
  .ayno-cookie-banner__choices { width: 100%; margin: 0; }
  .ayno-cookie-banner__choices > button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal--pending { opacity: 1; transform: none; }
}


body.menu-open .site-header { z-index: 10020; }
@media (max-width: 820px) { [data-responsive-background] { background-image: var(--mobile-bg) !important; } }

/* Clear close affordance on the mobile menu. */
.menu-toggle > span:not(.sr-only) { transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Logo-only project hero: real columns, never white type over a white panel. */
.case-logo-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: var(--space-grid); align-items: center; padding-top: 150px; padding-bottom: 84px; }
.case-study-hero--logo .case-study-hero__copy { padding: 0; min-width: 0; }
.case-study-hero--logo .case-study-hero__copy h1 { font-size: clamp(48px,5.5vw,82px); max-width: 100%; line-height: 1; }
.case-study-hero--logo .case-study-hero__copy > p { max-width: 100%; }
.case-study-hero--logo .case-study-hero__logo-panel { position: static; inset: auto; padding: clamp(30px,4vw,60px); min-height: 350px; background: var(--soft); }
.case-study-hero--logo .case-study-hero__logo-panel img { width: min(100%,300px); max-height: 280px; height: auto; }
@media (max-width: 820px) {
  .case-logo-layout { grid-template-columns: 1fr; padding-top: 128px; padding-bottom: 64px; }
  .case-study-hero--logo .case-study-hero__logo-panel { min-height: 280px; padding: 30px; }
  .case-study-hero--logo .case-study-hero__logo-panel img { width: min(100%,250px); max-height: 240px; }
}
