/* Cassone design system: components. Only what the home page uses, each with its states.
   Needs tokens.css and base.css first. */

/* Button. Square, 2 px border, Eurostile Demi in capitals.
   Use when: any call to action. Not when: a link inside running text (use a plain link).
   Variants (all measured): primary skyline with nightfall border; yellow (the quote button); white; outline on dark;
   nightfall; nightfall with white border (on the dark logo strip). Hover: primary turns denim; yellow deepens;
   white turns smoke; dark ones turn midnight. Focus: the base ring. Disabled: half opacity. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px 12px;
  border: var(--rule); border-radius: var(--radius);
  background: var(--color-skyline); color: var(--color-paper);
  font-family: var(--font-display); font-weight: 600; font-size: var(--size-label); line-height: var(--leading-label);
  text-transform: uppercase; text-decoration: none; text-align: center;
  transition: background-color var(--ease-button), color var(--ease-button), border-color var(--ease-button);
  cursor: pointer;
}
.btn:hover { background: var(--color-denim); border-color: var(--color-nightfall); color: var(--color-paper); }
.btn--yellow { background: var(--color-yellow); color: var(--color-nightfall); }
.btn--yellow:hover { background: var(--color-yellow-hover); color: var(--color-nightfall); }
.btn--white { background: var(--color-paper); color: var(--color-nightfall); }
.btn--white:hover { background: var(--color-smoke); color: var(--color-nightfall); }
.btn--outline { background: transparent; border-color: var(--color-paper); color: var(--color-paper); }
.btn--outline:hover { background: var(--color-midnight); border-color: var(--color-paper); }
.btn--night { background: var(--color-nightfall); border-color: transparent; color: var(--color-paper); }
.btn--night:hover { background: var(--color-midnight); border-color: transparent; }
.btn--night-ring { background: var(--color-nightfall); border-color: var(--color-paper); color: var(--color-paper); }
.btn--night-ring:hover { background: var(--color-midnight); border-color: var(--color-paper); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (max-width: 767px) { .btn { padding: 11px 20px 10px; line-height: var(--leading-tight); } .hero__btns .btn, .cta__btns .btn { padding: 12px 20px 13px; } }
@media (max-width: 640px) { .btn--block-phone { width: 100%; } }

/* Top bar. Skyline strip with the sitewide message on the left and the white utility links on the right.
   Use when: the first thing on every page. Not when: anywhere else. States: link hover turns yellow (message) or skyline (utility). */
