/* Secondary pages: shared editorial and product system */

.page-main { padding-top: 77px; }

.breadcrumbs {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px var(--pad-x) 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.breadcrumbs a:hover { color: var(--accent-bright); }

.page-hero {
  max-width: 1380px;
  min-height: 620px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(70px, 8vw, 116px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.page-hero-copy { max-width: 720px; }
.page-hero .index { color: var(--accent-bright); margin-bottom: 22px; }
.page-hero h1 { margin-bottom: 24px; }
.page-hero-lead {
  max-width: 38em;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.page-hero-media {
  position: relative;
  min-width: 0;
}
.page-hero-media::before {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: -1;
  background: radial-gradient(circle, rgba(58, 191, 111, 0.12), transparent 66%);
}
.page-hero-media figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-1);
}
.page-hero-media figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(17, 17, 17, 0.72));
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.page-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: var(--txt-2);
}
.page-hero-media.product-media figure {
  min-height: 520px;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(245, 245, 242, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 242, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-media.product-media img {
  width: min(390px, 82%);
  max-height: 500px;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 56px rgba(0, 0, 0, 0.55));
}
.page-hero-media.product-media--wide img { width: min(520px, 88%); }

.content-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) var(--pad-x);
}
.content-section + .content-section { border-top: 1px solid var(--line-soft); }
.content-section.alt {
  max-width: none;
  background: var(--bg-1);
}
.content-section.alt > .section-shell {
  max-width: 1380px;
  margin: 0 auto;
}
.content-head {
  max-width: 760px;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.content-head .index { color: var(--accent-bright); margin-bottom: 16px; }
.content-head h2 { margin-bottom: 16px; }
.content-head p { font-size: 1.04rem; }

.feature-grid,
.process-grid,
.product-grid,
.metric-grid {
  display: grid;
  gap: 14px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card,
.process-step,
.product-card,
.metric-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-1);
}
.feature-card,
.process-step,
.metric-card { padding: clamp(22px, 3vw, 32px); }
.alt .feature-card,
.alt .process-step,
.alt .metric-card { background: var(--bg-0); }
.feature-card .mono,
.process-step .mono,
.metric-card .mono { display: block; color: var(--accent-bright); margin-bottom: 20px; }
.feature-card h3,
.process-step h3 { margin-bottom: 10px; }
.feature-card p,
.process-step p { font-size: 0.94rem; }

.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step { position: relative; }
.process-step::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 2px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.media-process .process-step { padding: 0 0 26px; overflow: hidden; }
.media-process .process-step::before { z-index: 2; }
.media-process .process-step img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.media-process .process-step:nth-child(4) img {
  object-fit: contain;
  padding: 20px;
  background: var(--bg-2);
}
.media-process .process-step .mono,
.media-process .process-step h3,
.media-process .process-step p { margin-right: 24px; margin-left: 24px; }
.media-process .process-step .mono { margin-top: 24px; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
}
.split-copy .index { color: var(--accent-bright); margin-bottom: 16px; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy > p { font-size: 1.03rem; }
.split-media {
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-1);
}
.split-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.split-media.contain img {
  width: min(390px, 76%);
  object-fit: contain;
  padding: 28px;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.5));
}
.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--txt-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card-media {
  min-height: 238px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg-2);
}
.product-card-media img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.48));
}
.product-card-copy {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.product-card-copy .mono { color: var(--accent-bright); margin-bottom: 10px; }
.product-card-copy h3 { margin-bottom: 8px; }
.product-card-copy p { font-size: 0.9rem; }
.product-card-copy .text-link { margin-top: auto; padding-top: 20px; }
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--txt);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-link::after { content: "→"; color: var(--accent-bright); }
.text-link:hover { color: var(--accent-bright); }

.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1;
}

.specs-wide { margin-bottom: 0; }

.case-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background-position: center;
  background-size: cover;
}
.case-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.96));
}
.case-panel-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: clamp(28px, 5vw, 64px);
}
.case-panel-copy .index { color: var(--accent-bright); margin-bottom: 14px; }
.case-panel-copy h2 { margin-bottom: 14px; }
.case-panel-copy p { font-size: 1.02rem; }

.gallery-wide {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.gallery-wide img { width: 100%; }
.gallery-wide figcaption { padding: 14px 18px; background: var(--bg-1); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}
.tag-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--txt-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-band {
  max-width: 1380px;
  margin: 0 auto clamp(70px, 9vw, 120px);
  padding: 0 var(--pad-x);
}
.cta-band-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-1);
}
.cta-band-inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--accent);
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(70px, 8vw, 112px) var(--pad-x) clamp(90px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: start;
}
.contact-copy .index { color: var(--accent-bright); margin-bottom: 18px; }
.contact-copy h1 { margin-bottom: 22px; }
.contact-copy > p { font-size: 1.05rem; }
.contact-options { display: grid; gap: 14px; margin-top: 34px; }
.contact-option {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.contact-option span { display: block; margin-bottom: 5px; }
.contact-option a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--txt);
  overflow-wrap: anywhere;
}
.contact-option a:hover { color: var(--accent-bright); }

.contact-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-1);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--txt);
  font-size: 0.88rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-0);
  color: var(--txt);
  padding: 11px 13px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--txt-3); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--txt-3); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent-bright); }
.field-hint { margin-top: 6px; font-size: 0.78rem; }
.checkbox-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}
.checkbox-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.checkbox-field label { color: var(--txt-2); font-size: 0.84rem; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.form-note { font-size: 0.78rem; max-width: 43em; }
.form-note.full { grid-column: 1 / -1; }
.form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  color: var(--accent-bright);
  font-size: 0.88rem;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--pad-x);
}
.redirect-card {
  max-width: 620px;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-1);
  text-align: center;
}
.redirect-card h1 { margin: 18px 0; }
.redirect-card .btn { margin-top: 28px; }

@media (max-width: 1080px) {
  .page-hero { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); }
  .feature-grid.four,
  .process-grid,
  .product-grid,
  .product-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .page-main { padding-top: 65px; }
  .breadcrumbs { padding-top: 18px; }
  .page-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .page-hero-media { order: -1; }
  .page-hero-media img { aspect-ratio: 16 / 10; }
  .page-hero-media.product-media figure { min-height: 400px; }
  .page-hero-media.product-media img { max-height: 370px; aspect-ratio: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-media { min-height: 360px; }
  .contact-layout { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .feature-grid.four,
  .process-grid,
  .product-grid,
  .product-grid.two,
  .metric-grid,
  .form-grid { grid-template-columns: 1fr; }
  .field.full,
  .checkbox-field,
  .form-actions,
  .form-note.full,
  .form-status { grid-column: auto; }
  .page-hero-actions,
  .cta-band-actions { align-items: stretch; flex-direction: column; }
  .page-hero-actions .btn,
  .cta-band-actions .btn,
  .form-actions .btn { width: 100%; }
  .page-hero-media.product-media figure { min-height: 340px; }
  .page-hero-media.product-media img { max-height: 310px; }
  .case-panel { min-height: 460px; }
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .product-card { transform: none !important; }
}
