/*-------------------------------------------------------------------------*/
/* !  Tokens */
:root {
  --width-gutter: 20px;
  --width-page: calc(1190px + 2 * var(--width-gutter));
  --font-main: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --font-header: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --color-maroon: #8E0038;
  --color-orange: #FF4404;
  --color-gold: #FFCF00;
  --color-pink: #FF30B2;
  --color-cream: #FAF8F0;
  --color-black: #121212;
  --color-white: #ffffff;
  --color-border: rgba(152, 0, 63, 0.42);
  --color-muted: rgba(18, 18, 18, 0.72);
  --size-heading: 46px;
  --size-intro-large: 34px;
  --size-intro-small: 30px;
  --size-text: 20px;
  --size-footnote: 14px;
  --size-crosshead: 20px;
  --size-text-bold: 20px;
  --size-text-big-bold: 26px;
  --line-heading: 1;
  --line-intro-large: 1.0486;
  --line-intro-small: 1.05;
  --line-text: 1.2;
  --line-footnote: 1.2;
  --header-height: 100px;
  --header-padding-y: 20px;
  --section-spacing-y: 40px;
  --radius-large: 34px;
  --radius-medium: 18px;
  --shadow-soft: 0 18px 40px rgba(18, 18, 18, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

#top {
  scroll-margin-top: calc(var(--header-height) + 2 * var(--header-padding-y));
}

body {
  margin: 0;
  color: var(--color-black);
  background: var(--color-cream);
  font-family: var(--font-main);
  font-size: var(--size-text);
  font-weight: 200;
  line-height: var(--line-text);
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.remove-scrolling {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 40px;
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 5.05rem);
  font-weight: 600;
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 3vw, var(--size-heading));
  line-height: var(--line-heading);
}

p,
li {
  font-size: clamp(1rem, 1.2vw, var(--size-text));
  line-height: var(--line-text);
}

ul {
  padding-left: 1.2rem;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-maroon);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

.intro-large {
  font-size: clamp(1.65rem, 2.4vw, var(--size-intro-large));
  font-weight: 600;
  line-height: var(--line-intro-large);
}

.intro-small {
  font-size: clamp(1.4rem, 2vw, var(--size-intro-small));
  font-weight: 600;
  line-height: var(--line-intro-small);
}

.text-big-bold {
  font-size: clamp(1.3rem, 1.8vw, var(--size-text-big-bold));
  font-weight: 600;
  line-height: 1.08;
}

/*-------------------------------------------------------------------------*/
/* !  Layout */
.wrap {
  width: 100%;
  max-width: var(--width-page);
  padding: 0 var(--width-gutter);
  margin: 0 auto;
}

