/* ============================================================
   Dynamic Solutions Robotics — Stylesheet (v5 — white / blue)
   ============================================================ */

:root {
    /* Brand (logodan) */
    --navy: #17254a;
    --navy-deep: #13204a;
    --blue: #0a7cff;
    --blue-hi: #3d97ff;
    --blue-dark: #0063d6;
    --blue-soft: rgba(10, 124, 255, 0.08);

    /* Surfaces */
    --bg: #ffffff;
    --tint: #f2f7ff;
    --tint-2: #e6f0ff;
    --line: rgba(23, 37, 74, 0.10);
    --line-hi: rgba(23, 37, 74, 0.20);
    --text: #0e1a36;
    --text-mute: #4a5670;
    --text-dim: #7c869c;

    /* On navy (footer / video) */
    --on-dark-mute: rgba(255, 255, 255, 0.72);
    --on-dark-dim: rgba(255, 255, 255, 0.50);
    --dark-line: rgba(255, 255, 255, 0.14);

    --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

    --radius: 20px;
    --radius-sm: 12px;

    --header-h: 124px;
    --max: 1360px;
    --gutter: 40px;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, h5 {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ============================================================
   LAYOUT + TYPE
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: 140px 0; position: relative; background: var(--bg); }
.section--tint { background: var(--tint); }
/* two tinted sections in a row: keep them visibly separate */
.section--tint + .section--tint { border-top: 1px solid var(--line); }

.display {
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.98;
    color: var(--text);
}
.text-blue { color: var(--blue); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 124, 255, 0.28);
}
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline {
    color: var(--navy);
    border: 1.5px solid var(--line-hi);
    background: rgba(255, 255, 255, 0.7);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   HEADER — solid white bar, logo centred, tabs split left / right,
   blue active underline
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    color: var(--text);
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.header.is-solid { box-shadow: 0 8px 30px rgba(14, 26, 54, 0.08); }
.header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.brand__logo { height: 44px; width: auto; }
.brand__name {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--text-mute);
    padding-left: 16px;
    border-left: 1px solid var(--line-hi);
}
.brand__name > span { display: block; }

/* header: logo centred with the name underneath */
.header .brand {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    gap: 9px;
}
.header .brand__logo { height: 58px; }
.header .brand__name {
    font-size: 11px;
    letter-spacing: 0.26em;
    line-height: 1;
    white-space: nowrap;
    padding-left: 0;
    border-left: 0;
}
.header .brand__name > span { display: inline; }

/* desktop: the nav's two lists sit directly in the header grid */
.nav { display: contents; }
.nav__list { display: flex; align-items: center; gap: 48px; height: 100%; }
.nav__list--left  { grid-column: 1; grid-row: 1; justify-self: start; }
.nav__list--right { grid-column: 3; grid-row: 1; justify-self: end; }
.nav__list > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    font-size: 17.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    transition: color .2s var(--ease);
}
/* active / hover underline */
.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active,
.has-dropdown:hover > .nav__link,
.has-dropdown.is-open > .nav__link { color: var(--blue); }
.nav__link:hover::after,
.nav__link.is-active::after,
.has-dropdown:hover > .nav__link::after,
.has-dropdown.is-open > .nav__link::after { transform: scaleX(1); }
.nav__trigger svg {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}
.has-dropdown:hover .nav__trigger svg,
.has-dropdown.is-open .nav__trigger svg { transform: rotate(180deg); }

/* ---------- Dropdown ---------- */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 440px;
    padding: 10px;
    margin-top: 0;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(14, 26, 54, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
/* hover bridge so the menu stays open while moving into it */
.dropdown::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -12px;
    height: 12px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.dropdown__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: background .2s var(--ease);
}
.dropdown__item:hover { background: var(--tint); }
.dropdown__thumb {
    flex-shrink: 0;
    width: 88px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--tint);
}
.dropdown__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.dropdown__thumb--photo img {
    object-fit: cover;
    object-position: 50% 12%;
    mix-blend-mode: normal;
}
.dropdown__thumb--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}
.dropdown__thumb--icon svg { width: 30px; height: 30px; }
.dropdown__text { display: flex; flex-direction: column; gap: 4px; }
.dropdown__text strong { font-size: 15.5px; font-weight: 700; }
.dropdown__text small { font-size: 13px; color: var(--text-dim); line-height: 1.4; }
.dropdown__item:hover strong { color: var(--blue); }

