/* EPS on Fire — vanilla layout, mobile-first */

:root {
  --color-bg: #f4efea;
  --color-white: #fff;
  --color-purple: #240a7a;
  --color-orange: #ffa44a;
  --color-peach: #f2dbc5;
  --color-amber: #ffc285;
  --color-orange-deep: #f28e2a;
  --color-lavender: rgba(187, 174, 233, 0.49);
  --color-media-placeholder: rgba(0, 0, 0, 0.2);
  --font-heading: "Sofia Sans Condensed", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --font-sub: "Asap Condensed", system-ui, sans-serif;
  --space-section: clamp(3rem, 8vw, 6.25rem);
  --container: min(1168px, calc(100% - 2rem));
  --radius-pill: 44px;
  --shadow-soft: 0 1px 2px rgba(36, 10, 122, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-purple);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-purple);
  color: var(--color-white);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ——— Header / hero ——— */
.site-header {
  position: relative;
  background: var(--color-bg);
  overflow: clip;
  padding-bottom: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(187, 174, 233, 0.35), transparent 55%),
    radial-gradient(ellipse 100% 70% at 0% 10%, rgba(255, 164, 74, 0.12), transparent 50%);
}

.site-header__inner {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  padding: 1rem 1.25rem 0;
  display: flex;
  justify-content: flex-end;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.75rem;
}

.brand-line__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.hero-heading-wrap {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
}

.hero-title {
  margin: 0 auto;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--color-purple);
}

.hero-title__line {
  display: block;
}

.hero-title__line--small {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(0.72rem, 2.8vw, 1.15rem);
}

.hero-title__line--large {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.65rem, 6.5vw, 4.25rem);
  line-height: 1.05;
}

.hero-title__line--sub {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: clamp(0.72rem, 2.8vw, 1.15rem);
}

.hero-rules {
  max-width: 19rem;
  margin: 0.35rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-rules__line {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-purple) 15%, var(--color-purple) 85%, transparent);
  border-radius: 2px;
}

.hero-rules__line--thin {
  height: 1px;
  opacity: 0.85;
}

.hero-lead {
  margin: 1.25rem auto 0;
  max-width: 21rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.hero-photo {
  margin: 1.25rem 0 0;
  position: relative;
}

.hero-photo img {
  width: 100%;
  object-fit: cover;
  min-height: 12rem;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .hero-heading-wrap {
    padding-top: 2.5rem;
    max-width: 50rem;
  }

  .hero-title {
    max-width: 49rem;
  }

  .hero-rules {
    max-width: 49rem;
  }

  .hero-lead {
    max-width: 28rem;
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .hero-photo img {
    min-height: 24rem;
  }
}

/* ——— Sections ——— */
.section {
  padding-block: var(--space-section);
}

.section--intro {
  background: var(--color-white);
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  max-width: 20ch;
}

.prose p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  max-width: 65ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.intro-media {
  width: 100%;
  min-height: 12rem;
  background: var(--color-media-placeholder);
}

@media (min-width: 900px) {
  .intro-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .intro-copy {
    flex: 1 1 45%;
  }

  .intro-media {
    flex: 1 1 50%;
    min-height: 22rem;
    max-width: 36rem;
  }
}

/* Framework */
.section--framework {
  padding-block: 0 0;
  background: var(--color-bg);
}

.framework-head {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

@media (max-width: 899px) {
  .framework-head .title-deco {
    display: none;
  }
}

.framework-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--color-orange);
  max-width: 20ch;
  margin-inline: auto;
}

.title-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}

.title-deco__line {
  display: block;
  width: min(100%, 12rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor 12%, currentColor 88%, transparent);
  border-radius: 1px;
}

.title-deco--orange {
  color: var(--color-orange);
}

.title-deco--purple {
  color: var(--color-purple);
}

.framework-panel {
  background: var(--color-purple);
  padding: clamp(2.5rem, 6vw, 6.25rem) 1.25rem;
  margin-top: 0;
}

.pillar-grid {
  display: grid;
  gap: 2.75rem;
}

.pillar__icon {
  width: 4rem;
  height: auto;
}

.pillar__title {
  margin: 1rem 0 0.75rem;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--color-white);
  text-transform: capitalize;
}

.pillar__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

@media (min-width: 900px) {
  .framework-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 2rem 3.5rem 1rem;
    max-width: 1280px;
    margin-inline: auto;
  }

  .framework-title {
    max-width: 24ch;
  }

  .title-deco .title-deco__line {
    width: 100%;
    max-width: none;
  }

  .title-deco--flip {
    transform: scaleX(-1);
  }

  .pillar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
  }
}

/* Stakeholders */
.section--stakeholders {
  background: var(--color-bg);
  padding-top: clamp(2.5rem, 6vw, 3rem);
}

.stakeholders-intro {
  margin-bottom: 1.5rem;
}

.stakeholders-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 20ch;
}

.stakeholders-intro__sub {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.25;
  max-width: 48ch;
}

.stakeholder-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stakeholder-row {
  display: flex;
  flex-direction: column;
}

.stakeholder-row__media {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
}

.stakeholder-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}

.stakeholder-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, rgba(36, 10, 122, 0.25));
}

.stakeholder-row--reverse .stakeholder-row__media::after {
  background: linear-gradient(100deg, rgba(36, 10, 122, 0.22) 0%, transparent 65%);
}

.stakeholder-row:nth-child(3) .stakeholder-row__media::after {
  background: linear-gradient(95deg, rgba(36, 10, 122, 0.22) 30%, transparent 75%);
}

.stakeholder-row__label {
  position: absolute;
  bottom: 1.25rem;
  right: 1rem;
  left: auto;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--color-white);
  text-align: right;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.stakeholder-row--reverse .stakeholder-row__label {
  left: 1rem;
  right: auto;
  text-align: left;
}

