/* KAZII — editorial refinement. Loaded after the template and motion layers. */
:root {
  --ink: #102c38;
  --muted: #526976;
  --paper: #f5f8f8;
  --line: #dce5e7;
}
.kazii-motion { -webkit-font-smoothing: antialiased; }
.kazii-motion p { line-height: 1.8; }
.kazii-motion h1, .kazii-motion h2, .kazii-motion h3 { text-wrap: balance; }
.kazii-motion h2 { letter-spacing: -.045em; }
.kazii-motion a:focus-visible, .kazii-motion summary:focus-visible,
.kazii-motion button:focus-visible { outline: 3px solid #16869e; outline-offset: 5px; }
.section-space { padding: 94px 0; }
.section-heading { margin-bottom: 42px; }
.section-heading > p { font-size: 16px; max-width: 420px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 18px; }
.action-link { line-height: 1.6; }
.kazii-motion .default-btn, .nav-cta { border-radius: 6px; }
.kazii-motion .default-btn:hover { transform: translateY(-2px); }
.utility-bar, .utility-bar p { font-size: 12px; }
.site-navigation { gap: 27px; }
.nav-panel { border-radius: 0 0 10px 10px; }
/* Local dropdowns follow their trigger; the mega menu and Kazii panel keep their layout. */
@media (min-width: 1100px) {
  .nav-dropdown-local { position: relative; }
  .nav-dropdown-local > .compact-menu {
    left: 0;
    right: auto;
    top: calc(100% - 1px);
  }
}

/* A clearer first impression, with the film kept as the main visual. */
.motion-hero { background: #092b36; }
.hero-layout { grid-template-columns: 1.07fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 62px; }
.hero-copy h1 { font-size: clamp(44px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -.055em; margin-bottom: 26px; }
.hero-copy h1 em { color: #63d3df; }
.hero-copy h1 em:after { height: 2px; opacity: .8; bottom: -7px; }
.hero-copy .eyebrow { font-size: 11px; margin-bottom: 25px; letter-spacing: .1em; }
.hero-copy > p { font-size: 17px; color: #c2d4da; max-width: 490px; line-height: 1.8; margin-bottom: 29px; }
.hero-actions .action-link { font-size: 13px; }
.hero-reassurance { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 29px; color: #b6cdd4; font-size: 12px; line-height: 1.6; }
.hero-reassurance span { display: inline-flex; align-items: center; gap: 5px; }
.hero-reassurance i { font-size: 18px; color: #6fd7de; }
.hero-art { height: 500px; margin-left: 14px; }
.hero-photo-frame { inset: 0 0 29px; clip-path: polygon(9% 0,100% 0,100% 91%,91% 100%,0 100%,0 9%); border-radius: 5px; }
.hero-brand-stamp { width: 125px; height: 143px; left: -27px; bottom: 3px; border-radius: 4px; box-shadow: 0 18px 44px #011a2633; }
.hero-brand-stamp img { width: 77px; height: 77px; }
.hero-brand-stamp span { font-size: 7px; letter-spacing: .11em; }
.hero-signal { right: 17px; top: 24px; background: #eef8f6; padding: 13px 16px; font-size: 11px; border-radius: 4px; gap: 10px; animation: none; }
.signal-bars { scale: .8; }
.hero-slash { width: 13px; height: 112px; right: -4px; bottom: 44px; }
.hero-slash.slash-two { right: 20px; bottom: 30px; height: 52px; }
.hero-caption { font-size: 10px; color: #b5cbd3; max-width: 300px; }
.hero-bottom { align-items: center; font-size: 12px; padding-top: 15px; padding-bottom: 15px; }
.hero-bottom .parallax-switch { margin: 0; font-size: 11px; border-color: #ffffff24; padding: 8px 12px; }
.expertise-ribbon { background: #f1f6f6; color: #3e616e; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ribbon-track span { font-size: 11px; letter-spacing: .1em; }
.ribbon-track b { color: #008ba9; font-size: 19px; }
.hero-art[data-motion-media] > .media-play-toggle { right: 26px; bottom: 51px; font-size: 11px; }

/* Real-world imagery gives the four entry points distinct identities. */
.universe-grid { gap: 20px; }
.universe-card { padding: 25px; border-radius: 9px; background: #fff; border-color: var(--line); box-shadow: 0 4px 15px #102c3804; }
.universe-card:after { display: none; }
.universe-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px #102c380e; }
.universe-photo { margin: -25px -25px 24px; aspect-ratio: 1.62; overflow: hidden; background: #e6eef0; }
.universe-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: scale .6s ease; }
.universe-card:hover .universe-photo img { scale: 1.04; }
.universe-card .card-number { color: #507687; font-size: 10px; letter-spacing: .11em; margin-bottom: 13px; }
.universe-card h3 { color: var(--ink); font-size: 24px; line-height: 1.2; margin-bottom: 15px; }
.universe-card > p { color: var(--muted); font-size: 14px; line-height: 1.75; min-height: 84px; margin-bottom: 21px; }
.universe-card ul { margin-top: 0; }
.universe-card li a { font-size: 12px; padding: 12px 0; line-height: 1.5; }
.universe-cyber { background: #0e3442; border-color: #0e3442; }
.universe-cyber .card-number { color: #81d1dd; }
.universe-cyber > p { color: #c6d9df; }
.universe-cyber li { border-color: #ffffff23; }
.universe-card li:last-child a { padding-bottom: 0; }
.section-tail { font-size: 14px; margin-top: 29px; line-height: 1.7; }

/* Crop less of the scene. Movement stays within the reserved photo bleed. */
.focus-section { background: #f1f6f6; }
.focus-grid { grid-template-columns: 1.08fr 1fr; gap: 64px; }
.focus-visual { padding-right: 12px; padding-bottom: 38px; }
.parallax-window { --parallax-bleed: 90px; height: 470px; clip-path: none; border-radius: 9px; }
.parallax-window > img,
.focus-visual[data-motion-media] > .parallax-window > video.motion-video { object-position: 57% center; }
.visual-note { padding: 20px 24px; border-radius: 6px; right: 0; bottom: 7px; z-index: 3; }
.visual-note i { font-size: 31px; }
.outline-word { font-size: 79px; left: -13px; bottom: -18px; opacity: .65; }
.focus-copy > p, .need-panel p { font-size: 16px; }
.focus-points p { font-size: 14px; }
.focus-points strong { font-size: 16px; }
.needs-stage { gap: 64px; }
.needs-image { --parallax-bleed: 85px; height: 405px; border-radius: 9px; }
.needs-tabs { gap: 28px; margin-bottom: 36px; }
.needs-tabs button { font-size: 15px; line-height: 1.5; gap: 14px; }
.image-corner-mark { padding: 16px 0 0 16px; }
.image-corner-mark img { width: 58px; height: 58px; }
.check-list li { font-size: 14px; line-height: 1.7; }
.infrastructure-band { padding: 110px 0; }
.band-content p { font-size: 17px; }
.approach-track { margin-top: 49px; gap: 30px; }
.approach-track article > span { font-size: 36px; margin-bottom: 24px; color: #668d9b; }
.approach-track h3 { font-size: 21px; }
.approach-track p { font-size: 14px; }
.home-faq { background: #f6f8f7; }
.home-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.home-faq-grid > div > p { font-size: 16px; max-width: 365px; margin: 23px 0; }
.faq-item { padding: 24px 0; }
.faq-item > summary { font-size: 17px; line-height: 1.55; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item p { font-size: 15px; line-height: 1.85; margin-top: 17px; }
.brand-cta { background: #0a647d; padding: 88px 0; }
.brand-cta h2 { margin-bottom: 24px; }
.brand-cta .cta-context { color: #c9e4e9; font-size: 17px; margin-bottom: 30px; }
.brand-cta-mark { opacity: .65; }

/* Catalogue, detail pages and scoping guidance. */
.inner-hero, .service-hero { background: #0c303e; padding: 65px 0; }
.kazii-motion .page-title-area { height: auto; min-height: 0; padding: 70px 0 !important; }
.kazii-motion .page-title-area > .d-table,
.kazii-motion .page-title-area > .d-table > .d-table-cell { display: block; height: auto; }
.kazii-motion .page-title-content { margin-top: 0; }
.inner-hero h1, .inner-hero h1 em { font-style: normal; }
.inner-hero h1 em { color: #70d4df; }
.inner-hero p, .service-hero p { font-size: 17px; color: #c5d9e0; }
.catalogue-card { border-radius: 9px; padding: 26px; }
.catalogue-card:before { display: none; }
.catalogue-photo { margin: -26px -26px 24px; aspect-ratio: 1.9; overflow: hidden; background: #eaf0f1; }
.catalogue-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
.catalogue-card:hover .catalogue-photo img { scale: 1.035; }
.catalogue-card p { font-size: 14px; line-height: 1.75; }
.catalogue-card ul { font-size: 13px; line-height: 1.6; }
.catalogue-card .action-link { font-size: 13px; }
.catalogue-card-top { align-items: center; }
.catalogue-icon { font-size: 29px; }
.catalogue-filters button { font-size: 13px; border-radius: 5px; }
.service-photo-frame { --parallax-bleed: 80px; height: 340px; clip-path: none; border-radius: 9px; }
.service-visual-label { border-radius: 4px; font-size: 13px; }
.expertise-fit-section { background: #fff; }
.expertise-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.fit-signals-panel { padding: 8px 0; }
.fit-signals-panel h3 { font-size: 25px; margin: 0 0 24px; }
.fit-signals { list-style: none; margin: 0; padding: 0; }
.fit-signals li { display: flex; align-items: flex-start; gap: 17px; padding: 22px 0; border-top: 1px solid var(--line); color: #415d6a; font-size: 16px; line-height: 1.75; }
.fit-signals i { color: #0586a3; font-size: 24px; margin-top: 3px; }
.fit-preparation { background: #eef5f5; padding: 34px 37px; border-radius: 9px; }
.fit-preparation .fit-first-step { color: #294b5a; font-size: 16px; margin-bottom: 26px; }
.fit-preparation h3 { font-size: 20px; margin-bottom: 17px; }
.fit-preparation-list { padding-left: 19px; font-size: 14px; color: #425e6b; line-height: 1.75; }
.fit-preparation-list li { padding: 3px 0; }
.fit-preparation .fit-privacy-note { font-size: 12px; line-height: 1.7; padding-top: 17px; margin: 22px 0 0; border-top: 1px solid #cedeE3; }
.service-offer-section { background: #f6f8f8; }
.service-item { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 31px; }
.service-item p { font-size: 15px; line-height: 1.8; }
.service-item h3 { font-size: 23px; line-height: 1.3; }
.service-item.service-item-cta { background: #082d3e; border-color: #082d3e; }
.detail-columns > .deliverables-panel { border-radius: 9px; }
.deliverables-panel p, .deliverables-panel li { font-size: 15px; }
.decision-guide .section-title { margin-bottom: 44px; }
.decision-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.decision-card { border: 1px solid var(--line); border-top: 3px solid #50aabd; border-radius: 8px; padding: 31px; background: #fff; display: flex; flex-direction: column; }
.decision-card .badge-kazii { align-self: flex-start; font-size: 10px; letter-spacing: .07em; margin: 0 0 23px; }
.decision-card h3 { font-size: 25px; line-height: 1.25; margin-bottom: 21px; }
.decision-card p { font-size: 14px; line-height: 1.85; }
.decision-card strong { color: #2b4d5d; }
.decision-card .read-more-btn { display: block; margin-top: auto; padding-top: 20px; font-size: 13px; }
.kazii-motion .single-services-box p { font-size: 15px; }
.kazii-motion .single-services-box, .kazii-motion .single-featured-box { border-radius: 8px; }
.kazii-motion .single-services-box { display: flex; flex-direction: column; align-items: flex-start; }
.kazii-motion .single-services-box .solution-number { align-self: flex-end; }
.kazii-motion .single-services-box .read-more-btn { position: static; display: inline-flex; align-items: center; gap: 10px; opacity: 1; visibility: visible; color: var(--blue); transform: none; margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; line-height: 1.6; }
.kazii-motion .single-services-box .read-more-btn:before { display: none; }
.kazii-motion .single-services-box:hover h3,
.kazii-motion .single-services-box:hover h3 a,
.kazii-motion .single-featured-box:hover h3,
.kazii-motion .single-featured-box:hover h3 a { color: var(--ink); transform: none; }
.kazii-motion .single-services-box:hover p,
.kazii-motion .single-featured-box:hover p { color: var(--muted); transform: none; }
.kazii-motion .single-services-box:hover .icon { transform: none; }
.about-image.kazii-image-card.agency-depth-frame { height: auto; aspect-ratio: 1.42; border-radius: 9px; }
.about-image.kazii-image-card.agency-depth-frame > img { top: -45px; height: calc(100% + 90px); object-position: center; }
.agency-depth-frame .image-tag { border-radius: 5px; font-size: 13px; left: 20px; right: 20px; bottom: 20px; padding: 14px; }
.kazii-motion .why-choose-image.kazii-image-card { border-radius: 9px; padding: 0; }
.kazii-motion .why-choose-image.kazii-image-card > img { height: auto; aspect-ratio: 1.25; object-position: center; border-radius: 9px; }
.footer-grid a { font-size: 13px; }
.footer-brand-column p { font-size: 13px; line-height: 1.8; }
.footer-signature { font-size: clamp(100px,19vw,260px); }
.contact-form .form-guidance { padding: 16px 18px; margin: 0 0 26px; font-size: 13px; background: #eef5f5; border-left: 3px solid #61afbd; border-radius: 3px; }
.contact-form .field-optional { font-size: 12px; font-weight: 400; color: #617680; }
.contact-form #budget-help { display: block; margin-top: 8px; color: #617680; font-size: 12px; line-height: 1.6; }

@media (max-width: 1199px) {
  .hero-copy h1 { font-size: 52px; }
  .hero-layout { gap: 34px; }
  .hero-art { height: 465px; }
  .hero-reassurance { flex-direction: column; }
  .universe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .universe-photo { aspect-ratio: 2; }
  .universe-card > p { min-height: 0; }
  .universe-card ul { margin-top: 0; }
  .focus-grid, .needs-stage { gap: 40px; }
  .home-faq-grid, .expertise-fit-grid { gap: 45px; }
  .decision-grid { gap: 16px; }
  .decision-card { padding: 24px; }
}
@media (max-width: 991px) {
  .hero-layout { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 44px; gap: 40px; }
  .hero-copy { max-width: 690px; }
  .hero-copy h1 { font-size: 59px; }
  .hero-copy > p { max-width: 610px; }
  .hero-reassurance { flex-direction: row; }
  .hero-art { height: 430px; width: auto; max-width: 650px; margin: 0 12px 0 25px; }
  .hero-photo-frame { clip-path: polygon(6% 0,100% 0,100% 94%,94% 100%,0 100%,0 6%); }
  .focus-grid, .needs-stage { grid-template-columns: 1fr; gap: 46px; }
  .focus-visual { max-width: 680px; }
  .parallax-window { height: 420px; }
  .focus-copy { max-width: 680px; }
  .needs-image { height: 420px; }
  .home-faq-grid, .expertise-fit-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-faq-grid > div > p { max-width: 620px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-card { padding: 29px; }
  .fit-preparation { padding: 30px; }
}
@media (max-width: 767px) {
  .section-space { padding: 66px 0; }
  .hero-copy h1 { font-size: clamp(35px,6.2vw,46px); line-height: 1.12; }
  .hero-copy > p { font-size: 16px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .hero-art { height: 370px; max-width: 570px; }
  .hero-brand-stamp { width: 108px; height: 126px; left: -21px; }
  .hero-brand-stamp img { width: 65px; height: 65px; }
  .hero-signal { font-size: 10px; padding: 10px 12px; right: 10px; top: 20px; }
  .hero-caption { font-size: 9px; max-width: 240px; }
  .hero-bottom { font-size: 11px; gap: 10px; }
  .hero-bottom .parallax-switch { font-size: 10px; padding: 7px 8px; }
  .hero-art[data-motion-media] > .media-play-toggle { right: 19px; bottom: 49px; font-size: 10px; }
  .section-tail { flex-direction: column; align-items: flex-start; gap: 12px; }
  .parallax-window { --parallax-bleed: 65px; height: 340px; }
  .needs-image { --parallax-bleed: 60px; height: 320px; }
  .visual-note { padding: 17px 20px; font-size: 12px; }
  .visual-note i { font-size: 27px; }
  .outline-word { font-size: 64px; bottom: -12px; }
  .needs-tabs { gap: 12px; }
  .needs-tabs button { font-size: 13px; align-items: flex-start; }
  .needs-tabs button span { display: none; }
  .need-panel h3 { font-size: 31px; }
  .brand-cta { padding: 64px 0; }
  .brand-cta .cta-context { font-size: 16px; }
  .catalogue-card { padding: 24px; }
  .catalogue-photo { margin: -24px -24px 23px; }
  .inner-hero, .service-hero { padding: 45px 0; }
  .kazii-motion .page-title-area { padding: 48px 0 !important; }
  .inner-hero p, .service-hero p { font-size: 16px; }
  .service-photo-frame { --parallax-bleed: 60px; height: 300px; }
  .fit-signals li { font-size: 15px; padding: 19px 0; }
  .fit-preparation { padding: 26px; }
  .service-item { padding: 25px; }
  .about-image.kazii-image-card.agency-depth-frame { aspect-ratio: 1.6; }
  .about-image.kazii-image-card.agency-depth-frame > img { top: -30px; height: calc(100% + 60px); }
  .agency-depth-frame .image-tag { font-size: 11px; padding: 10px; left: 12px; right: 12px; bottom: 12px; }
}
@media (max-width: 639px) {
  .universe-grid, .catalogue-grid { grid-template-columns: 1fr; }
  .universe-photo { aspect-ratio: 1.8; }
  .universe-card h3 { font-size: 26px; }
  .universe-card > p { font-size: 15px; }
  .universe-card li a { font-size: 13px; }
  .hero-art { height: 320px; margin-right: 10px; margin-left: 21px; }
  .hero-caption { max-width: 180px; font-size: 8px; }
  .hero-reassurance { flex-direction: column; font-size: 12px; }
  .hero-actions { gap: 19px; }
  .hero-actions .action-link { font-size: 13px; }
  .parallax-window { height: 320px; }
  .needs-image { height: 290px; }
  .focus-visual { padding-right: 0; }
  .visual-note { right: 0; }
  .service-photo-frame { height: 270px; }
}
.motion-reduced .universe-photo img, .motion-reduced .catalogue-photo img { transition: none; }
.motion-reduced .universe-card:hover .universe-photo img, .motion-reduced .catalogue-card:hover .catalogue-photo img { scale: 1; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-full) .universe-photo img, html:not(.motion-full) .catalogue-photo img { transition: none; }
}
.home-journal { background: #f1f5f5; }
.home-journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-journal-card { display: flex; flex-direction: column; padding: 30px 0 24px; border-top: 2px solid #153942; }
.home-journal-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #386a76; font-size: 11px; letter-spacing: .05em; font-weight: 650; margin-bottom: 24px; }
.kazii-motion .home-journal-card h3 { font-size: 25px; line-height: 1.28; letter-spacing: -.025em; margin: 0 0 18px; }
.home-journal-card h3 a { color: var(--ink); }
.home-journal-card h3 a:hover { color: var(--blue); }
.kazii-motion .home-journal-card p { font-size: 14px; line-height: 1.85; margin-bottom: 24px; }
.home-journal-card > .action-link { margin-top: auto; font-size: 13px; }
.home-journal-tail { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 32px; }
.home-events-link { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 7px; background: #0d313d; color: white; font-size: 15px; font-weight: 600; }
.home-events-link:hover { color: white; background: #164958; }
.home-events-link > i { font-size: 30px; color: #78d3d6; }
.home-events-link small { display: block; color: #c2d7db; font-size: 11px; margin-top: 4px; font-weight: 400; }
.home-events-link > span:last-child { margin-left: 12px; }
.footer-illustration-note { display: block; color: #a4bbc3; font-size: 10px; line-height: 1.7; margin-top: 16px; }
@media (min-width: 1100px) and (max-width: 1250px) {
  .site-navigation { gap: 18px; }
  .navigation-shell > .container { gap: 20px; }
}
@media (max-width: 767px) {
  .home-journal-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-journal-card { padding-top: 24px; }
  .home-journal-meta { margin-bottom: 15px; }
  .kazii-motion .home-journal-card h3 { font-size: 25px; }
  .home-journal-tail { flex-direction: column; align-items: flex-start; }
  .home-events-link { width: 100%; padding: 20px; font-size: 14px; }
}
