/* KAIU colours sit on the existing dark project and service layouts. */


:root, body.kaiu-design-kit {
  --green: var(--e-global-color-a13f004, #b2ddc9);
  --brand-mint: var(--green);
  --brand-coral: var(--e-global-color-accent, #f8ab9e);
  --brand-blue-grey: var(--e-global-color-secondary, #86a6b2);
  --bg: var(--e-global-color-a13f001, #0b0e0e);
  --panel: var(--e-global-color-a13f002, #141a1b);
  --menu-surface: var(--e-global-color-a13f003, #111718);
  --work-surface: var(--e-global-color-a13f008, #0e1314);
  --text: var(--e-global-color-primary, #f4f3ef);
  --muted: var(--e-global-color-text, #bac5c6);
  --line: var(--e-global-color-a13f005, #35474c);
  --light-surface: var(--e-global-color-a13f006, #f0f5f2);
  --light-copy: var(--e-global-color-a13f007, #234e40);
  --accent: var(--brand-coral);
}


.hero-art { filter: none; }


:where(body :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title),
body.kaiu-design-kit :is(h1,h2,h3,h4,h5,h6,.elementor .elementor-widget-heading .elementor-heading-title)){color: var(--text);}


:where(body :is(.light,.studio-clients) :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title),
body.kaiu-design-kit :is(.light,.studio-clients) :is(h1,h2,h3,h4,h5,h6,.elementor .elementor-widget-heading .elementor-heading-title)){color: var(--light-copy);}


body :is(.project-meta,.work-meta,.slide-count,.journal-meta) { color: var(--brand-blue-grey); }


body :is(.image-arrow,.work-circle) { background: var(--brand-coral); border-color: var(--brand-coral); color: #221815; }


body :is(.btn,.button):hover { background: var(--brand-coral); border-color: var(--brand-coral); color: #221815; }


body .elementor .wp-brand img, body .kaiu-mega-menu-layout .menu-edit-logo img { filter: none; }


.journal-editorial .journal-intro { padding-block: clamp(130px,15vw,215px) clamp(30px,5vw,70px); }


.journal-editorial .journal-intro h1 { color: var(--text); font-size: clamp(64px,12vw,174px); }


.journal-editorial .journal-intro > :last-child { max-width: 42rem; color: var(--muted); }


.journal-editorial .journal-intro .journal-heading-label { color: var(--brand-mint); }


.journal-filter { display: grid; grid-template-columns: minmax(160px,2fr) minmax(135px,1fr) minmax(130px,1fr) auto; gap: 12px; align-items: end; margin-bottom: 24px; }


.journal-filter label { display: grid; gap: 5px; color: var(--text); margin: 0; font-size: .83rem; }


.journal-filter input[type="search"], .journal-filter select {
  width: 100%; height: 47px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--panel);
}


.journal-filter [type="submit"] {
  min-height: 47px; padding: 0 18px; border: 0; border-radius: 6px; font: inherit; font-weight: 600;
  color: #101c18; background: var(--brand-mint); cursor: pointer;
}


.journal-filter :is(input,select,button):focus-visible { outline: 2px solid var(--brand-mint); outline-offset: 3px; }


.journal-result-bar { display: flex; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }


.journal-result-count { color: var(--muted); font-size: .85rem; }


.journal-result-bar a, .journal-empty a { color: var(--brand-mint); text-decoration: underline; text-underline-offset: .2em; font-size: .85rem; }


.journal-editorial .journal-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,3vw,40px); }


.journal-editorial .journal-card[hidden], .journal-editorial .journal-empty[hidden], .journal-result-bar a[hidden] { display: none; }


.journal-editorial .journal-card__body { display: grid; gap: 9px; align-content: start; }


.journal-editorial .journal-card h2 { font-size: clamp(21px,2.5vw,35px); color: var(--text); }


.journal-editorial .journal-card__category { color: var(--brand-mint); }


.journal-card__date { color: var(--muted); font-size: .75rem; }


.journal-card__excerpt { color: var(--muted); margin: 0; line-height: 1.6; font-size: .95rem; }


.journal-card__image { display: block; aspect-ratio: 16/10; background: var(--panel); overflow: hidden; }


.journal-editorial .journal-card__image img { height: 100%; transition: transform 300ms ease; }


.journal-editorial .journal-card a:hover img { transform: scale(1.03); }


.journal-editorial .journal-card--lead { grid-column: 1/-1; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }


.journal-editorial .journal-card--lead a { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; align-items: stretch; }


.journal-editorial .journal-card--lead .journal-card__image { min-height: 100%; }


.journal-editorial .journal-card--lead .journal-card__body { align-content: center; padding: clamp(21px,5vw,72px); gap: 14px; }


.journal-editorial .journal-card--lead .journal-card__category { color: var(--brand-coral); }


.journal-editorial .journal-card--lead h2 { font-size: clamp(26px,3.6vw,52px); }


.journal-editorial .journal-card--lead .journal-card__arrow { background: var(--brand-coral); border-color: var(--brand-coral); color: #221815; }


.journal-empty { padding: 38px 0 65px; color: var(--text); }


.journal-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 26px; }


.journal-tags > span { color: var(--muted); font-size: .8rem; margin-right: 5px; }


.journal-tags a { border: 1px solid var(--line); border-radius: 99px; padding: 4px 13px; color: var(--brand-mint); font-size: .8rem; }


.journal-tags a:hover { border-color: var(--brand-mint); }


.journal-cta { border: 1px solid var(--line); border-left: 4px solid var(--brand-coral); border-radius: 8px; background: var(--panel); padding: clamp(22px,5vw,54px); margin: 0 0 60px; }


.journal-cta h2, body.kaiu-design-kit .journal-cta h2.elementor-heading-title { font-size: clamp(28px,4vw,52px); letter-spacing: -.045em; line-height: 1.06; margin-bottom: 10px; color: var(--text); }


.journal-cta p { max-width: 52ch; color: var(--muted); }


.journal-cta__links { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; margin-top: 12px; }


.journal-cta__links a { color: var(--brand-mint); text-underline-offset: .18em; }


.journal-cta__links a.btn { color: #101c18; }


@media (max-width: 900px) {
  
.journal-editorial .journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

  
.journal-filter { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }

}


@media (max-width: 650px) {
  
.journal-editorial .journal-grid,.journal-editorial .journal-card--lead a { grid-template-columns: 1fr; }

  
.journal-filter label:first-child { grid-column: 1/-1; }

  
.journal-filter [type="submit"] { grid-column: 1/-1; justify-self: start; }

}


@media (prefers-reduced-motion: reduce) { 
.journal-editorial .journal-card__image img { transition: none; transform: none !important; }
 }


.journal-filter:not(:has([name="journal_tag"])) { grid-template-columns: minmax(160px,2fr) minmax(135px,1fr) auto; }


@media (max-width: 650px) {
  
.journal-filter:not(:has([name="journal_tag"])) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }

}


.journal-editorial .journal-card--lead .journal-card__image {
  position: relative; width: 100%; min-width: 0; min-height: clamp(250px,34vw,485px); aspect-ratio: auto;
}


.journal-editorial .journal-card--lead .journal-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; }



/* Mint marks section headings and active links. */


.studio-hero .hero-art { animation-duration: 14s; }


.studio-hero .hero-kicker,
body.kaiu-design-kit .studio-hero .hero-kicker { color: #b8b5bf; }


.studio-hero .hero-content h1,
.studio-hero .hero-content h1 .rotating-word,
body.kaiu-design-kit .studio-hero .hero-content h1 .rotating-word { color: var(--text); }



body main h2:not([hidden]) { color: var(--green); }


:where(body.kaiu-design-kit main :is(h2,.elementor .elementor-widget-heading h2.elementor-heading-title)){color: var(--green);}


:where(body main :is(.light, .studio-clients, .proof-reviews) h2,
body.kaiu-design-kit main :is(.light, .studio-clients, .proof-reviews) :is(h2,.elementor .elementor-widget-heading h2.elementor-heading-title)){color: var(--light-copy);}



body main :is(.lead, .subline, .hero-low p, .journal-intro p:last-child, .journal-card__excerpt, .journal-cta p) { color: var(--text); }


body main :is(.light, .studio-clients, .proof-reviews) :is(.lead, .subline) { color: #172221; }


body :is(.menu-toggle, .journal-heading-label, .journal-card__category, .journal-meta, .contact-block .eyebrow, .enquiry-panel .eyebrow),
body.kaiu-design-kit :is(.contact-block .eyebrow, .enquiry-panel .eyebrow),
body .journal-editorial :is(.journal-intro .journal-heading-label, .journal-card .journal-card__category) { color: var(--text); }


body main .eyebrow:not(.hero-kicker) { color: var(--text); }


body main :is(.light, .studio-clients, .proof-reviews) .eyebrow { color: #172221; }


:where(body :is(main, footer, [id="site-menu"]) a:not(.brand):not(.btn):not(.button)){color: var(--text);}


:where(body :is(main, footer, [id="site-menu"]) a:not(.brand):not(.btn):not(.button) :is(h2, h3, .elementor-heading-title, .menu-icon),
body .journal-editorial .journal-card a h2){color: inherit;}


:where(body :is(main, footer, [id="site-menu"]) a:not(.brand):not(.btn):not(.button):is(:hover, :focus-visible),
body :is(main, footer, [id="site-menu"]) a:is(:hover, :focus-visible) :is(h2, h3, .elementor-heading-title, .menu-icon)){color: var(--green);}


:where(body main :is(.light, .studio-clients, .proof-reviews) a:not(.brand):not(.btn):not(.button)){color: #172221;}


:where(body main :is(.light, .studio-clients, .proof-reviews) a:not(.brand):not(.btn):not(.button):is(:hover, :focus-visible)){color: var(--light-copy);}


body :is(.cta-band, .site-intro) a.mega-link:hover { color: var(--green); }



body :is(a.btn, a.button, .journal-cta__links a.btn, .kaiu-quick-actions a, .kaiu-quick-actions button, .journal-filter [type="submit"]) {
  background: var(--panel); color: var(--text); border: 1px solid var(--brand-blue-grey);
}


body :is(a.btn, a.button, .journal-cta__links a.btn, .kaiu-quick-actions a, .kaiu-quick-actions button, .journal-filter [type="submit"]):is(:hover, :focus-visible) {
  background: var(--brand-mint); color: #101c18; border-color: var(--brand-mint);
}


body .journal-card .journal-card__arrow { border-color: var(--brand-blue-grey); }


body .journal-card a:hover .journal-card__arrow { border-color: var(--green); }



@media (prefers-reduced-motion: reduce) {
  
.studio-hero .hero-art { animation: none; }

}


body main .kaiu-faq summary { color: var(--text); }


body main .kaiu-faq summary:is(:hover, :focus-visible) { color: var(--green); }



/* WhatsApp keeps its recognisable green badge and white mark. */


body .kaiu-quick-actions a[aria-label],
body .kaiu-quick-actions a[aria-label]:is(:hover, :focus-visible) {
  width: 62px; height: 62px; color: #fff; background: #25d366; border: none;
  box-shadow: 0 4px 16px #0004;
}


body .kaiu-quick-actions a[aria-label]:hover { background: #19bd56; }


body .kaiu-quick-actions a[aria-label] svg { width: 36px; height: 36px; }


@media (max-width: 650px) {
  
body .kaiu-quick-actions a[aria-label],
  body .kaiu-quick-actions a[aria-label]:is(:hover, :focus-visible) { width: 54px; height: 54px; }

  
body .kaiu-quick-actions a[aria-label] svg { width: 32px; height: 32px; }

}



/* Let ordinary article photos sit flush with the start of each card. */


.kaiu-journal .journal-card:not(.journal-card--lead) { border-top: 0; padding-top: 0; }



.journal-cta:has(.journal-cta__photo),
.elementor .e-con.journal-cta:has(.journal-cta__photo) {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px;
}


.journal-cta .journal-cta__photo,
.elementor .journal-cta .e-con.journal-cta__photo {
  position: relative; min-width: 0; width: 100%; min-height: 250px; align-self: stretch;
}


.journal-cta__photo img, .elementor .journal-cta__photo img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
}


.journal-cta .journal-cta__body,
.elementor .journal-cta .e-con.journal-cta__body {
  width: 100%; min-width: 0; padding: clamp(22px,4vw,38px); align-self: center;
}


.journal-cta .journal-cta__body h2,
body.kaiu-design-kit .journal-cta .journal-cta__body h2.elementor-heading-title {
  color: var(--green); font-size: clamp(26px,3.5vw,38px); margin-block: 0 12px;
}


.journal-cta__body p { margin: 0; font-size: 1rem; line-height: 1.55; }


.journal-cta__links { display: grid; justify-items: start; gap: 14px; margin-top: 20px; }


body main .journal-cta__links a.journal-cta__whatsapp {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; min-height: 44px;
  border-radius: 8px; background: #087a3d; color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none;
}


body main .journal-cta__links a.journal-cta__whatsapp:is(:hover, :focus-visible) { background: #066434; color: #fff; }


.journal-cta__whatsapp svg { width: 22px; height: 22px; flex: none; }


.journal-cta__secondary { display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: .875rem; }


@media (max-width: 620px) {
  
.journal-cta:has(.journal-cta__photo),
  .elementor .e-con.journal-cta:has(.journal-cta__photo) { grid-template-columns: 1fr; }

  
.journal-cta .journal-cta__photo,
  .elementor .journal-cta .e-con.journal-cta__photo { min-height: 0; aspect-ratio: 16/9; }

}



.footer-socials { margin-top: 24px; }


.footer-socials h3,
body.kaiu-design-kit footer .footer-socials h3 {
  margin: 0 0 9px; color: var(--green); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}


.footer-socials__links { display: flex; flex-wrap: wrap; gap: 7px 15px; }


body footer .footer-socials__links a {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
  font-size: .875rem; text-decoration: none; border-bottom: 1px solid var(--line);
}


body footer .footer-socials__links a:is(:hover, :focus-visible) { color: var(--green); border-color: var(--green); }



/* Keep the service and location label visible inside the homepage H1. */


.hero-content h1 > .hero-kicker {
 display: block; font-size: 10px; font-weight: 400; line-height: 1.65; letter-spacing: .05em;
}


@media(max-width:767px) { 
.hero-content h1 > .hero-kicker { font-size:10px; line-height:1.8; }
 }



/* Shared page grid. Blog archives and articles retain their reading layout. */


:root { --site-gutter:32px; }


body.kaiu-design-kit { --max:var(--container-max-width,1600px); }


body :is(.wrap,.header-inner,.kaiu-faq,.kaiu-project-facts),
body:not(.kaiu-editorial-page) .journal-wrap,
body.kaiu-design-kit .elementor :is(.e-con.wrap,.header-inner) {
 width:calc(100% - 2 * var(--site-gutter));
 max-width:var(--max);
 margin-inline:auto;
}


@media(max-width:767px) { 
:root { --site-gutter:20px; }
 }



/* Keep the H1 label anchored to the hero content grid during entrance animations. */


.hero-content h1.kaiu-enter { animation:none; transform:none; }



/* Native Elementor gallery rows follow the same frames as the approved preview. */


.elementor .e-con.project-gallery-row { padding:0; min-height:0; }


.elementor .project-cover .wp-photo img { width:100%; height:auto; max-height:850px; object-fit:contain; }



/* Apply the approved logo wordmark treatment to imported media URLs. */


.elementor .wp-brand a:has(img[src$="/logo-colour.png"]) { position:relative; display:inline-block; }


.elementor .wp-brand a:has(img[src$="/logo-colour.png"]) img { filter:none; margin:0; }


.elementor .wp-brand a:has(img[src$="/logo-colour.png"])::after {
 position:absolute; inset:0; content:""; pointer-events:none; background:#f1f1ee;
 mask:url("images/logo-colour.png") center / contain no-repeat; clip-path:inset(0 0 0 47%);
}



/* Consistent thumbnails across the main project archive. */


body.kaiu-design-kit .elementor .project-grid .project-image { position:relative; width:100%; height:auto; min-height:0; aspect-ratio:4 / 3; overflow:hidden; }


body.kaiu-design-kit .elementor .project-grid .project-image > img { position:absolute; inset:0; display:block; width:100%; height:100%; max-width:100%; max-height:none; object-fit:cover; object-position:center; }


body.kaiu-design-kit .elementor .project-grid .project-card { margin-top:0; align-self:start; }