/* ---------- Mobile toggle ---------- */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
}
.nav-toggle span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO — white / blue, product on the right
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 80px;
    overflow: hidden;
    background:
        radial-gradient(900px 600px at 72% 55%, rgba(10, 124, 255, 0.14), transparent 65%),
        linear-gradient(180deg, #ffffff 0%, var(--tint) 100%);
}
/* faint engineering grid */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 124, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 124, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 50%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 65% 50%, #000 20%, transparent 80%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: center;
}
.hero__title {
    font-size: clamp(48px, 6.8vw, 104px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: var(--text);
}
.hero__lead {
    margin-top: 20px;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--blue);
}
.hero__desc {
    margin-top: 16px;
    max-width: 440px;
    font-size: 17px;
    color: var(--text-mute);
}
.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}
.hero__visual {
    position: relative;
    margin-right: calc(var(--gutter) * -1);
}
.hero__img {
    width: 100%;
    height: auto;
    /* drops the render's white backdrop into the page background */
    mix-blend-mode: multiply;
    animation: heroIn 1.4s var(--ease) both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateX(40px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   SOLUTIONS — cards
   ============================================================ */
.intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 72px;
}
.intro p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-mute);
    max-width: 520px;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.tile {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.tile:hover {
    transform: translateY(-4px);
    border-color: rgba(10, 124, 255, 0.35);
    box-shadow: 0 30px 60px rgba(10, 124, 255, 0.14);
}
.tile__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--navy);
}
.tile__media--product { background: var(--tint); }
.tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* per-card crop of a shared photo: set --zoom / --focus inline */
    transform: scale(var(--zoom, 1));
    transform-origin: var(--focus, center);
    transition: transform 1s var(--ease);
}
.tile__media--product .tile__img {
    object-fit: contain;
    padding: 20px;
    mix-blend-mode: multiply;
}
.tile:hover .tile__img { transform: scale(calc(var(--zoom, 1) * 1.05)); }
.tile__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 30px 32px;
}
.tile h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text);
}
.tile p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-mute);
}

/* ============================================================
   SHARED SECTION PIECES
   ============================================================ */
.display--md { font-size: clamp(34px, 4.6vw, 64px); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.intro__text p + p { margin-top: 18px; }
.contact__sub {
    margin-top: 22px;
    max-width: 620px;
    font-size: 18px;
    color: var(--text-mute);
}

/* ============================================================
   PRODUCT / SUB PAGE
   ============================================================ */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 72px) 0 110px;
    overflow: hidden;
    background:
        radial-gradient(800px 600px at 78% 40%, rgba(10, 124, 255, 0.14), transparent 65%),
        linear-gradient(180deg, #ffffff 0%, var(--tint) 100%);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 124, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 124, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 80%);
    pointer-events: none;
}
.page-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 72px;
    align-items: center;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    font-size: 14px;
    color: var(--text-dim);
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--text-mute); }
.page-hero__title {
    font-size: clamp(42px, 5.4vw, 80px);
    letter-spacing: -0.045em;
    line-height: 0.98;
    color: var(--text);
}
.page-hero__lead {
    margin-top: 20px;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--blue);
}
.page-hero__desc {
    margin-top: 16px;
    max-width: 520px;
    font-size: 17.5px;
    color: var(--text-mute);
}
.page-hero__visual {
    position: relative;
    margin: 0;
    justify-self: center;
    width: min(100%, 440px);
}
.page-hero__visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 8%;
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(14, 26, 54, 0.18);
}
.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    box-shadow: 0 16px 36px rgba(14, 26, 54, 0.14);
    white-space: nowrap;
}
.float-chip--top { top: 32px; left: -48px; }
.float-chip--bottom { bottom: 40px; right: -36px; color: var(--blue); }
.float-chip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* page-hero variants */
.page-hero__title--xl { font-size: clamp(72px, 11vw, 160px); line-height: 0.9; }
.page-hero--product .page-hero__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.page-hero__visual--product { width: 100%; margin-right: calc(var(--gutter) * -1); }
.page-hero__visual--product img {
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    mix-blend-mode: multiply;
}
.page-hero__inner--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-hero__visual--landscape { width: 100%; }
.page-hero__visual--landscape img { aspect-ratio: 4 / 3; object-position: 55% 50%; }
.page-hero__desc strong { color: var(--text); }

