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

:root {
  --bg: #08080a;
  --bg-elevated: #0f0f12;
  --bg-card: #131318;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #f0f0f2;
  --text-secondary: rgba(255,255,255,0.55);
  --text-tertiary: rgba(255,255,255,0.3);
  --accent: #c9a96e;
  --accent-dim: rgba(201,169,110,0.15);
  --accent-glow: rgba(201,169,110,0.08);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

.cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

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

/* ===== LAYOUT ===== */
.page { position: relative; z-index: 2; opacity: 0; transition: opacity 0.6s ease; }
.page.visible { opacity: 1; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 24px 48px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(8,8,10,0.8);
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s var(--ease-out-expo), background 0.3s ease;
}
.header.hidden { transform: translateY(-100%); }
.header-left {
  display: flex; align-items: center;
}
.header-menu-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer; background: none; border: none;
  padding: 0;
}
.header-menu-link:hover { color: var(--text); }
.header-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900; font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  text-align: center; line-height: 1.15;
}
.header-right {
  display: flex; align-items: center; justify-content: flex-end;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg); display: flex;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 400; color: var(--text-tertiary);
  text-decoration: none; padding: 12px 0;
  transition: color 0.3s ease, transform 0.5s var(--ease-out-expo);
  transform: translateY(20px); opacity: 0;
}
.mobile-menu.open .mobile-menu-link {
  transform: translateY(0); opacity: 1;
  color: var(--text-secondary);
}
.mobile-menu-link:hover { color: var(--text); }
.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.24s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  position: relative; overflow: hidden;
  padding: 80px 0 0 0;
}
.hero-title-wrap {
  position: relative; z-index: 3;
  padding: 0 40px; will-change: transform;
}
.hero-title-svg {
  width: 100%; display: block; overflow: visible;
}
.hero-title-svg .hero-stroke-dark,
.hero-title-svg .hero-stroke-glow {
  fill: none;
  stroke-dashoffset: -900; stroke-dasharray: 900;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero-title-svg .hero-text-fill { opacity: 0; }
.hero-title-svg.go .hero-stroke-dark {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3px;
  animation: heroStrokeDraw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.hero-title-svg.go .hero-stroke-glow {
  stroke: var(--accent); stroke-width: 2.5px;
  animation: heroStrokeDraw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.7));
}
.hero-title-svg.go .hero-text-fill {
  fill: var(--text);
  animation: heroFillReveal 0.9s ease forwards;
  filter: drop-shadow(0 0 24px rgba(201, 169, 110, 0.35));
}
@keyframes heroStrokeDraw { 100% { stroke-dashoffset: 0; } }
@keyframes heroFillReveal { 0% { opacity: 0; } 100% { opacity: 1; } }

/* Animated gradient line under hero title */
.hero-title-wrap::after {
  content: ''; display: block;
  width: 0; height: 2px; margin-top: 18px;
  background: linear-gradient(90deg, transparent, var(--accent), rgba(201,169,110,0.3), transparent);
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1) 2s;
  border-radius: 1px;
}
.page.visible .hero-title-wrap::after { width: 100%; }

/* Hero ambient glow */
.hero::before {
  content: ''; position: absolute;
  top: 20%; left: 50%; width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.hero-image-wrap {
  position: relative;
  width: calc(100% - 80px); margin: 0 auto;
  height: 55vh; overflow: hidden;
  z-index: 1; will-change: transform;
}
.hero-image-reveal {
  position: absolute; inset: 0;
  background: var(--bg); z-index: 2;
  transform-origin: top;
}
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover; will-change: transform;
  transform: scale(1.15);
}
.hero-image-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, transparent 35%, transparent 65%, rgba(10,10,10,0.5) 100%);
  pointer-events: none;
}
.hero-footer {
  position: absolute; bottom: 24px; left: 28px; right: 28px;
  display: flex; justify-content: space-between;
  align-items: flex-end; z-index: 5;
  opacity: 0; transform: translateY(12px);
}
.hero-footer-left { font-size: 12px; font-weight: 400; letter-spacing: 0.5px; color: rgba(255,255,255,0.7); }
.hero-footer-left span { color: var(--accent); }
.hero-footer-right { font-size: 12px; font-weight: 400; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); }

.hero-scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeInDelay 1s var(--ease-out-expo) 2.5s forwards;
}
.hero-scroll-indicator span {
  font-size: 9px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-tertiary);
}
.hero-scroll-line {
  width: 1px; height: 36px;
  position: relative; overflow: hidden;
  background: var(--border);
}
.hero-scroll-line::after {
  content: ''; position: absolute;
  top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 150%; } }
