/* Entrystarth product page (body.es). The brand from its Figma: navy #003E72, pale cyan #D6FAFB, green #B0E585,
   graphite #262626 and orange #F34E00 for alerts only; the fingerprint S as the symbol; the wordmark's regular +
   heavy italic pairing carried into the type; a mono clock like the one on the totem. */
body.es {
  --es-navy: #003e72; --es-deep: #00294d; --es-ink: #262626; --es-cyan: #d6fafb; --es-green: #b0e585; --es-orange: #f34e00;
  --es-line: rgba(0,62,114,.14); --es-text2: #4a5866; --es-soft: #eef8fb;
  --es-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --es-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --es-sec: clamp(72px, 9vw, 128px);
  background: #fff; color: var(--es-ink);
}
.es-sec { padding-block: var(--es-sec); }
.es-navy { background: var(--es-navy); color: #fff; }
.es-cyan { background: var(--es-cyan); }

/* type: regular words with a heavy italic accent, as in the wordmark */
.es-eyebrow { font: 500 13px/1.2 var(--es-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--es-navy); }
.es-navy .es-eyebrow { color: var(--es-green); }
.es-h1 { font: 400 clamp(48px, 7.6vw, 112px)/.95 var(--es-sans); letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.es-h2 { font: 400 clamp(34px, 4.4vw, 60px)/1.02 var(--es-sans); letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
.es-h3 { font: 700 clamp(20px, 1.8vw, 24px)/1.15 var(--es-sans); letter-spacing: -0.02em; margin: 0; }
.es-h1 em, .es-h2 em { font-style: italic; font-weight: 900; letter-spacing: -0.035em; }
.es-h1 em, .es-navy .es-h2 em { color: var(--es-green); }
.es-h2 em { color: var(--es-navy); }
.es-p { font: 400 clamp(16px, 1.2vw, 18px)/1.6 var(--es-sans); color: var(--es-text2); margin: 0; max-width: 58ch; letter-spacing: 0; }
.es-navy .es-p { color: rgba(255,255,255,.8); }
.es-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 56px); }
@media (min-width: 960px) { .es-head.split { grid-template-columns: 1.15fr 1fr; align-items: end; column-gap: 48px; } }

/* buttons */
.es-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.es-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 14px; text-decoration: none; font: 700 15px/1 var(--es-sans); transition: translate .4s cubic-bezier(.4,0,.2,1), background .3s; }
.es-btn.green { background: var(--es-green); color: var(--es-ink); }
.es-btn.line { color: #fff; box-shadow: inset 0 0 0 2px rgba(214,250,251,.5); }
.es-btn.line:hover { box-shadow: inset 0 0 0 2px var(--es-cyan); }
.es-btn.navy { background: var(--es-navy); color: #fff; }
.es-btn:hover { translate: 0 -2px; }

/* ---------- hero: the headline and a live totem clock ---------- */
.es-hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.es-hero .wrap { position: relative; z-index: 1; }
.es-hero .crumbs { color: rgba(255,255,255,.6); margin: 0 0 clamp(32px, 5vw, 64px); }
.es-hero .crumbs a { color: inherit; }
.es-hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1040px) { .es-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.es-hero-copy { display: grid; gap: 24px; justify-items: start; }
.es-logo { height: clamp(52px, 5vw, 68px); width: auto; display: block; }
.es-hero-mark { position: absolute; z-index: 0; right: -4vw; bottom: -6vw; width: min(46vw, 640px); height: auto; opacity: .08; pointer-events: none; }

.es-clock { border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(214,250,251,.16); display: grid; gap: 18px; }
.es-clock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px/1 var(--es-mono); color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .05em; }
.es-clock-top img { height: 26px; width: auto; }
.es-time { font: 700 clamp(56px, 7vw, 96px)/1 var(--es-mono); letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.es-time span { color: var(--es-green); }
.es-date { font: 500 15px/1.3 var(--es-sans); color: rgba(255,255,255,.72); margin-top: -8px; }
.es-punches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.es-punches div { border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; font: 700 13px/1.2 var(--es-sans); letter-spacing: .03em; text-transform: uppercase; color: var(--es-ink); }
.es-punches small { font: 500 12px/1 var(--es-mono); text-transform: none; letter-spacing: 0; opacity: .7; }
.es-punches .in { background: var(--es-green); }
.es-punches .out { background: var(--es-cyan); }
.es-punches .b1 { background: rgba(255,255,255,.12); color: #fff; }
.es-punches .b2 { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- the film: chapters on the left, the system in a totem-like tablet ---------- */
.es-film { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1040px) { .es-film { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; } }
.es-tablet { position: relative; border-radius: 34px; padding: clamp(10px, 1.4vw, 18px); background: var(--es-ink); box-shadow: 0 40px 90px rgba(0,41,77,.3), inset 0 0 0 1px rgba(255,255,255,.08); }
.es-tablet .film-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; background: #0f2b49; }
.es-tablet .film-cam { width: 100%; height: 100%; will-change: transform; }
.es-tablet .film-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.es .film-play { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--es-green); cursor: pointer; display: grid; place-items: center; }
.es .film-play::before { content: ""; width: 0; height: 0; border-left: 12px solid var(--es-ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.es .playing .film-play::before { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, var(--es-ink) 0 4px, transparent 4px 8px, var(--es-ink) 8px 12px); }
.es .film-chapters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; order: 2; }
.es .film-chapters::-webkit-scrollbar { display: none; }
.es .film-chapters button { --p: 0; flex: none; position: relative; overflow: hidden; border: 0; cursor: pointer; text-align: left; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--es-text2); font: 600 14px/1.1 var(--es-sans); box-shadow: inset 0 0 0 1px var(--es-line); transition: background .3s, color .3s; }
.es .film-chapters button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 100%); background: var(--es-navy); }
.es .film-chapters button[aria-current="true"] { background: var(--es-navy); color: #fff; box-shadow: none; }
.es .film-chapters button[aria-current="true"]::after { background: var(--es-green); }
@media (min-width: 1040px) {
  .es .film-chapters { order: 0; flex-direction: column; overflow: visible; }
  .es .film-chapters button::after { top: 0; bottom: 0; height: auto; width: 3px; height: calc(var(--p) * 100%); }
}
.es-note { margin: 18px 0 0; font: 500 12px/1.4 var(--es-mono); color: var(--es-text2); }

@media (max-width: 640px) {
  .es-btn { min-height: 50px; padding: 0 22px; font-size: 14px; }
  .es-hero .es-actions { width: 100%; }
  .es-hero .es-actions .es-btn { flex: 1 1 auto; }
  .es-tablet { border-radius: 22px; }
  .es-tablet .film-view { border-radius: 14px; }
}
