:root {
  --fa-accent: #963f40;
  --page-background: #f7f7f4;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  background: var(--page-background);
  color: var(--p-color-primary, #202020);
  font-family: var(--p-font-porsche-next, "Arial", sans-serif);
  -webkit-font-smoothing: antialiased;
}

::selection { color: #fff; background: var(--fa-accent); }

.page {
  max-width: 1680px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 38px clamp(24px, 6vw, 104px) 24px;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d9d9d3;
}

.brand {
  display: block;
  width: clamp(240px, 27vw, 350px);
  height: auto;
  filter: brightness(0);
}

.site-name { font-size: 23px; letter-spacing: -.04em; }
.brand-dot, .title-dot { color: var(--fa-accent); }

main {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  flex: 1;
  padding: clamp(56px, 9vh, 120px) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow > span { width: 25px; height: 1px; background: var(--fa-accent); }

h1 {
  margin: 0 0 26px -6px;
  font-size: clamp(88px, 10.5vw, 164px);
  font-weight: var(--p-font-weight-normal, 400);
  letter-spacing: -.065em;
  line-height: .95;
}

.institution {
  margin: 0;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.4;
  letter-spacing: -.015em;
}

.destination { margin-top: 48px; }
.destination-label { margin: 0 0 13px; font-size: 15px; color: #64645f; }
p-link { display: inline-block; }

/* Keep the sole link usable with JavaScript disabled or the CDN unavailable. */
p-link:not(:defined) > a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 2px solid #161619;
  border-radius: var(--p-border-radius-sm, 4px);
  background: #161619;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
}
p-link:not(:defined) > a::before { content: "→"; margin-right: 12px; }
p-link:not(:defined) > a:hover { background: #404044; border-color: #404044; }
p-link:not(:defined) > a:focus-visible { outline: 2px solid #007aff; outline-offset: 4px; }

.drawing { width: 100%; max-width: 570px; justify-self: end; color: #777770; }
.drawing svg { display: block; width: 100%; height: auto; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid #d9d9d3;
  color: #6e6e67;
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 1800px) {
  .page { padding-top: 50px; }
}

@media (max-width: 760px) {
  .page { padding-top: 24px; padding-bottom: 20px; }
  .masthead { padding-bottom: 22px; gap: 12px; }
  .brand { width: min(70vw, 290px); }
  .site-name { font-size: 19px; }
  main { grid-template-columns: 1fr; gap: 24px; padding: 56px 0 36px; }
  h1 { font-size: clamp(88px, 23vw, 136px); }
  .destination { margin-top: 34px; }
  .drawing { width: min(100%, 370px); margin-top: 8px; justify-self: center; }
  .footer-location { display: none; }
}

@media (max-width: 360px) {
  .site-name { display: none; }
  .brand { width: 100%; max-width: 270px; }
}
