/* ============================================================
   IRO Creative Studio — style.css
   All site-wide styles live here.
   Project thumbnail styles: search "PROJECT THUMBNAILS" below.
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --charcoal:    #141414;
  --dark:        #1C1C1C;
  --deepblack:   #0F0F0F;
  --coral:       #E8663C;
  --cyan:        #2CB5BF;
  --cream:       #F5F0EB;
  --cream-border:#E0DBD4;
  --text-muted:  #777;
  --text-dim:    #555;
  --text-faint:  #888;
  --text-ghost:  #999;
  --font-display:'Sora', sans-serif;
  --font-body:   'Space Grotesk', sans-serif;
  --font-jp:     'Noto Serif JP', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== UTILITIES ===== */
.label {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: padding 0.3s ease;
}
nav.scrolled { padding: 14px 48px; }

.nav-logo { display: flex; align-items: center; gap: 6px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px;
  color: var(--cream); letter-spacing: -0.5px;
}
.nav-logo-kanji {
  font-family: var(--font-jp);
  font-size: 12px; color: var(--coral); opacity: 0.6;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-size: 11px;
  color: var(--text-faint); text-decoration: none;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.accent { color: var(--cyan); }
.nav-links a.accent:hover { color: #5DD6DE; }

.nav-hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--cream); border-radius: 1px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--charcoal);
  padding: 120px 48px 80px;
  position: relative; overflow: hidden;
}

.hero-kanji-bg {
  position: absolute; top: 50%; right: 5%;
  transform: translateY(-50%);
  font-family: var(--font-jp);
  font-size: clamp(200px, 30vw, 400px);
  color: var(--dark); line-height: 1;
  pointer-events: none; user-select: none; opacity: 0.5;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-location { color: var(--cyan); margin-bottom: 28px; }

/* IRO ↔ 色 morph */
.hero-morph {
  display: inline-block; position: relative;
  width: 180px; height: 70px; vertical-align: bottom;
}
.hero-morph-iro, .hero-morph-kanji {
  position: absolute; left: 0; bottom: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-morph-iro {
  font-family: var(--font-display); font-weight: 800;
  font-size: inherit; color: var(--coral); letter-spacing: -2.5px;
}
.hero-morph-kanji {
  font-family: var(--font-jp); font-size: 0.85em;
  color: var(--coral); opacity: 0;
  transform: scale(0.9) translateY(4px);
}
.hero-morph.show-kanji .hero-morph-iro { opacity: 0; transform: scale(0.9) translateY(-4px); }
.hero-morph.show-kanji .hero-morph-kanji { opacity: 1; transform: scale(1) translateY(0); }

.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--cream); line-height: 0.95;
  letter-spacing: -2.5px; margin-bottom: 8px;
}

.hero-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 28px; }
.hero-divider-line { width: 32px; height: 2px; background: var(--coral); }
.hero-divider-text { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }

.hero-desc {
  font-weight: 300; font-size: 17px;
  color: var(--text-muted); line-height: 1.7; max-width: 460px;
}
.hero-buttons { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  padding: 14px 32px; border-radius: 4px; letter-spacing: 0.5px;
  text-decoration: none; text-transform: uppercase;
  transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--cyan); color: var(--charcoal); }
.btn-primary:hover { background: #5DD6DE; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid #333; }
.btn-outline:hover { border-color: var(--text-muted); color: var(--cream); }
.btn-coral { background: var(--coral); color: var(--charcoal); }
.btn-coral:hover { background: #F07A55; transform: translateY(-2px); }

/* ===== SERVICES ===== */
.services { background: var(--cream); padding: 100px 48px; }

.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 48px;
}
.services-header .label { color: var(--coral); }
.services-header h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--charcoal); line-height: 1.1;
  letter-spacing: -1.5px; margin-top: 10px;
}
.services-kanji { font-family: var(--font-jp); font-size: 64px; color: var(--cream-border); line-height: 1; }

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

.service-card {
  background: #fff; border-radius: 10px;
  padding: 32px 24px; border: 1px solid var(--cream-border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:nth-child(1) { margin-top: 0; }
.service-card:nth-child(2) { margin-top: 32px; }
.service-card:nth-child(3) { margin-top: 64px; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }

.service-icon { width: 40px; height: 40px; border-radius: 8px; margin-bottom: 20px; opacity: 0.15; }
.service-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--charcoal); margin-bottom: 10px; line-height: 1.25;
}
.service-card p { font-weight: 300; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== WORK GRID ===== */
.work { background: var(--charcoal); padding: 100px 48px; }
.work .label { color: var(--coral); }
.work h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--cream); line-height: 1.1;
  letter-spacing: -1.5px; margin-top: 10px; margin-bottom: 40px;
}

