/* ========== PHILOSOPHY — FULL-BLEED DARK BAND ==========
   Photo set as the section's own background via the --hero-bg token (matches
   the home-stats band pattern from REDESIGN-LOG iteration 19). No parallax
   layer, no separate bg div. The 85% black overlay above keeps the white
   italic Playfair quote legible; this is a deliberate dark contrast moment
   inside the otherwise light-theme /story page. */
.about-philosophy {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .about-philosophy {
    background-image: var(--hero-bg-mobile, var(--hero-bg));
  }
}

.about-philosophy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.about-philosophy .container {
  position: relative;
  z-index: 1;
}

.about-philosophy-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: center;
}

.about-philosophy-text::before {
  content: '\201C';
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--accent-text);
  opacity: 0.4;
  line-height: 0.5;
  margin-bottom: 30px;
}

/* ========== DIFFERENCE — ALTERNATING FULL-WIDTH BLOCKS ========== */
/* ========== DIFFERENCE BLOCKS ==========
   Section-scoped texture treatment: opaque white base masks the site-wide
   body::before grain (which was reading too heavy at 0.2 on the transparent
   blocks 1 and 3), then a scoped pseudo paints the same paper texture at the
   redesign's standard 0.1 - matches home-intro / home-process /
   about-service-area. The :nth-child(even) cream stripe on block 2 is
   unchanged; its opaque background covers the pseudo, preserving the
   alternating rhythm. Light theme only. */
.about-difference {
  padding: 0;
  position: relative;
}

[data-theme='light'] .about-difference {
  background: #ffffff;
}

[data-theme='light'] .about-difference::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: image-set(
    url('/images/textures/subtle-texture.webp') type('image/webp'),
    url('/images/textures/subtle-texture.jpg') type('image/jpeg')
  );
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: 0.1;
  mix-blend-mode: multiply;
}

.about-difference-block {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 500px;
}

.about-difference-block .block-image {
  height: 300px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.about-difference-block .block-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.15);
}

.about-difference-block .block-image:active {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.25);
}

.about-difference-block .block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-difference-block .block-text {
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-difference-block .block-text .block-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-text);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 15px;
}

.about-difference-block .block-text h3 {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: 20px;
}

.about-difference-block .block-text p {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 1rem;
}

.about-difference-block:nth-child(even) {
  background: var(--bg-secondary);
}

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 767px) {
  .about-philosophy {
    padding: 60px 0;
  }

  .about-philosophy-text::before {
    font-size: 4rem;
  }

  .about-difference-block {
    min-height: auto;
  }

  .about-difference-block .block-image {
    height: 220px;
  }

  .about-difference-block .block-text {
    padding: 30px 16px;
  }

  .about-difference-block .block-text .block-number {
    font-size: 2.5rem;
  }
}

/* ========== RESPONSIVE: TABLET ========== */
@media (min-width: 768px) {
  .about-difference-block {
    grid-template-columns: 1fr 1fr;
  }

  .about-difference-block .block-image {
    height: auto;
  }

  .about-difference-block .block-text {
    padding: 80px 60px;
  }

  .about-difference-block:nth-child(even) .block-image {
    order: 2;
  }

  .about-difference-block:nth-child(even) .block-text {
    order: 1;
  }
}

/* ========== SERVICE AREA BLOCK ==========
   Solid cream #f9f6ef base (matches --bg-secondary in base.css). No texture
   pseudo - this section reads flat against the cream. The centred eyebrow →
   Title-Case H2 → blurb header sits above a grid of cards using the new
   neutral hairline vocabulary. Dark theme inherits the body bg. */
.about-service-area {
  padding: 6rem 0;
}

[data-theme='light'] .about-service-area {
  background: #f9f6ef;
}

[data-theme='dark'] .about-service-area {
  background: #191919;
}

.about-service-area-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin: 0 auto 3.5rem;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-area-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.5);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.15);
}

.service-area-card:active {
  transform: translateY(-4px);
  border-color: var(--accent-text);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.25);
}

.service-area-icon {
  font-size: 2rem;
  color: var(--accent-text);
  margin-bottom: 1rem;
  display: block;
}

.service-area-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-area-card p {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.about-service-area-footer {
  font-family: 'Inter', sans-serif;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-service-area-footer a {
  color: var(--accent-text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .service-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .service-area-grid {
    grid-template-columns: 1fr;
  }
  .about-service-area {
    padding: 4.5rem 0;
  }
}

/* Override the shared subtle ::after gradient on /story's chef hero so the
   image renders completely untinted. about.css is page-scoped to /story
   only, so this doesn't affect /contact's split-image hero. */
.page-hero-split-image::after {
  background: none;
}

/* Same scoping reason: drop the 2rem bottom margin under /story's hero
   subtitle without affecting /contact's. */
.page-hero-split-text .hero-subtitle {
  margin-bottom: 0;
}
