/* Home revision 2026-10-09. Scoped so existing detail pages keep their design. */
.home-page .hero.hero-compact { padding-top: 12px !important; }
.home-page .hero-compact .hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr) !important;
  gap: 32px !important;
  padding-bottom: 12px !important;
}
.home-page .hero-compact h1 {
  font-size: clamp(36px, 3.3vw, 46px) !important;
  line-height: 1.08 !important;
  margin: 8px 0 12px !important;
}
.home-page .hero-compact h1 em { display: block; }
.home-page .hero-compact .hero-lead {
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin-bottom: 14px !important;
}
.home-page .hero-compact .hero-actions { margin-top: 16px !important; }
.home-page .hero-compact .portrait-wrap { max-width: 350px !important; }
.home-page .hero-compact .portrait-frame img { height: 300px !important; }

/* Retain all four facts without the old 100–104px minimum-height band. */
.home-page .hero-compact .hero-stats {
  width: min(var(--max), 92%) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-top: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}
.home-page .hero-compact .hero-stats > div {
  min-height: 0 !important;
  padding: 10px 14px !important;
  gap: 10px;
  justify-content: flex-start !important;
}
.home-page .hero-compact .hero-stats > div:last-child { border-right: 0; }
.home-page .hero-compact .hero-stats strong {
  flex: 0 0 auto;
  font-size: 19px !important;
  line-height: 1.3;
  white-space: nowrap;
}
.home-page .hero-compact .hero-stats span {
  font-size: 10px !important;
  line-height: 1.4;
  letter-spacing: .025em !important;
  overflow-wrap: normal !important;
}

