/* Refinement layer: retains the established brand and underlying page components. */
:root {
  --ink: #242321;
  --dark: #161616;
  --muted: #62605b;
  --paper: #fff;
  --soft: #f7f6f2;
  --line: #e2dfd7;
  --gold: #dfbd72;
  --gold-dark: #765820;
}
.utility-links { display: flex; align-items: center; gap: 28px; }
.utility-links a { padding-block: 4px; }
.nav .mobile-support-link { display: none; }
.btn:not(.gold):not(.ghost):not(.outline):hover { background: #37342d; }

/* Concrete enquiry routes and delivery expectations. */
.enquiry-routes { padding-bottom: 0; }
.route-grid, .foundation-photo-grid, .project-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.route-card { display: block; padding: 30px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.route-card:first-child { background: var(--soft); border-top: 3px solid var(--gold); }
.route-card h2 { font-size: 1.4rem; margin-top: 12px; }
.route-card p { color: var(--muted); }
.route-card:hover, .project-placeholder:hover { border-color: #a88848; }
.enquiry-context { padding: 22px; border-left: 3px solid var(--gold-dark); background: #fff; margin-block: 24px; }
.enquiry-context h3 { font-size: 1.15rem; margin-block: 9px; }
.enquiry-context p { margin: 0; color: var(--muted); font-size: .94rem; }
.support-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: start; }
.support-layout > div > p, .support-checklist p { color: var(--muted); }
.support-contacts { display: grid; gap: 12px; }
.support-contacts a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; overflow-wrap: anywhere; }
.support-contacts span { color: var(--muted); font-size: .88rem; }
.support-checklist { padding: 32px; background: var(--soft); border-top: 3px solid var(--gold); }
.support-checklist h2 { font-size: 1.65rem; }
.support-checklist p { font-size: .92rem; margin-bottom: 0; }
.engagement-section { background: #f5f2eb; }
.engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.engagement-grid article { padding: 30px; background: white; border-top: 3px solid #bb9449; display: flex; flex-direction: column; align-items: start; }
.engagement-number { color: var(--gold-dark); font: 500 .88rem/1.5 monospace; margin-bottom: 25px; }
.engagement-grid h3 { font-size: 1.9rem; margin-bottom: 14px; }
.engagement-grid h4 { font-size: 1rem; letter-spacing: -.01em; line-height: 1.5; }
.engagement-grid p { font-size: .94rem; color: var(--muted); }
.engagement-output { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.engagement-output strong { font-size: .88rem; }
.engagement-output p { margin-top: 9px; }
.engagement-grid .text-link { font-size: .88rem; }
.compliance-home { background: #242321; color: #fff; }
.compliance-home .eyebrow { color: #e4c482; }
.compliance-home .split p { color: #e1ddd4; }
.compliance-home .text-link { border-color: #a38c60; }
.compliance-home .text-link:hover { color: #f0ce86; }
.compliance-home :focus-visible { outline-color: #f0ce86; }
.compliance-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; padding: 0; margin: 30px 0 0; list-style: none; counter-reset: compliance; }
.compliance-steps li { padding-top: 18px; border-top: 1px solid #cfc4aa; counter-increment: compliance; }
.compliance-steps strong { display: block; }
.compliance-steps strong::before { content: '0' counter(compliance) ' / '; color: var(--gold-dark); font-size: .85rem; }
.compliance-steps p { margin: 10px 0 0; font-size: .94rem; }
.service-specific-cta .eyebrow { color: #e4c482; }
.service-specific-cta .wrap { gap: 45px; }
.service-specific-cta h2 { max-width: 750px; }
.service-specific-cta .btn { flex-shrink: 0; }

/* Licensed, real photography, separate from Emocom project claims. */
.service-photo { margin: 0; min-width: 0; }
.service-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; }
.service-photo-solar img { object-position: center 84%; }
.service-photo-consulting img { object-position: center 72%; }
.service-photo figcaption { font-size: .75rem; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.service-photo figcaption a { text-underline-offset: 3px; }
.photo-editorial { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.photo-editorial p { color: var(--muted); }
.service-photo-section { border-top: 1px solid var(--line); }
.foundation-photo-grid > article { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.foundation-photo-grid .service-photo img { border-radius: 0; aspect-ratio: 16 / 9; }
.foundation-photo-grid figcaption { margin: 12px 24px 0; }
.foundation-photo-copy { padding: 24px 30px 30px; }
.foundation-photo-copy h3 { font-size: 1.6rem; max-width: 460px; }
.foundation-photo-copy p { color: var(--muted); }

/* Four documented projects. */
.project-preview { background: var(--soft); }
.project-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-placeholder { padding: 24px; border: 1px solid var(--line); background: #fff; border-radius: 5px; text-decoration: none; }
.placeholder-label { display: block; font-size: .78rem; line-height: 1.6; color: #72541c; }
.project-placeholder h3 { margin-block: 20px 12px; font-size: 1.5rem; }
.project-placeholder p { color: var(--muted); font-size: .92rem; }
.project-placeholder .text-link { font-size: .88rem; }
.project-disclosure { padding: 22px 26px; background: #f7f3e9; border-left: 3px solid #a88848; margin-bottom: 32px; }
.project-detail { padding: 30px; border: 1px solid var(--line); border-radius: 5px; scroll-margin-top: 115px; }
.project-detail h2 { font-size: 1.9rem; margin-top: 16px; }
.project-detail dl { margin: 0; }
.project-detail dl > div { padding-block: 18px; border-top: 1px solid var(--line); }
.project-detail dt { font-weight: 600; margin-bottom: 8px; }
.project-detail dd { color: var(--muted); margin: 0; }
.partner-evidence { background: #f7f3e9; }
.partner-evidence .fine { margin-bottom: 0; }

@media (max-width: 1000px) {
  .engagement-grid { gap: 16px; }
  .engagement-grid article { padding: 24px; }
  .project-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-editorial, .support-layout { gap: 35px; }
}
@media (max-width: 760px) {
  .nav .mobile-support-link { display: block; }
  .route-grid, .engagement-grid, .photo-editorial, .support-layout { grid-template-columns: 1fr; }
  .engagement-grid article { padding: 30px; }
  .route-card { padding: 25px; }
  .foundation-photo-grid, .project-detail-grid { grid-template-columns: 1fr; }
  .support-checklist { padding: 26px; }
  .foundation-photo-copy { padding: 24px; }
  .enquiry-context { padding: 20px; }
  .service-specific-cta .btn { white-space: normal; }
}
@media (max-width: 440px) {
  .project-preview-grid, .compliance-steps { grid-template-columns: 1fr; }
  .project-detail { padding: 24px; }
  .engagement-grid article { padding: 25px; }
}
body { overflow-wrap: break-word; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { line-height: 1.2; }
.wrap { width: min(var(--max), calc(100% - 48px)); }
.section { padding-block: clamp(60px, 7vw, 104px); }
.section-head { gap: 48px; }
.eyebrow { font-size: .75rem; letter-spacing: .15em; }
.btn { border-radius: 5px; gap: 10px; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #8c6826;
  outline-offset: 4px;
}
.hero-slider :focus-visible, .service-hero :focus-visible,
.industry-hero :focus-visible, .cta :focus-visible { outline-color: #f0ce86; }
.topline { background: #161616; color: #e5e1d8; }
.nav-wrap { min-height: 86px; gap: 24px; }
.brand { padding: 5px 14px; background: #111111; }
.brand img { width: 124px; height: 55px; }
.nav { gap: 25px; }
.nav a, .nav-group summary { min-height: 44px; }
.mega-menu { max-height: calc(100dvh - 140px); overflow-y: auto; }
.footer { background: #f4f2ed; }
.footer-bottom { flex-wrap: wrap; }
.footer-grid { grid-template-columns: 1.4fr .85fr 1fr 1.2fr; }
.footer a:not(.brand) { padding-block: 3px; }

/* The first slide sets a stable height; all slides share the same content rhythm. */
.hero-slider, .hero-slides, .hero-slide-inner { min-height: 0; }
.hero-slide:first-child { position: relative; }
.hero-slide:before { background: linear-gradient(120deg, #161616, #292723); }
.hero-slide-inner {
  min-height: 560px;
  grid-template-columns: 1.16fr .84fr;
  gap: 64px;
  padding-block: 76px 40px;
}
.hero-slider h1, .hero-slider h2 {
  font-size: clamp(3rem, 4.7vw, 4.6rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  max-width: 720px;
}
.hero-slider h1 span, .hero-slider h2 span { color: #e9c987; }
.hero-slider .hero-copy > p { max-width: 590px; font-size: 1.04rem; }
.hero-slider .hero-copy > .hero-signature {
  margin: 27px 0 0;
  font-size: .75rem;
  color: #c6c0b5;
}
.foundation-diagram {
  position: relative;
  padding: 26px 23px 24px;
  border: 1px solid #dfbd7236;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff0a, #ffffff02);
  box-shadow: 0 20px 65px #00000030;
}
.diagram-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 500 .75rem/1.6 monospace;
  letter-spacing: .07em;
  color: #d3c9b6;
  padding-bottom: 26px;
}
.diagram-business {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 21px 18px;
  border: 1px solid #dfbd7240;
  border-radius: 7px;
  background: #2b2924;
}
.diagram-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #dfbd72;
  color: #161616;
  border-radius: 5px;
  font: 700 1.5rem/1 Manrope, sans-serif;
}
.diagram-business strong { font: 600 1.05rem/1.4 Manrope, sans-serif; }
.diagram-business small { display: block; font-size: .75rem; color: #cfc7b8; margin-top: 4px; }
.diagram-connector { height: 30px; width: 1px; background: #c5ae78; margin: auto; }
.diagram-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; position: relative; }
.diagram-pillars:before { content: ''; height: 1px; position: absolute; top: 0; left: 16%; right: 16%; background: #c5ae78; }
.diagram-pillars > div {
  position: relative;
  border: 1px solid #dfbd7236;
  border-top-color: #c5ae78;
  background: #23221f;
  border-radius: 5px;
  padding: 20px 8px 14px;
  text-align: center;
}
.diagram-pillars .line-icon { width: 30px; height: 30px; color: #e9c987; margin: 0 auto 14px; display: block; }
.diagram-pillars strong { display: block; font: 600 .8rem/1.4 Manrope, sans-serif; }
.diagram-pillars small { display: block; color: #cfc7b8; font-size: .75rem; line-height: 1.5; margin-top: 5px; }
.diagram-lifecycle { display: flex; justify-content: space-between; gap: 12px; border-block: 1px solid #dfbd7227; margin-top: 25px; padding-block: 14px; color: #d8cfbd; font: .75rem/1.5 monospace; letter-spacing: .07em; }
.foundation-diagram > p { font: 500 .85rem/1.55 Manrope, sans-serif; color: #d0c8b9; margin: 20px 0 0; }
.hero-controls { position: relative; left: auto; bottom: auto; transform: none; padding-block: 18px 23px; border-top: 1px solid #dfbd7230; }
.hero-pagination { gap: 7px; }
.hero-pagination button { width: 54px; height: 44px; background: transparent; color: #c3bcae; border-top: 2px solid #c3bcae50; font-size: .75rem; text-align: left; padding-left: 4px; }
.hero-pagination button.is-active { background: transparent; border-top-color: var(--gold); color: #f0d79f; }
.hero-nav button { min-width: 44px; min-height: 44px; }
.hero-nav [data-hero-pause] { font-size: .9rem; }
.hero-nav [data-hero-pause][aria-pressed=true] { background: #dfbd72; color: #161616; }

.logo-section { padding-block: 45px; background: #fbfbf8; border-bottom: 1px solid var(--line); }
.logo-section .section-head { width: 100%; margin-bottom: 25px; }
.logo-section h2 { font-size: clamp(1.55rem, 2.3vw, 2rem); }
.logo-section .eyebrow { margin-bottom: 10px; }
.logo-tile { border-radius: 7px; box-shadow: 0 2px 8px #24232104; }
.logo-directory-link { margin-top: 22px; }
.marquee-toggle.icon-only { width: 44px; height: 44px; }
.client-directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-directory .logo-tile { width: auto; min-width: 0; min-height: 180px; }
.client-directory .logo-tile img { height: 85px; width: 175px; }
.logo-fallback { font: 600 .78rem/1.4 Manrope, sans-serif; text-align: center; padding: 10px; color: var(--ink); }
.logo-unavailable figcaption:after { content: 'Image currently unavailable'; display: block; font-size: .75rem; margin-top: 6px; color: var(--muted); }

.home-services { background: #fff; }
.service-card-mobile-name, .service-card-mobile-summary { display: none; }
.enterprise-grid { gap: 20px; }
.home-service-grid .enterprise-card, .service-directory .enterprise-card { min-height: 325px; padding: 30px; border-radius: 8px; border-color: var(--line); }
.service-card-link .line-icon { width: 42px; height: 42px; margin-bottom: 26px; color: #765820; }
.enterprise-card .card-kicker { font-size: .75rem; letter-spacing: .14em; }
.enterprise-card h3 { font-size: 1.24rem; line-height: 1.32; }
.enterprise-card p { font-size: 1rem; line-height: 1.65; }
.home-services .enterprise-card[data-priority=true], .service-directory .enterprise-card[data-priority=true] { background: #f7f5ed; border-color: #d5c49c; }
.enterprise-card[data-priority=true] .line-icon { color: #765820; }
.enterprise-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #1616160b; border-color: #b29455; }
.enterprise-card .text-link { width: fit-content; border-bottom: 1px solid #cbb683; padding-bottom: 3px; font-size: .81rem; }
.center-action { text-align: left; }
.industries-home { background: #f7f6f2; }
.photo-pills .industry-pill { border-radius: 10px; background: #fff; padding: 15px; grid-template-columns: 78px 1fr; gap: 20px; min-height: 140px; border: 1px solid var(--line); }
.photo-pills .industry-photo { border-radius: 6px; width: 78px; height: 96px; }
.industry-copy { gap: 9px; }
.industry-copy strong { font-size: 1rem; line-height: 1.4; }
.industry-copy small { font-size: .78rem; line-height: 1.55; }
.image-credit { line-height: 1.6; }
.why-emocom { background: #fff; }
.why-list article { grid-template-columns: 38px 1fr; gap: 20px; }
.why-list h3 { font-size: 1.15rem; }
.why-list p { font-size: 1rem; }
.lifecycle-section { background: #161616; }
.delivery-lifecycle { list-style: none; padding: 0; gap: 20px; }
.delivery-lifecycle li { position: relative; padding: 28px 8px 10px 0; }
.delivery-lifecycle li:before { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); top: -5px; left: 0; }
.delivery-lifecycle small { color: #d1c9bb; font-size: .8rem; }
.ecosystem-section { background: #fbfbf8; }
.ecosystem-group-head { border-bottom: 0; }
.ecosystem-group-head h3 { font-size: 1.15rem; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-layout > div > p { color: var(--muted); max-width: 390px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { min-height: 48px; position: relative; padding-right: 26px; list-style: none; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: '+'; position: absolute; right: 2px; top: 0; color: #765820; font-size: 1.35rem; }
.faq details[open] summary:after { content: '−'; }
.faq p { font-size: 1rem; line-height: 1.75; }
.cta { position: relative; background: #242321; border-top: 1px solid #dfbd7220; }
.cta h2 { max-width: 720px; }
.cta p { max-width: 630px; color: #ddd6c9; }
.page-hero { background: #f5f3ee; padding-block: 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-jump { background: #fff; border-bottom: 1px solid var(--line); }
.page-jump .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 27px; padding-block: 14px; }
.page-jump span { color: var(--muted); font-size: .75rem; margin-right: 12px; }
.page-jump a { font-weight: 600; font-size: .83rem; min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.page-jump a:hover { color: var(--gold-dark); text-decoration: underline; }
.service-hero { padding-block: 54px 65px; }
.service-hero:after { opacity: .6; }
.service-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1.12; letter-spacing: -.03em; }
.service-hero .eyebrow { margin-top: 30px; }
.service-overview .split > p, .lead-copy, .architecture-context .split > p { font-size: 1.03rem; line-height: 1.85; }
.capability-grid article, .challenge-grid article { border-radius: 5px; }
.challenge-grid { background: transparent; border: 0; gap: 16px; }
.challenge-grid article { border: 1px solid var(--line); min-height: 172px; }
.challenge-grid span { margin-bottom: 25px; }
.challenge-grid p { font-size: .95rem; }
.capability-grid article { min-height: 135px; }
.capability-grid span { margin-bottom: 22px; }
.capability-grid p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 14px 0 0; }
.scope-note { color: var(--muted); font-size: .86rem; margin-top: 20px; }
.compliance-callout { padding: 32px; border: 1px solid #d8c89f; border-left: 4px solid #765820; border-radius: 6px; margin-top: 30px; background: #f7f3e8; }
.compliance-callout h3 { font-size: 1.5rem; }
.compliance-callout p { max-width: 920px; font-size: 1rem; color: var(--muted); margin: 0; }
.service-partners { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.service-partners figure { border-radius: 6px; }
.partner-note-inline { background: white; border-left: 3px solid #765820; padding: 22px; color: var(--muted); }
.partner-note-inline a { color: var(--ink); }
.partner-card { border-radius: 6px; }
.industry-hero { min-height: 510px; }
.industry-hero .wrap { padding-block: 70px; }
.industry-hero h1 { font-size: clamp(3rem, 5vw, 4.8rem); }
.person { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.person img { border-radius: 7px; }
.person summary { min-height: 44px; }
.portrait { border-radius: 8px; }
.direction-section { background: #f7f5ed; }
.direction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.direction-grid article { padding: 30px; border: 1px solid #ddd4bf; border-radius: 7px; }
.direction-grid span { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-dark); }
.direction-grid h3 { font-size: 1.45rem; line-height: 1.35; margin-top: 24px; }
.direction-grid p { color: var(--muted); margin: 0; }
.draft-label { font-size: .78rem; border-left: 2px solid #ad8c48; padding-left: 15px; }
.contact-layout { gap: 65px; }
.form-panel { padding: 38px; border: 1px solid var(--line); border-radius: 10px; background: #f8f7f3; }
body[data-page="contact.html"] .page-hero { padding-block: 45px; }
.form-panel h2 { font-size: 1.9rem; }
input, select, textarea { border-radius: 5px; border-color: #aaa69b; }
.field-help { font-size: .78rem; color: var(--muted); margin: 0; }
.contact-next { background: #f7f6f2; padding: 24px; border-radius: 7px; margin-block: 30px; }
.contact-next h2 { font-size: 1.2rem; }
.contact-next .eyebrow { font-size: .75rem; margin-bottom: 15px; }
.contact-next ol { padding-left: 19px; font-size: 1rem; color: var(--muted); }
.contact-next li + li { margin-top: 10px; }
.form-status[data-state=success] { border-color: #247047; background: #edf7f0; color: #1a5735; }
.form-status[data-state=error] { border-color: #a93535; background: #fff3f1; color: #852626; }
form[aria-busy=true] [type=submit]:before { content: ''; width: 14px; height: 14px; border: 2px solid #ffffff60; border-top-color: white; border-radius: 50%; animation: enquiry-spin .8s linear infinite; }
@keyframes enquiry-spin { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .hero-slide-inner { gap: 35px; grid-template-columns: 1.1fr .9fr; }
  .hero-slider h1, .hero-slider h2 { font-size: 3.25rem; }
  .foundation-diagram { padding: 21px 15px; }
  .diagram-caption { flex-direction: column; gap: 4px; }
  .diagram-business { padding: 18px 12px; }
  .diagram-pillars > div { padding-inline: 5px; }
  .nav { gap: 17px; }
  .home-service-grid .enterprise-card, .service-directory .enterprise-card { padding: 26px; }
  .client-directory { grid-template-columns: repeat(3, 1fr); }
  .faq-layout { gap: 45px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .nav-wrap { min-height: 78px; }
  .brand img { width: 115px; height: 50px; }
  .nav.is-open { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .mega-menu { max-height: none; overflow: visible; }
  .hero-slide-inner { grid-template-columns: 1fr; min-height: 500px; padding-block: 54px 38px; gap: 0; }
  .foundation-diagram { display: none; }
  .hero-slider h1, .hero-slider h2 { font-size: clamp(2.7rem, 7.7vw, 3.7rem); }
  .hero-slider .hero-copy > p { font-size: 1rem; }
  .hero-slider .actions { display: flex; }
  .hero-controls { padding-block: 15px 18px; }
  .logo-section .section-head { width: 100%; display: flex; }
  .logo-section { padding-block: 32px; }
  .logo-section h2 { font-size: 1.5rem; }
  .logo-tile { width: 165px; }
  .home-service-grid .enterprise-card, .service-directory .enterprise-card { min-height: 310px; }
  .photo-pills .industry-pill { grid-template-columns: 70px 1fr; gap: 17px; }
  .photo-pills .industry-photo { width: 70px; height: 85px; }
  .industry-copy small { font-size: .78rem; }
  .faq-layout, .direction-grid { grid-template-columns: 1fr; gap: 30px; }
  .delivery-lifecycle { margin-left: 8px; gap: 0; }
  .delivery-lifecycle li { padding: 4px 0 28px 27px; }
  .delivery-lifecycle li:before { top: 7px; left: -5px; }
  .delivery-lifecycle small { max-width: 500px; }
  .contact-layout { gap: 30px; }
  .form-panel { padding: 27px; }
  .page-hero { padding-block: 45px; }
  .service-hero h1 { font-size: clamp(2.3rem, 7.4vw, 3rem); }
  .client-directory { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .wrap { width: calc(100% - 36px); }
  .hero-slider h1, .hero-slider h2 { font-size: clamp(2.35rem, 8.7vw, 3rem); }
  .hero-slide-inner { min-height: 560px; padding-block: 45px 30px; }
  .hero-slider .actions { display: grid; gap: 12px; }
  .hero-slider .actions .btn { width: 100%; }
  .hero-slider .hero-copy > .hero-signature { font-size: .75rem; }
  .hero-pagination button { width: 36px; }
  .hero-nav { gap: 6px; }
  .hero-nav button { width: 44px; height: 44px; }
  .logo-section h2 { font-size: 1.35rem; }
  .enterprise-card h3 { font-size: 1.23rem; }
  .home-service-grid .enterprise-card, .service-directory .enterprise-card { min-height: 295px; padding: 26px; }
  .page-jump .wrap { gap: 0 18px; }
  .page-jump span { flex-basis: 100%; padding-bottom: 4px; }
  .form-panel { padding: 24px 20px; }
  .client-directory .logo-tile { padding: 18px 10px; min-height: 155px; }
  .client-directory .logo-tile img { width: 125px; height: 70px; }
  .footer-grid { gap: 30px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .direction-grid article { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-nav [data-hero-pause] { display: none; }
  .logo-track { animation: none; }
  form[aria-busy=true] [type=submit]:before { animation: none; }
}
html:not(.js) .hero-controls, html:not(.js) .marquee-toggle { display: none; }
html:not(.js) .logo-track { animation: none; }
html:not(.js) .logo-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
html:not(.js) .logo-set[aria-hidden=true] { display: none; }

/* Black and gold are the brand anchors; warm whites keep long pages readable. */
.hero-slider { background: #161616; }
.hero-slider .hero-copy > p { color: #ddd6ca; }
.hero-nav button { background: #16161666; }
.hero-slider .btn.ghost { border-color: #aaa08c; }
.home-service-grid .enterprise-card:first-child { background: #161616; border-color: #161616; color: white; }
.home-service-grid .enterprise-card:first-child p { color: #ddd6ca; }
.home-service-grid .enterprise-card:first-child .card-kicker,
.home-service-grid .enterprise-card:first-child .line-icon,
.home-service-grid .enterprise-card:first-child .text-link { color: var(--gold); }
.home-service-grid .enterprise-card:first-child:hover { background: #242321; }

/* A floating pill header carries Emocom's black and gold identity. */
.brand {
  position: relative; width: 138px; height: 64px; overflow: hidden;
  background: transparent; padding: 0; border-radius: 0;
}
.brand img {
  position: absolute; left: 50%; top: 50%; display: block;
  width: 132%; max-width: none; height: auto;
  transform: translate(-50%, -50%);
}
.nav-wrap {
  position: relative; width: min(1380px, calc(100% - 64px));
  min-height: 88px; padding: 8px 26px; gap: 28px;
  display: grid; grid-template-columns: 138px minmax(0, 1fr) auto;
  background: #141414b8; border: 1px solid #d9b97865; border-radius: 999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px #00000028;
}
.site-header {
  top: 16px; margin: 16px 0 24px; background: transparent; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body[data-page="index.html"] .site-header { margin-bottom: -104px; }
body[data-page="index.html"] { background: linear-gradient(#000 0 128px, #fff 128px); }
.site-header .nav { margin-left: 0; justify-content: center; gap: 26px; color: #f5f0e6; }
.site-header .nav > a, .site-header .nav-group > summary { font-size: 1.125rem; }
.site-header .nav a:hover, .site-header .nav-group summary:hover { color: #edcc8e; }
.site-header .nav a[aria-current=page]:after,
.site-header .nav-group summary[aria-current=page]:before { background: #edcc8e; }
.site-header .nav-group summary:after { color: #edcc8e; }
.site-header .nav-cta {
  display: inline-flex; background: #dfbd72; color: #161616; border-color: #dfbd72;
  border-radius: 999px; padding: 17px 27px; min-height: 56px; white-space: nowrap; font-size: 1.125rem;
}
.site-header .nav-cta:hover { background: #edcc8e; }
.site-header .menu-button { color: #f5f0e6; border-color: #d9b97870; border-radius: 999px; font-size: 1.125rem; }
.site-header .mega-menu {
  left: 50%; transform: translateX(-50%); width: min(820px, calc(100vw - 96px));
  background: #1c1c1c; color: #f5f0e6; border-color: #d9b97865; border-radius: 18px;
}
.site-header .mega-menu div > span { color: #edcc8e; }
.site-header .mega-menu a { border-bottom-color: #d9b97830; }
.site-header .mega-menu .mega-all { color: #edcc8e; }
.site-header :focus-visible, .footer :focus-visible { outline-color: #f0ce86; }
.footer { background: #111111; color: #f5f0e6; border-top: 1px solid #d9b97865; }
.footer .brand { width: 160px; height: 76px; }
.footer p, .footer a:not(.brand), .footer-bottom { color: #d5cec0; }
.footer h2 { color: #edcc8e; }
.footer a:not(.brand):hover { color: #edcc8e; }
.footer-bottom { border-top-color: #d9b97838; }
.nav .compact-contact-link { display: none; }
.logo-tile, .partner-card, .service-partners figure { justify-content: center; gap: 0; }
.logo-tile { min-height: 118px; padding: 20px; }
.client-directory .logo-tile { min-height: 150px; }
.partner-card { min-height: 125px; }
.logo-marquee:focus { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
.logo-marquee:focus .logo-track { animation: none; transform: none; }
.logo-marquee:focus .logo-set[aria-hidden=true] { display: none; }
.logo-marquee:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: -3px; }

/* Frame excess image whitespace without altering any supplied brand artwork. */
.logo-art { position: relative; display: block; width: 150px; max-width: 100%; height: 68px; overflow: hidden; }
.logo-art img, .client-directory .logo-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.client-directory .logo-art { width: 175px; height: 85px; }
#clients .logo-tile { min-height: 150px; padding: 16px 12px; }
.client-directory .logo-tile { min-height: 170px; padding: 16px 12px; }
.logo-art.logo-art--aradel { width: 175px; height: 112px; }
.logo-art.logo-art--aradel img { position: absolute; width: 150%; max-width: none; height: auto; left: -25%; top: 50%; transform: translateY(-50%); }
.logo-art.logo-art--pencom { width: 160px; height: 112px; }
.logo-art.logo-art--pencom img { position: absolute; width: 160%; max-width: none; height: auto; left: -38.5%; top: 50%; transform: translateY(-48%); }
.logo-art.logo-art--nnpc { width: 175px; height: 112px; }
.logo-art.logo-art--fhn { width: 90px; height: 112px; }
.logo-art.logo-art--fhn img { position: absolute; width: 280%; max-width: none; height: auto; left: -90%; top: 50%; transform: translateY(-50%); }
.logo-art.logo-art--nbc { width: 150px; height: 112px; }
.logo-art.logo-art--nbc img { position: absolute; width: 142%; max-width: none; height: auto; left: -24.5%; top: 50%; transform: translateY(-55%); }
.logo-marquee .logo-track { animation-duration: var(--logo-cycle, 75s); }
.logo-section .logo-tile { min-height:150px; padding:16px 12px; }
.logo-section.ecosystem-section { background:#fff; border-top:1px solid #e4ddd0; }
@media (max-width: 760px) {
  .logo-art { width: 120px; height: 54px; }
  .client-directory .logo-art { width: 125px; height: 70px; }
  .client-directory .logo-art:is(.logo-art--aradel, .logo-art--pencom, .logo-art--nbc) { height: 112px; }
  .client-directory .logo-art--nnpc { width: 125px; height: 112px; }
  .client-directory .logo-art--fhn { width: 90px; height: 112px; }
}

/* All service cards use the same paper, charcoal, and gold palette. */
.home-services .enterprise-card[data-priority=true],
.service-directory .enterprise-card[data-priority=true],
.home-service-grid .enterprise-card:first-child {
  background: #fff; border-color: var(--line); color: var(--ink);
}
.home-service-grid .enterprise-card:first-child p { color: var(--muted); }
.home-service-grid .enterprise-card:first-child .card-kicker,
.home-service-grid .enterprise-card:first-child .line-icon,
.home-service-grid .enterprise-card:first-child .text-link { color: var(--gold-dark); }
.enterprise-card[data-priority=true] .line-icon { color: var(--gold-dark); }
.home-services .enterprise-card[data-priority=true]:hover,
.service-directory .enterprise-card[data-priority=true]:hover,
.home-service-grid .enterprise-card:first-child:hover { background: #fffdf8; border-color: #c4ac76; }

/* Full-width photography; a lower gradient protects text while retaining people. */
.photographic-hero, .photographic-hero .hero-slides { min-height: 0; }
.photographic-hero .hero-slides { display: grid; }
.photographic-hero .hero-slide {
  position: relative; inset: auto; grid-area: 1 / 1;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}
.hero-photo-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, 50% 35%); }
.photographic-hero .hero-slide:before {
  z-index: 1;
  background: linear-gradient(0deg, #11110fed 0%, #11110f9c 35%, #11110f10 80%), linear-gradient(90deg, #11110f85, #11110f12 72%);
}
.photographic-hero .hero-slide-inner {
  z-index: 2; grid-template-columns: 1fr; min-height: 710px; height: 100%;
  padding-block: 220px 70px; gap: 0; align-items: end;
}
.photographic-hero .hero-copy { max-width: 630px; }
.photographic-hero .hero-slide .hero-copy { opacity: 0; transition: opacity .2s ease; }
.photographic-hero .hero-slide.is-active .hero-copy { opacity: 1; transition: opacity .45s ease .28s; }
.photographic-hero h1, .photographic-hero h2 { font-size: clamp(3rem, 4.3vw, 4.2rem); line-height: 1.1; margin-bottom: 20px; }
.photographic-hero .hero-copy > p { max-width: 580px; font-size: 1.05rem; line-height: 1.65; color: #fff; margin-bottom: 26px; }
.photographic-hero .hero-copy > .hero-signature { margin: 23px 0 0; font-size: .8rem; color: #e4ddd1; }
.photographic-hero .eyebrow { color: #edcc8e; }
.photographic-hero .actions { gap: 12px; }
.photographic-hero .btn { padding-inline: 20px; }
.photographic-hero .btn.ghost { border-color: #ffffffb8; background: #16161655; }
.hero-photo-controls { position: absolute; right: max(40px, calc((100vw - 1240px) / 2)); bottom: 27px; z-index: 3; display: flex; gap: 10px; }
.hero-photo-controls button { width: 44px; height: 44px; border: 1px solid #ffffff85; border-radius: 50%; background: #16161665; color: #fff; font-size: 1.7rem; line-height: 1; transition: background .2s; }
.hero-photo-controls button:hover { background: #b88b38; }
/* The planning team stays readable beside the copy, rather than behind the heading. */
@media (min-width: 1101px) {
  .photographic-hero .hero-consulting .hero-copy { max-width: min(500px, 43vw); }
  .photographic-hero .hero-consulting h2 { font-size: clamp(2.9rem, 3.7vw, 3.7rem); }
}
/* Reserve a dark header area above photography; the pill never covers faces. */
@media (min-width: 761px) {
  .photographic-hero { padding-top: 128px; background: #000; }
}
.industry-pill[href$="public-sector.html"] .industry-photo img,
body[data-page="industries/public-sector.html"] .industry-hero > img { object-position: 50% 46%; }
body[data-page="industries/public-sector.html"] .industry-hero > img { object-position: 50% 30%; }

/* Six stages follow a connected path, with tangible outputs at every stage. */
.delivery-journey {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px;
  position: relative; margin: 38px 0 0; padding: 0 20px; border: 0;
}
.delivery-journey:before {
  content: ''; position: absolute; inset: 116px 0 116px 20px;
  border: 1px solid #c9a55e; border-left: 0; border-radius: 0 26px 26px 0;
}
.delivery-journey li {
  min-height: 235px; padding: 26px; border: 1px solid #d9b97840; border-radius: 12px;
  background: #25231e; display: flex; flex-direction: column; gap: 22px; z-index: 1;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.delivery-journey li:before { display: none; }
.delivery-journey li:hover { transform: translateY(-4px); background: #2d2921; border-color: #d9b978; }
.delivery-journey li:nth-child(4) { grid-row: 2; grid-column: 3; }
.delivery-journey li:nth-child(5) { grid-row: 2; grid-column: 2; }
.delivery-journey li:nth-child(6) { grid-row: 2; grid-column: 1; }
.journey-node { display: flex; align-items: center; justify-content: space-between; }
.delivery-journey .journey-number {
  display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%;
  background: #d9b978; color: #161616; font-size: .83rem; font-weight: 700; margin: 0;
}
.journey-node .line-icon { color: #e8c887; width: 36px; height: 36px; margin: 0; }
.journey-copy h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.journey-copy p { color: #ddd5c5; font-size: .91rem; line-height: 1.65; margin-bottom: 18px; }
.journey-output { display: block; color: #edcc8e; font-size: .72rem; letter-spacing: .02em; border-top: 1px solid #d9b97835; padding-top: 12px; }
.journey-visible li { animation: journey-arrive .55s ease both; }
.journey-visible li:nth-child(2) { animation-delay: .1s; }
.journey-visible li:nth-child(3) { animation-delay: .2s; }
.journey-visible li:nth-child(4) { animation-delay: .3s; }
.journey-visible li:nth-child(5) { animation-delay: .4s; }
.journey-visible li:nth-child(6) { animation-delay: .5s; }
@keyframes journey-arrive { from { opacity: .4; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }


@media (max-width: 1100px) {
  .site-header .nav-wrap { grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; }
  .site-header .menu-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
  .site-header .nav {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    padding: 20px 26px; margin: 0; background: #141414; border: 1px solid #d9b97865;
    border-radius: 24px; box-shadow: 0 18px 35px #00000030;
    max-height: calc(100dvh - 160px); overflow-y: auto;
  }
  .site-header .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .site-header .nav a, .site-header .nav-group summary { font-size: 1.125rem; padding: 12px 4px; }
  .site-header .nav-group summary:after { right: 4px; }
  .site-header .mega-menu {
    position: static; width: auto; max-height: none; overflow: visible; transform: none;
    grid-template-columns: 1fr; padding: 10px 0 10px 16px; margin: 0 0 8px;
    border: 0; border-left: 1px solid #d9b97865; border-radius: 0;
    box-shadow: none; background: transparent;
  }
  .site-header .mega-menu .mega-all { width: 100%; margin-top: 6px; }
  .site-header .nav .compact-contact-link { display: block; }
  html:not(.js) .site-header .nav { display: flex; position: static; grid-column: 1 / -1; }
  html:not(.js) .site-header .menu-button { display: none; }
  html:not(.js) body[data-page="index.html"] .site-header { margin-bottom: 24px; }
}
@media (max-width: 1000px) {
  .nav .compact-contact-link { display: block; }
  .photographic-hero .hero-slide-inner { min-height: 740px; padding-block: 300px 78px; }
  .photographic-hero .hero-copy { max-width: 610px; }
  .photographic-hero h1, .photographic-hero h2 { font-size: clamp(2.4rem, 6.8vw, 3.15rem); }
  .photographic-hero .hero-copy > p { font-size: 1rem; }
  .hero-photo-controls { right: 24px; bottom: 22px; }
}
@media (max-width: 760px) {
  .site-header { top: 0; margin: 0; padding: 12px 0; background: transparent; }
  body[data-page="index.html"] .site-header { margin-bottom: 0; }
  body[data-page="index.html"] { background: linear-gradient(#000 0 94px, #fff 94px); }
  .site-header .nav-wrap { width: calc(100% - 24px); min-height: 70px; padding: 5px 16px; gap: 12px; }
  .brand { width: 120px; height: 56px; }
  .site-header .nav-cta { display: none; }
  .site-header .nav-wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header .nav { padding: 16px 20px; border-radius: 20px; max-height: calc(100dvh - 140px); }
  .photographic-hero { --hero-mobile-photo-height: clamp(215px, 66vw, 320px); }
  .photographic-hero .hero-slide-inner {
    min-height: 0; padding-block: calc(var(--hero-mobile-photo-height) + 30px) 98px;
    align-items: start; align-content: start;
  }
  .hero-photo-frame { inset: 0 0 auto; height: var(--hero-mobile-photo-height); }
  .hero-photo { object-position: var(--photo-mobile-position, 50% 35%); }
  .photographic-hero .hero-slide:before {
    background: linear-gradient(180deg, transparent 0, transparent calc(var(--hero-mobile-photo-height) - 55px), #161616 var(--hero-mobile-photo-height));
  }
  .photographic-hero .hero-copy { max-width: 610px; }
  .photographic-hero h1, .photographic-hero h2 { font-size: clamp(2.4rem, 6.8vw, 3.15rem); }
  .photographic-hero .hero-copy > p { font-size: 1rem; }
  .hero-photo-controls { right: 24px; bottom: 22px; }
  .delivery-journey { grid-template-columns: 1fr; gap: 20px; padding: 0 0 0 12px; margin-top: 30px; }
  .delivery-journey:before { inset: 22px auto 22px 0; width: 0; border: 0; border-left: 1px solid #c9a55e; border-radius: 0; }
  .delivery-journey li, .delivery-journey li:nth-child(n) { grid-row: auto; grid-column: auto; min-height: 0; padding: 23px; flex-direction: row; gap: 21px; }
  .journey-node { flex-direction: column; justify-content: start; gap: 16px; }
  .journey-copy { flex: 1; min-width: 0; }
  .journey-copy p { font-size: .88rem; }
}
@media (max-width: 440px) {
  .nav-wrap { gap: 14px; }
  .photographic-hero h1, .photographic-hero h2 { font-size: clamp(2.15rem, 9.25vw, 2.6rem); }
  .photographic-hero .actions { display: grid; }
  .photographic-hero .hero-copy > .hero-signature { font-size: .8rem; }
  .delivery-journey li, .delivery-journey li:nth-child(n) { padding: 20px 17px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .photographic-hero .hero-slide { transition: none; }
  .photographic-hero .hero-slide .hero-copy { transition: none; }
  .journey-visible li { animation: none; }
  .delivery-journey li { transition: none; }
}
.industry-hero:after { background: linear-gradient(90deg, #161616ed, #161616b8 50%, #16161656), linear-gradient(0deg, #16161699, transparent 55%); }
.company-people { background: #f7f5ee; }
.people-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 7vw, 95px); align-items: center; }
.people-photo { margin: 0; position: relative; border-radius: 8px; overflow: hidden; background: #242321; }
.people-photo img { width: 100%; height: 460px; object-fit: cover; object-position: center 25%; display: block; }
.people-photo figcaption { padding: 21px 24px; border-top: 2px solid var(--gold); color: white; }
.people-photo figcaption strong { display: block; font: 600 1rem/1.5 Manrope, sans-serif; }
.people-photo figcaption span { font-size: .875rem; color: #ddd6ca; }
.people-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.2; }
.people-copy p { color: var(--muted); max-width: 640px; }
.people-copy .actions { margin-top: 30px; }
.image-credit, .industry-hero .hero-image-credit { font-size: .75rem; }
@media (max-width: 760px) {
  .people-layout { grid-template-columns: 1fr; }
  .people-photo { max-width: 460px; }
  .people-photo img { height: 380px; }
}
@media (max-width: 440px) {
  .people-photo img { height: 340px; }
  .people-copy .actions { align-items: flex-start; }
}

/* Project evidence and delivery detail. */
.project-detail-documented { grid-column:1 / -1; border-color:#b9944e; border-top:4px solid #b9944e; background:#fcfaf4; }
.project-detail-documented .project-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:36px; }
.project-scope { border-top:1px solid var(--line); padding-top:26px; }
.project-scope h3 { margin:0 0 18px; font-size:1.25rem; }
.project-scope ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 28px; list-style:none; padding:0; margin:0; }
.project-scope li { position:relative; padding:0 0 0 20px; line-height:1.6; color:#3d3931; }
.project-scope li::before { content:''; position:absolute; left:0; top:.7em; width:7px; height:7px; border-radius:50%; background:#a78337; }
.project-highlights, .project-value { border-top:1px solid var(--line); margin-top:28px; padding-top:26px; }
.project-highlights h3, .project-value h3 { margin:0 0 18px; font-size:1.25rem; }
.project-highlights dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:0; background:#d9d2c2; border:1px solid #d9d2c2; }
.project-highlights dl > div { min-width:0; padding:20px; border:0; background:#f4f0e6; }
.project-highlights dt { margin:0 0 7px; font-size:.75rem; letter-spacing:.07em; text-transform:uppercase; color:#70582c; }
.project-highlights dd { margin:0; color:#28251f; font-weight:650; line-height:1.45; }
.project-value-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 34px; }
.project-value-grid > div { border-top:2px solid #b9944e; padding-top:15px; }
.project-value-grid h4 { margin:0 0 7px; font-size:1rem; }
.project-value-grid p { margin:0; color:#5c574e; line-height:1.65; }
.project-related { border-top:1px solid var(--line); margin-top:28px; padding:24px 26px; background:#f4f0e6; }
.project-related h3 { margin:0 0 8px; font-size:1.1rem; }
.project-related p { margin:0; color:#5c574e; line-height:1.65; }
.project-feedback { margin:30px 0 0; padding:24px 28px; border-left:4px solid #b9944e; background:#f2ebda; }
.project-feedback p { margin:0; font-size:clamp(1rem,1.5vw,1.2rem); line-height:1.7; color:#28251f; }
.project-feedback footer { margin-top:16px; font-size:.82rem; font-weight:700; color:#66512a; }
/* Editorial showcase: one featured engagement and three compact stories. */
/* Case studies: one story per slide, with native swipe support. */
.project-preview { background: #fff; }
.case-section-head { text-align: center; margin: 0 auto 44px; max-width: 940px; }
.case-section-tag { display: inline-block; color: #76551d; border: 1px solid #ac8747; border-radius: 999px; padding: 10px 22px; font-size: .8rem; letter-spacing: .08em; margin-bottom: 24px; }
.case-section-head h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); margin-bottom: 14px; }
.case-section-head p { color: #6a655c; margin: 0; font-size: 1rem; }
.case-slides { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 20px; background: #191917; }
.case-slides::-webkit-scrollbar { display: none; }
.case-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: .95fr 1.05fr; scroll-snap-align: start; scroll-snap-stop: always; background: #191917; color: #fff; min-height: 560px; }
.case-photo { position: relative; margin: 0; overflow: hidden; background: #282927; min-width: 0; }
.case-slide > .case-photo { min-height: 100%; }
.case-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-slide > .case-photo > img { position: absolute; inset: 0; }
.case-photo figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; background: #101010b8; padding: 4px 8px; border-radius: 3px; font-size: .65rem; letter-spacing: .03em; }
.case-slide-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.3vw, 48px); background: radial-gradient(ellipse at 100% 0%, #9d773021, transparent 70%), #191917; }
.case-slide-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; margin-bottom: 22px; }
.case-client-name { font-size:.88rem; line-height:1.5; color:#e8ddc8; text-align:right; }
.case-study-tag { color: #e2c58a; font-size: .75rem; padding: 6px 12px; border: 1px solid #c8a65d60; border-radius: 999px; }
.case-client-logo { display: flex; align-items: center; justify-content: center; width: 115px; height: 62px; padding: 5px; background: #fff; border-radius: 5px; flex-shrink: 0; }
.case-client-logo img { width: 100%; height: 100%; object-fit: contain; }
.case-slide-sector { display: block; color: #d8b774; font-size: .69rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; line-height: 1.5; margin-bottom: 13px; }
.case-slide h3 { font-size: clamp(1.7rem, 2.7vw, 2.65rem); line-height: 1.2; letter-spacing: -.035em; color: #fffaf0; margin: 0 0 23px; }
.case-slide-summary { font-size: .98rem; line-height: 1.7; color: #d9d5cb; max-width: 560px; margin: 0 0 28px; }
.case-slide-highlight { display: flex; gap: 20px; align-items: center; width: 100%; padding: 22px 0; margin-top: auto; border-top: 1px solid #d5b57040; }
.case-slide-highlight > strong { flex-shrink: 0; color: #ebcb89; font: 600 clamp(2rem, 3.5vw, 3.1rem)/1.1 Manrope, sans-serif; letter-spacing: -.05em; }
.case-slide-highlight > div { border-left: 1px solid #d5b57070; padding-left: 20px; min-width: 0; }
.case-slide-highlight span { display: block; color: #f4ead4; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.case-slide-highlight small { display: block; font-size: .76rem; line-height: 1.5; color: #bfb8a7; margin-top: 6px; }
.case-read-link { border-radius: 999px; font-size: .9rem; padding: 14px 24px; margin-top: 6px; }
.case-slides :focus-visible { outline-color: #edcc8e; outline-offset: -4px; }
.case-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.case-carousel-controls[hidden] { display: none; }
.case-selectors { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case-selectors button { border: 1px solid transparent; background: transparent; color: #696257; border-radius: 999px; min-height: 44px; padding: 10px 16px; font-size: .83rem; line-height: 1.4; }
.case-selectors button[aria-pressed=true] { background: #f4eedf; border-color: #c5a86c; color: #503a16; font-weight: 600; }
.case-selectors button:hover { color: #503a16; background: #faf5ea; }
.case-arrow-controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.case-arrow-controls button { width: 46px; height: 46px; border-radius: 50%; color: #27231c; border: 1px solid #d6c8aa; background: #fff; font-size: 1.25rem; }
.case-arrow-controls button:hover { background: #1d1c18; color: #e7c37c; }
.case-position { color: #736b5b; font-size: .8rem; font-variant-numeric: tabular-nums; min-width: 32px; text-align: center; }
.case-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.case-showcase-footer { margin-top: 24px; text-align: center; }

/* Shared editorial template for every dedicated case study. */
.case-page-hero { background: #191917; color: #fffaf0; padding: 26px 0 64px; }
.case-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .8rem; color: #c9c0aa; margin-bottom: 40px; }
.case-breadcrumb a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.case-breadcrumb a:hover { color: #edcc8e; text-decoration: underline; }
.case-page-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.case-page-hero h1 { font-size: clamp(2rem, 3.4vw, 3.45rem); line-height: 1.17; margin: 0 0 25px; }
.case-page-hero-grid > div > p { font-size: 1.05rem; color: #d2cbbc; line-height: 1.75; }
.case-page-hero .text-link { color: #edcc8e; border-color: #ab8a48; }
.case-page-hero :focus-visible { outline-color: #edcc8e; }
.case-page-visual { position: relative; }
.case-page-visual .case-photo { aspect-ratio: 1.18; border-radius: 12px; }
.case-page-logo { position: absolute; right: 18px; bottom: 18px; width: 135px; height: 75px; padding: 8px; background: #fff; border-radius: 5px; }
.case-page-logo img { width: 100%; height: 100%; object-fit: contain; }
.case-page-facts { background: #f4efe4; border-bottom: 1px solid #e1d6c0; }
.case-page-facts > .wrap { display: grid; grid-template-columns: .8fr 1fr 1.5fr; padding-block: 28px; gap: 26px; }
.case-page-facts .wrap > div + div { border-left: 1px solid #dacbaa; padding-left: 26px; }
.case-page-facts span { display: block; color: #806538; text-transform: uppercase; letter-spacing: .1em; font-size: .67rem; margin-bottom: 9px; }
.case-page-facts strong { display: block; color: #28241c; font-size: .94rem; line-height: 1.55; font-weight: 600; }
.case-page-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.case-page-aside { position: sticky; top: 140px; }
.case-page-aside nav { display: grid; border-left: 1px solid #d6c8aa; margin-bottom: 28px; }
.case-page-aside nav a { display: block; padding: 12px 18px; color: #5a5142; text-decoration: none; font-size: .9rem; }
.case-page-aside nav a:hover { color: #775315; background: #f8f4eb; }
.case-page-aside .btn { font-size: .82rem; padding-inline: 16px; width: 100%; }
.case-page-story { max-width: 850px; }
.case-page-story > section { scroll-margin-top: 135px; }
.case-page-story > section + section { margin-top: 64px; padding-top: 52px; border-top: 1px solid #e3dccf; }
.case-page-story h2 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.3; max-width: 790px; }
.case-lead { color: #5a554d; font-size: 1.05rem; line-height: 1.85; }
.case-client-context { padding: 18px 22px; background: #f8f5ee; border-left: 2px solid #bc9852; font-size: .9rem; color: #696052; margin-top: 24px; }
.case-scope-list { list-style: none; margin: 30px 0 0; padding: 0; }
.case-scope-list li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 14px; border-bottom: 1px solid #e6dfd3; padding: 20px 0; }
.case-scope-list li > span { color: #927039; padding-top: 3px; }
.case-scope-list h3 { font-size: 1.05rem; margin-bottom: 7px; }
.case-scope-list p { color: #635c50; line-height: 1.7; font-size: .95rem; margin: 0; }
.case-value-list { margin-top: 35px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 35px; }
.case-value-list article { border-top: 2px solid #c8ac75; padding-top: 18px; }
.case-value-list h3 { font-size: 1.12rem; }
.case-value-list p { color: #635c50; font-size: .95rem; margin: 0; }
.case-fact-list { margin-top: 38px; padding: 26px; border-radius: 8px; background: #f6f2e9; }
.case-fact-list h3 { font-size: 1.2rem; margin-bottom: 20px; }
.case-fact-list dl { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.case-fact-list dt { font-size: .72rem; color: #806538; margin-bottom: 6px; font-weight: 600; }
.case-fact-list dd { font-size: .9rem; line-height: 1.6; color: #453e32; margin: 0; }
.case-page-feedback { margin: 38px 0 0; background: #24231f; border-radius: 8px; color: #fff7e5; padding: 32px; border-top: 3px solid #c5a15c; }
.case-page-feedback p { font-size: 1.08rem; line-height: 1.8; }
.case-page-feedback footer { color: #d1b578; font-size: .8rem; }
.case-related { margin-top: 28px; color: #676052; font-size: .92rem; }
.case-more { background: #f6f3ed; }
.case-more .section-head { align-items: center; }
.case-more-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 36px; }
.case-more-links a { display: grid; grid-template-columns: minmax(0,1fr) 25px; gap: 8px 18px; border-top: 1px solid #dacfb9; padding: 23px 0; text-decoration: none; }
.case-more-links a > span:first-child { grid-column: 1 / -1; color: #896935; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.case-more-links strong { font: 600 1.2rem/1.4 Manrope, sans-serif; }
.case-more-links a:hover strong { color: #876124; }
@media (max-width: 1000px) {
  .case-slide { grid-template-columns: .8fr 1.2fr; }
  .case-slide-copy { padding: 28px; }
  .case-carousel-controls { flex-direction: column; gap: 16px; }
  .case-page-body { grid-template-columns: 190px minmax(0,1fr); gap: 35px; }
}
@media (max-width: 760px) {
  .case-section-head { margin-bottom: 28px; }
  .case-section-tag { margin-bottom: 18px; padding: 8px 18px; }
  .case-slides { border-radius: 14px; }
  .case-slide { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .case-slide > .case-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .case-slide-copy { padding: 24px; }
  .case-slide-top { margin-bottom: 18px; }
  .case-client-logo { width: 104px; height: 55px; }
  .case-slide h3 { font-size: 1.7rem; margin-bottom: 18px; }
  .case-slide-summary { font-size: .94rem; margin-bottom: 23px; }
  .case-slide-highlight { gap: 16px; padding: 18px 0; }
  .case-slide-highlight > strong { font-size: 2rem; }
  .case-slide-highlight > div { padding-left: 16px; }
  .case-selectors { position: relative; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 3px; }
  .case-selectors::-webkit-scrollbar { display: none; }
  .case-selectors button { flex-shrink: 0; padding: 9px 12px; font-size: .78rem; white-space: nowrap; }
  .case-page-hero { padding-bottom: 36px; }
  .case-breadcrumb { margin-bottom: 26px; gap: 8px; }
  .case-page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .case-page-hero h1 { font-size: clamp(1.9rem, 6.8vw, 2.7rem); }
  .case-page-hero-grid > div > p { font-size: 1rem; }
  .case-page-visual .case-photo { aspect-ratio: 16 / 10; }
  .case-page-facts > .wrap { grid-template-columns: minmax(0,1fr); padding-block: 24px; gap: 16px; }
  .case-page-facts .wrap > div + div { border: 0; border-top: 1px solid #dacbaa; padding: 16px 0 0; }
  .case-page-facts span { margin-bottom: 5px; }
  .case-page-body { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .case-page-aside { position: static; }
  .case-page-aside .eyebrow { margin-bottom: 12px; }
  .case-page-aside nav { display: flex; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid #d6c8aa; margin-bottom: 0; gap: 5px 16px; }
  .case-page-aside nav a { padding: 10px 0; font-size: .83rem; min-height: 44px; }
  .case-page-aside > .btn { display: none; }
  .case-page-story > section + section { margin-top: 40px; padding-top: 35px; }
  .case-lead { font-size: 1rem; line-height: 1.8; }
  .case-value-list, .case-fact-list dl, .case-more-links { grid-template-columns: minmax(0,1fr); }
  .case-page-feedback { padding: 24px; }
  .case-page-feedback p { font-size: 1rem; }
  .case-more .section-head { align-items: start; gap: 18px; }
}

.project-index { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(30px, 6vw, 90px); padding: 0 0 48px; }
.project-index-intro h2 { font-size: clamp(1.55rem, 2.5vw, 2.4rem); margin: 12px 0; }
.project-index-intro p { color: var(--muted); margin: 0; }
.project-index-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.project-index-links a { display: grid; grid-template-columns: 28px 1fr 15px; align-items: start; gap: 10px; min-width: 0; min-height: 92px; padding: 15px; border: 1px solid #ded7c8; background: #fff; border-radius: 6px; color: #29251f; text-decoration: none; }
.project-index-links a:hover, .project-index-links a:focus-visible { border-color: #ad8b4b; background: #fbf7ed; }
.project-index-number { color: #92753c; font-size: .78rem; font-weight: 700; }
.project-index-links strong { display: block; font-size: .9rem; line-height: 1.35; }
.project-index-links small { display: block; margin-top: 5px; color: #686158; font-size: .76rem; }
.project-index-arrow { color: #8f7139; }
.project-detail-grid { gap: 30px; }
.project-detail-documented { border: 1px solid #ded7c8; border-radius: 8px; background: #fcfaf6; padding: clamp(24px, 4vw, 48px); }
.project-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.project-detail-head h2 { margin: 10px 0 0; max-width: 750px; }
.project-detail-head > img { width: clamp(110px, 15vw, 180px); height: 82px; object-fit: contain; background: #fff; padding: 9px; border-radius: 5px; }
@media (max-width:760px) {
  .project-detail-documented .project-facts, .project-scope ul, .project-highlights dl, .project-value-grid { grid-template-columns:1fr; }
  .project-feedback { padding:20px; }
  .project-index { grid-template-columns: 1fr; padding-bottom: 30px; }
  .project-detail-head { flex-direction: column-reverse; }
  .project-card-top { min-height: 106px; }
}
@media (max-width: 600px) {
  .project-preview-grid, .project-index-links { grid-template-columns: 1fr; }
  .project-card-top { padding-inline: 22px; }
  .project-card-body { padding: 23px 22px; }
}

.home-service-grid .service-card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border: 1px solid #3e392b; border-radius: 14px; background: #20211f; color: #ebcb87; }
.home-service-grid .home-service-symbol { display: block; width: 28px; height: 28px; }
.case-directory-link { display:inline-flex; align-items:center; min-height:44px; margin-top:16px; color:#76551f; }
.industries-home .industry-pill:hover { transform:none; border-color:var(--line); }
.industries-home .industry-pill:hover img { transform:none; }
.site-header :focus-visible,.footer :focus-visible { outline-color:#edcb86; }
body[data-page="index.html"] #industries { scroll-margin-top:24px; }

/* Mobile homepage preview: a compact, ungrouped twelve-service catalogue. */
@media (max-width: 760px) {
  body[data-page="index.html"] main > .section:not(.why-emocom):not(.logo-section) { padding-block:44px; }
  body[data-page="index.html"] .section-head { gap:16px; margin-bottom:26px; }
  .photographic-hero .hero-slide-inner { padding-bottom:72px; }
  .photographic-hero .hero-copy > .hero-signature { display:none; }
  .case-section-head h2 { font-size:2rem; }
  .case-slide-copy { padding:22px; }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-service-grid .enterprise-card { min-height: 0; padding: 18px 14px; display: grid; grid-template-rows: 40px auto 1fr 32px; gap: 12px; border-radius: 9px; }
  .home-service-grid .card-kicker,
  .home-service-grid .service-card-desktop-name,
  .home-service-grid .service-card-full-summary { display: none; }
  .home-service-grid .service-card-mobile-name,
  .home-service-grid .service-card-mobile-summary { display: block; }
  .home-service-grid .service-card-icon { width: 40px; height: 40px; border-radius: 11px; margin: 0; }
  .home-service-grid .home-service-symbol { width: 23px; height: 23px; }
  .home-service-grid h3 { font-size: 1.04rem; line-height: 1.35; letter-spacing: -.02em; margin: 0; }
  .home-service-grid .service-card-mobile-summary { font-size: .87rem; line-height: 1.55; margin: 0; }
  .home-service-grid .text-link { align-self: end; min-height: 32px; margin: 0; font-size: .78rem; display: flex; align-items: center; padding: 0; }
}
@media (max-width: 359px) {
  .home-service-grid { grid-template-columns: minmax(0, 1fr); }
  .home-service-grid .enterprise-card { padding: 18px 16px; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto 32px; gap: 8px 12px; }
  .home-service-grid .service-card-icon { grid-column: 1; grid-row: 1 / 4; }
  .home-service-grid h3, .home-service-grid .service-card-mobile-summary, .home-service-grid .text-link { grid-column: 2; }
}
