/* ==========================================================
   ABOUT PAGE
   Design language inherited from the Home page:
   pure-black canvas, degular display type at weight 300,
   Inter body, uppercase eyebrows with a small orange marker,
   hairline dividers, zero radius, no shadows, scroll reveals.

   NOTE: `.button-about` is defined only in /css/home.css, which
   this page does not load. It is re-declared here (scoped to
   `.about-page`, identical values) so the primary CTA matches
   Home exactly. This duplication should be resolved by the P0
   "global components sheet" recommended in the audit.
========================================================== */

.about-page {
  /* Local scale — matches Home's literal values; not a new system */
  --about-accent: #ff3c00;                       /* same accent as nav active state */
  --about-border: rgba(var(--dz-fg-rgb), 0.12);
  --about-hairline: rgba(var(--dz-fg-rgb), 0.08);
  --about-text-1: var(--dz-fg);
  --about-text-2: rgba(var(--dz-fg-rgb), calc(0.75 + var(--dz-text-lift)));
  --about-text-3: rgba(var(--dz-fg-rgb), calc(0.5 + var(--dz-text-lift)));
  --about-text-4: rgba(var(--dz-fg-rgb), calc(0.32 + var(--dz-text-lift)));
  --about-ease: cubic-bezier(0.22, 1, 0.36, 1);  /* the site's signature "power3/4.out" */
  --about-gutter: 2rem;                          /* same side gutter as work/services/career */
  --about-section-py: 2rem;                      /* every section's top + bottom */

  /* SECTION HEADING — one scale for every h2 on the page. Change it
     here and the hero, What We Do, Our Approach, The People, the brand
     showcase and the testimonials all move together. */
  --about-heading-font: "degular", sans-serif;
  --about-heading-size: 5rem;
  --about-heading-line: 1;
  --about-heading-weight: var(--dz-heading-weight);
  --about-heading-tracking: var(--dz-heading-tracking);
  --about-heading-color: var(--about-text-1);

  width: 100%;
  background: var(--dz-bg);
  color: var(--about-text-2);
}


/* ==========================================================
   SHARED PRIMITIVES
========================================================== */

.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  margin: 0 0 2rem;

  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: var(--dz-medium-weight);

  color: rgba(var(--dz-fg-rgb), calc(0.7 + var(--dz-text-lift)));
}

.about-eyebrow::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--about-accent);
}

.about-h2 {
  margin: 0;
  max-width: 18ch;

  font-family: var(--about-heading-font);
  font-size: var(--about-heading-size);
  line-height: var(--about-heading-line);
  font-weight: var(--about-heading-weight);
  letter-spacing: var(--about-heading-tracking);
  color: var(--about-heading-color);
}

/* one divider per section, on its lower edge — the hero and the stats
   carry the same line, so every join across the page reads as one rule */
.about-section {
  padding: var(--about-section-py) var(--about-gutter);
  border-bottom: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
}


/* ==========================================================
   TEXT ARROW BUTTON  (ported verbatim from /css/home.css,
   scoped to .about-page; keyframe renamed to avoid any
   collision with the global `arrowLRReenter`)
========================================================== */

.about-page .button-about {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  font-size: 16px;
  font-weight: var(--dz-medium-weight);
  color: var(--dz-fg);
  text-decoration: none;
  overflow: hidden;
}

.about-page .button-about .icon {
  display: inline-block;
  animation-duration: 0.55s;
  animation-fill-mode: both;
}

.about-page .button-about .icon i {
  font-size: 22px;
}

.about-page .button-about:hover .icon {
  animation-name: aboutArrowReenter;
}

