/* ═══════════════════════════════════════════════════
   KURO & KIN — Global Styles
   ═══════════════════════════════════════════════════ */

:root {
  --kuro-bg: #0a0a0a;
  --kuro-surface: #1a1a1a;
  --kuro-espresso: #2c1810;
  --kuro-copper: #c8956c;
  --kuro-crema: #f5f0eb;
  --kuro-text: #f5f0eb;

  --kin-bg: #f8f5f0;
  --kin-surface: #f0ebe3;
  --kin-gold: #d4a853;
  --kin-green: #4a7c59;
  --kin-deep-green: #2d5a3a;
  --kin-linen: #e8dcc8;
  --kin-text: #1a1a1a;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;

  --section-padding: clamp(80px, 12vh, 160px);
  --container-width: min(1200px, 90vw);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--kuro-text);
  background: var(--kuro-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

body *,
body *::before,
body *::after {
  cursor: none;
}

/* Restore cursor on form elements for usability */
input, textarea, select, button {
  cursor: none;
}

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

/* ═══════════════════════════════════════════════════
   NOISE TEXTURE OVERLAY (dark sections)
   ═══════════════════════════════════════════════════ */

.kuro::before,
.philosophy::before,
.community::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 0;
}

.kuro,
.philosophy,
.community {
  position: relative;
}

/* ═══════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--kuro-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--kuro-crema);
  letter-spacing: 0.1em;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader__logo span {
  color: var(--kin-gold);
  font-style: italic;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════ */

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  background: var(--kin-gold);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s,
              width 0.3s,
              height 0.3s;
  opacity: 0.8;
}

.custom-cursor--hover {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.custom-cursor--kin {
  background: var(--kin-green);
}

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(2rem, 5vw, 4rem);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--kuro-crema);
}

.nav__logo span {
  color: var(--kin-gold);
  font-style: italic;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links--open {
  display: flex !important;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  gap: 1.5rem;
}

.nav__links a {
  color: var(--kuro-crema);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--kin-gold);
  transition: width 0.3s;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--kuro-crema);
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════════════
   HERO — SPLIT SCREEN
   ═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.hero__side {
  position: relative;
  flex: 1;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__side:hover {
  flex: 1.15;
}

.hero__side:not(:hover) {
  flex: 0.92;
}

.hero:has(.hero__side--kuro:hover) .hero__side--kin {
  flex: 0.85;
}

.hero:has(.hero__side--kin:hover) .hero__side--kuro {
  flex: 0.85;
}

.hero__divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--kin-gold), transparent);
  z-index: 5;
  box-shadow: 0 0 15px rgba(212, 168, 83, 0.4);
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__overlay--dark {
  background: linear-gradient(135deg, rgba(10,10,10,0.7) 0%, rgba(44,24,16,0.5) 100%);
}

.hero__overlay--light {
  background: linear-gradient(225deg, rgba(248,245,240,0.4) 0%, rgba(212,168,83,0.3) 100%);
}

.hero__side-label {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.hero__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.hero__title {
  font-family: var(--font-serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero__title-line {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: white;
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__title-line:last-child {
  animation-delay: 0.2s;
}

.hero__title-amp {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--kin-gold);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero__subtitle {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.8);
  animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

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

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--kin-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ═══════════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════════ */

.philosophy {
  background: var(--kuro-surface);
  padding: var(--section-padding) 0;
}

.philosophy__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.philosophy__tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kin-gold);
  margin-bottom: 1.5rem;
}

.philosophy__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--kuro-crema);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.philosophy__text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(245, 240, 235, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.philosophy__divider {
  width: 60px;
  height: 1px;
  background: var(--kin-gold);
  margin: 3.5rem auto;
  opacity: 0.6;
}

.philosophy__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.philosophy__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.philosophy__card:hover {
  transform: translateY(-4px);
  border-color: var(--kin-gold);
  box-shadow: 0 8px 40px rgba(212, 168, 83, 0.08);
}

.philosophy__card-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--kin-gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.philosophy__card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--kuro-crema);
  margin-bottom: 0.75rem;
}

