*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --white: #F7F4F0;
  --dark: #131417;
  --black: #0D0C0B;
  --stone: #7A756E;
  --stone-light: #C8C3BB;
  --s3-bg: #efede9;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--dark); overflow-x: hidden; cursor: none; font-family: var(--sans); }
.cursor { position: fixed; width: 6px; height: 6px; background: var(--white); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: background 0.3s; }
.cursor-ring { position: fixed; width: 28px; height: 28px; border: 1px solid rgba(247,244,240,0.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: border-color 0.3s; }
.cursor.dark { background: var(--black); }
.cursor-ring.dark { border-color: rgba(13,12,11,0.3); }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 36px 52px; }
.nav-logo { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); text-decoration: none; opacity: 0.95; transition: color 0.4s; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--white); opacity: 0.85; transition: opacity 0.25s, color 0.4s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; border-bottom: 1px solid rgba(247,244,240,0.4); padding-bottom: 2px; }
nav.on-light .nav-logo, nav.on-light .nav-links a { color: var(--black); }
nav.on-light .nav-links a.active { border-bottom-color: rgba(13,12,11,0.4); }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.scroll-indicator-text { font-family: var(--sans); font-size: 9px; font-weight: 300; letter-spacing: 0.24em; text-transform: uppercase; color: var(--white); opacity: 0.3; }
.scroll-indicator-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(247,244,240,0.4), transparent); position: relative; overflow: hidden; }
.scroll-indicator-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, rgba(247,244,240,0.9), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { top: -100%; } 100% { top: 100%; } }
.page-hero-full { width: 100vw; height: 100vh; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.6); }
.page-hero-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 30%, rgba(13,12,11,0.6) 75%, var(--black) 100%); }
.page-hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 52px; }
.page-hero-jp { font-family: serif; font-size: clamp(52px,8vw,110px); font-weight: 900; line-height: 1; color: var(--white); letter-spacing: 0.04em; animation: fadeUp 1.4s 0.4s cubic-bezier(0.76,0,0.24,1) both; text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.page-hero-fr { font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white); opacity: 0.5; margin-top: 20px; animation: fadeUp 1.4s 0.6s cubic-bezier(0.76,0,0.24,1) both; }
.inner-section { display: flex; align-items: center; gap: 80px; padding: 120px 80px; background: var(--black); }
.inner-section.reverse { flex-direction: row-reverse; }
.inner-section-img { flex: 0 0 45%; }
.inner-section-img img { width: 100%; height: auto; display: block; }
.inner-section-text { flex: 1; }
.inner-label { font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--stone); display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.inner-label::before { content: ''; width: 24px; height: 1px; background: var(--stone); opacity: 0.4; display: block; }
.inner-title { font-family: var(--serif); font-size: clamp(28px,3vw,44px); font-weight: 300; font-style: italic; color: var(--white); line-height: 1.2; margin-bottom: 28px; }
.inner-body { font-family: var(--sans); font-size: 14px; font-weight: 300; line-height: 1.95; color: var(--stone); margin-bottom: 24px; }
.light-section { background: var(--s3-bg); padding: 100px 80px; text-align: center; }
.light-section p { font-family: var(--serif); font-size: clamp(20px,2.5vw,34px); font-weight: 300; font-style: italic; color: var(--black); line-height: 1.5; max-width: 700px; margin: 0 auto; }
footer { background: var(--black); padding: 80px 52px 52px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; border-top: 1px solid rgba(247,244,240,0.06); position: relative; z-index: 10; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-jp { font-family: serif; font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: 0.04em; line-height: 1; margin-bottom: 8px; }
.footer-name { font-family: var(--sans); font-size: 10px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); opacity: 0.5; }
.footer-year { font-family: var(--sans); font-size: 10px; font-weight: 300; letter-spacing: 0.14em; color: var(--white); opacity: 0.25; margin-top: 4px; }
.footer-col-title { font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); text-decoration: none; opacity: 0.55; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }
.footer-copy { grid-column: 1 / -1; font-family: var(--sans); font-size: 10px; font-weight: 300; letter-spacing: 0.1em; color: var(--white); opacity: 0.15; padding-top: 40px; border-top: 1px solid rgba(247,244,240,0.06); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }
.reveal.visible { opacity: 1 !important; transform: none !important; }
.proj-page-hero { width: 100vw; height: 70vh; position: relative; overflow: hidden; }
.proj-page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.7); }
.proj-page-hero-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(13,12,11,0.75) 100%); }
.proj-page-hero-content { position: absolute; bottom: 0; left: 0; padding: 0 72px 56px; }
.proj-page-title { font-family: var(--serif); font-size: clamp(40px,6vw,80px); font-weight: 300; font-style: italic; color: var(--white); line-height: 1; }
.proj-page-sub { font-family: var(--sans); font-size: 10px; font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); opacity: 0.45; margin-top: 14px; }
.proj-page-body { background: var(--black); padding: 80px 72px 120px; max-width: 860px; }
.proj-back { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 10px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); text-decoration: none; opacity: 0.45; margin-bottom: 52px; transition: opacity 0.2s; }
.proj-back:hover { opacity: 1; }
.proj-page-desc { font-family: var(--serif); font-size: clamp(18px,2vw,28px); font-weight: 300; font-style: italic; color: var(--white); line-height: 1.6; margin-bottom: 32px; opacity: 0.85; }
.proj-page-text { font-family: var(--sans); font-size: 14px; font-weight: 300; line-height: 1.9; color: var(--stone); }
@keyframes fadeUp { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* BURGER MENU */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
  position: relative;
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: background 0.3s;
}
nav.on-light .burger-btn span { background: var(--black); }

/* Overlay mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 32px;
  right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close::before,
.mobile-menu-close::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 1px;
  background: var(--white);
  opacity: 0.7;
}
.mobile-menu-close::before { transform: rotate(45deg); }
.mobile-menu-close::after  { transform: rotate(-45deg); }

.mobile-menu-links {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
}
.mobile-menu-links li { overflow: hidden; }
.mobile-menu-links a {
  font-family: var(--serif);
  font-size: clamp(32px, 10vw, 52px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
.mobile-menu-links a:hover { color: var(--stone-light); }
.mobile-menu.open .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-menu-links li:nth-child(1) a { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) a { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) a { transition-delay: 0.28s; }

@media (max-width: 768px) {
  /* Hide cursor elements on mobile */
  .cursor, .cursor-ring { display: none !important; }
  body { cursor: auto; }

  nav { padding: 24px 24px; }
  .nav-links { display: none; }
  .burger-btn { display: flex; }
  .mobile-menu { display: block; }
  .page-hero-jp { font-size: clamp(42px,12vw,72px); }
  .page-hero-fr { font-size: 10px; }
  .inner-section { flex-direction: column; padding: 60px 24px; gap: 40px; }
  .inner-section.reverse { flex-direction: column; }
  .inner-section-img { flex: none; width: 100%; }
  .inner-section-text { padding: 0; }
  .inner-title { font-size: clamp(22px,6vw,32px); }
  .inner-body { font-size: 13px; }
  .light-section { padding: 60px 24px; }
  .light-section p { font-size: clamp(16px,5vw,24px); }
  footer { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 28px; }
  .footer-copy { padding-top: 24px; }
  .proj-page-hero { height: 50vh; }
  .proj-page-hero-content { padding: 0 24px 40px; }
  .proj-page-title { font-size: clamp(28px,8vw,52px); }
  .proj-page-body { padding: 48px 24px 80px; }
}