.topbar { display: flex; background: var(--color-skyline); color: var(--color-paper); border-bottom: var(--rule); }
.topbar__msg { flex: 1 0 0; display: flex; align-items: flex-start; gap: 8px; padding: 8px 8px 8px var(--space-xl); }
.topbar__msg img { width: 18px; height: 18px; flex: none; }
.topbar__msg a { color: var(--color-paper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.topbar__msg a:hover { color: var(--color-yellow); }
.topbar__links { flex: none; display: flex; align-items: center; gap: var(--space-s); padding: 7px var(--space-s); background: var(--color-paper); border-left: var(--rule); }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; line-height: 1.3; color: var(--color-nightfall); text-decoration: none; }
.topbar__links a:hover { color: var(--color-skyline); }
.topbar__links img { width: 18px; height: 18px; }
.topbar__msg p { line-height: 1.3; }
.topbar__links .icon-dot { background: #1e2e33; border-radius: 50%; padding: 1px; }
@media (max-width: 992px) { .topbar { flex-wrap: wrap; } .topbar__links { flex-wrap: wrap; justify-content: center; padding: 10px; row-gap: 10px; } }
@media (max-width: 767px) {
  .topbar__msg { flex: 100% 0 0; padding: 15px 14px 12px; border-bottom: var(--rule); }
  .topbar__links { flex: 100% 0 0; border-left: 0; font-size: 14px; padding: 10px 10px 8px; row-gap: 8px; }
  .topbar__links img { width: 16px; height: 16px; }
}

/* Site header. Wordmark left, capitals nav, the yellow quote block at the far right behind a 2 px rule.
   Use when: every page. Not when: inside a band. States: nav link hover and the current page get a 2 px nightfall underline;
   under 1200 wide the nav folds behind a three-line menu button that turns into a cross when open (aria-expanded). */
.site-header { position: relative; z-index: 20; background: var(--color-paper); border-bottom: var(--rule); }
.site-header__bar { display: flex; align-items: stretch; min-height: 96px; }
.site-header__logo { display: flex; align-items: center; padding-left: var(--gutter); }
.site-header__logo img { width: 209px; height: auto; }
.site-nav { flex: 1 0 0; display: flex; justify-content: flex-end; padding-right: 18px; }
.site-nav ul { display: flex; align-items: center; }
.site-nav a {
  position: relative; display: inline-block; padding: 7px 18px 4px;
  color: var(--color-nightfall); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--size-label); line-height: var(--leading-label); text-transform: uppercase;
}
.site-nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--color-nightfall); opacity: 0; transition: opacity var(--ease-ui); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { opacity: 1; }
.site-header__quote { display: flex; border-left: var(--rule); }
.site-header__quote .btn { border: 0; height: 100%; padding: 14px 24px 12px; }
.site-header__phone-quote, .menu-btn { display: none; }
.menu-btn { width: 44px; height: 44px; margin: -6px -8px -6px 0; align-items: center; justify-content: center; }
.menu-btn span { position: relative; display: block; width: 28px; height: 2px; background: var(--color-nightfall); transition: transform var(--ease-ui), background-color var(--ease-ui); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 28px; height: 2px; background: var(--color-nightfall); transition: transform var(--ease-ui); }
.menu-btn span::before { top: -8px; } .menu-btn span::after { top: 8px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(8px) rotate(-45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(45deg); }
@media (max-width: 1200px) {
  .site-header__bar { min-height: 0; align-items: center; padding: 23px 20px 22px; gap: 5px; }
  .site-header__logo { padding-left: 0; flex: 1 0 0; }
  .site-header__logo img { width: 128px; }
  .site-header__quote { display: none; }
  .site-header__phone-quote { display: block; margin-right: 16px; }
  .site-header__phone-quote .btn { padding: 8px 12px 7px; font-size: var(--size-xs); }
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 0 20px 20px; background: var(--color-paper); border-bottom: var(--rule); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .site-nav a { padding: 24px 0 21px; font-size: var(--size-nav-mobile); line-height: var(--leading-heading); }
  .site-nav a::after { display: none; }
}

/* Home hero. Sky surface: a project tag, the project photo, the title set in white boxes with a 2 px nightfall rule
   (the site's signature move), a row of buttons, the WBE seal; beside it a scrolling list of product categories.
   Use when: the home page only. Not when: an inner page. States: product row hover turns its title skyline;
   on phones the list hides and the photo sits between the tag and the title. */
.hero { background: var(--color-sky); border-bottom: var(--rule); }
.hero__row { display: flex; }
.hero__main { position: relative; flex: 1 0 0; display: flex; flex-direction: column; min-height: 598px; padding: var(--space-3xl) var(--gutter) 0; }
.hero__tag { position: relative; z-index: 2; align-self: flex-start; padding: 4px 8px 5px; background: var(--color-skyline); color: var(--color-paper); text-transform: uppercase; }
.hero__photo { position: absolute; z-index: 1; top: 66px; right: 20px; width: 673px; height: 441px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__bottom { position: relative; z-index: 2; margin-top: auto; padding-bottom: var(--space-3xl); }
.hero__title { max-width: 590px; margin: 0 0 var(--space-3xl); font-size: var(--size-h1); }
.hero__title span { display: inline-block; margin-bottom: -2px; padding: 0 7px; background: var(--color-paper); border: var(--rule); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 15px 20px; }
.hero__seal { position: absolute; z-index: 2; right: -10px; bottom: 20px; width: 123px; height: 63px; }
.hero__seal img { width: 100%; height: 100%; object-fit: contain; }
.arrow-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(40px, calc(2.5rem + (1vw - 7.68px) * 1.7182), 50px); height: clamp(40px, calc(2.5rem + (1vw - 7.68px) * 1.7182), 50px);
  background: var(--color-paper); border: var(--rule); transition: background-color var(--ease-ui);
}
.arrow-btn::after { content: ""; width: 16px; height: 16px; background: url("/assets/img/arrow-right.svg") center / contain no-repeat; }
.arrow-btn--prev::after { transform: scale(-1); }
.arrow-btn:hover { background: var(--color-smoke); }
.arrow-btn:disabled { opacity: .5; cursor: default; }
.arrow-btn + .arrow-btn { margin-left: -2px; }

.product-list { flex: 382px 0 0; height: 598px; overflow-y: auto; padding-right: 7px; background: var(--color-paper); border-left: var(--rule); scrollbar-color: var(--color-nightfall) transparent; scrollbar-width: thin; }
.product-list li:not(:last-child) { border-bottom: var(--rule-thin); }
.product-list a { display: flex; align-items: center; min-height: 87px; padding: 8px 8px 8px var(--space-m); gap: var(--space-m); text-decoration: none; color: var(--color-void); }
.product-list img { width: 70px; height: 70px; object-fit: contain; flex: none; }
.product-list span { font-family: var(--font-display); font-weight: 600; font-size: var(--size-body); line-height: var(--leading-label); }
.product-list a:hover span { color: var(--color-skyline); }
@media (max-width: 1200px) { .product-list { flex-basis: 350px; } .hero__photo { width: auto; left: var(--gutter); } }
@media (max-width: 992px) {
  .product-list { display: none; }
  .hero__main { min-height: 0; padding: 18px var(--gutter-phone) 0; }
  .hero__photo { position: static; width: auto; height: clamp(219px, calc(13.6875rem + (1vw - 3.2px) * 16.369), 329px); margin-top: 29px; }
  .hero__bottom { margin-top: 0; padding-bottom: var(--space-3xl); }
  .hero__seal { top: -65px; right: 0; bottom: auto; width: 85px; height: 44px; }
  .hero__photo + .hero__bottom { margin-top: 16px; }
  .hero__btns { max-width: 460px; }
}
@media (max-width: 767px) { .hero__tag { padding: 5px 8px 3px; } .hero__title { line-height: var(--leading-label); } }
@media (max-width: 640px) { .hero__btns .btn { width: 100%; } }

/* Logo strip. "Trusted by" with client logos in white on the dark gradient, and a button at the end.
   Use when: proof from named clients right under the hero. Not when: fewer than four logos.
   States: the row scrolls sideways on narrow screens (no autoplay, so nothing moves on its own). */
.logo-strip { padding: 34px 0; }
.logo-strip__row { display: flex; align-items: center; }
.logo-strip__left { flex: 1 0 0; display: flex; align-items: center; gap: 55px; min-width: 0; }
.logo-strip__title { flex: 104px 0 0; text-transform: uppercase; }
.logo-strip__logos { flex: 1 0 0; display: flex; align-items: center; justify-content: space-between; gap: 44px; min-width: 0; }
.logo-strip__logos li { flex: 0 1 auto; min-width: 0; }
.logo-strip__logos img { max-height: 64px; width: auto; max-width: min(100%, clamp(172px, calc(10.75rem + (1vw - 7.68px) * 2.921), 189px)); object-fit: contain; }
.logo-strip__cta { flex: 174px 0 0; margin-left: 54px; }
.logo-strip__cta .btn { width: 100%; }
@media (max-width: 1200px) { .logo-strip__left { gap: 30px; } .logo-strip__cta { margin-left: 24px; } .logo-strip__logos img { max-height: 50px; } }
@media (max-width: 992px) {
  .logo-strip__row { flex-wrap: wrap; justify-content: center; }
  .logo-strip__left { flex: 100% 0 0; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .logo-strip__title { flex: 100% 0 0; text-align: center; }
  .logo-strip__logos { flex: 100% 0 0; justify-content: flex-start; gap: 30px; overflow-x: auto; scrollbar-width: none; }
  .logo-strip__logos li { flex: none; }
  .logo-strip__logos img { max-height: 50px; max-width: none; }
  .logo-strip__cta { flex: 100% 0 0; margin: 30px 0 0; }
}
@media (max-width: 767px) { .logo-strip { padding: 20px 0 30px; } }

/* Action tiles. A row of square-cornered tiles, each a whole link: icon, then a capitals title in nightfall.
   Use when: the main things a visitor comes to do. Not when: more than five actions.
   States: hover and focus fill the tile with sky. Phones: icon left, title right, one tile per row. */
.tiles { display: flex; flex-wrap: wrap; gap: clamp(20px, calc(1.25rem + (1vw - 7.68px) * 2.7491), 36px); }
.tile {
  display: block; flex: calc(50% - 14px) 0 0; text-align: center; text-decoration: none;
  padding: 30px clamp(16px, calc(1rem + (1vw - 7.68px) * 2.4055), 30px) clamp(30px, calc(1.875rem + (1vw - 7.68px) * 1.0309), 36px);
  background: var(--color-paper); border: var(--rule); color: var(--color-nightfall);
  transition: background-color var(--ease-ui);
}
.tile:hover, .tile:focus-visible { background: var(--color-sky); color: var(--color-nightfall); }
.tile img { width: clamp(48px, calc(3rem + (1vw - 7.68px) * 2.0619), 60px); height: clamp(48px, calc(3rem + (1vw - 7.68px) * 2.0619), 60px); margin: 0 auto var(--space-l); object-fit: contain; }
.tile__title { font-family: var(--font-display); font-weight: 600; font-size: var(--size-label-xl); line-height: var(--leading-label); text-transform: uppercase; }
@media (min-width: 992px) { .tile { flex-basis: calc(33% - 18px); } }
@media (min-width: 1200px) { .tiles { gap: 25px; } .tile { flex-basis: calc(20% - 20px); } }
@media (max-width: 767px) {
  .tile { flex-basis: 100%; display: flex; gap: 20px; text-align: left; }
  .tile img { flex: 48px 0 0; margin: 0; align-self: center; }
  .tile__title { flex: 1 0 0; }
}

/* Feature band with product teaser. Full-bleed row: a yellow column with the band title and button, four icon features
   on paper, and a product card on the right with its own arrows. Rules of 2 px nightfall separate the three.
   Use when: the company's promises next to one product. Not when: more than four features.
   States: product arrows step through products (disabled at the ends); under 1200 wide the product card hides;
   on phones the yellow column sits on top with the button beside the title, and the feature descriptions hide. */
.features { display: flex; border-bottom: var(--rule); }
.features__lead { flex: clamp(332px, calc(20.75rem + (1vw - 12px) * 33.3333), 382px) 0 0; padding: var(--space-4xl) 30px var(--space-4xl) 50px; background: var(--color-yellow); border-right: var(--rule); }
.features__lead h2 { margin-bottom: var(--space-2xl); }
.features__list { flex: 1 0 0; padding: var(--space-4xl) var(--space-3xl); display: flex; flex-direction: column; gap: var(--space-3xl); }
.feature { display: flex; align-items: center; gap: var(--space-m); }
.feature__icon { align-self: flex-start; flex: none; display: flex; align-items: center; justify-content: center; width: clamp(48px, calc(3rem + (1vw - 7.68px) * 1.3746), 56px); height: clamp(48px, calc(3rem + (1vw - 7.68px) * 1.3746), 56px); background: var(--color-sky); border: var(--rule-thin); }
.feature__icon img { width: clamp(28px, calc(1.75rem + (1vw - 7.68px) * .6873), 32px); height: clamp(28px, calc(1.75rem + (1vw - 7.68px) * .6873), 32px); object-fit: contain; }
.feature h3 { font-size: var(--size-label-2xl); line-height: var(--leading-label); }
.feature p { color: var(--text-muted); font-size: var(--size-body); line-height: var(--leading-label); }
.product-teaser { flex: clamp(353px, calc(22.0625rem + (1vw - 12px) * 20), 383px) 0 0; min-width: 0; display: flex; flex-direction: column; border-left: var(--rule); }
.product-teaser__slide { display: none; }
.product-teaser__slide.is-current { display: block; }
.product-teaser__image { position: relative; height: 333px; padding: 30px 32px; background: var(--color-sky); border-bottom: var(--rule); }
.product-teaser__image img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.product-teaser__image .btn { position: absolute; left: 24px; bottom: 30px; }
.product-teaser__title { padding: var(--space-l) 20px var(--space-2xl) 24px; min-height: 140px; }
.product-teaser__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 0 28px var(--space-2xl) 24px; }
.product-teaser__foot .arrows { margin-left: auto; }
@media (max-width: 1200px) { .product-teaser { display: none; } }
@media (max-width: 992px) { .features__lead { flex-basis: 282px; padding-inline: 20px; } .features__list { padding-inline: 20px; } }
@media (max-width: 767px) {
  .features { flex-wrap: wrap; border-bottom: 0; }
  .features__lead { flex: 100% 0 0; display: flex; align-items: flex-start; gap: 0; padding: var(--space-4xl) 20px; border-right: 0; border-bottom: var(--rule); }
  .features__lead h2 { flex: 1 0 0; margin: 0; }
  .features__list { flex: 100% 0 0; padding: var(--space-4xl) 20px; }
  .feature p { display: none; }
  .feature h3 { max-width: 183px; }
}

/* Testimonials. Three cards on the skyline band: photo with the yellow quote mark at its foot, the client's name,
   the quote word for word with "Cassone" in bold, then the person with their logo, name and title.
   Use when: quotes from named clients. Not when: the quote cannot be attributed.
   States: on phones the cards scroll sideways, one and a bit in view, snapping to each card. */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 40px; padding: var(--space-4xl) 0; }
