/* ========================================
   GRIT DIGITAL — About Page Styles
   ======================================== */

/* ======== PAGE HERO ======== */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 8rem);
  padding-bottom: 8rem;
  overflow: hidden;
}

/* Hero background photo — same hero.jpg as home page */
.page-hero .hero-image {
  position: absolute;
  inset: 0;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-hero .hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12,12,12,0.97) 0%,
    rgba(12,12,12,0.88) 50%,
    rgba(12,12,12,0.7)  100%
  );
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(212,168,67,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-inner .label {
  display: block;
  margin-bottom: 1.5rem;
}

.page-hero-inner .h1 {
  margin-bottom: 1.5rem;
}

.page-hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.8;
}

/* ======== STORY ======== */
.story {
  padding: 10rem 0;
  border-bottom: 1px solid var(--border);
}

.story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6rem;
  align-items: start;
}

.story-left {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.story-left .label {
  display: block;
  margin-bottom: 1.2rem;
}

.story-right .h2 {
  margin-bottom: 2.5rem;
}

.story-right p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.story-right p:last-child {
  margin-bottom: 0;
}

/* ======== VALUES ======== */
.values {
  padding: 10rem 0;
  border-bottom: 1px solid var(--border);
}

.values-header {
  margin-bottom: 6rem;
}

.values-header .label {
  display: block;
  margin-bottom: 1.2rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.value-row:first-child {
  border-top: 1px solid var(--border);
}

.value-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--bg-3);
  -webkit-text-stroke: 1px var(--border);
  text-stroke: 1px var(--border);
  line-height: 1;
  padding-top: 0.2rem;
}

.value-content .h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.value-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 540px;
}

/* ======== CTA ======== */
.about-cta {
  padding: 10rem 0;
}

.about-cta-inner {
  max-width: 700px;
}

.about-cta-inner .h2 {
  margin-bottom: 0.5rem;
}

.about-cta-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 0.5rem;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .story-left {
    position: static;
  }
  .value-row {
    grid-template-columns: 80px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .page-hero  { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 4rem; }
  .story      { padding: 5rem 0; }
  .values     { padding: 5rem 0; }
  .about-cta  { padding: 5rem 0; }
  .value-row  { padding: 3rem 0; gap: 1.5rem; }
  .values-header { margin-bottom: 3rem; }
}