.grid-2,
.grid-12 {
  width: 100%;
  max-width: var(--width-page);
  padding: 0 var(--width-gutter);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.section {
  padding: var(--section-spacing-y) 0;
}

/*-------------------------------------------------------------------------*/
/* !  Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(152, 0, 63, 0.08);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  padding-top: var(--header-padding-y);
  padding-bottom: var(--header-padding-y);
}

.site-logo {
  display: inline-flex;
  align-items: flex-end;
  flex: 0 0 auto;
  max-width: 420px;
}
.site-logo__image {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  font-size: 16px;
  font-weight: 200;
  padding-bottom: 2px;
}
.site-nav a {
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after {
  transform: scaleX(1);
}
.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav-toggle {
  display: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.site-nav-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-maroon);
  transition: transform 180ms ease, opacity 180ms ease;
}
.site-nav-toggle span + span {
  margin-top: 9px;
}

/*-------------------------------------------------------------------------*/
/* !  Hero */
.hero {
  overflow: hidden;
  background: radial-gradient(circle at right 20%, rgba(255, 255, 255, 0.18), transparent 34%), linear-gradient(180deg, #f5c70e 0%, #efbd06 100%);
}
.hero__inner {
  align-items: start;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero__copy {
  grid-column: 1/span 6;
  max-width: 39rem;
}
.hero__copy span {
  color: var(--color-maroon);
}
.hero__intro {
  margin-bottom: 20px;
}
.hero__lead {
  max-width: 34rem;
  margin-bottom: 0;
}
.hero__media {
  grid-column: 8/span 5;
  display: flex;
  justify-content: flex-end;
}
.hero__portrait {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero__portrait-image {
  width: 100%;
}
.hero__brand-mark {
  position: absolute;
  left: -32.083333%;
  bottom: -4.166667%;
  width: 52.916667%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/*-------------------------------------------------------------------------*/
/* !  Crisis */
.section-crisis h2 {
  color: var(--color-maroon);
}
.section-crisis__grid {
  align-items: start;
}

.section-heading {
  max-width: 32rem;
}
.section-heading--center {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.crisis-panel {
  padding: 20px;
  border: 1px solid var(--color-black);
  border-radius: 14px;
}
.crisis-panel__crosshead {
  margin-bottom: 20px;
  font-size: var(--size-crosshead);
  font-weight: 600;
  line-height: 1.2;
}
.crisis-panel__graph-image {
  width: 100%;
  height: auto;
}
.crisis-panel__footnote {
  margin: 20px 0 0;
  font-size: var(--size-footnote);
  line-height: var(--line-footnote);
}
.crisis-panel__footnote a {
  text-decoration: none;
}
.crisis-panel__footnote a:hover, .crisis-panel__footnote a:focus-visible {
  text-decoration: underline;
}

.crisis-copy p {
  margin-bottom: 1rem;
  font-size: 20px;
  line-height: 24px;
}
.crisis-copy ul {
  margin-bottom: 0;
}
.crisis-copy li {
  font-size: 20px;
  line-height: 24px;
}

/*-------------------------------------------------------------------------*/
/* !  Programme */
.section-programme {
  color: var(--color-white);
  background: var(--color-orange);
}
.section-programme p {
  color: var(--color-white);
}
.section-programme__grid {
  align-items: start;
}

.programme-copy p {
  margin-bottom: 0;
  color: var(--color-black);
}

.programme-badge {
  display: flex;
  justify-content: center;
}
.programme-badge__image {
  display: block;
  width: 92%;
  max-width: 380px;
  height: auto;
}

/*-------------------------------------------------------------------------*/
/* !  Contact */
.section-contact {
  position: relative;
}
.section-contact__inner {
  max-width: 800px;
}
.section-contact h2 {
  color: var(--color-maroon);
  text-align: center;
}
.section-contact .section-heading--center {
  margin: 0 auto 40px;
  max-width: 800px;
}
.section-contact .intro-small {
  text-align: left;
}

.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-maroon);
  box-shadow: 0 0 0 4px rgba(152, 0, 63, 0.12);
}
.contact-form__field input {
  height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}
.contact-form__field textarea {
  min-height: 168px;
  resize: vertical;
}
.contact-form__field.has-error input,
.contact-form__field.has-error textarea {
  border-color: #ca2338;
  background: #fff4f5;
  box-shadow: 0 0 0 2px rgba(202, 35, 56, 0.14);
}
.contact-form__field--checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 4px;
}
.contact-form__field--checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-maroon);
  border-radius: 999px;
  background: var(--color-white);
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.contact-form__field--checkbox input:checked {
  background: radial-gradient(circle at center, var(--color-maroon) 0 42%, transparent 44% 100%), var(--color-white);
  box-shadow: 0 0 0 4px rgba(142, 0, 56, 0.12);
  transform: scale(1.02);
}
.contact-form__field--checkbox input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(142, 0, 56, 0.12);
}
.contact-form__field--checkbox label {
  font-size: var(--size-footnote);
  line-height: var(--line-footnote);
  color: var(--color-black);
  cursor: pointer;
}
.contact-form__field--checkbox.has-error input {
  border-color: #ca2338;
  box-shadow: 0 0 0 2px rgba(202, 35, 56, 0.14);
}
.contact-form__field--checkbox.has-error label {
  color: #ca2338;
}
.contact-form__trap {
  position: absolute;
  left: -9999px;
}
.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.contact-form__actions button {
  border: 0;
  border-radius: 999px;
  height: 40px;
  padding: 0 24px;
  color: var(--color-white);
  background: var(--color-maroon);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.contact-form__actions button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.contact-form__status {
  margin: 0;
  flex: 0 0 100%;
  min-height: 1.5em;
  font-size: clamp(1.4rem, 2vw, var(--size-intro-small));
  font-weight: 600;
  line-height: var(--line-intro-small);
}
.contact-form__status.is-error {
  color: #ca2338;
}
.contact-form__status.is-success {
  color: #1e6c3a;
}

/*-------------------------------------------------------------------------*/
/* !  Footer */
.site-footer {
  padding: 24px 0;
  color: rgba(18, 18, 18, 0.72);
  background: var(--color-gold);
  font-size: 14px;
  line-height: 1.2;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover, .site-footer a:focus-visible {
  text-decoration: underline;
}
.site-footer__left {
  display: grid;
  gap: 10px;
  max-width: 560px;
}
.site-footer__right {
  text-align: right;
}

/*-------------------------------------------------------------------------*/
/* !  Responsive */
@media (max-width: 920px) {
  .site-header__inner {
    align-items: center;
  }
  .site-nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
    align-self: center;
  }
  .site-nav {
    position: fixed;
    inset: var(--header-height) var(--width-gutter) auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav a {
    display: block;
    padding: 8px 0;
    font-size: 30px;
    line-height: 1.05;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__copy,
  .hero__media {
    grid-column: auto;
  }
  .hero__media {
    order: -1;
    justify-content: center;
    margin-bottom: 40px;
  }
  .hero__brand-mark {
    left: -12%;
    bottom: -4.166667%;
    width: 40%;
  }
  .section-crisis__grid,
  .section-programme__grid {
    grid-template-columns: 1fr;
  }
  .programme-badge {
    order: -1;
  }
  .section-heading--center {
    margin-bottom: 32px;
  }
}
@media (max-width: 640px) {
  :root {
    --width-gutter: 18px;
    --header-height: 82px;
  }
  h1 {
    font-size: clamp(2rem, 9vw, 3.35rem);
  }
  h2 {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }
  .section {
    padding: var(--section-spacing-y) 0;
  }
  .site-logo {
    max-width: 260px;
  }
  .hero__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero__brand-mark {
    left: -8%;
    bottom: -3%;
    width: 34%;
  }
  .contact-form__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
