/* ========================================
   PHARO — CURATED COLLECTION
======================================== */

:root {
  --ivory: #f6f2e9;
  --paper: #eee8dc;
  --stone: #c9c0b2;
  --ink: #25231f;
  --soft-ink: #686157;
  --gold: #aa8749;
  --deep-gold: #91703b;
  --line: rgba(56, 49, 39, 0.18);
  --glass: rgba(250, 247, 241, 0.76);
  --light-text: #fffaf1;
  --light-muted: rgba(255, 250, 241, 0.82);
}


/* ========================================
   RESET
======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* ========================================
   HEADER
======================================== */

.collection-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 78px);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.collection-header.scrolled {
  color: var(--ink);
  background: var(--glass);
  border-color: rgba(80, 68, 50, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}



.collection-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--gold);
}



.collection-contact {
  position: relative;
  padding: 10px 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-contact::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.25s ease;
}

.collection-contact:hover::after {
  transform: scaleX(0.45);
}


/* ========================================
   INTRODUCTION
======================================== */

.collection-intro {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding:
    150px
    clamp(24px, 8vw, 130px)
    90px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 36%,
      rgba(255, 255, 255, 0.68),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #f8f5ee 0%,
      var(--ivory) 48%,
      var(--paper) 100%
    );
}

.collection-intro::before {
  content: "";
  position: absolute;
  inset: 7% 5%;
  border: 1px solid rgba(170, 135, 73, 0.14);
  pointer-events: none;
}

.collection-intro-inner {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
}

.collection-kicker,
.experience-number {
  margin: 0 0 25px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.collection-intro h1 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.87;
  letter-spacing: -0.065em;
}

.collection-statement {
  margin: clamp(38px, 6vh, 62px) 0 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
}

.collection-intro-copy {
  width: min(650px, 100%);
  margin: 24px auto 0;
  color: var(--soft-ink);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.95;
}

.collection-principles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 36px auto 0;
  color: #756b5e;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.collection-principles span:not(:last-child)::after {
  content: "·";
  margin-left: 24px;
  color: var(--gold);
}

.collection-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: clamp(50px, 8vh, 82px);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.collection-scroll-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.collection-scroll:hover .collection-scroll-arrow {
  transform: translateY(6px);
}


/* ========================================
   COLLECTION EXPERIENCES
======================================== */

.collection-experience {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #28241f;
}

.experience-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 10s ease-out;
}

.collection-experience.in-view .experience-image {
  transform: scale(1.075);
}

.experience-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(27, 24, 20, 0.78) 0%,
      rgba(31, 27, 22, 0.62) 28%,
      rgba(31, 27, 22, 0.18) 62%,
      rgba(31, 27, 22, 0.08) 100%
    ),
    linear-gradient(
      to top,
      rgba(18, 16, 14, 0.32),
      transparent 46%
    );
}

.collection-experience-right .experience-wash {
  background:
    linear-gradient(
      270deg,
      rgba(27, 24, 20, 0.78) 0%,
      rgba(31, 27, 22, 0.62) 28%,
      rgba(31, 27, 22, 0.18) 62%,
      rgba(31, 27, 22, 0.08) 100%
    ),
    linear-gradient(
      to top,
      rgba(18, 16, 14, 0.32),
      transparent 46%
    );
}

.collection-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.04),
      transparent 18%,
      transparent 78%,
      rgba(0, 0, 0, 0.18)
    );
  pointer-events: none;
}

.experience-content {
  position: relative;
  z-index: 3;
  width: min(570px, 42%);
  margin-left: clamp(30px, 8vw, 130px);
  color: var(--light-text);
}

.collection-experience-right {
  justify-content: flex-end;
}

.collection-experience-right .experience-content {
  margin-right: clamp(30px, 8vw, 130px);
  margin-left: 0;
  text-align: right;
}

.experience-number {
  color: #e0bd7c;
}

.experience-content h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(3.3rem, 7vw, 7.7rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.experience-description {
  width: min(470px, 100%);
  margin: 32px 0 38px;
  color: var(--light-muted);
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
  line-height: 1.9;
}

.collection-experience-right .experience-description {
  margin-left: auto;
}

.experience-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding-bottom: 9px;
  color: var(--light-text);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.experience-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #d9b36d;
  transform-origin: left;
  transition: transform 0.3s ease;
}

.experience-link span {
  transition: transform 0.3s ease;
}

.experience-link:hover::after {
  transform: scaleX(0.62);
}

.experience-link:hover span {
  transform: translateX(6px);
}