/* stats band */
.stats-band {
    background: var(--navy);
    color: #fff;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}
.stat {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    padding: 48px 32px;
    border-left: 1px solid var(--dark-line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd {
    margin: 0;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}
.stat dd span {
    font-size: 0.42em;
    color: var(--blue-hi);
    margin-left: 4px;
    letter-spacing: 0;
}
.stat dt { font-size: 14px; color: var(--on-dark-mute); }

/* spec cards: 3 on the first row, 2 wider on the second */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
.spec-card {
    grid-column: span 2;
    padding: 34px 32px 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.spec-card:nth-child(4),
.spec-card:nth-child(5) { grid-column: span 3; }
.spec-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
    margin-bottom: 24px;
}
.spec-card__icon svg { width: 24px; height: 24px; }
.spec-card h3 { font-size: 22px; margin-bottom: 18px; color: var(--text); }
.spec-list { display: grid; gap: 10px; }
.spec-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--text-mute);
}
.spec-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 2px;
    border-radius: 1px;
    background: var(--blue);
}

/* video */
.video-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 60px;
    align-items: end;
}
.video-block__text p {
    margin-top: 18px;
    font-size: 17px;
    color: var(--text-mute);
    max-width: 340px;
}
.video-block__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 30px 70px rgba(14, 26, 54, 0.16);
}
.video-block__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* service band */
.service-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.service-band__media img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
.service-band__content p {
    margin-top: 24px;
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--text-mute);
}

/* two-up tiles */
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--2 .tile__media { aspect-ratio: 16 / 10; }

/* steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: none;
}
.step {
    position: relative;
    padding: 36px 32px 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.step__num {
    position: absolute;
    top: 30px;
    right: 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dim);
}
.step__icon,
.feature-card__icon,
.report-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
    margin-bottom: 26px;
}
.step__icon svg,
.feature-card__icon svg,
.report-card__icon svg { width: 24px; height: 24px; }
.step h3,
.feature-card h3,
.report-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}
.step p,
.feature-card p,
.report-card p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-mute);
}

/* split: photo + feature cards */
.split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
}
.split__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 6%;
    border-radius: var(--radius);
}
.split__content { display: grid; gap: 20px; }
.feature-card {
    padding: 36px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover {
    border-color: rgba(10, 124, 255, 0.35);
    box-shadow: 0 24px 50px rgba(10, 124, 255, 0.10);
}

/* browser-framed screenshot */
.browser {
    margin: 0 0 40px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0b1222;
    border: 1px solid var(--line);
    box-shadow: 0 40px 90px rgba(14, 26, 54, 0.20);
}
.browser__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.browser__bar > span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--line-hi);
}
.browser__url {
    flex: 1;
    max-width: 360px;
    margin: 0 auto;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--tint);
    font-size: 12.5px;
    color: var(--text-dim);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.browser img { width: 100%; height: auto; }
.browser figcaption {
    padding: 14px 20px;
    font-size: 13.5px;
    color: var(--text-dim);
    background: #fff;
    border-top: 1px solid var(--line);
}

/* reports */
.report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.report-card {
    padding: 32px 28px 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.report-card h3 { font-size: 20px; }

/* ============================================================
   CONTACT — directory
   ============================================================ */
.contact__head { margin-bottom: 64px; }
.contact__head .display { max-width: 16ch; }
.directory { border-top: 1px solid var(--line-hi); }
.directory__row {
    display: grid;
    grid-template-columns: 240px 1fr 48px;
    gap: 24px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-hi);
}
.directory__label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.directory__value {
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text);
    transition: color .25s var(--ease);
}
.directory__value--sm { font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -0.01em; font-weight: 500; }
.directory__arrow {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--blue);
    background: var(--blue-soft);
    transition: transform .3s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.directory__row:hover .directory__value { color: var(--blue); }