/* Five related brands immediately follow the hero. */
.home-page .digital-brands {
  padding: 10px 0 22px !important;
  background: #f7f6f2;
  border-top: 0;
  scroll-margin-top: 86px;
}
.home-page .digital-brands-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 28px;
  margin-bottom: 8px;
}
.home-page .digital-brands-heading .section-heading { flex: 0 0 auto; }
.home-page .digital-brands-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.home-page .digital-brands-heading > p {
  max-width: none;
  margin: 0;
  color: #52616d;
  font-size: 14px;
  line-height: 1.5;
}
.home-page .digital-brands-heading .brand-theme { white-space: nowrap; }
.home-page .digital-brand-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.home-page .digital-brand-card {
  padding: 16px 14px 13px;
  box-shadow: none;
}
.home-page .digital-brand-mega { --brand-accent: #b68a3a; }
.home-page .digital-brand-aek { --brand-accent: #323c89; }
.home-page .digital-brand-identity {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 68px;
  gap: 10px;
  margin-bottom: 13px;
}
.home-page .digital-brand-identity img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}
.home-page .digital-brand-identity h3 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.home-page .digital-brand-identity .digital-brand-wordmark {
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: 1px;
}
.home-page .digital-brand-wordmark span { letter-spacing: 3px; }
.home-page .digital-brand-identity .digital-brand-wide-logo {
  flex: 0 1 auto;
  width: 100%;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}
.home-page .brand-heading-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.home-page .digital-brand-category {
  min-height: 36px;
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .035em;
}
.home-page .digital-brand-description {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}
.home-page .digital-brand-link {
  min-height: 48px;
  padding-top: 11px;
  gap: 7px;
}
.home-page .digital-brand-link strong { font-size: 12px; line-height: 1.5; }
.home-page .digital-brand-link small { margin-top: 2px; font-size: 11px; }
.home-page .digital-brand-arrow { font-size: 21px; }
.home-page .digital-brands-note { margin-top: 12px; font-size: 11px; }

/* Same professional profile copy, quieter heading and tighter rhythm. */
.home-page .professional-intro { padding: 34px 0 !important; }
.home-page .professional-intro .intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 40px;
}
.home-page .professional-intro .section-heading h2 {
  max-width: 500px;
  margin: 9px 0 0;
  font-size: clamp(28px, 2.7vw, 34px);
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-page .professional-intro .intro-copy { font-size: 16px; line-height: 1.65; }
.home-page .professional-intro .intro-copy p { margin: 0 0 10px; }
.home-page .professional-intro .lead { font-size: 17px; line-height: 1.65; }
.home-page .professional-intro .text-link { margin-top: 1px; font-size: 14px; }

@media (max-width: 1199px) {
  .home-page .digital-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .digital-brand-card { padding: 18px; }
  .home-page .digital-brand-description { font-size: 15px; }
  .home-page .digital-brand-category { min-height: 0; }
  .home-page .digital-brand-identity .digital-brand-wide-logo { max-width: 170px; }
}
@media (max-width: 930px) {
  .home-page .hero-compact .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr) !important;
    gap: 24px !important;
  }
  .home-page .hero-compact .portrait-wrap { max-width: 280px !important; }
  .home-page .hero-compact .portrait-frame img { height: 275px !important; }
  .home-page .hero-compact .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .home-page .hero-compact .hero-stats > div:nth-child(2) { border-right: 0; }
  .home-page .hero-compact .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .home-page .digital-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .digital-brands-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-page .professional-intro .intro-grid { gap: 24px; }
}
@media (max-width: 700px) {
  .home-page .hero-compact .hero-grid {
    width: min(var(--max), 92%) !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .home-page .hero-compact .portrait-wrap { max-width: 260px !important; }
  .home-page .hero-compact .portrait-frame img { height: 255px !important; }
  .home-page .hero-compact h1 { font-size: clamp(34px, 7vw, 42px) !important; }
  .home-page .professional-intro .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-page .professional-intro .section-heading h2 { max-width: 590px; font-size: 28px; }
}
@media (max-width: 599px) {
  .home-page .digital-brand-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-page .digital-brand-card { padding: 18px 20px; }
  .home-page .digital-brand-identity { min-height: 58px; margin-bottom: 10px; }
  .home-page .digital-brand-identity .digital-brand-wide-logo { height: 58px; max-width: 170px; }
  .home-page .digital-brand-description { font-size: 16px; }
  .home-page .digital-brand-link strong { font-size: 13px; }
  .home-page .digital-brands { padding: 14px 0 20px !important; scroll-margin-top: 76px; }
  .home-page .digital-brands-heading h2 { font-size: 28px; }
  .home-page .digital-brands-heading > p { font-size: 13px; }
  .home-page .digital-brands-heading .brand-theme { white-space: normal; }
  .home-page .professional-intro { padding: 28px 0 !important; }
  .home-page .hero-compact .hero-stats > div {
    flex-direction: column;
    align-items: flex-start;
    padding: 9px 12px !important;
    gap: 4px;
  }
  .home-page .hero-compact .hero-stats strong { font-size: 18px !important; }
  .home-page .hero-compact .hero-stats span { font-size: 10px !important; letter-spacing: 0 !important; }
}

/* R3: one desktop slogan, centered brand identities; original body copy stays left-aligned. */
.home-page .hero-compact h1 em { display: inline; white-space: nowrap; }
@media (min-width: 1024px) {
  .home-page .hero-compact h1 { white-space: nowrap; }
}
@media (max-width: 1023px) {
  .home-page .hero-compact h1 { white-space: normal; }
}
.home-page .digital-brand-identity {
  height: 68px;
  min-height: 68px;
  justify-content: center;
  text-align: center;
}
.home-page .digital-brand-identity .digital-brand-wide-logo {
  margin-inline: auto;
  object-position: center;
}
.home-page .digital-brand-category {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  text-align: center;
}
.home-page .digital-brand-description { text-align: left; }

/* R5: shorter homepage band; natural image ratio and content-driven height. */
.home-page .hero.hero-compact { padding-top: 6px !important; }
.home-page .hero-compact .hero-grid {
  grid-template-columns: minmax(0, 1fr) 124px !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: start !important;
  gap: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 6px !important;
}
.home-page .hero-compact .hero-copy {
  align-self: start !important;
  padding: 0 !important;
}
.home-page .hero-compact .hero-lead { max-width: 850px !important; margin-bottom: 0 !important; }
.home-page .hero-compact .professional-portrait { align-self: start !important; }
@media (max-width: 700px) {
  .home-page .hero-compact .hero-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .home-page .hero-compact .hero-copy { padding-top: 0 !important; }
}

/* R4: exact profile image from the connected Geçmişin Haritası account. */
.home-page .digital-brand-identity .digital-brand-profile-logo {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}
