/* ===========================
   Version B: Canva Faithful - Dark Minimal
   =========================== */
:root {
  --bg: #000000;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.1);
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

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

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

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===========================
   Navbar
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%; z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Slides
   =========================== */
.slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  border-bottom: 1px solid var(--border);
}

.slide-inner {
  max-width: 900px;
  width: 100%;
}

/* ===========================
   Hero
   =========================== */
.slide-hero {
  text-align: center;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-en);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-tagline {
  margin-top: 24px;
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}

/* ===========================
   Profile
   =========================== */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.profile-text p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 2.2;
}
.profile-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

/* ===========================
   Section visuals
   =========================== */
.section-visual {
  margin-bottom: 40px;
  overflow: hidden;
}

.section-visual img {
  display: block;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  opacity: 0.9;
}

/* ===========================
   Headings
   =========================== */
.slide-heading {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

/* ===========================
   Works body
   =========================== */
.slide-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.works-col h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

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

.works-col li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s;
}

.works-col li:hover {
  color: var(--text);
}

.monthly-stat {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.1em;
}

/* ===========================
   Contact
   =========================== */
.slide-contact {
  text-align: center;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  border: none;
  padding: 14px 56px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.contact-form button:hover {
  opacity: 0.8;
}

.contact-sns {
  margin-top: 32px;
}

.contact-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition: color 0.3s, border-color 0.3s;
}

.contact-sns a:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ===========================
   Footer
   =========================== */
.footer {
  padding: 32px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ===========================
   Fade-in
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 70%; max-width: 280px; height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.4s ease;
  }

  .nav-menu.open { right: 0; }
  .nav-link { font-size: 0.95rem; }

  .slide {
    padding: 60px 24px;
    min-height: auto;
  }

  .slide-hero {
    min-height: 100vh;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-photo img {
    max-width: 250px;
    margin: 0 auto;
  }

  .slide-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
