:root {
  color-scheme: light;
  --ink: #111;
  --paper: #f2f0eb;
  --white: #fff;
  --accent: #e53b2c;
  --muted: #686868;
  --line: #cbc8c1;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #1261a0;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 3px solid var(--white);
  font-size: 1.05rem;
}

.brand-name {
  font-size: .9rem;
  letter-spacing: .05em;
}

.nav-list {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--white);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: .35rem;
}

.hero {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: calc(100svh - 92px);
  margin-inline: auto;
  padding: clamp(2rem, 6vh, 5rem) 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}

.hero-copy,
.funding-card,
.section-heading,
.section-copy,
.investment-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: #9b1e14;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .2em;
}

h1,
h2 {
  margin: 0;
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

h1 {
  max-width: 740px;
  font-size: clamp(3.25rem, 7vw, 7rem);
  overflow-wrap: anywhere;
}

h1 span {
  color: var(--accent);
}

.hero-intro {
  max-width: 600px;
  margin: 2rem 0 1.4rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.text-link {
  display: inline-block;
  padding-block: .5rem;
  font-size: .9rem;
  font-weight: 800;
  text-underline-offset: .35rem;
}

.funding-card {
  padding: clamp(1rem, 2.5vw, 2rem);
  background: var(--white);
  border-top: 8px solid var(--accent);
  box-shadow: 0 24px 60px rgb(0 0 0 / 12%);
}

.funding-label,
.banner-hint {
  margin: 0;
}

.funding-label {
  margin-bottom: .9rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.banner-button {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.banner-button img {
  width: 100%;
  border: 1px solid #b8b8b8;
}

.banner-button:hover img {
  box-shadow: 0 0 0 4px var(--accent);
}

.banner-hint {
  margin-top: .8rem;
  color: #555;
  font-size: .79rem;
}

.statement {
  overflow: hidden;
  padding: 1.4rem 1rem;
  background: var(--accent);
  color: var(--white);
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.statement p {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(.8rem, 1.4vw, 1.1rem);
  font-weight: 900;
  letter-spacing: .06em;
}

.content-section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 10rem) 0;
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.section-number {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: .95;
}

.section-copy,
.investment-copy {
  max-width: 560px;
}

.section-copy p,
.investment-copy p {
  margin-top: 0;
}

.lead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
}

.outline-button {
  display: inline-block;
  margin-top: 1rem;
  padding: .9rem 1.2rem;
  border: 2px solid var(--ink);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.outline-button:hover {
  background: var(--ink);
  color: var(--white);
}

.investment {
  background: var(--ink);
  color: var(--white);
}

.investment-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 10rem) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow-light {
  color: #ff766b;
}

.eu-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #666;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eu-note-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1.45;
  background: #084298;
  color: #ffda44;
  font-size: .8rem;
  font-weight: 900;
}

.eu-note p {
  margin: 0;
  font-size: .86rem;
  font-weight: 700;
}

.contact {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 8vw, 9rem);
}

.contact-details {
  font-style: normal;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.contact-details div:last-child {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-details a,
.contact-details p:not(.contact-label) {
  display: block;
  margin: 0 0 .55rem;
  font-size: 1.03rem;
  font-weight: 700;
  text-underline-offset: .3rem;
}

.contact-label {
  margin: 0 0 .9rem;
  color: #595959;
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.site-footer {
  padding: 1.4rem max(1rem, calc((100% - var(--max-width)) / 2));
  background: var(--accent);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.poster-dialog {
  width: min(94vw, 780px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgb(0 0 0 / 45%);
}

.poster-dialog::backdrop {
  background: rgb(0 0 0 / 78%);
}

.dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 1rem 1.2rem;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-header h2 {
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.close-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.poster-body {
  padding: 1rem;
}

.poster-body img {
  width: 100%;
}

.poster-actions {
  margin: 0;
  padding: 0 1rem 1.5rem;
  text-align: center;
  font-weight: 700;
}

.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;
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 80px;
  }

  .nav-list {
    gap: .8rem;
  }

  .nav-list a {
    font-size: .74rem;
  }

  .nav-list li:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .content-section {
    grid-template-columns: 45px 1fr;
  }

  .section-copy {
    grid-column: 2;
  }

  .investment-inner,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-name {
    display: none;
  }

  .nav-list li:first-child {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 3.6rem);
  }

  .statement {
    justify-content: flex-start;
    flex-direction: column;
    gap: .35rem;
  }

  .content-section {
    grid-template-columns: 1fr;
  }

  .section-number {
    display: none;
  }

  .section-copy {
    grid-column: auto;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details div:last-child {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .funding-card,
  .outline-button,
  .close-button {
    border: 2px solid ButtonText;
  }
}

/* Training Room visual language */
:root {
  --paper: #fff;
  --accent: #ec4c25;
  --muted: #7b7b7b;
  --line: #dedede;
}

body {
  background: #fff;
  color: #686868;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  background: rgb(0 0 0 / 82%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.header-inner {
  min-height: 88px;
}

.brand {
  width: clamp(190px, 17vw, 270px);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-list a {
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  padding: clamp(7.5rem, 16vh, 10rem) max(1rem, calc((100% - var(--max-width)) / 2)) 3rem;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 86%) 0%, rgb(0 0 0 / 58%) 48%, rgb(0 0 0 / 30%) 100%),
    url("assets/training-room-hero.jpg") center 35% / cover no-repeat;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 7px;
  background: var(--accent);
}

.hero .eyebrow {
  color: #ff704a;
}

h1,
h2 {
  color: #000;
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  letter-spacing: -.04em;
}

.hero h1 {
  color: #fff;
  max-width: 10ch;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  line-height: .92;
}

.hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 7px;
  margin-top: 1.5rem;
  background: var(--accent);
}

.hero-intro {
  max-width: 520px;
  margin-top: 1.5rem;
  color: #fff;
}

.text-link {
  color: #fff;
}

.funding-card {
  align-self: center;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-top: 5px solid var(--accent);
  box-shadow: 0 20px 55px rgb(0 0 0 / 38%);
  color: #111;
}

.statement {
  padding: 1.1rem 1rem;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #e4e4e4;
}

.statement p::before {
  content: "•";
  margin-right: clamp(1rem, 3vw, 3rem);
  color: var(--accent);
}

.content-section {
  position: relative;
  grid-template-columns: 50px .85fr 1fr;
  padding-bottom: clamp(20rem, 38vw, 34rem);
}

.content-section .eyebrow,
.contact .eyebrow {
  color: #9b321d;
}

.section-number {
  color: var(--accent);
}

.about-image {
  position: absolute;
  inset: auto 0 0;
  height: clamp(17rem, 32vw, 28rem);
  margin: 0;
  overflow: hidden;
  background: #111;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 42%), transparent 65%);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.outline-button {
  border-color: #111;
  color: #111;
}

.investment {
  position: relative;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 96%), rgb(0 0 0 / 77%)),
    url("assets/training-room-action.jpg") center / cover no-repeat;
}

.investment h2 {
  color: #fff;
}

.investment-copy {
  color: #d1d1d1;
}

.eu-note-mark {
  background: #9f2d17;
  color: #fff;
}

.contact {
  background: #fff;
}

.contact-details a,
.contact-details p:not(.contact-label) {
  color: #222;
}

.site-footer {
  background: #111;
  border-top: 5px solid var(--accent);
}

@media (max-width: 800px) {
  .site-header {
    background: #111;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    background-position: 60% center;
  }

  .content-section {
    grid-template-columns: 40px 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 150px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.1rem);
  }

  .statement p::before {
    margin-right: .7rem;
  }
}

/* Greek content sizing and contact form */
.content-section {
  grid-template-columns: 50px minmax(0, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(2rem, 4vw, 4.5rem);
}

.content-section h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: .95;
  overflow-wrap: normal;
}

.contact {
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.contact-info,
.contact-form-wrap {
  min-width: 0;
}

.contact-details {
  margin-top: 3rem;
}

.contact-form-wrap {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #f4f4f4;
  border-top: 6px solid var(--accent);
}

.contact-form-wrap h3 {
  margin: 0 0 2rem;
  color: #111;
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field label {
  color: #222;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 2px solid #777;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid #1261a0;
  outline-offset: 2px;
  border-color: #111;
}

.required-note,
.form-status {
  min-height: 1.2em;
  margin: 0;
  color: #555;
  font-size: .78rem;
}

.submit-button {
  justify-self: start;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border: 2px solid #111;
  background: #111;
  color: #fff;
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 800px) {
  .content-section {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .content-section h2 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 7vw, 2.8rem);
  }
}

@media (max-width: 520px) {
  .content-section {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
