/* ================ About → Member link ================ */
.about-member-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  width: 220px;
  margin-right: auto; /* force left alignment within parent */
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  justify-content: space-between;
  transition: gap .25s ease, color .25s ease, border-color .25s ease;
}
.about-member-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 18px;
}
.about-member-arrow { font-size: 16px; line-height: 1; }
.about-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.about-links .about-member-link {
  margin-top: 32px;
}
@media (max-width: 720px) {
  .about-links {
    flex-direction: column;
    gap: 0;
  }
  .about-links .about-member-link {
    width: min(260px, 100%);
  }
}

/* ================ Members page ================ */
.members-section {
  border-top: var(--rule);
  padding: 48px 0 64px;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  max-width: 980px;
  margin: 0 auto;
}
.member-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.member-portrait {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}
.member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.member-portrait-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 22px;
  letter-spacing: 0.15em;
}
.member-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding-top: 6px;
  border-top: var(--rule);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.member-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.15;
  margin: 0;
}
.member-bio {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  white-space: pre-line;
  margin: 0;
}
@media (max-width: 1080px) {
  .members-grid { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
}
@media (max-width: 720px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
}
@media (max-width: 480px) {
  .members-grid { grid-template-columns: 1fr; max-width: 320px; gap: 28px; }
}

/* ================ Detail pages — individual title block ================ */
.detail-title-section {
  padding: 60px 0 30px;
  border-top: var(--rule);
}
.detail-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-title-kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.detail-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  word-break: break-word;
}
.detail-title-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
@media (max-width: 860px) {
  .detail-title-section { padding: 40px 0 20px; }
}

/* ================ Detail pages — first-view (hero fills 100vh) ================ */
.detail-firstview {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.detail-firstview > .hero { flex: 1; }
.detail-firstview-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 18px var(--pad-x) 24px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
}
.detail-firstview-scroll-arrow {
  display: inline-block;
  animation: noticScrollArrow 1.6s ease-in-out infinite;
}

/* ================ Contact page — first-view (hero + info fits in 100vh) ================ */
.contact-firstview {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.contact-firstview > .hero { flex: 1; }
.contact-firstview > .contact-info-section { flex: 0 0 auto; }
.contact-firstview-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 18px var(--pad-x) 24px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
}
.contact-firstview-scroll-arrow {
  display: inline-block;
  animation: noticScrollArrow 1.6s ease-in-out infinite;
}
@keyframes noticScrollArrow {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* About + Work page-specific additions */

/* Philosophy columns */
.philo-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 var(--pad-x) 80px;
  border-top: var(--rule);
  padding-top: 40px;
}
.philo-col { display: flex; flex-direction: column; gap: 18px; }
.philo-head {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}
.philo-body { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 40ch; }
@media (max-width: 860px) {
  .philo-cols { grid-template-columns: 1fr; }
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0 var(--pad-x) 80px;
  border-top: 1px solid var(--line-strong);
}
.cap-item {
  padding: 18px 0;
  border-bottom: var(--rule);
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  display: flex; align-items: baseline;
}
.cap-grid > .cap-item:nth-child(odd) { padding-right: 24px; }
.cap-grid > .cap-item:nth-child(even) { padding-left: 24px; border-left: var(--rule); }
@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid > .cap-item:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Timeline */
.timeline { padding-bottom: 80px; border-top: 1px solid var(--line-strong); }
.timeline-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: var(--rule);
  align-items: baseline;
}
.timeline-y {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  color: var(--accent);
}
.timeline-t {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

/* Work grid (work.html only — when WorkCase is the child) */
.work-grid:has(.work-case) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  padding: 60px var(--pad-x) 80px;
  border-top: var(--rule);
}
.work-case {
  display: flex; flex-direction: column; gap: 14px;
  color: inherit; text-decoration: none;
}
.work-case.is-link { transition: transform 0.25s ease; }
.work-case.is-link:hover { transform: translateY(-2px); }
.work-case.is-link .work-case-client,
.work-case.is-link .work-case-desc,
.work-case.is-link .work-case-num,
.work-case.is-link .work-case-sector,
.work-case.is-link .work-tag {
  transition: color 0.3s ease, border-color 0.3s ease;
}
.work-case.is-link:hover .work-case-client,
.work-case.is-link:hover .work-case-desc,
.work-case.is-link:hover .work-case-num,
.work-case.is-link:hover .work-case-sector {
  color: var(--accent);
}
.work-case.is-link:hover .work-tag {
  color: var(--accent);
  border-color: var(--accent);
}
.work-case.is-link .ph { transition: opacity 0.25s ease; }
.work-case.is-link:hover .ph { opacity: 0.92; }
.work-case-media { position: relative; }
.work-case-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; border-top: var(--rule); }
.work-case-num { color: var(--muted); }
.work-case-client {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.005em;
}
.work-case-desc { font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.work-case-sector { color: var(--muted); padding-top: 4px; border-top: var(--rule); }

@media (max-width: 1080px) {
  .work-grid:has(.work-case) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .work-grid:has(.work-case) { grid-template-columns: 1fr; }
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--pad-x) 80px;
  border-top: 1px solid var(--line-strong);
}
.stat {
  padding: 40px 20px;
  border-right: var(--rule);
  border-bottom: var(--rule);
}
.stat:last-child { border-right: 0; }
.stat-n {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-l { margin-top: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
}

/* ================ Product detail page ================ */
.product-hero { padding-top: 24px; }
.product-hero-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
  padding: 24px var(--pad-x) 40px;
  border-top: var(--rule);
}
.product-hero-headline-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.product-hero-kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.product-hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  word-break: break-word;
}
.product-hero-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.3;
  color: var(--ink-2);
  max-width: 40ch;
  margin: 0;
}
.product-hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
  max-width: 320px;
}
.product-hero-side-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.product-hero-side-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
  white-space: pre-line;
}
@media (max-width: 860px) {
  .product-hero-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-hero-side { max-width: none; }
}

