/* Appliso index3 — Whitesmith-inspired editorial layout */

.v3-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.v3-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, rgba(255, 0, 0, 0.28), transparent 50%),
    linear-gradient(160deg, #050505 0%, #121212 50%, #050505 100%);
}

.v3-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 80%);
  pointer-events: none;
}

.v3-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.v3-hero .hero-brand {
  opacity: 1;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.v3-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.75rem, 8vw, 5rem);
  animation: rise 0.9s var(--ease) 0.25s both;
}

.v3-hero .lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.72);
  animation: rise 0.9s var(--ease) 0.4s both;
}

.v3-hero .btn-group {
  animation: rise 0.9s var(--ease) 0.55s both;
}

/* Narrative */

.v3-narrative {
  padding: clamp(4.5rem, 12vw, 8rem) 0;
}

.v3-narrative h2 {
  max-width: 18ch;
  margin-bottom: 2rem;
}

.v3-narrative .copy {
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--muted-dark);
}

.v3-narrative .copy p + p {
  margin-top: 1.25rem;
}

.v3-pull {
  margin: 2.5rem 0 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 28rem;
  color: var(--black);
}

/* What we do */

.v3-do {
  background: var(--black);
  color: var(--white);
  padding: clamp(4.5rem, 12vw, 8rem) 0;
}

.v3-do h2 {
  margin-bottom: 1.5rem;
}

.v3-do .copy {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.v3-do .copy p + p {
  margin-top: 1.15rem;
}

.v3-do strong {
  color: var(--white);
  font-weight: 600;
}

/* Pathways — editorial columns, not cards */

.v3-pathways {
  padding: clamp(4.5rem, 12vw, 8rem) 0;
  background: var(--off-white);
}

.v3-pathways > .wrap > .lead {
  margin-bottom: 3rem;
}

.v3-pathway-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-dark);
}

.v3-pathway {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-dark);
}

@media (min-width: 900px) {
  .v3-pathway-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
  }

  .v3-pathway {
    padding: 2.75rem 0;
  }
}

.v3-pathway .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.v3-pathway h3 {
  margin-bottom: 0.85rem;
}

.v3-pathway > p {
  color: var(--muted-dark);
  margin-bottom: 1.25rem;
  max-width: 32rem;
}

.v3-pathway ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted-dark);
}

.v3-pathway li {
  margin-bottom: 0.45rem;
}

.v3-pathway .link {
  font-weight: 600;
  color: var(--black);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 0.1rem;
  transition: color 0.2s;
}

.v3-pathway .link:hover {
  color: var(--red);
}

/* Why */

.v3-why {
  padding: clamp(4.5rem, 12vw, 8rem) 0;
}

.v3-why h2 {
  max-width: 16ch;
}

.v3-why-lines {
  margin-top: 2.5rem;
  max-width: 36rem;
}

.v3-why-lines p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--black);
}

.v3-why-lines .closer {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted-dark);
}

/* Contact band */

.v3-contact {
  background: var(--black);
  color: var(--white);
  padding: clamp(4.5rem, 12vw, 7rem) 0;
}

.v3-contact .lead {
  color: rgba(255, 255, 255, 0.7);
}

.v3-contact .contact-meta dt {
  color: rgba(255, 255, 255, 0.45);
}

.v3-contact .contact-meta dd,
.v3-contact .contact-meta a {
  color: rgba(255, 255, 255, 0.9);
}

.v3-contact .contact-meta a:hover {
  color: var(--red);
}

.v3-contact .form-field label {
  color: rgba(255, 255, 255, 0.85);
}

.v3-contact .form-field input,
.v3-contact .form-field select,
.v3-contact .form-field textarea {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.v3-contact .form-field input:focus,
.v3-contact .form-field select:focus,
.v3-contact .form-field textarea:focus {
  border-color: var(--white);
}

.v3-contact .form-field option {
  color: var(--black);
}

.v3-contact .form-note {
  color: rgba(255, 255, 255, 0.5);
}

.v3-contact .form-note a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
