/* ==========================================================================
   Goyaz — Coming Soon
   Figma: Goyaz / "Coming soon page - Option 15" (node 8438:533), 1920 × 1080
   ========================================================================== */

/* Fonts
   Avenir and Optima are licensed typefaces. The installed system font is used
   when available; otherwise drop licensed web font files into assets/fonts/
   using the file names below. */
@font-face {
  font-family: "Avenir";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Avenir Roman"), local("Avenir-Roman"), local("Avenir Regular"), local("Avenir Book"),
    url("../assets/fonts/Avenir-Roman.woff2") format("woff2");
}

@font-face {
  font-family: "Avenir";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Avenir Medium"), local("Avenir-Medium"),
    url("../assets/fonts/Avenir-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Optima";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Optima"), local("Optima Regular"), local("Optima-Regular"),
    url("../assets/fonts/Optima-Regular.woff2") format("woff2");
}

/* Tokens
   ========================================================================== */
:root {
  --font-body: "Avenir", "Avenir Next", "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Optima", "Candara", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --color-white: #ffffff;
  --color-black: #060606;
  --color-gold: #edbf52;
  --gradient-gold: linear-gradient(90deg, #ffe9b3 26.886%, #edbf52 52.091%, #ffe6a9 74.745%);

  /* 140px at the 1920px Figma frame, scaling down on narrower screens */
  --gutter: clamp(40px, 7.2917vw, 140px);
  /* 140px at the 1080px Figma frame height */
  --gutter-bottom: clamp(48px, 12.963vh, 140px);
}

/* Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
p,
ul {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Page / background
   Image transform from Figma: 111.36% × 157.45% of the frame, offset -7.1% / -11.82%
   (= background-position 62.5% 20.6%), rotated 0.6° clockwise about the frame's top-left
   corner. Overlay: radial gradient, r = 977px centred at (1289, 386.5), transparent →
   black, at 45% opacity.
   ========================================================================== */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: #1b1d1c;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Photo */
.page::before {
  background-image: url("../assets/images/hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-size: auto max(157.45%, 88.6vw);
  background-position: 62.5% 20.6%;
  transform-origin: 0 0;
}

/* Vignette */
.page::after {
  background-image:
    radial-gradient(circle max(50.89vw, 90.47vh) at 67.14% 35.79%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
}

/* Header (Main Nav)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 20px var(--gutter);
}

.site-header__logo {
  display: block;
  padding: 4px;
}

.site-header__logo img {
  width: 142.52px;
  height: 28px;
}

.social {
  display: flex;
  align-items: center;
  gap: 6.667px;
  padding: 0;
  list-style: none;
}

.social__link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.social__link img {
  width: 100%;
  height: 100%;
}

.social__link:hover {
  opacity: 0.75;
}

/* Hero content
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 120px var(--gutter) var(--gutter-bottom);
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
  /* 1.68px */
  color: var(--color-white);
}

.hero__title {
  width: fit-content;
  font-family: var(--font-display);
  font-size: 100px;
  font-weight: 400;
  color: var(--color-gold);
  background-image: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social__link:focus-visible,
.site-header__logo:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Responsive
   ========================================================================== */

/* Portrait screens: keep the model in frame and darken the lower half for legibility */
@media (max-aspect-ratio: 1/1) {

  /* A cover-sized photo has no spare edge to absorb the rotation here */
  .page::before {
    background-size: cover;
    background-position: 75% center;
    transform: none;
  }

  .page::after {
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.78) 100%),
      radial-gradient(circle max(90vw, 60vh) at 60% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
  }
}

/* Tablet */
@media (max-width: 1199px) {
  .hero__heading {
    gap: 20px;
  }

  .hero__eyebrow {
    font-size: 22px;
  }

  .hero__title {
    font-size: 76px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --gutter-bottom: 48px;
  }

  .site-header {
    height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header__logo img {
    width: 112px;
    height: 22px;
  }

  .social {
    gap: 4px;
  }

  .social__link {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero__heading {
    gap: 12px;
  }

  .hero__eyebrow {
    font-size: 16px;
  }

  .hero__title {
    font-size: 48px;
  }
}

@media (max-width: 359px) {
  .hero__eyebrow {
    font-size: 14px;
  }

  .hero__title {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social__link {
    transition: none;
  }
}