/* ————————————————————————————————
   Veena Jetti — noir editorial, after LAIN
   pillars-first · pops of pastel pink & butter
———————————————————————————————— */

:root {
  --black: #000000;
  --bone: #E9E4DB;
  --bone-dim: rgba(233, 228, 219, 0.82);
  --bone-faint: rgba(233, 228, 219, 0.55);
  --line: rgba(233, 228, 219, 0.14);
  --pink: #FF9FC7;
  --butter: #FFEF9C;

  --font-display: "Italiana", Georgia, serif;
  --font-sans: "Quicksand", -apple-system, sans-serif;
  --font-round: "Quicksand", "Arial Rounded MT Bold", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

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

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.accent-pink { color: var(--pink); }
.accent-butter { color: var(--butter); }
em.accent-pink, em.accent-butter { font-style: normal; }

/* ————— Type ————— */

h1, h2, .contact-email, .index-title, .marquee-track, .wordmark, .menu-links a {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

h2 {
  font-size: 6.3vw;
  line-height: 1.0;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 1.2px currentColor;
  paint-order: stroke fill;
}

.micro-label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 26px;
}

/* ————— Header ————— */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}

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

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.55rem;
  letter-spacing: 0.18em;
  color: var(--bone);
  text-decoration: none;
}

.wordmark .wm-round {
  font-weight: inherit;
  text-transform: uppercase;
  color: var(--pink);
}

/* Hamburger */
.menu-btn {
  position: relative;
  z-index: 80;
  width: 52px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 9px;
}

.menu-btn span {
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 300ms var(--ease-in-out), background-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .menu-btn:hover span { background: var(--pink); }
}

.menu-open .menu-btn span:first-child { transform: translateY(5.25px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-5.25px) rotate(-45deg); }

/* Fullscreen menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #080808;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-in-out), visibility 0s 400ms;
}

.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms var(--ease-in-out);
}

.menu-open { overflow: hidden; }

.menu-links { display: flex; flex-direction: column; align-items: center; gap: 3.5vh; }

.menu-links a {
  display: block;
  overflow: hidden;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--bone);
  text-decoration: none;
  transition: color 200ms ease;
}

.menu-links a span {
  display: block;
  transform: translateY(110%);
  transition: transform 600ms var(--ease-out);
  transition-delay: 0ms;
}

.menu-open .menu-links a span {
  transform: translateY(0);
  transition-delay: var(--d, 0ms);
}

@media (hover: hover) and (pointer: fine) {
  .menu-links a:hover { color: var(--pink); }
}

.menu-foot { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }

.menu-foot a {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .menu-foot a:hover { color: var(--butter); }
}

/* ————— Parenthetical buttons ————— */

.btn-paren {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--bone);
  text-decoration: none;
  font-family: var(--font-round);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out);
}

.btn-paren:active { transform: scale(0.97); }

.btn-paren i { font-style: normal; color: var(--bone-faint); transition: transform 300ms var(--ease-out), color 200ms ease; }
.btn-paren em { font-style: normal; transition: transform 300ms var(--ease-out), color 200ms ease; }
.btn-paren span { transition: color 200ms ease; }

@media (hover: hover) and (pointer: fine) {
  .btn-paren:hover span { color: var(--pink); }
  .btn-paren:hover em { transform: translateX(6px); color: var(--pink); }
  .btn-paren:hover i:first-child { transform: translateX(-6px); color: var(--pink); }
  .btn-paren:hover i:last-child { transform: translateX(6px); color: var(--pink); }
}

/* ————— Hero ————— */

.hero {
  min-height: clamp(640px, 97vh, 1000px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 90px;
  position: relative;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 92vw;
  height: 92vw;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255, 159, 199, 0.13) 0%,
    rgba(255, 239, 156, 0.07) 45%,
    transparent 70%);
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
  opacity: 0;
  animation: portrait-in 1300ms var(--ease-out) forwards 200ms;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.48) 40%,
    rgba(0, 0, 0, 0.66) 75%,
    rgba(0, 0, 0, 0.92) 100%);
}