.philosophy__card p {
  font-size: 0.9rem;
  color: rgba(245, 240, 235, 0.6);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   KURO SECTION
   ═══════════════════════════════════════════════════ */

.kuro {
  background: var(--kuro-bg);
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kuro-copper);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--kuro-copper);
  border-radius: 2px;
}

.section-tag--light {
  color: var(--kin-gold);
  border-color: var(--kin-gold);
}

/* Kuro Hero */
.kuro__hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.kuro__hero-img {
  position: absolute;
  inset: 0;
}

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

.kuro__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
  z-index: 1;
}

.kuro__hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem clamp(2rem, 8vw, 8rem);
  max-width: 600px;
}

.kuro__hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--kuro-crema);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.kuro__hero p {
  font-size: 1.1rem;
  color: rgba(245,240,235,0.7);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   QUOTE SECTIONS
   ═══════════════════════════════════════════════════ */

.quote-section {
  position: relative;
  padding: clamp(4rem, 10vh, 8rem) 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  overflow: hidden;
}

.quote-section--dark {
  background: var(--kuro-surface);
}

.quote-section--light {
  background: var(--kin-bg);
}

/* Split layout quote (image on side) — REMOVED, replaced with bg approach */

/* Background image quote */
.quote-section--bg {
  min-height: 60vh;
  background: var(--kuro-bg);
}

.quote-section__bg-image {
  position: absolute;
  inset: 0;
}

.quote-section__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.quote-section--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, var(--kuro-bg) 75%);
  pointer-events: none;
}

/* Featured Iroh quote (visible image) */
.quote-section--featured {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  padding: 0;
  min-height: 50vh;
}

.quote-section__iroh-visible {
  overflow: hidden;
  position: relative;
}

.quote-section__iroh-visible img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.quote-section--featured .quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  text-align: left;
  max-width: none;
}

/* Full-width Iroh with radial mask */
.quote-section--iroh-full {
  min-height: 60vh;
}

.quote-section__iroh-masked {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-section__iroh-masked img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 70% 70% at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 20%, transparent 70%);
}

/* Quote base styles */
.quote {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--kuro-crema);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.quote--light p {
  color: var(--kin-text);
}

.quote cite {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: normal;
}

.quote__translation {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--kuro-copper);
  font-style: italic;
}

.quote--light .quote__translation {
  color: var(--kin-green);
}

.quote__author {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.5);
}

.quote--light .quote__author {
  color: rgba(26,26,26,0.5);
}

/* ═══════════════════════════════════════════════════
   KURO SHOWCASE
   ═══════════════════════════════════════════════════ */

.kuro__showcase {
  padding: var(--section-padding) 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.kuro__showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

.kuro__showcase-header h3 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--kuro-crema);
  margin-bottom: 0.5rem;
}

.kuro__showcase-header p {
  color: rgba(245,240,235,0.6);
  font-size: 1rem;
}

.kuro__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.kuro__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s,
              box-shadow 0.4s;
}

.kuro__card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: var(--kuro-copper);
  box-shadow: 0 20px 60px rgba(200, 149, 108, 0.08);
}

.kuro__card-img {
  height: 250px;
  overflow: hidden;
}

.kuro__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kuro__card:hover .kuro__card-img img {
  transform: scale(1.08);
}

.kuro__card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--kuro-crema);
  padding: 1.5rem 1.5rem 0.5rem;
}

.kuro__card p {
  font-size: 0.9rem;
  color: rgba(245,240,235,0.6);
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

/* Kuro Origin */
.kuro__origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  overflow: hidden;
}

.kuro__origin-img {
  position: relative;
  overflow: hidden;
}

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

