/* ============ FRTYSVN STUDIO ============ */
:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #6b6b6b;
  --line: rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--white); color: var(--black); }

/* ---- Reveal animation ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  mix-blend-mode: difference;
  transition: padding 0.5s var(--ease);
}
.nav.shrink { padding: 16px 40px; }

.nav__brand {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: 18px;
}

.nav__links { display: flex; gap: 38px; }
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---- Mobile menu ---- */
.mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.mobile.open { opacity: 1; pointer-events: auto; }
.mobile a {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 90px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey);
  text-transform: uppercase;
}
/* ---- Animated logo ---- */
.hero__logo-wrap {
  flex: 1;
  display: grid;
  place-items: center;
  margin: 10px 0;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(88vw, 540px);
  aspect-ratio: 1 / 1;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}
.logo__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.logo__inner {
  position: relative;
  z-index: 2;
  width: 78%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo__word {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
}
.logo__word > span {
  font-family: 'Anton', sans-serif;
  display: inline-block;
  position: relative;
  color: #FFFEF5;
  letter-spacing: -0.02em;
  font-size: clamp(2.8rem, 11vw, 5.2rem);
  line-height: 0.85;
  filter: contrast(1.15);
  text-shadow: 0 0 0.5px rgba(255, 254, 245, 0.8);
}
.logo__drip {
  position: absolute;
  left: 52%;
  bottom: -2px;
  width: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo__drip-line { display: block; background: #FFFEF5; width: 1.5px; transform-origin: center top; }
.logo__drip-bead {
  display: block;
  width: 5px; height: 7px;
  background: #FFFEF5;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin-top: -1px;
}
.logo__studio {
  font-family: 'Caveat', cursive;
  margin-top: -0.25rem;
  color: #FFFEF5;
  opacity: 0;
  font-size: clamp(1.5rem, 5.2vw, 2.4rem);
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}
.logo__studio > span { display: inline-block; transform: translateX(-2px); }
.logo__est {
  width: 68%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.logo__est-line { flex: 1; height: 1px; background: rgba(255, 254, 245, 0.7); transform: scaleX(0); }
.logo__est-txt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 254, 245, 0.9);
  white-space: nowrap;
  opacity: 0;
}

@keyframes drawCircle { from { stroke-dashoffset: 1684; } to { stroke-dashoffset: 0; } }
@keyframes paintIn {
  0%   { opacity: 0; transform: translateY(24px) scale(1.35) rotate(var(--r0)); filter: blur(8px) brightness(1.5); }
  35%  { opacity: 1; filter: blur(2px) brightness(1.2); }
  65%  { transform: translateY(-2px) scale(1.02) rotate(var(--r1)); filter: blur(0.3px); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--rot)); filter: blur(0) brightness(1); }
}
@keyframes studioIn {
  from { opacity: 0; transform: translateY(14px) skewX(-6deg); filter: blur(6px); }
  to   { opacity: 0.95; transform: translateY(0) skewX(0); filter: blur(0); }
}
@keyframes lineIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes estIn {
  from { opacity: 0; letter-spacing: 0.6em; filter: blur(4px); }
  to   { opacity: 0.9; letter-spacing: 0.32em; filter: blur(0); }
}
@keyframes dripGrow { 0% { height: 0; opacity: 0; } 20% { opacity: 1; } 100% { height: var(--dh); opacity: 1; } }
@keyframes dripPulse { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(1.5px) scaleY(1.08); } }

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  align-self: center;
}
.hero__arrow {
  display: inline-block;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
}
.marquee__track {
  display: inline-flex;
  animation: scroll 28s linear infinite;
}
.marquee__track span {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTION HEAD ============ */
.section-head { margin-bottom: 60px; }
.section-head__idx {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-head__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ============ COLLECTION ============ */
.collection { padding: 120px 40px; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card { cursor: pointer; }
.card__media {
  aspect-ratio: 3 / 4;
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.5s;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__media { border-color: rgba(255,255,255,0.4); }
.card__info {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.card__name { color: #e6e6e6; }
.card__price { color: var(--grey); }

/* ============ MANIFESTO ============ */
.manifesto {
  padding: 120px 40px;
  border-top: 1px solid var(--line);
  max-width: 1100px;
}
.manifesto__text {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 40px 0 80px;
}
.manifesto__text em { font-style: normal; color: var(--grey); }
.manifesto__facts {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}
.manifesto__facts div { display: flex; flex-direction: column; gap: 6px; }
.manifesto__facts strong {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
}
.manifesto__facts span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============ LOOKBOOK ============ */
.lookbook { padding: 120px 40px; border-top: 1px solid var(--line); }
.looks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.look { position: relative; }
.look__img {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
}
.look--tall .look__img { aspect-ratio: 3 / 5; }
.look__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.look:hover .look__img img { transform: scale(1.05); }
.look figcaption {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============ CTA ============ */
.cta {
  padding: 140px 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 20px 0 16px;
}
.cta__sub { color: var(--grey); letter-spacing: 0.04em; margin-bottom: 44px; }
.cta__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid var(--white);
}
.cta__form input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  padding: 14px 0;
  outline: none;
}
.cta__form input::placeholder { color: var(--grey); }
.cta__form button {
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 4px;
  transition: opacity 0.3s;
}
.cta__form button:hover { opacity: 0.6; }
.cta__note {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  min-height: 16px;
}

/* ============ FOOTER ============ */
.footer { padding: 80px 40px 34px; border-top: 1px solid var(--line); }
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 70px;
}
.footer__logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 9rem);
  letter-spacing: 0.02em;
  line-height: 0.8;
}
.footer__cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer__cols h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.footer__cols a:hover { opacity: 1; }
.footer__bar {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .looks { grid-template-columns: repeat(2, 1fr); }
  .look--tall .look__img { aspect-ratio: 3 / 4; }
}
@media (max-width: 640px) {
  .nav, .hero, .collection, .manifesto, .lookbook, .cta, .footer { padding-left: 22px; padding-right: 22px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero__meta { margin-top: 70px; }
  .manifesto__facts { gap: 40px; }
  .footer__bar { flex-direction: column; gap: 8px; }
}