@keyframes fadeInDelay {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== OUR STORY / MAGIC TEXT ===== */
.story-section {
  padding: 200px 40px 30px;
  position: relative;
}
.story-inner {
  max-width: 900px; margin: 0 auto;
}
.story-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 40px;
  text-align: center;
}
.story-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin: 0;
  text-align: justify;
  padding: 16px;
}
.story-word {
  position: relative;
  display: inline-block;
  will-change: opacity;
}
.story-word-ghost {
  opacity: 0.15;
  color: var(--text);
}
.story-word-reveal {
  position: absolute; inset: 0;
  color: var(--text);
  opacity: 0;
}

/* ===== GALLERY ===== */
.gallery { padding: 0; position: relative; overflow: hidden; }
.gallery::before {
  content: ''; position: absolute;
  top: -100px; left: 50%; width: 800px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.gallery-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 50px;
  flex-wrap: wrap; gap: 16px;
  padding: 80px 48px 0;
  position: relative; z-index: 1;
}
.gallery-label { font-size: 10px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.gallery-count { font-size: 10px; font-weight: 500; letter-spacing: 2px; color: var(--text-tertiary); text-transform: uppercase; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px; align-items: stretch;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  position: relative; z-index: 1;
}
.gallery-col {
  position: relative; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer;
  height: 55vh;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(40px);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease, transform 1s var(--ease-out-expo);
  will-change: clip-path, opacity, transform;
}
/* Scroll into view — stagger entrance */
.gallery-col.vis {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
}
.gallery-col.vis:nth-child(1) { transition-delay: 0s; }
.gallery-col.vis:nth-child(2) { transition-delay: 0.1s; }
.gallery-col.vis:nth-child(3) { transition-delay: 0.2s; }
.gallery-col.vis:nth-child(4) { transition-delay: 0.3s; }
.gallery-col.vis:nth-child(5) { transition-delay: 0.4s; }
.gallery-col.vis:nth-child(6) { transition-delay: 0.5s; }
/* Instant exit — no stagger delay */
.gallery-col.vis-out-up {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(-30px);
  transition-delay: 0s !important;
}
.gallery-col.vis-out-down {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(40px);
  transition-delay: 0s !important;
}
.gallery-col img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  will-change: transform;
  transform: scale(1.05);
}
.gallery-col:hover img,
.gallery-col.touch-active img {
  transform: scale(1.15);
  filter: brightness(0.25) saturate(1.3) blur(2px);
}

/* Overlay — full blurred dark with centered content */
.g-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding: 24px 16px;
  background: linear-gradient(180deg, rgba(8,8,10,0) 0%, rgba(8,8,10,0.15) 30%, rgba(8,8,10,0.75) 100%);
  opacity: 0; transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; z-index: 2;
}
.gallery-col:hover .g-overlay,
.gallery-col.touch-active .g-overlay { opacity: 1; }

/* Circle icon — hidden */
.g-circle { display: none; }

/* Project name — large, left-aligned at bottom */
.g-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 600; letter-spacing: -0.02em;
  color: #fff; line-height: 1.3;
  transform: translateY(30px); opacity: 0;
  transition: transform 0.6s var(--ease-out-expo) 0.1s, opacity 0.5s ease 0.1s;
}
.gallery-col:hover .g-name,
.gallery-col.touch-active .g-name { transform: translateY(0); opacity: 1; }

/* Category tag */
.g-cat {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 8px;
  transform: translateY(20px); opacity: 0;
  transition: transform 0.5s var(--ease-out-expo) 0.18s, opacity 0.4s ease 0.18s;
}
.gallery-col:hover .g-cat,
.gallery-col.touch-active .g-cat { transform: translateY(0); opacity: 1; }

/* Number badge — centered in card */
.g-num {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo) 0.22s, opacity 0.5s ease 0.22s;
}
.gallery-col:hover .g-num,
.gallery-col.touch-active .g-num { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* Hover shimmer line */
.gallery-col::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease-out-expo) 0.15s;
  z-index: 3;
}
.gallery-col:hover::after,
.gallery-col.touch-active::after { transform: scaleX(1); }

/* ===== FOOTER ===== */
.footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border); position: relative;
}
.footer::before {
  content: ''; position: absolute;
  top: 0; left: 50%; width: 200px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1100px; margin: 0 auto 60px; }
.footer-brand { max-width: 300px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-brand-desc { font-size: 13px; line-height: 1.75; color: var(--text-secondary); font-weight: 300; }
.footer-col-title { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 20px; }
.footer-col-link { display: block; font-size: 13px; color: var(--text-secondary); text-decoration: none; padding: 5px 0; transition: color 0.3s ease, transform 0.3s ease; font-weight: 300; }
.footer-col-link:hover { color: var(--text); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding-top: 30px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 11px; color: var(--text-tertiary); letter-spacing: 0.5px; }
.footer-socials { display: flex; gap: 16px; }
.footer-social { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; text-decoration: none; color: var(--text-secondary); }
.footer-social:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(201,169,110,0.15); }
.footer-social svg { width: 14px; height: 14px; }

