/* Kaziro Communications — layout & components */

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.9;
}
.site-header.scrolled {
  background: rgba(250,247,241,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 8px 30px -22px rgba(16,42,71,0.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 160px; gap: 24px; }
.brand-lockup { display: flex; align-items: center; text-decoration: none; min-width: 0; }
/* Size by width with height:auto so the aspect ratio is always preserved —
   avoids the Y-axis stretch when the global img{max-width:100%} clamps width. */
.brand-lockup img { width: 354px; height: auto; max-width: 100%; display: block; }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-family: var(--serifless);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1.5px; background: var(--grad);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.soon { color: var(--ink-mute); cursor: default; pointer-events: none; }
.nav-links a.soon::after { display: none; }
.nav-links a.soon .pill {
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--rule); border-radius: 20px;
  padding: 2px 7px; margin-left: 7px; color: var(--ink-mute);
  vertical-align: middle;
}
.nav-cta { padding: 11px 22px; font-size: 13px; }
.nav-toggle { display: none; }

/* ============ Hero ============ */
.hero { padding: 84px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.92fr;
  gap: 76px;
  align-items: center;
}
.hero-text .eyebrow { margin-bottom: 32px; }
.hero-text .display { margin-bottom: 30px; }
.hero-text .display .line2 { color: var(--navy); }
.hero-text .lede { max-width: 33em; margin-bottom: 40px; }
.hero-cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-cta-row .sep { width: 1px; height: 26px; background: var(--rule); }

.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 3px;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.hero-portrait::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--grad); z-index: 2;
}

/* ============ Values strip (navy band) ============ */
.values-strip { background: var(--navy); position: relative; }
.values-strip::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--grad); }
.values-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; padding: 30px 0;
}
.founder-tag { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.founder-tag .name { font-family: var(--serifless); font-weight: 700; color: #FFFFFF; font-size: 16px; letter-spacing: 0.02em; }
.founder-tag .role { font-size: 14px; color: #9FB2C9; }
.values-list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.values-list .lab { font-family: var(--serifless); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7E90A6; }
.values-list .v { font-family: var(--serifless); font-weight: 600; color: #EAF0F7; font-size: 16px; letter-spacing: 0.01em; }
.values-list .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); display: inline-block; }

/* ============ Generic section ============ */
section.block { padding: 116px 0; border-bottom: 1px solid var(--rule); }
.block-head { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: 64px; align-items: start; }
.block-head .num { font-family: var(--serifless); font-weight: 700; font-size: 15px; color: var(--orange); letter-spacing: 0.06em; }
.block-head .eyebrow { margin-bottom: 20px; }

/* ============ How we work ============ */
.how-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 76px; align-items: start; }
.how-lead { font-family: var(--serifless); font-weight: 600; font-size: clamp(26px,2.6vw,40px); line-height: 1.16; letter-spacing: -0.02em; color: var(--navy); }
.how-lead .grad-text { letter-spacing: -0.02em; }
.how-body p { max-width: 56ch; }
.how-body p:last-child { margin-bottom: 0; }
.how-body .closer {
  margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--rule);
  font-family: var(--serifless); font-weight: 600; font-size: 19px; color: var(--navy); line-height: 1.4;
}