/* Cover image */
.product-cover-section { padding-top: 0; }
.product-cover {
  padding: 0 var(--pad-x) 40px;
}
.product-cover .ph {
  border-radius: 2px;
  overflow: hidden;
}

/* Lead */
.product-lead-section {
  border-top: var(--rule);
  padding-top: 60px;
  padding-bottom: 60px;
}
.product-lead {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 0 var(--pad-x);
}
.product-lead-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding-top: 12px;
}
.product-lead-body {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
  margin: 0;
  white-space: pre-line;
}
@media (max-width: 860px) {
  .product-lead { grid-template-columns: 1fr; }
}

/* Sections */
.product-sections {
  border-top: var(--rule);
  padding-top: 40px;
  padding-bottom: 40px;
}
.product-section-row {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  gap: 24px;
  padding: 28px var(--pad-x);
  border-bottom: var(--rule);
  align-items: start;
}
.product-section-num {
  color: var(--muted);
  padding-top: 6px;
}
.product-section-head {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.1;
  margin: 0;
  padding-top: 0;
}
.product-section-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  white-space: pre-line;
  max-width: 60ch;
}
@media (max-width: 860px) {
  .product-section-row {
    grid-template-columns: 60px 1fr;
  }
  .product-section-head { grid-column: 2 / 3; }
  .product-section-body { grid-column: 1 / -1; }
}

/* Specs */
.product-specs-section {
  border-top: var(--rule);
  padding-top: 40px;
  padding-bottom: 60px;
}
.product-specs-label {
  padding: 0 var(--pad-x);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  margin: 0 var(--pad-x);
}
.product-spec {
  padding: 24px 18px;
  border-right: var(--rule);
  border-bottom: var(--rule);
}
.product-spec:last-child { border-right: 0; }
.product-spec-k {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.product-spec-v {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.4;
  color: var(--ink);
}
@media (max-width: 860px) {
  .product-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .product-spec:nth-child(2) { border-right: 0; }
}

/* Related */
.product-related-section {
  border-top: var(--rule);
  padding-top: 60px;
  padding-bottom: 80px;
}
.product-related-label {
  padding: 0 var(--pad-x);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  padding: 0 var(--pad-x);
}
.product-related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.product-related-card:hover { transform: translateY(-2px); }
.product-related-body { display: flex; flex-direction: column; gap: 8px; }
.product-related-meta {
  display: flex; justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 6px;
  border-top: var(--rule);
}
.product-related-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  margin: 0;
}
.product-related-more {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 8px;
}
.product-related-grid.work-related-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .product-related-grid { grid-template-columns: 1fr; }
  .product-related-grid.work-related-grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .product-related-grid.work-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Product CTA */
