/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
/* Hallmark · genre: industrial editorial · macrostructure: Photographic · theme: HELPER foundry · enrichment: E8 verified site photography · nav: N11 preserved · footer: Ft3 preserved · contrast: pass (40–41) · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · mobile: pass (34, 49, 50–57) */

@import url("/tokens.css");

:root {
  --es-content-max: var(--layout-max);
  --es-copy-max: 65ch;
  --es-header-surface: var(--color-paper-glass);
  --es-dark-surface: var(--color-navy-deep);
  --es-dark-copy: var(--color-light-muted);
  --es-dark-rule: var(--color-navy);
  --es-field-surface: var(--color-paper);
  --es-photo-surface: var(--color-paper-3);
  --es-shadow: var(--shadow-menu);
  --es-z-header: 200;
  --es-z-panel: 300;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.62;
}
body, button, input, select, textarea { font-family: var(--font-body); }
img { display: block; max-width: 100%; }
a { color: var(--color-link); text-underline-offset: var(--space-3xs); }
a:hover { color: var(--color-link-active); }
a:active { color: var(--color-accent-dark); }
a[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; pointer-events: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: var(--rule-focus) solid var(--color-focus);
  outline-offset: var(--space-3xs);
}
h1, h2, h3 {
  min-width: 0;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
p, ul { margin-block: 0; }

.es-skip {
  position: fixed;
  inset-block-start: var(--space-sm);
  inset-inline-start: var(--space-sm);
  z-index: var(--es-z-panel);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-paper);
  color: var(--color-ink);
  transform: translateY(-180%);
}
.es-skip:focus { transform: none; }

.es-wrap {
  width: min(100%, var(--es-content-max));
  margin-inline: auto;
  padding-inline: clamp(var(--space-sm), 4vw, var(--space-xl));
}

.es-header {
  position: sticky;
  inset-block-start: 0;
  z-index: var(--es-z-header);
  border-block-end: var(--rule-thin) solid var(--color-rule);
  background: var(--es-header-surface);
  backdrop-filter: blur(var(--blur-nav));
}
.es-utility {
  display: none;
  border-block-end: var(--rule-thin) solid var(--color-rule);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.es-utility .es-wrap, .es-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.es-utility .es-wrap { min-height: 2.25rem; }
.es-brand { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 3.75rem; }
.es-brand img { width: min(9.5rem, 34vw); height: auto; }
.es-nav { min-height: var(--nav-height-mobile); }
.es-desktop-nav { display: none; align-self: stretch; align-items: center; gap: var(--space-xs); }
.es-desktop-nav > a, .es-nav details > summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: var(--space-xs);
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.es-nav details > summary { cursor: pointer; list-style: none; }
.es-nav details > summary::-webkit-details-marker { display: none; }
.es-nav details > summary::after { content: "↓"; margin-inline-start: var(--space-2xs); color: var(--color-accent-dark); }
.es-mega { position: static; }
.es-mega-panel {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  z-index: var(--es-z-panel);
  border-block-end: var(--rule-thin) solid var(--color-rule-strong);
  background: var(--color-paper);
  box-shadow: var(--es-shadow);
}
.es-mega-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); padding-block: var(--space-lg); }
.es-mega-group { display: grid; gap: var(--space-xs); min-width: 0; }
.es-mega-group h2 { font-size: var(--text-sm); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.es-mega-group a { display: grid; gap: var(--space-3xs); color: var(--color-ink); text-decoration: none; }
.es-mega-group a span { color: var(--color-muted); font-size: var(--text-sm); }
.es-nav-actions { display: flex; align-items: center; gap: var(--space-2xs); }
.es-language, .es-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: var(--rule-thin) solid var(--color-rule-strong);
  border-radius: var(--radius-control);
  padding-inline: var(--space-sm);
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.es-primary-link { display: none; border-color: var(--color-accent-dark); }
.es-mobile-nav { position: relative; }
.es-mobile-nav > summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: var(--space-sm);
  border: var(--rule-thin) solid var(--color-rule-strong);
  border-radius: var(--radius-control);
  font-weight: 800;
  list-style: none;
  white-space: nowrap;
}
.es-mobile-nav > summary::-webkit-details-marker { display: none; }
.es-mobile-sheet {
  position: absolute;
  inset-block-start: calc(100% + var(--space-xs));
  inset-inline-end: 0;
  display: grid;
  width: 18rem;
  max-width: calc(100dvw - 2rem);
  padding: var(--space-xs);
  border: var(--rule-thin) solid var(--color-rule-strong);
  background: var(--color-paper);
  box-shadow: var(--es-shadow);
}
.es-mobile-sheet a { min-height: 2.75rem; padding: var(--space-xs); color: var(--color-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }

.hf-language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: var(--rule-thin) solid var(--color-accent-dark);
  border-radius: var(--radius-control);
  margin-inline-start: var(--space-xs);
  background: var(--color-paper);
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.es-crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2xs); padding-block: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.es-crumbs a { white-space: nowrap; }
.es-hero { padding-block: clamp(var(--space-xl), 5vw, var(--space-2xl)) clamp(var(--space-2xl), 8vw, var(--space-3xl)); }
.es-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: end; }
.es-hero-copy { display: grid; gap: var(--space-md); max-width: 54rem; }
.es-kicker { color: var(--color-accent-dark); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 800; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.es-hero h1 { max-width: 19ch; font-size: clamp(2.5rem, 7vw, 5.25rem); letter-spacing: var(--tracking-tight); }
.es-hero p { max-width: var(--es-copy-max); color: var(--color-ink-2); font-size: var(--text-lg); }
.es-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.es-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: var(--rule-thin) solid var(--color-accent-dark);
  border-radius: var(--radius-control);
  padding-inline: var(--space-md);
  background: var(--color-accent-dark);
  color: var(--color-accent-ink);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.es-button:hover { color: var(--color-accent-ink); transform: translateY(var(--lift)); }
.es-button:active { transform: translateY(0); }
.es-button:disabled, .es-button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; pointer-events: none; }
.es-button--secondary { background: transparent; color: var(--color-ink); }
.es-button--secondary:hover { color: var(--color-ink); }
.es-hero-media { min-width: 0; margin: 0; background: var(--es-photo-surface); }
.es-hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.es-hero-media figcaption { padding: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }

.es-index { border-block: var(--rule-thin) solid var(--color-rule); }
.es-index-list { display: grid; }
.es-index-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xs);
  padding-block: var(--space-lg);
  border-block-end: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
}
.es-index-row:last-child { border-block-end: 0; }
.es-index-row strong { font-family: var(--font-display); font-size: var(--text-xl); }
.es-index-row span { max-width: 58ch; color: var(--color-muted); }
.es-index-row b { align-self: center; color: var(--color-accent-dark); white-space: nowrap; }

.es-section { padding-block: clamp(var(--space-xl), 7vw, var(--space-3xl)); }
.es-section--paper-2 { background: var(--color-paper-2); }
.es-section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-block-end: var(--space-xl); }
.es-section-head h2 { max-width: 24ch; font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); letter-spacing: -0.035em; }
.es-section-head p { max-width: var(--es-copy-max); color: var(--color-muted); }
.es-prose { display: grid; gap: var(--space-md); max-width: var(--es-copy-max); }
.es-prose h3 { margin-block-start: var(--space-md); font-size: var(--text-xl); }
.es-prose ul { display: grid; gap: var(--space-xs); padding-inline-start: var(--space-lg); }
.es-ledger { display: grid; border-block-start: var(--rule-thin) solid var(--color-rule-strong); }
.es-ledger-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-md); border-block-end: var(--rule-thin) solid var(--color-rule); }
.es-ledger-row dt { font-weight: 800; }
.es-ledger-row dd { margin: 0; color: var(--color-muted); }
.es-card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.es-card {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
  padding: var(--space-lg);
  border: var(--rule-thin) solid var(--color-rule-strong);
  background: var(--color-paper);
}
.es-card h3 { font-size: var(--text-xl); }
.es-card p { color: var(--color-muted); }
.es-card a { align-self: end; font-weight: 800; white-space: nowrap; }
.es-specs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.es-specs thead { display: none; }
.es-specs, .es-specs tbody, .es-specs tr, .es-specs td { display: block; }
.es-specs tr { padding-block: var(--space-xs); border-block-end: var(--rule-thin) solid var(--color-rule-strong); }
.es-specs th, .es-specs td { padding: var(--space-sm); border-block-end: var(--rule-thin) solid var(--color-rule); text-align: start; vertical-align: top; }
.es-specs td { display: grid; grid-template-columns: minmax(7.5rem, 0.8fr) minmax(0, 1.2fr); gap: var(--space-xs); padding-block: var(--space-xs); border: 0; overflow-wrap: anywhere; }
.es-specs td::before { content: attr(data-label); color: var(--color-muted); font-weight: 800; }
.es-specs th { font-weight: 800; }
.es-note { margin-block-start: var(--space-md); padding: var(--space-md); border: var(--rule-thin) solid var(--color-rule-strong); color: var(--color-muted); }