/* ============ Know / Feel / Do ============ */
.kfd { margin-top: 88px; }
.kfd-intro { display: flex; align-items: baseline; gap: 18px; margin-bottom: 40px; }
.kfd-intro h3 { font-size: clamp(24px,2.2vw,32px); letter-spacing: 0.02em; }
.kfd-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.kfd-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 40px 34px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.kfd-card::before { content:""; position:absolute; left:0; top:0; right:0; height:3px; background: var(--grad); transform: scaleX(0); transform-origin:left; transition: transform .4s ease; }
.kfd-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(16,42,71,0.55); }
.kfd-card:hover::before { transform: scaleX(1); }
.kfd-card .step { font-family: var(--serifless); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.kfd-card h4 { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--navy); }
.kfd-card h4 .stop { color: var(--orange); }
.kfd-card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* ============ Services ============ */
.services-list { border-top: 1px solid var(--rule); margin-top: 8px; }
.service-row {
  display: grid;
  grid-template-columns: 64px 1.05fr 1.6fr 32px;
  gap: 40px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .28s ease, background .28s ease;
}
.service-row:hover { padding-left: 16px; padding-right: 16px; background: var(--white); }
.service-row .num { font-family: var(--serifless); font-weight: 700; font-size: 15px; color: var(--orange); }
.service-row .name { font-family: var(--serifless); font-weight: 600; font-size: clamp(20px,1.7vw,25px); color: var(--navy); line-height: 1.18; letter-spacing: -0.01em; }
.service-row .desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.service-row .chev { font-family: var(--serifless); color: var(--orange); font-size: 20px; text-align: right; transition: transform .28s ease; }
.service-row:hover .chev { transform: translateX(6px); }

