/* ================================
   NORMALIZE
================================ */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
}

button {
  border: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

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

img,
video {
  height: auto;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ================================
   NORMALIZE
================================ */

:root {
  --color-bg: #000;
  --color-text: #f5f5f2;
  --color-muted: rgba(245, 245, 242, 0.58);
  --color-line: rgba(245, 245, 242, 0.2);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Times New Roman", Times, serif;
  --page-padding: clamp(1rem, 2vw, 2rem);
  --header-height: 5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================
   RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
}

html {
  width: 100%;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-synthesis: none;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.js-preload {
  overflow: hidden;
}

body {
  width: 100%;
  min-width: 320px;
  max-width: 100%;
  min-height: 100%;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
}

body,
button,
a {
  font-family: var(--font-sans);
}

::selection {
  background: var(--color-text);
  color: var(--color-bg);
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

a,
button {
  outline-offset: 0.3rem;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
}

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

/* ================================
   GLOBAL LAYOUT
================================ */
.site {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
}

main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.page-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-inline: var(--page-padding);
}

/* ================================
   META
================================ */
.meta {
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meta--muted {
  color: var(--color-muted);
}
/* ================================
   LOADER
================================ */
.duda-loader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  contain: layout paint size;
  transform: translateZ(0);
}

.duda-loader__shutter {
  position: absolute;
  left: 0;
  width: 100%;
  background: var(--color-bg);
  will-change: transform;
}

.duda-loader__shutter--top {
  top: 0;
  height: 50.1%;
}

.duda-loader__shutter--bottom {
  bottom: 0;
  height: 50.1%;
}

.duda-loader__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-inline: var(--page-padding);
  will-change: transform, opacity;
}

/* ================================
   SIGNATURE
================================ */
.duda-loader__signature {
  position: relative;
  width: 10.5rem;
  max-width: calc(100vw - (var(--page-padding) * 2));
  aspect-ratio: 800.96 / 621;
  transform-origin: 50% 50%;
  will-change: transform;
}

.duda-loader__signature-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.duda-loader__signature-svg path {
  fill: currentColor;
}

.duda-loader__signature-svg--base {
  color: rgba(245, 245, 242, 0.12);
}

.duda-loader__signature-svg--fill {
  color: var(--color-text);
}

.duda-loader__signature-reveal {
  position: absolute;
  inset: 0;
  clip-path: inset(0% 100% 0% 0%);
  will-change: clip-path;
}

/* ================================
   LABEL
================================ */
.duda-loader__label {
  margin-top: 1.6rem;
  color: var(--color-text);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  will-change: transform, opacity, letter-spacing;
}

/* ================================
   TABLET
================================ */
@media (max-width: 1024px) {
  .duda-loader__signature {
    width: 9.5rem;
  }
}

/* ================================
   MOBILE
================================ */
@media (max-width: 767px) {
  .duda-loader__signature {
    width: 8.75rem;
  }

  .duda-loader__label {
    margin-top: 1.4rem;
    font-size: 0.54rem;
  }
}

/* ================================
   SMALL MOBILE
================================ */
@media (max-width: 480px) {
  .duda-loader__signature {
    width: 8rem;
  }
}

/* ================================
   HEADER
================================ */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: var(--header-height);
  pointer-events: none;
}

.js-preload .site-header {
  opacity: 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  padding: 1.25rem var(--page-padding) 0;
}

.site-header__brand,
.site-header__menu-toggle {
  pointer-events: auto;
}

.site-header__brand {
  min-width: 0;
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__menu-toggle {
  position: relative;
  display: block;
  justify-self: end;
  height: 0.75rem;
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-header__menu-labels {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 0.75rem;
}

.site-header__menu-label {
  position: absolute;
  top: 0;
  right: 0;
  white-space: nowrap;
}

/* ================================
   SITE MENU
================================ */
.site-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--color-bg);
  visibility: visible;
}

.site-menu__inner {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-height) + 4rem) var(--page-padding) max(1.5rem, env(safe-area-inset-bottom));
}

.site-menu__nav,
.site-menu__footer,
.site-menu__footer-group {
  min-width: 0;
}

.site-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.site-menu__link-mask {
  display: block;
}

.site-menu__link {
  display: block;
  max-width: 100%;
  font-size: 7rem;
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  will-change: transform;
}

.site-menu__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.site-menu__footer-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-menu__footer-group--right {
  align-items: flex-end;
  text-align: right;
}

.site-menu__footer-label {
  color: var(--color-muted);
}

.site-menu__footer-link,
.site-menu__footer-label,
.site-menu__language,
.site-menu__language button {
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-menu__language {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-menu__language button {
  color: var(--color-muted);
}

.site-menu__language button[aria-pressed="true"] {
  color: var(--color-text);
}

.site-menu__language button:disabled {
  cursor: default;
}

.site-menu__language-divider {
  color: var(--color-muted);
}

/* ================================
   FOOTER
================================ */
.site-footer {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: clamp(8rem, 13vw, 13rem) var(--page-padding) 1.5rem;
  background: var(--color-bg);
}

.site-footer__top,
.site-footer__meta,
.site-footer__details,
.site-footer__group,
.site-footer__bottom {
  min-width: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.site-footer__arrow {
  font-size: 1.35rem;
  transition: transform 0.45s var(--ease-out);
}

.site-footer__contact:hover .site-footer__arrow {
  transform: translate(0.3rem, -0.3rem);
}

.site-footer__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  justify-self: end;
  gap: 2rem;
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer__link {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__name {
  width: 100%;
  max-width: 100%;
  margin-left: -0.045em;
  color: var(--color-muted);
  font-size: 10rem;
  font-weight: 500;
  line-height: 0.74;
  letter-spacing: -0.075em;
  white-space: nowrap;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}

/* ================================
   LINK UNDERLINE
================================ */
.link-line {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
}

.link-line::after {
  content: "";
  position: absolute;
  top: calc(100% + 0.28em);
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.link-line:hover::after,
.link-line:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ================================
   LARGE DESKTOP
================================ */
@media (max-width: 1280px) {
  .site-menu__link {
    font-size: 5rem;
  }

  .site-footer__name {
    font-size: 8.5rem;
  }
}

/* ================================
   TABLET
================================ */
@media (max-width: 1024px) {
  .site-footer__name {
    font-size: 6.5rem;
  }
}

/* ================================
   MOBILE
================================ */
@media (max-width: 767px) {
  :root {
    --page-padding: 1rem;
    --header-height: 4.5rem;
  }

  .duda-loader__word {
    padding-right: 0.1em;
    font-size: 2.1rem;
    letter-spacing: -0.045em;
  }

  .site-header__inner {
    padding-top: max(1.1rem, env(safe-area-inset-top));
  }

  .site-menu__inner {
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .site-menu__link {
    font-size: 3.8rem;
  }

  .site-menu__footer {
    gap: 1rem;
  }

  .site-footer {
    padding-top: 8rem;
  }

  .site-footer__top {
    display: block;
  }

  .site-footer__contact {
    font-size: 2rem;
  }

  .site-footer__details {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 5rem;
    gap: 1.5rem;
  }

  .site-footer__name {
    font-size: 3.6rem;
    line-height: 0.82;
  }

  .site-footer__bottom {
    align-items: flex-end;
  }
}

/* ================================
   SMALL MOBILE
================================ */
@media (max-width: 480px) {
  .site-menu__link {
    font-size: 3.3rem;
  }

  .site-footer__name {
    font-size: 3rem;
  }
}