@keyframes aboutArrowReenter {
  0%   { transform: translateX(0);     opacity: 1; }
  40%  { transform: translateX(14px);  opacity: 0; }
  41%  { transform: translateX(-14px); opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}


/* ==========================================================
   HERO  — two stacked zones inside one 100vh view:
   UPPER  = the oversized "About" wordmark, centred both ways,
            with a hairline divider (2rem inset) on its lower edge.
   LOWER  = eyebrow + a 2-line section heading on the LEFT and a
            4-line supporting paragraph on the RIGHT, sitting on
            the bottom padding (2rem).
   Letter + line reveals live in js/about-hero-animations.js.
========================================================== */

.about-hero {
  min-height: 100vh;
  display: flex;
  /* background: #ff3c00; */
  flex-direction: column;
  box-sizing: border-box;

  /* top stays 0 — the wordmark centres under the header */
  padding: 0 var(--about-gutter) var(--about-section-py);

  /* closes the hero off from the stats below */
  border-bottom: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
}

/* UPPER ZONE — takes every pixel the statement below does not, and
   centres the wordmark in it on both axes. (It used to be a fixed 55vh
   band, which sat the wordmark high.) */
.about-hero__top {
  flex: 1 1 auto;
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  /* border-bottom: 0.5px solid rgba(255, 255, 255, 0.07); */
}

.about-hero__word {
  margin: 0;
  /* tight leading + no descenders makes the glyphs sit visually high in
     their box — nudge down so it reads centred between header and line */
  transform: translateY(0.06em);

  font-family: "degular", sans-serif;
  font-size: clamp(3.25rem, 22vw, 22rem);
  line-height: 0.86;
  font-weight: var(--dz-heading-weight);
  letter-spacing: -0.02em;
  color: var(--about-text-1);
  white-space: nowrap;
  text-align: center;
}

/* LOWER ZONE — heading left, paragraph right, sitting on the 2rem
   bottom padding. Only as tall as its own content, so the wordmark
   above keeps the whole of the remaining height to centre in. */
.about-hero__statement {
  flex: 0 0 auto;
  width: 100%;
  padding-top: clamp(2rem, 7vh, 4.5rem);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 7rem);
  text-align: left;
}

.about-hero__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.about-hero__eyebrow.dz-eyebrow {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* section-sized heading — copy + max-width tuned to wrap to 2 lines */
/* shared page-hero scale from main.css — identical on every page */
.about-hero__heading {
  margin: 0;
  max-width: 20ch;

  font-family: var(--dz-font-display);
  font-size: var(--dz-page-hero-size);
  line-height: var(--dz-page-hero-line);
  font-weight: var(--dz-heading-weight);
  letter-spacing: var(--dz-heading-tracking);
  color: var(--dz-heading-color);
}

/* supporting copy — right column, ~4 lines, sits on the heading's baseline */
.about-hero__para {
  flex: 0 1 44ch;
  max-width: 44ch;
  margin: 0 0 0.35em;

  font-family: var(--dz-font-body);
  font-size: var(--dz-body-size);
  line-height: var(--dz-body-line);
  color: var(--dz-body-color);
}

@media (max-width: 820px) {
  .about-hero__statement {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }

  .about-hero__heading {
    max-width: 24ch;
  }

  .about-hero__para {
    flex-basis: auto;
    max-width: 52ch;
    margin-bottom: 0;
  }
}


/* ==========================================================
   STATS  — four count-up cards
========================================================== */

/* A short band, not a full view: eyebrow, then four columns divided by
   hairlines. No card fills — the dividers carry the structure. */
.about-stats {
  box-sizing: border-box;

  /* shared section rhythm — 4rem top + bottom, 2rem sides */
  padding: var(--about-section-py) var(--about-gutter);

  border-bottom: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
   /* background: #c93204; */
}

.about-stats__layout {
  display: block;
}

.about-stats__head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* the eyebrow is a flex row (dot + text), so centring it takes
   justify-content, not text-align */
.about-stats__head .about-eyebrow {
  justify-content: center;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Each column draws the line it shares with its neighbour; the first
   has none and sits flush with the section's gutter. The line spans the
   column's own height, so it starts at the label and ends at the
   number — as in the mock. */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 0 clamp(1.5rem, 3vw, 3.5rem);
  border-left: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
  background: none;
}

/* keeps its side padding so all four columns stay symmetrical now the
   content is centred — only the shared line is dropped */
.stat-card:first-child {
  border-left: 0;
}

.stat-card__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-text-3);
}

