/* TZD Display content and factory page refinements — 2026-08-19 */
.guides-page main {
  padding-top: 38px;
}

.guides-page .hero {
  min-height: 390px;
  background-position: 62% 61%;
}

.guides-page .hero-content {
  min-height: 390px;
  padding-block: 70px 48px;
}

.guides-page .hero-title {
  max-width: 650px;
  font-size: clamp(34px, 4vw, 52px);
}

.guides-page .hero-sub { max-width: 600px; }

.guides-page .guides-intro {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.guides-page .guides-intro .trust { margin-bottom: 16px; }
.guides-page .guides-intro .intro { margin-bottom: 0; }

.guides-page .section-kicker {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.guides-page .section-title {
  margin: 8px 0 22px;
  text-align: center;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 62px;
}

.guide-card {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-rows: 235px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

.guide-card-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #eff6ff, #f8fbff 58%, #edfdf6);
}

.guide-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.06));
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.guide-card:hover .guide-card-media img { transform: scale(1.035); }

.guide-card-body {
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.guide-card-tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
}

.guide-card h3 {
  margin: 15px 0 9px;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.guide-card h3 a { color: var(--ink); }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card h3 a:hover { color: var(--blue); text-decoration: none; }
.guide-card p { color: var(--muted); line-height: 1.55; }

.guide-card-action {
  margin-top: auto;
  padding-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.method-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: #f6f8fb;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.method-panel > p {
  max-width: 820px;
  margin: 0 auto 24px;
  color: var(--muted);
  text-align: center;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-step {
  min-height: 165px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
}

.method-step span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.method-step h3 { margin: 10px 0 7px; font-size: 17px; }
.method-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.guides-page .cta {
  margin-top: 30px;
  padding: 34px;
  border-radius: 22px;
}

.guides-page .cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.guides-page .cta-actions .btn.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue-soft-2);
}

.factory-page .factory-overview-band {
  width: min(1180px, calc(100vw - 40px));
  margin: 28px auto 4px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.factory-page .factory-hero-figure {
  min-height: 420px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.factory-page .factory-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 42px);
}

.factory-overview-copy .role-tag { width: fit-content; }
.factory-overview-copy h2 { margin-top: 14px; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.08; }
.factory-overview-copy p { margin-top: 12px; color: var(--muted); line-height: 1.55; }

.factory-overview-points {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.factory-overview-points li {
  display: flex;
  gap: 9px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.factory-overview-points li::before { content: "✓"; color: var(--green); font-weight: 900; }

.factory-page .demo-tile { min-height: 225px; }
.factory-page .qc-collage { border-radius: 20px; }

@media (max-width: 900px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-page .factory-overview-band { grid-template-columns: 1fr; }
  .factory-page .factory-hero-figure { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .guides-page .hero,
  .guides-page .hero-content { min-height: 360px; }
  .guides-page .hero-content { padding: 54px 6px 36px; }
  .guides-page main { padding: 28px 16px 54px; }
  .guide-cards { grid-template-columns: 1fr; margin-bottom: 44px; }
  .guide-card { min-height: 0; grid-template-rows: 205px 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-step { min-height: 0; }
  .factory-page .factory-overview-band { width: calc(100vw - 28px); margin-top: 16px; }
  .factory-overview-copy { padding: 26px 22px; }
  .factory-page .hero-certifications { flex-wrap: wrap; gap: 7px 14px; }
  .factory-page .hero-certifications .dot { display: none; }
  .factory-page .hero-certifications .cert { white-space: nowrap; }
}