.product-cta-section {
  border-top: var(--rule);
  padding: 80px var(--pad-x);
  background: var(--bg-2);
}
.product-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
}
.product-cta-eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; }
.product-cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  margin: 0;
  white-space: pre-line;
  letter-spacing: -0.01em;
}
.product-cta-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Work detail hero tag row */
.work-detail-tags {
  margin-top: 6px;
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* Service detail — related services list */
.service-related-list {
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line-strong);
}
.service-related-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 40px;
  gap: 24px;
  align-items: baseline;
  padding: 28px 16px;
  border-bottom: var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease;
}
.service-related-row:hover { background: var(--ink); color: var(--bg); }
.service-related-row:hover .service-arrow { transform: translateX(6px); color: var(--accent); }
.service-related-num { color: var(--muted); padding-top: 4px; }
.service-related-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  margin: 0;
}
.service-related-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  white-space: pre-line;
  max-width: 60ch;
}
@media (max-width: 860px) {
  .service-related-row { grid-template-columns: 60px 1fr; }
  .service-related-body { grid-column: 1 / -1; }
  .service-related-row .service-arrow { display: none; }
}

/* ================ Product Hero (rich) ================ */
.product-hero-head {
  grid-column: 1 / span 8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 0 32px;
}
.product-hero-kicker { color: var(--muted); }
.product-hero-name {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.product-hero-tagline {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.product-hero-tagline-sub {
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--muted);
  margin: 0;
}
@media (max-width: 860px) {
  .product-hero-head { grid-column: 1 / -1; }
  .product-hero-name { font-size: clamp(38px, 12vw, 72px); }
}

/* ================ Q-CUBE shared section layout ================ */
.qc-section { border-top: var(--rule); }
.qc-section-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 36px;
  color: var(--muted);
}
.qc-section-label-inner { margin-top: 64px; }

/* ================ CONCEPT ================ */
.qc-concept-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 40px;
}
.qc-concept-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qc-concept-para {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.9;
  margin: 0;
  white-space: pre-line;
}
.qc-concept-en {
  grid-column: 2;
  margin-top: 40px;
  padding-top: 32px;
  border-top: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qc-concept-para-en {
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 860px) {
  .qc-concept-wrap { grid-template-columns: 1fr; }
  .qc-concept-en { grid-column: 1; }
}

/* ================ WHY ================ */
.qc-why-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 40px;
}
.qc-why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qc-why-list-en {
  border-left: var(--rule);
  padding-left: 40px;
}
.qc-why-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.qc-why-bullet { color: var(--muted); flex-shrink: 0; }
.qc-why-text {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}
.qc-why-text-en {
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .qc-why-wrap { grid-template-columns: 1fr; }
  .qc-why-list-en { border-left: 0; padding-left: 0; margin-top: 32px; }
}

/* ================ FEATURES ================ */
.qc-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: var(--rule);
}
.qc-feature-card {
  padding: 36px 32px;
  border: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
}
.qc-feature-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qc-feature-plus {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.qc-feature-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.qc-feature-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  white-space: pre-line;
  margin: 0;
}
@media (max-width: 720px) {
  .qc-features-grid { grid-template-columns: 1fr; }
}

/* ================ EFFECTS ================ */
.qc-effects-list {
  display: flex;
  flex-direction: column;
  border-top: var(--rule);
}
.qc-effect-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 16px;
  padding: 28px 0;
  border-bottom: var(--rule);
  align-items: start;
}
.qc-effect-bullet { color: var(--muted); font-size: 18px; padding-top: 2px; }
.qc-effect-content { display: flex; flex-direction: column; gap: 6px; }
.qc-effect-title {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.3;
}
.qc-effect-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
  white-space: pre-line;
}

/* ================ SPECS table ================ */
.qc-specs-table {
  border-top: 1px solid var(--line-strong);
}
.qc-spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 32px;
  padding: 18px 0;
  border-bottom: var(--rule);
  align-items: baseline;
}
.qc-spec-k {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.qc-spec-v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 600px) {
  .qc-spec-row { grid-template-columns: 1fr; gap: 4px; }
  .qc-spec-k { color: var(--muted); font-size: 12px; }
}

