/* ===========================
   TAKADA ETSUKO — Gallery Site
   =========================== */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: rgba(255,255,255,.06);
  --ink: #ede8df;
  --ink-mid: #a09d96;
  --ink-dim: #5a5a57;
  --accent: #c9a227;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.75 var(--font-sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

/* Container */
.container { width: min(1200px, 90%); margin-inline: auto; }
.container--narrow { width: min(800px, 90%); margin-inline: auto; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--border);
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.site-logo {
  font: 600 14px/1 var(--font-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-logo span {
  display: block;
  font: 400 11px/1.4 var(--font-sans);
  letter-spacing: .08em;
  color: var(--ink-mid);
  margin-top: 4px;
  text-transform: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color .3s var(--ease);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,10,10,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font: 600 26px/1.3 var(--font-serif);
  color: var(--ink-mid);
  transition: color .3s var(--ease);
}
.mobile-nav a:hover { color: var(--ink); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 5% 80px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--ink-dim), transparent);
}
.hero-name {
  font: 600 clamp(38px, 7vw, 80px)/1.05 var(--font-serif);
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.hero-sub {
  font: 400 clamp(13px, 1.5vw, 15px)/1.6 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 40px;
}
.hero-tagline {
  font: 400 clamp(17px, 2.2vw, 24px)/1.8 var(--font-serif);
  color: var(--ink-mid);
  max-width: 520px;
}
.hero-tagline-en {
  font: 400 clamp(11px, 1.1vw, 13px)/1.6 var(--font-sans);
  color: var(--ink-dim);
  letter-spacing: .06em;
  margin-top: 14px;
}

/* ===== SECTION COMMON ===== */
.section-label {
  font: 400 12px/1 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 48px;
  text-align: center;
}
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 48px;
}

/* ===== GALLERY GRID ===== */
.gallery-section {
  padding: 100px 0 80px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}
.gallery-item a {
  display: block;
  position: relative;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .6s var(--ease);
  will-change: transform;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(.7);
}
.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}
.gallery-caption h3 {
  font: 600 17px/1.3 var(--font-serif);
  margin-bottom: 4px;
}
.gallery-caption p {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}
.gallery-more {
  text-align: center;
  margin-top: 48px;
}

/* ===== ABOUT STRIP (homepage teaser) ===== */
.about-strip {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.about-strip-inner {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-strip-img {
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.about-strip h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 24px;
  line-height: 1.35;
}
.about-strip-text {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 32px;
}

/* ===== BUTTONS / LINKS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.btn:hover {
  border-color: var(--accent);
  background: rgba(201,162,39,.06);
}
.btn--accent {
  border-color: var(--accent);
  background: rgba(201,162,39,.08);
}
.btn--accent:hover {
  background: rgba(201,162,39,.18);
}
.text-link {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.text-link:hover {
  color: var(--ink);
  border-color: var(--accent);
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font: 600 clamp(22px, 3vw, 30px)/1.3 var(--font-serif);
  margin-bottom: 14px;
}
.cta-band p {
  color: var(--ink-mid);
  margin-bottom: 36px;
  font-size: 15px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 5%;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin-inline: auto;
}
.footer-copy {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .04em;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .06em;
  transition: color .3s var(--ease);
}
.footer-links a:hover { color: var(--ink); }

/* ===== PAGE HEADER ===== */
.page-hero {
  padding: 160px 0 72px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.page-hero .lead {
  font: 400 clamp(14px, 1.4vw, 17px)/1.9 var(--font-serif);
  color: var(--ink-mid);
  max-width: 560px;
  margin-inline: auto;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-portrait {
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  position: sticky;
  top: 100px;
}
.bio-section {
  margin-bottom: 56px;
}
.bio-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  letter-spacing: .04em;
}
.bio-section p,
.bio-section li {
  color: var(--ink-mid);
  line-height: 2;
  margin-bottom: 14px;
  font-size: 15px;
}

/* Awards */
.awards-list {
  display: grid;
  gap: 0;
}
.award-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.award-year {
  font: 400 13px/1.4 var(--font-sans);
  color: var(--accent);
  letter-spacing: .04em;
}
.award-body h3 {
  font: 600 16px/1.4 var(--font-serif);
  margin-bottom: 4px;
}
.award-body p {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0;
}

/* Works list */
.works-list {
  display: grid;
  gap: 0;
}
.works-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink-mid);
}
.works-list-item strong {
  color: var(--ink);
  font-weight: 600;
}
.works-list-item span {
  font-size: 13px;
  color: var(--ink-dim);
}

/* School card */
.school-card {
  margin-top: 80px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.school-card h2 {
  font-size: 24px;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}
.school-card p {
  color: var(--ink-mid);
  margin-bottom: 20px;
  line-height: 1.9;
}
.school-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.school-info-grid dt {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.school-info-grid dd {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ===== CONTACT PAGE ===== */
.contact-content {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.contact-card {
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 2px;
}
.contact-card h3 {
  font: 600 18px/1.3 var(--font-serif);
  margin-bottom: 14px;
}
.contact-card p {
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.process-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.process-steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font: 600 20px/1 var(--font-sans);
  color: var(--accent);
  letter-spacing: .02em;
}
.process-step h3 {
  font: 600 16px/1.4 var(--font-serif);
  margin-bottom: 8px;
}
.process-step p {
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }

/* Gallery items stagger */
.gallery-item.fade-in { transition-delay: 0s; }
.gallery-item.fade-in:nth-child(1) { transition-delay: 0s; }
.gallery-item.fade-in:nth-child(2) { transition-delay: .08s; }
.gallery-item.fade-in:nth-child(3) { transition-delay: .16s; }
.gallery-item.fade-in:nth-child(4) { transition-delay: .24s; }
.gallery-item.fade-in:nth-child(5) { transition-delay: .32s; }
.gallery-item.fade-in:nth-child(6) { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-nav { height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-strip-img { max-width: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { position: static; max-width: 360px; }
  .page-hero { padding: 120px 0 56px; }
  .award-item { grid-template-columns: 56px 1fr; }
}
@media (max-width: 600px) {
  .gallery-grid { gap: 2px; }
  .gallery-caption { opacity: 1; padding: 16px; }
  .gallery-caption h3 { font-size: 13px; }
  .hero { min-height: 85vh; min-height: 85svh; padding: 100px 5% 60px; }
  .hero::after { height: 48px; }
  .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .school-card { padding: 28px; }
  .contact-card { padding: 24px; }
  .process-step { grid-template-columns: 36px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
