/* About page — hospital-credible, polished full layout */

.about-page {
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.about-top {
  padding: 3.75rem 0 2.25rem;
  position: relative;
}

.about-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(110, 196, 188, 0.16), transparent 70%),
    radial-gradient(480px 200px at 92% 10%, rgba(21, 104, 176, 0.1), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.about-top-inner .eyebrow {
  display: inline-flex;
}

.about-top-inner h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  max-width: 15ch;
  margin: 0.55rem 0 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.about-top-inner p {
  max-width: 42rem;
  margin: 0 0 0.95rem;
  color: var(--navy-soft);
  font-size: 1.04rem;
}

.about-lead {
  font-size: 1.14rem !important;
  color: var(--navy) !important;
  font-weight: 500;
}

/* Story: text LEFT, image RIGHT */
.about-story,
.about-page .about-story {
  padding: 1.5rem 0 3.5rem;
}

.about-story-grid,
.about-page .about-story-grid {
  display: block;
}

.about-page .about-story-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.about-page .about-story-media,
.about-page figure.about-story-media {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(7, 26, 43, 0.14),
    0 0 0 1px rgba(211, 224, 232, 0.8);
}

.about-page .about-story-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.about-page .about-cta-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
  padding: 1.9rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about-page .about-cta-actions.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.about-page .about-cta-card .wp-block-button__link {
  border-radius: 999px !important;
  padding: 0.82rem 1.35rem !important;
  font-weight: 650 !important;
}

.about-page .about-cta-card .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)) !important;
  color: #fff !important;
}

.about-page .about-cta-card .is-style-outline .wp-block-button__link {
  background: rgba(237, 244, 247, 0.65) !important;
  color: var(--navy) !important;
  border: 1.5px solid rgba(11, 31, 51, 0.18) !important;
}

.about-page .eyebrow {
  display: inline-flex;
}

@media (max-width: 960px) {
  .about-page .about-story-columns {
    grid-template-columns: 1fr !important;
  }
}

.about-story-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
}

.about-story-copy h2 + p {
  margin: 0 0 1.85rem;
  color: var(--muted);
  max-width: 36rem;
}

.about-story-copy h2:last-of-type + p {
  margin-bottom: 0;
}

.about-story-media {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(7, 26, 43, 0.14),
    0 0 0 1px rgba(211, 224, 232, 0.8);
  min-height: 420px;
  justify-self: stretch;
}

.about-story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(7, 26, 43, 0.38), transparent);
  pointer-events: none;
}

.about-story-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.03);
  transition: transform 10s ease;
}

.about-page:hover .about-story-media img {
  transform: scale(1.07);
}

/* Approach */
.about-approach-wrap {
  padding: 1rem 0 3.5rem;
}

.about-approach-wrap h2 {
  margin: 0 0 1.35rem;
}

.about-approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.about-approach-list li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, #fff, #f7fbfc);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-soft);
  border-radius: 0 0 12px 12px;
  color: var(--navy);
  font-weight: 650;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-top-color 0.35s ease;
}

.about-approach-list li span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.about-approach-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(7, 26, 43, 0.1);
  border-top-color: var(--teal);
}

/* Vision — inset from edges, heading reads cleanly */
.about-vision-band {
  margin: 0.5rem 0 3rem;
  padding: 3.4rem 0;
  background: linear-gradient(125deg, #071a2b 0%, #123049 48%, #185265 100%);
  color: #fff;
}

.about-vision-inner {
  /* keep normal .container side inset — do not pin to screen edge */
  max-width: var(--max);
}

.about-vision-label {
  margin: 0 0 0.65rem;
  color: var(--teal-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-vision-inner h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  max-width: none;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.about-vision-inner p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 46rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .about-vision-inner h2 {
    white-space: normal;
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    max-width: 22ch;
  }
}

/* Business Wales Green Growth Pledge */
.about-pledge-wrap {
  padding: 0.25rem 0 3.5rem;
}

.about-pledge-panel,
.about-page .about-pledge-panel {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.6rem) clamp(1.25rem, 3vw, 2.4rem);
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 15% 0%, rgba(110, 196, 188, 0.18), transparent 70%),
    radial-gradient(380px 160px at 90% 100%, rgba(143, 196, 80, 0.12), transparent 65%),
    linear-gradient(180deg, #f7fbfa 0%, #ffffff 55%, #f4faf8 100%);
  border: 1px solid rgba(31, 154, 144, 0.18);
  box-shadow: 0 18px 40px rgba(7, 26, 43, 0.06);
}

.about-pledge-panel .eyebrow,
.about-page .about-pledge-panel .eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
}