/* a short rule under the label only, not the full column width */
.stat-card__rule {
  width: clamp(3.5rem, 6vw, 5.5rem);
  height: 1px;
  margin: 0.55rem 0 clamp(1rem, 1.6vw, 1.4rem);
  background: var(--about-border);
}

/* the display number the card is really about — last child, pushed to
   the bottom whatever the copy above it runs to */
.stat-card__value {
  margin-top: clamp(1.5rem, 3vw, 2.75rem);

  font-family: "degular", sans-serif;
  font-size: clamp(2.75rem, 5.2vw, 5.75rem);
  font-weight: var(--dz-heading-weight);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--about-text-1);
  font-variant-numeric: tabular-nums;
}

.stat-card__desc {
  margin: 0;
  max-width: 24ch;          /* wraps to 2-3 short lines, as in the mock */
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--about-text-3);
}


/* ==========================================================
   WHAT WE DO
   4 editorial columns — icon, discipline, one-line description,
   separated by hairline dividers. No cards.
========================================================== */

/* The section holds a full view. min-height rather than height, so an
   open panel or a narrow screen can still push it taller instead of
   spilling out. Content is centred in whatever space is left. */
.about-do {
  min-height: 100vh;
  box-sizing: border-box;
  /* background-color: #d33606; */

  /* shared section rhythm — 3rem top + bottom, 2rem sides */
  padding: var(--about-section-py) var(--about-gutter);

  display: flex;
  flex-direction: column;
  justify-content: center;

  /* no border-top: the stats section above already closes with a
     border-bottom, and two adjacent 1px lines read as one 2px rule */
}

/* the heading alone now — only the rhythm down to the list */
.about-do__head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* takes the shared scale from .about-h2 — only its measure is local */
.about-do__heading {
  margin: 0;
  max-width: 16ch;
}


/* Hairline-divided list, black-and-white. At rest every row is just a
   display-size title and a diagonal arrow. Pointing at one opens the
   whole row out along a single line:

     01  Title   [tag][tag][tag]    ▣ image ▣    description      →

   The number slides in and pushes the title across, the tags,
   image and description fade up, the fill lifts and the arrow swings
   straight. All of it is CSS — each row carries its own image, so
   there is no shared frame and no script positioning anything.

   Columns: [lead = number + title] [tags] [media] [desc] [arrow].
   The media column is a real grid track, so the tags and the
   description can never run underneath the image; the picture inside
   it is simply taller than the row and overhangs above and below. */

.about-do__list {
  position: relative;
  border-top: 1px solid var(--about-border);
}

.do-row {
  position: relative;
  display: grid;
  grid-template-columns:
    auto                              /* lead: number + title */
    minmax(0, 1fr)                    /* tags */
    clamp(220px, 21vw, 400px)         /* media */
    minmax(0, 21rem)                  /* description */
    auto;                             /* arrow */
  align-items: center;

  /* the space between tracks; the title → tags gap is tighter, see
     .do-row__tags */
  --do-gap: clamp(1.5rem, 5vw, 6rem);
  --do-title-gap: 2rem;
  column-gap: var(--do-gap);

  /* the vertical padding answers to the viewport height, so four rows
     plus the heading and the section's 4rem padding still fit one view
     on a short screen */
  padding: clamp(1rem, 3.2vh, 2.6rem) clamp(1rem, 1.4vw, 1.45rem);
  border-bottom: 1px solid var(--about-border);

  color: var(--about-text-1);
  text-decoration: none;

  transition: background-color 0.45s var(--about-ease);
}

/* the lifted fill — sits above the page's black without becoming a
   card. z-index lets this row's image overhang its neighbours. */
.do-row:hover,
.do-row:focus-visible {
  z-index: 2;
  background: rgba(var(--dz-fg-rgb), 0.05);
}

.do-row:focus-visible {
  outline: 1px solid var(--about-accent);
  outline-offset: -3px;
}


/* ---- LEAD: NUMBER + TITLE ---- */