.work-grid { display: grid; gap: 20px; }

.work-item {
  border-radius: 10px; overflow: hidden;
  position: relative; background: var(--dark);
  transition: transform 0.4s ease;
}
.work-item:hover { transform: scale(1.015); }
.work-item-full  { height: 320px; }
.work-item-half  { height: 240px; }

.work-half-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.work-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(20,20,20,0.95));
  z-index: 1;
}
.work-item-overlay h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--cream); margin-bottom: 4px;
}
.work-item-overlay p { font-weight: 300; font-size: 12px; color: var(--text-faint); }

.work-tag {
  display: inline-block; font-size: 10px; letter-spacing: 0.5px;
  color: var(--cyan); background: rgba(44,181,191,0.1);
  padding: 4px 10px; border-radius: 3px;
  margin-top: 8px; margin-right: 6px;
}

/* ===== ABOUT ===== */
.about { background: var(--cream); padding: 100px 48px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.about .label { color: var(--coral); }
.about h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.5vw, 34px);
  color: var(--charcoal); line-height: 1.1;
  letter-spacing: -1px; margin-top: 10px;
}

.about-avatar {
  margin-top: 28px; width: 100%; height: 180px;
  background: var(--cream-border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-ghost);
  letter-spacing: 1px; text-transform: uppercase;
}
.about-text { padding-top: 20px; }
.about-text p { font-weight: 400; font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 20px; }
.about-quote {
  font-weight: 300; font-size: 14px; color: var(--text-ghost);
  font-style: italic; line-height: 1.6;
  padding-left: 16px; border-left: 2px solid var(--coral);
}
.about-stats { display: flex; gap: 36px; margin-top: 32px; }
.about-stat-number {
  font-family: var(--font-display); font-weight: 800;
  font-size: 32px; color: var(--charcoal); letter-spacing: -1px;
}
.about-stat-number span { color: var(--coral); }
.about-stat-label { font-size: 11px; color: var(--text-ghost); margin-top: 2px; }

/* ===== CONTACT ===== */
.contact {
  background: var(--charcoal); padding: 100px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.contact-kanji-bg {
  position: absolute; bottom: -30px; right: 5%;
  font-family: var(--font-jp); font-size: clamp(120px, 20vw, 200px);
  color: var(--dark); line-height: 1; opacity: 0.4;
  pointer-events: none; user-select: none;
}
.contact .label { color: var(--cyan); }
.contact h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 5vw, 48px); color: var(--cream);
  line-height: 1.05; letter-spacing: -2px; margin-top: 16px;
}
.contact h2 .coral { color: var(--coral); }
.contact-desc { font-weight: 300; font-size: 15px; color: var(--text-muted); margin: 20px auto 0; max-width: 380px; line-height: 1.65; }

.contact-form { max-width: 480px; margin: 36px auto 0; position: relative; z-index: 1; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 13px; font-weight: 400;
  color: var(--cream); background: var(--dark);
  border: 1px solid #2a2a2a; border-radius: 6px;
  padding: 14px 16px; outline: none; transition: border-color 0.3s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--coral); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 4px; }
.form-status { text-align: center; margin-top: 12px; font-size: 13px; color: var(--cyan); min-height: 20px; }

.contact-email { margin-top: 24px; position: relative; z-index: 1; }
.contact-email a {
  font-size: 13px; color: var(--text-dim); text-decoration: none;
  border-bottom: 1px solid #333; padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-email a:hover { color: var(--cream); border-color: var(--cream); }

/* ===== FOOTER ===== */
footer {
  background: var(--deepblack); padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--cream); }
.footer-kanji { font-family: var(--font-jp); font-size: 14px; color: var(--coral); opacity: 0.5; }
.footer-text { font-size: 11px; color: var(--text-dim); margin-left: 4px; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 11px; color: var(--text-dim); text-decoration: none; transition: color 0.3s ease; }
.footer-socials a:hover { color: var(--cream); }

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 800; font-size: 28px;
  color: var(--cream); text-decoration: none; letter-spacing: -1px;
  transition: color 0.3s ease;
}
.mobile-nav a:hover { color: var(--coral); }
.mobile-nav-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 28px; color: var(--cream); cursor: pointer;
  background: none; border: none; font-family: var(--font-body);
}

/* =====================================================
   PROJECT THUMBNAILS
   -------------------------------------------------------
   Each project card gets its own visual block here.
   To add a new project thumbnail:
   1. Add a CSS block below (copy an existing one)
   2. Add the project to js/projects.js
   3. Create projects/your-project.html
   ===================================================== */