.about-pledge-panel h2,
.about-page .about-pledge-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}

.about-pledge-copy,
.about-page .about-pledge-copy {
  margin: 0 auto 1.85rem !important;
  color: var(--muted) !important;
  max-width: 38rem;
  line-height: 1.65;
  font-size: 1.02rem;
}

.about-pledge-logos,
.about-page .about-pledge-logos,
.about-page .wp-block-group.about-pledge-logos,
.about-page .about-pledge-logos > .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: clamp(1.75rem, 5vw, 3.5rem) !important;
  background: transparent !important;
  width: 100%;
}

.about-pledge-item,
.about-page .about-pledge-item,
.about-page .wp-block-group.about-pledge-item,
.about-page .about-pledge-item > .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.85rem !important;
  min-width: 150px;
  flex: 0 0 auto !important;
  background: transparent !important;
}

@media (max-width: 560px) {
  .about-pledge-logos,
  .about-page .about-pledge-logos,
  .about-page .about-pledge-logos > .wp-block-group__inner-container {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }

  .about-pledge-logo,
  .about-page figure.about-pledge-logo {
    width: 128px;
    height: 128px;
  }
}

.about-pledge-logo,
.about-page figure.about-pledge-logo {
  margin: 0 !important;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff !important;
  box-shadow:
    0 0 0 1px rgba(31, 154, 144, 0.14),
    0 14px 28px rgba(7, 26, 43, 0.1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.about-pledge-item:hover .about-pledge-logo,
.about-page .about-pledge-item:hover figure.about-pledge-logo {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(31, 154, 144, 0.22),
    0 18px 34px rgba(7, 26, 43, 0.14);
}

.about-pledge-logo img,
.about-page .about-pledge-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #fff !important;
}

.about-pledge-caption,
.about-page .about-pledge-caption {
  margin: 0 !important;
  color: var(--navy) !important;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
}

.about-pledge-caption span,
.about-page .about-pledge-caption span {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .about-pledge-logo,
  .about-page figure.about-pledge-logo {
    width: 128px;
    height: 128px;
  }
}

/* CTA + animated buttons */
.about-cta-wrap {
  padding-bottom: 1rem;
}

.about-cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
  padding: 1.9rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about-cta-copy h2 {
  margin: 0 0 0.45rem;
  font-size: 1.5rem;
}

.about-cta-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
  flex-shrink: 0;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    filter 0.28s ease;
}

.about-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 20px rgba(21, 104, 176, 0.28);
  border: 1.5px solid transparent;
}

.about-btn-primary:hover,
.about-btn-primary:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(21, 104, 176, 0.38);
}

.about-btn-ghost {
  color: var(--navy) !important;
  background: rgba(237, 244, 247, 0.65);
  border: 1.5px solid rgba(11, 31, 51, 0.18);
}

.about-btn-ghost:hover,
.about-btn-ghost:focus-visible {
  transform: translateY(-2px);
  color: var(--blue-deep) !important;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 10px 22px rgba(7, 26, 43, 0.08);
}

.about-btn:active {
  transform: translateY(0);
}

/* Scroll reveals */
.about-page .spz-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--spz-delay, 0ms);
}

.about-page .about-story-media.spz-reveal {
  transform: translateX(28px);
}

.about-page .spz-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-story-media {
    order: -1;
    min-height: 300px;
  }

  .about-story-media img {
    min-height: 300px;
  }

  .about-approach-list {
    grid-template-columns: 1fr 1fr;
  }

  .about-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-cta-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .about-page .about-story-media.spz-reveal {
    transform: translateY(18px);
  }
}

@media (max-width: 560px) {
  .about-approach-list {
    grid-template-columns: 1fr;
  }

  .about-btn {
    width: 100%;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .spz-reveal,
  .about-btn,
  .about-approach-list li,
  .about-story-media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
