/*
 * Accueil TOREG Industry — direction éditoriale premium.
 * Cette couche est chargée uniquement sur l'accueil et conserve le contenu
 * administrable ainsi que les composants partagés de la vitrine.
 */

:root {
  --home-ink: #08233d;
  --home-navy: #0b3154;
  --home-blue: #166fa5;
  --home-green: #29a85a;
  --home-mint: #79dfa0;
  --home-cloud: #f2f7fa;
  --home-line: rgba(8, 35, 61, 0.12);
  --home-shadow: 0 26px 70px rgba(8, 35, 61, 0.14);
}

main.home-page {
  background:
    radial-gradient(circle at 10% 34%, rgba(41, 168, 90, 0.08), transparent 24rem),
    linear-gradient(180deg, #edf4f7 0, #f7fafb 34rem, #edf4f7 100%);
}

/* En-tête compact sur l'accueil : la photographie et le message arrivent vite. */
.public-home .header.container {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 13px max(24px, calc((100vw - 1220px) / 2));
  box-sizing: border-box;
  border-bottom: 1px solid rgba(8, 35, 61, .09);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 28px rgba(8,35,61,.06);
  backdrop-filter: blur(16px);
}

.public-home .header .header-top {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
}

.public-home .header .logo {
  width: 230px;
  max-width: 230px;
  margin: 0 !important;
}

.public-home .header .main-nav {
  display: flex !important;
  flex: 1 1 auto;
  justify-content: flex-end;
  width: auto;
  margin: 0;
  gap: 3px;
}

.public-home .header .main-nav a {
  padding: 10px 9px;
  border-radius: 9px;
  color: #23445e;
  font-size: .78rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.public-home .header .main-nav a:hover {
  color: #167c43;
  background: #eef8f2;
  transform: translateY(-1px);
}

.public-home .header .main-nav a.active {
  color: #167c43;
  background: #eaf7ef;
}

.public-home .header .main-nav a.active::after {
  left: 10px;
  right: 10px;
  bottom: 2px;
}

/* Hero — photographie plein écran, lecture immédiate et preuve opérationnelle. */
.home-page .hero-slider {
  height: clamp(570px, 76vh, 790px);
  min-height: 570px;
  background: var(--home-ink);
  isolation: isolate;
  margin: 0;
  padding: 0;
  border-radius: 0;
  text-align: inherit;
}

.home-page .hero-slide {
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.3s cubic-bezier(.2,.7,.2,1);
}

.home-page .hero-slide.active {
  transform: scale(1);
}

.home-page .hero-slide img {
  object-position: center;
  filter: saturate(.92) contrast(1.04);
  transform: scale(1.02);
}

.home-page .hero-slide.active img {
  animation: home-hero-breathe 9s ease-out both;
}

.home-page .hero-slide[data-index="1"] img,
.home-page .hero-slide[data-index="2"] img {
  object-position: 64% center;
}

.home-page .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(4, 24, 42, .96) 0%, rgba(5, 31, 53, .88) 31%, rgba(6, 37, 60, .47) 62%, rgba(4, 24, 42, .12) 100%),
    linear-gradient(0deg, rgba(5, 28, 47, .65), transparent 54%);
}

.home-page .hero-slide-content {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 54px max(72px, calc((100vw - 1220px) / 2));
}

.home-page .hero-copy {
  width: min(700px, 67vw);
  margin-bottom: 76px;
}

.home-page .hero-kicker,
.home-page .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-green);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-page .hero-kicker {
  color: #d8f5e1;
  margin-bottom: 24px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(10, 50, 77, .46);
  backdrop-filter: blur(12px);
}

.home-page .hero-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63df91;
  box-shadow: 0 0 0 5px rgba(99, 223, 145, .13);
  animation: home-signal 2.2s ease-in-out infinite;
}

.home-page .hero-slide-content h1 {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
  text-align: left;
  text-wrap: balance;
  text-shadow: 0 7px 30px rgba(0, 0, 0, .22);
}

.home-page .hero-slide-content h1 span {
  color: #73e59d;
  background: linear-gradient(90deg, #75e6a0, #b7f47c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .hero-slide-content p {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  text-align: left;
}

.home-page .hero-btn-group {
  justify-content: flex-start;
}

.home-page .hero-btn-primary,
.home-page .hero-btn-secondary {
  min-height: 52px;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 14px 24px;
}

.home-page .hero-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #21a957, #40c66d);
  box-shadow: 0 16px 38px rgba(19, 164, 78, .28);
}