/* ================ Q-CUBE ORIGINAL ================ */
.qc-original-section { background: var(--bg-2); }
.qc-original-head {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qc-original-tagline {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.qc-original-tagline-sub {
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.qc-original-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  margin: 0 0 20px;
  white-space: pre-line;
  max-width: 72ch;
}
.qc-usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.qc-usecase-title {
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: var(--rule);
}
.qc-usecase-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qc-usecase-item {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.qc-pricing-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}
.qc-original-cta {
  margin-top: 80px;
  padding-top: 60px;
  border-top: var(--rule);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qc-original-cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  margin: 0;
}
.qc-original-cta-sub {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
  white-space: pre-line;
}
.qc-cta-email {
  margin-top: 8px;
  font-size: clamp(16px, 1.8vw, 22px);
}
@media (max-width: 720px) {
  .qc-usecases-grid { grid-template-columns: 1fr; }
}

/* ================ Product cover (no padding top) ================ */
.product-cover-section {
  border-top: var(--rule);
  padding: 40px 0;
}

/* ================================================================
   Art Panel — Design cards grid
   ================================================================ */
.ap-designs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  margin-top: 40px;
}
.ap-design-card {
  display: flex;
  flex-direction: column;
  border: none;
  border-right: 1px solid var(--line);
  padding: 0;
  background: var(--bg);
}
.ap-design-card:nth-child(3n) { border-right: none; }

.ap-design-ph {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.ap-design-ph::after {
  content: "[ image ]";
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  position: absolute;
  bottom: 10px;
  right: 12px;
}
.ap-design-ph-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.ap-design-ph-name {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.ap-design-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ap-design-names {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ap-design-name {
  font-size: 15px;
  letter-spacing: 0.04em;
}
.ap-design-jp {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.ap-design-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.ap-design-price {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-top: 4px;
}

/* Custom banner (bottom of designs grid) */
.ap-custom-banner {
  margin-top: 1px;
  border: 1px solid var(--line);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: var(--bg-2);
}
.ap-custom-banner-body {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ap-custom-banner-name {
  font-size: 15px;
  white-space: nowrap;
}
.ap-custom-banner-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.ap-custom-banner-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 5px 12px;
}

/* ================================================================
   Art Panel — Process steps
   ================================================================ */
.ap-process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--rule);
  margin-top: 40px;
}
.ap-process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: var(--rule);
}
.ap-process-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-top: 3px;
}
.ap-process-body { display: flex; flex-direction: column; gap: 10px; }
.ap-process-title {
  font-size: 17px;
  letter-spacing: 0.02em;
}
.ap-process-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* ================================================================
   Art Panel — Hero simulator CTA button
   ================================================================ */
.ap-hero-sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 14px 22px 14px 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: background .2s, color .2s;
}
.ap-hero-sim-btn:hover { background: var(--ink); color: var(--bg); }
.ap-hero-sim-badge {
  font-size: 10px;
  letter-spacing: 0.22em;
  background: var(--ink);
  color: var(--bg);
  padding: 4px 10px;
  line-height: 1.6;
}
.ap-hero-sim-btn:hover .ap-hero-sim-badge { background: var(--bg); color: var(--ink); }

/* ================================================================
   Art Panel — Order simulator (2-column layout)
   ================================================================ */
.ap-order-section { background: var(--bg-2); }
.ap-order-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Shared step labels */
.ap-step-num { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.ap-step-title { font-size: 20px; letter-spacing: 0.02em; }
.ap-flow-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }

/* 2-column layout */
.ap-sim-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  border: 1px solid var(--line);
  margin-top: 36px;
  background: var(--line); /* gap color */
  gap: 1px;
}
.ap-sim-left {
  background: var(--bg);
  padding: 28px 28px 20px;
}
.ap-sim-right {
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}
.ap-sim-right-step {
  background: var(--bg);
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s;
}
.ap-sim-right-step.is-dim {
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

/* Result block at bottom of right column */
.ap-sim-result-block {
  flex: 1;
  background: var(--bg-2);
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 160px;
}
.ap-sim-result-block.is-ready {
  background: var(--ink);
  color: var(--bg);
}
.ap-sim-result-block.is-custom { justify-content: flex-start; }
.ap-sim-result-hint {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 2;
  white-space: pre-line;
  text-align: center;
  margin: auto 0;
}

/* Design grid */
.ap-sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ap-sim-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: background .2s;
}
.ap-sim-card:hover { background: color-mix(in oklch, var(--bg-2) 70%, var(--bg)); }
.ap-sim-card.is-selected { background: var(--ink); color: var(--bg); }
.ap-sim-card.is-custom-card .ap-sim-ph {
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 10px, var(--line) 10px 11px);
}
.ap-sim-card.is-custom-card.is-selected .ap-sim-ph {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 10px, rgba(255,255,255,0.12) 10px 11px);
}
.ap-sim-ph {
  aspect-ratio: 5/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-family: var(--mono);
  color: var(--muted);
  background: var(--bg-2);
}
.ap-sim-card.is-selected .ap-sim-ph {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
}
.ap-sim-card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.ap-sim-card-name { font-size: 13px; letter-spacing: 0.04em; }
.ap-sim-card-jp { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.ap-sim-card.is-selected .ap-sim-card-jp { color: rgba(255,255,255,0.45); }
.ap-sim-card-price { font-size: 11px; letter-spacing: 0.08em; margin-top: 4px; }
.ap-sim-card.is-selected .ap-sim-card-price { color: rgba(255,255,255,0.7); }

/* Custom row */
.ap-custom-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 1px;
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-top: none;
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  transition: background .2s, border-color .2s;
}
.ap-custom-row:hover { background: var(--bg-2); }
.ap-custom-row.is-selected { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ap-custom-row-tag { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); white-space: nowrap; }
.ap-custom-row.is-selected .ap-custom-row-tag { color: rgba(255,255,255,0.4); }
.ap-custom-row-text { font-size: 13px; flex: 1; }
.ap-custom-row-arrow { font-size: 13px; color: var(--muted); margin-left: auto; }
.ap-custom-row.is-selected .ap-custom-row-arrow { color: rgba(255,255,255,0.6); }

