@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600;1,700&family=Poppins:wght@400;500;600&display=swap');

:root {
  --red: #d90d1a;
  --blue: #0064ad;
  --ink: #090909;
  --muted: #f4f4f4;
  --line: #b9b9b9;
  --page: #ffffff;
  --content: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.shell {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
}

/* HERO */
.hero {
  position: relative;
  min-height: 890px;
  /*overflow: hidden;*/
  background: #fff;
}
.hero__inner {
  position: relative;
  width: min(1600px, calc(100% - 48px));
  min-height: 890px;
  margin: 0 auto;
}
.hero__copy {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 140px;
  width: 650px;
  transform: translateX(-50%);
  text-align: left;
}
.hero__title {
  margin: 0;
  line-height: 0;
}
.hero__title-logo {
  display: block;
  width: min(100%, 620px);
  height: auto;
}
.hero__event {
  margin: 36px 0 28px 80px;
  max-width: 450px;
  font-size: 18px;
  line-height: 1.26;
  text-align: center;
}
.hero__event strong { color: var(--red); font-weight: 500; }
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-left: 44px;
  width: 500px;
}
.outline-button,
.story-button {
  border: 1px solid #858585;
  background: #fff;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.outline-button {
  min-width: 210px;
  padding: 12px 24px;
  text-align: center;
  font-size: 18px;
}
.outline-button:hover,
.outline-button:focus-visible,
.story-button:hover,
.story-button:focus-visible { background: #111; color: #fff; }

.hero__logos {
  position: absolute;
  z-index: 4;
  right: 50px;
  bottom: 20px;
  display: flex;
  gap: 42px;
  align-items: end;
}
.hero__logo-item { width: 175px; text-align: center; }
.hero__logo-item small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  line-height: 1;
}
.hero__logo-item img { width: 100%; }

.hero-fragment { position: absolute; z-index: 1; }
.hero-fragment--left-top { width: 240px; left: 70px; top: 45px; }
.hero-fragment--right-top { width: 330px; right: 110px; top: 42px; }
.hero-fragment--left-mid { width: 365px; left: -25px; top: 585px; }
.hero-fragment--center { width: 370px; left: 50%; top: 680px; transform: translateX(-50%); z-index: 5; }
.hero-fragment--right-mid { width: 230px; right: -10px; top: 350px; }

/* INTRO */
.intro-wrap { position: relative; margin-top: -2px; padding-top: 65px; }
.intro {
  position: relative;
  width: min(1440px, calc(100% - 150px));
  margin: 0 auto;
  padding: 80px 100px 80px;
  background: #f3f3f3;
}
.intro::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -35px;
  width: 1px;
  height: 70px;
  background: #a9a9a9;
}
.intro__title {
  margin: 0 0 62px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
}
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, .8fr);
  gap: 100px;
  align-items: start;
}
.intro__body { font-size: 18px; line-height: 1.62; }
.intro__body p { margin: 0 0 25px; }
.intro__quote {
  position: relative;
  margin: 26px 0 0;
  padding-top: 34px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.14;
}
.intro__quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--red);
}
.intro__quote em { color: var(--red); font-style: inherit; }

/* STORIES */
.stories { padding: 125px 0 135px; }
.section-heading {
  margin: 0 0 46px;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
}
.section-heading em {
  color: var(--red);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.18em;
}
.story-grid {
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 72px 30px;
}
.story-card {
  flex: 0 0 calc((100% - 90px) / 4);
}
.story-card__image {
  width: 100%;
  height: auto;
}
.story-card__meta {
  margin-top: 16px;
  color: var(--red);
  font-size: 15px;
  line-height: 1.15;
}
.story-card__title {
  margin: 6px 0 14px;
  font-size: 22px;
  font-weight: 500;
}
.story-button {
  display: inline-block;
  min-width: 160px;
  padding: 8px 16px;
  font-size: 18px;
  line-height: 1;
  text-align: center;

}
.story-button[aria-disabled='true'] {
  cursor: pointer;
}

.ico-audio {position: relative; display: block;}
.ico-audio:before {position: absolute; left: 20px; bottom:20px; content:""; width:60px; height:60px;   background: url("../images/audio.svg") center center / contain no-repeat;
 }

/* ORGANIZATION */
.organization-wrap { padding-top: 80px; }
.organization {
  position: relative;
  width: min(1440px, calc(100% - 150px));
  margin: 0 auto;
  padding: 80px 100px 70px;
  background: #f3f3f3;
}
.organization__logos {
  position: absolute;
  left: 50%;
  top: -110px;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
}
.organization__logo-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 310px;
  height: 110px;
  padding: 22px 35px;
  border: 0;
  border-radius: 0;
  background: #f9f9f9;
  cursor: pointer;
  opacity: .58;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.organization__logo-tile + .organization__logo-tile { margin-left: 2px; }
