/* Hero B2 (approved), carried into the full homepage.
   Changes from the B2 baseline, and only these:
   1. the header is fixed and becomes a quiet ivory bar once the hero has passed;
   2. the glass panel uses a Sierra-like material: a light tint, with the backdrop itself
      dimmed and blurred for legibility, a dual hairline edge and a soft top highlight. */
:root {
  --navy: #0e1a36;
  --ink-950: #070f24;
  --ivory: #f6f4ef;
  --gold: #b8975a;
  --gut: clamp(20px, 4.4vw, 72px);
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ivory); color: var(--navy); text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------- the stage */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; isolation: isolate; background: var(--ink-950); color: #fff; }
.hero :focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.media { position: absolute; inset: 0; z-index: 0; }
.clip { position: absolute; inset: 0; opacity: 0; transition: opacity 2600ms ease; }
.clip.is-on { opacity: 1; }
.clip video, .clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 15, 36, 0.42) 0%, rgba(7, 15, 36, 0) 20%),
    radial-gradient(90% 75% at 0% 100%, rgba(7, 15, 36, 0.62) 0%, rgba(7, 15, 36, 0.18) 55%, rgba(7, 15, 36, 0) 75%); }

/* ------------------------------------------------------------ header */
.hd { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; align-items: center; padding: 26px var(--gut); color: #fff;
  transition: padding 400ms ease, background-color 400ms ease, box-shadow 400ms ease, color 400ms ease; }
