/* Gyraffe — About Us page styles (plain CSS, layered on styles.css) */

/* ===================== Shared bits ===================== */
/* Always-solid header (this page has a light top, not a dark hero) */
.header--light {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
  backdrop-filter: blur(8px);
}
.header--light .header__nav a,
.header--light .lang-pill { color: var(--black); }
.header--light .lang-pill { border-color: rgba(0, 0, 0, .5); }
.header--light .hamburger span { background: var(--black); }

/* Big centered section heading (Instrument Sans Medium, fluid up to 65px) */
.section-title {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.0625rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Reusable carousel arrows (mirrors the products controls) */
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #e5e5e5;
  color: var(--black);
  transition: background .25s ease, color .25s ease, opacity .25s ease, filter .25s ease;
}
.carousel-arrow--next { background: var(--green); color: #fff; }
.carousel-arrow:hover { filter: brightness(.95); }
.carousel-arrow:disabled { opacity: .35; cursor: default; filter: none; }
.carousel-arrow svg { width: 20px; height: 20px; }

/* ===================== Page hero ===================== */
.page-hero {
  background: linear-gradient(110deg, #00391f 0%, #004c37 55%, #045a3f 100%);
  padding-top: calc(80px + 2.75rem);
  padding-bottom: 2.75rem;
}
.page-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 130px;
}
.page-hero__title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.page-hero__title span { color: var(--green); }
.page-hero__crumb {
  margin-top: .75rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}
.page-hero__crumb a { color: rgba(255, 255, 255, .85); transition: color .25s ease; }
.page-hero__crumb a:hover { color: #fff; }
.page-hero__graphic {
  width: clamp(120px, 18vw, 200px);
  height: auto;
  flex: none;
}

/* ===================== Building the Future ===================== */
.building {
  background: #fff;
}
.building__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 5rem;
}
@media (min-width: 900px) {
  .building__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-block: 7rem;
  }
}
.building__media {
  aspect-ratio: 655 / 498;
  border-radius: 10px;
  overflow: hidden;
}
.building__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.building__body h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 4.0625rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 1.75rem;
}
.building__body p {
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(0, 0, 0, .82);
}
.building__body p + p { margin-top: 1.25rem; }

/* ===================== Our Approach ===================== */
.approach {
  background: var(--surface-gray);
}
.approach .container { padding-block: 5rem; }
@media (min-width: 1024px) { .approach .container { padding-block: 7rem; } }

.approach__intro {
  max-width: 62rem;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(0, 0, 0, .78);
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .approach__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.approach__card {
  background: #fff;
  border-left: 5px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.approach__card--orange { border-left-color: var(--orange); }
.approach__card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0, 0, 0, .1); }

.approach__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.approach__card-head h3 {
  font-size: clamp(1.4rem, 1.2rem + .5vw, 1.875rem);
  font-weight: 600;
}
.approach__card-head img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.approach__card p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, .72);
}

/* ===================== Milestones timeline ===================== */
.milestones {
  background: #fff;
}
.milestones .container { padding-block: 5rem; }
@media (min-width: 1024px) { .milestones .container { padding-block: 7rem; } }

.timeline {
  position: relative;
  margin-top: 3.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #dcdcdc;
  transform: translateX(-50%);
}
.timeline__item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 0 3rem 3rem;
}
.timeline__item--left { left: 0; text-align: right; }
.timeline__item--right { left: 50%; text-align: left; }
.timeline__item:last-child { padding-bottom: 0; }

/* dot on the centre line */
.timeline__item::after {
  content: '';
  position: absolute;
  top: .35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1.5px var(--orange);
}
.timeline__item--left::after { right: -10px; }
.timeline__item--right::after { left: -10px; }

.timeline__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  margin-bottom: .35rem;
}
.timeline__content h3 {
  font-size: clamp(1.15rem, 1.05rem + .4vw, 1.5rem);
  font-weight: 500;
  margin-bottom: .6rem;
}
.timeline__content p {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, .72);
}

@media (max-width: 768px) {
  .timeline::before { left: 8px; }
  .timeline__item,
  .timeline__item--left,
  .timeline__item--right {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 2.5rem 2.5rem;
  }
  .timeline__item--left::after,
  .timeline__item--right::after { left: 0; right: auto; }
}