.organization__logo-tile img {
  max-height: 75px;
  max-width: 100%;
  width: auto;
  pointer-events: none;
}
.organization__logo-tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
}
.organization__logo-tile[data-org-tab='duchenne'].is-active::after { background: var(--blue); }
.organization__logo-tile[data-org-tab='santhera'].is-active::after { background: var(--red); }
.organization__logo-tile.is-active {
  opacity: 1;
  z-index: 2;
  /*box-shadow: 0 -4px 16px rgba(0,0,0,.035);*/
  background: #f3f3f3;

}
.organization__logo-tile:hover { opacity: .82; }
.organization__logo-tile.is-active:hover { opacity: 1; }
.organization__logo-tile:focus-visible {
  outline: 2px solid #222;
  outline-offset: -4px;
}
.organization__panel[hidden] { display: none; }
.organization__panel.is-active { animation: organization-panel-in .25s ease both; }
@keyframes organization-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.organization__heading {
  margin: 8px 0 46px;
  text-align: center;
  font-size: 31px;
  font-weight: 500;
}
.organization__heading .red { color: var(--red); }
.organization__heading .blue { color: var(--blue); }
.organization__body {
  width: min(1120px, 100%);
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.56;
}
.organization__body p { margin: 0 0 24px; }
.organization__cta {
  margin-top: 48px;
  text-align: center;
  font-size: 29px;
  font-weight: 500;
}
.organization__url {
  display: block;
  margin-top: 10px;
  color: var(--red);
  text-align: center;
  text-decoration: none;
  font-size: 20px;
}
.organization__url--duchenne { color: var(--red); }
.organization__url--santhera { color: var(--blue); }
.footer {
  display: flex;
  justify-content: center;
  gap: 74px;
  padding: 68px 24px 62px;
  font-size: 15px;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(255,255,255,.82);
}
.modal.is-open { display: grid; }
.modal__dialog {
  position: relative;
  width: min(980px, 100%);
  min-height: 390px;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 44px;
  padding: 48px;
  background: #fff;
  border: 1px solid #e2e2e2;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.modal__image {
  width: 100%;
  height: 100%;
  min-height: 295px;
  object-fit: cover;
}
.modal__content { padding: 8px 8px 0 0; }
.modal__meta { color: var(--red); font-size: 14px; line-height: 1.2; }
.modal__title { margin: 6px 0 14px; font-size: 23px; font-weight: 500; }
.modal__copy { margin: 23px 0 0; font-size: 14px; line-height: 1.55; }
.modal__close {
  position: absolute;
  right: 25px;
  top: 22px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.modal__close::before,
.modal__close::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 5px;
  width: 2px;
  height: 22px;
  background: #111;
}
.modal__close::before { transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }

.audio-player {
  width: min(370px, 100%);
  display: grid;
  grid-template-columns: 34px 72px 1fr 28px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 30px;
  background: #f1f2f3;
  font-size: 11px;
}
.audio-player__play,
.audio-player__volume {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}
.audio-player__play { font-size: 15px; }
.audio-player__time { white-space: nowrap; }
.audio-player__track {
  position: relative;
  height: 4px;
  background: #8f8f8f;
  cursor: pointer;
}
.audio-player__progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #161616;
}
.audio-player__volume { font-size: 14px; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.modal-open { overflow: hidden; }

@media (max-width: 1400px) {

  .hero__copy {top: 200px; width: 500px;}

} 

@media (max-width: 1180px) {
  .hero { min-height: 760px; }
  .hero__inner { min-height: 760px; }
  .hero__copy { top: 105px; width: 560px; }
  .hero__event { margin-left: 45px; }
  .hero__actions { margin-left: 5px; }
  .hero-fragment--left-top { width: 205px; left: 24px; }
  .hero-fragment--right-top { width: 265px; right: 34px; }
  .hero-fragment--left-mid { width: 285px; left: -20px; top: 430px; }
  .hero-fragment--right-mid { width: 190px; right: 4px; top: 330px; }
  .hero-fragment--center { width: 300px; top: 590px; }
  .hero__logos { right: 72px; top: 595px; gap: 22px; }
  .hero__logo-item { width: 140px; }
  .intro { width: min(1050px, calc(100% - 80px)); padding: 150px 70px 100px; }
  .intro__grid { gap: 60px; }
  .story-grid { width: min(1100px, calc(100% - 60px)); gap: 58px 24px; }

  .organization { width: min(1050px, calc(100% - 80px)); padding-inline: 70px; }
}

@media (max-width: 820px) {
  body { font-size: 15px; }
  .shell { width: calc(100% - 32px); }
  .hero { min-height: 800px; }
  .hero__inner { min-height: 800px; width: 100%; }
  .hero__copy { top: 175px; width: min(420px, calc(100% - 40px)); text-align: center; }
  .hero__title-logo { width: min(100%, 540px); margin: 0 auto; }
  .hero__event { margin: 32px auto 24px; max-width: 390px; }
  .hero__actions { width: auto; margin: 0; gap: 12px; }
  .outline-button { min-width: 150px; padding: 11px 14px; }
  .hero-fragment--left-top { width: 150px; left: -16px; top: 0px; }
  .hero-fragment--right-top { width: 170px; right: -34px; top: 0px; }
  .hero-fragment--left-mid { width: 205px; left: -40px; top: 540px; }
  .hero-fragment--right-mid { width: 145px; right: -32px; top: 490px; }
  .hero-fragment--center { width: 230px; top: 655px; }
  .hero__logos { left: 50%; right: auto; top: 695px; transform: translateX(-50%); gap: 16px; }
  .hero__logo-item { width: 115px; }
  .hero__logo-item small { font-size: 8px; }

  .intro-wrap { padding-top: 25px; }
  .intro { width: calc(100% - 32px); padding: 120px 28px 75px; }
  .intro__title { margin-bottom: 40px; font-size: 25px; }
  .intro__grid { grid-template-columns: 1fr; gap: 22px; }
  .intro__quote { margin-top: 0; font-size: 22px; }
  .intro__quote::before { width: 55px; }

  .stories { padding: 100px 0 100px; }
  .story-grid { width: calc(100% - 32px); gap: 46px 18px; }
  .story-card { flex-basis: calc((100% - 18px) / 2); }
  .story-card__meta { font-size: 11px; }
  .story-card__title { font-size: 13px; }
  .story-button { min-width: 130px; }

  .organization-wrap { padding-top: 55px; }
  .organization { width: calc(100% - 32px); padding: 90px 28px 55px; }
  .organization__logos { top: -58px; }
  .organization__logo-tile { width: 180px; height: 82px; padding: 16px 22px; }
  .organization__heading { margin-top: 0; font-size: 25px; }
  .organization__cta { font-size: 24px; }
  .organization__url { font-size: 17px; }
  .footer { flex-wrap: wrap; gap: 18px 40px; padding-top: 45px; }

  .modal { padding: 18px; }
  .modal__dialog { grid-template-columns: 1fr; gap: 26px; padding: 48px 24px 28px; max-height: calc(100vh - 36px); overflow-y: auto; }
  .modal__image { width: min(360px, 100%); min-height: 0; max-height: 360px; margin: 0 auto; }
  .modal__content { padding: 0; }
}

@media (max-width: 520px) {
  .hero { min-height: 760px; }
  .hero__inner { min-height: 760px; }
  .hero__copy { top: 118px; }
  .hero__title-logo { width: min(100%, 390px); }
  .intro__body,
  .hero__event { font-size: 14px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .outline-button { width: 200px; }
  .hero-fragment--left-top { width: 115px; }
  .hero-fragment--right-top { width: 125px; }
  .hero-fragment--center { width: 195px; top: 610px; }
  .hero__logos { top: 665px; }
  .hero__logo-item { width: 100px; }
  .hero-fragment--left-mid, .hero-fragment--right-mid { opacity: .92; }
  .story-grid { width: min(360px, calc(100% - 36px)); }
  .story-card { flex-basis: 100%; }
  .organization__logo-tile { width: 150px; height: 76px; padding: 14px 18px; }
  .organization__heading { font-size: 22px; }
  .organization__body { font-size: 13px; }
  .footer { flex-direction: column; align-items: center; }
}

@media (max-width: 520px) {
  .hero__inner {min-height: 90vh; height: 100vh;}
  .hero-fragment--left-top { width: 30vw; left:0; top:0; }
  .hero-fragment--right-top { width: 40vw; right:0; top:0; }
  .hero-fragment--center { display: none;}
  .hero-fragment--left-mid {width: 40vw; left:0; top:auto; bottom:0;}
  .hero-fragment--right-mid {width: 28vw; right:0; top:auto; bottom:0;}
  .hero__logos {display: none;}
  .hero__copy {top:50%; transform: translate(-50%, -50%); font-size: 15px; }
  .outline-button {padding: 6px 14px; font-size: 15px; }
  .hero__event {margin: 20px auto 15px; }
  .hero__title-logo { width: min(100%, 280px);}
}


.story-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.story-modal.is-open { display:flex; }
.story-modal__dialog {
  position: relative;
  background:#fff;
  width:min(850px,100%);
  display:grid;
  grid-template-columns:320px 1fr;
  gap:35px;
  padding:35px;
}
.story-modal__dialog img {width:100%;height:100%;object-fit:cover;}
.story-modal__content h2 {font-size:28px;font-weight:500;}
.story-modal__close {position:absolute;right:15px;top:10px;border:0;background:none;font-size:32px;cursor:pointer;}
.story-modal__audio {background:#eee;border-radius:20px;padding:10px 18px;display:inline-block;}
@media(max-width:700px){.story-modal__dialog{grid-template-columns:1fr;}}