.es-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.es-form { display: grid; gap: var(--space-md); }
.es-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.es-field { display: grid; gap: var(--space-2xs); }
.es-field label { font-weight: 800; }
.es-field input, .es-field select, .es-field textarea {
  width: 100%;
  min-height: 3rem;
  border: var(--rule-thin) solid var(--color-rule-strong);
  border-radius: var(--radius-control);
  padding: var(--space-xs);
  background: var(--es-field-surface);
  color: var(--color-ink);
  font-size: var(--text-body);
}
.es-field input:hover, .es-field select:hover, .es-field textarea:hover { border-color: var(--color-ink-2); }
.es-field input:active, .es-field select:active, .es-field textarea:active { border-color: var(--color-link-active); }
.es-field input:disabled, .es-field select:disabled, .es-field textarea:disabled { cursor: not-allowed; opacity: 0.55; background: var(--color-paper-3); }
.es-field input[aria-invalid="true"], .es-field select[aria-invalid="true"], .es-field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.es-field input[aria-invalid="false"], .es-field select[aria-invalid="false"], .es-field textarea[aria-invalid="false"] { border-color: var(--color-success); }
.es-field textarea { min-height: 10rem; resize: vertical; }
.es-field small { color: var(--color-muted); }
.es-form-status { min-height: 1.75rem; color: var(--color-muted); }
.es-submit:disabled { cursor: wait; opacity: 0.55; }

.es-footer { padding-block: var(--space-2xl) var(--space-lg); background: var(--es-dark-surface); color: var(--es-dark-copy); }
.es-footer h2, .es-footer h3 { color: var(--color-paper); }
.es-footer-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); padding-block-end: var(--space-xl); border-block-end: var(--rule-thin) solid var(--es-dark-rule); }
.es-footer-head h2 { max-width: 24ch; font-size: var(--text-2xl); }
.es-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-xl); }
.es-footer-group { display: grid; align-content: start; gap: var(--space-xs); }
.es-footer-group h3 { font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.es-footer-group a { color: var(--es-dark-copy); text-decoration: none; white-space: nowrap; }
.es-footer-group a:hover { color: var(--color-paper); }
.es-footer-legal { padding-block-start: var(--space-md); border-block-start: var(--rule-thin) solid var(--es-dark-rule); color: var(--es-dark-copy); font-size: var(--text-sm); }

@media (min-width: 40rem) {
  .es-utility { display: block; }
  .es-primary-link { display: inline-flex; }
  .es-index-row { grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr) auto; align-items: center; }
  .es-section-head { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: end; }
  .es-ledger-row { grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr); }
  .es-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-field--wide { grid-column: 1 / -1; }
  .es-footer-grid { grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); }
  .es-specs { display: table; }
  .es-specs thead { display: table-header-group; }
  .es-specs tbody { display: table-row-group; }
  .es-specs tr { display: table-row; padding: 0; border: 0; }
  .es-specs th, .es-specs td { display: table-cell; padding: var(--space-sm); border-block-end: var(--rule-thin) solid var(--color-rule); }
  .es-specs td::before { content: none; }
}

@media (min-width: 60rem) {
  .es-nav { min-height: var(--nav-height); }
  .es-desktop-nav { display: flex; }
  .es-mobile-nav { display: none; }
  .es-mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .es-hero-grid:has(.es-hero-media) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .es-card-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .es-contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr); }
}

@media (hover: hover) and (pointer: fine) {
  .es-index-row:hover strong, .es-card a:hover { color: var(--color-accent-dark); }
}

