/* About page: one interactive editorial composition between the hero and partners. */
body[data-page="about"] .page-hero-about .page-hero-copy { transform: translateY(-42px); }
body[data-page="about"] .page-hero-about h1 { max-width: 13ch; }
body[data-page="about"] .page-hero-about p { max-width: 34ch; }
body[data-page="about"] .page-hero-about h1 .heading-accent {
  color: #bd5527;
  background: linear-gradient(115deg, #aa4821 8%, #d87a3b 49%, #b64f25 92%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(139, 67, 30, .12));
}

body[data-page="about"] .about-editorial {
  padding: 0;
  color: #005461;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  scroll-margin-top: 98px;
}
body[data-page="about"] .about-editorial-intro {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
}
body[data-page="about"] .about-editorial-title {
  margin: 0;
  color: #005461;
  font-size: clamp(2.4rem, 3.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
body[data-page="about"] .about-editorial-title span { color: #c35b25; }
@keyframes about-year-color-flow {
  0% { background-position: 0% 20%, 95% 80%, 0 0; }
  48% { background-position: 55% 72%, 38% 18%, 0 0; }
  100% { background-position: 100% 30%, 0% 70%, 0 0; }
}
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(17px, 2vw, 27px);
  margin-top: clamp(19px, 2vw, 28px);
}
.about-story-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: min(100%, 650px); justify-self: end; padding: 5px; border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(247,238,223,.48)); box-shadow: inset 0 1px 4px rgba(50,84,79,.06), 0 5px 14px rgba(50,84,79,.035); }
.about-story-tab-indicator { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 18px; background: linear-gradient(135deg, #087280, #005461); box-shadow: 0 8px 16px rgba(0,84,97,.19), inset 0 1px 0 rgba(255,255,255,.26); pointer-events: none; transition: transform .48s cubic-bezier(.2,.75,.2,1), width .48s cubic-bezier(.2,.75,.2,1), height .48s cubic-bezier(.2,.75,.2,1); }
.about-story-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 9px 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #537277;
  font: inherit;
  font-size: clamp(.95rem, 1.05vw, 1.1rem);
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  cursor: pointer;
  transition: color .28s ease, background-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.about-story-tab[aria-selected="true"] { color: #fffaf1; }
.about-story-tab:hover:not([aria-selected="true"]) { color: #005461; background: rgba(244,231,210,.64); }
.about-story-tab:focus-visible { outline: 2px solid #c35b25; outline-offset: 3px; border-radius: 5px; }
.about-story-stage { position: relative; min-width: 0; height: clamp(395px, 29vw, 440px); }
.about-story-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(325px, .93fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(0,84,97,.1);
  border-radius: clamp(24px, 2.5vw, 36px);
  background: radial-gradient(ellipse at 100% 0%, rgba(248, 218, 176, .23), transparent 58%), linear-gradient(135deg, #fffefa, #f7f1e7);
  box-shadow: 0 19px 42px rgba(26,73,72,.11), 0 4px 11px rgba(26,73,72,.045), inset 0 1px 0 #fff;
}
.about-story-panel[hidden] { display: none; }
.about-story-photo { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #d8d7d0; }
.about-story-photo::after { position: absolute; inset: 0; background: linear-gradient(142deg, rgba(255,255,255,.12), transparent 43%, rgba(0,45,52,.10)); box-shadow: inset -1px 0 rgba(255,255,255,.25); pointer-events: none; content: ''; }
.about-story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#about-story-panel-1 .about-story-photo img { object-fit: cover; object-position: center; }
#about-story-panel-2 .about-story-photo img { object-position: 52% 36%; }
#about-story-panel-3 .about-story-photo img { object-position: 50% 50%; }
#about-story-panel-4 .about-story-photo img { object-position: 70% 50%; }
.about-story-caption { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3vw, 44px); }
.about-story-caption h3 { width: 100%; margin: 0 0 15px; color: #005461; font-size: clamp(2rem, 2.6vw, 3.05rem); line-height: 1.04; letter-spacing: -.05em; }
.about-story-caption p { width: 100%; margin: 0; color: #41676b; font-size: clamp(1.02rem, 1.24vw, 1.25rem); line-height: 1.45; }
.about-story-points { display: grid; gap: 12px; width: 100%; margin: 18px 0 0; padding: 0; list-style: none; }
.about-story-points li { display: flex; align-items: flex-start; gap: 12px; padding: 0; color: #005461; font-size: clamp(.95rem, 1.04vw, 1.1rem); font-weight: 650; line-height: 1.35; }
.about-story-points li::before { flex: 0 0 13px; width: 13px; height: 13px; margin-top: .31em; border-radius: 5px 8px 5px 8px; background: linear-gradient(135deg, #f0a36d, #c35b25); box-shadow: inset 0 1px 1px rgba(255,255,255,.48), 0 2px 5px rgba(195,91,37,.18); content: ''; }

body[data-page="about"] .about-capacity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.4vw, 54px);
  width: min(100% - 48px, 1390px);
  margin: clamp(36px, 4vw, 62px) auto clamp(48px, 5vw, 76px);
  padding: 0;
}
.about-capacity-item { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.about-capacity-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .08em .18em;
  min-height: 1.15em;
  margin: 0;
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.05;
}
.about-capacity-value strong {
  color: #bd5527;
  font-size: clamp(3.15rem, 4.4vw, 5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  font-variant-numeric: normal;
  white-space: nowrap;
  background-image:
    radial-gradient(ellipse 54% 88% at 34% 42%, rgba(255, 218, 158, .97) 0%, rgba(230, 146, 75, .7) 38%, transparent 78%),
    radial-gradient(ellipse 46% 72% at 66% 56%, rgba(223, 116, 53, .66) 0%, transparent 76%),
    linear-gradient(120deg, #a94520, #c8642f 48%, #9d3e1e);
  background-size: 170% 145%, 165% 155%, 100% 100%;
  background-position: 0% 20%, 95% 80%, 0 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 226, 194, .85)) drop-shadow(0 5px 5px rgba(134, 59, 22, .13));
  animation: about-year-color-flow 13s ease-in-out infinite alternate;
}
.about-capacity-item:is(:first-child, :nth-child(2)) .about-capacity-value strong::first-letter { letter-spacing: -.12em; }
.about-capacity-value sup { position: relative; top: -.3em; margin-left: .04em; font-size: .56em; line-height: 0; letter-spacing: 0; }
.about-capacity-value span { color: #005461; font-size: clamp(1.75rem, 2.15vw, 2.5rem); font-weight: 700; letter-spacing: -.035em; }
.about-capacity-item:nth-child(2) .about-capacity-value span { margin-left: .16em; }
.about-capacity-item:nth-child(3) .about-capacity-value span { margin-left: .08em; }
.about-capacity-label { max-width: 25ch; margin: 8px 0 0; color: #005461; font-size: clamp(1.22rem, 1.5vw, 1.55rem); font-weight: 750; line-height: 1.24; }

/* Restore the individual logo cards; they bring the colour and detail to this page. */
.about-partners-heading h2 { max-width: 19ch; }
.about-partners-heading p { max-width: 23ch; }

body[data-page="about"] .about-location {
  background: transparent !important;
  box-shadow: none;
  padding-block: clamp(54px, 6vw, 102px);
}
body[data-page="about"] .about-location-copy h2 { max-width: 13ch; margin-bottom: clamp(22px, 2.5vw, 34px); }
.about-location-copy address { border-left-width: 2px; }
body[data-page="about"] .about-location-meta strong,
body[data-page="about"] .about-location-meta a {
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -.015em;
}
body[data-page="about"] .about-location-routes .button {
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -.015em;
}

body[data-page="about"] .about-contacts {
  background: linear-gradient(145deg, #f5efe2, #fffaf1) !important;
  box-shadow: 0 14px 36px rgba(0,67,76,.065);
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
}
.about-contacts-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.about-contacts-heading p { margin: 0 0 4px; }
body[data-page="about"] .about-contacts-general {
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(125deg, #006776, #004c58);
  box-shadow: 0 14px 30px rgba(0,67,76,.12);
}
body[data-page="about"] .about-contacts-general > div,
body[data-page="about"] .about-contacts-general > div:first-child {
  min-height: 147px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 28px clamp(24px,3vw,50px);
}
body[data-page="about"] .about-contacts-general > div + div { border-left: 1px solid rgba(255,255,255,.24); }
body[data-page="about"] .about-contacts-general span,
body[data-page="about"] .about-contacts-general a,
body[data-page="about"] .about-contacts-general small { color: #fffaf0; }
body[data-page="about"] .about-contacts-general span,
body[data-page="about"] .about-contacts-general small { opacity: .78; }
body[data-page="about"] .about-contacts-general span { font-weight: 600; }
body[data-page="about"] .about-contacts-general a {
  font-weight: 600;
  letter-spacing: -.015em;
}
body[data-page="about"] .about-contacts-general small { font-weight: 400; }
body[data-page="about"] .about-contact-groups { gap: 0; margin-top: 28px; }
body[data-page="about"] .about-contact-group,
body[data-page="about"] .about-contact-group[open] {
  border: 0;
  border-bottom: 1px solid rgba(0,84,97,.17);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-page="about"] .about-contact-group summary { padding-inline: 4px; }
body[data-page="about"] .about-contact-group summary > span {
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -.025em;
}
body[data-page="about"] .about-people-grid { gap: 0 22px; padding-inline: 0; }
body[data-page="about"] .about-person,
body[data-page="about"] .about-person-lead {
  padding: 20px 4px 23px;
  border: 0;
  border-top: 1px solid rgba(0,84,97,.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-page="about"] .about-people-single .about-person { border-top: 0; padding: 4px 0 20px; }
body[data-page="about"] .about-person > span { font-weight: 600; }
body[data-page="about"] .about-person h3 { font-weight: 650; letter-spacing: -.02em; }
body[data-page="about"] .about-person a { font-weight: 500; letter-spacing: -.01em; }

@media (max-width: 1000px) {
  body[data-page="about"] .about-editorial-intro { grid-template-columns: 1fr; gap: 16px; }
  .about-story-tabs { width: 100%; justify-self: stretch; }
  .about-capacity-value strong { font-size: clamp(2.55rem, 5vw, 3.4rem); }
  .about-capacity-value span { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
  .about-capacity-label { font-size: clamp(1rem, 1.9vw, 1.25rem); }
  .about-story-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-story-stage { height: 460px; }
  .about-story-panel { grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); }
  .about-story-tab { min-height: 56px; font-size: 1rem; }
}
@media (max-width: 700px) {
  body[data-page="about"] .about-capacity { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 24px; margin: 31px auto 49px; padding: 0; }
  .about-capacity-value strong { font-size: clamp(3.15rem, 13vw, 4.15rem); }
  .about-capacity-value span { font-size: clamp(1.95rem, 8vw, 2.5rem); }
  .about-capacity-label { margin-top: 5px; font-size: clamp(1.28rem, 5vw, 1.55rem); }
  body[data-page="about"] .page-hero-about .page-hero-copy { transform: none; padding-top: 22px; }
  body[data-page="about"] .about-editorial { padding: 0; border-radius: 0; }
  body[data-page="about"] .about-editorial-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .about-story { margin-top: 16px; gap: 15px; }
  .about-story-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 4px; border-radius: 17px; }
  .about-story-tab { min-height: 50px; padding: 8px 2px; border-radius: 13px; font-size: clamp(.75rem, 3.15vw, .92rem); }
  .about-story-stage { height: auto; min-height: 0; }
  .about-story-panel { grid-template-columns: 1fr; border-radius: 21px; }
  .about-story-photo { min-height: 0; height: clamp(215px, 62vw, 345px); }
  .about-story-caption { min-height: 300px; padding: 25px 22px 28px; }
  .about-story-caption h3 { max-width: none; margin: 0 0 13px; font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .about-story-caption p { font-size: 1rem; }
  .about-story-points { margin-top: 18px; padding-top: 0; }
  .about-story-points li { font-size: .95rem; }
  .about-contacts-heading { display: block; }
  .about-contacts-heading p { margin-top: 9px; }
  body[data-page="about"] .about-contacts-general { grid-template-columns: 1fr; border-radius: 24px; }
  body[data-page="about"] .about-contacts-general > div,
  body[data-page="about"] .about-contacts-general > div:first-child { min-height: 0; padding: 22px 24px; }
  body[data-page="about"] .about-contacts-general > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.24); }
  body[data-page="about"] .about-contact-group summary { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="about"] .about-partner-card { transition: none; }
  .about-story-tab, .about-story-tab-indicator { transition: none; }
  .about-capacity-value strong { animation: none; }
}
