/* ==========================================================================
   sections.css — Per-section styles
   ========================================================================== */

/* --- Hero (full-bleed video) ---------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  padding: 0;
  margin: 0;
  max-width: none;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(255,180,120,0.45), transparent 55%),
    radial-gradient(circle at 75% 65%, rgba(80,130,180,0.5), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(120,90,140,0.3), transparent 70%),
    linear-gradient(180deg, #2a2520 0%, #16140f 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: 0% 50%, 100% 50%, 50% 50%, 0 0; }
  100% { background-position: 100% 30%, 0% 70%, 60% 40%, 0 0; }
}
.hero-bg-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: overlay;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 40px 88px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #fff;
  vertical-align: middle;
  margin-right: 16px;
}
.hero h1 {
  font-size: clamp(28px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 .l { display: block; }
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.1em;
  margin-bottom: 48px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
}
.hero-btn:hover { transform: translateY(-2px); opacity: 1; }
.hero-btn .meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.7;
  font-weight: 500;
  border-left: 1px solid currentColor;
  padding-left: 12px;
}
.hero-btn .arrow { font-size: 14px; margin-left: -4px; }
.hero-btn.primary { background: #fff; color: var(--text); }
.hero-btn.ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; }
  50%      { transform: scaleY(1); transform-origin: top; }
}
@media (max-width: 720px) {
  .hero { height: 100vh; min-height: 560px; }
  .hero-content { padding: 0 20px 56px; }
  .hero-scroll { display: none; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 28px; letter-spacing: 0.25em; }
  .hero-eyebrow::before { width: 24px; margin-right: 12px; }
  .hero h1 { font-size: 24px; line-height: 1.7; margin-bottom: 20px; letter-spacing: 0.04em; }
  .hero-sub { font-size: 12px; margin-bottom: 32px; }
  .hero-buttons { gap: 10px; }
  .hero-btn { padding: 13px 20px; font-size: 11px; gap: 10px; flex: 1; justify-content: center; }
  .hero-btn .meta { font-size: 10px; padding-left: 8px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 21px; }
  .hero-buttons { flex-direction: column; }
  .hero-btn { width: 100%; }
}

/* --- People ----------------------------------------------------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 64px 40px;
  margin-top: 64px;
}
.person { cursor: pointer; }
.person-img {
  aspect-ratio: 3/4;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  background: #ddd;
  transition: transform .5s ease;
}
.person:hover .person-img { transform: translateY(-6px); }
.person-img.p1 { background: linear-gradient(160deg, #d9c5a8 0%, #6e5840 100%); }
.person-img.p2 { background: linear-gradient(160deg, #b9c9c4 0%, #3d5a55 100%); }
.person-img.p3 { background: linear-gradient(160deg, #d0bcc2 0%, #6b4f59 100%); }
.person-img.p4 { background: linear-gradient(160deg, #c5b5a0 0%, #524535 100%); }
.person-img.p5 { background: linear-gradient(160deg, #a8b8c8 0%, #45556a 100%); }
.person-img.p6 { background: linear-gradient(160deg, #d4c0a8 0%, #6e5b45 100%); }
.person-img.p7 { background: linear-gradient(160deg, #c8b8d0 0%, #4f4060 100%); }
.person-img video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.person-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 6px 12px;
  backdrop-filter: blur(8px);
}
.person-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-bottom: 8px;
}
.person-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.person-quote {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.85;
  letter-spacing: 0.06em;
}
@media (max-width: 1024px) { .people-grid { gap: 48px 32px; } }
@media (max-width: 720px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    margin-top: 40px;
  }
  .person-img { margin-bottom: 16px; }
  .person-tag { font-size: 9px; padding: 4px 8px; top: 10px; left: 10px; }
  .person-role { font-size: 10px; margin-bottom: 6px; }
  .person-name { font-size: 15px; margin-bottom: 8px; }
  .person-quote { font-size: 12px; line-height: 1.75; }
}
@media (max-width: 380px) { .people-grid { grid-template-columns: 1fr; } }

/* --- Message ---------------------------------------------------------- */
.message { background: var(--bg-2); }
.message .sec-title { font-size: clamp(36px, 5.5vw, 72px); }
.message-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 24px;
}
.message-body {
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}
.message-body p + p { margin-top: 1.6em; }
.signature {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-top: 64px;
}
.signature strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: 0.08em;
}
@media (max-width: 1024px) { .message-layout { gap: 56px; } }
@media (max-width: 880px)  { .message-layout { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 720px)  {
  .message-layout { gap: 40px; margin-top: 16px; }
  .message-body { font-size: 15px; line-height: 2; margin-bottom: 36px; letter-spacing: 0.06em; }
  .signature { margin-top: 40px; }
}

/* --- About ------------------------------------------------------------ */
.about-table {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.about-table dt, .about-table dd {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.about-table dt {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--mute);
  font-weight: 500;
}
.about-table dd { line-height: 1.9; letter-spacing: 0.06em; }
@media (max-width: 720px) {
  .about-table { grid-template-columns: 1fr; }
  .about-table dt { padding-bottom: 4px; border-bottom: none; }
  .about-table dd { padding: 4px 0 20px; font-size: 14px; }
}

/* --- Culture ---------------------------------------------------------- */
.culture { background: var(--text); color: #fff; }
.culture .sec-num { color: rgba(255,255,255,0.55); }
.culture .sec-title { color: #fff; }
.culture .sec-title .jp { color: rgba(255,255,255,0.55); }
.culture .sec-lead { color: rgba(255,255,255,0.75); }
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-top: 96px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.value-cell {
  padding: 56px 40px 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.value-no {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.value-name {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.value-jp {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.value-body {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .values { margin-top: 56px; }
  .value-cell { padding: 40px 0; }
  .value-no { margin-bottom: 20px; }
  .value-name { font-size: 24px; margin-bottom: 12px; }
  .value-jp { font-size: 13px; margin-bottom: 20px; }
  .value-body { font-size: 13px; line-height: 1.9; }
}

/* --- Workstyle -------------------------------------------------------- */
.workstyle { background: var(--bg-2); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.work-cell {
  padding: 56px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.work-num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--mute);
  margin-bottom: 24px;
}
.work-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.work-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.95;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .work-cell { padding: 32px 20px; }
  .work-num { font-size: 10px; margin-bottom: 16px; }
  .work-name { font-size: 15px; margin-bottom: 10px; }
  .work-desc { font-size: 12px; line-height: 1.85; }
}
@media (max-width: 380px) { .work-grid { grid-template-columns: 1fr; } }

/* --- Process ---------------------------------------------------------- */
.process-list { margin-top: 64px; counter-reset: step; }
.process-row {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-row:last-of-type { border-bottom: 1px solid var(--line); }
.process-no {
  counter-increment: step;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.process-no::before { content: 'STEP 0' counter(step); }
.process-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.process-desc {
  font-size: 14px;
  color: var(--mute);
  line-height: 2;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .process-list { margin-top: 40px; }
  .process-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .process-no { font-size: 11px; }
  .process-name { font-size: 17px; }
  .process-desc { font-size: 13px; line-height: 1.85; }
}

/* --- Pick Up ---------------------------------------------------------- */
.pickup { background: var(--bg-2); }
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px 32px;
  margin-top: 64px;
}
.pickup-card { cursor: pointer; }
.pickup-thumb {
  aspect-ratio: 16/10;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  transition: transform .4s ease;
}
.pickup-card:hover .pickup-thumb { transform: translateY(-6px); }
.pickup-thumb.t1 { background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%); }
.pickup-thumb.t2 { background: linear-gradient(135deg, #d4c8b0 0%, #8a7a5c 100%); }
.pickup-thumb.t3 { background: linear-gradient(135deg, #c0d0d4 0%, #6a8a90 100%); }
.pickup-thumb.t4 { background: linear-gradient(135deg, #d8c0c8 0%, #8a6878 100%); }
.pickup-thumb img,
.pickup-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.pickup-channel {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.pickup-date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-bottom: 12px;
}
.pickup-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .pickup-grid { gap: 36px 16px; margin-top: 40px; }
  .pickup-thumb { margin-bottom: 16px; }
  .pickup-channel { font-size: 9px; top: 12px; left: 12px; }
  .pickup-date { font-size: 10px; margin-bottom: 8px; }
  .pickup-title { font-size: 14px; line-height: 1.65; }
}

/* --- Library ---------------------------------------------------------- */
.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.lib-cell {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: background .25s ease;
  cursor: pointer;
}
.lib-cell:hover { background: var(--bg-2); }
.lib-cell:hover .lib-arrow { transform: translate(8px, -8px); }
.lib-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lib-meta {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.1em;
  margin-top: 12px;
}
.lib-arrow {
  align-self: flex-end;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  transition: transform .3s ease;
}
@media (max-width: 720px) {
  .lib-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .lib-cell { padding: 32px 20px; min-height: 160px; }
  .lib-name { font-size: 18px; }
  .lib-meta { font-size: 11px; }
}
@media (max-width: 380px) { .lib-grid { grid-template-columns: 1fr; } }

/* --- Footer CTA ------------------------------------------------------- */
.fcta {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 180px 40px;
}
.fcta h2 {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 64px;
}
.fcta .jp {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-top: 32px;
}
.fcta-btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 28px 72px;
  background: #fff;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  transition: transform .3s ease;
}
.fcta-btn:hover { transform: translateY(-4px); opacity: 1; }
@media (max-width: 720px) {
  .fcta { padding: 100px 20px; }
  .fcta h2 { font-size: 56px; margin-bottom: 40px; }
  .fcta .jp { font-size: 12px; margin-top: 20px; letter-spacing: 0.18em; }
  .fcta-btn { padding: 22px 48px; font-size: 11px; letter-spacing: 0.22em; gap: 16px; }
}