@media (pointer: coarse) {
  .es-button, .es-language, .es-primary-link, .es-mobile-nav > summary, .es-mobile-sheet a { min-height: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: var(--dur-reduced) !important; animation-iteration-count: 1 !important; transition-duration: var(--dur-reduced) !important; }
  .es-button:hover { transform: none; }
}

/* Spanish homepage · photographic procurement gateway */
.es-home main { background: var(--color-paper); }
.es-home .es-header { position: relative; }
.es-home-hero { position: relative; isolation: isolate; min-height: 42rem; display: grid; overflow: clip; background: var(--color-navy-deep); color: var(--color-paper); }
.es-home-hero__media, .es-home-hero__shade { position: absolute; inset: 0; }
.es-home-hero__media { z-index: -2; margin: 0; }
.es-home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.es-home-hero__shade { z-index: -1; background: var(--hero-home-overlay); }
.es-home-hero__layout { min-height: 42rem; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-lg); padding-block: var(--space-xl) var(--space-2xl); }
.es-home-hero__copy { display: grid; gap: var(--space-md); max-width: 47rem; min-width: 0; }
.es-home-hero__label { color: var(--color-light-muted); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 800; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.es-home-hero h1 { max-width: 18ch; color: var(--color-paper); font-size: clamp(2.75rem, 6vw, 5rem); letter-spacing: var(--tracking-tight); }
.es-home-hero__copy > p:not(.es-home-hero__label) { max-width: 43rem; color: var(--color-light-muted); font-size: var(--text-lg); }
.es-home-hero .es-button--ghost { border-color: var(--color-light-muted); background: transparent; color: var(--color-paper); }
.es-home-hero .es-button--ghost:hover { border-color: var(--color-paper); color: var(--color-paper); }
.es-home-hero__caption { align-self: flex-end; max-width: 28rem; color: var(--color-light-muted); font-size: var(--text-sm); text-align: end; }

.es-home-routes { background: var(--color-navy-deep); color: var(--color-paper); }
.es-home-routes__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.es-home-routes a { min-width: 0; display: grid; gap: var(--space-3xs); min-height: 6.5rem; padding-block: var(--space-md); border-block-start: var(--rule-thin) solid var(--es-dark-rule); color: var(--color-paper); text-decoration: none; }
.es-home-routes a span { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; }
.es-home-routes a small { color: var(--es-dark-copy); font-size: var(--text-sm); }

.es-home-families { padding-block: var(--space-2xl) var(--space-3xl); }
.es-home-heading { display: grid; gap: var(--space-md); margin-block-end: var(--space-xl); }
.es-home-heading h2 { max-width: 18ch; font-size: clamp(2.25rem, 6vw, 4.5rem); letter-spacing: var(--tracking-tight); }
.es-home-heading p { max-width: var(--es-copy-max); color: var(--color-muted); font-size: var(--text-lg); }
.es-home-family-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.es-home-family { position: relative; min-width: 0; min-height: 0; aspect-ratio: 8 / 5; overflow: clip; background: var(--color-navy-deep); color: var(--color-paper); text-decoration: none; }
.es-home-family img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: var(--image-dim); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.es-home-family::after { content: ""; position: absolute; inset: 0; background: var(--color-image-overlay-soft); pointer-events: none; }
.es-home-family span { position: absolute; z-index: 1; inset-inline: var(--space-md); inset-block-end: var(--space-md); display: grid; gap: var(--space-3xs); }
.es-home-family strong { color: var(--color-paper); font-family: var(--font-display); font-size: var(--text-xl); }
.es-home-family small { color: var(--color-light-muted); font-size: var(--text-sm); }

.es-home-outcomes { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--color-paper-2); }
.es-home-outcomes__image { min-width: 0; min-height: 0; aspect-ratio: 3 / 2; }
.es-home-outcomes__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.es-home-outcomes__copy { display: flex; flex-direction: column; justify-content: center; gap: var(--space-md); padding: var(--space-xl) clamp(var(--space-sm), 6vw, var(--space-2xl)); }
.es-home-outcomes__copy h2 { max-width: 16ch; font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: var(--tracking-tight); }
.es-home-outcomes__copy p { max-width: 38rem; color: var(--color-muted); font-size: var(--text-lg); }
.es-home-outcomes__copy a { width: fit-content; color: var(--color-link); font-weight: 800; text-decoration-thickness: var(--rule-thin); white-space: nowrap; }