/* STEP 02 — YES / NO */
.ap-choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ap-choice-card:hover { background: var(--bg); }
.ap-choice-card.is-selected { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ap-choice-mark { font-size: 18px; letter-spacing: 0; color: var(--muted); line-height: 1; }
.ap-choice-card.is-selected .ap-choice-mark { color: rgba(255,255,255,0.5); }
.ap-choice-main { font-size: 18px; letter-spacing: 0.03em; }
.ap-choice-sub { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.ap-choice-card.is-selected .ap-choice-sub { color: rgba(255,255,255,0.5); }

/* STEP 03 — Stepper */
.ap-order-note { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 16px; }
.ap-stepper-row { display: flex; align-items: center; gap: 16px; }
.ap-stepper-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ap-stepper-label { font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.ap-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  height: 44px;
}
.ap-stepper-btn {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 18px;
  font-family: var(--mono);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-stepper-btn:hover { background: var(--bg-2); }
.ap-stepper-btn:active { background: var(--line); }
.ap-stepper-val {
  min-width: 44px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.04em;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-stepper-mm { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.ap-stepper-times { font-size: 16px; color: var(--muted); padding-top: 20px; }
.ap-stepper-total {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ap-stepper-total-val { font-size: 17px; letter-spacing: 0.04em; }
.ap-stepper-total-panels { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }

/* Result panel (inside .is-ready = dark bg) */
.ap-result-head {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 16px;
}
.ap-sim-result-block.is-ready .ap-result-head { color: rgba(255,255,255,0.45); }
.ap-result-rows { display: flex; flex-direction: column; }
.ap-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  gap: 12px;
}
.ap-sim-result-block.is-ready .ap-result-row { border-color: rgba(255,255,255,0.15); }
.ap-result-total {
  border-bottom: none;
  padding-top: 16px;
  font-size: 22px;
  line-height: 1.4;
}
.ap-result-total .mono {
  font-size: 26px;
  letter-spacing: 0.04em;
}
.ap-result-note {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.7;
}
.ap-sim-result-block.is-ready .ap-result-note { color: rgba(255,255,255,0.35); }
.ap-custom-quote-note { font-size: 16px; line-height: 1.9; white-space: pre-line; margin: 0 0 24px; }
.ap-order-cta { margin-top: 20px; }
.ap-order-cta .contact-btn { display: inline-block; }

/* ================================================================
   Art Panel — Option block (lighting)
   ================================================================ */
.ap-option-block {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.ap-option-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}
.ap-option-body {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 12px;
}
.ap-option-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ap-option-item {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ================================================================
   Art Panel — Responsive
   ================================================================ */
@media (max-width: 1000px) {
  .ap-sim-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 860px) {
  .ap-sim-layout { grid-template-columns: 1fr; gap: 0; }
  .ap-sim-left { border-bottom: 1px solid var(--line); }
  .ap-sim-right { flex-direction: row; flex-wrap: wrap; }
  .ap-sim-right-step { flex: 1; min-width: 200px; }
  .ap-sim-result-block { width: 100%; }
}
@media (max-width: 640px) {
  .ap-designs-grid { grid-template-columns: 1fr; }
  .ap-design-card { border-right: none; }
  .ap-process-step { grid-template-columns: 1fr; gap: 8px; }
  .ap-sim-right { flex-direction: column; }
  .ap-sim-right-step { min-width: unset; }
  .ap-stepper-times { display: none; }
  .ap-custom-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ap-custom-banner-body { flex-direction: column; gap: 8px; }
}
