/* Homepage-only forest preview. The image remains a background, so it is decorative. */
.home-forest .site-header:not(.is-scrolled) {
  background: transparent;
  color: #fff;
  border-bottom: 0;
}
.home-forest .site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
.home-forest .site-header:not(.is-scrolled) .desktop-nav a:hover,
.home-forest .site-header:not(.is-scrolled) .desktop-nav a[aria-current] { border-color: #fff; }
.home-forest .site-header:not(.is-scrolled) .language-switch,
.home-forest .site-header:not(.is-scrolled) .language-switch a[aria-current],
.home-forest .site-header:not(.is-scrolled) .menu-button,
.home-forest .site-header:not(.is-scrolled) .mobile-email,
.home-forest .site-header:not(.is-scrolled) .header-linkedin { color: #fff; }
.home-forest .site-header:not(.is-scrolled) .language-switch a[aria-current] { border-color: #fff; }
.home-forest.menu-open .site-header:not(.is-scrolled) { background: #0b1b25; }
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100svh;
  padding-top: clamp(150px, 12vw, 190px);
  padding-bottom: clamp(90px, 9vw, 150px);
  overflow: hidden;
  background: #0d1c24;
}
.hero-media {
  background-image:
    linear-gradient(180deg, rgba(5, 13, 20, .60), transparent 22%),
    radial-gradient(ellipse 65% 62% at 50% 47%, rgba(5, 13, 20, .72), rgba(5, 13, 20, .28) 72%, rgba(5, 13, 20, .12) 100%),
    linear-gradient(0deg, rgba(5, 13, 20, .43), transparent 35%),
    url('/assets/20261105-forest-hero/forest-workspace-pen-coaster.jpg');
  background-position: center, center, center, center 48%;
  background-size: cover;
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}
.hero .micro-label { color: #d9e5e4; }
.hero h1 {
  max-width: 850px;
  font-size: clamp(43px, 4.35vw, 63px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-sub { margin-top: 30px; }
.hero-sub p {
  max-width: 590px;
  color: #e1e9e8;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,.24);
}
.hero-actions { justify-content: center; gap: 14px 24px; }
.hero-actions .button { background: #f5f5f0; color: #102b3b; border-color: #f5f5f0; }
.hero-actions .button:hover { background: #dbe8e7; }
.hero-actions .text-link { color: white; }

.home-evidence {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  background: #e4e9e8;
}
.home-evidence-copy h2 {
  max-width: 480px;
  margin: 0 0 20px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.home-evidence-copy > p:not(.section-label) { max-width: 440px; color: var(--muted); margin: 0; }
.home-evidence .hero-product {
  justify-self: stretch;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 14px;
  border-color: rgba(11, 43, 59, .18);
  background: #102b3b;
  box-shadow: 0 18px 48px rgba(12, 39, 49, .14);
}
.home-evidence .hero-dashboard-view { height: clamp(240px, 25vw, 320px); }
.home-evidence .hero-product figcaption { color: #d7e4e8; }
.home-evidence .hero-dashboard-view::after { content: 'TEMSİLİ DEMO VERİLERİ'; }
html[lang="en"] .home-evidence .hero-dashboard-view::after { content: 'ILLUSTRATIVE DEMO DATA'; }

@media (max-width: 900px) {
  .hero {
    min-height: 710px;
    padding-top: 138px;
    padding-bottom: 80px;
  }
  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(5, 13, 20, .48), transparent 25%),
      linear-gradient(0deg, rgba(5, 13, 20, .88) 0%, rgba(5, 13, 20, .65) 45%, rgba(5, 13, 20, .14) 100%),
      url('/assets/20261105-forest-hero/forest-workspace-pen-coaster.jpg');
    background-position: center, center, 56% center;
  }
  .hero-content { align-self: center; max-width: 680px; }
  .hero h1 { font-size: clamp(36px, 6vw, 52px); }
  .home-evidence { grid-template-columns: 1fr; gap: 32px; }
  .home-evidence .hero-product { justify-self: start; }
}
@media (max-width: 600px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 108px 22px 42px;
    background: #0b1b25;
  }
  .hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    height: 100%;
    background-image:
      linear-gradient(180deg, rgba(5, 13, 20, .48), transparent 24%),
      linear-gradient(0deg, rgba(5, 13, 20, .94) 0%, rgba(5, 13, 20, .82) 38%, rgba(5, 13, 20, .15) 84%),
      url('/assets/20261105-forest-hero/forest-workspace-pen-coaster.jpg');
    background-position: center, center, 54% center;
  }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(32px, 7.8vw, 42px); }
  .hero-sub { margin-top: 22px; }
  .hero-sub p { font-size: 16px; line-height: 1.5; }
  .hero-actions { align-items: center; gap: 10px; }
  .home-evidence { padding-top: 52px; padding-bottom: 52px; }
  .home-evidence .hero-dashboard-view { height: 210px; }
}

/* 2026-11-21: preserve the wide hero composition on phones. */
@media (max-width: 600px) {
  .home-forest .hero {
    display: block;
    min-height: 0;
    height: auto;
    padding: 88px 0 0;
    gap: 0;
    background: #0b1b25;
  }
  .home-forest .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
    background-image:
      linear-gradient(180deg, rgba(5, 13, 20, .08), rgba(5, 13, 20, .12)),
      url('/assets/20261105-forest-hero/forest-workspace-pen-coaster.jpg');
    background-position: center, center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
  }
  .home-forest .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 30px 22px 38px;
    box-sizing: border-box;
    background: #0b1b25;
  }
  .home-forest .hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(27px, 7.4vw, 38px);
    line-height: 1.16;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  .home-forest .hero-sub { margin-top: 24px; }
  .home-forest .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
  }
  .home-forest .hero-actions .button {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 14px 21px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }
  .home-forest .hero-actions .text-link {
    max-width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.45;
    white-space: normal;
  }
}