.do-row__lead {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* collapses to nothing at rest, so the title starts hard left; opening
   gives it width and a gap, which carries the title (and the tags
   after it) across rather than dropping the number on top of it */
.do-row__num {
  flex: 0 0 auto;
  overflow: hidden;

  max-width: 0;
  margin-right: 0;
  opacity: 0;

  font-family: var(--dz-font-display);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  font-weight: var(--dz-heading-weight);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--about-accent);

  transition: max-width 0.5s var(--about-ease),
              margin-right 0.5s var(--about-ease),
              opacity 0.35s ease;
}

.do-row:hover .do-row__num,
.do-row:focus-visible .do-row__num {
  max-width: 3ch;
  margin-right: clamp(1.5rem, 3.6vw, 3.25rem);
  opacity: 1;
}

.do-row__title {
  font-family: var(--dz-font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
  font-weight: var(--dz-heading-weight);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--about-text-1);
}


/* ---- REVEALED PARTS: TAGS, MEDIA, DESCRIPTION ---- */

/* hidden, but still holding their tracks — so opening a row never
   changes its height or shifts the arrow */
.do-row__tags,
.do-row__media,
.do-row__desc {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.do-row:hover :is(.do-row__tags, .do-row__media, .do-row__desc),
.do-row:focus-visible :is(.do-row__tags, .do-row__media, .do-row__desc) {
  opacity: 1;
  visibility: visible;
}

/* Same chip as .role-tag on Career, so the two lists read as one
   system. Wraps to a second line rather than crowding the image. */
.do-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-width: 0;

  /* pulls back across the shared column gap so the tags sit
     --do-title-gap from the title, leaving every other gap as is */
  margin-left: calc(var(--do-title-gap) - var(--do-gap));
}

.do-row__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;

  background: rgba(var(--dz-fg-rgb), 0.07);

  font-family: var(--dz-font-body);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(var(--dz-fg-rgb), calc(0.75 + var(--dz-text-lift)));
}

/* The track is the image's width; the picture is absolutely centred
   on it and taller than the row, so it overhangs the hairlines above
   and below — the move in the mock. pointer-events: none so it never
   sits between the pointer and the row. */
.do-row__media {
  position: relative;
  align-self: stretch;
  pointer-events: none;
}

.do-row__media img {
  position: absolute;
  top: 50%;
  left: 0;

  width: 100%;
  aspect-ratio: 16 / 9.2;
  max-width: 100%;
  object-fit: cover;
  object-position: center;

  /* the section is black and white throughout — the image joins it
     rather than being the one colour object on the page */
  filter: grayscale(1);

  transform: translateY(-50%) scale(0.94);
  transition: transform 0.55s var(--about-ease);
}

.do-row:hover .do-row__media img,
.do-row:focus-visible .do-row__media img {
  transform: translateY(-50%) scale(1);
}

.do-row__desc {
  max-width: 21rem;

  font-family: var(--dz-font-body);
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  line-height: 1.4;
  color: rgba(var(--dz-fg-rgb), calc(0.6 + var(--dz-text-lift)));

  /* never more than three lines — longer copy ends in an ellipsis
     rather than making the open row taller */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}


/* ---- LINK ARROW ---- */

/* One glyph, two states: -45deg is the resting diagonal, 0 is the
   straight arrow the open row gets. Rotating rather than swapping
   icons keeps the change continuous. */
.do-row__go {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--about-text-1);
}

.do-row__go i {
  display: block;
  transform: rotate(-45deg);
  transition: transform 0.45s var(--about-ease);
}

.do-row:hover .do-row__go i,
.do-row:focus-visible .do-row__go i {
  transform: rotate(0deg);
}


/* ---- NO HOVER / NARROW ---- */

/* Touch has no hover to open a row, and below 980px the five tracks
   don't fit on one line. So the row becomes title + arrow on the first
   line with the tags and description always shown beneath; the number
   and the image drop out. */
