@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-variable.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --paper: #fcfcfa;
  --ink: #1c202b;
  --muted: #6d707c;
  --line: #dedfdf;
  --red: #972b30;
  --red-hover: #7e2227;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  border-radius: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}

::selection {
  color: var(--ink);
  background: #e9d8d3;
}

.page-width {
  width: min(91%, 1350px);
  margin-inline: auto;
}

.translated-copy {
  display: grid;
}

.translated-copy > span {
  grid-area: 1 / 1;
  min-width: 0;
}

.translated-copy > [aria-hidden="true"] {
  visibility: hidden;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--red);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  flex-shrink: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
}

.language-switch a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.language-switch a:hover {
  color: var(--red);
}

.language-switch > span {
  color: #a0a2a9;
}

.hero {
  display: grid;
  grid-template-rows: auto minmax(100px, 1fr) auto;
  min-height: 0;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 2px;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.marina-illustration {
  /* Let the grid allocate image space rather than inherit its intrinsic height. */
  contain: size;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marina-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-intro {
  position: relative;
}

.hero-intro > p {
  color: #565966;
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
}

.button-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 3px 10px rgb(75 27 30 / 12%);
}

.arrow {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.information {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
  margin-top: 20px;
  padding: 18px 18px 22px;
  border-top: 1px solid var(--line);
}

.information-card h2 {
  margin-bottom: 12px;
  font-size: clamp(31px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.information-card p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.information-card p + p {
  margin-top: 14px;
}

.email-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.email-link:hover {
  color: var(--red);
}

.information-card .organization-number {
  margin-top: 8px;
  font-size: 13px;
}

@media (max-width: 900px) {
  body {
    height: auto;
    min-height: 100svh;
  }

  main {
    display: block;
  }

  .hero {
    display: block;
    padding-top: 8px;
  }

  .marina-illustration {
    contain: none;
    margin-top: 4px;
  }

  .marina-illustration img {
    height: auto;
    max-height: none;
  }

  .hero-intro {
    margin-top: 8px;
  }

  .information {
    gap: 28px;
    padding-inline: 0;
  }

}

@media (max-width: 720px) {
  .page-width {
    width: calc(100% - 40px);
  }

  .language-switch {
    gap: 6px;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(44px, 7.8vw, 58px);
    line-height: 1.02;
  }

  .marina-illustration {
    margin-top: 8px;
  }

  .hero-intro {
    margin-top: 18px;
  }

  .hero-intro > p {
    font-size: 25px;
  }

  .hero-actions {
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 8px;
    margin-top: 18px;
  }

  .information {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
    padding-block: 0 24px;
  }

  .information-card {
    padding-block: 25px 19px;
  }

  .information-card + .information-card {
    border-top: 1px solid var(--line);
  }

  .information-card h2 {
    font-size: 35px;
  }

  .information-card p {
    max-width: none;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
