/* =====================================================================
   SmarDac — Industries page
   Scoped with the `in2-` prefix so nothing here leaks into other pages.
   Same design language as the about and contact pages; the shared
   primitives are repeated because those files load on their pages only.
   ===================================================================== */

:root {
  --in2-p: #0092ff;
  --in2-p2: #3fd0ff;
  --in2-navy: #091d3e;
  --in2-navy3: #10305f;
  --in2-ink: #1f314f;
  --in2-muted: #6b7a90;
  --in2-line: #e6ecf5;
  --in2-head: 'Sora', 'IBM Plex Sans', sans-serif;
  --in2-body: 'IBM Plex Sans', 'Roboto', sans-serif;
  --in2-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The theme floats its transparent header only over its own .page-title
   block; this hero is not one, so it takes the same treatment here. */
.header.header-transparent { position: absolute; top: 0; left: 0; right: 0; width: 100%; }

.in2-section { position: relative; overflow: hidden; }
.in2-container { width: 100%; padding: 0 var(--site-gutter, clamp(20px, 5vw, 96px)); }

/* ---------- Typography helpers ---------- */
.in2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--in2-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--in2-p); margin-bottom: 18px;
}
.in2-eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--in2-p), var(--in2-p2)); border-radius: 2px; }
.in2-h2 {
  font: 700 clamp(28px, 3.6vw, 44px)/1.15 var(--in2-head); text-transform: none;
  color: var(--in2-ink); letter-spacing: -.02em; margin: 0 0 16px;
}
.in2-lead { font: 400 17px/1.7 var(--in2-body); color: var(--in2-muted); margin: 0; }
.in2-grad { background: linear-gradient(90deg, var(--in2-p) 0%, var(--in2-p2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.in2-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent;
  font: 600 15px/1 var(--in2-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--in2-ease), box-shadow .35s var(--in2-ease), background .35s, color .35s, border-color .35s;
}
.in2-btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--in2-ease); }
.in2-btn:hover svg { transform: translateX(4px); }
.in2-btn:hover { transform: translateY(-2px); text-decoration: none; }
.in2-btn:focus-visible { outline: 2px solid var(--in2-p2); outline-offset: 3px; }
.in2-btn--primary { color: #fff; background: linear-gradient(135deg, #0a84ff 0%, #0092ff 45%, #22c1ff 100%); box-shadow: 0 10px 30px -10px rgba(0, 146, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.in2-btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--in2-ease);
}
.in2-btn--primary:hover { color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 146, 255, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.in2-btn--primary:hover::after { transform: translateX(120%); }
.in2-btn--ghost { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.in2-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.in2-btn--light { color: var(--in2-navy); background: #fff; }
.in2-btn--light:hover { color: var(--in2-navy); box-shadow: 0 16px 30px -14px rgba(0,0,0,.35); }
.in2-btn--sm { height: 46px; padding: 0 20px; font-size: 14px; border-radius: 12px; }

.in2-link { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--in2-body); color: var(--in2-p); text-decoration: none; position: relative; }
.in2-link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--in2-ease); }
.in2-link:hover { color: var(--in2-p); text-decoration: none; }
.in2-link:hover::after { transform: scaleX(1); transform-origin: left; }
.in2-link svg { width: 16px; height: 16px; transition: transform .35s var(--in2-ease); }
.in2-link:hover svg { transform: translateX(4px); }

/* =====================================================================
   HERO — copy on the left, the lit refinery on the right of the photo
   ===================================================================== */
.in2-hero {
  position: relative; min-height: clamp(680px, 92vh, 960px); padding: 220px 0 180px;
  display: flex; align-items: center; color: #fff; background: var(--in2-navy);
}
.in2-hero__bg { position: absolute; inset: 0; z-index: 0; }
.in2-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; display: block; }
.in2-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 15, 36, .94) 0%, rgba(9, 29, 62, .82) 32%, rgba(9, 29, 62, .40) 62%, rgba(9, 29, 62, .20) 100%),
    linear-gradient(180deg, rgba(5, 15, 36, .55) 0%, rgba(5, 15, 36, 0) 28%, rgba(5, 15, 36, 0) 60%, rgba(5, 15, 36, .92) 100%);
}
.in2-hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
}
.in2-hero__glow { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; }
.in2-hero__glow--a { width: 620px; height: 620px; left: -220px; top: 0; background: radial-gradient(circle, rgba(10,92,255,.34), rgba(10,92,255,.12) 45%, transparent 70%); }
.in2-hero__glow--b { width: 480px; height: 480px; right: -160px; bottom: -20%; background: radial-gradient(circle, rgba(18,184,255,.22), rgba(18,184,255,.08) 45%, transparent 70%); }