.home-page .hero-btn-secondary {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.09);
}

.home-page .hero-btn-primary svg,
.home-page .hero-btn-secondary svg,
.home-page .text-link svg {
  width: 18px;
  height: 18px;
  transition: transform .25s ease;
}

.home-page .hero-btn-primary:hover svg,
.home-page .hero-btn-secondary:hover svg,
.home-page .text-link:hover svg {
  transform: translateX(4px);
}

.home-page .hero-proof {
  position: absolute;
  left: max(72px, calc((100vw - 1220px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.74);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-page .hero-proof span {
  color: #7be4a0;
  font-weight: 900;
}

.home-page .hero-proof strong {
  font-size: .7rem;
}

.home-page .hero-proof i {
  width: 44px;
  height: 1px;
  background: rgba(255,255,255,.27);
}

.home-page .hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.home-page .hero-dots {
  left: auto;
  right: max(28px, calc((100vw - 1220px) / 2));
  bottom: 32px;
  transform: none;
}

.home-page .hero-dot {
  width: 30px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.36);
}

.home-page .hero-dot.active {
  background: #65dc90;
  transform: none;
}

.home-page .stats-bar {
  max-width: 1140px;
  margin-top: -34px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  box-shadow: var(--home-shadow);
}

/* Présentation éditoriale. */
.home-page .about-section--editorial {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  max-width: 1220px;
  gap: 0;
  padding: 108px 24px 70px;
  align-items: stretch;
}

.home-page .about-visual,
.home-page .operation-photo,
.home-page .operation-flow {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}

.home-page .about-visual.visible,
.home-page .operation-photo.visible,
.home-page .operation-flow.visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .about-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  background: var(--home-ink);
  box-shadow: var(--home-shadow);
}

.home-page .about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}

.home-page .about-visual:hover img {
  transform: scale(1.035);
}

.home-page .about-visual::after,
.home-page .operation-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,27,47,.86), transparent 58%);
  pointer-events: none;
}

.home-page .about-visual-label {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}

.home-page .about-visual-label span,
.home-page .operation-photo-copy > span {
  color: #7be4a0;
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-page .about-visual-label strong {
  font-size: 1.2rem;
}

.home-page .about-section--editorial .about-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  box-sizing: border-box;
  padding: clamp(38px, 5vw, 70px);
  border: 0;
  border-radius: 0 28px 28px 0;
  box-shadow: var(--home-shadow);
}

.home-page .about-card::before {
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(41,168,90,.12), transparent 67%);
}

.home-page .about-card h2,
.home-page .operations-heading h2 {
  color: var(--home-ink);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -.045em;
}

.home-page .about-card h2 {
  margin: 14px 0 24px;
}

.home-page .about-copy p {
  color: #42566a;
  font-size: 1rem;
  line-height: 1.72;
}

.home-page .text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  margin-top: 14px;
  color: var(--home-navy);
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
}

/* Galerie métier inspirée du rythme visuel de la référence, contenu original. */
.home-page .operations-showcase {
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  background: transparent;
}

.home-page .operations-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}

.home-page .operations-heading h2 {
  max-width: 780px;
  margin: 13px 0 0;
  border: 0;
  padding: 0;
}

.home-page .operations-heading > p {
  margin: 0 0 4px;
  color: #566b7d;
  font-size: 1rem;
  line-height: 1.65;
}

.home-page .operations-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 250px 250px;
  gap: 18px;
}

.home-page .operation-photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--home-ink);
  box-shadow: 0 18px 45px rgba(8,35,61,.12);
}

.home-page .operation-photo--primary {
  grid-column: span 7;
  grid-row: 1 / span 2;
}

.home-page .operation-photo--secondary {
  grid-column: span 5;
}

.home-page .operation-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.home-page .operation-photo--primary img {
  object-position: 45% center;
}

.home-page .operation-photo--secondary img {
  object-position: 60% center;
}

.home-page .operation-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.home-page .operation-photo-copy {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: #fff;
}

.home-page .operation-photo-copy h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.home-page .operation-photo-copy p {
  max-width: 540px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  font-size: .93rem;
  line-height: 1.5;
}