.quote { display: flex; flex-direction: column; color: var(--color-paper); }
.quote__photo { position: relative; }
.quote__photo > img { width: 100%; height: clamp(172px, calc(10.75rem + (1vw - 7.68px) * 15.1203), 260px); object-fit: cover; }
.quote__mark { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: clamp(34px, calc(2.125rem + (1vw - 7.68px) * 1.0309), 40px); height: clamp(34px, calc(2.125rem + (1vw - 7.68px) * 1.0309), 40px); background: var(--color-yellow); border: var(--rule-thin); }
.quote__mark img { width: 20px; height: 20px; filter: brightness(0) saturate(100%) invert(15%) sepia(7%) saturate(5615%) hue-rotate(184deg) brightness(90%) contrast(102%); }
.quote__client { margin: var(--space-l) 0; font-family: var(--font-display); font-weight: 600; font-size: var(--size-label-xl); line-height: var(--leading-label); }
.quote blockquote { margin: 0 0 var(--space-2xl); font-size: var(--size-body); line-height: var(--leading-body); }
.quote strong { font-weight: 700; }
.quote__person { display: flex; align-items: center; gap: clamp(12px, calc(.75rem + (1vw - 7.68px) * .6873), 16px); }
.quote__person img { align-self: flex-start; width: clamp(44px, calc(2.75rem + (1vw - 7.68px) * .6873), 48px); height: clamp(44px, calc(2.75rem + (1vw - 7.68px) * .6873), 48px); object-fit: cover; }
.quote__name { font-family: var(--font-display); font-weight: 600; font-size: var(--size-label); line-height: var(--leading-label); text-transform: uppercase; }
.quote__role { font-size: var(--size-label); line-height: var(--leading-label); }
.quote .quote__person { flex-wrap: nowrap; }
@media (max-width: 1200px) and (min-width: 992px) { .quotes { gap: 30px; } }
@media (max-width: 991px) {
  .quotes { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-50vw + 50%); }
  .quote { flex: 0 0 100cqi; scroll-snap-align: start; }
}