.directory__row:hover .directory__arrow { color: #fff; background: var(--blue); transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy-deep);
    color: #fff;
    padding: 88px 0 32px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 64px;
}
.footer .brand__name { color: var(--on-dark-mute); border-left-color: var(--dark-line); }
.footer__slogan {
    margin-top: 22px;
    font-size: 15px;
    color: var(--blue-hi);
    font-weight: 500;
}
.footer__col h5 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-dark-dim);
    margin-bottom: 20px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
    font-size: 14.5px;
    color: var(--on-dark-mute);
    transition: color .2s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--dark-line);
    font-size: 13px;
    color: var(--on-dark-dim);
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(19, 32, 74, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal[hidden] { display: none; }
.modal__frame {
    width: min(1200px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 48px;
    height: 48px;
    font-size: 34px;
    line-height: 1;
    color: #fff;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .nav__list { gap: 32px; }
    .nav__link { font-size: 16px; }
}

@media (max-width: 1100px) {
    :root { --gutter: 28px; }
    .report-grid { grid-template-columns: 1fr 1fr; }
    .page-hero__inner { gap: 48px; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .spec-card, .spec-card:nth-child(4) { grid-column: auto; }
    .spec-card:nth-child(5) { grid-column: 1 / -1; }
    .tiles--2 .tile:first-child { grid-column: auto; }
    .tiles--2 .tile:first-child .tile__media { aspect-ratio: 16 / 10; }
    .float-chip--top { left: -20px; }
    .float-chip--bottom { right: -16px; }
    .section { padding: 112px 0; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .tiles .tile:first-child { grid-column: 1 / -1; }
    .tiles .tile:first-child .tile__media { aspect-ratio: 16 / 7; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    :root { --header-h: 96px; }
    .header__inner { display: flex; justify-content: space-between; }
    /* back to the compact side-by-side logo */
    .header .brand { flex-direction: row; gap: 16px; }
    .header .brand__logo { height: 44px; }
    .header .brand__name {
        font-size: 10.5px;
        letter-spacing: 0.18em;
        line-height: 1.4;
        white-space: normal;
        padding-left: 16px;
        border-left: 1px solid var(--line-hi);
    }
    .header .brand__name > span { display: block; }
    .nav {
        display: flex;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px var(--gutter) 40px;
        overflow-y: auto;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s var(--ease), visibility .3s;
    }
    .nav.is-open { opacity: 1; visibility: visible; }
    /* backdrop-filter would make the header the containing block of the fixed menu */
    .header.is-menu {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
    .nav__list > li { display: block; height: auto; }
    .nav__link::after { display: none; }
    .nav__link {
        display: flex;
        text-transform: none;
        justify-content: space-between;
        width: 100%;
        padding: 18px 0;
        font-size: 26px;
        font-weight: 700;
        letter-spacing: -0.03em;
        color: var(--text);
        border-bottom: 1px solid var(--line);
    }
    .nav__trigger svg { width: 22px; height: 22px; }
    .has-dropdown:hover .nav__trigger svg { transform: none; }
    .has-dropdown.is-open .nav__trigger svg { transform: rotate(180deg); }

    /* dropdown becomes an accordion */
    .dropdown,
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        position: static;
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .has-dropdown.is-open .dropdown { display: block; transform: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
    .dropdown::before { display: none; }
    .dropdown__item { padding: 10px 0; }
    .dropdown__item:hover { background: none; }
    .dropdown__thumb { width: 72px; height: 52px; }
}

@media (max-width: 900px) {
    .page-hero { padding: calc(var(--header-h) + 40px) 0 80px; }
    .page-hero__inner,
    .page-hero--product .page-hero__inner,
    .page-hero__inner--wide { grid-template-columns: 1fr; }
    .page-hero__visual--product { margin: 0; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 36px 24px; }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
    .video-block, .service-band { grid-template-columns: 1fr; gap: 32px; }
    .page-hero__visual { width: min(100%, 380px); }
    .steps { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split__media { max-width: 420px; }
    .hero { min-height: auto; padding: calc(var(--header-h) + 48px) 0 72px; }
    .hero__inner { grid-template-columns: 1fr; gap: 24px; }
    .hero__visual { margin: 0 calc(var(--gutter) * -0.5); }

    .intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
    .directory__row { grid-template-columns: 1fr 44px; gap: 8px 16px; }
    .directory__label { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; --header-h: 80px; }
    .section { padding: 88px 0; }
    .header .brand__logo { height: 36px; }
    .header .brand { gap: 12px; }
    .header .brand__name { font-size: 9.5px; padding-left: 12px; }
    .hero__ctas .btn { flex: 1 1 auto; }
    .tiles { grid-template-columns: 1fr; }
    .tiles .tile:first-child .tile__media { aspect-ratio: 4 / 3; }
    .tile__body { padding: 24px; }
    .report-grid { grid-template-columns: 1fr; }
    .spec-grid, .tiles--2 { grid-template-columns: 1fr; }
    .spec-card:nth-child(5) { grid-column: auto; }
    .spec-card { padding: 28px 24px; }
    /* keep the chip off the monitor in the photo */
    .float-chip--top { left: 12px; top: auto; bottom: 16px; }
    .float-chip--bottom { display: none; }
    .step, .feature-card, .report-card { padding: 28px 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
