/* Minimal reset */

* {
  margin: 0;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
  font-family: inherit;
}

a,
abbr,
acronym,
b,
cite,
code,
dfn,
em,
i,
label,
q,
span,
strong,
time {
  font-size: inherit;
  font-weight: inherit;
}

/* end minimal reset */

:root {
  --color-main: hsl(18, 100%, 46%);
  --color-light: hsl(0, 41%, 97%);
  --color-light-pop: white;
  --color-foreground: hsl(224, 18%, 24%);
  --color-highlight-dark: hsla(50, 100%, 70%, 100%);
  --color-highlight: hsla(50, 100%, 80%, 100%);
  --color-highlight-light: hsla(50, 100%, 90%, 100%);
  --color-main-highlight: hsl(18, 100%, 56%);
  --base-font-size: clamp(1.1em, calc(0.95em + 0.675vw), 1.4em);
  --box-shadow:
    0.05rem 0.1rem 0.15rem hsl(0 0 0 / 0.05),
    0.075rem 0.15rem 0.225rem hsl(0 0 0 / 0.05),
    0.125rem 0.25rem 0.375rem hsl(0 0 0 / 0.05),
    0.2rem 0.4rem 0.6rem hsl(0 0 0 / 0.05),
    0.3rem 0.6rem 0.9rem hsl(0 0 0 / 0.05);

  --box-shadow-heavy:
    0.05rem 0.1rem 0.15rem hsl(0 0 0 / 0.15),
    0.075rem 0.15rem 0.225rem hsl(0 0 0 / 0.15),
    0.125rem 0.25rem 0.375rem hsl(0 0 0 / 0.15);
}

:root {
  font-family: lexend, -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
  font-optical-sizing: auto;
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/quicksand-medium.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/lexend-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/lexend-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
  font-size: var(--base-font-size);
}