/* Split: image beside text. Two measured variants. Framed: a framed photo on the left behind a 2 px rule, an eyebrow tag,
   title, muted text and button on the right. Full: text on the left, a photo filling the right half to the window edge.
   Use when: one story with one picture. Not when: the text runs longer than a short paragraph.
   States: on phones the photo goes on top and the text follows; the framed variant's tag moves onto the photo. */
.eyebrow { display: inline-flex; padding: 3px 8px; background: var(--color-yellow); color: var(--color-void); font-family: var(--font-display); font-weight: 600; font-size: var(--size-xs); line-height: var(--leading-label); text-transform: uppercase; }
.split { display: flex; }
.split--framed { justify-content: center; }
.split--framed .split__media { flex: 672px 0 0; position: relative; padding: var(--space-3xl) clamp(20px, calc(1.25rem + (1vw - 7.68px) * 5.4983), 52px) 0 0; border-right: var(--rule); }
.split--framed .split__media img { width: 100%; height: clamp(217px, calc(13.5625rem + (1vw - 7.68px) * 31.4433), 400px); object-fit: cover; }
.split--framed .split__media .eyebrow { display: none; }
.split--framed .split__text { flex: 1 0 0; padding: var(--space-3xl) 23px var(--space-5xl) clamp(20px, calc(1.25rem + (1vw - 7.68px) * 5.1546), 50px); }
.split__text h2 { margin: var(--space-xl) 0 var(--space-m); }
.split__text p { margin-bottom: var(--space-2xl); max-width: 471px; }
.split--full { min-height: clamp(257px, calc(16.0625rem + (1vw - 7.68px) * 40.5498), 493px); }
.split--full .split__text { flex: 1 0 0; padding: var(--space-5xl) clamp(20px, calc(1.25rem + (1vw - 7.68px) * 9.2784), 74px) var(--space-5xl) 0; max-width: 546px; }
.split--full .split__text h2 { margin-top: 0; }
.split--full .split__text p { max-width: none; }
.split--full .split__media { flex: 0 0 50vw; margin-left: auto; margin-right: calc(-50vw + 50%); border-left: var(--rule); }
.split--full .split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .split { flex-direction: column; }
  .split--framed .split__media { flex: none; padding: var(--space-4xl) 0 0; border-right: 0; }
  .split--framed .split__media .eyebrow { bottom: auto; top: calc(var(--space-4xl) + clamp(217px, calc(13.5625rem + (1vw - 7.68px) * 31.4433), 400px) - 24px); }
  .split--framed .split__media .eyebrow { display: inline-flex; position: absolute; left: 0; bottom: 0; }
  .split--framed .split__text { padding: var(--space-l) 0 var(--space-4xl); }
  .split--framed .split__text > .eyebrow { display: none; }
  .split__text h2 { margin-top: 0; }
  .split--full { flex-direction: column-reverse; }
  .split--full .split__media { flex: none; margin: 0 calc(-1 * var(--gutter-phone)); height: 257px; border-left: 0; border-bottom: var(--rule); }
  .split--full .split__text { padding: var(--space-4xl) 0; max-width: none; }
  .split--full .split__text .btn { width: 100%; }
}