@media (max-width: 980px), (hover: none) {
  .do-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.9rem;
  }

  .do-row__lead  { grid-column: 1; grid-row: 1; }
  .do-row__go    { grid-column: 2; grid-row: 1; }
  .do-row__tags  { grid-column: 1 / -1; grid-row: 2; margin-left: 0; }
  .do-row__desc  { grid-column: 1 / -1; grid-row: 3; max-width: 44ch; }

  .do-row__tags,
  .do-row__desc {
    opacity: 1;
    visibility: visible;
  }

  .do-row__media,
  .do-row__num {
    display: none;
  }

  .do-row__title {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .do-row,
  .do-row__num,
  .do-row__tags,
  .do-row__media,
  .do-row__media img,
  .do-row__desc,
  .do-row__go i {
    transition: none;
  }
}

/* visually hidden, still read aloud */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================
   OUR APPROACH
   Display heading over four equal cards sharing one hairline
   grid. Each card is a column: copy at the top, then the gap
   the tallest card sets, then a full-bleed bar link sitting on
   the card's bottom edge.

   The grid's own lines are drawn by the cards — an outer border
   on the container plus a left border per card — so adjacent
   cards share a single 1px line rather than stacking two.
========================================================== */

/* Holds a full view, the same way What We Do does. min-height rather
   than height, so tall cards or a short screen push the section taller
   instead of spilling out of it; the content centres in whatever space
   is left over. */
.about-approach {
  min-height: 100vh;
  box-sizing: border-box;
  /* background-color: #ff3c00; */

  display: flex;
  flex-direction: column;
  justify-content: center;

  /* border-bottom: 1px solid var(--about-hairline); */
}

/* The People section directly follows — drop its top hairline
   so the shared edge reads as one line, not two stacked. */
.about-approach + .about-team {
  border-top: 0;
}

.about-approach__heading {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  max-width: 16ch;

  font-family: var(--about-heading-font);
  font-size: var(--about-heading-size);
  line-height: var(--about-heading-line);
  font-weight: var(--about-heading-weight);
  letter-spacing: var(--about-heading-tracking);
  color: var(--about-heading-color);
}

.about-approach__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border: 1px solid var(--about-border);
}

.approach-card {
  display: flex;
  flex-direction: column;

  /* the tall column the mock shows — a floor, not a fixed height, so
     copy longer than expected still pushes the card taller instead of
     spilling past the bar */
  min-height: clamp(22rem, 30vw, 34rem);

  /* every card but the first draws the line it shares with its
     neighbour — the container owns the two outer edges */
  border-left: 1px solid var(--about-border);
}

.approach-card:first-child {
  border-left: 0;
}

/* the padded region; flex: 1 pushes the bar to the bottom edge and
   holds all four bars on one line however long the copy runs */
.approach-card__body {
  flex: 1 1 auto;
  padding: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1.25rem, 2vw, 1.9rem)
           clamp(2.5rem, 5vw, 4rem);
}

.approach-card__title {
  margin: 0 0 clamp(0.9rem, 1.6vw, 1.25rem);

  font-family: var(--dz-font-display);
  font-size: clamp(1.4rem, 2.1vw, 2.05rem);
  font-weight: var(--dz-regular-weight);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--about-text-1);
}

.approach-card__desc {
  margin: 0;

  font-family: var(--dz-font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  line-height: 1.55;
  color: var(--about-text-3);
}

/* the bar is .dz-text-btn--bar from components.css; it already
   carries the left-to-right white sweep, the black-on-white flip
   and its own top hairline — only the inset needs matching to the
   card's padding */
.approach-card__cta.dz-text-btn--bar {
  padding-left: clamp(1.25rem, 2vw, 1.9rem);
  padding-right: clamp(1.25rem, 2vw, 1.9rem);
  border-top-color: var(--about-border);

  /* full white at rest rather than the page's 75% body colour — the
     label and the arrow glyph both take it through currentColor */
  color: var(--about-text-1);
}

/* black once the white sweep is under them */
.approach-card__cta.dz-text-btn--bar:hover,
.approach-card__cta.dz-text-btn--bar:focus-visible {
  color: var(--dz-bg);
}


/* ==========================================================
   THE PEOPLE BEHIND DZIGNZ
   Heading + two large portraits on the top row, a 5-up row
   below. Every portrait is a uniform square, grayscale by
   default; on hover / focus / tap an info panel slides up
   over the bottom half of the image.
========================================================== */

/* 3rem top + bottom, a step deeper than the page's 2rem — same as the
   testimonials below it */
.about-team {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.about-team__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
}

.about-team__heading {
  margin: 0;

  font-family: var(--about-heading-font);
  font-size: var(--about-heading-size);
  line-height: var(--about-heading-line);
  font-weight: var(--about-heading-weight);
  letter-spacing: var(--about-heading-tracking);
  color: var(--about-heading-color);
}

.about-team__featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
}