.hd::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(180deg, rgba(10, 17, 32, 0.96), rgba(10, 17, 32, 0.92));
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -24px rgba(0, 0, 0, 0.5); transition: opacity 400ms ease; }
.hd.is-solid { padding-top: 14px; padding-bottom: 14px; }
.hd.is-solid::before { opacity: 1; }
.hd__brand { position: relative; display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.hd__logo { height: 28px; width: auto; transition: opacity 400ms; }
/* on ivory the silver mark becomes navy: the same artwork used as a mask */
.hd__logo-ink { position: absolute; left: 0; top: 50%; height: 28px; aspect-ratio: 2172 / 724; translate: 0 -50%; opacity: 0; background: var(--navy);
  -webkit-mask: url(assets/das-logo-original.png) center / contain no-repeat; mask: url(assets/das-logo-original.png) center / contain no-repeat; transition: opacity 400ms; }

.hd__name { padding-left: 16px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 28%, transparent); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; white-space: nowrap; }
.hd__name span { font-weight: 400; opacity: 0.72; }
.hd__nav { display: flex; gap: clamp(24px, 2.6vw, 40px); margin-left: auto; }
.hd__nav a { color: inherit; opacity: 0.86; font-size: 15px; text-decoration: none; transition: opacity 200ms; }
.hd__nav a:hover, .hd__nav a[aria-current="true"] { opacity: 1; }
.hd :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* the call to action: ivory, with the only gold on the page */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 22px 0 26px; border: 0; border-radius: 999px; background: var(--ivory); color: var(--navy); font: inherit; font-size: 15.5px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.5); transition: background 200ms, color 200ms, transform 200ms; }
.cta svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms; }
.cta:hover { background: #fff; }
.cta:hover svg { transform: translateX(2px); }
.cta--hd { height: 46px; margin-left: clamp(24px, 2.6vw, 40px); padding: 0 18px 0 22px; font-size: 15px; }
.hd.is-solid .cta--hd { height: 42px; }

/* -------------------------------------------------------------- copy */
.copy { position: absolute; z-index: 4; left: var(--gut); bottom: clamp(44px, 7.5vh, 88px); width: min(820px, 60vw); }
.copy__kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 13px; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.66); }
.copy__kicker::before { content: ""; width: 26px; height: 1px; background: rgba(255, 255, 255, 0.45); }
.copy__h { margin: 0; font-weight: 400; font-size: clamp(2.8rem, 1.3rem + 3.6vw, 4.9rem); line-height: 1.02; letter-spacing: -0.038em; color: #fff; text-shadow: 0 2px 30px rgba(7, 15, 36, 0.25); }
.copy__h span { display: block; }
.copy__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 40px; }
.copy__ctas { display: flex; align-items: center; gap: 26px; order: 1; }
.copy__lede { order: 2; max-width: 29ch; margin: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.25); font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }
.copy__more { color: #fff; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5); padding-bottom: 3px; }
.copy__more:hover { border-bottom-color: #fff; }

/* ------------------------------------------------- one small glass panel
   Smoked frosted glass. The tint is almost nothing; the material comes from what is behind it:
   a deep blur that diffuses the footage into soft colour, a little extra saturation so the panel
   carries the scene's own hue, and a brightness value that hero.js reads from the actual frame
   under the panel (brighter footage, deeper smoke). Fine double edge, soft top light. */
@property --g-a { syntax: "<number>"; inherits: true; initial-value: 0.16; }
@property --g-b { syntax: "<number>"; inherits: true; initial-value: 0.86; }
.pane { position: absolute; z-index: 4; right: clamp(48px, 7.6vw, 140px); bottom: calc(clamp(44px, 7.5vh, 88px) + clamp(22px, 4.2vh, 46px)); width: 304px;
  --g-a: 0.12; --g-b: 0.9;
  border-radius: 18px; padding: 16px 18px 18px; isolation: isolate; overflow: hidden;
  /* light passing through: a soft top sheen and a faint lit edge, over a barely tinted, heavily diffused backdrop */
  background:
    radial-gradient(90% 70% at 50% 115%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(140% 120% at 0% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%),
    linear-gradient(165deg, rgba(14, 18, 26, calc(var(--g-a) * 0.45)), rgba(14, 18, 26, var(--g-a)));
  -webkit-backdrop-filter: blur(34px) saturate(185%) brightness(var(--g-b)); backdrop-filter: blur(34px) saturate(185%) brightness(var(--g-b));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 0 0 0.5px rgba(255, 255, 255, 0.1), inset 0 -18px 30px -24px rgba(255, 255, 255, 0.14), 0 0 40px -10px rgba(255, 255, 255, 0.07), 0 24px 50px -34px rgba(0, 0, 0, 0.38);
  text-shadow: 0 1px 12px rgba(7, 12, 22, 0.32);
  opacity: 0; translate: 0 6px; filter: blur(3px);
  transition: opacity 1200ms ease, translate 1200ms cubic-bezier(.2, .7, .2, 1), filter 1200ms ease, --g-a 1600ms ease, --g-b 1600ms ease; }
.pane.is-on { opacity: 1; translate: 0 0; filter: blur(0); }
.p-k { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.p-k time { margin-left: auto; color: rgba(255, 255, 255, 0.58); font-variant-numeric: tabular-nums; }
/* who is speaking: a customer photo with the channel it came from, or the DIDAS mark */
.who { position: relative; flex: none; width: 34px; height: 34px; margin-right: 2px; }
.who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.who .ch { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(250, 250, 250, 0.96); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.who .ch svg { width: 9px; height: 9px; fill: none; stroke: #1b2333; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.who--didas img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 2px 8px rgba(0, 0, 0, 0.25); }
.p-k b { font-weight: 500; color: #fff; }
.p-t { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: #fff; }

.crm { position: relative; margin-top: 12px; }
.crm__row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.crm__av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.crm__who b { display: block; font-size: 14px; font-weight: 500; }
.crm__who small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm__who { min-width: 0; }
.crm__pill { position: relative; width: 74px; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 11.5px; font-weight: 500; line-height: 24px; text-align: center; transition: background 600ms; }
.crm__pill span { position: absolute; inset: 0; transition: opacity 500ms; }
.crm__pill .b { opacity: 0; color: #c9f0dc; }
.crm.is-set .crm__pill { background: rgba(98, 186, 142, 0.28); }
.crm.is-set .crm__pill .a { opacity: 0; }
.crm.is-set .crm__pill .b { opacity: 1; }
.crm__meta { display: flex; gap: 16px; margin: 10px 0 0 44px; font-size: 11.5px; color: rgba(255, 255, 255, 0.62); }
.cursor { position: absolute; width: 14px; height: 14px; right: 6px; top: 40px; opacity: 0; transition: transform 1100ms cubic-bezier(.4, .1, .2, 1), opacity 400ms; }
.cursor svg { width: 14px; height: 14px; fill: #fff; stroke: rgba(10, 18, 40, 0.6); stroke-width: 1; }
.cursor::after { content: ""; position: absolute; left: -6px; top: -6px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.8); opacity: 0; }
.crm.is-moving .cursor { opacity: 1; transform: translate(-30px, -26px); }
.crm.is-click .cursor::after { animation: ripple 700ms ease-out; }
@keyframes ripple { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(2.2); } }

.cal { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal__d { margin: 0 0 6px; text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, 0.6); }
.cal__d b { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.cal__c { position: relative; height: 30px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); }
.cal__slot { position: absolute; inset: 3px; border-radius: 5px; background: rgba(246, 244, 239, 0.92); color: var(--navy); text-shadow: none; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; transform: scaleY(0); transform-origin: top; transition: transform 700ms cubic-bezier(.2, .7, .2, 1); }
.cal.is-set .cal__slot { transform: scaleY(1); }
.cal__now .cal__d { color: #fff; }
.p-sub { margin: 10px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.66); }

.note { position: absolute; z-index: 4; right: var(--gut); bottom: 18px; margin: 0; font-size: 11px; color: rgba(255, 255, 255, 0.55); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: min(480px, calc(100% - 32px)); padding: 12px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1.4; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity 250ms, transform 250ms; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .hd__nav { display: none; }
  .cta--hd { margin-left: auto; }
  .copy { width: min(640px, 70vw); }
}
@media (max-width: 760px) {
  .hero { min-height: 640px; max-height: none; }
  .hd { padding: 18px 20px; }
  .hd.is-solid { padding-top: 12px; padding-bottom: 12px; }
  .hd__name { display: none; }
  .hd__logo, .hd__logo-ink { height: 24px; }
  .cta--hd { height: 40px; padding: 0 14px 0 18px; font-size: 14px; margin-left: auto; }
  .hd.is-solid .cta--hd { height: 38px; }
  .shade { background:
    linear-gradient(180deg, rgba(7, 15, 36, 0.45) 0%, rgba(7, 15, 36, 0) 18%),
    linear-gradient(0deg, rgba(7, 15, 36, 0.78) 0%, rgba(7, 15, 36, 0.45) 34%, rgba(7, 15, 36, 0) 58%); }
  .copy { left: 20px; right: 20px; width: auto; bottom: 28px; }
  .copy__kicker { margin-bottom: 16px; font-size: 12px; }
  .copy__h { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 3rem); }
  .copy__h span { display: inline; }
  .copy__foot { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 18px; }
  .copy__lede { order: 1; padding-left: 0; border-left: 0; font-size: 14px; max-width: 34ch; }
  .copy__ctas { order: 2; gap: 20px; }
  .cta { height: 48px; }
  .pane { right: 16px; left: auto; top: auto; width: min(280px, calc(100% - 32px)); padding: 15px 16px 16px; }
  .p-t { font-size: 14px; }
  .note { left: 20px; right: auto; top: 76px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .clip, .pane, .cal__slot, .crm__pill, .crm__pill span, .cursor, .hd, .hd::before { transition: none; }
  .pane { filter: none; translate: none; }
}
