/* ==========================================================================
   Harini Catering — About page
   Editorial brand story. Reuses global tokens, media placeholders and type.
   ========================================================================== */

.section-heading {
  max-width: 36rem;
}

.hero-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-anim--1 { animation-delay: 0.08s; }
.hero-anim--2 { animation-delay: 0.18s; }
.hero-anim--3 { animation-delay: 0.3s; }
.hero-anim--4 { animation-delay: 0.42s; }

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
  border-bottom: 1px solid var(--brand-gold);
  padding-bottom: 0.15rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand-primary-deep);
  border-bottom-color: var(--brand-primary);
}

/* -------------------------------------------------------------------------- */
/* Hero
/* -------------------------------------------------------------------------- */

.about-hero {
  position: relative;
  min-height: clamp(32rem, 78svh, 46rem);
  display: flex;
  align-items: flex-end;
  color: var(--text-on-brand);
  overflow: hidden;
  background: #ead9cc;
}

.about-hero__media {
  position: absolute;
  inset: 0;
}

.about-hero__media .media-placeholder {
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}

.about-hero__media .media-placeholder::before {
  padding-bottom: 0;
  height: 100%;
}

.about-hero.has-media .about-hero__emblem {
  opacity: 0;
}

.about-hero__media .media-placeholder img {
  object-position: 78% 52%;
}

.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(31, 14, 12, 0.58) 0%, rgba(31, 14, 12, 0.34) 32%, rgba(31, 14, 12, 0.1) 54%, rgba(31, 14, 12, 0.02) 72%, transparent 86%),
    linear-gradient(180deg, rgba(31, 14, 12, 0.22) 0%, rgba(31, 14, 12, 0.08) 28%, rgba(31, 14, 12, 0.32) 72%, rgba(31, 14, 12, 0.58) 100%);
  pointer-events: none;
}

.about-hero__emblem {
  position: absolute;
  top: 14%;
  right: -6%;
  width: min(34vw, 280px);
  height: 150px;
  background: url("../images/branding/heritage-emblem.png") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .about-hero__emblem {
    top: auto;
    bottom: 6%;
    right: -22%;
    width: 180px;
    height: 90px;
    opacity: 0.04;
  }
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding: 7.8rem 0 3.4rem;
  max-width: 42rem;
  width: 100%;
  min-width: 0;
}

.about-hero h1 {
  font-size: clamp(2.35rem, 4.2vw + 1rem, 4.4rem);
  max-width: 16ch;
  color: #fffaf4;
  line-height: 1.12;
  text-shadow: 0 8px 24px rgba(31, 14, 12, 0.18);
  overflow-wrap: break-word;
}

.about-hero .lead {
  color: rgba(255, 248, 242, 0.92);
  max-width: min(36rem, 100%);
  line-height: 1.7;
}

@media (min-width: 992px) {
  .about-hero {
    min-height: 82vh;
  }

  .about-hero .media-placeholder--hero {
    min-height: 0;
    height: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Journey
/* -------------------------------------------------------------------------- */

.about-journey {
  display: grid;
  grid-template-areas:
    "stat"
    "media"
    "copy";
  gap: 1.75rem;
}

.about-journey__stat { grid-area: stat; }
.about-journey__copy { grid-area: copy; }
.about-journey__media { grid-area: media; }

.about-journey__figure {
  font-family: var(--font-display);
  font-size: clamp(5.75rem, 18vw, 9.5rem);
  line-height: 0.78;
  color: var(--brand-primary);
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0.15rem 0 0.4rem;
}

.about-journey__label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.about-journey__media .media-placeholder {
  min-height: 280px;
}

@media (min-width: 992px) {
  .about-journey {
    grid-template-areas: "stat copy media";
    grid-template-columns: minmax(8.5rem, 0.52fr) 0.95fr 1.28fr;
    gap: 3.5rem;
    align-items: center;
  }

  .about-journey__media .media-placeholder {
    min-height: 540px;
  }
}

/* -------------------------------------------------------------------------- */
/* Philosophy
/* -------------------------------------------------------------------------- */

.about-philosophy-intro {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 3.5rem;
  align-items: center;
}

.about-philosophy-intro__media .media-placeholder {
  min-height: 300px;
}

@media (min-width: 992px) {
  .about-philosophy-intro {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.25rem;
  }

  .about-philosophy-intro__media .media-placeholder {
    min-height: 480px;
  }
}

.about-principles {
  display: grid;
  gap: 1.35rem 2.5rem;
}

.about-principle {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-medium);
}

.about-principle__num {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.6vw, 2.05rem);
  color: var(--brand-gold-deep);
  line-height: 1;
  font-weight: 300;
  margin-bottom: 0.55rem;
  letter-spacing: 0.08em;
}