/* ===== AOS ===== */
[data-aos] { opacity: 0; transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
[data-aos].aos-in { opacity: 1; transform: none !important; }
[data-aos="fade-up"] { transform: translateY(60px); }
[data-aos-delay="100"] { transition-delay: 0.1s; }

/* ===== SEPARATORS ===== */
.section-line { display: flex; align-items: center; justify-content: center; padding: 0 40px; gap: 16px; }
.section-line-bar { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); max-width: 500px; }
.section-line-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; opacity: 0.5; }

/* ===== BI-DIRECTIONAL SCROLL REVEAL ===== */
[data-scroll-reveal] {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s ease, transform 1s var(--ease-out-expo);
}
[data-scroll-reveal].s-vis {
  opacity: 1; transform: translateY(0);
}
/* Instant exit — no delay */
[data-scroll-reveal].s-out-up {
  opacity: 0; transform: translateY(-40px);
  transition-duration: 0.4s;
}
[data-scroll-reveal].s-out-down {
  opacity: 0; transform: translateY(50px);
  transition-duration: 0.4s;
}

/* ===== FOOTER BI-DIRECTIONAL REVEAL ===== */
.footer-col-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out-expo);
}
.footer-col-reveal.s-vis { opacity: 1; transform: translateY(0); }
.footer-col-reveal.s-out-up { opacity: 0; transform: translateY(-25px); transition-duration: 0.3s; }
.footer-col-reveal.s-out-down { opacity: 0; transform: translateY(30px); transition-duration: 0.3s; }

.footer-social-reveal {
  opacity: 0; transform: translateY(15px) scale(0.85);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out-back);
}
.footer-social-reveal.s-vis { opacity: 1; transform: translateY(0) scale(1); }
.footer-social-reveal.s-out-up { opacity: 0; transform: translateY(-15px) scale(0.85); transition-duration: 0.3s; }
.footer-social-reveal.s-out-down { opacity: 0; transform: translateY(15px) scale(0.85); transition-duration: 0.3s; }

/* ===== BACK TO TOP ===== */
.to-top { position: fixed; bottom: 30px; right: 30px; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 90; opacity: 0; transform: translateY(16px); transition: all 0.4s var(--ease-out-expo); text-decoration: none; color: var(--text-secondary); }
.to-top.visible { opacity: 1; transform: translateY(0); }
.to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent); z-index: 9998; width: 0%; will-change: width; opacity: 0.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-col { height: 45vh; }
  .g-name { font-size: clamp(12px, 1.5vw, 16px); }
}

/* Touch devices — always show overlays */
@media (hover: none) and (pointer: coarse) {
  .gallery-col img {
    filter: brightness(0.35) saturate(1.2);
  }
  .g-overlay { opacity: 1; }
  .g-name { transform: translateY(0); opacity: 1; }
  .g-cat { transform: translateY(0); opacity: 1; }
  .g-num { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .gallery-col::after { transform: scaleX(1); }
}

@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .header-menu-link { font-size: 11px; letter-spacing: 2px; }
  .hero { padding: 60px 0 0 0; }
  .hero-title-wrap { padding: 0 20px; }
  .hero-title-svg { max-height: 80px; }
  .hero-image-wrap { width: calc(100% - 40px); height: 45vh; margin-top: 24px; }
  .hero-footer { left: 16px; right: 16px; bottom: 16px; font-size: 12px; }
  .hero-scroll-indicator { display: none; }
  .story-section { padding: 120px 24px 30px; }
  .section-line { padding: 0 24px; }
  .gallery-header { padding: 50px 24px 0; flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
  .gallery-col { height: 50vh; }
  .g-overlay { padding: 20px 14px; }
  .g-name { font-size: 13px; }
  .g-cat { font-size: 9px; letter-spacing: 2px; }
  .g-num { width: 40px; height: 40px; font-size: 11px; }
  .footer { padding: 50px 24px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  .cursor-glow { display: none; }
}
@media (max-width: 480px) {
  .hero { min-height: 90vh; min-height: 60svh; }
  .hero-title-wrap { padding: 16px; }
  .hero-title-svg { max-height: 60px; }
  .hero-image-wrap { width: calc(100% - 32px); height: 38vh; margin-top: 20px; }
  .hero-footer { display: none; }
  .story-section { padding: 80px 16px 20px; }
  .story-text { font-size: clamp(14px, 3.8vw, 18px); }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
  .gallery-col { height: 35vh; }
  .g-overlay { padding: 14px 10px; }
  .g-name { font-size: 11px; line-height: 1.4; }
  .g-cat { font-size: 8px; margin-top: 4px; }
  .g-num { width: 32px; height: 32px; font-size: 10px; }
}
@media (max-width: 360px) {
  .hero-title-svg { max-height: 48px; }
  .hero-image-wrap { height: 35vh; }
  .gallery-col { height: 30vh; }
  .g-name { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .noise, .cursor-glow, .scroll-progress, .to-top { display: none !important; }
  body { background: #fff; color: #000; }
}
