/*
Theme Name: Kazbar Projects - Divi Child
Template: Divi
Author: The Design People
Author URI: https://thedesignpeople.com.au
Description: Child theme for kazbarprojects.com.au. Brand design system (orange + ink, Poppins) built on Divi 5. Header/mobile-nav styles live in assets/css/header-nav.css; site JS (nav, hero video, reveal, project gallery) in assets/js/header-nav.js.
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* BRAND TOKENS */
:root{
  --orange:#F48036;
  --orange-dark:#e06d22;
  --ink:#26251f;
  --ink-soft:#4a4843;
  --grey:#6f6d66;
  --line:#e7e4dd;
  --paper:#ffffff;
  --paper-warm:#f6f3ee;
  --dark:#1c1b18;
  --kz-maxw:1560px;
  --kz-logo-h:70px;
  --kz-eyebrow-gap:16px;
  --kz-header-h:calc(var(--kz-logo-h) + 32px);
  --radius:14px;
  --ease:cubic-bezier(.4,0,.2,1);
}

/* DIVI BASE INTEGRATION */
html{scroll-behavior:smooth}

body:not(.et-fb){
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
body:not(.et-fb) h1,
body:not(.et-fb) h2,
body:not(.et-fb) h3,
body:not(.et-fb) h4{
  font-family:'Poppins',sans-serif;
  letter-spacing:-.02em;
  color:var(--ink);
}

:where(body:not(.et-fb)) h1{font-size:clamp(2.2rem,4.2vw,3.9rem) !important;line-height:1.12 !important;font-weight:600 !important}
:where(body:not(.et-fb)) h2{font-size:clamp(1.9rem,3.6vw,2.5rem) !important;line-height:1.14 !important;font-weight:600 !important;margin-bottom:18px !important}
:where(body:not(.et-fb)) h3{font-size:1.5rem !important;line-height:1.14 !important;font-weight:600 !important}

#main-content .container:before{width:0 !important;background-color:transparent !important}

body:not(.et-fb),
body:not(.et-fb) .et_pb_text,
body:not(.et-fb) .et_pb_text *,
body:not(.et-fb) p,
body:not(.et-fb) li,
body:not(.et-fb) a,
body:not(.et-fb) input,
body:not(.et-fb) textarea,
body:not(.et-fb) select,
body:not(.et-fb) button{font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif !important}

body:not(.et-fb){font-size:18px;line-height:1.65;font-weight:400}
body:not(.et-fb) .et_pb_text{font-weight:400;line-height:1.65}

.kz-vcenter .et_pb_row{align-items:center !important}

.kz-cards .et_pb_column{display:flex;flex-direction:column}
.kz-cards .et_pb_column > .et_pb_module{width:100%;flex:1 0 auto}
.kz-cards .et_pb_text,
.kz-cards .et_pb_text > .et_pb_text_inner{display:flex;flex-direction:column;flex:1}
.kz-cards .team-card,
.kz-cards .service-card{flex:1;display:flex;flex-direction:column}
.kz-cards .team-card > p:last-child,
.team-card .et_pb_text_inner > p:last-child{margin-top:auto !important;margin-bottom:0 !important}

body:not(.et-fb) .et_pb_text p{padding-bottom:0 !important}

img{max-width:100%}
a{text-decoration:none}

/* SHARED ELEMENTS */
.section-tag{
  display:inline-block;text-transform:uppercase;letter-spacing:.18em;
  font-size:.8125rem;font-weight:600;color:var(--orange);margin-bottom:16px;
}
.section-head{max-width:720px;margin-bottom:56px}
.section-intro{color:var(--grey);font-size:1.15rem;margin-top:14px}

/* Divi 5 puts the CSS class on the <a.et_pb_button> itself; Divi 4 put it on a wrapper.
   Both forms are matched below. */
.btn,
:is(.kz-btn-primary,.kz-btn-ghost,.kz-btn-dark) .et_pb_button,
.et_pb_button:is(.kz-btn-primary,.kz-btn-ghost,.kz-btn-dark){
  display:inline-block;padding:17px 38px !important;border-radius:50px !important;
  font-family:'Poppins',sans-serif !important;font-weight:500 !important;font-size:1.125rem !important;
  letter-spacing:.01em;cursor:pointer;border:none !important;line-height:1.2 !important;
  transition:transform .25s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease);
  text-transform: uppercase !important;
}
.btn-primary,
.kz-btn-primary .et_pb_button,
.et_pb_button.kz-btn-primary{background:var(--orange) !important;color:#fff !important;box-shadow:0 8px 22px rgba(244,128,54,.32)}
.btn-primary:hover,
.kz-btn-primary .et_pb_button:hover,
.et_pb_button.kz-btn-primary:hover{background:var(--orange-dark) !important;transform:translateY(-2px)}
.btn-ghost,
.kz-btn-ghost .et_pb_button,
.et_pb_button.kz-btn-ghost{background:rgba(255,255,255,.12) !important;color:#fff !important;border:1.5px solid rgba(255,255,255,.55) !important}
.btn-ghost:hover,
.kz-btn-ghost .et_pb_button:hover,
.et_pb_button.kz-btn-ghost:hover{background:rgba(255,255,255,.22) !important;transform:translateY(-2px)}
.btn-dark,
.kz-btn-dark .et_pb_button,
.et_pb_button.kz-btn-dark{background:var(--ink) !important;color:#fff !important}
.btn-dark:hover,
.kz-btn-dark .et_pb_button:hover,
.et_pb_button.kz-btn-dark:hover{background:#000 !important;transform:translateY(-2px)}

:is(.kz-btn-primary,.kz-btn-ghost,.kz-btn-dark) .et_pb_button:after,
.et_pb_button:is(.kz-btn-primary,.kz-btn-ghost,.kz-btn-dark):after{display:none !important}

.btn:hover,
:is(.kz-btn-primary,.kz-btn-ghost,.kz-btn-dark) .et_pb_button:hover,
.et_pb_button:is(.kz-btn-primary,.kz-btn-ghost,.kz-btn-dark):hover{padding:17px 38px !important}

body #page-container .et_pb_section a.et_pb_button.kz-btn-primary:hover,
body #page-container .et_pb_section a.et_pb_button.kz-btn-ghost:hover,
body #page-container .et_pb_section a.et_pb_button.kz-btn-dark:hover,
body #page-container .et_pb_section .kz-btn-primary a.et_pb_button:hover,
body #page-container .et_pb_section .kz-btn-ghost a.et_pb_button:hover,
body #page-container .et_pb_section .kz-btn-dark a.et_pb_button:hover{padding:17px 38px !important}

body #page-container .et_pb_section a.et_pb_button.kz-btn-ghost:hover,
body #page-container .et_pb_section .kz-btn-ghost a.et_pb_button:hover{border:1.5px solid rgba(255,255,255,.55) !important}

@media(max-width:980px){:root{--kz-logo-h:58px}}
body:not(.et-fb) .kz-hero-section.et_pb_section,
body:not(.et-fb) .page-hero.et_pb_section{margin-top:calc(var(--kz-header-h) * -1) !important}

/* SECTION PADDING + BACKGROUNDS */
.kz-hero-section.et_pb_section{padding:0 !important}
.intro.et_pb_section{padding:80px 0 40px !important;background:var(--paper) !important}
.experience.et_pb_section{padding:80px 0 !important;background:var(--paper-warm) !important}
.projects.et_pb_section{padding:80px 0 100px !important;background:var(--paper) !important}
.stats.et_pb_section{padding:84px 0 64px !important;background:var(--paper-warm) !important}
.philosophy.et_pb_section{padding:70px 0 120px !important;background:var(--paper) !important}
.services.et_pb_section{padding:60px 0 80px!important;background:var(--dark) !important;color:#fff}
.team.et_pb_section{padding:64px 0 120px !important;background:var(--paper-warm) !important}
.contact.et_pb_section{padding:120px 0 !important;background:var(--dark) !important;color:#fff}

/* HERO */
.kz-hero-section .et_pb_row,
.kz-hero-section .et_pb_column,
.kz-hero-section .et_pb_module{
  width:100% !important;max-width:100% !important;margin:0 !important;padding:0 !important;
}
.hero{position:relative;height:100vh;min-height:640px;display:flex;align-items:center;color:#fff;overflow:hidden}
.hero-media{position:absolute;inset:0;z-index:0;background:#141310}
.hero-video,.hero-poster{width:100%;height:100%;object-fit:cover;opacity:.75}
.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(180deg,rgba(20,19,16,.45) 0%,rgba(20,19,16,0) 24%),
    linear-gradient(0deg,rgba(20,19,16,.28) 0%,rgba(20,19,16,0) 30%),
    linear-gradient(100deg,rgba(20,19,16,.72) 0%,rgba(20,19,16,.45) 42%,rgba(20,19,16,.18) 72%,rgba(20,19,16,.05) 100%);
}
.hero-content{position:relative;z-index:2;width:80%;max-width:var(--kz-maxw);margin:6vh auto 0;padding:0}
@media(min-width:981px){.hero-content{width:90%}}
.hero-eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:.95rem;font-weight:500;color:#fff;margin-bottom:22px;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.hero-title{font-size:clamp(2.2rem,4.6vw,4.4rem) !important;font-weight:600;line-height:1.1;letter-spacing:-.02em;max-width:24ch;margin-bottom:30px;color:#fff !important;text-shadow:0 2px 30px rgba(0,0,0,.25)}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.hero-actions .btn{padding:13px 30px}

/* INTRO */
.intro .section-tag{margin-bottom:24px}
.intro-statement{font-size:clamp(1.45rem,2.4vw,2rem) !important;font-weight:400;line-height:1.5;letter-spacing:-.005em;color:var(--ink);max-width:1080px;margin-bottom:0 !important}
.intro-statement strong{font-weight:500;color:var(--orange)}

/* EXPERIENCE */
.experience-lead{font-size:clamp(1.3rem,2vw,1.6rem) !important;font-weight:400;line-height:1.5;color:var(--ink);margin-bottom:26px !important;letter-spacing:-.005em}
.experience-note{color:var(--ink-soft);margin-bottom:16px !important}
.experience-note:last-child{margin-bottom:0 !important}
.experience-clients{background:var(--dark);border:1px solid var(--dark);border-radius:var(--radius);padding:38px 40px}
.experience-clients .et_pb_text_inner > p:first-of-type{text-transform:uppercase;letter-spacing:.14em;font-size:.8125rem;font-weight:600;color:var(--orange) !important;margin:0 0 20px !important}
.experience-clients .et_pb_text_inner > ul{list-style:none !important;columns:2;column-gap:28px;margin:0 !important;padding:0 !important}
.experience-clients .et_pb_text_inner > ul li{padding:11px 0 !important;border-top:1px solid rgba(255,255,255,.14);color:#fff;font-weight:500;font-size:1.125rem;break-inside:avoid;list-style:none !important}
.experience-clients .et_pb_text_inner > ul li:first-child{border-top:none}
.experience-clients .et_pb_text_inner > ul li::before{display:none !important;content:"" !important}
.clients-label{text-transform:uppercase;letter-spacing:.14em;font-size:.8125rem;font-weight:600;color:var(--orange);margin-bottom:20px !important}
.clients-list{list-style:none;columns:2;column-gap:28px;margin:0;padding:0}
.clients-list li{padding:11px 0 !important;border-top:1px solid rgba(255,255,255,.14);color:#fff;font-weight:500;font-size:1.125rem;break-inside:avoid;list-style:none}
.clients-list li:first-child{border-top:none}

/* PROJECTS */
.project-grid{display:grid;grid-template-columns:1fr;gap:24px}
.project-card{position:relative;border-radius:var(--radius);overflow:hidden;min-height:420px;display:flex;align-items:flex-end;color:#fff;isolation:isolate}
.project-card::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(15,14,12,.82) 0%,rgba(15,14,12,.15) 55%,transparent 100%)}
.project-info{position:relative;z-index:2;padding:32px}
.project-meta{display:inline-block;text-transform:uppercase;letter-spacing:.14em;font-size:.8125rem;font-weight:600;color:var(--paper);margin-bottom:10px}
.project-info h3{font-size:1.7rem !important;margin-bottom:6px;color:#fff !important}
.project-info p{color:rgba(255,255,255,.9);font-size:1.1875rem;line-height:1.55;max-width:780px;margin:0}
.projects-note{margin-top:32px;text-align:center;color:var(--grey);font-size:1.05rem;font-style:italic}

.project-card--gallery{cursor:pointer}
.project-gallery{position:absolute;inset:0;z-index:0}
.project-gallery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s var(--ease)}
.project-gallery img.is-active{opacity:1}
.project-dots{position:absolute;top:22px;right:24px;z-index:3;display:flex;gap:8px}
.project-dots span{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);transition:background .3s var(--ease),transform .3s var(--ease)}
.project-dots span.is-active{background:var(--orange);transform:scale(1.2)}
.project-card--gallery:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* STATS */
.stat{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.stat-figure{
  display:flex;align-items:center;justify-content:center;
  width:100%;max-width:260px;min-height:96px;margin:0 auto !important;padding:18px 28px !important;
  background:var(--dark);color:var(--orange);border-radius:var(--radius);
  font-size:clamp(2.2rem,3.6vw,3rem);font-weight:600;letter-spacing:-.02em;line-height:1;
}
.stat-label{font-size:1.1875rem;color:var(--ink-soft);font-weight:500;line-height:1.35;max-width:240px;margin:0 auto !important}

body:not(.et-fb) .et_pb_text p.stat-figure {
  padding-bottom:18px!important;
}
/* PHILOSOPHY */
.philosophy .section-tag{color:var(--orange)}
.philosophy-text p{color:var(--ink-soft);margin-bottom:18px !important}
.philosophy-text p:last-child{margin-bottom:0 !important}
.kz-media-portrait img{border-radius:var(--radius);width:100%;object-fit:cover;aspect-ratio:4/5}

/* SERVICES */
.services .section-tag,.services .section-intro{color:var(--orange)}
.services h2,.services .section-head h2{color:#fff !important}
.service-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:var(--radius);padding:40px 34px;height:100%;transition:transform .35s var(--ease),background .35s var(--ease),border-color .35s}
.service-card:hover{transform:translateY(-6px);background:rgba(244,128,54,.07);border-color:rgba(244,128,54,.4)}
.service-num{display:block;font-size:1rem;font-weight:600;color:var(--orange);letter-spacing:.05em}
.service-card .et_pb_text_inner > p:first-of-type{display:block;font-size:1rem;font-weight:600;color:var(--orange) !important;letter-spacing:.05em;margin:0 !important}
.service-card h3{margin:14px 0 !important;font-size:1.6rem !important;color:#fff !important}
.service-card p{color:rgba(255,255,255,.72);margin-bottom:22px !important;font-size:1.0625rem}
.service-card ul{list-style:none;margin:0;padding:0}
.service-card li{padding:9px 0 9px 26px !important;position:relative;color:rgba(255,255,255,.85);border-top:1px solid rgba(255,255,255,.08);font-size:.9875rem;list-style:none}
.service-card li::before{content:"";position:absolute;left:0;top:18px;width:9px;height:9px;border-radius:50%;background:var(--orange)}

/* TEAM */
.team-card{background:#fff;border-radius:var(--radius);padding:34px 26px;border:1px solid var(--line);text-align:center;height:100%;transition:transform .35s var(--ease),box-shadow .35s}
.team-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.08)}

.kz-team-photo{margin:0 auto 22px !important;width:180px !important}
.kz-team-photo img{width:180px;height:180px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,var(--orange),#f7a05f)}
.team-card img{display:block;width:180px;height:180px;margin:0 auto 22px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,var(--orange),#f7a05f)}
.team-card .et_pb_text_inner{text-align:center}
.team-card .et_pb_text_inner > p:has(img){margin:0 !important;padding:0 !important}
.team-card .et_pb_text_inner > h3 + p{color:var(--orange) !important;font-weight:500;font-size:.95rem;margin-bottom:14px !important}
.team-card .et_pb_text_inner > h3 + p + p{color:var(--grey) !important;font-weight:400;font-size:.95rem;margin-bottom:18px !important}
.team-card a{color:var(--ink);font-weight:500;font-size:.95rem;transition:color .25s}
.team-card a:hover{color:var(--orange)}
.team-card h3{font-size:1.3rem !important;margin-bottom:4px;color:var(--ink) !important}
.team-role{color:var(--orange);font-weight:500;font-size:.95rem;margin-bottom:14px !important}
.team-bio{color:var(--grey);font-size:.95rem;margin-bottom:18px !important}
.team-link{color:var(--ink);font-weight:500;font-size:.95rem;transition:color .25s}
.team-link:hover{color:var(--orange)}
.team-cta{margin-top:56px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px 40px}
.team-cta p{font-size:1.2rem;font-weight:500;margin:0}

/* CONTACT */
.contact .section-tag{color:var(--orange)}
.contact-intro h2, .contact h2 {color:#fff !important}
.contact-intro>p,.contact-intro p{color:rgba(255,255,255,.75);margin-bottom:32px !important;font-size:1.1rem}
.contact-list{list-style:none;margin:0;padding:0}
.contact-list li{display:flex;flex-direction:column;gap:4px;padding:18px 0 !important;border-top:1px solid rgba(255,255,255,.12);list-style:none}
.contact-list .contact-list-label{text-transform:uppercase;letter-spacing:.12em;font-size:.8125rem;color:rgba(255,255,255,.6)}
.contact-list a{font-size:1.15rem;font-weight:500;color:var(--orange)}

.contact-list--light li{border-top:1px solid var(--line)}
.contact-list--light .contact-list-label{color:var(--grey)}

.kz-form.et_pb_contact_form_container,
.kz-form .et_pb_contact_form_container{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius);padding:38px}
.kz-form .et_pb_contact_form_title{display:none}

.kz-form input:not([type="submit"]):not([type="button"]),
.kz-form textarea,.kz-form select{
  width:100% !important;padding:13px 16px !important;border-radius:10px !important;
  border:1px solid rgba(255,255,255,.18) !important;background:rgba(255,255,255,.06) !important;
  color:#fff !important;font-family:'Poppins',sans-serif !important;font-size:1rem !important;
}
.kz-form input::placeholder,.kz-form textarea::placeholder{color:rgba(255,255,255,.4) !important}

.kz-form select{color:rgba(255,255,255,.4) !important}
.kz-form select.kz-chosen{color:#fff !important}
.kz-form select option{color:#000}

.kz-form .et_pb_button,
.kz-form .et_pb_contact_submit,
.kz-form button[type="submit"],
.kz-form input[type="submit"]{
  display:block !important;width:100% !important;margin:6px 0 0 !important;
  background:var(--orange) !important;color:#fff !important;border:none !important;
  border-radius:50px !important;padding:16px 32px !important;
  font-family:'Poppins',sans-serif !important;font-weight:600 !important;font-size:1.0625rem !important;
  letter-spacing:.01em !important;line-height:1.2 !important;cursor:pointer;
  box-shadow:0 8px 22px rgba(244,128,54,.32);
  transition:background .25s var(--ease),transform .25s var(--ease);
}
.kz-form .et_pb_button:hover,
.kz-form .et_pb_contact_submit:hover,
.kz-form button[type="submit"]:hover,
.kz-form input[type="submit"]:hover{
  background:var(--orange-dark) !important;transform:translateY(-2px);padding:16px 32px !important;
}

.kz-form .et_pb_button:after,
.kz-form .et_pb_contact_submit:after{display:none !important;content:"" !important}

.kz-form--light.et_pb_contact_form_container,
.kz-form--light .et_pb_contact_form_container{background:var(--paper-warm) !important;border:1px solid var(--line) !important}
.kz-form--light input:not([type="submit"]):not([type="button"]),
.kz-form--light textarea,
.kz-form--light select{
  background:#fff !important;border:1px solid var(--line) !important;color:var(--ink) !important;
}
.kz-form--light input::placeholder,.kz-form--light textarea::placeholder{color:var(--grey) !important}
.kz-form--light select{color:var(--grey) !important}
.kz-form--light select.kz-chosen{color:var(--ink) !important}
.kz-form--light label,.kz-form--light .et_pb_contact_form_label{color:var(--ink-soft) !important}

/* FOOTER */
.site-footer,.kz-footer.et_pb_section{background:#141310 !important;color:#fff !important;padding:20px 0 14px !important}
.footer-inner{max-width:1560px;margin:0 auto;padding:0 32px}
.footer-top{display:grid;grid-template-columns:1.7fr 1fr 1.5fr;gap:40px;padding-bottom:20px;align-items:start}
.footer-brand .footer-logo{height:52px;width:auto;margin-bottom:16px;display:block}
.footer-brand p{color:rgba(255,255,255,.85);font-size:1rem;line-height:1.5;max-width:340px;margin:0}
.footer-col-title{text-transform:uppercase;letter-spacing:.14em;font-size:.8125rem;font-weight:600;color:var(--orange);margin:0 0 12px}

.footer-links,.footer-contact{list-style:none !important;margin:0 !important;padding:0 !important;display:flex;flex-direction:column}
.footer-links{gap:7px}
.footer-contact{gap:9px}
.footer-links li,.footer-contact li{list-style:none !important;padding:0 !important;margin:0 !important;background:none !important}
.footer-links li::before,.footer-contact li::before{display:none !important;content:"" !important}
.footer-contact li{color:rgba(255,255,255,.85);font-size:1rem;line-height:1.45}
.footer-links a,.footer-contact a{color:rgba(255,255,255,.85);font-size:1rem;text-decoration:none;transition:color .25s}
.footer-links a:hover,.footer-contact a:hover{color:var(--orange)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);padding-top:14px}
.footer-copy{color:rgba(255,255,255,.5);font-size:.9rem;margin:0}
.footer-credit a{color:rgba(255,255,255,.7);font-size:.9rem;text-decoration:none;transition:color .25s}
.footer-credit a:hover{color:var(--orange)}
@media(max-width:860px){
  .footer-top{grid-template-columns:1fr 1fr;gap:36px}
  .footer-brand{grid-column:1 / -1}
}
@media(max-width:560px){
  .footer-inner{padding:0 22px}
  .footer-top{grid-template-columns:1fr;gap:30px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:10px}
}

/* INTERNAL PAGE BANNER */
.page-hero.et_pb_section{
  position:relative;min-height:360px;display:flex;align-items:center;overflow:hidden;

  margin-top:-100px !important;
  padding:150px 0 64px !important;background:var(--dark) !important;color:#fff;
}
.page-hero .et_pb_row{position:relative;z-index:2}
.page-hero .section-tag{color:var(--orange);margin-bottom:10px !important}
.page-hero-title{color:#fff !important;font-size:clamp(2.1rem,4vw,3.4rem) !important;line-height:1.1 !important;letter-spacing:-.02em;max-width:900px;margin-top:0 !important;margin-bottom:16px !important}
.page-hero-lead{color:rgba(255,255,255,.82);font-size:1.2rem;line-height:1.55;max-width:810px;margin:0 !important}

.page-hero--orange.et_pb_section{background:var(--orange) !important}
.page-hero--orange .section-tag{color:rgba(255,255,255,.9)}
.page-hero--orange .page-hero-lead{color:rgba(255,255,255,.92)}

.page-hero--image::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(100deg,rgba(20,19,16,.88) 0%,rgba(20,19,16,.6) 55%,rgba(20,19,16,.32) 100%);
}

/* INTERNAL PAGE CONTENT SECTIONS */
.page-section.et_pb_section{padding:90px 0 !important;background:var(--paper) !important}
.page-section--warm.et_pb_section{background:var(--paper-warm) !important}
.page-section--dark.et_pb_section{background:var(--dark) !important;color:#fff}
.page-section--dark h1,.page-section--dark h2,.page-section--dark h3{color:#fff !important}
.page-section--dark .section-tag{color:var(--orange)}

.page-prose{max-width:820px}
.page-prose p{color:var(--ink-soft);margin-bottom:18px !important}
.page-prose p:last-child{margin-bottom:0 !important}

.page-prose .section-tag{color:var(--orange) !important;margin-bottom:10px !important}
.page-prose .page-lead{color:var(--ink) !important}
.page-prose h2{margin-top:0 !important}
.page-prose h3{margin:28px 0 10px}
.page-prose ul{list-style:none;margin:0 0 18px;padding:0}
.page-prose ul li{position:relative;padding:8px 0 8px 26px !important;color:var(--ink-soft);border-top:1px solid var(--line)}
.page-prose ul li:first-child{border-top:none}
.page-prose ul li::before{content:"";position:absolute;left:0;top:17px;width:9px;height:9px;border-radius:50%;background:var(--orange)}
.page-lead{font-size:clamp(1.3rem,2vw,1.6rem);font-weight:400;line-height:1.5;color:var(--ink);margin-bottom:24px !important}

@media(max-width:680px){
  .page-hero.et_pb_section{min-height:300px;padding:120px 0 44px !important}
  .page-hero-lead{font-size:1.1rem}
  .page-section.et_pb_section{padding:64px 0 !important}
}

/* PROJECT CARDS */
.project-grid--multi{grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:28px}

.project-grid--multi .project-card{
  display:flex;flex-direction:column;align-items:stretch;min-height:0;
  background:#fff;border:1px solid var(--line);color:var(--ink);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.project-grid--multi .project-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.08)}

.project-grid--multi .project-card::after{display:none}

.project-grid--multi .project-gallery{position:relative;inset:auto;aspect-ratio:16/10;width:100%;flex:0 0 auto}
.project-grid--multi .project-gallery img{position:absolute;inset:0;opacity:1}

.project-grid--multi .project-info{
  position:static;padding:26px 26px 28px;display:flex;flex-direction:column;flex:1;
}
.project-grid--multi .project-meta{color:var(--orange);margin-bottom:8px}
.project-grid--multi .project-info h3{font-size:1.3rem !important;margin-bottom:10px;color:var(--ink) !important}
.project-grid--multi .project-info p{color:var(--ink-soft);font-size:.975rem;line-height:1.55;max-width:none;
  margin-bottom:26px !important}

.kz-project-cards .et_pb_column:has(.project-body){
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.kz-project-cards .et_pb_column:has(.project-body):hover{
  transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.08)
}
.kz-project-cards .et_pb_column > .et_pb_module{width:100% !important;margin-bottom:0 !important}

.kz-project-image .et_pb_image_wrap,
.kz-project-cards .et_pb_image .et_pb_image_wrap{display:block;width:100%}
.kz-project-image img,
.kz-project-cards .et_pb_image img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0 !important}

.kz-project-cards .project-body{flex:1;display:flex;flex-direction:column;
  box-sizing:border-box;padding:26px 26px 28px !important}
.kz-project-cards .project-body .et_pb_text_inner{flex:1;display:flex;flex-direction:column}

.project-body .project-meta,
.project-body p:has(> .project-meta){display:block;color:var(--orange);line-height:1.3;margin:0 0 6px !important}
.project-body .et_pb_text_inner > p:first-of-type{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:.8125rem;font-weight:600;color:var(--orange) !important;line-height:1.3;margin:0 0 var(--kz-eyebrow-gap) !important}
.project-body ul{list-style:none !important;margin:auto 0 0 !important;padding:20px 0 0 !important;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px 32px}
.project-body ul li{list-style:none !important;margin:0 !important;padding:0 !important;border:none !important;display:flex;flex-direction:column;gap:2px;text-transform:uppercase;letter-spacing:.12em;font-size:.6875rem;font-weight:600;color:var(--grey);line-height:1.2}
.project-body ul li::before{display:none !important;content:"" !important}
.project-body ul li strong{font-size:1.05rem;font-weight:600;color:var(--orange);text-transform:none;letter-spacing:normal;line-height:1.2}
.project-body h3{font-size:1.3rem !important;margin:0 0 10px !important;color:var(--ink) !important}

.project-body p{color:var(--ink-soft);font-size:.975rem;line-height:1.55;margin:0 0 26px !important}
.project-body .project-facts{margin-top:auto !important}

.project-facts{list-style:none !important;margin:28px 0 0 !important;padding:20px 0 0 !important;
  border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px 32px}
.project-facts li{list-style:none !important;margin:0 !important;padding:0 !important;
  border:none !important;display:flex;flex-direction:column;gap:2px}
.project-facts li::before{display:none !important;content:"" !important}
.project-facts .project-fact-label{text-transform:uppercase;letter-spacing:.12em;
  font-size:.6875rem;font-weight:600;color:var(--grey);line-height:1.2}
.project-facts .project-fact-value{font-size:1.05rem;font-weight:600;color:var(--orange);line-height:1.2}

.project-grid--multi .project-info > .project-facts{margin-top:auto !important}

@media(max-width:680px){
  .project-grid--multi{gap:22px}
}

/* STANDARD TEXT SYSTEM */
.page-hero .et_pb_text_inner > p:first-child,
.kz-head .et_pb_text_inner > p:first-child,
.contact-intro .et_pb_text_inner > p:first-child{
  display:inline-block;text-transform:uppercase;letter-spacing:.18em;
  font-size:.8125rem;font-weight:600;color:var(--orange) !important;line-height:1.65;margin:0 0 var(--kz-eyebrow-gap) !important;
}
.page-hero .et_pb_text_inner > p:first-child{margin-bottom:var(--kz-eyebrow-gap) !important}

.page-hero .et_pb_text_inner > h1{
  color:#fff !important;font-size:clamp(2.1rem,4vw,3.4rem) !important;line-height:1.1 !important;
  letter-spacing:-.02em;max-width:900px;margin:0 0 16px !important;
}
.page-hero .et_pb_text_inner > p.lead{
  color:rgba(255,255,255,.82) !important;font-size:1.2rem;line-height:1.55;max-width:810px;margin:0 !important;
}

.kz-head .et_pb_text_inner > p{color:var(--ink-soft) !important;font-size:1.125rem;line-height:1.65;margin:0 0 18px !important}
.kz-head .et_pb_text_inner > p.lead{
  font-size:clamp(1.3rem,2vw,1.6rem) !important;font-weight:400;line-height:1.5;
  color:var(--ink) !important;letter-spacing:-.005em;margin:0 0 26px !important;
}
.services .kz-head .et_pb_text_inner > p,
.contact .kz-head .et_pb_text_inner > p{color:rgba(255,255,255,.75) !important}

.contact-intro .et_pb_text_inner > p{color:rgba(255,255,255,.75) !important;font-size:1.1rem;margin:0 0 32px !important}
.page-section .contact-intro .et_pb_text_inner > p{color:var(--ink-soft) !important}
.contact-intro .et_pb_text_inner > ul{list-style:none !important;margin:0 !important;padding:0 !important}
.contact-intro .et_pb_text_inner > ul li{
  display:flex;flex-direction:column;gap:4px;padding:18px 0 !important;margin:0 !important;
  border-top:1px solid rgba(255,255,255,.12);list-style:none !important;
}
.contact-intro .et_pb_text_inner > ul li::before{display:none !important;content:"" !important}
.contact-intro .et_pb_text_inner > ul li strong{
  text-transform:uppercase;letter-spacing:.12em;font-size:.8125rem;font-weight:400;
  color:rgba(255,255,255,.6);line-height:2;
}
.contact-intro .et_pb_text_inner > ul li a{font-size:1.15rem;font-weight:500;color:var(--orange);line-height:2}
.page-section .contact-intro .et_pb_text_inner > ul li{border-top:1px solid var(--line)}
.page-section .contact-intro .et_pb_text_inner > ul li strong{color:var(--grey)}

/* REVEAL ON SCROLL */
body:not(.et-fb) .reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
body:not(.et-fb) .reveal.in{opacity:1;transform:none}

@media(min-width:981px){
  .et-l--post .et_pb_section:not(.kz-hero-section) > .et_pb_row,
  .et-l--footer .et_pb_row{width:90% !important;max-width:var(--kz-maxw) !important}
}

/* RESPONSIVE - DIVI 5 ROW STACKING */
@media(max-width:980px){
  body:not(.et-fb) .et_pb_row.et_grid_row{grid-template-columns:repeat(2,1fr) !important}
  body:not(.et-fb) .et_pb_row.et_flex_row{flex-wrap:wrap !important}
  body:not(.et-fb) .et_pb_row.et_flex_row > .et_pb_column{
    flex:1 1 100% !important;max-width:100% !important;width:100% !important;
  }
  body:not(.et-fb) .kz-hero-section .et_pb_row,
  body:not(.et-fb) .kz-header .et_pb_row{flex-wrap:nowrap !important}
}
@media(max-width:680px){
  body:not(.et-fb) .et_pb_row.et_grid_row{grid-template-columns:1fr !important}
}

/* RESPONSIVE */
@media(max-width:980px){
  .clients-list{columns:2}

}
@media(max-width:680px){
  .clients-list{columns:1}
  .hero-content{width:80%;padding:0}
  .hero-actions{flex-direction:row;align-items:center;gap:12px;flex-wrap:nowrap}
  .hero-actions .btn{text-align:center;flex:0 1 auto;padding:14px 20px !important;font-size:1rem !important;white-space:nowrap}
  .team-cta{flex-direction:column;text-align:center}
  .experience-clients .et_pb_text_inner > ul{columns:1;}
}