.home-page .operation-flow {
  grid-column: span 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  list-style: none;
  background: rgba(255,255,255,.12);
  box-shadow: 0 18px 45px rgba(8,35,61,.12);
}

.home-page .operation-flow li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 21px 18px;
  background: var(--home-ink);
  transition: background .25s ease;
}

.home-page .operation-flow li:hover {
  background: var(--home-navy);
}

.home-page .operation-flow li > span {
  color: #67dc92;
  font-size: .72rem;
  font-weight: 900;
}

.home-page .operation-flow strong,
.home-page .operation-flow small {
  display: block;
}

.home-page .operation-flow strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: .94rem;
}

.home-page .operation-flow small {
  color: rgba(255,255,255,.62);
  font-size: .76rem;
  line-height: 1.35;
}

/* Explorateur équipements : une seule scène à la fois, navigation instantanée. */
.home-page .equipment-showcase {
  position: relative;
  max-width: 1220px;
  margin: 0 auto 28px;
  padding: clamp(54px, 7vw, 84px) clamp(24px, 5vw, 64px);
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 93% 7%, rgba(72, 210, 125, .22), transparent 24rem),
    radial-gradient(circle at 6% 92%, rgba(37, 125, 178, .22), transparent 25rem),
    linear-gradient(145deg, #061c30, #0a3150 72%, #0b3f4a);
  box-shadow: 0 30px 75px rgba(7, 31, 52, .22);
}

.home-page .equipment-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.home-page .equipment-heading,
.home-page .equipment-explorer {
  position: relative;
  z-index: 1;
}

.home-page .equipment-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

.home-page .equipment-heading .section-kicker {
  color: #79dfa0;
}

.home-page .equipment-heading h2 {
  margin: 13px 0 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.home-page .equipment-heading > p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  line-height: 1.65;
}

.home-page .equipment-explorer {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.home-page .equipment-explorer.visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .equipment-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.home-page .equipment-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 11px;
  min-width: 0;
  min-height: 88px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  color: rgba(255,255,255,.72);
  text-align: left;
  cursor: pointer;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
  transition: border-color .25s ease, background .25s ease, transform .25s ease, color .25s ease;
}

.home-page .equipment-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #35ba69, #80e5a5);
  transition: right .35s ease;
}

.home-page .equipment-tab:hover,
.home-page .equipment-tab:focus-visible {
  border-color: rgba(121,223,160,.52);
  color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
  outline: none;
}

.home-page .equipment-tab.is-active {
  border-color: rgba(121,223,160,.62);
  color: #fff;
  background: rgba(41,168,90,.18);
}

.home-page .equipment-tab.is-active::after {
  right: 0;
}

.home-page .equipment-tab > span {
  grid-row: 1 / span 2;
  color: #79dfa0;
  font-size: .72rem;
  font-weight: 900;
}

.home-page .equipment-tab strong,
.home-page .equipment-tab small {
  display: block;
  min-width: 0;
}

.home-page .equipment-tab strong {
  font-size: .93rem;
  line-height: 1.2;
}

.home-page .equipment-tab small {
  align-self: end;
  overflow: hidden;
  color: rgba(255,255,255,.52);
  font-size: .7rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .equipment-panels {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: #f7fafb;
  box-shadow: 0 26px 60px rgba(0,0,0,.2);
}

.home-page .equipment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  min-height: 480px;
}

.home-page .equipment-panel[hidden] {
  display: none;
}

.home-page .equipment-panel.is-active {
  animation: equipment-panel-in .52s cubic-bezier(.2,.7,.2,1) both;
}

.home-page .equipment-panel figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #dfe9ed;
}

.home-page .equipment-panel figure::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset -20px 0 45px rgba(7,31,52,.08);
}

.home-page .equipment-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}

.home-page .equipment-panel:hover img {
  transform: scale(1.025);
}

.home-page .equipment-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
  background:
    radial-gradient(circle at 100% 0, rgba(41,168,90,.11), transparent 18rem),
    #fff;
}

