/* =============================================================
   ABOUT.CSS  —  Animaze Graphic  (About Us page)
   ---------------------------------------------------------------
   about.html loads THREE stylesheets, same pattern as the
   homepage:
     - menu.css    (header/nav, loaded from menu.html)
     - footer.css  (footer + floating WhatsApp button)
     - about.css   (this file — tokens, reset, and this page's
                    own sections)
============================================================= */

/* -------------------------------------------------------------
   1. TOKENS
------------------------------------------------------------- */
:root {
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body:    "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --gutter: 24px;
  --max: 1280px;

  --u-heading:    clamp(1.9rem, 1.4rem + 1.9vw, 2.6rem);
  --u-subheading: clamp(1.05rem, 1rem + .3vw, 1.15rem);
  --u-copy:       0.975rem;
  --u-copy-lh:    1.7;

  --u-sect-y:     clamp(32px, 4.5vw, 56px);
  --u-gutter:     20px;
}

/* -------------------------------------------------------------
   2. RESET
------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: #ffffff;
  color: #4A4A52;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: #101012;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: #FF6752; color: #fff; }

:focus-visible {
  outline: 3px solid #FF6752;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100010;
  padding: 12px 18px;
  background: #101012;
  color: #fff;
}
.skip:focus { left: 12px; top: 12px; }

/* -------------------------------------------------------------
   3. SHARED HELPERS
------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sect { padding: var(--u-sect-y) 0; }

.lead {
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  color: #4A4A52;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FF6752;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #FF6752;
}

.sect-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.sect-head--wide { max-width: 940px; }
.sect-head h2 { margin-bottom: .35em; }

.sect-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

.btn-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  cursor: pointer;
}
.btn-rect--primary {
  background: #FF6752;
  color: #fff;
  border: 2px solid #FF6752;
}
.btn-rect--primary:hover {
  background: #E55A46;
  border-color: #E55A46;
  color: #fff;
  transform: translateY(-3px);
}
.btn-rect--secondary {
  background: transparent;
  color: #283044;
  border: 2px solid #283044;
}
.btn-rect--secondary:hover {
  background: #283044;
  color: #fff;
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------
   4. ABOUT PAGE
------------------------------------------------------------- */

.about-video {
  position: relative;
  height: clamp(380px, 55vw, 640px);
  margin-top: 78px;
  overflow: hidden;
  background: #101012;
}

.about-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.about-hero {
  padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 88px);
  background: #FFF7F3;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.about-hero__title {
  font-family: var(--display);
  font-size: var(--u-heading);
  font-weight: 800;
  line-height: 1.15;
  color: #101012;
  margin: 0;
}

.about-hero__title span { color: #FF6752; }

.about-hero__copy {
  padding-top: .6em;
  border-top: 2px solid rgba(255, 103, 82, .35);
}

.about-hero__copy p {
  margin: 0;
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  color: #6C758F;
}

@media (max-width: 860px) {
  .about-hero__grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .about-hero__copy { border-top: 0; padding-top: 0; }
}

/* Story Section with relative positioning for the network background */
.about-story { 
  position: relative;
  padding: var(--u-sect-y) 0; 
  background: #ffffff; 
  overflow: hidden; 
}

/* Keeps text and images layered above the particle background */
.about-story .wrap {
  position: relative;
  z-index: 2;
}

/* The particle background container */
.network-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about-story__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about-story__media img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

.about-media-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  width: 100%;
  max-width: 380px; 
  border-top: 2px solid rgba(255, 103, 82, 0.15); 
  padding-top: 24px;
}

.media-stat {
  text-align: center;
}

.media-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FF6752;
  line-height: 1.1;
  margin-bottom: 4px;
}

.media-stat span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6C758F;
}

.about-story__content { max-width: 100%; }

.about-story__label {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FF6752;
}

.about-story__quote {
  font-family: var(--display);
  font-size: var(--u-heading);
  font-weight: 800;
  line-height: 1.2;
  color: #101012;
  margin: 0 0 .5em;
}
.about-story__quote em { font-style: normal; color: #FF6752; }

.about-story__text {
  max-width: 100%;
  margin: 0 0 1.1em;
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  color: #6C758F;
}
.about-story__text:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .about-story__grid { grid-template-columns: 1fr; }
}

.about-pillars { padding: var(--u-sect-y) 0; background: #FAFAFB; }

.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.about-pillar {
  background: #fff;
  border: 1px solid rgba(20, 8, 4, .10);
  border-radius: 14px;
  padding: clamp(18px, 2vw, 24px);
}

.about-pillar__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #FFF1ED;
  color: #FF6752;
  font-size: 19px;
}

.about-pillar h3 {
  font-family: var(--display);
  font-size: var(--u-subheading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .4em;
}

.about-pillar p {
  margin: 0;
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  color: #6C758F;
}

@media (max-width: 1080px) {
  .about-pillars__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-pillars__grid { grid-template-columns: 1fr; }
}

.about-cta {
  padding: var(--u-sect-y) 0;
  text-align: center;
}

.about-cta h2 {
  font-family: var(--display);
  font-size: var(--u-heading);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .4em;
}

.about-cta p {
  max-width: 54ch;
  margin: 0 auto 28px;
  font-size: var(--u-copy);
  line-height: var(--u-copy-lh);
  color: #6C758F;
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  :root { --u-heading: clamp(1.5rem, 1.25rem + 2.6vw, 1.95rem); }
  .wrap { padding: 0 var(--u-gutter); }
  body { font-size: 15.5px; }

  .about-video { height: 62vw; min-height: 240px; margin-top: 66px; }
  .about-hero  { padding: 28px 0 28px; }
  .about-story, .about-pillars, .about-cta { padding: 28px 0; }
}

a, button, .btn-rect {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}