/* ===========================================================
   AKAM TEXTILE — Pictures layer
   image-slot integrations only (3D type and complex infographics
   reverted per user preference)
   =========================================================== */

/* ----- HERO IMAGE-SLOT POSITIONING ----- */

.hero-visual { position: relative; }
.hero-visual image-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero-visual .corner-label,
.hero-visual .corner-stat,
.hero-visual .fabric-ribbon { z-index: 2; }

/* Sectional image-slot — soft framed photo placeholder */
.section-image {
  position: relative;
  width: 100%;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.section-image image-slot {
  display: block;
  width: 100%;
  height: 100%;
  background: #262E3A;
  color: #F4F1EA;
}
.section-image .si-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.section-image .si-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 3px rgba(169, 169, 168, 0.32);
}
.section-image .si-stat {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  text-align: right;
  line-height: 1.5;
  pointer-events: none;
}

/* ----- ABOUT SECTION IMAGE LAYOUT ----- */

.intro-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.intro-with-image .section-image {
  min-height: 480px;
  aspect-ratio: 4/5;
}
.intro-with-image .signature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.signature-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--bone);
}
.signature-card .sc-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.signature-card .sc-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 1080px) {
  .intro-with-image { grid-template-columns: 1fr; }
}

/* ----- PRODUCT CARDS — image-led ----- */

.cap-card.with-image {
  padding: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 440px;
}
.cap-card.with-image .cap-image-slot {
  position: relative;
  width: 100%;
  height: 260px;
  background: #262E3A;
  overflow: hidden;
}
.cap-card.with-image .cap-image-slot image-slot {
  display: block; width: 100%; height: 100%;
  background: #262E3A; color: #F4F1EA;
}
.cap-card.with-image .cap-image-slot::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(27, 34, 45,0.32));
}
.cap-card.with-image .cap-image-slot .si-label {
  position: absolute; top: 14px; left: 14px;
  z-index: 3; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory);
  display: flex; align-items: center; gap: 8px; pointer-events: none;
}
.cap-card.with-image .cap-image-slot .si-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.cap-card.with-image .cap-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cap-card.with-image .cap-arrow { top: auto; bottom: 28px; right: 28px; }

/* ----- INFOGRAPHIC: BY THE NUMBERS ----- */

.numbers {
  padding-block: clamp(80px, 10vw, 160px);
  border-bottom: 1px solid var(--line);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.numbers-card {
  background: var(--ivory);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 260px;
  position: relative;
}
.numbers-card .nc-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 6.5vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow:
    1px 1px 0 #3A4452, 2px 2px 0 #3A4452,
    3px 3px 0 #1f2c3d, 4px 4px 0 #1f2c3d,
    5px 5px 0 #16202e, 6px 6px 0 #16202e,
    7px 7px 0 #1B222D, 8px 10px 22px rgba(27, 34, 45,0.25);
}
.numbers-card .nc-num em {
  font-style: italic;
  color: var(--sage-deep);
}
.numbers-card .nc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: auto;
  max-width: 28ch;
}
.numbers-card .nc-bar {
  height: 4px;
  background: var(--line);
  position: relative;
  margin-top: 12px;
  border-radius: 2px;
}
.numbers-card .nc-bar::after {
  content: ""; position: absolute; inset: 0;
  width: var(--bar, 60%);
  background: var(--sage);
  border-radius: 2px;
}
@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----- PROCESS TIMELINE (3D, connected) ----- */

.process-timeline {
  margin-top: 56px;
  position: relative;
  padding: 64px 0;
}
.process-timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage) 10%, var(--sage) 90%, transparent);
  opacity: 0.5;
}
.process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}
.pt-node {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.pt-node:nth-child(even) {
  margin-top: 80px;
}
.pt-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(145deg, #262E3A 0%, #1B222D 100%);
  border: 1px solid rgba(244, 241, 234, 0.1);
  display: grid;
  place-items: center;
  color: var(--sage);
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(169, 169, 168, 0.06);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.pt-circle:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 44px rgba(0, 0, 0, 0.7),
    0 0 0 8px rgba(169, 169, 168, 0.12);
}
.pt-circle svg { width: 36px; height: 36px; }
.pt-circle .pt-tag {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--sage);
}
.pt-circle::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(169, 169, 168, 0.16);
}
.pt-node h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.pt-node p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.7);
}
@media (max-width: 1080px) {
  .process-timeline::before { display: none; }
  .process-timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-node:nth-child(even) { margin-top: 0; }
}
@media (max-width: 640px) {
  .process-timeline-grid { grid-template-columns: 1fr; }
}

