.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-950);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  opacity: 0.92;
}
.hero::before {
  /* Left-side dark gradient so hero text sits legibly over the art, per brand direction. */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.96) 0%, rgba(7, 11, 20, 0.72) 32%, rgba(7, 11, 20, 0.15) 58%, transparent 75%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.5) 0%, transparent 28%, transparent 70%, rgba(5, 8, 14, 0.85) 100%);
}
/* .hero-content is the full-width centered container (matches every other section);
   .hero-text is the actual copy block, pinned to its left edge so it stays inside
   the dark gradient zone instead of drifting into the artwork. */
.hero-content { position: relative; z-index: 1; width: 100%; padding: 0 clamp(24px, 6vw, 90px); }
.hero-text { max-width: 540px; margin-right: auto; }
.hero-crest {
  width: 190px;
  margin: 0 auto 26px 0;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}
.hero-crest img { display: block; width: 100%; height: auto; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text p.lede { font-size: 1.1rem; color: var(--ice-200); max-width: 460px; margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
/* Only instance of the eyebrow kicker on the page — it's CLAUDE.md's prescribed
   services label, not a decorative habit repeated above every heading. */
.hero-text .eyebrow { display: block; margin-bottom: 16px; }

.services-teaser { padding: 80px 0; }
.services-teaser > .container > h2 { max-width: 560px; }

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(130% 160% at 10% -15%, rgba(60, 85, 120, 0.18), transparent 55%),
    linear-gradient(165deg, var(--bg-card), var(--navy-950));
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card .btn { margin-top: auto; }
/* Two opposing corner brackets stand in for a full ornamental frame — the card
   reads as a heraldic plaque, not a rounded SaaS tile with a gradient-border trick. */
.service-card::before, .service-card::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--gold-500);
  opacity: 0.55;
  transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease;
}
.service-card::before { top: 10px; left: 10px; border-top: 1px solid; border-left: 1px solid; }
.service-card::after { bottom: 10px; right: 10px; border-bottom: 1px solid; border-right: 1px solid; }
.service-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.service-card:hover::before, .service-card:hover::after { opacity: 1; width: 27px; height: 27px; }

.service-icon { width: 50px; height: 50px; color: var(--steel-400); margin-bottom: 18px; transition: color 0.25s ease, transform 0.25s ease; }
.service-card:hover .service-icon { color: var(--gold-400); transform: scale(1.06); }

.service-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.service-card p { margin-bottom: 18px; }

.why-section { padding: 56px 0 84px; border-top: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.why-item { border-left: 2px solid var(--border-gold); padding: 2px 0 2px 20px; }
.why-item h3 { margin-bottom: 8px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (max-width: 860px) {
  .hero { min-height: 72vh; align-items: flex-end; }
  .hero-img { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(5,8,14,0.55) 0%, rgba(5,8,14,0.55) 40%, rgba(5,8,14,0.95) 100%); }
  .hero-text { max-width: 100%; padding: 40px 0 48px; }
}