.es-home-engineering { padding-block: var(--space-3xl); }
.es-home-engineering__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
.es-home-engineering__copy { min-width: 0; }
.es-home-engineering__copy > h2 { max-width: 17ch; font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: var(--tracking-tight); }
.es-home-engineering__copy > p { max-width: 40rem; margin-block-start: var(--space-md); color: var(--color-muted); font-size: var(--text-lg); }
.es-home-ledger { margin: var(--space-xl) 0 0; }
.es-home-ledger > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-md); border-block-start: var(--rule-thin) solid var(--color-rule); }
.es-home-ledger dt { color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; }
.es-home-ledger dd { margin: 0; color: var(--color-muted); }
.es-home-engineering__photo { min-width: 0; margin: 0; }
.es-home-engineering__photo img { width: 100%; height: auto; aspect-ratio: 70 / 43; object-fit: cover; object-position: center; }
.es-home-engineering__photo figcaption { padding-block-start: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }

.es-home-close { padding-block: var(--space-2xl); background: var(--color-navy-deep); color: var(--color-paper); }
.es-home-close__layout { display: grid; gap: var(--space-md); }
.es-home-close h2 { max-width: 19ch; color: var(--color-paper); font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: var(--tracking-tight); }
.es-home-close p { max-width: 42rem; color: var(--color-light-muted); font-size: var(--text-lg); }
.es-home-close__language { align-self: center; color: var(--color-paper); font-weight: 800; white-space: nowrap; }
.es-home-close__language:hover { color: var(--color-light-muted); }

@media (hover: hover) and (pointer: fine) {
  .es-home-family:hover img { opacity: var(--image-line-hover); transform: scale(var(--image-scale)); }
  .es-home-routes a:hover span { color: var(--color-accent); }
}
@media (min-width: 40rem) {
  .es-home-routes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-home-routes a { padding-inline: var(--space-md); }
  .es-home-routes a:nth-child(even) { border-inline-start: var(--rule-thin) solid var(--es-dark-rule); }
  .es-home-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-home-family--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .es-home-family:not(.es-home-family--wide) { aspect-ratio: 8 / 5; }
  .es-home-ledger > div { grid-template-columns: minmax(7rem, 0.32fr) minmax(0, 1fr); }
}
@media (min-width: 60rem) {
  .es-home-hero, .es-home-hero__layout { min-height: min(78dvh, 49rem); }
  .es-home-hero__media img { object-position: center; }
  .es-home-hero__layout { justify-content: flex-end; }
  .es-home-routes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .es-home-routes a { border-block-start: 0; border-inline-start: var(--rule-thin) solid var(--es-dark-rule); }
  .es-home-routes a:last-child { border-inline-end: var(--rule-thin) solid var(--es-dark-rule); }
  .es-home-heading { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); align-items: end; }
  .es-home-family-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(28rem, 34vw, 34rem); }
  .es-home-family--wide { grid-column: span 7; grid-row: span 2; aspect-ratio: auto; }
  .es-home-family:not(.es-home-family--wide) { grid-column: span 5; min-height: 0; aspect-ratio: auto; }
  .es-home-outcomes { grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr); min-height: 0; height: clamp(34rem, 44vw, 38rem); }
  .es-home-outcomes__image { height: clamp(34rem, 44vw, 38rem); max-height: 38rem; aspect-ratio: auto; overflow: hidden; }
  .es-home-engineering__grid { grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr); gap: var(--space-2xl); }
  .es-home-engineering__photo { position: sticky; inset-block-start: var(--space-xl); }
}
@media (min-width: 90rem) {
  .es-home-family span { inset-inline: var(--space-lg); inset-block-end: var(--space-lg); }
}
@media (pointer: coarse) {
  .es-home-routes a, .es-home-family, .es-home-outcomes__copy a, .es-home-close__language { min-height: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .es-home-family img { transition-duration: var(--dur-reduced); }
  .es-home-family:hover img { transform: none; }
}