.kuro__origin-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2rem, 5vw, 5rem);
  background: var(--kuro-surface);
}

.kuro__origin-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--kuro-crema);
  margin-bottom: 1rem;
}

.kuro__origin-content p {
  font-size: 1rem;
  color: rgba(245,240,235,0.7);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   TRANSITION SECTION
   ═══════════════════════════════════════════════════ */

.transition-section {
  position: relative;
  padding: clamp(6rem, 15vh, 12rem) 2rem;
  background: linear-gradient(180deg,
    var(--kuro-bg) 0%,
    var(--kuro-surface) 20%,
    var(--kin-linen) 80%,
    var(--kin-bg) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.transition-section__line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--kin-gold), transparent);
  opacity: 0.6;
}

.transition-section__content {
  text-align: center;
}

.transition-section__content p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  line-height: 2;
  letter-spacing: 0.02em;
}

.transition-section__content p:first-child {
  color: var(--kuro-crema);
}

.transition-section__content p:last-child {
  color: var(--kin-deep-green);
}

/* ═══════════════════════════════════════════════════
   KIN SECTION
   ═══════════════════════════════════════════════════ */

.kin {
  background: var(--kin-bg);
}

/* Kin Hero */
.kin__hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.kin__hero-img {
  position: absolute;
  inset: 0;
}

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

.kin__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(248,245,240,0.9) 0%, rgba(248,245,240,0.4) 50%, transparent 100%);
  z-index: 1;
}

.kin__hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem clamp(2rem, 8vw, 8rem);
  max-width: 550px;
  text-align: right;
}

.kin__hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--kin-text);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.kin__hero p {
  font-size: 1.1rem;
  color: rgba(26,26,26,0.7);
  line-height: 1.6;
}

/* Kin Products */
.kin__products {
  padding: var(--section-padding) 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.kin__products-header {
  text-align: center;
  margin-bottom: 4rem;
}

.kin__products-header h3 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--kin-text);
  margin-bottom: 0.5rem;
}

.kin__products-header p {
  color: rgba(26,26,26,0.6);
  font-size: 1rem;
}

.kin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.kin__product {
  text-align: center;
}

.kin__product-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  height: 280px;
}

.glass-card {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.kin__product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover img {
  transform: scale(1.05);
}

.kin__product h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--kin-text);
  margin-bottom: 0.5rem;
}

.kin__product p {
  font-size: 0.9rem;
  color: rgba(26,26,26,0.6);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.kin__product-cta {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--kin-deep-green);
  border-bottom: 1px solid var(--kin-gold);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.kin__product-cta:hover {
  color: var(--kin-gold);
  border-color: var(--kin-deep-green);
}

/* Kin Ceremony */
.kin__ceremony {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  overflow: hidden;
}

.kin__ceremony-visual {
  position: relative;
  overflow: hidden;
}

.kin__ceremony-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Steam animation */
.steam {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 100px;
  pointer-events: none;
}

.steam__particle {
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  filter: blur(8px);
  animation: steamRise 3s ease-out infinite;
}

.steam__particle:nth-child(1) { left: 0; animation-delay: 0s; }
.steam__particle:nth-child(2) { left: 20px; animation-delay: 1s; }
.steam__particle:nth-child(3) { left: 40px; animation-delay: 2s; }

@keyframes steamRise {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  20% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-80px) scale(2) translateX(10px); }
}

.kin__ceremony-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2rem, 5vw, 5rem);
  background: var(--kin-surface);
}

.kin__ceremony-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--kin-text);
  margin-bottom: 1rem;
}

.kin__ceremony-text p {
  font-size: 1rem;
  color: rgba(26,26,26,0.7);
  line-height: 1.8;
}

/* Kin Origin */
.kin__origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  overflow: hidden;
}

.kin__origin-img {
  position: relative;
  overflow: hidden;
  order: 2;
}

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

.kin__origin-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2rem, 5vw, 5rem);
  background: var(--kin-surface);
  order: 1;
}