.home-page .equipment-index {
  color: #1c9250;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-page .equipment-panel-copy h3 {
  margin: 14px 0 18px;
  color: var(--home-ink);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.home-page .equipment-panel-copy p {
  margin: 0;
  color: #53687a;
  font-size: .96rem;
  line-height: 1.7;
}

.home-page .equipment-panel-copy ul {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(8,35,61,.1);
  list-style: none;
}

.home-page .equipment-panel-copy li {
  position: relative;
  padding-left: 20px;
  color: #26465e;
  font-size: .83rem;
  font-weight: 750;
}

.home-page .equipment-panel-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .46em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #32b765;
  box-shadow: 0 0 0 4px rgba(50,183,101,.12);
}

@keyframes equipment-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Points forts et fin de page. */
.home-page .expertise-section,
.home-page .dg-preview,
.home-page .cta-section {
  max-width: 1220px;
}

.home-page .expertise-section {
  padding: 72px 24px 76px;
}

.home-page .expertise-section .section-header {
  margin-bottom: 34px;
}

.home-page .expertise-section .section-header h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  letter-spacing: -.04em;
}

.home-page .expertise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-page .expertise-card {
  min-height: 270px;
  box-sizing: border-box;
  border-color: var(--home-line);
  border-radius: 19px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(8,35,61,.07);
}

.home-page .expertise-card:hover {
  transform: translateY(-7px);
  border-color: rgba(41,168,90,.4);
  box-shadow: 0 22px 46px rgba(8,35,61,.13);
}

.home-page .expertise-icon {
  border-radius: 13px;
}

.home-page .dg-preview,
.home-page .cta-section {
  padding-left: 24px;
  padding-right: 24px;
}

.home-page .dg-card,
.home-page .cta-card {
  border-radius: 24px;
}

.public-home .site-footer {
  margin-top: 0;
  background: #061a2d;
}

.public-home .footer-container {
  max-width: 1220px;
  padding: 34px 24px 26px;
  gap: 32px;
}