body {
  color: var(--color-foreground);
  background-image: linear-gradient(to bottom right,
      var(--color-light),
      #f6f3eb);
  line-height: 1.4;
  min-width: 32ch;
}

.container {
  width: clamp(300px, calc(100% - 4em), 40em);
  box-sizing: content-box;
  margin: 0 auto;
  padding: 0;
}

header {
  color: var(--color-light);
  background: var(--color-main);
  width: 100%;
  padding-top: 1em;
  padding-bottom: 2em;
  margin: 0 0 0 0;
  clip-path: polygon(100% 0%, 0% 0%, 0.00% 85.45%, 2.00% 85.67%, 4.00% 85.92%, 6.00% 86.21%, 8.00% 86.53%, 10.00% 86.89%, 12.00% 87.28%, 14.00% 87.70%, 16.00% 88.15%, 18.00% 88.62%, 20.00% 89.12%, 22.00% 89.63%, 24.00% 90.16%, 26.00% 90.71%, 28.00% 91.26%, 30.00% 91.82%, 32.00% 92.38%, 34.00% 92.95%, 36.00% 93.51%, 38.00% 94.07%, 40.00% 94.62%, 42.00% 95.15%, 44.00% 95.67%, 46.00% 96.18%, 48.00% 96.66%, 50.00% 97.12%, 52.00% 97.55%, 54.00% 97.95%, 56.00% 98.33%, 58.00% 98.66%, 60.00% 98.97%, 62.00% 99.24%, 64.00% 99.47%, 66.00% 99.66%, 68.00% 99.80%, 70.00% 99.91%, 72.00% 99.98%, 74.00% 100.00%, 76.00% 99.98%, 78.00% 99.92%, 80.00% 99.81%, 82.00% 99.67%, 84.00% 99.48%, 86.00% 99.25%, 88.00% 98.99%, 90.00% 98.69%, 92.00% 98.35%, 94.00% 97.98%, 96.00% 97.58%, 98.00% 97.15%, 100.00% 96.69%);
}

header>div {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

@media only screen and (min-width: 100ch) {
  header>div {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.main-header {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  align-items: center;
  justify-content: flex-start;
}

.navigation>ul,
.icon-only-navigation>ul {
  margin: 0 auto 0 auto;
  padding-left: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.icon-only-navigation>ul {
  margin-top: -0.5rem;
}

header .navigation {
  padding-bottom: 0.5rem;
}

header .navigation:last-child {
  padding-bottom: 0
}

footer .navigation {
  padding-bottom: 1rem;
}

.navigation li,
.icon-only-navigation li {
  text-align: center;
  line-height: 1.2rem;
  white-space: nowrap;
  margin-bottom: 0;
  font-size: calc(var(--base-font-size) * 0.68);
}

.navigation li::after {
  padding-left: 1ch;
  padding-right: 1ch;
  content: "⋅"
}

.navigation li:last-child::after {
  content: ""
}

.icon-only-navigation li {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}


.main {
  min-height: 15em;
}

h1 {
  font-weight: bold;
  font-size: calc(var(--base-font-size) * 2);
  line-height: 1.2;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

header {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
}

header svg.logo {
  padding-top: calc(var(--base-font-size) * 0.14);
  height: calc(var(--base-font-size) * 2.3);
}

footer svg.logo {
  margin: 0 auto 0 auto;
}

header h1 {
  max-width: 15ch;
  font-size: calc(var(--base-font-size) * 0.94);
  text-align: left;
  margin: 0;
}

header a,
footer a,
.icon-only-navigation a {
  text-decoration: none;
  background: none;
  color: var(--color-light);
  padding: 0;
  margin: 0;
}

footer p {
  font-size: calc(var(--base-font-size) * 0.68);
}

header a:hover,
footer a:hover {
  background-color: var(--color-main-highlight);
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0 1rem 0;
}

.title h1 {
  text-align: left;
  margin-top: 0;
  margin-bottom: 1rem;
}

h2 {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: bold;
}

h4 {
  font-size: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: bold;
}

h3:first-child,
h4:first-child {
  padding-top: 0;
}

p,
h3,
li,
figcaption {
  margin-bottom: 1rem;
}

li>h3,
li>h4 {
  margin-bottom: 0;
}

ul {
  padding-inline-start: 1.5rem;
  list-style: disc outside;
}

strong {
  font-weight: bold;
}

em {
  font-weight: inherit;
}

a {
  color: var(--color-foreground);
  background-color: var(--color-highlight-light);
  text-decoration-color: rgb(10 13 19 / 0.25);
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  margin-left: -0.1rem;
  margin-right: -0.1rem;
  border-radius: 0.2rem;
}

a:hover {
  background-color: var(--color-highlight-dark);
}

a.call-to-action {
  display: block;
  clear: both;
  background-color: var(--color-highlight);
  font-weight: bold;
  margin: 2rem auto 2.5rem auto;
  padding: 0.4rem;
  text-decoration: none;
  text-align: center;
  text-wrap: balance;
  max-width: 20ch;
  border-radius: 0.2rem;
  box-shadow: var(--box-shadow);
}

a.call-to-action:hover {
  background-color: var(--color-highlight-dark);
  box-shadow: var(--box-shadow-heavy);
}

.benefits-list>ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  list-style: none;
  padding-inline-start: 0;
  gap: 2ch;
}

.benefits-list>ul>li {
  flex-basis: 100%;
  flex-grow: 1;
  margin-bottom: 0;
  position: relative;
}

.benefits-list>ul>li:has(.call-to-action) {
  padding-bottom: 6rem;
}

.benefits-list>ul>li>.call-to-action {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: min(20ch, calc(100% - 4ch));
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

@media only screen and (min-width: 80ch) {
  .benefits-list>ul>li {
    flex-basis: 35%;
  }
}

blockquote p {
  display: inline;
}

blockquote p:not(:last-child)::after {
  content: "\a";
  display: block;
  white-space: pre;
}

.testimonial,
.facilitators li,
.scholarship-coaches li,
.benefits-list>ul>li,
.table-of-contents {
  box-shadow: var(--box-shadow);
  background-color: var(--color-light-pop);
  border-radius: 1ch;
}

.testimonial,
.facilitators li,
.scholarship-coaches li,
.benefits-list>ul>li {
  padding: 0 2ch 0 2ch;
}

.table-of-contents {
  padding: 1rem 2ch 0.01rem 4ch;
  margin-bottom: 2rem;
}

.testimonial,
.scholarship-coach,
.facilitator {
  display: flex;
  justify-content: space-between;
  container-type: inline-size;
  flex-direction: column;
}

.headshot,
.headshot-and-social-navigation {
  display: none;
}

.testimonial figure {
  align-self: center;
  margin: 0;
  width: 100%;
}


.testimonial .headshot,
.scholarship-coach .headshot,
.facilitator .headshot {
  display: block;
  border-radius: 50%;
  width: 7.5rem;
  height: 7.5rem;
  margin: 1rem auto 0 auto;
  box-shadow: var(--box-shadow);
}

@media (min-width: 80ch) {

  .testimonial,
  .scholarship-coach,
  .facilitator {
    flex-direction: row;
    gap: 2ch;
  }

  .testimonial:nth-of-type(even),
  .scholarship-coach:nth-of-type(even),
  .facilitator:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .testimonial .headshot,
  .scholarship-coach .headshot,
  .facilitator .headshot {
    width: 10rem;
    height: 10rem;
    margin: 1rem 0 1rem 0;
  }
}

.inline-image {
  margin-top: 0.32rem
}

.inline-image>img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
}

.inline-image>p {
  font-size: 66%;
  text-align: center;
}

.sidebar {
  margin-bottom: 1rem;
}

@media only screen and (min-width: 80ch) {
  .headshot-and-social-navigation {
    display: block;
  }

  .headshot-and-social-navigation .headshot {
    display: block;
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    margin: 0 0 1rem 0;
    box-shadow: var(--box-shadow);
  }

  .inline-image.inset,
  .sidebar.inset,
  .table-of-contents {
    box-sizing: border-box;
    width: calc(40% - 1rem);
  }

  .table-of-contents {
    margin-bottom: 1rem;
  }

  .inline-image.inset:nth-of-type(even),
  .sidebar.inset:nth-of-type(even),
  .table-of-contents {
    float: left;
    margin-right: 2rem;
  }

  .inline-image.inset:nth-of-type(odd),
  .sidebar.inset:nth-of-type(odd) {
    float: right;
    margin-left: 2rem;
  }
}

ul.testimonials,
ul.scholarship-coaches,
ul.facilitators {
  list-style: none;
  padding-inline-start: 0;
}

ul.testimonials li,
ul.scholarship-coaches li,
ul.facilitators li {
  margin-bottom: 1.5rem;
}

blockquote::before {
  content: open-quote;
}

blockquote::after {
  content: close-quote;
}

blockquote {
  font-style: italic;
  font-variation-settings: 'LXND' 6;
  margin: 1rem 0 0.5rem 0;
  quotes: "“" "”" "‘" "’";
  text-indent: -0.58ch;
}

/* If there's support, erase the indent and use the property instead */
@supports (hanging-punctuation: first) {
  blockquote {
    text-indent: 0;
    hanging-punctuation: first;
  }
}

.quote-author {
  text-align: right;
}

.quote-author:before {
  content: "― ";
}

.note {
  font-style: italic;
  font-variation-settings: 'LXND' 6;
}

.accordion>input[type="checkbox"] {
  position: absolute;
  left: -100vw;
}

.accordion .content {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-out;
  overflow-y: hidden;
  max-height: 0;
  opacity: 0;
}

.accordion>input[type="checkbox"]:checked~.content {
  max-height: 100rem;
  opacity: 1;
}

.accordion label {
  margin-left: 2ch;
  text-indent: -2ch;
  display: block;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}

/* Accordion styling */
.accordion>input[type="checkbox"]~.handle {
  transition: margin-bottom 0.3s ease-in-out;
}

.accordion>input[type="checkbox"]:checked~.handle {
  margin-bottom: 1rem;
}

.accordion .handle {
  margin-bottom: 0;
  border-top: solid 1px;
}

.accordion .content {
  margin-left: 2.5ch;
}

.accordion .handle label:before {
  content: "➤";
  width: 1rem;
  display: inline-block;
  margin-top: -0.2rem;
  margin-right: -1.5ch;
  margin-left: 2ch;
  vertical-align: middle;
  transform-origin: -1.5ch 1ch;
  transition: rotate 0.3s ease-in-out;
}

.accordion>input[type="checkbox"]:checked~.handle label:before {
  rotate: 90deg;
}

footer {
  color: var(--color-light);
  background: var(--color-main);
  margin-top: 1rem;
  padding: 4rem 0 2rem 0;
  clip-path: polygon(100% 100%, 0% 100%, 0.00% 0.15%, 2.00% 0.22%, 4.00% 0.31%, 6.00% 0.40%, 8.00% 0.51%, 10.00% 0.63%, 12.00% 0.76%, 14.00% 0.90%, 16.00% 1.05%, 18.00% 1.21%, 20.00% 1.37%, 22.00% 1.54%, 24.00% 1.72%, 26.00% 1.90%, 28.00% 2.09%, 30.00% 2.27%, 32.00% 2.46%, 34.00% 2.65%, 36.00% 2.84%, 38.00% 3.02%, 40.00% 3.21%, 42.00% 3.38%, 44.00% 3.56%, 46.00% 3.73%, 48.00% 3.89%, 50.00% 4.04%, 52.00% 4.18%, 54.00% 4.32%, 56.00% 4.44%, 58.00% 4.55%, 60.00% 4.66%, 62.00% 4.75%, 64.00% 4.82%, 66.00% 4.89%, 68.00% 4.93%, 70.00% 4.97%, 72.00% 4.99%, 74.00% 5.00%, 76.00% 4.99%, 78.00% 4.97%, 80.00% 4.94%, 82.00% 4.89%, 84.00% 4.83%, 86.00% 4.75%, 88.00% 4.66%, 90.00% 4.56%, 92.00% 4.45%, 94.00% 4.33%, 96.00% 4.19%, 98.00% 4.05%, 100.00% 3.90%);
}

footer .container {
  padding-bottom: 1.5rem;
}

footer p {
  text-align: center;
}

.logo {
  display: block;
  fill: var(--color-light);
  margin: 0;
  height: 4rem;
}

.icon {
  position: relative;
  bottom: -0.16em;
  filter: invert(15%);
  height: 1.25em;
}

.navigation .icon {
  margin-right: 0.25ch;
  height: 1em;
}

footer .icon,
header .icon {
  filter: invert(95%);
}