/* ==========================================================================
   VISUAL SECTIONS — Process, Factory, Safety, Numbers
   Shared across all homepage variants
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   PROCESS / HOW WE WORK — Visual timeline
   ══════════════════════════════════════════════════════════════════════════ */

.proc-section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.proc-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.proc-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--text);
  margin-top: 8px;
}

.proc-header h2 em { font-style: italic; color: var(--accent-dark); }

.proc-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.proc-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.proc-step {
  text-align: center;
  padding: 0 clamp(12px, 2vw, 28px);
  position: relative;
  z-index: 1;
}

.proc-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  margin: 30px auto 28px;
  transition: all 0.4s var(--ease);
}

.proc-step:hover .proc-dot {
  background: var(--accent);
  transform: scale(1.4);
}

.proc-step-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0;
}

.proc-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: all 0.6s var(--ease);
}

.proc-step:hover .proc-step-img img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.proc-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.proc-step h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.proc-step p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   IN-HOUSE FACTORY — Full bleed image showcase
   ══════════════════════════════════════════════════════════════════════════ */

.factory-section {
  position: relative;
  overflow: hidden;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 4px;
}

.factory-cell {
  position: relative;
  overflow: hidden;
}

.factory-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.factory-cell:hover img {
  transform: scale(1.06);
}

.factory-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.factory-cell:hover .factory-cell-overlay {
  opacity: 1;
}

.factory-cell-overlay span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fafaf8;
}

.factory-cell:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.factory-text-cell {
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
}

.factory-text-cell .section-tag {
  color: var(--accent);
}

.factory-text-cell .section-tag::before {
  background: var(--accent);
}

.factory-text-cell h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: #fafaf8;
  margin-top: 8px;
  line-height: 1.25;
}

.factory-text-cell h3 em {
  font-style: italic;
  color: var(--accent);
}

.factory-text-cell p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(250,250,248,0.45);
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SAFETY & TRAINING — Split image + text
   ══════════════════════════════════════════════════════════════════════════ */

.safety-section {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--bg-alt);
  transition: background 0.5s var(--ease);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.safety-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.safety-img {
  overflow: hidden;
  border-radius: 4px;
}

.safety-img:first-child {
  grid-column: span 2;
}

.safety-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.safety-img:first-child img {
  aspect-ratio: 16/9;
}

.safety-img:not(:first-child) img {
  aspect-ratio: 1;
}

.safety-img:hover img {
  transform: scale(1.04);
}

.safety-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.safety-content h2 em { font-style: italic; color: var(--accent-dark); }

.safety-content > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.safety-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.safety-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.safety-feat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.safety-feat-icon svg {
  width: 16px;
  height: 16px;
  color: #fafaf8;
}

.safety-feat div h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.safety-feat div p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   BY THE NUMBERS — Large counter strip
   ══════════════════════════════════════════════════════════════════════════ */

.numbers-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--black);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.numbers-item {
  text-align: center;
  padding: clamp(20px, 3vw, 40px) 16px;
}

.numbers-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.numbers-item span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.35);
}

/* ══════════════════════════════════════════════════════════════════════════
   CAPABILITY SHOWCASE — Image + text alternating (V2 style)
   ══════════════════════════════════════════════════════════════════════════ */

.cap-section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.cap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 4px;
  overflow: hidden;
}

.cap-row:nth-child(even) {
  direction: rtl;
}

.cap-row:nth-child(even) > * {
  direction: ltr;
}

.cap-img {
  overflow: hidden;
}

.cap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  transition: transform 0.8s var(--ease);
}

.cap-row:hover .cap-img img {
  transform: scale(1.04);
}

.cap-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 60px);
  background: var(--bg-alt);
  transition: background 0.5s var(--ease);
}

.cap-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.cap-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.cap-text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   V3 — VISUAL STRIP (Photo mosaic bar)
   ══════════════════════════════════════════════════════════════════════════ */

.vstrip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 0;
}

.vstrip-cell {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.vstrip-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: all 0.6s var(--ease);
}

.vstrip-cell:hover img {
  filter: grayscale(0);
  transform: scale(1.08);
}

.vstrip-label {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.vstrip-cell:hover .vstrip-label {
  opacity: 1;
}

.vstrip-label span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fafaf8;
}

/* ══════════════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .proc-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .proc-timeline::before { display: none; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .factory-cell:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .factory-grid .factory-cell img, .factory-grid .factory-text-cell { min-height: 220px; }
  .safety-grid { grid-template-columns: 1fr; gap: 48px; }
  .cap-row { grid-template-columns: 1fr; }
  .cap-row:nth-child(even) { direction: ltr; }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .proc-timeline { grid-template-columns: 1fr 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .factory-cell:nth-child(1) { grid-column: span 1; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .vstrip { grid-template-columns: repeat(3, 1fr); }
  .vstrip-cell:nth-child(n+4) { display: none; }
}

@media (max-width: 480px) {
  .proc-timeline { grid-template-columns: 1fr; }
}