.about-team__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  margin-top: clamp(1rem, 2.2vw, 2rem);
}


/* ---- Member card ---------------------------------------- */

.team-member {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.team-member__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--dz-surface-1);
}

.team-member__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition:
    filter 0.6s var(--about-ease),
    transform 0.7s var(--about-ease);
}

.team-member:hover .team-member__media img,
.team-member:focus-visible .team-member__media img,
.team-member.is-active .team-member__media img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.04);
}

.team-member:focus-visible {
  outline: 2px solid var(--about-accent);
  outline-offset: 3px;
}


/* ---- Slide-up info panel (covers the bottom half) ------- */

.team-member__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;

  display: flex;
  align-items: flex-end;
  padding: clamp(0.9rem, 1.5vw, 1.5rem);

  background: var(--dz-bg);

  transform: translateY(101%);
  transition: transform 0.55s var(--about-ease);
  will-change: transform;
}

.team-member:hover .team-member__info,
.team-member:focus-visible .team-member__info,
.team-member.is-active .team-member__info {
  transform: translateY(0);
}

.team-member__info-inner {
  display: block;
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 0.55s var(--about-ease) 0.06s,
    opacity 0.4s ease 0.06s;
}

.team-member:hover .team-member__info-inner,
.team-member:focus-visible .team-member__info-inner,
.team-member.is-active .team-member__info-inner {
  transform: translateY(0);
  opacity: 1;
}

.team-member__role {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-accent);
}

.team-member__name {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "degular", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: var(--dz-medium-weight);
  line-height: 1.1;
  color: var(--about-text-1);
}

.team-member__bio {
  display: block;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--about-text-2);
}

/* The 5-up row stays compact — role + name only */
.about-team__row .team-member__bio {
  display: none;
}


/* ==========================================================
   TRUSTED BY AMBITIOUS BRANDS
   Ported from /css/home.css (which this page does not load),
   scoped to .about-page. Two opposing logo marquees driven by
   the rAF loop in /js/about.js.
========================================================== */

.about-page .brand-showcase {
  display: flex;
  /* background: #ff3c00; */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;

  /* sides stay at 0 so the logo marquee still runs edge to edge */
  padding: var(--about-section-py) 0;
  border-bottom: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
}

.about-page .brand-text-content {
  max-width: 70%;
  padding: 3rem;
  text-align: center;
}

/* .brand-label typography/dot now comes entirely from the shared
   .dz-eyebrow component (components.css). A local override here was
   forcing display:block, which collapsed the ::before dot. */

.about-page .dz-brand-heading {
  margin: 0;
  max-width: 1900px;

  font-family: var(--about-heading-font);
  font-size: var(--about-heading-size);
  line-height: var(--about-heading-line);
  font-weight: var(--about-heading-weight);
  letter-spacing: var(--about-heading-tracking);
  color: var(--about-heading-color);
}

.about-page .marquee-logos {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(2rem, 6vw, 4rem);
  margin-top: clamp(2.5rem, 7vw, 5rem);
}

