/* ============================================================
   3hrs.ng — ABOUT PAGE STYLES
   Scoped under .about-page. Loaded only on the About template.
   Reuses the global dark design tokens (--orange, --bg, etc.).
   ============================================================ */

.about-page { background: var(--bg); color: var(--text); }
.about-page [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.about-page [data-reveal].is-visible { opacity: 1; transform: none; }
.about-page [data-reveal][data-delay="1"] { transition-delay: .1s; }
.about-page [data-reveal][data-delay="2"] { transition-delay: .2s; }
.about-page [data-reveal][data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .about-page [data-reveal] { opacity: 1; transform: none; } }

.about-page .ab-eyebrow { color: var(--orange); text-transform: uppercase; font-weight: 900; letter-spacing: .08em; font-size: 12px; margin: 0 0 12px; }
.about-page h2.ab-title, .about-page h1.ab-title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 900; }
.about-page .ab-title span { color: var(--orange); }
.about-page .ab-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }

/* ---- HERO ---- */
.about-hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); min-height: var(--hero-min); display: flex; align-items: center; }
.about-hero .ab-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.about-hero .ab-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.about-hero:before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,7,11,.95) 0%, rgba(5,9,14,.86) 30%, rgba(6,11,17,.5) 52%, rgba(7,17,31,.12) 72%, transparent 100%);
}
.about-hero:after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,11,.55) 0%, transparent 24%, transparent 64%, var(--bg) 100%);
}
.about-hero-grid { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 48px var(--pad); width: 100%; }
.about-hero-text { max-width: 620px; }
.about-hero h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 16px; font-weight: 900; }
.about-hero h1 span { color: var(--orange); }
.about-hero .ab-lead { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.65; margin: 0 0 24px; max-width: 440px; }
.about-hero .ab-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.about-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 440px; }
.about-hero-stats > div { border-left: 1px solid rgba(255,255,255,.12); padding-left: 16px; }
.about-hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.about-hero-stats .ic { color: var(--orange); font-size: 20px; display: block; margin-bottom: 6px; }
.about-hero-stats strong { display: block; font-size: 34px; font-weight: 900; line-height: 1; color: #fff; }
.about-hero-stats span { font-size: 11px; color: rgba(255,255,255,.65); }
@keyframes ab-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- WHO WE ARE (light section) ---- */
.about-who { display: grid; grid-template-columns: 1fr 1.05fr; background: #ffffff; align-items: stretch; }
.about-who-img { overflow: hidden; background: #eef2f6; }
.about-who-img img { width: 100%; height: 100%; object-fit: cover; }
.about-who-text { display: flex; align-items: center; padding: 44px var(--pad); }
.about-who-text .inner { max-width: 600px; }
.about-who-text .ab-title { color: #0d1620; }
.about-who-text .ab-title span { color: var(--orange); }
.about-who-text p { color: #5a6675; line-height: 1.6; margin: 0 0 12px; font-size: 13.5px; }
.about-mvw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 20px; background: #f4f6f9; border: 1px solid #e6eaef; border-radius: 16px; padding: 6px; }
.about-mvw .card { background: transparent; border: 0; border-right: 1px solid #e6eaef; border-radius: 0; padding: 18px 16px; text-align: center; }
.about-mvw .card:last-child { border-right: 0; }
.about-mvw .card .ic { color: var(--orange); font-size: 26px; display: block; margin-bottom: 12px; }
.about-mvw .card h3 { font-size: 15px; margin: 0 0 8px; color: #0d1620; }
.about-mvw .card p { font-size: 12px; color: #6b7685; line-height: 1.5; margin: 0; }

/* ---- STATS BAR (textured, icon-on-top) ---- */
.about-stats { position: relative; overflow: hidden; background: #0a0d11 var(--equip-bg, none) center center / cover no-repeat; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px var(--pad); }
.about-stats:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,15,.78), rgba(8,11,15,.86)); pointer-events: none; }
.about-stats-grid { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.about-stats-grid .stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 12px; border-right: 1px solid rgba(255,255,255,.12); }
.about-stats-grid .stat:last-child { border-right: 0; }
.about-stats-grid .ic { color: var(--orange); display: inline-flex; margin-bottom: 4px; }
.about-stats-grid .ic img { width: 40px; height: 40px; display: block; }
.about-stats-grid .ic .lic { width: 34px; height: 34px; }
.about-stats-grid strong { display: block; font-size: 28px; font-weight: 900; line-height: 1; color: #fff; }
.about-stats-grid span { font-size: 12px; color: rgba(255,255,255,.7); }

/* ---- WHY CHOOSE US (light section) ---- */
.about-why { display: grid; grid-template-columns: 1.05fr 1fr; background: #ffffff; align-items: stretch; }
.about-why-text { padding: 44px var(--pad); }
.about-why-text .ab-title { color: #0d1620; }
.about-why-text .ab-title span { color: var(--orange); }
.about-why-text > p.desc { color: #5a6675; line-height: 1.6; max-width: 520px; margin: 0 0 22px; font-size: 13.5px; }
.about-why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-why-cards .card { border: 1px solid #e9edf2; background: #ffffff; border-radius: 14px; padding: 16px 14px; transition: .3s ease; box-shadow: 0 1px 3px rgba(13,22,32,.04); }
.about-why-cards .card:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 18px 40px rgba(13,22,32,.12); }
.about-why-cards .card-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.about-why-cards .card .ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,101,8,.1); color: var(--orange); }
.about-why-cards .card .ic .lic { width: 18px; height: 18px; }
.about-why-cards .card h3 { font-size: 14px; margin: 0; line-height: 1.25; color: #0d1620; align-self: center; }
.about-why-cards .card p { font-size: 12px; color: #6b7685; line-height: 1.55; margin: 0; }
.about-why-img { overflow: hidden; background: #eef2f6; }
.about-why-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- EQUIPMENT (textured bg, right rig, feature pills) ---- */
.about-equip { position: relative; overflow: hidden; padding: 44px var(--pad) 48px; background: #0a0d11 var(--equip-bg, none) center center / cover no-repeat; }
.about-equip:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,15,.92) 0%, rgba(8,11,15,.6) 34%, rgba(8,11,15,.3) 60%, rgba(8,11,15,.55) 100%); pointer-events: none; }
.about-equip-inner { position: relative; z-index: 2; min-height: 340px; }

/* Rig anchored bottom-right, compact */
.about-equip-rig-img { position: absolute; z-index: 1; right: 8%; bottom: 0; width: auto; max-width: 40%; max-height: 300px; height: auto; object-fit: contain; filter: drop-shadow(0 24px 48px rgba(0,0,0,.7)); }

/* Text block top-left, above the rig */
.about-equip-text { position: relative; z-index: 4; max-width: 400px; }
.about-equip-text p.desc { color: rgba(255,255,255,.72); line-height: 1.65; margin: 0 0 18px; font-size: 13.5px; }
.about-equip-checks { display: grid; gap: 11px; }
.about-equip-checks span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); font-weight: 600; font-size: 14px; }
.about-equip-checks .tick { color: var(--orange); display: inline-flex; }
.about-equip-checks .tick .lic { width: 18px; height: 18px; }

/* Feature pills (compact) */
.eq-tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 11px; border: 1px solid rgba(255,255,255,.12); background: rgba(14,18,24,.8); backdrop-filter: blur(10px); font-weight: 700; font-size: 11px; line-height: 1.25; color: #fff; min-width: 0; }
.eq-tag .ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,101,8,.16); color: var(--orange); }
.eq-tag .ic .lic { width: 15px; height: 15px; }
.eq-tag:before { content: ""; position: absolute; top: 50%; width: 36px; height: 0; border-top: 1.5px dashed rgba(255,101,8,.55); }
.eq-tag:after  { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); transform: translateY(-50%); }
/* positions: left pills sit just off the rig's left edge, right pills at far edge */
.eq-tag.t-tl { left: 40%; top: 16%; }
.eq-tag.t-bl { left: 40%; top: 64%; }
.eq-tag.t-tr { right: 2%; top: 16%; }
.eq-tag.t-br { right: 2%; top: 64%; }
/* left pills: connector points right toward the rig */
.eq-tag.t-tl:before, .eq-tag.t-bl:before { left: 100%; }
.eq-tag.t-tl:after,  .eq-tag.t-bl:after  { left: calc(100% + 36px); }
/* right pills: connector points left toward the rig */
.eq-tag.t-tr:before, .eq-tag.t-br:before { right: 100%; }
.eq-tag.t-tr:after,  .eq-tag.t-br:after  { right: calc(100% + 36px); }

/* ---- PROJECTS (white section, carousel) ---- */
.about-projects { background: #ffffff; padding: 56px 0; }
.about-projects .ab-title { color: #0d1620; }
.about-projects .ab-title span { color: var(--orange); }
.about-projects-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.about-projects-head a { color: var(--orange); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.about-projects-carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.about-projects-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5);
  gap: 14px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none;
}
.about-projects-track::-webkit-scrollbar { display: none; }
.about-project { position: relative; height: 220px; overflow: hidden; border-radius: 12px; border: 1px solid #e6eaef; scroll-snap-align: start; }
.about-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.about-project:hover img { transform: scale(1.08); }
.about-project:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.05) 55%, transparent); }
.about-project .meta { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px; }
.about-project .meta h3 { font-size: 14px; margin: 0; color: #fff; }
.about-project .meta p { font-size: 12px; color: rgba(255,255,255,.8); margin: 3px 0 0; }
.about-project .plus { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--orange); font-size: 20px; font-weight: 700; color: #fff; }
.ab-proj-arrow {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d8dee6;
  background: #1a1b1f; color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: .25s ease;
}
.ab-proj-arrow:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---- PROCESS (white section) ---- */
.about-process { background: #ffffff; border-top: 1px solid #e6eaef; border-bottom: 1px solid #e6eaef; padding: 56px 0; text-align: center; }
.about-process .ab-wrap { text-align: center; }
.about-process .ab-title { color: #0d1620; }
.about-process .ab-title span { color: var(--orange); }
.about-process-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
/* dotted line connecting the icons across the top */
.about-process-grid:before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background-image: linear-gradient(90deg, rgba(255,101,8,.45) 0 7px, transparent 7px 15px);
  background-size: 15px 2px;
}
.about-process .step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.about-process .step .ic { width: 54px; height: 54px; display: inline-grid; place-items: center; color: var(--orange); background: #fff; border-radius: 50%; margin: 0 auto 16px; }
.about-process .step .ic .lic { width: 26px; height: 26px; }
.about-process .step-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.about-process .step .num { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11px; font-weight: 900; }
.about-process .step h3 { font-size: 14px; margin: 0; color: #0d1620; }
.about-process .step p { font-size: 12px; color: #6b7685; line-height: 1.55; margin: 8px 0 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .about-who, .about-why { grid-template-columns: 1fr; }
  /* stats: stay a 5-up row, scaled down (no stacking) */
  .about-stats { padding: 22px 16px; }
  .about-stats-grid .stat { padding: 6px 6px; }
  .about-stats-grid .ic .lic, .about-stats-grid .ic img { width: 26px; height: 26px; }
  .about-stats-grid strong { font-size: 20px; }
  .about-stats-grid span { font-size: 10.5px; }
  /* process: compact horizontal scroll row, no stacking */
  .about-process-grid { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 6px; }
  .about-process-grid::-webkit-scrollbar { display: none; }
  .about-process-grid:before { display: none; }
  .about-process .step { flex: 0 0 180px; scroll-snap-align: start; padding: 0; }
  .about-why-img, .about-who-img { min-height: 300px; }
  /* image goes on top when stacked */
  .about-who-img { order: -1; }
  .about-why-img { order: -1; }
  .about-projects-track { grid-auto-columns: calc((100% - 18px) / 2); }
  /* equipment: stack text then rig; hide the pills */
  .about-equip-inner { min-height: 0; }
  .about-equip-rig-img { position: static; width: 80%; max-width: 460px; max-height: none; display: block; margin: 20px auto 0; }
  .eq-tag { display: none; }
}

/* ---- MOBILE: center everything, no left alignment ---- */
@media (max-width: 768px) {
  /* Hero */
  .about-hero { min-height: 0; text-align: center; }
  .about-hero-grid { padding: 56px var(--pad); }
  .about-hero-text { max-width: 100%; margin: 0 auto; }
  .about-hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .about-hero .ab-lead { margin-left: auto; margin-right: auto; }
  .about-hero .ab-actions { justify-content: center; }
  .about-hero-stats { max-width: 100%; justify-items: center; }
  .about-hero-stats > div { border-left: 0; padding-left: 0; }

  /* Who We Are */
  .about-who-text { text-align: center; padding: 40px var(--pad); }
  .about-who-text .inner { max-width: 100%; }

  /* Why Choose Us */
  .about-why-text { text-align: center; padding: 40px var(--pad); }
  .about-why-text > p.desc { margin-left: auto; margin-right: auto; }
  .about-why-cards .card { text-align: center; }
  .about-why-cards .card-head { flex-direction: column; align-items: center; gap: 8px; }
  .about-why-cards .card h3 { align-self: center; }

  /* Equipment */
  .about-equip { text-align: center; }
  .about-equip-text { max-width: 100%; }
  .about-equip-checks span { justify-content: center; }
  .eq-tag { justify-content: center; }

  /* Projects + Process + headings */
  .about-projects-head { flex-direction: column; align-items: center; text-align: center; }
  .about-process .ab-wrap { text-align: center; }

  /* Footer */
}

@media (max-width: 640px) {
  .about-hero-stats, .about-mvw, .about-why-cards { grid-template-columns: 1fr; }
  .about-mvw .card { border-right: 0; border-bottom: 1px solid #e6eaef; }
  .about-mvw .card:last-child { border-bottom: 0; }
  /* stats: still a 5-up row on phones, very compact */
  .about-stats { padding: 18px 8px; }
  .about-stats-grid .stat { padding: 4px 3px; gap: 4px; }
  .about-stats-grid .ic .lic, .about-stats-grid .ic img { width: 20px; height: 20px; }
  .about-stats-grid strong { font-size: 15px; }
  .about-stats-grid span { font-size: 8.5px; line-height: 1.2; }
  .about-projects-track { grid-auto-columns: 86%; }
  .about-process .step { flex: 0 0 130px; }
  .about-process .step .ic { width: 46px; height: 46px; margin-bottom: 12px; }
  .about-process .step .ic .lic { width: 22px; height: 22px; }
  .about-process .step-head { flex-direction: column; gap: 6px; }
  .about-process .step h3 { font-size: 13px; }
  .about-process .step p { font-size: 11.5px; }
}


