@charset "UTF-8";

/* =========================================================
   IRON TAIL ENTERPRISE DESIGN SYSTEM
   ---------------------------------------------------------
   File purpose:
   This is the main stylesheet for the public website. It replaces
   older template CSS with one organized design system.

   Beginner note:
   CSS controls how HTML looks. Class names such as .site-header
   and .hero match the class="..." attributes in the HTML files.
   ========================================================= */

/* =========================================================
   1. DESIGN TOKENS
   ---------------------------------------------------------
   These variables define the site's colors, spacing, shadows,
   and layout widths. Change these first if you want to adjust
   the whole brand system.
   ========================================================= */
:root {
  /* Brand Colors: strict 3-color site palette */
  --bg-dark: #121212;
  --text-light: #ffffff;
  --brand-orange: #d97736;

  /* Typography Scale: 16px base */
  --font-hero: 4rem;      /* 64px */
  --font-h1: 2.5rem;      /* 40px */
  --font-h2: 2rem;        /* 32px */
  --font-body: 1.125rem;  /* 18px */
  --font-nav: 1rem;       /* 16px */

  /* Spacing System: 8px grid */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 2rem;       /* 32px */
  --space-xl: 4rem;       /* 64px */

  /* Layout + component tokens */
  --max-width: 1200px;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-dark: 0 26px 70px rgba(0, 0, 0, 0.48);
  --transition: 180ms ease;

  /* Compatibility aliases for older selectors in this file */
  --color-black: var(--bg-dark);
  --color-ink: var(--text-light);
  --color-panel: #1a1a1a;
  --color-panel-2: #242424;
  --color-white: var(--text-light);
  --color-paper: var(--bg-dark);
  --color-line: rgba(255, 255, 255, 0.18);
  --color-line-dark: rgba(255, 255, 255, 0.18);
  --color-muted: rgba(255, 255, 255, 0.72);
  --color-muted-dark: rgba(255, 255, 255, 0.72);
  --color-orange: var(--brand-orange);
  --color-orange-light: var(--brand-orange);
  --color-steel: rgba(255, 255, 255, 0.56);
}

/* =========================================================
   2. GLOBAL RESET
   ---------------------------------------------------------
   These rules remove inconsistent browser defaults and make
   layouts behave predictably across Edge, Chrome, Safari, etc.
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-light);
  background: var(--bg-dark);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: var(--font-body);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(242, 138, 53, 0.55); outline-offset: 3px; }

/* =========================================================
   3. REUSABLE LAYOUT HELPERS
   ---------------------------------------------------------
   .container keeps content from stretching too wide.
   .section gives pages consistent vertical spacing.
   .grid creates responsive card layouts.
   ========================================================= */