.public-home .footer-logo {
  width: 185px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.public-home .footer-col h3 {
  color: #79dfa0;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.public-home .footer-col p,
.public-home .footer-col li,
.public-home .footer-col a {
  color: rgba(255,255,255,.68);
  font-size: .8rem;
}

.public-home .footer-bottom {
  padding: 10px 16px;
  background: #041321;
  color: rgba(255,255,255,.55);
}

.home-page .dg-card {
  padding: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(circle at 88% 20%, rgba(79,215,130,.2), transparent 22rem),
    linear-gradient(135deg, #071e34, #0c3f62);
}

.home-page .cta-card {
  padding: clamp(38px, 5vw, 58px) 24px;
  box-shadow: 0 18px 52px rgba(8,35,61,.1);
}

@keyframes home-hero-breathe {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes home-signal {
  0%, 100% { box-shadow: 0 0 0 5px rgba(99,223,145,.12); }
  50% { box-shadow: 0 0 0 9px rgba(99,223,145,.02); }
}

@media (max-width: 1050px) {
  .public-home .header.container {
    display: block;
    padding: 11px 18px;
  }

  .public-home .header .header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .public-home .header .logo {
    width: 190px;
    max-width: 190px;
  }

  .public-home .mobile-menu-toggle {
    display: flex !important;
    order: initial;
  }

  .public-home .header .main-nav {
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(8,35,61,.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(8,35,61,.12);
  }

  .public-home .header .main-nav.is-open {
    display: flex !important;
  }

  .public-home .header .main-nav a {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 11px 13px;
    text-align: left;
  }

  .home-page .hero-slide-content {
    padding-left: 68px;
    padding-right: 68px;
  }

  .home-page .hero-proof {
    left: 68px;
  }

  .home-page .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .equipment-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .equipment-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
  }
}

@media (max-width: 820px) {
  .home-page .hero-slider {
    height: 660px;
    min-height: 660px;
  }

  .home-page .hero-slide::after {
    background: linear-gradient(90deg, rgba(4,24,42,.94), rgba(5,31,53,.66));
  }

  .home-page .hero-slide-content {
    padding: 52px 54px 92px;
  }

  .home-page .hero-copy {
    width: min(650px, 100%);
    margin-bottom: 0;
  }

  .home-page .hero-slide-content h1 {
    font-size: clamp(2.65rem, 9vw, 4.5rem);
  }

  .home-page .hero-proof {
    display: none;
  }

  .home-page .about-section--editorial {
    grid-template-columns: 1fr;
    padding-top: 82px;
  }

  .home-page .about-visual {
    min-height: 430px;
    border-radius: 24px 24px 0 0;
  }

  .home-page .about-section--editorial .about-card {
    min-height: 0;
    border-radius: 0 0 24px 24px;
  }

  .home-page .operations-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .operations-grid {
    grid-template-rows: 410px 300px auto;
  }

  .home-page .operation-photo--primary,
  .home-page .operation-photo--secondary,
  .home-page .operation-flow {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .home-page .equipment-showcase {
    margin-left: 16px;
    margin-right: 16px;
  }

  .home-page .equipment-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .equipment-panel {
    grid-template-columns: 1fr;
  }

  .home-page .equipment-panel figure,
  .home-page .equipment-panel img {
    min-height: 390px;
  }
}

@media (max-width: 640px) {
  .public-home .header .logo {
    width: 165px;
    max-width: 165px;
  }

  .home-page .hero-slider {
    height: 630px;
    min-height: 630px;
  }

  .home-page .hero-slide img {
    object-position: 68% center;
  }

  .home-page .hero-slide-content {
    justify-content: flex-end;
    padding: 34px 18px 78px;
  }

  .home-page .hero-kicker {
    margin-bottom: 16px;
    padding: 8px 11px;
    font-size: .65rem;
  }

  .home-page .hero-slide-content h1 {
    margin-bottom: 16px;
    font-size: clamp(2.15rem, 11vw, 3.35rem);
    line-height: 1.02;
  }

  .home-page .hero-slide-content p {
    margin-bottom: 22px;
    font-size: .95rem;
    line-height: 1.5;
  }

  .home-page .hero-btn-group {
    max-width: none;
  }

  .home-page .hero-btn-primary,
  .home-page .hero-btn-secondary {
    min-height: 48px;
    padding: 12px 16px;
  }

  .home-page .hero-arrow {
    display: none;
  }

  .home-page .hero-dots {
    right: auto;
    left: 18px;
    bottom: 26px;
  }

  .home-page .stats-bar {
    margin-top: -18px !important;
  }

  .home-page .about-section--editorial,
  .home-page .operations-showcase,
  .home-page .expertise-section,
  .home-page .dg-preview,
  .home-page .cta-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-page .about-section--editorial {
    padding-top: 66px;
    padding-bottom: 48px;
  }

  .home-page .about-visual {
    min-height: 330px;
  }

  .home-page .about-section--editorial .about-card {
    padding: 32px 22px;
  }

  .home-page .about-card h2,
  .home-page .operations-heading h2 {
    font-size: 2rem;
  }

  .home-page .operations-showcase {
    padding-top: 52px;
    padding-bottom: 66px;
  }

  .home-page .equipment-showcase {
    margin: 0 10px 22px;
    padding: 46px 12px 12px;
    border-radius: 22px;
  }

  .home-page .equipment-heading {
    padding: 0 10px;
    margin-bottom: 28px;
  }

  .home-page .equipment-heading h2 {
    font-size: 2.15rem;
  }

  .home-page .equipment-tabs {
    display: flex;
    gap: 8px;
    margin-right: -12px;
    padding: 0 12px 4px 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .home-page .equipment-tab {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }

  .home-page .equipment-panels {
    border-radius: 16px;
  }

  .home-page .equipment-panel figure,
  .home-page .equipment-panel img {
    min-height: 290px;
  }

  .home-page .equipment-panel-copy {
    padding: 29px 22px 32px;
  }

  .home-page .operations-grid {
    grid-template-rows: 380px 260px auto;
    gap: 12px;
  }

  .home-page .operation-photo,
  .home-page .operation-flow {
    border-radius: 18px;
  }

  .home-page .operation-photo-copy {
    left: 20px;
    right: 20px;
    bottom: 19px;
  }

  .home-page .operation-flow {
    grid-template-columns: 1fr;
  }

  .home-page .expertise-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .home-page .expertise-grid {
    grid-template-columns: 1fr;
  }

  .home-page .expertise-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-slide.active img,
  .home-page .hero-kicker i {
    animation: none;
  }

  .home-page .about-visual,
  .home-page .operation-photo,
  .home-page .operation-flow,
  .home-page .equipment-explorer {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-page .equipment-panel.is-active {
    animation: none;
  }

  .home-page .about-visual img,
  .home-page .operation-photo img {
    transition: none;
  }
}