@keyframes portrait-in {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-kicker, .hero h1, .hero-sub, .hero-actions { position: relative; z-index: 1; }

.hero-kicker {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 34px;
}

h1 {
  font-size: 14.4vw;
  line-height: 0.8;
  letter-spacing: 5px;
}

.hline { display: block; overflow: hidden; }
.hline-2 .accent {}

.hline b {
  display: inline-block;
  font-weight: 400;
  transform: translateY(115%) rotate(3deg);
  animation: letter-up 950ms var(--ease-out) forwards;
  animation-delay: calc(120ms + var(--i) * 55ms);
}

.hline-2 b { color: var(--pink); }

@keyframes letter-up {
  to { transform: translateY(0) rotate(0deg); }
}

.hero-sub {
  max-width: 52ch;
  margin-top: 40px;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

.hero-actions { margin-top: 40px; }

.hero-fade {
  opacity: 0;
  animation: fade-in 800ms ease forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fade-in { to { opacity: 1; } }

/* Rotating circular badge */
.badge {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(20px, 5vh, 60px);
  width: 120px;
  height: 120px;
  z-index: 2;
}

.badge.badge-anchored { right: auto; bottom: auto; }

.badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; overflow: visible; }

.badge text {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: var(--butter);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Char spans for GSAP effects */
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; }

[data-effect4] { perspective: 1000px; }

/* Rolling link hover (LAIN hoverstagger) */
.roll { position: relative; display: inline-block; overflow: hidden; }
.roll-t { display: block; }
.roll-t2 { position: absolute; inset: 0; }

/* ————— Marquees ————— */

.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  font-size: 5vw;
  letter-spacing: 0.06em;
  animation: marquee 40s linear infinite;
}

.marquee-track span { white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: 0.6em; }
.marquee-butter .marquee-track {
  color: var(--butter);
  font-family: var(--font-round);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-pink .marquee-track { color: var(--pink); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ————— Pillars gallery ————— */

.pillars { padding: 130px 0 90px; }

.pillars h2 { margin-bottom: 20px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 24px 32px;
  margin-top: 70px;
}

.tile { text-decoration: none; color: inherit; display: block; }

.tile-a { grid-column: 1 / 6; margin-top: 0; }
.tile-b { grid-column: 7 / 13; margin-top: 160px; }
.tile-c { grid-column: 1 / 7; margin-top: 60px; }
.tile-d { grid-column: 8 / 13; margin-top: 180px; }
.tile-e { grid-column: 4 / 10; margin-top: 80px; }

.tile-wrap { display: block; overflow: hidden; }

.plx {
  overflow: hidden;
  background: #151515;
  filter: grayscale(1) contrast(1.05);
  transition: filter 500ms ease;
}

.plx img {
  width: 100%;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .plx { filter: grayscale(0) contrast(1); }
}

.tile { position: relative; }

.tile-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 110px 26px 26px;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.6;
  color: var(--bone);
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.62) 38%, rgba(5, 5, 5, 0.86) 100%);
}

.cap-desc {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--bone-dim);
  max-width: 46ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.tile-cap b {
  display: block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.tile-cap b i {
  font-style: normal;
  font-size: 0.62em;
  vertical-align: 0.28em;
  margin-right: 0.18em;
}

.gallery-cta { margin-top: 60px; text-align: center; }

/* ————— Statement ————— */

.statement {
  padding: 170px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.statement-text {
  font-family: var(--font-round);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0.01em;
}

.statement-meta {
  margin-top: 44px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

/* ————— Expander (pinned scroll-scrub) ————— */

.expander { position: relative; }

.expander-pin {
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
  position: relative;
}

.expander-media {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  will-change: transform;
  filter: grayscale(1) contrast(1.05);
}

.expander-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 3%;
  transform-origin: 50% 15%;
  will-change: transform;
}

.expander-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  background: rgba(11, 11, 11, 0.64);
}

.expander-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 70px;
}

.expander-stats span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}

.expander-stats b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 8.5vw, 7.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--bone);
  -webkit-text-stroke: 1px currentColor;
  paint-order: stroke fill;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
}

@media (max-width: 940px) {
  .expander-stats { gap: 20px 36px; }
}

/* ————— Newsletter ————— */

.newsletter { padding: 130px 0; border-top: 1px solid var(--line); }

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.newsletter-grid > * { min-width: 0; }

.newsletter-embed iframe {
  border-radius: 10px;
  background: #FFF7ED;
}

