/* Automotive focus for the existing Kinkai theme, 2026-10-07. */
.teas-page--home .teas-hero {
  background: #111923;
}
.teas-page--home .teas-hero__visual img {
  object-position: center 52%;
}
.teas-page--home .teas-hero__visual .kf-image-note {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, .85);
  font-size: 11px;
  letter-spacing: .03em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .65);
}
.teas-page--home .teas-hero__visual::after {
  background: linear-gradient(90deg, rgba(8, 14, 22, .78) 0%, rgba(8, 14, 22, .49) 42%, rgba(8, 14, 22, .12) 100%) !important;
}
.teas-page--home .teas-hero__content {
  z-index: 2;
}
.teas-page--home .teas-hero__eyebrow,
.teas-page--home .teas-hero__lead {
  display: block !important;
  color: #fff;
}
.teas-page--home .teas-hero__eyebrow {
  margin: 0 0 20px;
  color: #c8ddff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}
.teas-page--home .teas-hero h1 {
  max-width: 12em !important;
  color: #fff;
  font-size: clamp(42px, 5vw, 76px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}
.teas-page--home .teas-hero h1 span {
  margin-top: .35em;
  color: #fff;
  font-size: .42em !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  line-height: 1.5;
}
.teas-page--home .teas-hero__lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.teas-page--home .teas-hero .teas-button {
  min-height: 54px !important;
  margin-top: 30px;
  padding: 15px 25px !important;
  background: #0756d9;
  border-color: #0756d9;
  box-shadow: 0 12px 28px rgba(1,31,87,.27);
}
.teas-page--home .teas-hero .teas-button:hover,
.teas-page--home .teas-hero .teas-button:focus-visible {
  background: #003c9a;
}

.kf-feature {
  padding: clamp(76px, 8vw, 120px) 0 clamp(88px, 10vw, 144px);
  background: #fff;
  color: #202a35;
}
.kf-feature__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, .75fr);
  gap: clamp(30px, 5vw, 92px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 70px);
}
.kf-feature h2 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.kf-feature__intro p {
  max-width: 39em;
  margin: 0;
  color: #485768;
  line-height: 1.95;
}
.kf-feature__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(12px, 1.8vw, 24px);
}
.kf-feature__gallery figure {
  position: relative;
  min-height: clamp(310px, 37vw, 530px);
  margin: 0;
  overflow: hidden;
  background: #172334;
}
.kf-feature__gallery figure:nth-child(n + 3) {
  min-height: clamp(280px, 29vw, 410px);
}
.kf-feature__gallery img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.kf-feature__gallery figure:last-child img {
  object-position: 52% center;
}
.kf-feature__gallery figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 9px rgba(0,0,0,.65);
}
.kf-feature__services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 54px);
  margin: clamp(44px, 6vw, 82px) 0 0;
  padding: 0;
  list-style: none;
}
.kf-feature__services li {
  padding-top: 20px;
  border-top: 1px solid #bdcad9;
}
.kf-feature__services strong {
  display: block;
  margin-bottom: 10px;
  color: #1a2838;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}
.kf-feature__services span {
  display: block;
  color: #566271;
  font-size: 14px;
  line-height: 1.8;
}
.kf-feature__action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  padding-bottom: 8px;
  color: #0348b5;
  font-weight: 700;
  border-bottom: 2px solid #0348b5;
  text-decoration: none;
}
.kf-feature__action:hover,
.kf-feature__action:focus-visible {
  color: #032e75;
  border-color: #032e75;
}
.kf-feature__action:focus-visible,
.teas-navigation a:focus-visible {
  outline: 3px solid #77aaff;
  outline-offset: 4px;
}
.teas-page--home .teas-intro__media img {
  object-fit: cover;
}
.teas-page--home .teas-services__grid {
  display: flex !important;
  flex-direction: column;
}
.teas-page--home .teas-service-card:nth-child(3) {
  order: -1;
  grid-column: span 12 !important;
  border-top: 1px solid var(--teas-line);
}
.teas-page--home .teas-service-card:first-child {
  border-top: 0;
}
.teas-page--home .teas-service-card:nth-child(3) .teas-service-card__media {
  height: clamp(290px, 35vw, 500px);
}
.teas-page--home .kf-car-service-card .teas-service-card__media {
  position: relative;
}
.teas-page--home .kf-card-image-note {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.teas-page--home .teas-service-card:nth-child(3) .teas-service-card__body {
  padding-block: clamp(25px, 3vw, 40px);
}
.teas-page--home .teas-access__map {
  border-radius: 0;
}
.teas-page--sub .teas-page-hero__media {
  position: relative;
}
.teas-page--sub .kf-contact-image-note {
  position: absolute;
  right: 18px;
  bottom: 14px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(6, 12, 21, .62);
  font-size: 12px;
  letter-spacing: .04em;
}

@media (max-width: 820px) {
  .teas-page--home .teas-hero {
    height: min(78dvh, 720px) !important;
    min-height: 620px !important;
  }
  .teas-page--home .teas-hero__visual img {
    object-position: 61% center;
  }
  .teas-page--home .teas-hero__visual::after {
    background: linear-gradient(0deg, rgba(6,12,21,.88) 0%, rgba(6,12,21,.55) 47%, rgba(6,12,21,.10) 100%) !important;
  }
  .teas-page--home .teas-hero__content {
    justify-content: flex-end !important;
    top: 0 !important;
    padding: 0 24px 52px !important;
  }
  .teas-page--home .teas-hero h1 {
    max-width: 100% !important;
    font-size: clamp(36px, 8.3vw, 48px) !important;
  }
  .teas-page--home .teas-hero h1 span {
    font-size: .45em !important;
  }
  .teas-page--home .teas-hero__lead {
    max-width: 30em;
    margin-top: 16px;
    font-size: 14px;
  }
  .kf-feature__intro,
  .kf-feature__gallery {
    grid-template-columns: 1fr;
  }
  .kf-feature__gallery figure {
    min-height: 310px;
  }
  .kf-feature__gallery figure:last-child {
    min-height: 270px;
  }
  .kf-feature__services {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .teas-page--home .teas-service-card:nth-child(3) {
    grid-column: span 12 !important;
  }
}
