@font-face {
    font-family: 'Stack Sans Text ExtraLight';
    src: url('/assets/fonts/StackSansText-VariableFontwght.woff2') format('woff2'),
         url('/assets/fonts/StackSansText-VariableFontwght.woff') format('woff'),
         url('/assets/fonts/StackSansText-VariableFontwght.svg#Stack Sans Text ExtraLight') format('svg');
}

@font-face {
    font-family: 'Fraunces Italic';
    src: url('/assets/fonts/Fraunces-Italic-VariableFontSOFTWONKopszwght.woff2') format('woff2'),
         url('/assets/fonts/Fraunces-Italic-VariableFontSOFTWONKopszwght.woff') format('woff'),
         url('/assets/fonts/Fraunces-Italic-VariableFontSOFTWONKopszwght.svg#Fraunces') format('svg');
}

@font-face {
    font-family: 'Fraunces';
    src: url('/assets/fonts/Fraunces-VariableFontSOFTWONKopszwght.woff2') format('woff2'),
         url('/assets/fonts/Fraunces-VariableFontSOFTWONKopszwght.woff') format('woff'),
         url('/assets/fonts/Fraunces-VariableFontSOFTWONKopszwght.svg#Fraunces') format('svg');
}

:root {
  --wy-white: #f5f1ee;
  --wy-white-600: #a3a19e;
  --wy-white-800: #7b7977;
  --wy-black: #000000;
  --wy-surface: rgba(255, 255, 255, 0.02);
  --content-width: 1250px;
  --desktop-padding: 96px;
  --mobile-padding: 40px;
  --stack-sans-text: 'Stack Sans Text ExtraLight', Arial, sans-serif;
  --fraunces: 'Fraunces', Georgia, serif;
  --fraunces-italic: 'Fraunces Italic', Georgia, serif;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--wy-black);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 500px;
  height: 100dvh;
  margin: 0;
  background: var(--wy-black);
  color: var(--wy-white);
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  padding: 56px var(--mobile-padding) 96px;
}

.page__visual {
  position: absolute;
  top: 0;
  right: 0;
  /* width: clamp(430px, 52vw, 707px); */
  height: calc(100dvh - 84px);
  pointer-events: none;
  overflow: hidden;
  aspect-ratio: 430/899;
}

.page__visual picture,
.page__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.content-wrapper {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.page__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* min-height: 100vh; */
  flex: 1;
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

.topbar {
  padding: 96px var(--mobile-padding) 0;
}

.brand {
  width: 137px;
  color: var(--wy-white);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  width: min(820px, 100%);
  margin: 0;
  color: var(--wy-white);
  font-family: var(--fraunces), Georgia, serif;
  font-size: clamp(3.75rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.115;
}

.hero__title span {
  display: block;
}

.eyebrow {
  margin: 0;
  color: var(--wy-white-600);
  font-family: var(--stack-sans-text), Arial, serif;
  font-size: 12px;
  font-weight: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  width: 100%;
  max-width: 900px;
  padding-top: 40px;
  border-top: 1px solid var(--wy-white-800);
}

.contact {
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  gap: 2px;
  color: var(--wy-white);
}

.contact__label {
  margin: 0;
  color: var(--wy-white-600);
  font-family: var(--stack-sans-text), Arial, serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact__label span {
  color: var(--wy-white-600);
}

.contact a {
  color: var(--wy-white);
  font-family: var(--stack-sans-text), Arial, serif;
  font-size: 14px;
  line-height: 1.5;
}

.contact a:hover,
.contact a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--wy-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 28px var(--mobile-padding);
  border-top: 1px solid var(--wy-white-800);
  color: var(--wy-white-600);
  margin-top: auto;
  font-family: var(--stack-sans-text), Arial, serif;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: none;
}

.footer .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p,
.footer a {
  margin: 0;
  font-weight: 300;
}

/* @media (max-width: 980px) {
  :root {
    --desktop-padding: 56px;
  }

  .page__visual {
    right: -210px;
    width: min(70vw, 660px);
  }
} */

@media (max-width: 760px) {
  :root {
    --desktop-padding: 40px;
  }

  .topbar {
    padding-top: 60px;
  }

  .brand {
    width: 137px;
  }

  .page {
    padding-block: 32px 40px;
  }

  .page__visual {
    aspect-ratio: 329/899;
  }

  .hero {
    gap: 32px;
  }

  .hero__title {
    font-size: clamp(3rem, 13vw, 3.35rem);
    line-height: 0.96;
  }

  .contacts {
    padding-top: 40px;
  }

  .contact {
    flex-basis: 100%;
    min-height: 44px;
    gap: 4px;
  }

  .footer {
    padding-block: 28px;
  }
}

@media (max-width: 420px) {
  :root {
    --desktop-padding: 28px;
    --mobile-padding: 28px;
  }

  .topbar {
    padding-top: 54px;
  }

  .hero__title {
    font-size: clamp(2.75rem, 13vw, 3rem);
  }

  .footer .content-wrapper {
    gap: 20px;
  }
}