/* ===================== Board Members ===================== */
.board {
  background: var(--surface-gray);
}
.board .container { padding-block: 5rem; }
@media (min-width: 1024px) { .board .container { padding-block: 7rem; } }

.board__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: .5rem;
}
.board__track::-webkit-scrollbar { display: none; }

.member {
  position: relative;
  flex: 0 0 78%;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 442 / 574;
}
@media (min-width: 640px) { .member { flex-basis: 46%; } }
@media (min-width: 1024px) { .member { flex-basis: calc((100% - 4.5rem) / 4); } }

.member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .78) 100%);
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.member:hover .member__info,
.member:focus-within .member__info {
  transform: translateY(0);
  opacity: 1;
}
.member__info h3 { font-size: 1.25rem; font-weight: 600; }
.member__info p { font-size: .95rem; color: rgba(255, 255, 255, .85); margin-top: .15rem; }

.board__nav {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 2.5rem;
}

/* ===================== Certifications ===================== */
.certs {
  background: #fff;
}
.certs .container { padding-block: 5rem; }
@media (min-width: 1024px) { .certs .container { padding-block: 7rem; } }

.certs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) { .certs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .certs__grid { grid-template-columns: repeat(4, 1fr); } }

.cert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 8px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.cert:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.cert__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f1f1f1;
  color: #7b7b7b;
}
.cert__icon svg { width: 30px; height: 30px; }
.cert__text h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: .25rem; }
.cert__text p { font-size: 1rem; color: #7b7b7b; line-height: 1.3; }

/* ===================== Testimonials (B6 — reusable band) ===================== */
.testimonials { background: var(--surface-gray, #f6f7f3); }
.testimonials .container { padding-block: clamp(3.5rem, 2.5rem + 3vw, 6rem); }
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .4s var(--ease, ease), box-shadow .4s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-card, 0 12px 32px rgba(0, 0, 0, .08)); }
.testimonial__stars { color: var(--orange, #f07a1e); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial__quote {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, .8);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  font-weight: 600;
  color: var(--black, #14140f);
}
.testimonial__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; flex: none; }

/* ===================== Downloads Centre (B7) ===================== */
.downloads .container { padding-block: clamp(3rem, 2rem + 3vw, 5.5rem); }
.downloads__filter {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2.5rem;
}
.downloads__filter .chip.is-active {
  background: var(--green, #78a841);
  color: #fff;
  border-color: var(--green, #78a841);
}
.downloads__list { list-style: none; margin: 0; padding: 0; }
.downloads__list li + li { margin-top: .75rem; }
.downloads__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  text-decoration: none;
  color: var(--black, #14140f);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.downloads__list a:hover {
  border-color: var(--green, #78a841);
  box-shadow: var(--shadow-card, 0 12px 32px rgba(0, 0, 0, .08));
  transform: translateY(-2px);
}
.downloads__list .doc-list__name { font-weight: 600; display: inline-flex; align-items: center; gap: .6rem; }
.doc-list__tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--surface-gray, #f1f3ee);
  color: rgba(0, 0, 0, .6);
}
.downloads__list .doc-list__meta { color: rgba(0, 0, 0, .55); font-size: .95rem; white-space: nowrap; }
.downloads__empty { font-size: 1.0625rem; color: rgba(0, 0, 0, .65); }
.downloads__empty-cta { margin-top: 1.25rem; }

/* ---- Our Values ---- */
.avalues { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.avalues__lead { max-width: 78ch; margin: 0 auto 2.25rem; text-align: center; color: rgba(0,0,0,.7); line-height: 1.65; }
.avalues__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px)  { .avalues__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .avalues__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.avalue {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.avalue:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.avalue__num { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .06em; color: var(--green-dark); margin-bottom: .7rem; }
.avalue h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--black); margin: 0 0 .55rem; }
.avalue p { margin: 0; color: rgba(0,0,0,.68); line-height: 1.65; font-size: .95rem; }

/* Approach cards — equal height, comfortable paragraph rhythm */
.approach__card { display: flex; flex-direction: column; }
.approach__card-body { margin-top: .25rem; }
.approach__card-body p { margin: 0 0 .85rem; line-height: 1.7; color: rgba(0,0,0,.72); }
.approach__card-body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .approach__card-body p { font-size: .98rem; }
}
