/* ====================================================
   PORTFOLIO LOUKA NICOLAEFF — BLOOM AGENCY
   Style sheet
==================================================== */

/* ============ CUSTOM FONTS ============ */
@font-face {
  font-family: 'Reckless';
  src: url('../fonts/RecklessStandardM-TRIAL-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Season Sans';
  src: url('../fonts/SeasonSans-Light-TRIAL.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ============ RESET ============ */
:root {
  --bg-dark: #050505;
}

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

html, body {
  background: var(--bg-dark);
  color: #fff;
  font-family: 'Season Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.01em;
  width: 100%;
  overflow-x: hidden;
}
body { overflow-y: auto; }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ============ STARFIELD ============ */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.stars span {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.9; }
}

/* ============ FLOWER STAGE ============
   The flower sits centered. No global hover distortion —
   the wind effect now follows the custom cursor (see .cursor-blob). */
.flower-stage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 720px;
  height: 720px;
  z-index: 5;
  pointer-events: auto;
  cursor: none; /* hide default cursor when over flower */
  transition: transform 0.3s linear, opacity 0.3s linear;
}
.flower-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 0 80px rgba(255, 255, 255, 0.06));
  animation: flowerFloat 9s ease-in-out infinite;
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes flowerFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-12px) rotate(0.6deg); }
}

/* When the flower is being hovered, apply the liquid SVG filter
   for a subtle wave/wind distortion (à la Tomoya Okada) */
.flower-stage.is-hovering .flower-img {
  filter: url(#flowerLiquid)
          drop-shadow(0 0 80px rgba(255, 240, 220, 0.12));
}

/* Halo behind the flower */
.flower-stage::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,240,0.05) 0%, transparent 70%);
  z-index: -1;
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
}
.flower-stage:hover::before {
  opacity: 1.6;
  transform: scale(1.2);
}

/* ============ CUSTOM CURSOR ============
   Subtle, elegant cursor — small white dot on default,
   becomes a soft glassy lens on flower (no hard fill, more like a glass distortion). */
.cursor-blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.6s ease,
              backdrop-filter 0.6s ease,
              border 0.6s ease,
              opacity 0.3s ease;
  mix-blend-mode: difference;
}
/* Glassy lens on flower: light distortion + slight blur, very transparent */
.cursor-blob.is-on-flower {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px) contrast(1.05);
  -webkit-backdrop-filter: blur(4px) contrast(1.05);
  mix-blend-mode: normal;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.08),
              0 0 40px rgba(255, 240, 220, 0.08);
}
.cursor-blob.is-on-card {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  mix-blend-mode: difference;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .cursor-blob { display: none; }
  .flower-stage { cursor: pointer; }
}

/* ============ HERO INTRO — big editorial title ============ */
.hero-intro {
  position: fixed;
  inset: 0;
  z-index: 6; /* above the flower so titles pass IN FRONT */
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  transition: opacity 0.4s linear;
  /* Opacity is driven by scroll progress in JS */
}