/* --- Kōji Café --- */
.proj-koji {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #2E2018 0%, #1A110C 100%);
  overflow: hidden;
}
.proj-koji-kanji {
  position: absolute; right: -15px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-jp); font-size: 260px;
  color: #3A2518; line-height: 1;
  pointer-events: none; user-select: none;
}
.proj-koji-inner {
  position: absolute; left: 48px; top: 50%;
  transform: translateY(-50%);
}
.proj-koji-label {
  font-family: var(--font-body); font-size: 9px;
  text-transform: uppercase; letter-spacing: 3px;
  color: #7A5A48; margin-bottom: 16px;
}
.proj-koji-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 76px; color: #C85C3A; letter-spacing: -4px; line-height: 1;
}
.proj-koji-cafe {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 9px; color: #D4A27A; text-transform: uppercase;
  margin-top: 3px; margin-left: 4px;
}
.proj-koji-rule { width: 32px; height: 1px; background: #C85C3A; opacity: 0.5; margin: 16px 0; }
.proj-koji-swatches { display: flex; gap: 8px; }
.proj-koji-swatch { width: 16px; height: 16px; border-radius: 50%; }

/* --- Verdant Labs --- */
.proj-verdant {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #1A3D2B 0%, #0D2018 100%);
  overflow: hidden;
}
.proj-verdant-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122,179,138,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,179,138,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.proj-verdant-inner {
  position: absolute; left: 32px; top: 50%;
  transform: translateY(-50%);
}
.proj-verdant-mark-wrap { margin-bottom: 14px; }
.proj-verdant-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; color: #F2EDE6; letter-spacing: -1.5px; line-height: 1;
}
.proj-verdant-sub {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 5px; color: #7AB38A; text-transform: uppercase; margin-top: 5px;
}
.proj-verdant-tagline {
  font-family: var(--font-body); font-size: 10px;
  color: rgba(255,255,255,0.22); margin-top: 18px;
  letter-spacing: 0.2px; line-height: 1.6;
}
.proj-verdant-circle-deco {
  position: absolute; right: 28px; bottom: 28px;
  width: 72px; height: 72px;
  border: 1px solid rgba(122,179,138,0.2); border-radius: 50%;
}
.proj-verdant-circle-deco::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(122,179,138,0.12); border-radius: 50%;
}

/* --- Axion AI --- */
.proj-axion {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #1A1E2A 0%, #0C0E14 100%);
  overflow: hidden;
}
.proj-axion-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.proj-axion-nodes {
  position: absolute; inset: 0;
  pointer-events: none;
}
.proj-axion-inner {
  position: absolute; left: 32px; top: 50%;
  transform: translateY(-50%);
}
.proj-axion-mark-wrap { margin-bottom: 14px; }
.proj-axion-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; color: #EDEEF2; letter-spacing: -1.5px; line-height: 1;
}
.proj-axion-sub {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 5px; color: #6366F1; text-transform: uppercase; margin-top: 5px;
}
.proj-axion-tagline {
  font-family: var(--font-body); font-size: 10px;
  color: rgba(237,238,242,0.22); margin-top: 18px;
  letter-spacing: 0.2px; line-height: 1.6;
}

/* --- Coming Soon / In-progress teaser --- */
.proj-coming {
  position: absolute; inset: 0; background: #0C0C0C;
  display: flex; align-items: center; justify-content: center;
}
.proj-coming-inner { text-align: center; }
.proj-coming-dot {
  width: 6px; height: 6px; background: var(--cyan);
  border-radius: 50%; margin: 0 auto 16px;
  animation: dotpulse 2.5s ease-in-out infinite;
}
@keyframes dotpulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(44,181,191,0.5); }
  50%       { opacity: 0.5; box-shadow: 0 0 0 10px rgba(44,181,191,0); }
}
.proj-coming-text {
  font-family: var(--font-body); font-size: 9px;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(44,181,191,0.45);
}

/* =====================================================
   ADD NEW PROJECT THUMBNAIL ABOVE THIS LINE
   ===================================================== */


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero-kanji-bg { font-size: 180px; right: -20px; opacity: 0.3; }
  .hero-morph { width: 120px; height: 50px; }

  .services { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) { margin-top: 0; }
  .services-kanji { font-size: 44px; }

  .work { padding: 60px 24px; }
  .work-item-full { height: 220px; }
  .work-half-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-item-half { height: 200px; }

  .about { padding: 60px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-avatar { height: 140px; }
  .about-stats { gap: 24px; }

  .contact { padding: 60px 24px; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 20px 24px; flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; letter-spacing: -1.5px; }
  .hero-morph { width: 95px; height: 42px; }
  .hero-desc { font-size: 15px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
}
