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

:root {
  --color-bg: #ffffff;
  --color-text: #3a3226;
  --color-muted: #a09585;
  --color-border: #e8dfd4;
  --color-accent: #c8ad7a;
  --font-sans: "Inter", "Noto Sans JP", -apple-system, sans-serif;
  --max-width: 860px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── Lang Toggle ── */
.lang-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 100;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}

/* ── Hero ── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.hero-sub {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-social {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-social a {
  color: var(--color-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.hero-social a:hover {
  color: var(--color-accent);
}

/* ── Sections ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section h2 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

/* ── About ── */
.about-content p {
  font-size: 1rem;
  max-width: 600px;
  color: var(--color-text);
}

/* ── Works ── */
.works-year {
  margin-bottom: 3rem;
}

.works-year:last-child {
  margin-bottom: 0;
}

.year-heading {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.works-list {
  list-style: none;
}

.works-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

.work-client {
  font-size: 0.9rem;
}

.work-desc {
  font-size: 0.8rem;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.works-list li.has-video {
  cursor: pointer;
  flex-wrap: wrap;
  transition: background 0.2s;
}

.works-list li.has-video:hover {
  background: #faf6f0;
}

.works-list li.has-video .work-client::after {
  content: " ▶";
  font-size: 0.65rem;
  color: var(--color-accent);
  margin-left: 0.4rem;
}

.works-list li.has-video.open .work-client::after {
  content: " ▼";
}

.video-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── MeltyCat ── */
.meltycat-intro p {
  font-size: 1rem;
  color: var(--color-text);
}

.meltycat-intro strong {
  font-weight: 500;
}

.meltycat-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1rem;
}

.meltycat-links a {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.meltycat-links a:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}

.disco-heading {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.disco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
}

.disco-item {
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.disco-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.disco-item:hover img {
  opacity: 0.8;
}

.disco-title {
  font-size: 0.85rem;
  font-weight: 400;
}

/* ── Equipment ── */
.equipment-details summary {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: pointer;
  list-style: none;
}

.equipment-details summary::before {
  content: "+ ";
}

.equipment-details[open] summary::before {
  content: "− ";
}

.equipment-details summary::-webkit-details-marker {
  display: none;
}

.equipment-content {
  margin-top: 1.5rem;
}

.eq-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.5rem;
}

.eq-list dt {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 400;
}

.eq-list dd {
  font-size: 0.85rem;
}

.eq-subheading {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.eq-text {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.9;
}

/* ── Contact ── */
.contact-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 2;
}

.contact-note p + p {
  margin-top: 1.2rem;
}

.contact-note ul {
  list-style: none;
  margin-top: 0.5rem;
}

.contact-note ul li::before {
  content: "– ";
}

.social-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-links a {
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.social-links a:hover {
  border-color: var(--color-text);
}

.contact-email {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ── Footer ── */
.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .works-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
}