/* Carousel. A row of slides that steps one slide at a time with the square arrow pair; the slide after the current one
   peeks in at the edge. Two measured slide types: industry cards (sky card, icon, capitals title) and video posters
   (framed poster with the round nightfall play button). Use when: a set of like items. Not when: there are two or fewer.
   States: arrow hover turns smoke, the arrow at either end is disabled at half opacity; card hover lightens to half white;
   play button hover turns skyline; nothing moves on its own. */
.carousel { position: relative; container-type: inline-size; }
.carousel__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-right: calc(-50vw + 50%); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { flex: 0 0 100cqi; scroll-snap-align: start; }
.carousel__head { container-type: normal;  display: flex; align-items: center; justify-content: space-between; gap: clamp(45px, calc(2.8125rem + (1vw - 7.68px) * 2.921), 62px); margin-bottom: var(--space-3xl); }
.carousel__head h2 { margin: 0; }
.arrows { display: flex; flex: none; }

.industry-card { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: var(--space-xl) 12px var(--space-2xl); text-align: center; background: var(--color-sky); border: var(--rule); color: var(--color-nightfall); text-decoration: none; transition: background-color var(--ease-ui); }
.industry-card:hover { background: rgba(255, 255, 255, .5); color: var(--color-nightfall); }
.industry-card img { width: clamp(38px, calc(2.375rem + (1vw - 7.68px) * 3.7801), 60px); height: clamp(38px, calc(2.375rem + (1vw - 7.68px) * 3.7801), 60px); margin: 0 auto var(--space-s); object-fit: contain; }
.industry-card span { font-family: var(--font-display); font-weight: 600; font-size: var(--size-body); line-height: var(--leading-label); text-transform: uppercase; }

