/* ============================================
   WEST FORTY STUDIO — style.css
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --off-white: #f4f2ee;
  --navy: #2d3a4a;
  --navy-mid: #4a5a6e;
  --cream: #f0e8d5;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

/* ── NAV ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(45,58,74,0.3);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(45,58,74,0.5);
  transition: border-color 0.3s;
}
.nav-logo-circle:hover { border-color: var(--navy-mid); }
.nav-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav-wordmark {
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.8);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.5);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--off-white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(244,242,238,0.7);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 55%, rgba(45,58,74,0.15) 0%, transparent 70%),
    #0a0a0a;
}

/* Optional: hero background photo */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45,58,74,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 7s ease-in-out infinite;
  pointer-events: none;
}
.r1 { width: 560px; height: 560px; }
.r2 { width: 380px; height: 380px; animation-delay: 1.2s; }

@keyframes ringPulse {
  0%,100% { opacity: 0.4; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 0.9; transform: translate(-50%,-50%) scale(1.018); }
}

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

.hero-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 40px;
  border: 1px solid rgba(45,58,74,0.4);
  box-shadow: 0 0 60px rgba(45,58,74,0.1);
  animation: heroFade 1.4s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes heroFade {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 22px;
  animation: heroFade 1.4s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.95;
  color: var(--off-white);
  margin-bottom: 28px;
  animation: heroFade 1.4s cubic-bezier(0.22,1,0.36,1) 0.25s both;
}
.hero-headline em {
  font-style: italic;
  color: rgba(244,242,238,0.45);
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(244,242,238,0.45);
  max-width: 400px;
  margin: 0 auto 48px;
  line-height: 1.9;
  animation: heroFade 1.4s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  border: 1px solid rgba(244,242,238,0.2);
  padding: 14px 32px;
  border-radius: 40px;
  transition: border-color 0.3s, background 0.3s;
  animation: heroFade 1.4s cubic-bezier(0.22,1,0.36,1) 0.45s both;
}
.hero-cta:hover {
  border-color: rgba(244,242,238,0.5);
  background: rgba(244,242,238,0.05);
}
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(244,242,238,0.2));
  animation: scrollAnim 2.2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── SECTIONS ─────────────────────────────── */
section {
  padding: 140px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,58,74,0.25), transparent);
  margin: 0 48px;
}

.section-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 18px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  color: var(--off-white);
  margin-bottom: 28px;
}

.section-body {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(244,242,238,0.55);
  font-weight: 300;
}

/* ── SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ── TWO-COL LAYOUT ───────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── IMAGE BLOCKS ─────────────────────────── */
.img-block {
  border-radius: 4px;
  overflow: hidden;
  background: #141210;
  position: relative;
}
.img-block.tall  { aspect-ratio: 4/5; }
.img-block.wide  { aspect-ratio: 4/3; }

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder shown when image is missing */
.img-label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(244,242,238,0.35);
  line-height: 1.8;
  background: linear-gradient(145deg, #1a1612, #0f0d0a);
}
.img-label span {
  font-size: 10px;
  color: rgba(244,242,238,0.2);
  letter-spacing: 0.1em;
  text-transform: none;
}
.img-block.img-missing .img-label { display: flex; }

/* ── FOUNDER ──────────────────────────────── */
.founder-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.55;
  color: rgba(244,242,238,0.8);
  margin-bottom: 28px;
  border-left: 1px solid rgba(45,58,74,0.6);
  padding-left: 24px;
}
.founder-bio {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(244,242,238,0.5);
  margin-bottom: 32px;
}
.text-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.55);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s, color 0.3s;
}
.text-link:hover { color: var(--off-white); gap: 14px; }

/* ── VIDEO ────────────────────────────────── */
.craft-section { text-align: center; }
.craft-section .section-title,
.craft-section .section-body { max-width: 580px; margin-left: auto; margin-right: auto; }
.craft-section .section-body { margin-bottom: 56px; }

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  cursor: pointer;
  background: #111;
}
.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.video-thumb-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a1612, #0d0b08);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  z-index: 3;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(244,242,238,0.08);
  border: 1.5px solid rgba(244,242,238,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s;
  z-index: 2;
}
.video-frame:hover .play-btn {
  background: rgba(244,242,238,0.16);
  transform: translate(-50%, -50%) scale(1.07);
}
.play-btn.hidden { display: none; }

/* ── PILLARS ──────────────────────────────── */
.pillars-section { text-align: center; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(45,58,74,0.15);
  border: 1px solid rgba(45,58,74,0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 60px;
}
.pillar {
  padding: 52px 36px;
  background: var(--black);
  text-align: left;
  transition: background 0.3s;
}
.pillar:hover { background: rgba(45,58,74,0.06); }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  color: rgba(45,58,74,0.3);
  line-height: 1;
  margin-bottom: 18px;
}
.pillar-title {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 14px;
}
.pillar-body {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244,242,238,0.45);
}

/* ── FOLLOW / CONTACT ─────────────────────── */
.follow-section {
  text-align: center;
  padding: 140px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.follow-section .section-title { margin-bottom: 16px; }
.follow-section .section-body { max-width: 380px; margin: 0 auto 48px; }

.email-form {
  display: flex;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto 52px;
  border: 1px solid rgba(244,242,238,0.15);
  border-radius: 40px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.email-form:focus-within { border-color: rgba(244,242,238,0.4); }
.email-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: 0.05em;
}
.email-form input::placeholder { color: rgba(244,242,238,0.25); }
.email-form button {
  background: rgba(244,242,238,0.06);
  border: none;
  border-left: 1px solid rgba(244,242,238,0.15);
  padding: 14px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.7);
  cursor: pointer;
  transition: background 0.3s;
}
.email-form button:hover { background: rgba(244,242,238,0.12); }

.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
}
.social-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.3);
  text-decoration: none;
  transition: color 0.25s;
}
.social-links a:hover { color: rgba(244,242,238,0.8); }

/* ── FOOTER ───────────────────────────────── */
footer {
  border-top: 1px solid rgba(45,58,74,0.18);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.footer-logo-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(45,58,74,0.4);
  flex-shrink: 0;
}
.footer-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-wordmark {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(244,242,238,0.3);
}
.footer-copy {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(244,242,238,0.18);
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 80px 24px; }
  .section-divider { margin: 0 24px; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .follow-section { padding: 80px 24px; }
  footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  .r1 { width: 320px; height: 320px; }
  .r2 { width: 220px; height: 220px; }
}