.about-principle h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.about-principle p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 22rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .about-principles {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

@media (min-width: 1200px) {
  .about-principles {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* Quality
/* -------------------------------------------------------------------------- */

.about-quality {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 3rem;
  align-items: center;
}

.about-quality__media .media-placeholder {
  --media-ratio: 92%;
}

.about-hygiene__media .media-placeholder,
.about-beginning__media .media-placeholder {
  min-height: 280px;
}

@media (min-width: 992px) {
  .about-quality {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.25rem;
  }

  .about-quality__media .media-placeholder,
  .about-hygiene__media .media-placeholder,
  .about-beginning__media .media-placeholder {
    min-height: 420px;
  }
}

.about-process {
  list-style: none;
  display: grid;
  gap: 0.35rem 2.5rem;
  margin: 0;
  padding: 0;
}

.about-process__step {
  display: block;
  padding: 1.45rem 0 0.85rem;
  border-top: 1px solid var(--border-light);
}

.about-process__num {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5.5vw, 3.15rem);
  color: var(--brand-gold-deep);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.about-process__step h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.4;
  max-width: 16ch;
}

@media (min-width: 768px) {
  .about-process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .about-process {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 2.25rem;
  }

  .about-process__num {
    font-size: 3.15rem;
    margin-bottom: 1rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Family
/* -------------------------------------------------------------------------- */

.about-family-section.heritage-emblem--watermark::before {
  inset: auto 3% 16% auto;
  width: min(24%, 190px);
  height: 42%;
  opacity: 0.045;
}

.about-family {
  display: grid;
  gap: 0;
  align-items: end;
}

.about-family__media .media-placeholder {
  min-height: 340px;
}

.about-family__copy {
  max-width: 36rem;
  background: #fffaf6;
  padding: 1.85rem 1.4rem 2rem;
  margin: -2.6rem 0.7rem 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 992px) {
  .about-family {
    grid-template-columns: 1.2fr 0.85fr;
    align-items: center;
  }

  .about-family__media .media-placeholder {
    min-height: 560px;
  }

  .about-family__copy {
    margin: 0 0 0 -4.25rem;
    padding: 3.5rem 3.1rem 3.6rem 3.25rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Traditional values
/* -------------------------------------------------------------------------- */

.about-values {
  position: relative;
  min-height: 40rem;
  display: grid;
  align-items: center;
  color: var(--text-on-brand);
  overflow: hidden;
  padding: clamp(4.75rem, 9vw, 8rem) 0;
}

.about-values .parallax-section__media {
  inset: -10% 0;
}

.about-values .parallax-section__media .media-placeholder {
  height: 100%;
  border-radius: 0;
}

.about-values .parallax-section__media .media-placeholder::before {
  padding-bottom: 0;
  height: 100%;
}

.about-values::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(31, 14, 12, 0.78) 0%, rgba(31, 14, 12, 0.46) 52%, rgba(31, 14, 12, 0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-values.heritage-emblem--watermark::before {
  opacity: 0.07;
  filter: brightness(1.4);
  z-index: 1;
}

.about-values .container {
  position: relative;
  z-index: 2;
}

.about-values__copy {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.about-values__copy h2 {
  color: #fffaf4;
  text-shadow: 0 8px 24px rgba(31, 14, 12, 0.28);
}

.about-values__copy p {
  color: #fff6ee;
  max-width: 34rem;
}

.about-values__points {
  display: grid;
  gap: 1.5rem;
}

.about-values__points article {
  padding-top: 1.05rem;
  border-top: 1px solid rgba(228, 196, 154, 0.45);
}

.about-values__points h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 0.55rem;
}

.about-values__points p {
  margin: 0;
  color: #fff8f2;
}

@media (min-width: 768px) {
  .about-values__points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* -------------------------------------------------------------------------- */
/* What we prepare
/* -------------------------------------------------------------------------- */

.about-prepare {
  display: grid;
  gap: 2.5rem;
}

.about-prepare__item {
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-medium);
}

.about-prepare__item h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.85rem;
}

.about-prepare__item p,
.about-prepare__item li {
  color: var(--text-secondary);
}

.about-prepare__item ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.about-prepare__item li {
  padding: 0.28rem 0;
}

@media (min-width: 992px) {
  .about-prepare {
    grid-template-columns: 1.15fr 0.9fr 0.9fr;
    gap: 3rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Three services
/* -------------------------------------------------------------------------- */

.about-offers {
  display: grid;
  gap: 2.5rem;
}

.about-offer h3 {
  margin: 1.25rem 0 0.55rem;
}

.about-offer p {
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.about-offer .media-placeholder {
  border-radius: var(--radius-lg);
  min-height: 270px;
  --media-ratio: 88%;
}

@media (min-width: 992px) {
  .about-offers {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .about-offer .media-placeholder {
    min-height: 340px;
  }
}

/* -------------------------------------------------------------------------- */
/* Promise
/* -------------------------------------------------------------------------- */

.about-promise {
  position: relative;
  overflow: hidden;
  background: var(--brand-light);
}

.about-promise__media {
  opacity: 0.18;
}

.about-promise__media .media-placeholder {
  height: 100%;
  border-radius: 0;
}

.about-promise__media .media-placeholder::before {
  padding-bottom: 0;
  height: 100%;
}

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

.about-promise__intro {
  max-width: 38rem;
}

.about-promise__words {
  display: grid;
  gap: 0;
  margin: 3rem 0 0;
  max-width: 36rem;
}

.about-promise__words span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 11vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  padding: 0.38em 0 0.28em;
  border-top: 1px solid rgba(121, 18, 14, 0.16);
}

.about-promise__words span:nth-child(2) {
  color: var(--brand-gold-deep);
}

.about-promise__words span:nth-child(3) {
  color: var(--brand-dark);
}

/* -------------------------------------------------------------------------- */
/* Video + final CTA
/* -------------------------------------------------------------------------- */

.about-video-heading {
  margin-bottom: 1.75rem;
}

.video-showcase--wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-height: none;
}

.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 248, 242, 0.92);
  color: var(--brand-primary);
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.video-showcase__fallback {
  flex-direction: column;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--brand-primary);
  color: var(--text-on-brand);
  text-align: center;
}

.final-cta h2,
.final-cta .lead {
  color: #fffaf4;
}

.final-cta .lead {
  margin-inline: auto;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta.heritage-emblem--watermark::before {
  opacity: 0.08;
}

/* -------------------------------------------------------------------------- */
/* About-only type, spacing and image emphasis
/* -------------------------------------------------------------------------- */

.page-about .about-hero {
  min-height: clamp(34rem, 82svh, 48rem);
}

.page-about .video-showcase--wide {
  min-height: 0;
}

@media (max-width: 767.98px) {
  .page-about .section {
    padding: 4.5rem 0;
  }

  .page-about .about-values {
    min-height: 34rem;
    padding: 4.75rem 0;
  }

  .page-about .about-hero h1 {
    font-size: clamp(2.5rem, 10.4vw, 2.875rem);
    line-height: 1.16;
    max-width: 14ch;
  }

  .page-about h2 {
    font-size: clamp(1.75rem, 6.4vw, 2rem);
    line-height: 1.24;
  }

  .page-about .section-copy,
  .page-about .lead,
  .page-about .about-principle p,
  .page-about .about-offer p,
  .page-about .about-prepare__item p,
  .page-about .about-prepare__item li,
  .page-about .about-values__copy p,
  .page-about .about-values__points p,
  .page-about .about-family__copy .section-copy {
    font-size: 1rem;
    line-height: 1.75;
  }

  .page-about .eyebrow,
  .page-about .about-journey__label,
  .page-about .caption {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }

  .page-about .about-hero {
    min-height: min(78svh, 42rem);
  }

  .page-about .about-hero__content {
    padding: 6.8rem 0 3rem;
  }

  .page-about .about-family__copy {
    padding-right: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