.container { width: min(var(--max-width), calc(100% - var(--space-xl))); margin-inline: auto; }
.section { padding: var(--space-xl) 0; }
.section-tight { padding: var(--space-xl) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eyebrow { color: var(--color-orange-light); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.lead { max-width: 760px; color: var(--color-muted); font-size: var(--font-body); }
.dark .lead, .theme-dark .lead { color: #d3dae0; }

/* =========================================================
   4. HEADER AND NAVIGATION
   ---------------------------------------------------------
   The desktop nav is a horizontal enterprise-style header.
   On smaller screens, JavaScript toggles .is-open on .site-nav.
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--color-line);
}
.nav-shell {
  width: min(1340px, calc(100% - var(--space-xl)));
  margin-inline: auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: none;
  display: grid;
  place-items: center;
  color: var(--brand-orange);
  background: transparent;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.brand b { color: var(--brand-orange); }
.site-nav { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: var(--font-nav);
  font-weight: 600;
  line-height: 1;
  padding: var(--space-md) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-orange); border-bottom-color: var(--brand-orange); }
.nav-cta { border: 2px solid var(--text-light) !important; padding: 12px 24px !important; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--brand-orange);
  background: transparent;
  color: var(--brand-orange);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.hamburger-icon { width: 28px; height: 28px; }
.hamburger-icon path { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; }
body.nav-open .hamburger-icon path { stroke: var(--text-light); }

/* =========================================================
   5. BUTTONS AND CARDS
   ---------------------------------------------------------
   These reusable pieces keep the site consistent across pages.
   ========================================================= */
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; margin-top: var(--space-lg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-weight: 600;
  font-size: var(--font-nav);
  line-height: 1;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-orange); color: var(--text-light); border: 2px solid var(--brand-orange); }
.btn-primary:hover { background: transparent; color: var(--brand-orange); border-color: var(--brand-orange); }
.btn-outline, .btn-outline-dark { background: transparent; color: var(--text-light); border: 2px solid var(--text-light); }
.btn-outline:hover, .btn-outline-dark:hover { color: var(--brand-orange); border-color: var(--brand-orange); }
.card {
  background: #fff;
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card.dark-card { background: linear-gradient(180deg, #1a2027, #11171d); color: #fff; border-color: var(--color-line); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--color-orange-light); background: rgba(200, 101, 28, 0.12); margin-bottom: 18px; }
.icon-box svg { width: 25px; height: 25px; stroke-width: 2.3; }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.25; }
.card p { margin: 0; color: var(--color-muted-dark); }
.dark-card p, .theme-dark .card p { color: #ccd5dd; }

/* =========================================================
   6. HERO SECTIONS
   ---------------------------------------------------------
   The homepage hero uses a background image with dark overlays.
   Interior page heroes use the same language at a smaller scale.
   ========================================================= */
.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8,10,12,.92), rgba(8,10,12,.55) 58%, rgba(8,10,12,.78)),
    linear-gradient(0deg, rgba(8,10,12,.8), rgba(8,10,12,.05)),
    url('../img/banner.jpg') center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--color-orange-light); }
.hero-content { max-width: 850px; padding: 94px 0 70px; }
.hero h1, .page-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  line-height: .9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  font-weight: 950;
}
.hero p { max-width: 720px; font-size: clamp(1.1rem, 1.55vw, 1.32rem); color: #e7edf2; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 42px; max-width: 760px; }
.metric-tile { border: 1px solid var(--color-line); background: rgba(255,255,255,.055); padding: 18px; border-radius: var(--radius-md); backdrop-filter: blur(8px); }
.metric-tile strong { display: block; color: var(--color-orange-light); font-size: 1.6rem; line-height: 1; }
.metric-tile span { display: block; margin-top: 8px; color: #d5dde5; font-size: .85rem; }
.page-hero {
  color: #fff;
  padding: 112px 0 74px;
  border-bottom: 4px solid var(--color-orange);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8,10,12,.94), rgba(8,10,12,.62) 58%, rgba(8,10,12,.84)),
    linear-gradient(0deg, rgba(8,10,12,.82), rgba(8,10,12,.18)),
    url('../img/banner.jpg') center / cover no-repeat;
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 5.2rem); }
.page-hero p { max-width: 820px; color: #d5dde5; font-size: 1.16rem; }

/* =========================================================
   7. HOMEPAGE SECTIONS
   ---------------------------------------------------------
   These blocks create the homepage's visual rhythm so it does
   not feel like unstyled text after the hero.
   ========================================================= */
.intro-band { background: var(--color-paper); border-bottom: 1px solid var(--color-line-dark); }
.intro-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; align-items: center; }
.intro-layout h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.intro-layout h2 span { color: var(--color-orange); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--color-line-dark); border-radius: var(--radius-md); overflow: hidden; background: white; box-shadow: var(--shadow-card); }
.stat-strip div { padding: 22px; border-right: 1px solid var(--color-line-dark); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { display: block; color: var(--color-orange); font-size: 1.55rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; max-width: 720px; font-size: clamp(2rem, 4vw, 4rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.theme-dark { background: var(--color-black); color: white; }
.process-rail { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; }
.process-step { background: linear-gradient(180deg, #171d24, #10151a); padding: 30px; }
.process-step strong { color: var(--color-orange-light); font-size: 2rem; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-dark); background: #111; color: white; }
.showcase img { height: 100%; min-height: 440px; width: 100%; object-fit: cover; opacity: .86; }
.showcase-copy { padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.showcase-copy h2 { font-size: clamp(2rem, 4vw, 4.2rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; margin: 0 0 18px; }
.cta-band { background: linear-gradient(135deg, var(--color-orange), #9d4814); color: white; padding: 56px 0; }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-layout h2 { margin: 0; max-width: 760px; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: -.04em; }

/* =========================================================
   8. CAROUSEL
   ---------------------------------------------------------
   JavaScript moves .carousel-track left and right by updating
   the active slide. Works without Bootstrap.
   ========================================================= */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); background: #fff; }
.carousel-track { display: flex; transition: transform 420ms ease; }
.carousel-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 420px; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-copy { padding: clamp(30px, 5vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.carousel-copy h3 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: -.04em; margin: 0 0 15px; }
.carousel-controls { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 10px; }
.carousel-controls button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--color-orange); color: white; cursor: pointer; font-size: 1.35rem; }

/* =========================================================
   9. INTERIOR PAGE COMPONENTS
   ---------------------------------------------------------
   These make subpages look like designed pages instead of raw text.
   ========================================================= */
.feature-list { display: grid; gap: 18px; }
.feature-row { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--color-line-dark); }
.feature-row svg { color: var(--color-orange); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.media-panel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-dark); background: var(--color-panel); }
.media-panel img { width: 100%; min-height: 360px; object-fit: cover; }
.matrix { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.matrix-item { padding: 24px; border-left: 4px solid var(--color-orange); background: #fff; box-shadow: var(--shadow-card); border-radius: var(--radius-sm); }
.timeline { border-left: 3px solid var(--color-orange); padding-left: 28px; display: grid; gap: 24px; }
.timeline-item { background: white; padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* =========================================================
   10. FORMS, FOOTER, AND UTILITY STATES
   --------------------------------------------------------- */
.form-grid { display: grid; gap: 14px; }
input, textarea, select { width: 100%; border: 1px solid var(--color-line-dark); border-radius: var(--radius-sm); padding: 13px 14px; background: #fff; color: var(--color-ink); }
textarea { min-height: 150px; resize: vertical; }
.form-status { display: none; padding: 14px; border-radius: var(--radius-sm); font-weight: 800; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e9f8ed; color: #116b2b; }
.form-status.error { background: #fff0e8; color: #933b07; }
.site-footer { background: #080a0c; color: white; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.site-footer a { color: #d9e1e8; text-decoration: none; display: block; margin: 8px 0; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: .9rem; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

/* =========================================================
   11. RESPONSIVE LAYOUT
   ---------------------------------------------------------
   These media queries reshape the site for tablets and phones.
   ========================================================= */
@media (max-width: 1100px) {
  .site-nav { gap: 11px; }
  .site-nav a { font-size: .66rem; letter-spacing: .045em; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 78px;
    left: auto;
    right: 16px;
    width: min(78vw, 280px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(8,10,12,.98);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    box-shadow: var(--shadow-dark);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 14px; border-bottom: 1px solid var(--color-line); font-size: .82rem; }
  .nav-cta { border-radius: 10px; text-align: center; margin-top: 8px; }
  .grid-2, .grid-3, .grid-4, .intro-layout, .split, .showcase, .carousel-slide, .footer-grid { grid-template-columns: 1fr; }
  .process-rail, .hero-metrics, .stat-strip, .matrix { grid-template-columns: 1fr; }
  .showcase img, .carousel-slide img { min-height: 270px; }
  .cta-layout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container, .nav-shell { width: min(100% - 24px, var(--max-width)); }
  .hero { min-height: 650px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .brand { font-size: 1rem; }
}

/* =========================================================
   12. REDUCED MOTION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* =========================================================
   13. STRICT IRON TAIL DESIGN SYSTEM OVERRIDES
   ---------------------------------------------------------
   These final rules enforce the requested 3-color palette,
   consistent vertical rhythm, and mobile hierarchy.
   ========================================================= */
h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
p, li { color: rgba(255,255,255,.78); }
main, .section, .section-tight, .intro-band { background: var(--bg-dark); color: var(--text-light); }
.card, .stat-strip, .matrix-item, .timeline-item, .carousel, input, textarea {
  background: #1a1a1a;
  color: var(--text-light);
  border-color: var(--color-line);
}
.card p, .carousel-copy p, .matrix-item p, .timeline-item p, .feature-row p { color: rgba(255,255,255,.72); }
.section-heading h2, .intro-layout h2, .carousel-copy h3, .showcase-copy h2, .cta-layout h2, .page-hero h1 { color: var(--text-light); }
.hero h1 { font-size: var(--font-hero); line-height: .95; }
.hero p, .page-hero p { font-size: var(--font-body); color: rgba(255,255,255,.82); }
.stat-strip div { border-color: var(--color-line); }
.showcase, .process-step, .carousel-copy { background: #1a1a1a; }
.cta-band { background: var(--brand-orange); color: var(--text-light); padding: var(--space-xl) 0; }
.site-footer { background: var(--bg-dark); border-top: 1px solid var(--color-line); }

@media (max-width: 1200px) {
  .site-nav ul { gap: var(--space-md); }
  .site-nav a { font-size: .875rem; }
}
@media (max-width: 920px) {
  :root { --font-hero: 2.5rem; }
  .nav-shell {
    width: 100%;
    min-height: 72px;
    padding: var(--space-md) var(--space-lg);
  }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    position: fixed;
    top: 72px;
    left: auto;
    right: var(--space-md);
    width: min(78vw, 280px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    background: var(--bg-dark);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    box-shadow: var(--shadow-dark);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav li { list-style: none; }
  .site-nav a { display: block; padding: var(--space-md); border-bottom: 1px solid var(--color-line); font-size: var(--font-nav); text-align: right; }
  .nav-cta { text-align: center; margin-top: var(--space-sm); }
  .section, .section-tight { padding: var(--space-xl) 0; }
}
@media (max-width: 560px) {
  .container { width: min(100% - var(--space-lg), var(--max-width)); }
  .hero { min-height: 600px; }
  .hero-content { padding: var(--space-xl) 0; }
  .brand { font-size: 1rem; gap: var(--space-sm); }
  .brand-mark { width: 32px; height: 32px; }
}

/* Final palette lock: no beige/off-white panels. */
.card, .stat-strip, .matrix-item, .timeline-item, .carousel, input, textarea,
.showcase, .process-step, .carousel-copy, .metric-tile {
  background: var(--bg-dark);
}
.form-status.success, .form-status.error {
  background: var(--bg-dark);
  color: var(--text-light);
  border: 2px solid var(--brand-orange);
}
input, textarea, select { color: var(--text-light); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.6); }


/* =========================================================
   IRON TAIL 8: NETWORK / OPERATING PILLARS
   ---------------------------------------------------------
   These blocks let Iron Tail act as the front-door brand while
   still separating engineering, fabrication, and electrical work.
   Add a fourth .network-card later if a new partner joins.
   ========================================================= */
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.network-card { padding: 28px; border-radius: var(--radius-md); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-dark); }
.network-card .icon-box { margin-bottom: 18px; }
.network-card h3 { margin-top: 0; font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.02em; }
.network-card p { color: rgba(255,255,255,.74); }
.partner-tag { display: inline-flex; align-items: center; margin-top: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,107,31,.16); border: 1px solid rgba(255,107,31,.34); color: var(--color-orange-light); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.compliance-note { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--color-orange); border-radius: var(--radius-sm); background: rgba(255,255,255,.05); color: rgba(255,255,255,.76); }
@media (max-width: 900px) { .network-grid { grid-template-columns: 1fr; } }


/* =========================================================
   IRON TAIL 9: CONTENT STRATEGY UPDATES
   ========================================================= */
.site-nav ul { gap: 1.45rem; }
.home-service-bg {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(18,18,18,.96), rgba(18,18,18,.78), rgba(18,18,18,.94)),
    url('../img/section-image-1.png') center / cover no-repeat;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.service-overlay-card {
  max-width: 980px;
  margin-left: max(calc((100% - var(--max-width)) / 2), 0px);
  padding: clamp(32px, 5vw, 68px);
  background: rgba(18,18,18,.78);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(4px);
}
.service-overlay-card h2 { margin: 12px 0 18px; font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: .95; text-transform: uppercase; letter-spacing: -.05em; }
.mini-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.mini-proof-grid span { border: 1px solid var(--color-line); padding: 12px; text-transform: uppercase; font-size: .78rem; font-weight: 900; letter-spacing: .06em; color: var(--text-light); background: rgba(255,255,255,.04); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.capability-card { border: 1px solid var(--color-line); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); padding: 0; box-shadow: var(--shadow-card); }
.capability-card summary { cursor: pointer; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 24px; list-style: none; }
.capability-card summary::-webkit-details-marker { display: none; }
.capability-card summary span { color: var(--brand-orange); font-weight: 900; font-size: 1.25rem; }
.capability-card h3 { margin: 0; text-transform: uppercase; letter-spacing: -.02em; }
.capability-card p, .capability-card ul { margin: 0 24px 18px 94px; color: rgba(255,255,255,.74); }
.capability-card li { margin: 6px 0; }
.carousel-small { max-width: 920px; margin-inline: auto; }
.carousel-small .carousel-slide { min-height: 300px; grid-template-columns: .9fr 1.1fr; }
.carousel-small .carousel-copy { padding: clamp(24px, 4vw, 42px); }
.carousel-small .carousel-copy h3 { font-size: clamp(1.6rem, 2.3vw, 2.5rem); }
.facility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.facility-card { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; border: 1px solid var(--color-line); background: rgba(255,255,255,.035); padding: 14px; box-shadow: var(--shadow-card); }
.facility-card img { width: 100%; height: 118px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.facility-card h3 { margin: 0 0 6px; text-transform: uppercase; }
.facility-card p { margin: 0; font-size: .98rem; color: rgba(255,255,255,.72); }
.quality-stack { display: grid; gap: 28px; }
.quality-band { padding: clamp(30px, 5vw, 62px); border: 1px solid var(--color-line); background: linear-gradient(135deg, rgba(217,119,54,.18), rgba(255,255,255,.035)); box-shadow: var(--shadow-dark); }
.quality-band h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 4rem); line-height: .95; text-transform: uppercase; }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.workflow-card { border: 1px solid var(--color-line); background: rgba(255,255,255,.035); box-shadow: var(--shadow-card); overflow: hidden; }
.workflow-card img { width: 100%; height: 210px; object-fit: cover; border-bottom: 1px solid var(--color-line); }
.workflow-copy { padding: 24px; }
.workflow-copy h3 { margin: 8px 0 10px; text-transform: uppercase; font-size: 1.35rem; }
.workflow-copy dl { display: grid; gap: 6px; margin: 18px 0 0; }
.workflow-copy dt { color: var(--brand-orange); font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
.workflow-copy dd { margin: 0 0 10px; color: rgba(255,255,255,.76); }
.network-grid-vertical { grid-template-columns: 1fr; }
select { width: 100%; border: 1px solid var(--color-line-dark); border-radius: var(--radius-sm); padding: 13px 14px; background: var(--bg-dark); color: var(--text-light); }
label { color: rgba(255,255,255,.82); font-weight: 700; display: grid; gap: 7px; }
@media (max-width: 920px) {
  .capability-grid, .facility-grid, .workflow-grid { grid-template-columns: 1fr; }
  .facility-card { grid-template-columns: 1fr; }
  .facility-card img { height: 180px; }
  .mini-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-overlay-card { margin-inline: auto; }
  .carousel-small .carousel-slide { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mini-proof-grid { grid-template-columns: 1fr; }
  .capability-card p, .capability-card ul { margin-left: 24px; }
  .capability-card summary { grid-template-columns: 1fr; }
}

/* =========================================================
   IRON TAIL 9.1: COPY + INTERACTION REFINEMENTS
   ---------------------------------------------------------
   These overrides support the 9.1 content update: cleaner
   homepage positioning, customer review carousel, one-open
   accordions, and a six-step process row on desktop.
   ========================================================= */
.hero-metrics { display: none; }
.network-card .partner-tag { display: none; }
.capability-card[open] { border-color: rgba(217,119,54,.72); }
.capability-card[open] summary { border-bottom: 1px solid var(--color-line); }
.capability-card summary h3 { font-size: clamp(1rem, 1.5vw, 1.25rem); }
.review-carousel { background: transparent; border: 1px solid var(--color-line); }
.review-carousel .carousel-slide { min-height: 260px; display: block; }
.review-card { min-height: 260px; display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 70px); background: linear-gradient(135deg, rgba(217,119,54,.14), rgba(255,255,255,.035)); }
.review-card p { max-width: 900px; margin: 12px 0 0; color: rgba(255,255,255,.86); font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.45; }
.workflow-grid-six { grid-template-columns: repeat(6, minmax(185px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 10px; }
.workflow-grid-six .workflow-card { min-width: 185px; }
.workflow-grid-six .workflow-card img { height: 135px; }
.workflow-grid-six .workflow-copy { padding: 18px; }
.workflow-grid-six .workflow-copy h3 { font-size: 1.05rem; }
.workflow-grid-six .workflow-copy p, .workflow-grid-six .workflow-copy dd { font-size: .92rem; }
@media (max-width: 1100px) {
  .workflow-grid-six { grid-template-columns: repeat(6, minmax(220px, 1fr)); }
}
@media (max-width: 920px) {
  .workflow-grid-six { grid-template-columns: 1fr; overflow-x: visible; }
  .workflow-grid-six .workflow-card { min-width: 0; }
  .workflow-grid-six .workflow-card img { height: 210px; }
}