.video-card { position: relative; height: clamp(177px, calc(11.0625rem + (1vw - 7.68px) * 64.0893), 550px); border: var(--rule); background: var(--color-yellow); }
.video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: clamp(58px, calc(3.625rem + (1vw - 7.68px) * 5.8419), 98px); height: clamp(58px, calc(3.625rem + (1vw - 7.68px) * 5.8419), 98px); border-radius: 50%; background: var(--color-nightfall); border: 3px solid var(--color-paper); box-shadow: 0 0 0 2px var(--color-nightfall); transition: background-color var(--ease-ui); }
.video-card__play:hover { background: var(--color-skyline); }
.video-card__play img { width: 22%; height: auto; margin-left: 4%; }
.carousel--video .arrows { position: absolute; top: 0; bottom: 0; left: calc(-50vw + 50%); width: 100vw; display: flex; align-items: center; justify-content: space-between; pointer-events: none; padding: 0 0; }
.carousel--video .arrow-btn { pointer-events: auto; }
@media (max-width: 767px) {
  .industry-card { padding: 16px 5px 16px 10px; text-align: left; }
  .industry-card img { margin-left: 0; }
  .industry-card span { font-size: 14px; }
}

/* Closing call to action. On the dark gradient: the yellow display line, a white capitals line under it, three buttons
   (yellow, white, outline). Use when: the end of every page, above the footer. Not when: anywhere mid-page.
   States: the buttons' own; on phones the buttons stack full width. */