.about-page .marquee {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.about-page .marquee-track1,
.about-page .marquee-track2 {
  display: flex;
  align-items: center;
  gap: 15vw;
  width: max-content;
  will-change: transform;
}

.about-page .marquee img {
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.about-page .marquee img:hover {
  opacity: 0.7;
}

.about-page .liva     { height: 60px; }
.about-page .enbd     { height: 50px; }
.about-page .syntix   { height: 45px; }
.about-page .taj      { height: 70px; }
.about-page .finjuris { height: 60px; }
.about-page .omis     { height: 55px; }
.about-page .pvep     { height: 50px; }
.about-page .max      { height: 50px; }
.about-page .aramex   { height: 30px; }
.about-page .cnn      { height: 55px; }

/* Edge fade */
.about-page .marquee::before,
.about-page .marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 360px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.about-page .marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}

.about-page .marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}


/* ==========================================================
   CLIENT TESTIMONIALS
   Ported verbatim from /css/home.css (which this page does not
   load), scoped to .about-page. Two opposing marquees of
   hairline cards; the horizontal scroll itself is driven by
   /js/about.js.
========================================================== */

.about-page .testimonials-section {
  /* 3rem here, a step deeper than the page's 2rem — the marquee needs
     the extra breathing room */
  padding: 3rem 0;
  overflow: hidden;
  border-bottom: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
}

.about-page .brands-text-content {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 var(--about-gutter);
}

.about-page .brands-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--dz-fg-rgb), calc(0.7 + var(--dz-text-lift)));
}

.about-page .dz-testimonials-heading {
  margin: 10px 0 0;

  font-family: var(--about-heading-font);
  font-size: var(--about-heading-size);
  line-height: var(--about-heading-line);
  font-weight: var(--about-heading-weight);
  letter-spacing: var(--about-heading-tracking);
  color: var(--about-heading-color);
}

.about-page .testimonial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-page .testimonial-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  contain: layout style paint;
}

.about-page .testimonial-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  width: max-content;
  will-change: transform;
}

.about-page .testimonial-card {
  flex-shrink: 0;
  width: 420px;
  min-height: 260px;
  padding: 30px;
  /* border-radius: 15px; */
  background: rgba(var(--dz-fg-rgb), 0.04);
  border: 1px solid rgba(var(--dz-fg-rgb), 0.08);
  transition: border-color 0.3s ease;
}

.about-page .testimonial-card:hover {
  border-color: rgba(var(--dz-fg-rgb), 0.2);
}

.about-page .quote-icon img {
  width: 28px;
  opacity: 0.4;
}

.about-page .testimonial-card p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--about-text-2);
}

.about-page .client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.about-page .client img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.about-page .client h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: var(--dz-medium-weight);
  color: var(--about-text-1);
}

.about-page .client span {
  font-size: 0.8rem;
  color: var(--about-text-3);
}

/* Edge fade */
.about-page .testimonial-marquee::before,
.about-page .testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.about-page .testimonial-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}

.about-page .testimonial-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dz-bg), rgba(var(--dz-bg-rgb), 0));
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 980px) {

  /* one override, and every heading on the page steps down with it */
  .about-page {
    --about-heading-size: 3.5rem;
  }

  /* two across; each new row starts clean on the left */
  .about-stats__grid {
    row-gap: clamp(1.75rem, 4vw, 2.5rem);
  }

  .stat-card:nth-child(odd) {
    border-left: 0;
  }

  .about-stats__heading {
    max-width: 30ch;
  }

  .about-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .about-do__heading {
    max-width: 20ch;
  }

  /* Team → heading on its own row, portraits in a 3-up grid */
  .about-team__top {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.5rem);
  }

  .about-team__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Approach → 2-up; the cards in the second row draw the line they
     share with the row above, and the left column starts clean again */
  .about-approach__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-card:nth-child(odd) {
    border-left: 0;
  }

  .approach-card:nth-child(n + 3) {
    border-top: 1px solid var(--about-border);
  }
}


