/* ============================================
   Animation Studio G.O.A.T — Global Styles
   Aesthetic: Cinematic Dark / High-Contrast Editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@300;400;500;700&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-gray: #1a1a1a;
  --mid-gray: #2a2a2a;
  --text-gray: #888888;
  --text-light: #cccccc;
  --white: #f0f0f0;
  --accent: #e63946;
  --accent-dim: #b82d38;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', 'Noto Sans JP', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --nav-height: 72px;
  --page-padding: clamp(20px, 5vw, 80px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Noise Overlay ---- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color 0.3s;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--text-gray);
  position: relative;
  transition: color 0.3s;
  text-align: center;
  line-height: 1.2;
}

.nav-links a .nav-jp {
  display: block;
  font-family: var(--font-jp);
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  margin-top: 2px;
  opacity: 0.7;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile nav toggle — CSS-only checkbox method */
.menu-checkbox {
  display: none;
}

.menu-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 1100;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.menu-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
  pointer-events: none;
}

/* Checked state: X animation */
.menu-checkbox:checked ~ .menu-label .menu-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-checkbox:checked ~ .menu-label .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-checkbox:checked ~ .menu-label .menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO SECTION (Index)
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--page-padding);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-gray);
  letter-spacing: 0.1em;
  border: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, var(--black), transparent);
  /* Note: this gradient is a functional overlay, not decorative */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2;
  color: var(--text-gray);
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: var(--page-padding);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: var(--accent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 120px var(--page-padding);
  position: relative;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 50px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 50px;
}

/* ---- Studio Intro ---- */
.studio-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.studio-text p {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--text-light);
  margin-bottom: 20px;
}

.studio-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-gray);
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
}

.studio-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 1px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

/* ---- News ---- */
.news-section {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.news-list {
  max-width: 900px;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}

.news-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.news-item:hover {
  padding-left: 10px;
}

.news-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-gray);
  white-space: nowrap;
  min-width: 110px;
}

.news-tag {
  font-family: var(--font-jp);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  white-space: nowrap;
}

.news-title-text {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.3s;
}

.news-item:hover .news-title-text {
  color: var(--white);
}

/* ============================================
   PAGE HEADER (About, Contact)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 60px;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}

.page-header-sub {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-gray);
  margin-top: 12px;
}

.page-header-line {
  position: absolute;
  bottom: 0;
  left: var(--page-padding);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-statement {
  max-width: 750px;
}

.about-statement p {
  font-family: var(--font-jp);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2.4;
  color: var(--text-light);
  margin-bottom: 24px;
}

.company-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.company-table th {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gray);
  text-align: left;
  padding: 22px 30px 22px 0;
  white-space: nowrap;
  width: 140px;
  vertical-align: top;
}

.company-table td {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  padding: 22px 0;
  line-height: 1.8;
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  margin-top: 20px;
  border: 1px solid var(--mid-gray);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info-block {
  margin-bottom: 40px;
}

.contact-info-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-info-value {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2;
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-gray);
}

.form-group label .required {
  color: var(--accent);
  margin-left: 6px;
  font-size: 0.7rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white);
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-gray);
  color: var(--white);
}

/* ---- Custom Select Dropdown ---- */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-wrapper select {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-gray);
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  user-select: none;
  -webkit-user-select: none;
}

.custom-select-trigger.has-value {
  color: var(--white);
}

.custom-select-trigger:hover {
  border-color: rgba(255,255,255,0.15);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--accent);
}

.custom-select-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s;
}

.custom-select-arrow svg {
  width: 12px;
  height: 8px;
  display: block;
}

.custom-select-arrow svg path {
  stroke: var(--text-gray);
  transition: stroke 0.3s;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-wrapper.open .custom-select-arrow svg path {
  stroke: var(--accent);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-light);
  padding: 13px 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.custom-select-option:last-child {
  border-bottom: none;
}

.custom-select-option:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.custom-select-option.selected {
  color: var(--accent);
}

.custom-select-option.selected::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.submit-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--white);
  background: var(--accent);
  border: none;
  padding: 18px 40px;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  padding: 14px 18px;
  display: none;
}