.next-experience {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 4;
  width: fit-content;
  margin: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.61rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.next-experience span:last-child {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.next-experience:hover span:last-child {
  transform: translateY(5px);
}


/* ========================================
   FUTURE COLLECTION
======================================== */

.collection-future .experience-image {
  filter: saturate(0.65) brightness(0.72);
}

.collection-future .experience-wash {
  background:
    linear-gradient(
      270deg,
      rgba(28, 24, 20, 0.86) 0%,
      rgba(33, 28, 23, 0.68) 34%,
      rgba(33, 28, 23, 0.24) 68%,
      rgba(33, 28, 23, 0.12) 100%
    );
}

.experience-coming {
  display: inline-block;
  margin: 5px 0 0;
  padding-bottom: 8px;
  color: #e0bd7c;
  border-bottom: 1px solid rgba(224, 189, 124, 0.55);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ========================================
   COLLECTION CLOSING
======================================== */

.collection-closing {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: center;
  padding:
    120px
    clamp(24px, 7vw, 110px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.72),
      transparent 42%
    ),
    var(--paper);
}

.collection-closing::before,
.collection-closing::after {
  content: "";
  position: absolute;
  background: rgba(170, 135, 73, 0.22);
}

.collection-closing::before {
  top: 15%;
  left: 50%;
  width: 1px;
  height: 80px;
}

.collection-closing::after {
  right: 8%;
  bottom: 10%;
  left: 8%;
  height: 1px;
}

.collection-closing-inner {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
}

.collection-closing h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.collection-closing-inner > p:not(.collection-kicker) {
  margin: 30px 0 42px;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.8;
}

.collection-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 23px;
  border: 1px solid rgba(61, 49, 31, 0.52);
  background: rgba(249, 246, 239, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.collection-button span {
  transition: transform 0.25s ease;
}

.collection-button:hover {
  background: rgba(249, 246, 239, 0.88);
  transform: translateY(-2px);
}

.collection-button:hover span {
  transform: translateX(5px);
}


/* ========================================
   FOOTER
======================================== */

.collection-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: end;
  padding:
    62px
    clamp(24px, 7vw, 110px)
    70px;
  background: var(--ivory);
  border-top: 1px solid var(--line);
}

.collection-footer-copy p,
.collection-footer-copy a,
.collection-copyright {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.72rem;
  line-height: 1.9;
}

.collection-footer-copy a {
  border-bottom: 1px solid var(--line);
}


/* ========================================
   REVEAL ANIMATION
======================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

  .collection-intro {
    min-height: 900px;
  }

  .collection-principles {
    display: grid;
    gap: 12px;
  }

  .collection-principles span:not(:last-child)::after {
    display: none;
  }

  .collection-experience {
    min-height: 820px;
    align-items: flex-end;
  }

  .experience-image {
    object-position: center;
  }

  .experience-wash,
  .collection-experience-right .experience-wash,
  .collection-future .experience-wash {
    background:
      linear-gradient(
        to top,
        rgba(23, 20, 17, 0.92) 0%,
        rgba(27, 23, 19, 0.76) 31%,
        rgba(27, 23, 19, 0.22) 68%,
        rgba(27, 23, 19, 0.08) 100%
      );
  }

  .experience-content,
  .collection-experience-right .experience-content {
    width: min(680px, calc(100% - 54px));
    margin: 0 auto 105px;
    text-align: center;
  }

  .experience-description,
  .collection-experience-right .experience-description {
    margin-right: auto;
    margin-left: auto;
  }

  .collection-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 620px) {

  html {
    scroll-padding-top: 70px;
  }

  .collection-header {
    height: 70px;
    padding-inline: 18px;
  }

  .collection-brand {
    font-size: 2rem;
  }

  .collection-contact {
    font-size: 0.64rem;
    letter-spacing: 0.11em;
  }

  .collection-intro {
    min-height: 760px;
    padding: 120px 22px 80px;
  }

  .collection-intro::before {
    inset: 85px 14px 24px;
  }

  .collection-intro h1 {
    font-size: clamp(3.65rem, 18vw, 5.5rem);
  }

  .collection-statement {
    margin-top: 36px;
    font-size: 1.18rem;
  }

  .collection-intro-copy {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .collection-principles {
    margin-top: 28px;
    font-size: 0.61rem;
    line-height: 1.7;
  }

  .collection-scroll {
    margin-top: 46px;
  }

  .collection-experience {
    min-height: 720px;
  }

  .experience-image {
    transform: scale(1.02);
  }

  .collection-experience.in-view .experience-image {
    transform: scale(1.055);
  }

  .experience-content,
  .collection-experience-right .experience-content {
    width: calc(100% - 44px);
    margin-bottom: 92px;
  }

  .experience-number {
    margin-bottom: 18px;
  }

  .experience-content h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
    line-height: 0.96;
  }

  .experience-description {
    margin-top: 24px;
    margin-bottom: 30px;
    font-size: 0.93rem;
    line-height: 1.75;
  }

  .experience-link {
    font-size: 0.66rem;
  }

  .next-experience {
    bottom: 24px;
    font-size: 0.56rem;
  }

  .collection-closing {
    min-height: 650px;
    padding: 110px 22px 95px;
  }

  .collection-closing::before {
    top: 9%;
    height: 55px;
  }

  .collection-closing h2 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .collection-closing-inner > p:not(.collection-kicker) {
    margin: 26px 0 36px;
    font-size: 0.97rem;
  }

  .collection-button {
    width: 100%;
    justify-content: center;
  }

  .collection-footer {
    padding: 48px 22px 55px;
  }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .experience-image,
  .collection-experience.in-view .experience-image {
    transform: none;
    transition: none;
  }

  .collection-scroll-arrow,
  .next-experience span:last-child,
  .experience-link span,
  .collection-button span {
    transition: none;
  }
}