@media (max-width: 600px) {

  .about-page {
    --about-gutter: 1.25rem;
    --about-heading-size: 2.5rem;
  }

  /* Stat cards → single column */
  .about-stats__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* stacked: no side dividers, each column divided from the one above */
  .stat-card {
    padding: 0;
    border-left: 0;
  }

  .stat-card:nth-child(n + 2) {
    padding-top: clamp(1.5rem, 5vw, 2rem);
    border-top: 0.5px solid rgba(var(--dz-fg-rgb), 0.07);
  }

  .stat-card__value {
    font-size: clamp(2.25rem, 12vw, 3rem);
    margin-top: clamp(1.5rem, 6vw, 2rem);
  }

  /* What We Do → the arrow keeps its column, the gap tightens */
  .do-row {
    gap: 0.5rem 1rem;
  }

  .do-row__tag {
    font-size: 0.72rem;
    padding: 0.28rem 0.6rem;
  }

  /* Team → 2-up everywhere; keep panels readable on small squares */
  .about-team__featured,
  .about-team__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-team__featured .team-member__bio {
    display: none;
  }

  /* Approach → one card per row, each divided from the one above */
  .about-approach__grid {
    grid-template-columns: 1fr;
  }

  /* stacked, the tall column would just be four screens of empty space */
  .approach-card {
    min-height: 0;
    border-left: 0;
  }

  .approach-card:nth-child(n + 2) {
    border-top: 1px solid var(--about-border);
  }

  /* the copy no longer has to clear a neighbouring column, so the
     bar can sit closer under it */
  .approach-card__body {
    padding-bottom: clamp(1.75rem, 6vw, 2.25rem);
  }
}


/* ==========================================================
   PHONE  (≤ 767px) — shared mobile system from main.css
   · the "About" wordmark is sized to run gutter to gutter
     (2.5em is its measured width), so the hero reads as a poster
   · sections breathe a little more than the desktop's 2rem
   · the logo + testimonial marquees scale down with short fades
========================================================== */

@media (max-width: 1024px) {

  .about-page {
    --about-gutter: var(--dz-gutter);
    --about-section-py: 3.5rem;
  }

  .about-hero {
    min-height: 100svh;
    padding-bottom: 1.75rem;
  }

  .about-hero__word {
    font-size: calc((100vw - 2 * var(--dz-gutter)) / 2.5);
  }

  /* TRUSTED BY — the heading now has the full width to wrap in */
  .about-page .brand-showcase {
    min-height: 0;
    padding: var(--dz-section-py) 0;
  }

  .about-page .brand-text-content {
    max-width: none;
    padding: 0 var(--dz-gutter);
  }

  .about-page .marquee-logos {
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .about-page .marquee {
    height: 64px;
  }

  .about-page .marquee-track1,
  .about-page .marquee-track2 {
    gap: 3.25rem;
  }

  .about-page .liva     { height: 36px; }
  .about-page .enbd     { height: 30px; }
  .about-page .syntix   { height: 27px; }
  .about-page .taj      { height: 42px; }
  .about-page .finjuris { height: 36px; }
  .about-page .omis     { height: 33px; }
  .about-page .pvep     { height: 30px; }
  .about-page .max      { height: 30px; }
  .about-page .aramex   { height: 18px; }
  .about-page .cnn      { height: 33px; }

  .about-page .marquee::before,
  .about-page .marquee::after {
    width: 3.5rem;
  }

  .about-page .testimonials-section {
    padding: var(--dz-section-py) 0;
  }

  .about-page .testimonial-wrapper,
  .about-page .testimonial-track {
    gap: 1rem;
  }

  .about-page .testimonial-card {
    width: min(80vw, 320px);
    min-height: 0;
    padding: 1.5rem;
  }

  .about-page .testimonial-marquee::before,
  .about-page .testimonial-marquee::after {
    width: 2.5rem;
  }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .about-page *,
  .about-page *::before,
  .about-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .about-page .dz-line-wrapper .line,
  .about-page .ch-mask {
    transform: none !important;
    opacity: 1 !important;
  }

  .about-page .js-fade,
  .about-page .stat-card,
  .about-page .do-row,
  .about-page .team-member,
  .about-page .approach-card {
    opacity: 1 !important;
  }
}
