* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;

  background: #eee5d7;
  color: #211c18;

  transition:
    background 0.7s ease,
    color 0.7s ease;
}

body.night-mode {
  background: #0d0c0b;
  color: #f2eadf;
}

a {
  color: inherit;
}


/* -------------------------
   HERO
------------------------- */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;

  padding: 30px 5vw 42px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* -------------------------
   NAV
------------------------- */

.nav {
  position: relative;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: inherit;
  text-decoration: none;

  display: inline-flex;
  align-items: center;

  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.logo-kay {
  font-weight: 800;
  font-style: italic;
}

.logo-esque {
  font-weight: 300;
  font-style: normal;
}

.logo-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0 0.4em;

  font-size: 0.7em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}


/* -------------------------
   DAY / NIGHT TOGGLE
------------------------- */

.mode-toggle {
  display: flex;
  align-items: center;
  gap: 10px;

  border: 0;
  background: transparent;
  color: inherit;

  padding: 0;

  font: inherit;
  cursor: pointer;
}

.toggle-option {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  opacity: 0.38;

  transition: opacity 0.4s ease;
}

.day-mode .day-label {
  opacity: 1;
}

.night-mode .night-label {
  opacity: 1;
}

.toggle-track {
  position: relative;

  width: 42px;
  height: 22px;

  border: 1px solid currentColor;
  border-radius: 999px;
}

.toggle-dot {
  position: absolute;

  width: 14px;
  height: 14px;

  left: 3px;
  top: 3px;

  border-radius: 50%;
  background: currentColor;

  transition: transform 0.45s ease;
}

.night-mode .toggle-dot {
  transform: translateX(20px);
}


/* -------------------------
   ABSTRACT BACKGROUND
------------------------- */

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;

  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;

  border-radius: 50%;
  filter: blur(70px);

  transition:
    background 0.8s ease,
    opacity 0.8s ease,
    transform 1s ease;
}


/* DAY */

.glow-one {
  width: 48vw;
  height: 48vw;

  right: -12vw;
  top: 4vh;

  background: rgba(255, 199, 104, 0.24);
}

.glow-two {
  width: 32vw;
  height: 32vw;

  left: -10vw;
  bottom: -8vw;

  background: rgba(255, 255, 255, 0.42);
}


/* NIGHT */

.night-mode .glow-one {
  background: rgba(222, 87, 31, 0.22);

  transform:
    translate(-5vw, 15vh)
    scale(0.8);
}

.night-mode .glow-two {
  background: rgba(125, 54, 31, 0.18);

  transform:
    translate(25vw, -15vh)
    scale(1.3);
}


/* GRAIN */

.grain {
  position: absolute;
  inset: 0;

  opacity: 0.11;

  background-image:
    radial-gradient(
      rgba(0, 0, 0, 0.12) 0.6px,
      transparent 0.6px
    );

  background-size: 5px 5px;

  mix-blend-mode: multiply;
}

.night-mode .grain {
  opacity: 0.08;
  mix-blend-mode: screen;
}


/* -------------------------
   DAY / NIGHT PORTRAITS
------------------------- */

.hero-portraits {
  position: absolute;
  inset: 0;
  z-index: 1;

  overflow: hidden;
  pointer-events: none;
}

.hero-portrait {
  position: absolute;

  top: 0;
  right: 0;

  width: 38vw;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 12%,
      rgba(0, 0, 0, 0.55) 28%,
      black 45%,
      black 100%
    );

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 12%,
      rgba(0, 0, 0, 0.55) 28%,
      black 45%,
      black 100%
    );

  transition:
    opacity 0.8s ease,
    transform 1s ease;
}


/* DAY PORTRAIT */

.portrait-day {
  opacity: 1;

  width: 46vw;
  transform: scale(1.01);

  object-position: -15% 95%;
}


/* NIGHT PORTRAIT */

.portrait-night {
  opacity: 0;
  transform: scale(1.02);

  object-position: center 40%;
}


/* PORTRAIT TOGGLE */

.night-mode .portrait-day {
  opacity: 0;
  transform: scale(1.02);
}

.night-mode .portrait-night {
  opacity: 1;
  transform: scale(1.01);
}


/* -------------------------
   HERO CONTENT
------------------------- */

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
}


/* -------------------------
   WORDMARK — KAY ✦ ESQUE
------------------------- */