.form-message.success {
  display: block;
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
  background: rgba(76, 175, 80, 0.05);
}

.form-message.error {
  display: block;
  color: var(--accent);
  border: 1px solid rgba(230, 57, 70, 0.3);
  background: rgba(230, 57, 70, 0.05);
}

/* ============================================
   WORKS PAGE
   ============================================ */
.works-coming-section {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
}

.works-coming {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.works-coming-inner {
  text-align: center;
}

.works-coming-line {
  width: 40px;
  height: 1px;
  background: var(--mid-gray);
  margin: 0 auto 30px;
}

.works-coming-inner .works-coming-line:last-child {
  margin: 30px auto 0;
}

.works-coming-en {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.2em;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.works-coming-jp {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-gray);
  line-height: 2;
  opacity: 0.7;
}

/* Works List — for future use */
.works-list {
  max-width: 900px;
}

.works-item {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}

.works-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.works-item:hover {
  padding-left: 10px;
}

.works-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-gray);
  white-space: nowrap;
  min-width: 60px;
}

.works-title-text {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-light);
  flex: 1;
  transition: color 0.3s;
}

.works-item:hover .works-title-text {
  color: var(--white);
}

.works-role {
  font-family: var(--font-jp);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-gray);
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   SERVICE PAGE
   ============================================ */
.service-desc {
  max-width: 750px;
  margin-bottom: 50px;
}

.service-desc p {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-capacity {
  max-width: 800px;
}

.service-capacity-title {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-note {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-gray);
  margin-top: 30px;
  line-height: 2;
}

/* AI Animation Features */
.service-ai-layout {
  max-width: 800px;
}

.service-ai-features {
  margin-top: 50px;
}

.service-ai-feature {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-ai-feature:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.service-ai-feature-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  min-width: 40px;
}

.service-ai-feature h4 {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.service-ai-feature p {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 0;
}

/* CTA Button */
.cta-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--accent);
  padding: 16px 48px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================
   RECRUIT PAGE
   ============================================ */
.recruit-message {
  max-width: 750px;
}

.recruit-message p {
  font-family: var(--font-jp);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2.4;
  color: var(--text-light);
  margin-bottom: 24px;
}

.recruit-positions {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 800px;
}

.recruit-position {
  padding-top: 10px;
}

.recruit-position-header {
  margin-bottom: 30px;
}

.recruit-position-tag {
  font-family: var(--font-jp);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

.recruit-position-name {
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}

.recruit-apply {
  max-width: 750px;
}

.recruit-apply p {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--text-light);
  margin-bottom: 30px;
}

.recruit-apply-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recruit-apply-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.recruit-apply-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  min-width: 80px;
}

.recruit-apply-value {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  text-decoration: none;
}

a.recruit-apply-value:hover {
  color: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px var(--page-padding);
  border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-address {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 2;
  color: var(--text-gray);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  list-style: none;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-gray);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--mid-gray);
  color: var(--text-gray);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--white);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .studio-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    height: calc(100vh - var(--nav-height));
    background: rgba(10, 10, 10, 1);
    flex-direction: column;
    padding: 40px var(--page-padding);
    gap: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
  }

  /* CSS-only: checkbox checked → show menu */
  .menu-checkbox:checked ~ .nav-links {
    transform: translateX(0);
    visibility: visible;
  }

  .menu-label {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links a {
    text-align: center;
    display: block;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding-bottom: 50px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 80px var(--page-padding);
  }

  .section-title {
    margin-bottom: 35px;
  }

  .company-table th {
    display: block;
    padding-bottom: 4px;
    width: 100%;
  }

  .company-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 18px;
  }
}