.stakeholder-row__panel {
  padding: 1.875rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stakeholder-row__panel p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 65ch;
}

.stakeholder-row__panel--peach {
  background: var(--color-peach);
}

.stakeholder-row__panel--amber {
  background: var(--color-amber);
}

.stakeholder-row__panel--orange {
  background: var(--color-orange-deep);
}

.stakeholder-row__panel--orange p {
  color: var(--color-purple);
}

.stakeholder-row--reverse .stakeholder-row__panel p {
  text-align: left;
}

@media (min-width: 900px) {
  .stakeholder-row {
    flex-direction: row;
    align-items: stretch;
    max-width: 1280px;
    margin-inline: auto;
  }

  .stakeholder-row__media,
  .stakeholder-row__panel {
    flex: 1 1 50%;
    min-height: 24.5rem;
  }

  .stakeholder-row__media img {
    min-height: 24.5rem;
  }

  .stakeholder-row__panel {
    justify-content: center;
    padding: 2rem 3.25rem;
  }

  .stakeholder-row--reverse {
    flex-direction: row-reverse;
  }

  .stakeholder-row--reverse .stakeholder-row__panel p {
    text-align: right;
  }

  .stakeholder-row--reverse .btn {
    align-self: flex-end;
  }

  .stakeholder-row:not(.stakeholder-row--reverse) .stakeholder-row__label {
    right: 2rem;
    bottom: 2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  width: fit-content;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 10, 122, 0.12);
}

.btn:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.btn--pill {
  background: var(--color-white);
  color: var(--color-purple);
  text-transform: capitalize;
}

.btn--primary {
  background: var(--color-purple);
  color: var(--color-white);
  font-size: 1.125rem;
  padding: 1rem 1.5rem;
  border-radius: 38px;
}

.btn--primary:hover {
  color: var(--color-white);
}

/* FAQ */
.section--faq {
  background: var(--color-bg);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.faq-head {
  text-align: center;
  padding-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .faq-head .title-deco {
    display: none;
  }
}

.faq-title {
  margin: 0 auto;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  line-height: 1.2;
  color: var(--color-orange);
  max-width: 22ch;
}

@media (min-width: 768px) {
  .faq-title {
    color: var(--color-purple);
    max-width: none;
  }

  .faq-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem 1rem;
    text-align: center;
  }

  .faq-head .faq-title {
    grid-column: 2;
  }

  .faq-head .faq-intro {
    grid-column: 1 / -1;
  }

  .faq-head .title-deco--purple:first-of-type {
    justify-self: end;
  }

  .faq-head .title-deco--purple.title-deco--flip {
    justify-self: start;
    transform: scaleX(-1);
  }
}

.faq-intro {
  margin: 1rem auto 0;
  max-width: 48ch;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  line-height: 1.25;
  color: var(--color-purple);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 72rem;
  margin-inline: auto;
}

.accordion__item {
  background: var(--color-white);
  border: 1px solid var(--color-purple);
}

.accordion__heading {
  margin: 0;
  font-size: 1rem;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  min-height: 3.25rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.8125rem, 2vw, 1rem);
  line-height: 1.45;
  text-transform: capitalize;
  color: var(--color-purple);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.accordion__trigger:hover {
  background: rgba(36, 10, 122, 0.04);
}

.accordion__icon {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid var(--color-orange);
  transition: transform 0.2s ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  padding: 0 1.25rem 1rem;
  border-top: 1px solid rgba(36, 10, 122, 0.2);
}

.accordion__panel[hidden] {
  display: none;
}

.accordion__panel p {
  margin: 0;
  padding-top: 0.25rem;
  font-size: 0.9375rem;
  max-width: 65ch;
}

/* About */
.section--about {
  position: relative;
  background: var(--color-lavender);
  padding: clamp(2.5rem, 7vw, 4rem) 1.25rem;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background: radial-gradient(circle at 90% 40%, rgba(255, 164, 74, 0.15), transparent 45%);
}

.about-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 1;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 28ch;
}

.about-logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.about-logo img:first-child {
  width: min(16rem, 70vw);
  height: auto;
}

.about-logo img:last-child {
  width: 3.5rem;
  height: auto;
}

@media (min-width: 900px) {
  .about-grid {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }

  .about-copy {
    flex: 1 1 55%;
    max-width: 44rem;
  }

  .about-logo {
    flex: 0 0 auto;
    align-self: center;
  }
}

/* Footer */
.site-footer {
  background: var(--color-peach);
  padding: clamp(2rem, 5vw, 3rem) 1rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.footer-tagline__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--color-purple);
}

.footer-tagline__small {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
}

.footer-tagline__large {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.25rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.footer-tagline__sub {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.72rem;
}

.footer-rules {
  max-width: 19rem;
  margin: 0.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-rules__line {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-purple) 12%, var(--color-purple) 88%, transparent);
}

.footer-rules__line--thin {
  height: 1px;
  opacity: 0.85;
}

.footer-initiative {
  margin: 0.75rem 0 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 22rem;
}

.footer-contact__label {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
}

.footer-contact__body {
  margin: 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1rem;
  }

  .footer-tagline {
    flex: 1 1 auto;
    max-width: 32rem;
  }

  .footer-tagline__title {
    text-align: center;
  }

  .site-footer__inner .footer-tagline {
    text-align: center;
  }

  .footer-contact {
    flex-direction: row;
    justify-content: flex-end;
    gap: 3.5rem;
    max-width: none;
    flex: 0 1 auto;
  }

  .footer-contact > div {
    text-align: center;
    min-width: 10rem;
  }
}