.in2-hero__inner { position: relative; z-index: 2; max-width: 720px; }

/* Breadcrumb: pinned just under the 135px transparent header, not part
   of the vertically centred copy block. */
.in2-hero__top { position: absolute; left: 0; right: 0; top: 156px; z-index: 3; opacity: 0; animation: in2Up .8s var(--in2-ease) .05s both; }
.in2-crumb {
  display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(9, 29, 62, .38);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font: 600 11.5px/1 var(--in2-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.in2-crumb a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); text-decoration: none; transition: color .3s; }
.in2-crumb a svg { width: 15px; height: 15px; flex: none; opacity: .9; }
.in2-crumb a:hover { color: #fff; text-decoration: none; }
.in2-crumb i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }
.in2-crumb [aria-current] { color: var(--in2-p2); }

.in2-hero .in2-eyebrow { color: var(--in2-p2); }
.in2-hero__title {
  font: 800 clamp(36px, 5vw, 68px)/1.06 var(--in2-head); letter-spacing: -.03em; color: #fff;
  margin: 0 0 22px; text-transform: none;
}
.in2-hero__title .in2-grad { background: linear-gradient(90deg, #4fd8ff, #0092ff 60%, #7ee0ff); -webkit-background-clip: text; background-clip: text; }
.in2-hero__lead { font: 400 clamp(16px, 1.25vw, 19px)/1.7 var(--in2-body); color: rgba(255,255,255,.78); max-width: 580px; margin: 0 0 34px; }
.in2-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.in2-facts { display: flex; flex-wrap: wrap; gap: 26px 0; margin: 52px 0 0; padding: 26px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.in2-fact { padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(255,255,255,.14); }
.in2-fact:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.in2-fact strong { display: block; font: 800 30px/1 var(--in2-head); letter-spacing: -.02em; background: linear-gradient(90deg, #fff, #9fe3ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.in2-fact span { display: block; margin-top: 8px; font: 500 13px/1.3 var(--in2-body); color: rgba(255,255,255,.62); }

/* Photo credit: the hero image is CC BY-SA 4.0, which requires a visible
   attribution. Kept small and low-contrast so it never fights the copy. */
.in2-credit {
  position: absolute; right: var(--site-gutter, 24px); bottom: 14px; z-index: 4;
  font: 400 10.5px/1 var(--in2-body); color: rgba(255,255,255,.34); letter-spacing: .02em;
}
.in2-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.in2-credit a:hover { color: rgba(255,255,255,.7); text-decoration: none; }

/* Entrance */
.in2-hero__inner > * { opacity: 0; transform: translateY(18px); animation: in2Up .8s var(--in2-ease) both; }
.in2-hero__inner > :nth-child(1) { animation-delay: .15s; }
.in2-hero__inner > :nth-child(2) { animation-delay: .25s; }
.in2-hero__inner > :nth-child(3) { animation-delay: .37s; }
.in2-hero__inner > :nth-child(4) { animation-delay: .5s; }
.in2-hero__inner > :nth-child(5) { animation-delay: .64s; }
.in2-hero__bg img { transform: scale(1.06); animation: in2Settle 6s cubic-bezier(.25, .1, .25, 1) forwards; }

/* =====================================================================
   SECTOR CARDS — the three industries, large photo tiles
   ===================================================================== */
.in2-sectors { padding: 110px 0; background: #fff; }
.in2-sectors__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.in2-sectors__head .in2-eyebrow::before { display: none; }
.in2-sectors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.in2-sector {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid var(--in2-line); text-decoration: none; isolation: isolate;
  transition: transform .5s var(--in2-ease), box-shadow .5s var(--in2-ease), border-color .4s ease;
}
.in2-sector::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(135deg, var(--in2-p2) 0%, var(--in2-p) 45%, rgba(0,146,255,0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .45s ease;
}
.in2-sectors__grid .in2-sector:hover { transform: translateY(-8px); border-color: transparent; text-decoration: none; box-shadow: 0 34px 66px -30px rgba(0, 146, 255, .45), 0 8px 20px -12px rgba(9, 29, 62, .18); }
.in2-sectors__grid .in2-sector:hover::before { opacity: 1; }
.in2-sector:focus-visible { outline: 2px solid var(--in2-p); outline-offset: 4px; }

/* The media box must not clip, or the icon badge that overlaps its lower
   edge gets cut in half; the inner frame does the clipping instead. */
.in2-sector__media { position: relative; aspect-ratio: 16 / 10; background: #eef3f9; }
.in2-sector__frame { position: absolute; inset: 0; display: block; overflow: hidden; }
.in2-sector__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--in2-ease); }
.in2-sectors__grid .in2-sector:hover .in2-sector__frame img { transform: scale(1.07); }
.in2-sector__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,29,62,.10) 0%, rgba(9,29,62,0) 40%, rgba(9,29,62,.72) 100%);
}
.in2-sector__num {
  position: absolute; z-index: 2; top: 16px; left: 18px;
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  font: 800 11px var(--in2-head); letter-spacing: .12em; color: #fff;
  background: rgba(9, 29, 62, .5); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.in2-sector__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.in2-sector__body h3 { font: 700 21px var(--in2-head); text-transform: none; color: var(--in2-ink); margin: 0 0 10px; transition: color .35s; }
.in2-sectors__grid .in2-sector:hover .in2-sector__body h3 { color: var(--in2-p); }
.in2-sector__body > p { font: 400 14.5px/1.7 var(--in2-body); color: var(--in2-muted); margin: 0 0 18px; }
.in2-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.in2-tags li { font: 500 12px/1 var(--in2-body); color: #4a5b74; background: #f2f6fb; border: 1px solid var(--in2-line); border-radius: 8px; padding: 7px 10px; }
.in2-sector__body .in2-link { margin-top: auto; align-self: flex-start; }
.in2-sectors__grid .in2-sector:hover .in2-link::after { transform: scaleX(1); transform-origin: left; }
.in2-sectors__grid .in2-sector:hover .in2-link svg { transform: translateX(5px); }

/* =====================================================================
   CAPABILITIES — what every sector gets
   ===================================================================== */
.in2-caps { padding: 0 0 110px; background: #fff; }
.in2-caps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.in2-cap {
  position: relative; padding: 28px 24px; border-radius: 20px; background: linear-gradient(180deg, #f6f9fd, #fff);
  border: 1px solid var(--in2-line); overflow: hidden;
  transition: transform .45s var(--in2-ease), box-shadow .45s var(--in2-ease), border-color .3s;
}
.in2-cap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--in2-p), var(--in2-p2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--in2-ease); }
.in2-caps__grid .in2-cap:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(0, 146, 255, .45); border-color: rgba(0,146,255,.3); }
.in2-caps__grid .in2-cap:hover::before { transform: scaleX(1); }
.in2-cap__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, #eef6ff, #dff1ff); color: var(--in2-p); margin-bottom: 16px; transition: transform .45s var(--in2-ease); }
.in2-cap__icon svg { width: 24px; height: 24px; }
.in2-caps__grid .in2-cap:hover .in2-cap__icon { transform: rotate(-6deg) scale(1.06); }
.in2-cap h4 { font: 700 17px var(--in2-head); text-transform: none; color: var(--in2-ink); margin: 0 0 8px; }
.in2-cap p { font: 400 14px/1.65 var(--in2-body); color: var(--in2-muted); margin: 0; }

/* =====================================================================
   CTA
   ===================================================================== */
.in2-cta { padding: 0 0 110px; background: #fff; }
.in2-cta__box { position: relative; border-radius: 32px; padding: 64px 60px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0a1f45 0%, #0b2a63 45%, #0a6bd8 100%); box-shadow: 0 60px 100px -50px rgba(0,146,255,.6); }
.in2-cta__box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 65%); }
.in2-cta__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; pointer-events: none; animation: in2Float 10s ease-in-out infinite; }
.in2-cta__orb--a { width: 380px; height: 380px; right: -80px; top: -140px; background: #22c1ff; }
.in2-cta__orb--b { width: 260px; height: 260px; left: 30%; bottom: -160px; background: #0a84ff; animation-delay: -4s; }
.in2-cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.in2-cta h2 { font: 800 clamp(28px, 3.4vw, 44px)/1.15 var(--in2-head); text-transform: none; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; }
.in2-cta p { font: 400 16px/1.7 var(--in2-body); color: rgba(255,255,255,.75); margin: 0; }
.in2-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* =====================================================================
   Scroll reveal + keyframes
   ===================================================================== */
.in2-io { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--in2-ease), transform .9s var(--in2-ease); transition-delay: var(--d, 0ms); }
.in2-io.in { opacity: 1; transform: none; }

@keyframes in2Up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes in2Settle { to { transform: scale(1); } }
@keyframes in2Float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1199px) {
  .in2-caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .in2-hero { padding: 170px 0 140px; min-height: 0; }
  .in2-hero__top { top: 100px; }
  .in2-hero__bg img { object-position: 64% 50%; }
  .in2-sectors { padding: 80px 0; }
  .in2-sectors__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .in2-sector__media { aspect-ratio: 21 / 9; }
  .in2-caps { padding-bottom: 80px; }
  .in2-cta { padding-bottom: 80px; }
  .in2-cta__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .in2-cta__actions { justify-content: flex-start; }
  .in2-cta__box { padding: 50px 34px; }
}
@media (max-width: 767px) {
  /* The 80px mobile header is opaque and sits over the hero. */
  .in2-hero { padding: 150px 0 120px; display: block; }
  .in2-hero__top { top: 96px; }
  .in2-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(5, 15, 36, .92) 0%, rgba(9, 29, 62, .78) 45%, rgba(5, 15, 36, .94) 100%),
      linear-gradient(90deg, rgba(5, 15, 36, .55) 0%, rgba(5, 15, 36, .15) 100%);
  }
  .in2-hero__bg img { object-position: 68% 50%; }
  .in2-hero__glow--a { width: 340px; height: 340px; left: -160px; }
  .in2-hero__glow--b { width: 300px; height: 300px; right: -140px; }
  .in2-hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .in2-hero__lead { font-size: 15.5px; margin-bottom: 26px; }
  .in2-hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .in2-hero__actions .in2-btn { width: 100%; justify-content: center; height: 52px; }
  .in2-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 36px; padding-top: 22px; }
  .in2-fact { padding-right: 12px; margin-right: 12px; }
  .in2-fact strong { font-size: 24px; }
  .in2-fact span { font-size: 12px; }
  .in2-sectors { padding: 64px 0; }
  .in2-sectors__head { margin-bottom: 36px; }
  .in2-sector__body { padding: 22px 20px; }
  .in2-caps__grid { grid-template-columns: minmax(0, 1fr); }
  .in2-cta__box { padding: 40px 24px; border-radius: 24px; }
  .in2-credit { right: 20px; bottom: 10px; font-size: 10px; }
}
@media (max-width: 575px) {
  .in2-hero { padding: 140px 0 110px; }
  .in2-eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
  .in2-crumb { font-size: 10.5px; height: 34px; }
  .in2-h2 { font-size: clamp(24px, 6.6vw, 30px); }
  .in2-cta__actions .in2-btn { width: 100%; justify-content: center; }
}
@media (max-width: 359px) {
  .in2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .in2-fact:nth-child(2) { border-right: 0; }
  .in2-btn { padding: 0 18px; font-size: 14px; }
}

@media (hover: none) {
  .in2-sector:hover, .in2-cap:hover, .in2-btn:hover { transform: none; }
  .in2-sector:hover .in2-sector__media img { transform: none; }
  .in2-btn, .in2-link, .in2-sector { -webkit-tap-highlight-color: rgba(0, 146, 255, .18); }
}