/* ============ Credibility / testimonials (navy) ============ */
.cred { background: var(--navy-deep); color: #C4CFDD; border-bottom: none; position: relative; overflow: hidden; }
.cred::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad); }
.cred .eyebrow { color: #9FB2C9; }
.cred .section-title { color: #FFFFFF; }
.cred .lede { color: #BDC9D8; }
.cred-intro { max-width: 60ch; margin-bottom: 64px; }
.cred-intro .section-title { margin-bottom: 22px; }
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ---- Testimonials rolling marquee ---- */
.t-carousel { position: relative; }
.t-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.t-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: t-scroll 44s linear infinite;
}
.t-carousel:hover .t-track { animation-play-state: paused; }
@keyframes t-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.t-track .t-card {
  flex: 0 0 auto;
  width: 380px;
  margin: 0;
  min-height: 300px;
}
@media (prefers-reduced-motion: reduce) {
  .t-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.t-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 38px 34px;
  display: flex; flex-direction: column;
}
.t-card .mark { font-family: var(--serifless); font-weight: 700; font-size: 46px; line-height: 0.6; color: var(--orange); margin-bottom: 18px; height: 28px; }
.t-card blockquote { margin: 0 0 26px; font-size: 16px; line-height: 1.62; color: var(--navy); font-weight: 400; }
.t-card .by { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); }
.t-card .by .who { font-family: var(--serifless); font-weight: 700; color: var(--navy); font-size: 15px; }
.t-card .by .role { font-size: 13.5px; color: var(--ink-mute); margin-top: 2px; }

.stat-row { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.14); }
.stat .n { font-family: var(--serifless); font-weight: 700; font-size: clamp(34px,3.4vw,48px); color: #FFFFFF; letter-spacing: -0.02em; line-height: 1; }
.stat .n .unit { color: var(--orange); }
.stat .l { font-size: 14px; color: #9FB2C9; margin-top: 10px; max-width: 24ch; }

/* ============ About (dark) ============ */
.about { background: var(--navy-deep); color: #D7E0EC; border-bottom: none; position: relative; overflow: hidden; }
.about::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--grad);
}
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 76px; align-items: center; }
.about-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; background: #0c1f33; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about-photo .tag {
  position: absolute; left: 0; bottom: 26px;
  background: var(--white); color: var(--navy);
  font-family: var(--serifless); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 11px 20px;
}
.about-photo .tag::before { content:""; display:inline-block; width:18px; height:2px; background: var(--grad); margin-right: 10px; vertical-align: middle; }
.about .eyebrow { color: #9FB2C9; }
.about .eyebrow::before { background: var(--grad); }
.about h2 { color: #FFFFFF; margin: 16px 0 30px; }
.about h2 .grad-text { -webkit-text-fill-color: transparent; }
.about-quote {
  font-family: var(--serifless); font-weight: 500;
  font-size: clamp(21px,2vw,28px); line-height: 1.34; color: #FFFFFF;
  border-left: 3px solid transparent; border-image: var(--grad) 1; padding-left: 26px; margin: 0 0 32px;
}
.about p { color: #BDC9D8; max-width: 52ch; }
.about .signoff { display: flex; align-items: center; gap: 18px; margin: 34px 0 8px; }
.about .signoff .nm { font-family: var(--serifless); font-weight: 700; color: #fff; font-size: 17px; letter-spacing: 0.01em; }
.about .signoff .rl { font-size: 14px; color: #9FB2C9; }
.about .about-cta { margin-top: 30px; }

/* ============ Contact CTA ============ */
.cta { padding: 132px 0; text-align: center; background: var(--paper); }
.cta .eyebrow { justify-content: center; margin-bottom: 26px; }
.cta .display { max-width: 15ch; margin: 0 auto 28px; }
.cta .lede { max-width: 40ch; margin: 0 auto 44px; }
.cta-actions { display: inline-flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-deep); color: #AFBCCD; padding: 72px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand img { width: 207px; height: auto; max-width: 100%; margin-bottom: 22px; }
.footer-brand .tag { font-family: var(--serifless); font-weight: 500; color: #D7E0EC; font-size: 17px; max-width: 26ch; line-height: 1.4; }
.footer-col h5 { font-family: var(--serifless); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7E90A6; font-weight: 600; margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; color: #C4CFDD; text-decoration: none; font-size: 14.5px; margin-bottom: 9px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col .soonmark { color: #7E90A6; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: #7E90A6; }
.footer-bottom .reg { max-width: 62ch; line-height: 1.5; }
.footer-bottom a { color: #9FB2C9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ============ Shaped-around-you intro (before KFD) ============ */
.shaped { max-width: 760px; margin: 96px auto 12px; text-align: center; }
.shaped .eyebrow { justify-content: center; margin-bottom: 20px; }
.shaped-title { font-family: var(--serifless); font-weight: 600; font-size: clamp(26px,2.6vw,38px); letter-spacing: -0.02em; color: var(--navy); line-height: 1.12; margin-bottom: 18px; }
.shaped-body { font-size: clamp(17px,1.35vw,20px); line-height: 1.6; color: var(--ink-soft); margin: 0 auto; max-width: 60ch; }

/* ============ Insights ============ */
.insights { background: var(--paper); }
.ins-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.ins-head .eyebrow { margin-bottom: 18px; }
.ins-head h2 { max-width: 20ch; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ins-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px;
  padding: 34px 32px 30px; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ins-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--navy); transition: background .3s ease; }
.ins-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(16,42,71,0.55); }
.ins-card:hover::before { background: var(--grad); }
.ins-card .cat { font-family: var(--serifless); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.ins-card h3 { font-family: var(--serifless); font-weight: 600; font-size: 22px; line-height: 1.24; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 14px; }
.ins-card p { font-size: 15px; line-height: 1.58; color: var(--ink-soft); margin: 0 0 24px; }
.ins-card .read { margin-top: auto; font-family: var(--serifless); font-weight: 600; font-size: 14px; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.ins-card .read .ar { color: var(--orange); transition: transform .25s ease; }
.ins-card:hover .read .ar { transform: translateX(5px); }

/* ---- Brand gradient triangle (echo of the logomark) ---- */
.tri-cell { position: relative; display: flex; }
.tri-cell > .kfd-card,
.tri-cell > .ins-card { position: relative; z-index: 1; flex: 1; }
.brand-tri {
  position: absolute;
  z-index: 0;
  background: linear-gradient(to top right, #3C1438 0%, #D82739 54%, #EA591F 100%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  border-radius: 3px;
  pointer-events: none;
}
/* Behind KNOW card — peeks from bottom-left */
.tri-know { left: -21px; bottom: -21px; width: 286px; height: 286px; }
/* Behind Leadership support card — offset slightly left & down */
.tri-insight { left: -20px; bottom: -20px; width: 255px; height: 255px; }
@media (max-width: 1000px) {
  .tri-know { left: -13px; bottom: -13px; width: 204px; height: 204px; }
  .tri-insight { left: -13px; bottom: -13px; width: 204px; height: 204px; }
}

/* ============ Shared back-link ============ */
.back-link { display:inline-flex; align-items:center; gap:9px; font-family:var(--serifless); font-weight:600; font-size:14px; color:var(--navy); text-decoration:none; }
.back-link .ar { color: var(--orange); transition: transform .25s ease; }
.back-link:hover .ar { transform: translateX(-4px); }

/* ============ Insight article pages ============ */
.article-hero { padding: 64px 0 32px; }
.article-hero .container, .article-body .container { max-width: 840px; }
.article-back { margin-bottom: 34px; }
.article-hero .eyebrow { margin-bottom: 22px; }
.article-hero h1 { font-size: clamp(33px,4.2vw,56px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.07; }
.article-hero .standfirst {
  font-family: var(--serifless); font-weight: 500; font-size: clamp(19px,1.8vw,24px);
  line-height: 1.42; color: var(--navy); margin: 26px 0 0; max-width: 40ch;
}
.article-hero::after { content:""; display:block; width:56px; height:3px; background: var(--grad); margin-top: 34px; }

.article-body { padding: 40px 0 92px; border-bottom: 1px solid var(--rule); }
.article-body p { font-size: 18px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.3em; }
.article-body p.lead { font-family: var(--serifless); font-weight: 500; font-size: clamp(19px,1.5vw,21px); color: var(--navy); line-height: 1.55; }
.article-body h2 { font-family: var(--serifless); font-weight: 600; font-size: clamp(23px,2vw,30px); color: var(--navy); letter-spacing: -0.02em; line-height: 1.16; margin: 46px 0 16px; }
.article-body ul { margin: 0 0 1.4em; padding: 0; list-style: none; }
.article-body li { position: relative; padding-left: 28px; margin-bottom: 13px; font-size: 18px; line-height: 1.62; color: var(--ink-soft); }
.article-body li::before { content:""; position:absolute; left:0; top:9px; width:12px; height:12px; background: var(--grad); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.article-body li .term { font-family: var(--serifless); font-weight: 700; color: var(--navy); }
.article-body .takeaway { margin: 46px 0 0; padding: 32px 36px; background: var(--paper-2); border-left: 3px solid transparent; border-image: var(--grad) 1; }
.article-body .takeaway h2 { margin-top: 0; }
.article-body .takeaway p:last-child { margin-bottom: 0; }
.article-body .closing { font-family: var(--serifless); font-weight: 600; font-size: 19px; color: var(--navy); line-height: 1.4; }

@media (max-width: 1000px) {
  .article-hero { padding: 44px 0 24px; }
  .article-body { padding: 28px 0 68px; }
}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .container { padding: 0 28px; }
  .nav { height: 108px; }
  .brand-lockup img { width: 244px; }
  .nav-links { display: none; }
  .shaped { margin-top: 64px; }
  .ins-grid { grid-template-columns: 1fr; }
  .ins-head { display: block; }
  .hero { padding: 52px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-portrait { max-width: 460px; }
  .block-head { grid-template-columns: 1fr; gap: 22px; }
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .kfd-grid, .t-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { max-width: 440px; }
  section.block { padding: 76px 0; }
  .cta { padding: 84px 0; }
  .service-row { grid-template-columns: 44px 1fr; gap: 12px 18px; padding: 26px 0; }
  .service-row .desc { grid-column: 2; }
  .service-row .chev { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-row { gap: 36px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .values-row { gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav { gap: 14px; }
  .brand-lockup img { width: 190px; }
  .nav-cta { padding: 9px 15px; font-size: 12px; }
}