.newsletter-embed .feed-cta { margin-top: 18px; }

@media (max-width: 940px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ————— Latest / live feeds ————— */

.latest { padding: 130px 0 150px; border-top: 1px solid var(--line); }

.latest h2 { margin-bottom: 70px; }

.latest-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.latest-grid > * { min-width: 0; }

.feed-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 24px;
}

.feed-label a { color: var(--pink); text-decoration: none; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ig-post {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: #151515;
}

.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .ig-post:hover img { transform: scale(1.05); }
}

.ig-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--bone-faint);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
}

.feed-cta { margin-top: 28px; font-size: 1rem; }

.tt-wrap { border-radius: 8px; overflow: hidden; background: #151515; min-height: 400px; }

@media (max-width: 940px) {
  .latest-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ————— Work index ————— */

.learn { padding: 130px 0 150px; border-top: 1px solid var(--line); }

.learn h2 { margin-bottom: 70px; }

.index-list { border-top: 1px solid var(--line); }

.index-row {
  display: grid;
  grid-template-columns: 90px 1.4fr 1fr 60px;
  align-items: center;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 28px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 220ms ease;
}

.index-no {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--butter);
}

.index-title {
  font-family: var(--font-round);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  transition: color 220ms ease, transform 300ms var(--ease-out);
}

.index-meta { display: flex; flex-direction: column; gap: 6px; }

.meta-tag {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  align-self: flex-start;
  width: fit-content;
}

.tag-butter { color: var(--butter); background: rgba(255, 239, 156, 0.13); }
.tag-pink { color: var(--pink); background: rgba(255, 159, 199, 0.13); }

.meta-desc { font-weight: 500; font-size: 0.85rem; color: var(--bone-dim); }

.index-arrow {
  font-size: 1.4rem;
  color: var(--bone-faint);
  justify-self: end;
  transition: transform 300ms var(--ease-out), color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .index-row:hover { background: rgba(246, 201, 217, 0.045); }
  .index-row:hover .index-title { color: var(--pink); transform: translateX(10px); }
  .index-row:hover .index-arrow { color: var(--pink); transform: translateX(8px); }
}

/* ————— Contact ————— */

.contact {
  padding: 170px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-email {
  font-size: clamp(2rem, 6.4vw, 5.2rem);
  letter-spacing: 0.04em;
  color: var(--bone);
  text-decoration: none;
  line-height: 1.1;
  transition: color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-email:hover { color: var(--butter); }
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  list-style: none;
  margin-top: 54px;
}

.socials a b {
  font-weight: 700;
  color: var(--butter);
  margin-left: 6px;
}

.socials a {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .socials a:hover { color: var(--pink); }
}

/* ————— Footer ————— */

.site-footer { border-top: 1px solid var(--line); padding: 30px 28px; }

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.footer-inner a { color: var(--bone-dim); text-decoration: none; }

@media (hover: hover) and (pointer: fine) {
  .footer-inner a:hover { color: var(--pink); }
}

/* ————— Scroll reveals ————— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ————— Responsive ————— */

@media (max-width: 940px) {
  h1 { font-size: 20vw; letter-spacing: 2px; }
  h2 { font-size: 12.5vw; }
  .marquee-track { font-size: 7vw; }
  .statement-text { font-size: 5.6vw; }
  .gallery { gap: 56px 20px; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: 1 / 13; margin-top: 0; }
  .tile { max-width: 520px; margin-inline: auto; }
  .index-row { grid-template-columns: 44px 1fr 44px; }
  .index-meta { grid-column: 2; }
  .index-arrow { grid-row: 1; grid-column: 3; }
  .badge { width: 96px; height: 96px; }
}

@media (max-width: 620px) {
  .footer-inner { flex-direction: column; gap: 10px; }
}

/* ————— Reduced motion ————— */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-portrait { animation: fade-in 300ms ease forwards; transform: none; }
  .hline b { transform: none; animation: none; }
  .hero-fade { animation: fade-in 300ms ease forwards; }
  .reveal { transform: none; transition: opacity 300ms ease; }
  .reveal.visible { opacity: 1; }
  .marquee-track { animation: none; }
  .badge svg { animation: none; }
  .plx img { transform: none !important; }
  .menu-links a span { transform: none; transition: none; }
  .btn-paren:active { transform: none; }
}
