/* ── HERO (design adapted from the Figma "Enhance Website Design") ──
   Single full-frame photo on a dark base, content anchored bottom-left,
   vertical SCROLL indicator bottom-right. Text is fixed light in every
   theme — theme variables would render dark ink over the photo. */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1C1917;
}

/* Full-frame background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1C1917;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.65;
}
/* Gradient layers (Figma: bottom-up darkening + a left-side wash) */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 10, 9, 0.4), transparent),
    linear-gradient(to top, rgba(12, 10, 9, 0.75), rgba(28, 25, 23, 0.2) 55%, rgba(28, 25, 23, 0.3));
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
  padding: 0 3rem 5.5rem;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: var(--heading-font, Georgia, serif);
  font-size: clamp(46px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.03;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
/* Figma title is a single quiet white block — no gold italic accent */
.hero-title em { font-style: normal; color: inherit; }

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons over the photo: solid white primary + white outline ghost */
.hero .btn-primary {
  background: #FFFFFF;
  color: #0C0A09;
  letter-spacing: 0.2em;
}
.hero .btn-primary:hover { background: #E7E5E4; color: #0C0A09; }

.hero .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
}
.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Vertical scroll indicator, bottom-right (Figma) */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 4;
}
.hero-scroll-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

/* ── STAT BAR ─────────────────────────────────────────── */
.stat-bar {
  background: var(--card);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  transition: background 0.3s;
}
.stat-item {
  padding: 2rem 2.5rem;
  border-right: 0.5px solid var(--border2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--heading-font, Georgia, serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: var(--muted); }

/* ── TEAM TEASER ──────────────────────────────────────── */
.team-section { background: var(--panel); transition: background 0.3s; }

.roles-marquee-wrap {
  overflow: hidden;
  margin-top: 2.5rem;
  border-top: 0.5px solid var(--border2);
  border-bottom: 0.5px solid var(--border2);
  padding: 1.25rem 0;
}
.roles-marquee {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 4px 16px;
  border: 0.5px solid var(--border2);
  background: var(--card);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.role-pill i { font-size: 14px; color: var(--gold-dim); }
.role-pill:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: var(--card2);
}

.team-cta-area { margin-top: 3rem; text-align: center; }
.team-cta-title {
  font-family: var(--heading-font, Georgia, serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--champagne);
  margin-bottom: 0.75rem;
}
.team-cta-sub { font-size: 13px; color: var(--muted); margin-bottom: 1.75rem; }

/* ── MARQUEE: pause on hover ──────────────────────────── */
.roles-marquee-wrap:hover .roles-marquee { animation-play-state: paused; }

/* ── EXPLORE TEASER (Services & Vision, homepage) ─────── */
.explore-teaser-section {
  background: var(--deep);
  padding: 6rem 3rem;
  transition: background 0.3s;
}
.explore-teaser-header { margin-bottom: 3rem; }
.explore-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border2);
  border: 0.5px solid var(--border2);
}
.explore-teaser-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  cursor: pointer;
}
.explore-teaser-card:hover { background: var(--card2); }
.explore-teaser-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.explore-teaser-card .ntc-title { font-size: 24px; margin-bottom: 0.75rem; }

/* ── NEWS TEASER (homepage section) ──────────────────── */
.news-teaser-section {
  background: var(--panel);
  padding: 6rem 3rem;
  transition: background 0.3s;
}
.news-teaser-header { margin-bottom: 3rem; }
/* Separated, bordered cards with an image on top (Figma news layout) */
.news-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-teaser-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.news-teaser-card:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.ntc-image {
  height: 200px;
  overflow: hidden;
  background: var(--card2);
}
.ntc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.news-teaser-card:hover .ntc-image img { transform: scale(1.05); }
.ntc-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ntc-tag {
  display: inline-block;
  font-size: 9px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  border: 0.5px solid var(--gold-dim); padding: 3px 10px;
  margin-bottom: 1rem; align-self: flex-start;
}
.ntc-title {
  font-family: var(--heading-font, Georgia, serif);
  font-size: 18px; font-weight: 300; color: var(--champagne);
  line-height: 1.35; flex: 1; margin-bottom: 1rem;
}
.ntc-meta { font-size: 11px; color: var(--gold-dim); letter-spacing: 0.06em; }
.ntc-bar {
  height: 1px; background: var(--gold); width: 0;
  transition: width 0.35s ease; margin-top: 1.25rem;
}
.news-teaser-card:hover .ntc-bar { width: 100%; }

/* ── HOME RESPONSIVE ──────────────────────────────────── */
@media (max-width: 800px) {
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.5rem; border-bottom: 0.5px solid var(--border2); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(n+3) { border-bottom: none; }
}

@media (max-width: 720px) {
  .hero-content { padding: 0 1.5rem 4rem; }
  .hero-scroll { display: none; }
}

/* ── BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--card);
  border: 0.5px solid var(--border);
  color: var(--muted);
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, color 0.2s, border-color 0.2s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.back-to-top svg { width: 16px; height: 16px; }
.back-to-top span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

