@font-face {
  font-family: "Avenir Replica";
  src: url("../assets/avenir-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel Replica";
  src: url("../assets/cinzel.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #f6f2e9;
  --paper: #014b3f;
  --active: #c96f4b;
  --header-height: 98px;
  --page-width: 1265px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Replica", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  width: min(100%, var(--page-width));
  height: var(--header-height);
  margin: 0 auto;
  background: var(--paper);
}

.brand {
  justify-self: start;
  width: 56px;
  height: 56px;
  margin-left: clamp(24px, 11.3vw, 143px);
  transform: translateY(3px);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
}

.primary-navigation {
  grid-column: 2;
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 42px;
  transform: translate(35px, 3px);
}

.primary-navigation a {
  display: grid;
  min-width: 109px;
  padding: 0 18px;
  place-items: center;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 220ms var(--ease), opacity 220ms var(--ease);
}

.primary-navigation a:nth-child(2) { min-width: 174px; }
.primary-navigation a:nth-child(3) { min-width: 159px; }
.primary-navigation a:nth-child(4) { min-width: 110px; }
.primary-navigation a:nth-child(5) { min-width: 124px; }

.primary-navigation a:not(.active) {
  color: var(--ink);
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--ink);
}

.primary-navigation a.active {
  color: var(--active);
}

.menu-toggle {
  display: none;
}

.home-main {
  min-height: 1007px;
}

.hero {
  position: relative;
  width: min(100%, var(--page-width));
  min-height: 1007px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.media-frame {
  position: absolute;
  top: 84px;
  left: 50%;
  width: 640px;
  height: 640px;
  overflow: hidden;
  transform: translateX(-50%);
}

.orange-disc {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 606px;
  height: 606px;
  overflow: hidden;
  border-radius: 50%;
  background: #e45b2c;
}

.alpha-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.disc-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.name-lockup {
  position: absolute;
  top: 104px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.name-lockup p {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.name-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}

.name-topline img {
  width: 124px;
  height: 124px;
  flex: 0 0 auto;
}

.name-topline p {
  width: auto;
  flex: 0 0 auto;
  margin-left: 0;
  font-size: 82px;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.surname {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 732px;
  margin-top: 69px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  color: var(--ink);
  font-size: 176px;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-footer {
  position: absolute;
  inset: 0;
}

.hero-footer h1 {
  position: absolute;
  top: 896px;
  left: 50%;
  width: max-content;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}

.social-links {
  position: absolute;
  right: 208px;
  bottom: 13px;
  display: flex;
  gap: 10px;
}

.social-links a {
  display: block;
  width: 25px;
  height: 25px;
  opacity: 0.86;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.social-links img {
  display: block;
  width: 25px;
  height: 25px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root { --header-height: 78px; }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 22px;
  }

  .brand {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 10px 12px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 14px;
  }

  .menu-lines {
    display: grid;
    width: 24px;
    gap: 6px;
  }

  .menu-lines i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 250ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .primary-navigation {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 3;
    display: grid;
    align-content: center;
    height: auto;
    padding: 24px;
    visibility: hidden;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
  }

  .primary-navigation.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-navigation a,
  .primary-navigation a:nth-child(n) {
    min-width: 0;
    height: auto;
    padding: 10px 0;
    font-size: clamp(34px, 10vw, 60px);
  }

  body.menu-open { overflow: hidden; }

  .home-main,
  .hero {
    min-height: max(760px, calc(100dvh - var(--header-height)));
  }

  .media-frame {
    top: clamp(44px, 9vh, 84px);
    width: min(78vw, 560px);
    height: min(78vw, 560px);
  }

  .orange-disc {
    top: 2.65625%;
    left: 2.65625%;
    width: 94.6875%;
    height: 94.6875%;
  }

  .name-lockup {
    top: clamp(55px, 10vh, 96px);
    left: 50%;
    width: min(92vw, 680px);
    transform: translateX(-50%);
  }

  .name-topline {
    justify-content: center;
    margin-left: 0;
  }

  .name-topline img {
    width: clamp(62px, 15vw, 108px);
    height: clamp(62px, 15vw, 108px);
  }

  .name-topline p {
    width: auto;
    flex: 0 0 auto;
    font-size: clamp(42px, 11vw, 72px);
  }

  .surname {
    width: 100%;
    margin-top: clamp(38px, 7vw, 68px) !important;
    margin-left: 0 !important;
    font-size: clamp(75px, 14.5vw, 132px);
    text-align: center;
  }

  .hero-footer {
    right: 24px;
    bottom: 26px;
    left: 24px;
    align-items: flex-start;
  }

  .hero-footer h1 {
    top: auto;
    bottom: 68px;
    left: 50%;
    width: max-content;
    max-width: 420px;
    font-size: clamp(15px, 2.4vw, 18px);
    line-height: 1.35;
    text-align: center;
    transform: translateX(-50%);
    white-space: normal;
  }

  .social-links {
    right: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 560px) {
  .home-main,
  .hero {
    min-height: max(680px, calc(100dvh - var(--header-height)));
  }

  .media-frame {
    top: 68px;
    width: 88vw;
    height: 88vw;
  }

  .name-lockup {
    top: 77px;
    width: 96vw;
  }

  .name-topline {
    margin-left: 0;
  }

  .surname {
    margin-top: 38px !important;
    font-size: 14.5vw;
  }

  .hero-footer {
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    gap: 18px;
  }

  .social-links {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .about-background video {
    display: none;
  }
}

/* About */
.about-page {
  --paper: #8bb9d9;
  --about-blue: #2d86aa;
  min-height: 100%;
  color: var(--ink);
  overflow-x: hidden;
  background: var(--about-blue);
}

.about-background {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 720px;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.about-background video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(61 155 233 / 45%);
}

.about-page .site-header {
  position: relative;
  z-index: 2;
  background: transparent;
}

.about-main {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-width));
  min-height: 1236px;
  margin: 0 auto;
}

.about-intro {
  display: grid;
  height: 179.5px;
  place-items: start center;
}

.about-intro h1 {
  width: 392px;
  margin: 43px 0 0;
  color: var(--ink);
  text-align: center;
}

.about-intro h1 span {
  display: block;
  font-family: "Cinzel Replica", Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.about-intro h1 small {
  display: block;
  margin-top: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.about-biography {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 725.3px;
  margin-left: -50vw;
  background: var(--about-blue);
}

.about-portrait {
  position: absolute;
  top: 0;
  left: calc(50% - 490px);
  display: block;
  width: 413px;
  height: 629px;
  object-fit: cover;
}

.about-copy {
  position: absolute;
  top: 55px;
  left: calc(50% - 142px);
  z-index: 1;
  width: 632px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.18;
}

.about-copy p {
  margin: 0 0 19px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.photo-credit {
  position: absolute;
  top: 642px;
  left: calc(50% - 490px);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1;
}

.about-press {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 300px;
  margin-left: -50vw;
  padding: 54px 32px 44px;
  color: var(--ink);
  background: var(--about-blue);
}

.about-press h2 {
  margin: 0 auto;
  font-family: "Avenir Replica", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-align: center;
}

.press-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 720px);
  margin: 27px auto 0;
  column-gap: 38px;
}

.press-links a {
  display: flex;
  align-items: center;
  min-height: 53px;
  padding: 11px 2px 10px;
  border-bottom: 1px solid rgb(246 242 233 / 42%);
  color: inherit;
  font-family: "Avenir Replica", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.25;
  text-decoration: none;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.press-links a:hover,
.press-links a:focus-visible {
  border-color: var(--active);
  color: var(--active);
}

.about-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.about-socials a,
.about-socials span,
.about-socials img {
  display: block;
  width: 20px;
  height: 20px;
}

.about-socials img {
  filter: none;
}

@media (max-width: 900px) {
  .about-background {
    min-height: 100dvh;
  }

  .about-main {
    min-height: 0;
  }

  .about-intro {
    height: 170px;
  }

  .about-intro h1 {
    width: min(88vw, 392px);
    margin-top: 46px;
  }

  .about-intro h1 span {
    font-size: clamp(34px, 9.5vw, 47px);
  }

  .about-biography {
    display: grid;
    left: auto;
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 0 22px 28px;
  }

  .about-portrait {
    position: relative;
    left: auto;
    width: min(100%, 413px);
    height: auto;
    margin: 0 auto;
  }

  .about-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 632px);
    margin: 32px auto 0;
    font-size: 16px;
    line-height: 1.35;
  }

  .photo-credit {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 413px);
    margin: 10px auto 0;
  }

  .about-press {
    padding: 48px 22px;
  }

  .press-links {
    width: min(100%, 680px);
  }
}

@media (max-width: 560px) {
  .about-press {
    padding: 42px 22px 38px;
  }

  .press-links {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .press-links a {
    min-height: 48px;
    font-size: 17px;
  }
}
