/* Kayla's Systems — brand editorial presentation.
 * All type and editorial colors inherit from the existing corporate tokens.
 * No external imagery, synthetic milestones or external dependencies.
 */
.hero--brand{
position:relative;
  background:var(--md-sys-color-surface-container-low);
  border-bottom:1px solid var(--md-sys-color-outline-variant);
}
.brand-hero{
display:grid;
  grid-template-columns:minmax(0,1.32fr) minmax(310px,.72fr);
  align-items:center;
  gap:clamp(32px,5vw,72px);
  padding-block:clamp(56px,7vw,100px);
}
.brand-hero__copy{min-width:0}
.brand-hero__copy .eyebrow{margin-bottom:26px;letter-spacing:.13em}
.brand-hero__copy h1{
  margin:0 0 28px;
  max-width:910px;
  font-size:clamp(40px,5.4vw,78px);
  line-height:1.07;
  letter-spacing:-.063em;
}
.brand-hero__copy h1 span{color:var(--brand-highlight)}
.brand-hero__copy .lead{max-width:685px;margin:0 0 31px;font-size:clamp(16px,1.45vw,19px);line-height:1.8}
.brand-hero__emblem{
display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:410px;
  padding:38px 28px;
  border:1px solid var(--md-sys-color-outline-variant);
  border-radius:var(--md-sys-shape-corner-extra-large);
  background:var(--md-sys-color-surface);
  box-shadow:var(--md-sys-elevation-level-1);
  text-align:center;
}
.brand-hero__emblem img{
  display:block;
  width:min(285px,86%);
  aspect-ratio:340/329;
  height:auto;
  object-fit:contain;
  margin:0 0 26px;
}
.brand-hero__wordmark{display:flex;flex-direction:column;gap:7px}
.brand-hero__wordmark strong{font-size:clamp(17px,1.8vw,22px);font-weight:800;letter-spacing:.025em}
.brand-hero__wordmark span{
  color:var(--brand-muted);
  font-size:11px;
  font-weight:650;
  letter-spacing:.035em;
  line-height:1.4;
}
.brand-section-head{
  display:grid;
  grid-template-columns:minmax(0,1.07fr) minmax(0,.75fr);
  gap:clamp(28px,6vw,110px);
  align-items:end;
  margin-bottom:38px;
}
.brand-section-head .eyebrow{margin-bottom:16px}
.brand-section-head h2{max-width:710px;margin:0;font-size:clamp(30px,3.2vw,47px)}
.brand-section-head>p{max-width:490px;margin:0;color:var(--brand-muted);font-size:15px;line-height:1.85}
.brand-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  align-items:start;
  gap:clamp(42px,8vw,140px);
  border-bottom:1px solid var(--brand-line);
}
.brand-intro h2{max-width:470px;margin:0}
.brand-intro__statement{
  margin:0 0 22px;
  max-width:725px;
  font-size:clamp(20px,2.1vw,30px);
  font-weight:560;
  line-height:1.57;
  letter-spacing:-.025em;
  color:var(--brand-ink);
}
.brand-evolution{
display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.brand-evolution__step{
display:grid;
  grid-template-columns:1fr;
  align-content:start;
  min-width:0;
  padding:28px;
  border:1px solid var(--md-sys-color-outline-variant);
  border-radius:var(--md-sys-shape-corner-large);
  background:var(--md-sys-color-surface-container-low);
}
.brand-evolution__number{
display:block;
  color:var(--md-sys-color-primary);
  font-size:12px;
  font-weight:800;
  margin-bottom:18px;
}
.brand-evolution__step .eyebrow{font-size:10px;margin-bottom:9px}
.brand-evolution__step h3{margin:0 0 15px;font-size:clamp(21px,2vw,27px)}
.brand-evolution__step p:last-child{
  margin:0;
  max-width:370px;
  color:var(--brand-muted);
  font-size:14px;
  line-height:1.8;
}
.brand-tech__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:25px;
}
.brand-tech__card{
display:flex;
  flex-direction:column;
  min-height:272px;
  min-width:0;
  padding:28px;
  border:1px solid var(--md-sys-color-outline-variant);
  border-radius:var(--md-sys-shape-corner-large);
  background:var(--md-sys-color-surface);
  box-shadow:var(--md-sys-elevation-level-1);
  transition:box-shadow var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing),
    background-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing),
    border-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing);
}
.brand-tech__card:hover{
background:var(--md-sys-color-surface-container-low);
  border-color:#adc6b2;
  box-shadow:var(--md-sys-elevation-level-2);
}
.brand-tech__meta{
display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:28px;
  color:var(--md-sys-color-primary);
  font-size:11px;
  font-weight:730;
  letter-spacing:.025em;
}
.brand-tech__status{
display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 10px;
  background:var(--md-sys-color-surface-container);
  color:var(--brand-highlight);
  border-radius:var(--md-sys-shape-corner-full);
  font-size:11px;
  letter-spacing:0;
  line-height:1.3;
  text-align:right;
}
.brand-tech__card h3{margin:0 0 12px;font-size:clamp(25px,2.2vw,31px)}
.brand-tech__card>p{margin:0;font-size:14px;color:var(--brand-muted);line-height:1.75}
.brand-values{
display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.brand-value{
min-width:0;
  padding:28px;
  background:var(--md-sys-color-surface-container);
  border:1px solid var(--md-sys-color-outline-variant);
  border-radius:var(--md-sys-shape-corner-large);
}
.brand-value__number{
display:block;
  margin-bottom:24px;
  font-size:12px;
  color:var(--md-sys-color-primary);
  font-weight:800;
}
.brand-value h3{margin:0 0 15px;font-size:21px;letter-spacing:-.028em}
.brand-value p{margin:0;color:var(--brand-muted);font-size:14px;line-height:1.75}
.brand-vision-section{padding-block:clamp(52px,7vw,100px)}
.brand-vision{
display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:clamp(30px,5vw,80px);
  min-height:320px;
  padding:clamp(35px,5vw,64px);
  color:#f4faf6;
  background:#14362b;
  border:1px solid #255441;
  border-radius:var(--md-sys-shape-corner-extra-large);
  box-shadow:var(--md-sys-elevation-level-2);
}
.brand-vision__copy{min-width:0;max-width:870px}
.brand-vision__copy .eyebrow{color:#9de0b7}
.brand-vision__copy h2{
  max-width:820px;
  margin:0 0 22px;
  font-size:clamp(32px,3.5vw,53px);
  color:#f4faf6;
}
.brand-vision__copy>p:not(.eyebrow){
  max-width:720px;
  margin:0 0 21px;
  color:#c8dbd1;
  line-height:1.8;
  font-size:16px;
}
.brand-vision__copy small{display:block;color:#93ad9f;font-size:12px;line-height:1.6}
.brand-vision__link{flex:0 0 auto;white-space:nowrap}
.brand-practice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(32px,7vw,110px);
  align-items:start;
}
.brand-practice h2{margin:0;max-width:560px}
.brand-practice>div:last-child>p{
  margin:0 0 14px;
  color:var(--brand-muted);
  font-size:16px;
  line-height:1.85;
}
.brand-practice__links{display:flex;gap:14px 26px;flex-wrap:wrap}
.page-intro--brand{padding-bottom:90px}
.page-intro--brand h1{max-width:1050px;font-size:clamp(42px,5.5vw,70px)}
.page-intro--brand .lead{max-width:850px}
.brand-origin,.brand-technology-intro{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(35px,7vw,110px);
}
.brand-origin h2,.brand-technology-intro h2{margin:0 0 20px}
.brand-origin__lead{font-size:16px;line-height:1.8;color:var(--brand-muted)}
/* The brand legend: one material age marker, not a fabricated timeline. */
.brand-origin__intro{min-width:0}
.brand-origin__milestone{
  display:flex;
  align-items:center;
  gap:clamp(16px,2.6vw,28px);
  max-width:440px;
  margin-top:clamp(27px,3vw,42px);
  padding:23px 26px;
  background:var(--md-sys-color-surface-container-low);
  border:1px solid var(--md-sys-color-outline-variant);
  border-radius:var(--md-sys-shape-corner-large);
  box-shadow:var(--md-sys-elevation-level-1);
}
.brand-origin__age{
  flex:none;
  color:var(--md-sys-color-primary);
  font-size:clamp(30px,3.4vw,46px);
  font-weight:790;
  line-height:1.12;
  letter-spacing:-.045em;
  white-space:nowrap;
}
.brand-origin__age-caption{
  max-width:185px;
  color:var(--brand-muted);
  font-size:13px;
  font-weight:580;
  line-height:1.55;
}
.brand-origin__story p:first-child{
  color:var(--brand-ink);
  font-weight:540;
}
@media(max-width:580px){
  .brand-origin__milestone{padding:18px 20px;gap:17px}
  .brand-origin__age{font-size:32px}
  .brand-origin__age-caption{font-size:12px}
}

.brand-origin__story p,.brand-technology-intro>div:last-child p{
  font-size:16px;
  line-height:1.9;
  color:var(--brand-muted);
  margin:0 0 20px;
}
.brand-company-tech{padding-block:60px}
@media(max-width:1060px){
  .brand-hero{grid-template-columns:minmax(0,1fr) minmax(260px,.64fr);gap:30px}
  .brand-hero__emblem{min-height:380px}
  .brand-tech__card{padding:24px}
  .brand-tech__meta{margin-bottom:24px}
  .brand-values{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .brand-hero{grid-template-columns:minmax(0,1fr);padding-block:65px;gap:42px}
  .brand-hero__emblem{min-height:270px;flex-direction:row;gap:35px;justify-content:flex-start;text-align:left}
  .brand-hero__emblem img{width:150px;margin:0}
  .brand-section-head,.brand-intro,.brand-origin,.brand-technology-intro,.brand-practice{
    grid-template-columns:minmax(0,1fr);
    gap:26px;
  }
  .brand-tech__grid{grid-template-columns:minmax(0,1fr)}
  .brand-tech__card{min-height:0}
  .brand-tech__meta{margin-bottom:24px}
  .brand-vision{flex-direction:column;align-items:flex-start}
  .brand-vision__link{align-self:flex-start}
}
@media(max-width:580px){
  .brand-hero{padding-block:52px}
  .brand-hero__copy .eyebrow{font-size:10px}
  .brand-hero__copy h1{font-size:clamp(36px,10vw,48px)}
  .brand-hero__emblem{min-height:0;padding:27px 20px;gap:19px}
  .brand-hero__emblem img{width:92px}
  .brand-hero__wordmark strong{font-size:15px}
  .brand-hero__wordmark span{font-size:10px}
  .brand-evolution{grid-template-columns:minmax(0,1fr)}
  .brand-evolution__step{padding:24px;border:1px solid var(--md-sys-color-outline-variant)}
  .brand-evolution__number{margin-bottom:13px}
  .brand-values{grid-template-columns:minmax(0,1fr)}
  .brand-value{padding:25px}
  .brand-value__number{margin-bottom:16px}
  .brand-vision{padding:36px 25px;min-height:0}
  .brand-vision__copy>p:not(.eyebrow){font-size:14px}
  .brand-vision__link{width:100%;justify-content:center;white-space:normal}
  .brand-practice__links{flex-direction:column;align-items:flex-start}
  .page-intro--brand{padding-bottom:65px}
}
@media(prefers-reduced-motion:reduce){
  .brand-tech__card{transition:none}
  .brand-tech__card:hover{transform:none}
}

/* Detailed technologies: editorial keywords, not decorative/manual icons. */
.project-row__focus{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 0;
  padding:0;
  list-style:none;
}
.project-row__focus li{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--md-sys-color-outline-variant);
  border-radius:var(--md-sys-shape-corner-full);
  color:var(--brand-highlight);
  background:var(--md-sys-color-surface-container);
  font-size:12px;
  line-height:1.4;
  font-weight:650;
}
/* The server-rendered brand narrative remains readable without KSE1. */
.server-fallback__brand{
  padding-block:38px;
  border-bottom:1px solid var(--brand-line);
}
.server-fallback__brand h1{max-width:1000px;margin:0 0 23px}
.server-fallback__brand h2{max-width:930px;margin:0 0 20px}
.server-fallback__brand>p:not(.lead){
  max-width:850px;
  color:var(--brand-muted);
  line-height:1.8;
}
.server-fallback__brand .btn{margin:12px 12px 0 0}

/* Material states, touch targets and accessible keyboard focus. */
.brand-hero .btn,.brand-vision__link{
  min-height:48px;
  padding-inline:24px;
  border-radius:var(--md-sys-shape-corner-full);
  box-shadow:var(--md-sys-elevation-level-1);
  transition:box-shadow var(--md-sys-motion-duration-short) var(--md-sys-motion-easing),
    background-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing);
}
.brand-hero .btn:hover,.brand-vision__link:hover{box-shadow:var(--md-sys-elevation-level-2)}
.brand-hero .btn:active,.brand-vision__link:active{
  box-shadow:var(--md-sys-elevation-level-1);filter:brightness(.94)
}
.brand-hero .btn:focus-visible,.brand-vision__link:focus-visible,.brand-tech .text-link:focus-visible{
  outline:3px solid var(--brand-highlight);outline-offset:4px
}
.brand-value h3,.brand-evolution__step h3,.brand-tech__card h3{text-wrap:balance}
.brand-hero__copy .lead,.brand-origin__story p,.brand-practice p{text-wrap:pretty}
.brand-evolution__step,.brand-value,.brand-tech__card{overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){
  .brand-hero .btn,.brand-vision__link,.brand-tech__card{transition:none}
}