.hero-intro .kicker {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  font-family: 'Season Sans', sans-serif;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.hero-intro .big-title {
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #fff;
  text-align: left;
  width: 100%;
  padding: 0 5vw;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-intro .big-title .line {
  display: block;
  overflow: hidden;
}
.hero-intro .big-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroLineReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-intro .big-title .line:nth-child(1) .line-inner { animation-delay: 0.5s; }
.hero-intro .big-title .line:nth-child(2) .line-inner { animation-delay: 0.7s; }

.hero-intro .big-title .line.line-2 {
  text-align: right;
  margin-top: -0.05em;
}

@keyframes heroLineReveal {
  0%   { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-intro .scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-family: 'Season Sans', sans-serif;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-intro .scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1; transform: scaleY(1); }
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
}
.brand-logo { width: 140px; height: auto; display: block; flex-shrink: 0; }
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.brand-text .loc {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.top-nav a.is-active { text-decoration: line-through; }
.top-nav .mail {
  width: 18px; height: 14px;
  border: 1px solid currentColor;
  position: relative;
  display: inline-block;
  margin-left: 4px;
}
.top-nav .mail::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  border-top: 1px solid currentColor;
  height: 7px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  box-sizing: border-box;
}

/* ============ FOOTER ============ */
.site-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 24px 48px;
  display: flex;
  justify-content: center;
  z-index: 90;
  pointer-events: none;
}
.footer-tabs { display: flex; gap: 32px; pointer-events: auto; }
.footer-tabs a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-tabs a.is-active { text-decoration: line-through; }

/* ============ SCROLL DRIVER ============ */
.scroll-driver {
  width: 100vw;
  pointer-events: none;
}

.scroll-cue {
  position: fixed;
  right: 48px; top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.5s ease;
  writing-mode: vertical-rl;
}

.active-indicator {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 91;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.active-indicator.is-active { opacity: 1; }
.active-indicator .num {
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.active-indicator .title-text {
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
}
.active-indicator .total {
  font-family: 'Season Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.35);
}

/* ============ ORBIT STAGE ============ */
.stage {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  perspective: 3000px;
  pointer-events: none;
  -webkit-perspective: 3000px;
}
.carousel {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  opacity: 0;
  transition: opacity 0.4s linear;
  pointer-events: auto;
  will-change: transform;
}

/* ============ ORBIT CARDS ============ */
.orbit-card {
  position: absolute;
  width: 360px;
  aspect-ratio: 16 / 10;
  transform: translate(-50%, -50%);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  backface-visibility: visible;
  transition: box-shadow 0.5s ease;
  will-change: transform, opacity;
  /* Crisp 3D rendering — prevents pixelation on rotated cards */
  -webkit-backface-visibility: visible;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Force GPU compositing layer for smoother 3D transforms */
  -webkit-perspective: 1000;
}
/* All children inherit smooth 3D rendering too */
.orbit-card * {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.orbit-card .image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.orbit-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.orbit-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.05) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
  z-index: 2;
}
.orbit-card .title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  padding: 0 30px;
  text-align: center;
}
.orbit-card .num {
  position: absolute;
  top: 22px; left: 26px;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.7);
  z-index: 3;
}
.orbit-card .cta {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  z-index: 3;
}
.orbit-card .cta .arr {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

/* ============ CARD IMAGE BACKGROUNDS — real project photos ============ */
.img-azur-elegance     { background: #1a1a1a url('../assets/images/azur-elegance.jpg')     center / cover no-repeat; }
.img-la-boulange       { background: #1a1a1a url('../assets/images/la-boulange.png')       center / cover no-repeat; }
.img-btp-monaco        { background: #1a1a1a url('../assets/images/btp-monaco.png')        center / cover no-repeat; }
.img-fleurs-et-passion { background: #1a1a1a url('../assets/images/fleurs-et-passion.png') center / cover no-repeat; }
.img-starlight         { background: #1a1a1a url('../assets/images/starlight-expertises.jpg') center / cover no-repeat; }
.img-taxi-dimitri      { background: #1a1a1a url('../assets/images/taxi-dimitri.jpg')      center / cover no-repeat; }
.img-nouille-toi       { background: #1a1a1a url('../assets/images/nouille-toi.png')       center / cover no-repeat; }
.img-muna              { background: #1a1a1a url('../assets/images/muna.png')              center / cover no-repeat; }
.img-du-coq-au-boeuf   { background: #1a1a1a url('../assets/images/du-coq-au-boeuf.jpeg')  center / cover no-repeat; }
.img-la-boulardiere    { background: #1a1a1a url('../assets/images/la-boulardiere.jpeg')   center / cover no-repeat; }
.img-bloom-agency      { background: #1a1a1a url('../assets/images/bloom-agency.png')      center / cover no-repeat; }
.img-maison-soeur      { background: #1a1a1a url('../assets/images/maison-soeur.png')      center / cover no-repeat; }

/* ============ ZOOM EFFECT ============ */
.orbit-card.is-zooming {
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 50;
}
.zoom-veil {
  position: fixed;
  inset: 0;
  background: #050505;
  opacity: 0;
  pointer-events: none;
  z-index: 49;
  transition: opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.zoom-veil.is-active { opacity: 1; }

.orbit-card.is-front {
  box-shadow: 0 30px 100px rgba(0,0,0,0.7),
              0 0 80px rgba(255,255,255,0.06);
}
.orbit-card.is-front::after {
  content: 'CLICK TO OPEN';
  position: absolute;
  top: 22px; right: 22px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
  z-index: 4;
  pointer-events: none;
}

/* ============ PROJECT PAGE ============ */
.project-page {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 300;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease 0.3s;
}
.project-page.open { opacity: 1; pointer-events: auto; }

.project-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.project-page .project-visual {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.8s ease 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
.project-page.open .project-visual { opacity: 1; transform: translateY(0); }
.project-page .project-visual .image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.project-page .project-visual .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.project-page .project-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.8s ease 0.7s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}
.project-page.open .project-info { opacity: 1; transform: translateY(0); }

.project-page .num-badge {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.5);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.project-page h1 {
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff;
}
.project-page .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding-top: 8px;
}
.project-page .meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-page .meta-item .label {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.project-page .meta-item .value {
  font-family: 'Reckless', serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.02em;
}
.project-page .description {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
}
.project-page .description::first-letter {
  font-family: 'Reckless', serif;
  font-style: italic;
  font-size: 56px;
  float: left;
  line-height: 0.9;
  margin: 6px 10px -4px 0;
  color: #fff;
}
.project-page .actions {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.project-page .actions.secondary {
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.project-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: all 0.4s;
  font-family: inherit;
}
.project-page .btn:hover {
  background: #fff;
  color: #050505;
  border-color: #fff;
}
.project-page .btn-primary {
  background: #fff;
  color: #050505;
  border-color: #fff;
  padding: 16px 32px;
  font-size: 12px;
}
.project-page .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.project-page .btn-primary .arrow {
  font-size: 14px;
  transition: transform 0.3s;
}
.project-page .btn-primary:hover .arrow {
  transform: translate(2px, -2px);
}
.project-page .btn-primary.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.project-page .close-btn {
  position: fixed;
  top: 28px; right: 48px;
  background: none;
  border: none;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 310;
  padding: 8px 12px;
  transition: opacity 0.3s;
}
.project-page .close-btn:hover { opacity: 0.6; }

/* ============ ABOUT & INDEX OVERLAYS ============ */
.about-overlay, .index-overlay {
  position: fixed; inset: 0;
  background: #050505;
  color: #fff;
  z-index: 200;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-overlay.open, .index-overlay.open { transform: translateY(0); }
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 48px 80px;
  text-align: center;
}
.about-section-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 32px;
}
.about-bio {
  font-family: 'Reckless', serif;
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 28px;
}
.about-bio em { font-style: italic; color: rgba(255,255,255,0.55); }
.about-resume-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 80px;
  transition: all 0.3s;
}
.about-resume-btn:hover { background: #fff; color: #050505; border-color: #fff; }
.about-categories { margin-top: 60px; }
.about-cat-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 18px 0;
  cursor: pointer;
}
.about-cat-row.left .cat-thumb { order: -1; }
.about-cat-row .cat-name {
  font-family: 'Reckless', serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}
.about-cat-row .cat-thumb {
  width: 220px;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(-20px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-cat-row:hover .cat-thumb { opacity: 1; transform: translateX(0) scale(1); }
.about-close {
  position: fixed;
  top: 28px; right: 48px;
  background: none; border: none;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 210;
}
.index-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  grid-auto-rows: 200px;
}
.index-tile {
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.index-tile:nth-child(1)  { transform: rotate(-3deg) translateY(20px); }
.index-tile:nth-child(2)  { transform: rotate(2deg)  translateY(80px); }
.index-tile:nth-child(3)  { transform: rotate(-1deg) translateY(0); }
.index-tile:nth-child(4)  { transform: rotate(4deg)  translateY(60px); }
.index-tile:nth-child(5)  { transform: rotate(-2deg) translateY(120px); }
.index-tile:nth-child(6)  { transform: rotate(3deg)  translateY(40px); }
.index-tile:nth-child(7)  { transform: rotate(-4deg) translateY(100px); grid-column: span 2; }
.index-tile:nth-child(8)  { transform: rotate(1deg)  translateY(80px); }
.index-tile:nth-child(9)  { transform: rotate(-2deg) translateY(0); }
.index-tile:nth-child(10) { transform: rotate(3deg)  translateY(60px); }
.index-tile:nth-child(11) { transform: rotate(-1deg) translateY(40px); }
.index-tile:nth-child(12) { transform: rotate(2deg)  translateY(20px); }
.index-tile:hover { transform: scale(1.05) rotate(0deg) !important; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .stage { perspective: 2000px; -webkit-perspective: 2000px; }
  .orbit-card .title { font-size: 18px; }
  .project-page-inner { grid-template-columns: 1fr; gap: 50px; padding: 110px 32px 80px; }
  .project-page .project-visual { max-width: 600px; margin: 0 auto; aspect-ratio: 4 / 3; }
  .flower-stage { width: 540px; height: 540px; }
}
@media (max-width: 720px) {
  .stage { perspective: 1400px; -webkit-perspective: 1400px; }
  .site-header { padding: 14px 16px; }
  .brand { gap: 0; }
  .brand-logo { width: 90px; }
  .brand-text { display: none; } /* hide name/loc on mobile, logo speaks for itself */
  .site-footer { padding: 16px 16px; }
  .flower-stage { width: 360px; height: 360px; }
  .orbit-card .title { font-size: 14px; }
  .top-nav { gap: 12px; }
  .top-nav a { font-size: 10px; letter-spacing: 0.02em; }
  .top-nav .mail { width: 14px; height: 11px; margin-left: 2px; }
  .top-nav .mail::before { height: 5.5px; border-left-width: 7px; border-right-width: 7px; }
  .footer-tabs { gap: 20px; }
  .scroll-cue { display: none; }
  .index-grid { grid-template-columns: repeat(2, 1fr); padding: 100px 22px 80px; gap: 24px; }
  .about-inner { padding: 120px 22px 60px; }
  .about-cat-row { flex-direction: column; gap: 12px; align-items: center; }
  .about-cat-row .cat-thumb { width: 70%; opacity: 0.8; transform: none; }
  .active-indicator { font-size: 10px; gap: 12px; }
  .active-indicator .title-text { font-size: 14px; }
  .project-page-inner { padding: 90px 22px 60px; gap: 32px; }
  .project-page .close-btn { top: 18px; right: 22px; }
  .project-page h1 { font-size: 38px; }
  .project-page .description { font-size: 14px; }
  .hero-intro .big-title { font-size: clamp(40px, 14vw, 80px); padding: 0 22px; }
  .hero-intro .kicker { top: 80px; font-size: 9px; letter-spacing: 0.3em; }
  .hero-intro .scroll-hint { bottom: 60px; }
}
