@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Shabnam';
  src: url('fonts/Shabnam.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #fff;
  --line: #e5e5e5;
  --mute: #767676;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Montserrat', 'Shabnam', sans-serif;
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.1rem 1rem .9rem;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.logo {
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
}

.site-header .logo img {
  height: 1.2rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(0,0,0,.9)) drop-shadow(0 2px 12px rgba(0,0,0,.6));
  transition: filter .4s var(--ease);
}

.site-header.scrolled .logo img {
  filter: brightness(0) invert(0) drop-shadow(0 0 3px rgba(0,0,0,0)) drop-shadow(0 2px 12px rgba(0,0,0,0));
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  margin-top: -52px;
  overflow: hidden;
  background: #000;
}

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

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.05) 45%, rgba(0,0,0,.45));
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.hero-copy h1 { margin: .6rem 0 1rem; }

.hero-copy h1 img {
  height: clamp(1.9rem, 6vw, 4rem);
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-copy .sub {
  font-size: .85rem;
  opacity: .85;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
}

.scroll-hint span {
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 50%;
  background: #fff;
  animation: drip 1.8s var(--ease) infinite;
}

@keyframes drip { to { top: 110%; } }

main { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }

.section-title {
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  text-transform: uppercase;
  text-align: center;
  margin: 5.5rem 0 3rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.collection-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .45s var(--ease);
}

.collection-card:hover { transform: translateY(-6px); }

.collection-card .frame { aspect-ratio: 3 / 4; }

.collection-card h3 {
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  margin: 1.2rem 0 .3rem;
}

.frame {
  position: relative;
  overflow: hidden;
}

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

.frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}

.frame img.loaded { opacity: 1; }

.collection-card:hover .frame img,
.card:hover .frame img { transform: scale(1.06); }

.soon .frame img { filter: saturate(.4) brightness(.9); }

.soon-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
}

.soon-word { display: flex; color: #fff; }

.soon-word b { width: .6em; }

.soon-word i {
  font-style: normal;
  font-size: 1.05rem;
  animation: breathe 2.6s var(--ease) infinite;
}

.soon-word i:nth-child(2) { animation-delay: .12s; }
.soon-word i:nth-child(3) { animation-delay: .24s; }
.soon-word i:nth-child(4) { animation-delay: .36s; }
.soon-word i:nth-child(5) { animation-delay: .48s; }
.soon-word i:nth-child(6) { animation-delay: .6s; }
.soon-word i:nth-child(8) { animation-delay: .84s; }
.soon-word i:nth-child(9) { animation-delay: .96s; }
.soon-word i:nth-child(10) { animation-delay: 1.08s; }
.soon-word i:nth-child(11) { animation-delay: 1.2s; }

@keyframes breathe {
  0%, 100% { transform: translateY(0); opacity: .85; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.soon .frame { cursor: default; }

.collection { margin-top: 6rem; }

.feature {
  margin: 4rem auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

#cypress-2 .feature { grid-template-columns: 1fr 1.5fr; }

.feature .frame { aspect-ratio: 4 / 5; }

.feature figcaption { padding: 0 1.5rem; }

#cypress-2 .feature .frame { order: 2; }

#cypress-2 .feature figcaption { text-align: right; }

.feature figcaption h3 {
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin: .8rem 0 1rem;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1.25rem;
  margin: 3rem 0;
}

.card {
  display: flex;
  flex-direction: column;
  width: calc((100% - 2.5rem) / 3);
}

.card .frame { aspect-ratio: 3 / 4; flex: 1; }

.card h3 {
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  text-align: center;
  margin-top: 1.1rem;
}

.gallery .frame img { position: absolute; inset: 0; }

.gallery .frame img:first-child { position: relative; }

.gallery .frame img:not(.active) { opacity: 0; }

.gallery .frame img.active.loaded { opacity: 1; }

.gnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .35s var(--ease), background .35s var(--ease);
}

.gnav:hover { background: #fff; }

.gnav.prev { left: 10px; }
.gnav.next { right: 10px; }

.gallery .frame:hover .gnav, .gallery .frame:focus-within .gnav { opacity: 1; }

.dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .45rem;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.gallery .frame:hover .dots, .gallery .frame:focus-within .dots { opacity: 1; }

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transition: background .3s, transform .3s;
}

.dots i.on { background: #fff; transform: scale(1.25); }

.connect { margin: 7rem 0 5rem; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 3rem;
}

.social-row a {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  transition: color .45s var(--ease);
}

.social-row a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}

.social-row a:hover::before { transform: translateY(0); }

.social-row a:hover { color: #fff; }

.social-row svg {
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform .6s var(--ease);
}

.social-row a:hover svg { transform: rotateY(360deg); }

footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

footer p:last-child { font-size: .7rem; color: var(--mute); }

.reveal { transform: translateY(26px); transition: transform .9s var(--ease); }

.reveal.in { transform: translateY(0); }

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-card.soon { grid-column: 1 / -1; }
  .soon .frame { aspect-ratio: 3 / 2; }
  .card { width: calc((100% - 1.25rem) / 2); }
}

@media (max-width: 560px) {
  .collection-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card { width: calc((100% - 1rem) / 2); }
  .card-grid { gap: 1.5rem 1rem; }
  .card h3 { font-size: .68rem; }
  .gnav { width: 30px; height: 30px; }
  .section-title { margin: 3.5rem 0 2rem; }
  .collection { margin-top: 3.5rem; }
}

@media (max-width: 700px) {
  .feature, #cypress-2 .feature {
    display: block;
    position: relative;
    margin: 2.5rem -1.25rem;
  }
  #cypress-2 .feature .frame { order: 0; }
  #cypress-1 .feature .frame { aspect-ratio: 16 / 9; background: #000; }
  .feature figcaption, #cypress-2 .feature figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3rem 1rem 1.4rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  }
  .feature figcaption h3 { color: #fff; margin: 0; }
}

@media (min-width: 701px) {
  #cypress-1 .feature, #cypress-2 .feature {
    display: block;
    position: relative;
    width: 100vw;
    max-width: none;
    margin: 6rem calc(50% - 50vw);
  }
  #cypress-1 .feature .frame, #cypress-2 .feature .frame { width: 100%; aspect-ratio: auto; height: calc(100svh - 96px); min-height: 520px; }
  #cypress-1 .feature figcaption, #cypress-2 .feature figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 4rem 1rem 2.4rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  }
  #cypress-1 .feature figcaption h3, #cypress-2 .feature figcaption h3 { color: #fff; margin: 0; }
}

@media (hover: none) {
  .gallery .gnav, .gallery .dots { opacity: 1; }
}

@media (scripting: none) {
  .frame img { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { transform: none; }
}
