@font-face {
  font-family: 'Futura EF';
  src: url('./fonts/FuturaEF-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura EF';
  src: url('./fonts/FuturaEF-BoldObl.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Futura EF Bold Oblique';
  src: url('./fonts/FuturaEF-BoldObl.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('./fonts/RobotoSlab-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('./fonts/RobotoSlab-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #087A99;
  --dark-blue: #05566B;
  --yellow: #FFD359;
  --text: #022028;
  --white: #ffffff;
  --header-h: clamp(62px, calc(100vw * 2 / 15 - 18px), 82px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--blue);
}

html.overscroll-yellow {
  background: var(--yellow);
}

html,
body {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  color: var(--text);
}

body {
  font-size: clamp(14px, calc(1vw + 5px), 16px);
}

.section {
  min-height: 100dvh;
  padding: 40px 20px;
}

.section:first-child {
  min-height: calc(100dvh - var(--header-h));
}

.section.is-hidden {
  display: none;
}

.section--yellow {
  background: var(--yellow);
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, calc(40vw - 360px), 80px);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr clamp(360px, calc(20vw + 160px), 380px);
  gap: clamp(40px, calc(10vw - 60px), 50px);
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.letter {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--text);
  padding: clamp(30px, calc(10vw - 70px), 40px);
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.letter p {
  margin-bottom: 0.75em;
}

.letter .letter__header {
  font-family: 'Futura EF', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 0.25em;
}

.letter strong {
  font-weight: 500;
}

.letter__sign {
  margin-top: 0;
}

.br-480 {
  display: none;
}

.letter__signature {
  display: block;
  width: 105px;
  height: auto;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.letter__photo {
  position: absolute;
  bottom: 0;
  right: clamp(-20px, calc(10vw - 110px), 0px);
  width: 220px;
  height: auto;
}

.form-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  align-self: start;
  padding: clamp(30px, calc(10vw - 70px), 40px);
  background: rgba(0, 0, 0, 0.07);
}

#send-status:empty {
  display: none;
}

.form-disclaimer {
  font-size: 10px;
}

.cf-turnstile {
  width: 100%;
  max-height: 0;
  margin-top: -12px;
  overflow: hidden;
  transition: max-height 0.2s ease, margin-top 0.2s ease;
}

.cf-turnstile--shown {
  max-height: 100px;
  margin-top: 0;
}

.send-error {
  max-height: 0;
  margin-top: -12px;
  overflow: hidden;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #c0392b;
  transition: max-height 0.2s ease, margin-top 0.2s ease;
}

.send-error--shown {
  max-height: 40px;
  margin-top: 0;
}

.form-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.form-names {
  display: contents;
}

.form-section input[type='text'],
.form-section input[type='email'],
.form-section button {
  width: 100%;
  padding: 8px;
}

.form-section input::placeholder {
  color: var(--text);
  opacity: 0.5;
}

.form-section input:focus {
  outline: none;
  border: 2px solid var(--blue);
}

.form-section button {
  border: none;
  background: var(--blue);
  color: var(--yellow);
  font-family: 'Futura EF', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
}

.form-section button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--white);
}

.form-section button:hover {
  background: color-mix(in srgb, var(--blue) 95%, white);
}

.form-section button:active {
  background: color-mix(in srgb, var(--blue) 95%, black);
}

.form-section input[type='radio'],
.form-section input[type='checkbox'] {
  accent-color: var(--blue);
}

.form-section input[type='radio']:focus-visible,
.form-section input[type='checkbox']:focus-visible {
  outline: 1px solid var(--blue);
  outline-offset: 0;
}

.form-section fieldset {
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-section label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-section label:has(input[type='checkbox']) {
  align-items: flex-start;
}

.form-section input[type='checkbox'] {
  margin-top: 1px;
}

.form-section form.submitted input[type='text']:invalid:not(:focus),
.form-section form.submitted input[type='email']:invalid:not(:focus) {
  border: 2px solid red;
}

.form-section form.submitted label:has(input:invalid) {
  color: red;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 80px;
}

.hero__title {
  font-family: 'Futura EF Bold Oblique';
  color: var(--blue);
  text-transform: uppercase;
  font-size: clamp(70px, calc(8.42vw - 5.79px), 110px);
  line-height: 0.95;
  max-width: 11ch;
}

h2.hero__title {
  font-size: clamp(70px, 8vw, 90px);
}

.hero__title--wide {
  max-width: calc(15ch - 50px);
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: clamp(400px, calc(50vw + 50px), 600px);
  line-height: 1.5;
}

.cta {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Futura EF', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.03em;
  padding: 16px 28px;
  text-align: center;
}

.cta:hover {
  background: color-mix(in srgb, var(--blue) 95%, white);
}

.cta:active {
  background: color-mix(in srgb, var(--blue) 95%, black);
}

.section--blue .hero__title {
  color: var(--yellow);
}

.section--blue .cta {
  background: var(--yellow);
  color: var(--blue);
}

.section--blue .cta:hover {
  background: color-mix(in srgb, var(--yellow) 95%, white);
}

.section--blue .cta:active {
  background: color-mix(in srgb, var(--yellow) 95%, black);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--header-h);
  padding: 0 clamp(20px, calc(20vw - 120px), 40px);
  background: var(--blue);
  border-bottom: 4px solid var(--white);
}

.site-footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 16px 20px;
  font-size: 14px;
  background: var(--blue);
  border-top: 4px solid var(--white);
  color: var(--white);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer--inverted a:hover {
  color: var(--blue);
}

.site-footer--inverted {
  background: var(--yellow);
  color: var(--text);
}

.bar-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-family: 'Futura EF', sans-serif;
  font-weight: 700;
  font-size: clamp(0px, 8vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.bar-title__tld {
  transition: opacity 0.125s ease, font-size 0.125s ease;
}

.fl-placeholder {
  position: absolute;
  top: clamp(30px, calc(100vw / 15 - 10px), 40px);
  left: clamp(30px, calc(100vw / 15 - 10px), 40px);
  z-index: 10;
  transition: opacity 0.125s ease;
}

.fl-placeholder img {
  display: block;
  height: clamp(60px, calc(100vw * 2 / 15 - 20px), 80px);
  width: auto;
}

.rolle {
  position: fixed;
  bottom: 0;
  right: clamp(-40px, calc(20vw - 220px), 0px);
  z-index: 10;
  transition: transform 0.4s ease;
}

.rolle--hidden {
  transform: translateX(100%);
}

.rolle__img {
  display: block;
  height: clamp(300px, calc(50vw - 50px), 60vh);
  width: auto;
}

.rolle__caption {
  position: absolute;
  z-index: 2;
  top: 28%;
  right: calc(6% + 10px);
  width: fit-content;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 3px;
}

.rolle__caption strong {
  font-family: 'Futura EF', sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}

.text-fade {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25vh;
  z-index: 9;
  pointer-events: none;
  background: var(--dark-blue);
  transition: transform 0.4s ease;
}

.initiative {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.125s ease;
}

.initiative__eyebrow {
  font-size: clamp(9px, calc(3vw - 12px), 12px);
  letter-spacing: 0.02em;
}

.initiative__logo {
  display: block;
  width: clamp(105px, calc(35vw - 140px), 140px);
  height: auto;
}

@media (max-width: 649.98px) {
  .initiative {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

@media (max-width: 499.98px) {
  .fl-placeholder {
    top: 15px;
    left: 15px;
  }
  .fl-placeholder img {
    height: 30px;
  }
  .site-footer {
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 0.3em;
  }
}

@media (min-width: 340px) and (max-width: 379.98px) {
  .bar-title__tld {
    opacity: 0;
    font-size: 0;
  }
}

@media (max-width: 339.98px) {
  .fl-placeholder {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 300px) {
  .bar-title__tld {
    transition: none;
  }
}

@media (max-width: 900px) {
  .rolle__caption {
    top: auto;
    bottom: clamp(30px, calc(340vw - 2860px), 200px);
    right: calc(6% + clamp(10px, calc(55px - 5vw), 20px));
  }
  .form-wrap {
    grid-template-columns: 1fr;
  }
  .form-names {
    display: flex;
    gap: 12px;
  }
  .form-names input {
    flex: 1;
    min-width: 0;
  }
  .form-section fieldset {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }
  .letter,
  .form-col {
    padding: 40px;
  }
}

@media (max-width: 700px) {
  .rolle {
    transform: translateX(100%);
  }
}

@media (max-width: 600px) {
  .hero__title,
  h2.hero__title {
    font-size: clamp(50px, calc(15vw - 20px), 70px);
  }
  .form-section,
  .letter,
  .form-col {
    padding: clamp(20px, calc(10vw - 20px), 40px);
  }
  .hero {
    padding: clamp(40px, calc(20vw - 40px), 80px);
  }
  .form-names {
    display: contents;
  }
  .form-names input {
    flex: initial;
  }
  .form-section fieldset {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .br-480 {
    display: inline;
  }
}

@media (max-width: 380px) {
  .form-col {
    background: none;
    padding: 0;
  }
}

@media (max-width: 360px) {
  .letter__photo {
    display: none;
  }
}

@media (max-width: 340px) {
  .form-col {
    min-width: 0;
  }
}


