/* ===================================
   PinP Studio JAPAN - TOP Page Styles
   =================================== */

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Cinematic grain overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.62) 0%,
      rgba(0,0,0,0.42) 40%,
      rgba(0,0,0,0.55) 100%
    ),
    linear-gradient(to right,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.10) 60%,
      transparent 100%
    );
}

/* Decorative lines */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 160px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(200,168,130,0.12) 30%, rgba(200,168,130,0.12) 70%, transparent 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(200,168,130,0.08) 50%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 900px;
  padding-top: 72px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
  margin-bottom: 32px;
  max-width: 14em;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.55s forwards;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  margin-bottom: 48px;
  max-width: 560px;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 1.0s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(200,168,130,0.6), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-en-sans);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 168, 130, 0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
  50% { transform: scaleY(0.6) translateY(8px); opacity: 0.5; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Concept Section --- */
.concept-section {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.concept-text .label-en {
  display: block;
  margin-bottom: 16px;
}

.concept-heading {
  font-family: var(--font-serif-ja);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-white);
  margin-bottom: 36px;
}

.concept-body {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.07em;
  color: rgba(245, 244, 240, 0.75);
  margin-bottom: 20px;
}

.concept-visual-inner {
  border: 1px solid rgba(200,168,130,0.15);
  padding: 56px 48px;
  position: relative;
}

.concept-visual-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  width: 80px;
  height: 1px;
  background: var(--color-accent);
}

.concept-visual-inner::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 40px;
  width: 80px;
  height: 1px;
  background: var(--color-accent);
}

.concept-quote {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.concept-quote-mark {
  font-family: var(--font-en);
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.concept-quote-text {
  font-family: var(--font-en);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-white);
  line-height: 1.6;
}

.concept-quote-text em {
  font-style: italic;
  color: var(--color-accent);
}

.concept-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.concept-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--color-light-gray);
  letter-spacing: 0.05em;
}

/* --- Services Section --- */
.services-section {
  background: var(--color-black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 72px;
}

.service-card {
  background: var(--color-black);
  padding: 48px 36px;
  position: relative;
  transition: background var(--transition-mid);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  background: var(--color-dark);
}

.service-number {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  opacity: 0.6;
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-serif-ja);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1.5;
}

.service-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-light-gray);
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.service-tags li {
  font-family: var(--font-en-sans);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(200,168,130,0.7);
  border: 1px solid rgba(200,168,130,0.2);
  padding: 4px 10px;
}

.services-note {
  text-align: center;
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.services-note p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.07em;
  color: var(--color-light-gray);
  text-align: center;
}

/* --- Why Us Section --- */
.whyus-section {
  background: var(--color-dark-gray);
}

.whyus-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 96px;
  align-items: start;
}

.whyus-header {
  position: sticky;
  top: 120px;
}

.whyus-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
card
.whyus-item {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start;
}

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

.whyus-item-num {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 300;
  color: rgba(200,168,130,0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
}

.whyus-item-title {
  font-family: var(--font-serif-ja);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.5;
}

.whyus-item-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--color-light-gray);
}

/* --- Client Logos Bar --- */
.client-logos {
  margin-bottom: 64px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.client-logos-label {
  font-family: var(--font-en-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.client-logos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

.client-logos-list span {
  font-family: var(--font-en-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(245,244,240,0.35);
  white-space: nowrap;
  transition: color var(--transition-fast);
  padding: 4px 16px;
  border: 1px solid rgba(255,255,255,0.07);
}

.client-logos-list span:hover {
  color: var(--color-accent);
  border-color: rgba(200,168,130,0.2);
}

.client-logos-note {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(245,244,240,0.28);
  margin-top: 16px;
}

/* --- Works Preview Section --- */
.works-preview-section {
  background: var(--color-black);
}

.works-preview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  margin-bottom: 56px;
}

.work-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-card-large {
  grid-row: 1 / 3;
}

.work-card-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.work-card-large .work-card-visual {
  aspect-ratio: auto;
  flex: 1;
  min-height: 400px;
}

.work-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.work-bg-1 {
  background-color: #1a1510;
  background-image: linear-gradient(135deg, #1a1510 0%, #2c1f0a 50%, #1a1208 100%);
}

.work-bg-2 {
  background-color: #0f1520;
  background-image: linear-gradient(135deg, #0f1520 0%, #1a2035 50%, #0a0f1a 100%);
}

.work-bg-3 {
  background-color: #101a10;
  background-image: linear-gradient(135deg, #101a10 0%, #152515 50%, #0a130a 100%);
}

.work-bg-4 {
  background-color: #1a1020;
  background-image: linear-gradient(135deg, #1a1020 0%, #251535 50%, #10080a 100%);
}

.work-card:hover .work-card-bg {
  transform: scale(1.05);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.work-card-cat {
  font-family: var(--font-en-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.work-card-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1.5;
}

.work-card-info {
  padding: 24px 28px;
  background: var(--color-dark);
  border-top: 1px solid rgba(200,168,130,0.15);
}

.work-card-genre {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.work-card-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-light-gray);
}

.works-preview-cta {
  text-align: center;
}

/* --- Brand Message Section --- */
.brand-section {
  padding: 160px 0;
  background: linear-gradient(180deg, var(--color-dark) 0%, #0d0b08 50%, var(--color-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,130,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.brand-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}

.brand-en {
  font-family: var(--font-en);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.brand-ja {
  font-family: var(--font-serif-ja);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.brand-body {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 300;
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: rgba(245, 244, 240, 0.65);
  margin-top: 32px;
}

/* --- CTA Section Note --- */
.cta-note {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--color-gray);
  letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .concept-grid {
    gap: 64px;
  }
  .whyus-grid {
    gap: 64px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .concept-visual-inner {
    padding: 40px 36px;
  }
  .whyus-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .whyus-header {
    position: static;
  }
  .works-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-card-large {
    grid-row: auto;
  }
  .work-card-large .work-card-visual {
    min-height: auto;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px;
    padding-top: 72px;
  }
  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .hero-scroll-indicator {
    bottom: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 36px 28px;
  }
  .services-note {
    padding: 36px 24px;
  }
  .whyus-item {
    flex-direction: column;
    gap: 16px;
  }
  .whyus-item-num {
    font-size: 1.6rem;
  }
  .works-preview-grid {
    grid-template-columns: 1fr;
  }
  .brand-section {
    padding: 96px 0;
  }
  .brand-inner {
    padding: 0 24px;
  }
  .brand-ja {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .concept-visual-inner {
    padding: 32px 24px;
  }
  .concept-stat-grid {
    gap: 20px;
  }
}

/* --- Tablet portrait fix --- */
.br-pc {
  display: none;
}

@media (min-width: 769px) {
  .br-pc {
    display: inline;
  }
}