/* Process-section image-slot beside timeline */
.process-image-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.process-image-row .section-image {
  min-height: 380px;
  border-color: rgba(244, 241, 234, 0.12);
}
.process-image-row .pir-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.process-image-row .pir-content h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ivory);
}
.process-image-row .pir-content p {
  font-size: 15px; line-height: 1.6;
  color: rgba(244, 241, 234, 0.75);
}
@media (max-width: 1080px) {
  .process-image-row { grid-template-columns: 1fr; }
}

/* ----- CAPACITY MIX BAR INFOGRAPHIC ----- */

.capacity-mix {
  display: flex;
  height: 56px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.capacity-mix .cm-seg {
  position: relative;
  display: flex;
  align-items: end;
  padding: 12px 14px;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.capacity-mix .cm-seg.s1 { background: #1B222D; flex: 32 1 0; }
.capacity-mix .cm-seg.s2 { background: #262E3A; flex: 18 1 0; }
.capacity-mix .cm-seg.s3 { background: #3A4452; flex: 14 1 0; }
.capacity-mix .cm-seg.s4 { background: #6E747B; flex: 12 1 0; }
.capacity-mix .cm-seg.s5 { background: #A9A9A8; flex: 10 1 0; color: #1B222D; }
.capacity-mix .cm-seg.s6 { background: #D6D6D4; flex: 8 1 0; color: #1B222D; }
.capacity-mix .cm-seg.s7 { background: #EAE5DA; flex: 6 1 0; color: #1B222D; }

.capacity-legend {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.capacity-legend .cl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.capacity-legend .cl strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (max-width: 900px) {
  .capacity-legend { grid-template-columns: repeat(4, 1fr); }
}

/* ----- FACILITY GALLERY ----- */

.facility {
  padding-block: clamp(80px, 10vw, 160px);
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 56px;
}
.facility-gallery .fg {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
  border: 1px solid var(--line);
}
.facility-gallery .fg image-slot {
  display: block; width: 100%; height: 100%;
  background: #262E3A; color: #F4F1EA;
}
.facility-gallery .fg .fg-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  z-index: 2;
  pointer-events: none;
}
.facility-gallery .fg .fg-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(244, 241, 234, 0.7);
  z-index: 2;
  pointer-events: none;
}
.facility-gallery .fg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 34, 45,0.0) 50%, rgba(27, 34, 45,0.5));
  pointer-events: none;
  z-index: 1;
}

/* Tile spans */
.fg-tall   { grid-column: span 4; grid-row: span 2; }
.fg-wide   { grid-column: span 8; grid-row: span 1; }
.fg-sq     { grid-column: span 4; grid-row: span 1; }
.fg-big    { grid-column: span 8; grid-row: span 2; }
.fg-narrow { grid-column: span 4; grid-row: span 1; }

@media (max-width: 1080px) {
  .facility-gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
  .fg-tall, .fg-wide, .fg-sq, .fg-big, .fg-narrow { grid-column: span 3; grid-row: span 1; }
  .fg-big { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 640px) {
  .facility-gallery { grid-template-columns: 1fr; }
  .fg-tall, .fg-wide, .fg-sq, .fg-big, .fg-narrow { grid-column: span 1; grid-row: span 1; }
}

/* ----- SUSTAINABILITY DIALS ----- */

.sustain-dials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.sustain-dial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.sustain-dial .ring {
  width: 120px;
  height: 120px;
  position: relative;
}
.sustain-dial .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sustain-dial .ring .pct {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sustain-dial .ring .pct small {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  display: block;
  text-align: center;
  margin-top: -4px;
}
.sustain-dial h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sustain-dial p {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 1080px) { .sustain-dials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .sustain-dials { grid-template-columns: 1fr; } }

/* ----- EXPORT SECTION WITH IMAGE ----- */

.export-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  align-items: stretch;
}
.export-image-row .section-image { min-height: 360px; }
.export-image-row .eir-content {
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.export-image-row .eir-content h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
@media (max-width: 1080px) { .export-image-row { grid-template-columns: 1fr; } }

/* ----- HERO TUNING (clean, no 3D extrusion) ----- */

.hero h1 em {
  color: var(--sage-deep);
  font-style: italic;
}
