/* ═══════════════════════════════════════════════════════════
   LAPIECE — independent stylesheet
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --lp-bg:       #0C0B10;
  --lp-surface:  #16141D;
  --lp-border:   rgba(255, 255, 255, 0.08);
  --lp-text:     #F0EEF8;
  --lp-muted:    rgba(240, 238, 248, 0.45);
  --lp-grad:     linear-gradient(135deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%);
  --lp-sans:     'Inter', 'Helvetica Neue', sans-serif;
  --lp-serif:    'Noto Sans JP', sans-serif;
}

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

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

/* ─── Gradient text utility ─────────────────────────────── */
.grad-text {
  background: var(--lp-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* ─── Header ─────────────────────────────────────────────── */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(12, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
}

.lp-logo {
  font-family: var(--lp-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--lp-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.lp-logo:hover {
  color: var(--lp-text);
}

.lp-nav {
  display: flex;
  gap: 2rem;
}

.lp-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lp-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ─── Hero ───────────────────────────────────────────────── */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.lp-hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(120, 75, 160, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.lp-eyebrow {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--lp-muted);
  text-transform: uppercase;
}

.lp-name {
  font-family: var(--lp-sans);
  font-size: clamp(4.5rem, 14vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-name-ja {
  font-family: var(--lp-serif);
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.45em;
  color: var(--lp-muted);
  margin-top: -0.4rem;
}

.lp-divider {
  width: 40px;
  height: 1px;
  background: var(--lp-grad);
  margin: 0.4rem 0;
}

.lp-catch {
  font-family: var(--lp-serif);
  font-size: clamp(0.92rem, 1.6vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--lp-text);
  line-height: 1.8;
}

.lp-catch-en {
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--lp-muted);
  font-style: italic;
}

.lp-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 2.2rem;
  background: var(--lp-grad);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 100px;
  transition: opacity 0.3s, transform 0.3s;
}

.lp-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ─── Sections ───────────────────────────────────────────── */
.lp-section {
  padding: 12vh 0;
}

.lp-section--alt {
  background-color: var(--lp-surface);
}

.lp-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.lp-section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

/* ─── About ──────────────────────────────────────────────── */
.lp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lp-about-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.lp-about-image img {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.lp-photo-credit {
  font-size: 0.6rem;
  color: rgba(240, 238, 248, 0.18);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  text-align: right;
}

.lp-about-body {
  font-family: var(--lp-serif);
  font-size: clamp(0.78rem, 1.05vw, 0.88rem);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 2.4;
  letter-spacing: 0.04em;
  color: var(--lp-text);
  margin-bottom: 3rem;
}

.lp-about-body p {
  margin-bottom: 1rem;
}

.lp-about-em {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  letter-spacing: 0.06em !important;
  margin-top: 0.5rem !important;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-platforms {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lp-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--lp-border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--lp-muted);
}

/* ─── Cards ──────────────────────────────────────────────── */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-card {
  padding: 2rem 1.8rem;
  border-radius: 12px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  transition: border-color 0.3s, transform 0.3s;
}

.lp-card:hover {
  border-color: rgba(255, 60, 172, 0.4);
  transform: translateY(-4px);
}

.lp-card-icon {
  margin-bottom: 1.4rem;
}

.lp-card-icon svg {
  display: block;
}

.lp-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
  color: var(--lp-text);
}

.lp-card p {
  font-family: var(--lp-serif);
  font-size: 0.82rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--lp-muted);
}

/* ─── Contact form ───────────────────────────────────────── */
.lp-contact-lead {
  font-family: var(--lp-serif);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--lp-muted);
  margin-bottom: 3rem;
}

.lp-form {
  max-width: 560px;
}

.lp-field {
  margin-bottom: 2rem;
}

.lp-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--lp-muted);
  margin-bottom: 0.7rem;
}

.lp-field input,
.lp-field textarea,
.lp-field select {
  width: 100%;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-family: var(--lp-serif);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--lp-text);
  outline: none;
  resize: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
  color: rgba(240, 238, 248, 0.2);
}

.lp-field input:focus,
.lp-field textarea:focus,
.lp-field select:focus {
  border-color: rgba(255, 60, 172, 0.5);
}

.lp-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--lp-grad);
  color: #fff;
  font-family: var(--lp-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  margin-top: 0.5rem;
}

.lp-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.lp-submit:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.lp-thanks {
  text-align: center;
  font-family: var(--lp-serif);
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--lp-text);
  padding: 3rem 0;
}

.lp-thanks span {
  color: var(--lp-muted);
  font-size: 0.85rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
.lp-footer {
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid var(--lp-border);
}

.lp-footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: var(--lp-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.lp-footer-sub {
  font-family: var(--lp-serif);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--lp-muted);
  margin-bottom: 0.5rem;
}

.lp-footer-sub a {
  color: var(--lp-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(240, 238, 248, 0.25);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .lp-header {
    padding: 1.2rem 1.5rem;
  }

  .lp-nav {
    gap: 1.2rem;
  }

  .lp-container {
    padding: 0 1.5rem;
  }

  .lp-section {
    padding: 10vh 0;
  }

  .lp-about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-about-right {
    gap: 1.5rem;
  }

  .lp-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lp-form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .lp-nav a:not(:last-child) {
    display: none;
  }

  .lp-name {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }
}