.cta { padding: var(--space-4xl) 0; text-align: center; border-bottom: 2px solid var(--color-paper); }
.cta__title { margin: 0 0 var(--space-xs); color: var(--color-yellow); font-size: var(--size-display); }
.cta__sub { margin: 0 0 var(--space-3xl); color: var(--color-paper); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
@media (max-width: 640px) { .cta__btns { flex-direction: column; gap: 16px; } .cta__btns .btn { width: 100%; } }

/* Footer with newsletter form. On the dark gradient: the newsletter sign-up on the left, Company and Connect columns on
   the right, a 2 px white rule, then the copyright line and legal links.
   Use when: every page. Not when: anywhere else.
   States: links underline on hover; social circles turn yellow on hover; fields lose their fill on focus and show the
   ring; a field the platform names as wrong gets a yellow border (aria-invalid); the status line beside the button
   says sending, sent or not sent. On phones the columns stack and the fields and button go full width. */
.site-footer__main { padding: var(--space-4xl) 0; }
.site-footer__cols { display: flex; justify-content: space-between; column-gap: 40px; }
.site-footer__news { flex: 0 0 380px; }
.site-footer__links { flex: 0 0 400px; display: grid; grid-template-columns: repeat(2, 1fr); }
.footer-title { margin-bottom: var(--space-m); font-family: var(--font-display); font-weight: 600; font-size: var(--size-body); line-height: var(--leading-label); text-transform: uppercase; }
.site-footer__news > p:not(.footer-title) { margin-bottom: var(--space-2xl); font-size: var(--size-label); line-height: var(--leading-label); }
.site-footer a:not(.btn) { color: var(--color-paper); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--color-paper); text-decoration: underline; }
.site-footer__links li { margin-bottom: 24px; font-size: var(--size-label); line-height: var(--leading-label); }
.site-footer__links li:last-child { margin-bottom: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-paper); transition: background-color var(--ease-ui); }
.socials a:hover { background: var(--color-yellow); }
.socials svg { width: 14px; height: 14px; }
.site-footer__bottom { padding: var(--space-xl) 0; border-top: 2px solid var(--color-paper); display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 40px; font-size: var(--size-label); line-height: var(--leading-label); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px 24px; }