.kin__origin-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--kin-text);
  margin-bottom: 1rem;
}

.kin__origin-content p {
  font-size: 1rem;
  color: rgba(26,26,26,0.7);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════════════════ */

.community {
  padding: var(--section-padding) 2rem;
  background: var(--kuro-bg);
}

.community__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.community__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--kuro-crema);
  margin-bottom: 0.5rem;
}

.community__header p {
  color: rgba(245,240,235,0.6);
  font-size: 1rem;
}

.community__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.community__item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.community__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.community__item:hover img {
  transform: scale(1.06);
}

.community__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.community__item:hover .community__overlay {
  opacity: 1;
}

.community__overlay span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kuro-crema);
  font-weight: 500;
}

.community__item--tall {
  grid-row: span 2;
}

.community__item--wide {
  grid-column: span 2;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer {
  background: linear-gradient(135deg, var(--kuro-surface) 0%, var(--kuro-bg) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--kuro-crema);
  letter-spacing: 0.05em;
}

.footer__logo span {
  color: var(--kin-gold);
  font-style: italic;
}

.footer__tagline {
  margin-top: 0.5rem;
  color: rgba(245,240,235,0.5);
  font-size: 0.9rem;
}

.footer__newsletter h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--kuro-crema);
  margin-bottom: 0.5rem;
}

.footer__newsletter p {
  color: rgba(245,240,235,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__form {
  display: flex;
  gap: 0;
  max-width: 400px;
}

.footer__form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--kuro-crema);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.footer__form input:focus {
  border-color: var(--kin-gold);
}

.footer__form input::placeholder {
  color: rgba(245,240,235,0.4);
}

.footer__form button {
  padding: 0.9rem 1.5rem;
  background: var(--kin-gold);
  border: 1px solid var(--kin-gold);
  border-radius: 0 4px 4px 0;
  color: var(--kuro-bg);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.footer__form button:hover {
  background: #e0b85e;
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
}

.footer__form button:active {
  transform: scale(0.97);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kin-gold);
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: rgba(245,240,235,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--kuro-crema);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,235,0.4);
}

/* ═══════════════════════════════════════════════════
   PARALLAX
   ═══════════════════════════════════════════════════ */

.parallax-container {
  overflow: hidden;
}

.parallax-img {
  will-change: transform;
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .community__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .quote-section--featured {
    grid-template-columns: 1fr;
  }

  .quote-section__iroh-visible {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    flex-direction: column;
  }

  .hero__side:hover {
    flex: 1;
  }

  .hero__side:not(:hover) {
    flex: 1;
  }

  .hero__divider {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, var(--kin-gold), transparent);
  }

  .hero__side-label {
    bottom: 10%;
    font-size: 0.6rem;
  }

  .hero__title-line {
    font-size: 3.5rem;
  }

  .kuro__origin,
  .kin__ceremony,
  .kin__origin {
    grid-template-columns: 1fr;
  }

  .kin__origin-img {
    order: 1;
    min-height: 300px;
  }

  .kin__origin-content {
    order: 2;
  }

  .kuro__origin-img {
    min-height: 300px;
  }

  .kin__ceremony-visual {
    min-height: 300px;
  }

  .community__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .community__item--wide {
    grid-column: span 2;
  }

  .community__item--tall {
    grid-row: span 1;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kuro__cards {
    grid-template-columns: 1fr;
  }

  .kin__grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-section--split,
  .quote-section--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .community__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .community__item--wide,
  .community__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .kin__grid {
    grid-template-columns: 1fr;
  }

  .footer__form {
    flex-direction: column;
  }

  .footer__form input {
    border-right: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
  }

  .footer__form button {
    border-radius: 4px;
  }
}

/* Disable custom cursor on touch devices */
@media (pointer: coarse) {
  body, body *, body *::before, body *::after {
    cursor: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }
}