.wordmark {
  display: flex;
  align-items: center;

  width: 100%;
  margin: 0;

  font-family: Arial, sans-serif;
  font-size: clamp(4.4rem, 13.4vw, 13rem);
  font-weight: 900;
  line-height: 0.82;

  white-space: nowrap;
}


/* KAY */

.word-kay {
  display: block;

  font-size: 1em;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.075em;

  color: #211c18;
  -webkit-text-stroke: 0 transparent;

  margin-right: 0.20em;

  transition:
    color 0.6s ease,
    -webkit-text-stroke 0.6s ease;
}


/* STAR */

.word-star {
  display: block;
  flex: 0 0 auto;

  margin-left: 0.32em;
  margin-right: 0.40em;

  font-size: 0.145em;
  font-weight: 400;
  font-style: normal;

  line-height: 1;
  letter-spacing: 0;

  color: #211c18;

  transition: color 0.6s ease;
}


/* ESQUE */

.word-esque {
  display: block;

  font-size: 1em;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.075em;

  color: transparent;
  -webkit-text-stroke: 2px #211c18;

  transition:
    color 0.6s ease,
    -webkit-text-stroke 0.6s ease;
}


/* NIGHT WORDMARK */

.night-mode .word-kay {
  color: transparent;
  -webkit-text-stroke: 2px #f2eadf;
}

.night-mode .word-star {
  color: #f2eadf;
}

.night-mode .word-esque {
  color: #f2eadf;
  -webkit-text-stroke: 0 transparent;
}


/* -------------------------
   HERO BOTTOM / ABOUT
------------------------- */

.hero-bottom {
  margin-top: 44px;
  display: block;
}

.location {
  margin: 0;

  font-size: 0.65rem;
  letter-spacing: 0.18em;
}


/* ABOUT */

.hero-about {
  position: relative;
  z-index: 3;

  width: min(700px, 58vw);
  margin-top: 64px;

  font-family: Arial, sans-serif;
}

.about-heading {
  margin: 0 0 24px;

  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.4;

  letter-spacing: 0.16em;
}

.about-copy {
  margin: 0 0 22px;

  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 400;

  line-height: 1.55;
  letter-spacing: 0.035em;
}


/* PRESS KIT */

.press-kit-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 5px;
  padding-bottom: 5px;

  color: inherit;
  text-decoration: none;

  border-bottom: 1px solid currentColor;

  font-family: Arial, sans-serif;

  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;

  transition:
    gap 0.25s ease,
    opacity 0.25s ease;
}

.press-kit-link:hover {
  gap: 16px;
  opacity: 0.65;
}


/* -------------------------
   SCROLL
------------------------- */

.scroll-cue {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

.scroll-arrow {
  font-size: 1rem;

  animation: floatArrow 1.8s ease-in-out infinite;
}

@keyframes floatArrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}


/* -------------------------
   SETS
------------------------- */

.sets,
.contact {
  position: relative;

  padding: 100px 5vw;
}

.section-label,
.set-type {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.set-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 40px;

  margin-top: 50px;
}

.set-card {
  border-top: 1px solid currentColor;

  padding-top: 20px;
}

.set-image {
  aspect-ratio: 4 / 3;

  background: rgba(0, 0, 0, 0.07);

  margin-bottom: 20px;
}

.night-mode .set-image {
  background: rgba(255, 255, 255, 0.07);
}

.set-card h2 {
  font-size: 2rem;
}


/* -------------------------
   CONTACT
------------------------- */

.social-links {
  display: flex;
  gap: 25px;

  margin-top: 40px;
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 700px) {

  .hero {
    padding: 24px 22px 32px;
  }

  .hero-portrait {
    width: 52vw;

    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.25) 20%,
        black 50%,
        black 100%
      );

    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.25) 20%,
        black 50%,
        black 100%
      );
  }

  .wordmark {
    font-size: clamp(3.2rem, 15.5vw, 6rem);
  }

  .word-star {
    flex-basis: 0.48em;
    width: 0.48em;

    margin-left: 0.07em;
    margin-right: 0.07em;

    font-size: 0.11em;
  }

  .hero-bottom {
    margin-top: 35px;
  }

  .hero-about {
    width: min(100%, 520px);
    margin-top: 46px;
  }

  .about-heading {
    font-size: 0.7rem;
    margin-bottom: 18px;
  }

  .about-copy {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }

  .set-grid {
    grid-template-columns: 1fr;
  }

  .sets,
  .contact {
    padding: 80px 22px;
  }
}