.form-dark { display: flex; flex-direction: column; gap: 20px; max-width: 380px; }
.form-dark__pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-dark input[type="text"], .form-dark input[type="email"] {
  width: 100%; padding: 13px 16px; border: 1px solid transparent; border-radius: 0;
  background: var(--color-field-on-dark); color: var(--color-paper); font-size: var(--size-label); line-height: var(--leading-label);
}
.form-dark input::placeholder { color: var(--color-placeholder-on-dark); opacity: 1; }
.form-dark input:focus { background: transparent; border-color: var(--color-paper); outline: 2px solid var(--color-yellow); outline-offset: 2px; }
.form-dark [aria-invalid="true"] { border-color: var(--color-yellow); }
.form-dark__consent { display: flex; align-items: center; gap: 12px; font-size: var(--size-label); line-height: var(--leading-label); }
.form-dark__consent input { appearance: none; flex: none; width: 18px; height: 18px; margin: 0; background: var(--color-paper); border: 1px solid var(--color-paper); cursor: pointer; }
.form-dark__consent input:checked { background: var(--color-paper) url("/assets/img/checkmark.svg") center / 12px no-repeat; }
.form-dark__consent input:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 2px; }
.form-dark__consent label { cursor: pointer; }
.form-dark__note { margin-top: -8px; font-size: var(--size-label); line-height: var(--leading-label); }
.form-dark__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 4px; }
.form-dark__foot .btn { min-height: 40px; padding: 9px 15px 10px; background: var(--color-paper); color: var(--color-nightfall); border-color: var(--color-nightfall); font-size: var(--size-xs); }
.form-dark__foot .btn:hover { background: var(--color-smoke); color: var(--color-nightfall); }
.form-status { font-size: var(--size-label); line-height: var(--leading-label); color: var(--color-paper); }
.form-status:empty { display: none; }
@media (max-width: 992px) { .site-footer__news, .site-footer__links { flex: 1 0 0; } }
@media (max-width: 767px) {
  .form-dark__pair { grid-template-columns: 1fr; }
  .form-dark input[type="text"], .form-dark input[type="email"] { padding: 12px 16px; }
  .form-dark__foot .btn { width: 100%; }
  .site-footer__links li { margin-bottom: 16px; }
  .socials { gap: 14px; margin-bottom: 16px; }
  .socials a { width: 22px; height: 22px; }
  .form-dark__consent input { width: 16px; height: 16px; }
  .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .site-footer__bottom ul { justify-content: center; }
}
@media (max-width: 640px) { .site-footer__cols { flex-wrap: wrap; row-gap: 44px; } .site-footer__news, .site-footer__links { flex: 100% 0 0; } .form-dark { max-width: none; } .site-footer__links { gap: 15px; } }
