/* kylieverzosa.com — production styles from design handoff (high-fidelity) */

:root {
  --ink: #242424;
  --cream: hsl(35.45, 29.73%, 85.49%); /* ≈ #E4DACB */
  --projects-bg: #E9E2D5;
  --press-bg: #E5DCCF;
  --tan: #D2BB99;
  --white: #FFFFFF;
  --hairline: rgba(36, 36, 36, .3);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .55; }
::selection { background: var(--tan); color: var(--ink); }
img { display: block; }
[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
}

/* ---------- scroll progress ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}

.progress__bar {
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2.5vw;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background .4s ease, border-color .4s ease;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}

.nav.is-on {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(36, 36, 36, .12);
}

.nav__home {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.nav__contact { white-space: nowrap; }

/* ---------- hero — scroll-driven photo collage ---------- */

.hero {
  position: relative;
  height: 300vh;
  background: var(--cream);
}

.hero__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero__name {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(64px, 8vh, 100px);
  text-align: center;
  pointer-events: none;
}

.hero__title {
  margin: 0;
  width: 100%;
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 14.5vw, 330px);
  line-height: .92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.hero__mask {
  display: block;
  overflow: hidden;
  padding: .03em 0;
}

.hero__line { display: block; }

.tile {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform: translate(var(--cx), var(--cy));
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  pointer-events: none;
}

.tile--1 { z-index: 12; }

.tile__box {
  position: relative;
  top: var(--py, 0);
  left: var(--px, 0);
  width: var(--w);
  height: var(--h);
  border-radius: 16px;
  overflow: hidden;
  pointer-events: auto;
}

.tile--1 .tile__box { min-width: 240px; }

.tile__box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* keep the veiled face centered in the wide center-tile crop */
.tile--1 .tile__box img { object-position: 50% 30%; }

.tile--1  { --w: 24vw; --h: 28vh; --px: 0;      --py: 0;      --cx: 0vw;   --cy: 3vh; }
.tile--2  { --w: 20vw; --h: 22vh; --px: -12vw;  --py: -38vh;  --cx: 17vw;  --cy: 36vh; }
.tile--3  { --w: 19vw; --h: 34vh; --px: -36vw;  --py: 10vh;   --cx: 32vw;  --cy: -8vh; }
.tile--4  { --w: 20vw; --h: 22vh; --px: 38vw;   --py: 0;      --cx: -31vw; --cy: 7vh; }
.tile--5  { --w: 22vw; --h: 22vh; --px: -2vw;   --py: 36vh;   --cx: 4vw;   --cy: -27vh; }
.tile--6  { --w: 20vw; --h: 18vh; --px: 14vw;   --py: -36vh;  --cx: -20vw; --cy: 44vh; }
.tile--7  { --w: 14vw; --h: 22vh; --px: 22vw;   --py: 30vh;   --cx: -16vw; --cy: -27vh; }
.tile--8  { --w: 15vw; --h: 24vh; --px: -38vw;  --py: -34vh;  --cx: 31vw;  --cy: 33vh; }
.tile--9  { --w: 13vw; --h: 24vh; --px: 40vw;   --py: -30vh;  --cx: -32vw; --cy: 29vh; }
.tile--10 { --w: 12vw; --h: 16vh; --px: 40vw;   --py: 36vh;   --cx: -36vw; --cy: -30vh; }
.tile--11 { --w: 16vw; --h: 20vh; --px: -36vw;  --py: 40vh;   --cx: 33vw;  --cy: -34vh; }

/* ---------- display headings ---------- */

.display {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 13vw, 230px);
  line-height: .9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

/* ---------- projects ---------- */

.projects {
  background: var(--projects-bg);
  padding: 10vh 5vw 8vh;
}

.projects .display { margin: 1vh 0 6vh; }

.projects__index { border-top: 1px solid var(--hairline); }

.projects__row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: clamp(20px, 2.6vh, 34px) 4px;
  border-bottom: 1px solid var(--hairline);
}

.projects__row span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 4.6vw, 78px);
  line-height: 1;
}

.projects__note {
  margin: 3vh 0 0;
  font-size: 14px;
  color: rgba(36, 36, 36, .55);
  max-width: 460px;
}

.projects__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- press ---------- */

.press {
  background: var(--press-bg);
  padding: 9vh 5vw 8vh;
}

.press .display { margin: 1vh 0 4vh; }

.press__featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 340px;
  border-radius: 28px;
  overflow: hidden;
}

.press__featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.press__arrows-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 5vh 0 2.5vh;
}

.press__arrows { display: flex; gap: 12px; }

.press__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(36, 36, 36, .4);
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  transition: background .25s ease, color .25s ease;
}

.press__arrow:hover {
  background: var(--ink);
  color: var(--press-bg);
}

.press__strip {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.press__strip::-webkit-scrollbar { display: none; }

.press__card {
  margin: 0;
  flex: none;
  width: clamp(230px, 23vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.press__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
}

.press__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press__cover--high img { object-position: 50% 22%; }

/* ---------- contact ---------- */

.contact {
  padding: 9vh 5vw 8vh;
  display: flex;
  flex-direction: column;
  gap: 7vh;
}

.contact__bio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(36, 36, 36, .85);
}

.contact__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__col p {
  margin: 0;
  text-wrap: pretty;
}

.contact__dot {
  align-self: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---------- newsletter ---------- */

.signup {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.signup__lead {
  margin: 0;
  font-size: 17px;
}

.signup__form {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: stretch;
}

.signup__input {
  flex: 1;
  min-width: 260px;
  box-sizing: border-box;
  border: 1px solid rgba(36, 36, 36, .45);
  border-radius: 999px;
  background: transparent;
  padding: 20px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.signup__input:focus { border-color: var(--ink); }
.signup__input[aria-invalid="true"] { border-color: var(--ink); }

.signup__hp { display: none; }

.signup__btn {
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 20px 42px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  will-change: transform;
}

.signup__btn:disabled { cursor: default; opacity: .7; }

.signup__pill {
  border: 1px solid rgba(36, 36, 36, .45);
  box-sizing: border-box;
  border-radius: 999px;
  padding: 20px 26px;
  font-size: 16px;
  width: fit-content;
}

.signup__error {
  margin: 0;
  font-size: 14px;
  color: rgba(36, 36, 36, .7);
}

.signup__error a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--press-bg);
  padding: 30px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(36, 36, 36, .75);
}

.footer__booking { letter-spacing: .04em; }

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .tile--6, .tile--7, .tile--8, .tile--9, .tile--10, .tile--11 { display: none; }
}

@media (max-width: 560px) {
  .nav__mid { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100vh; }
  .tile { transform: none; }
  .progress { display: none; }
  .nav {
    background: rgba(255, 255, 255, .9);
    border-bottom-color: rgba(36, 36, 36, .12);
  }
}
