/* HotelPulse website styles.
   Tokens follow the Hotel Pulse brand guidelines (identity system v1.1):
   Pulse Blue #1D4FFD, Midnight #001C45, Mist #EEF3FF, Slate #54657C, White #FFFFFF. Inter only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --blue: #1D4FFD;
  --midnight: #001C45;
  --mist: #EEF3FF;
  --slate: #54657C;
  --white: #FFFFFF;

  --bg: var(--white);
  --bg-soft: var(--mist);
  --surface: var(--white);
  --text: var(--midnight);
  --muted: var(--slate);
  --link: var(--blue);
  --line: rgba(0, 28, 69, 0.14);
  --focus: var(--blue);
  --ok: #1F6B4A;
  --warn: #8A5200;
  --bad: #A93232;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 10vw, 8.5rem);
  --radius: 0.5rem;
  --header-h: 4.5rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #001230;
    --bg-soft: #001C45;
    --surface: #06265A;
    --text: #EEF3FF;
    --muted: #AEBBD2;
    --link: #9DB3FF;
    --line: rgba(238, 243, 255, 0.18);
    --focus: #9DB3FF;
    --ok: #7FD3A8;
    --warn: #F0C27A;
    --bad: #FF9C9C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #001230;
  --bg-soft: #001C45;
  --surface: #06265A;
  --text: #EEF3FF;
  --muted: #AEBBD2;
  --link: #9DB3FF;
  --line: rgba(238, 243, 255, 0.18);
  --focus: #9DB3FF;
  --ok: #7FD3A8;
  --warn: #F0C27A;
  --bad: #FF9C9C;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-underline-offset: 0.18em; }
[hidden] { display: none !important; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--blue); color: var(--white); border-radius: var(--radius);
}
.skip:focus { top: 1rem; }
.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;
}

/* Lenis (smooth scroll) required rules */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* ---------- Type ---------- */
.display { font-size: clamp(2.5rem, 6.2vw, 4rem); line-height: 1.06; font-weight: 500; letter-spacing: -0.02em; }
/* Second half of the hero line, in the light tint of Pulse Blue (readable on Midnight). */
.display__accent { color: #9DB3FF; }
.heading { font-size: clamp(1.9rem, 4.2vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.section-title { font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--muted); }
.label {
  font-size: 0.9375rem; line-height: 1.33; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--link);
}
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--soft { background: var(--bg-soft); }
.stack { margin-top: 1rem; }
.label + .stack { margin-top: 0.75rem; }
.measure { max-width: 38rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.25rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #1640D6; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--onDark { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--onDark:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--white { background: var(--white); color: var(--midnight); }
.btn--white:hover { background: var(--mist); }

/* ---------- Icons (brand icon library, coloured through CSS mask) ---------- */
.icon {
  display: inline-block; flex: none; width: 1.5rem; height: 1.5rem; background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.icon--sm { width: 1.25rem; height: 1.25rem; }
.i-check { --i: url("/assets/icons/check.svg"); }
.i-arrow { --i: url("/assets/icons/arrow-up-right.svg"); }
.i-menu { --i: url("/assets/icons/menu.svg"); }
.i-x { --i: url("/assets/icons/x.svg"); }
.i-phone { --i: url("/assets/icons/phone.svg"); }
.i-mail { --i: url("/assets/icons/mail.svg"); }
.i-building { --i: url("/assets/icons/building.svg"); }
.i-download { --i: url("/assets/icons/download.svg"); }
.i-file { --i: url("/assets/icons/file-text.svg"); }
.i-slides { --i: url("/assets/icons/layout-dashboard.svg"); }
.i-login { --i: url("/assets/icons/log-in.svg"); }
.i-left { --i: url("/assets/icons/chevron-left.svg"); }
.i-right { --i: url("/assets/icons/chevron-right.svg"); }
.i-hotel { --i: url("/assets/icons/hotel.svg"); }
.i-bed { --i: url("/assets/icons/bed-double.svg"); }
.i-luggage { --i: url("/assets/icons/luggage.svg"); }
.i-calendar { --i: url("/assets/icons/calendar-days.svg"); }
.i-key { --i: url("/assets/icons/key-round.svg"); }
.i-users { --i: url("/assets/icons/users-round.svg"); }
.i-bell { --i: url("/assets/icons/concierge-bell.svg"); }
.i-brush { --i: url("/assets/icons/brush.svg"); }
.i-receipt { --i: url("/assets/icons/receipt.svg"); }
.i-clock { --i: url("/assets/icons/clock.svg"); }
.i-chart { --i: url("/assets/icons/chart-column.svg"); }
.i-wallet { --i: url("/assets/icons/wallet.svg"); }
.i-shield { --i: url("/assets/icons/shield-check.svg"); }

/* ---------- Header ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 2.75rem; margin-right: auto; }
.brand img { flex: none; width: auto; height: 3rem; }
.logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--light { display: none; }
  :root:not([data-theme="light"]) .logo--dark { display: block; }
}
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }

.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__list a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.7rem;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; border-radius: var(--radius);
  white-space: nowrap;
}
.nav__cta .btn { white-space: nowrap; }
/* Nine items share the bar. The page column has a fixed maximum width, so wider screens give the menu no extra room: keep it tight. */
@media (min-width: 80.938rem) {
  .nav__list { gap: 0; }
  .nav__list a:not(.btn) { padding: 0 0.45rem; font-size: 0.875rem; }
  .nav__cta .btn { padding-inline: 1rem; }
}
.nav__list a:not(.btn):hover { color: var(--link); }
.nav__cta { margin-left: 0.5rem; }
.nav__login { gap: 0.4rem; }

.tools { display: flex; align-items: center; gap: 0.25rem; }
.lang { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang__opt {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.5rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; color: var(--muted);
}
.lang__opt[aria-current="true"] { background: var(--bg-soft); color: var(--text); }
.lang__opt--off { color: var(--muted); cursor: not-allowed; }
.site-footer .footer__legal a { text-decoration: underline; text-underline-offset: 0.2em; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
}
.icon-btn:hover { border-color: var(--text); }
.theme-btn svg { width: 1.25rem; height: 1.25rem; }
.theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }

.menu-btn { display: none; }
.menu-btn .i-x { display: none; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-x { display: inline-block; }

@media (max-width: 80.9375rem) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a:not(.btn) { min-height: 3rem; padding: 0 0.25rem; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--midnight); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Soft dark halo behind the text so it holds 4.5:1 over the brightest frame. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 36rem at 12% 55%, rgba(0, 14, 40, 0.82), rgba(0, 14, 40, 0) 70%),
    linear-gradient(90deg, rgba(0, 14, 40, 0.72) 0%, rgba(0, 14, 40, 0.35) 55%, rgba(0, 14, 40, 0.15) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 10%, transparent 75%);
}
.hero__inner {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center;
  min-height: min(48rem, calc(100vh - var(--header-h))); min-height: min(48rem, calc(100svh - var(--header-h)));
  padding-block: clamp(3.5rem, 10vh, 6rem) clamp(4.5rem, 10vh, 6rem);
}
.hero__copy, .hero__show { min-width: 0; }
@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: 5fr 7fr; }
}
/* On wide screens the devices reach a little past the text column edge. */
@media (min-width: 90rem) {
  .hero__show { margin-right: -6rem; }
}

/* Device cluster: four devices in one picture. Sizes use the cluster's own width (cqw). */
.cluster { position: relative; width: 100%; aspect-ratio: 100 / 62; container-type: inline-size; }
.dev { position: absolute; }
.dev__frame {
  position: relative; background: #0B1220;
  box-shadow: 0 2.5cqw 5cqw -1cqw rgba(0, 6, 20, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.dev__screen { position: relative; overflow: hidden; background: var(--mist); }
.dev__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s ease;
}
.dev__screen img.is-on { opacity: 1; }

.dev--desktop { left: 8%; top: 0; width: 72%; z-index: 1; }
.dev--desktop .dev__frame { padding: 1.1cqw 1.1cqw 2.4cqw; border-radius: 1.4cqw 1.4cqw 0.5cqw 0.5cqw; }
.dev--desktop .dev__screen { aspect-ratio: 1440 / 900; border-radius: 0.4cqw; }
.dev__stand { width: 22%; height: 4.2cqw; margin: 0 auto; background: linear-gradient(#B9C0CC, #7C8698); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.dev--desktop .dev__foot { width: 36%; height: 0.8cqw; margin: 0 auto; border-radius: 0.4cqw; background: #8E97A6; }

.dev--kiosk { right: 0; bottom: 0; width: 21%; z-index: 2; }
.dev--kiosk .dev__frame { padding: 1cqw 1cqw 2.2cqw; border-radius: 1.4cqw 1.4cqw 0.6cqw 0.6cqw; }
.dev--kiosk .dev__screen { aspect-ratio: 768 / 1024; border-radius: 0.4cqw; }
.dev__post { width: 30%; height: 8cqw; margin: 0 auto; background: linear-gradient(90deg, #1A2233, #34405E, #1A2233); }
.dev--kiosk .dev__foot { width: 72%; height: 1cqw; margin: 0 auto; border-radius: 0.5cqw; background: #2B3550; }

.dev--ipad { left: 0; bottom: 1cqw; width: 40%; z-index: 3; }
.dev--ipad .dev__frame { padding: 1.5cqw; border-radius: 2.6cqw; }
.dev--ipad .dev__screen { aspect-ratio: 1180 / 820; border-radius: 0.9cqw; }

.dev--iphone { left: 37%; bottom: 0; width: 12.5%; z-index: 4; }
.dev--iphone .dev__frame { padding: 0.8cqw; border-radius: 2.6cqw; }
.dev--iphone .dev__screen { aspect-ratio: 390 / 844; border-radius: 1.9cqw; }

.hero__showcap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.hero__showtitle { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 600; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li {
  padding: 0.3rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 62rem;
  font-size: 0.8125rem; font-weight: 500; color: #E4EBFF; background: rgba(0, 14, 40, 0.45);
}
.hero .label { color: #C9D6FF; }
.hero h1 { margin-top: 1rem; }
.hero__lead { max-width: 34rem; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); color: #E4EBFF; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.media-toggle {
  position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.9rem;
  background: rgba(0, 14, 40, 0.72); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: var(--radius); font-size: 0.875rem; font-weight: 500;
}
.media-toggle:hover { border-color: var(--white); }

/* ---------- Moving strip of hotel types ---------- */
.reel { padding-block: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); }
.reel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; }
.reel__toggle {
  min-height: 2.75rem; padding: 0 0.9rem; background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 62rem; font-size: 0.8125rem; font-weight: 500;
}
.reel__toggle:hover { color: var(--text); border-color: var(--text); }
.reel__viewport { margin-top: 0.75rem; overflow: hidden; }
.reel__track { display: flex; flex-wrap: wrap; justify-content: center; }
.reel__track li {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1.75rem;
  font-size: clamp(1.0625rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; color: var(--muted);
}
.reel__track .icon { color: var(--link); }
.reel__track.is-rolling { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: reel 60s linear infinite; }
.reel__track.is-paused, .reel__viewport:hover .reel__track { animation-play-state: paused; }
.reel__viewport.is-rolling {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
@keyframes reel { to { transform: translate3d(-25%, 0, 0); } }

/* ---------- Decoration: dot field, numbered labels, heading bar ---------- */
:root { --dot: rgba(29, 79, 253, 0.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --dot: rgba(157, 179, 255, 0.26); } }
:root[data-theme="dark"] { --dot: rgba(157, 179, 255, 0.26); }
.section, .thesis { position: relative; isolation: isolate; }
.section > .wrap, .thesis > .wrap { position: relative; z-index: 1; }
.dots {
  position: absolute; z-index: -1; top: 0; right: 0; width: min(48rem, 75%); height: 24rem; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px);
  background-size: 0.875rem 0.875rem;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 68% 32%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 58% at 68% 32%, #000 0%, transparent 72%);
}
.wrap > .dots { top: -3rem; right: 0; }
.dots--light { --dot: rgba(255, 255, 255, 0.24); }
.label__num { font-variant-numeric: tabular-nums; opacity: 0.8; }
.label__num::after { content: " \2014\00a0"; }
.sec-head .heading::after {
  content: ""; display: block; width: 3.5rem; height: 0.25rem; margin-top: 1.25rem;
  border-radius: 0.125rem; background: var(--link);
}
.section--tight { padding-top: 0; }
.section--soft { background: radial-gradient(60rem 30rem at 100% 0%, rgba(29, 79, 253, 0.09), rgba(29, 79, 253, 0) 70%), var(--bg-soft); }
.section--midnight {
  color: var(--white);
  background: radial-gradient(55rem 32rem at 88% 0%, rgba(29, 79, 253, 0.42), rgba(29, 79, 253, 0) 70%), var(--midnight);
}
.section--midnight .label { color: #9DB3FF; }
.section--midnight .lead { color: #C9D6FF; }
.section--midnight .sec-head .heading::after { background: #9DB3FF; }

/* ---------- Thesis ---------- */
.thesis { padding-block: clamp(4.5rem, 12vw, 9rem); }
/* Loop mark above the thesis: parallel lines turn one loop, with light travelling along them. No background. */
.pulse-loop {
  display: block; width: min(42rem, 100%); height: auto; margin-bottom: 2rem; color: var(--link); overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent);
}
.pulse-loop__track { opacity: 0.3; }
.pulse-loop__run path { stroke-dasharray: 0.09 0.91; stroke-dashoffset: 1; animation: pulse-loop 6s linear infinite; }
.pulse-loop__run path:nth-child(2) { stroke-dasharray: 0.05 0.45; animation-duration: 9s; animation-delay: -2s; }
.pulse-loop__run path:nth-child(3) { stroke-dasharray: 0.12 0.88; animation-duration: 7s; animation-delay: -4.5s; }
.pulse-loop__run path:nth-child(4) { stroke-dasharray: 0.06 0.44; animation-duration: 10s; animation-delay: -1s; }
.pulse-loop.is-off .pulse-loop__run path { animation-play-state: paused; }
@keyframes pulse-loop { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse-loop__run { display: none; } .pulse-loop__track { opacity: 0.5; } }

/* ---------- What is inside (module grid) ---------- */
.mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: clamp(2rem, 5vw, 3rem); }
@media (min-width: 56rem) { .mods { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.mod {
  position: relative; padding: 1.5rem 1.25rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 0.875rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mod:hover { transform: translateY(-4px); border-color: var(--link); box-shadow: 0 1.25rem 2rem -1.25rem rgba(0, 28, 69, 0.45); }
.mod__icon, .why__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem; background: var(--bg-soft); color: var(--link);
}
.mod h3 { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.25; font-weight: 600; }
.mod p { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Photo tiles (guest spaces, technology partners) ---------- */
.tiles { display: grid; gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 20rem; border-radius: var(--radius); background: var(--midnight); color: var(--white);
}
.tile picture { position: absolute; inset: 0; z-index: -2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 14, 40, 0.5) 0%, rgba(0, 14, 40, 0) 26%, rgba(0, 14, 40, 0.1) 42%, rgba(0, 16, 44, 0.9) 78%, #001230 100%);
}
.tile::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 0.25rem; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s ease;
}
.tile:hover::before { transform: scaleX(1); }
.tile__num { position: absolute; left: 1.25rem; top: 1.1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.tile__body { padding: 1.25rem; }
.tile__tag { font-size: 0.6875rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9DB3FF; }
.tile__title { margin-top: 0.4rem; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.tile__title span { display: block; margin-top: 0.15rem; font-size: 0.8em; font-weight: 500; color: #C9D6FF; }
.tile__desc { margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.45; color: #E4EBFF; }
@media (min-width: 40rem) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles--spaces .tile--wide, .tiles--partners .tile:first-child { grid-column: 1 / -1; }
  .tile { min-height: 24rem; }
}
@media (min-width: 68rem) {
  .tiles--spaces { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .tiles--spaces .tile--wide { grid-column: auto; }
  .tiles--spaces .tile { min-height: 32rem; }
  /* Seven cards: four on the first row, three on the second. */
  .tiles--partners { grid-template-columns: repeat(12, 1fr); gap: 0.75rem; }
  .tiles--partners .tile, .tiles--partners .tile:first-child { grid-column: span 3; }
  .tiles--partners .tile:nth-child(n+5) { grid-column: span 4; }
  .tiles--partners .tile { min-height: 30rem; }
  .tiles--partners .tile__body { padding: 1.1rem; }
  .tiles--partners .tile__title { font-size: 1.25rem; }
  /* Keep names on one line across the five cards. */
  .tiles--partners .tile__tag { display: flex; align-items: flex-end; min-height: 2.8em; }
  .tiles--partners .tile__desc { min-height: 4.35em; }
}
.thesis p {
  max-width: 24em; font-size: clamp(1.5rem, 3.6vw, 2.75rem); line-height: 1.18; font-weight: 500; letter-spacing: -0.02em;
}
.thesis em { font-style: normal; color: var(--link); }

/* ---------- Feature pairs ---------- */
.pair { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pair__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.pair__media img, .pair__media video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pair__media .media-toggle { right: 0.75rem; bottom: 0.75rem; }
.ticks { margin-top: 1.5rem; }
.ticks li { display: flex; gap: 0.75rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .icon { color: var(--link); margin-top: 0.05rem; }
@media (min-width: 48rem) {
  .pair { grid-template-columns: repeat(12, 1fr); }
  .pair__media { grid-column: 1 / span 7; }
  .pair__body { grid-column: 8 / span 5; }
  .pair--flip .pair__media { grid-column: 6 / span 7; grid-row: 1; }
  .pair--flip .pair__body { grid-column: 1 / span 5; grid-row: 1; }
}

/* ---------- Gallery band ---------- */
.band__grid { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.band figure { position: relative; }
.band__frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--midnight); }
.band__video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.band__image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.band figcaption { margin-top: 0.85rem; color: var(--muted); font-size: 0.9375rem; }
.band .media-toggle { right: 0.75rem; bottom: 0.75rem; }
@media (min-width: 48rem) {
  .band__grid { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .band__video { grid-column: 1 / span 8; }
  .band__image { grid-column: 9 / span 4; }
}

/* ---------- The hotel day (scrollytelling) ---------- */
.day { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.day__rail-track { display: none; }
.pulse-loop--small { width: min(17rem, 80%); margin: 1.5rem 0 0; }
/* Picture frame beside the steps. Small screens: three small pictures in a row. Wide screens: one frame that swaps. */
.day__frame { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1.5rem; }
.day__shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.day__shot picture, .day__shot picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.day__inset { display: none; }
.day__step { padding-block: clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.day__num { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--link); font-variant-numeric: tabular-nums; }
.day__time { margin-top: 0.5rem; }
.day__step h3 { margin-top: 1rem; }
.day__step p { margin-top: 0.75rem; max-width: 34rem; color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 60rem) {
  .day { grid-template-columns: repeat(12, 1fr); }
  .day__intro { grid-column: 1 / span 5; align-self: start; position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 3rem); }
  .day__steps { grid-column: 7 / span 6; position: relative; }
  .day__frame { display: block; position: relative; aspect-ratio: 3 / 2; border-radius: calc(var(--radius) * 1.5); overflow: hidden; box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 28, 69, 0.45); }
  .day__shot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; opacity: 0; transition: opacity 0.6s ease; }
  .day__shot.is-on { opacity: 1; }
  .day__inset { display: block; position: absolute; right: 4%; bottom: 6%; width: 46%; height: auto; border-radius: 0.5rem; border: 2px solid #fff; box-shadow: 0 0.75rem 1.75rem rgba(0, 12, 36, 0.45); }
  .day__rail-track { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
  .day__rail-fill { position: absolute; inset: 0; background: var(--link); transform-origin: top; transform: scaleY(1); }
  .motion .day__rail-fill { transform: scaleY(0); }
  .day__step { border-top: 0; padding-block: clamp(2.5rem, 7vh, 5rem); padding-left: 2.5rem; }
  .motion .day__step { opacity: 0.35; transition: opacity 0.4s ease; }
  .motion .day__step.is-active { opacity: 1; }
}

/* ---------- Apps (device frames) ---------- */
/* All four devices are shown at once: desktop and iPad full width, iPhone and kiosk side by side. */
.device-grid { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.device-panel {
  min-width: 0; padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
}
@media (min-width: 64rem) {
  .device-grid { grid-template-columns: 1fr 1fr; }
  .device-panel--full { grid-column: 1 / -1; }
  .device-grid .shot--iphone { width: 13.5rem; }
  .device-grid .shot--kiosk { width: 15rem; }
}
.device-panel__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.device-nav { display: none; gap: 0.5rem; }
.js .device-nav { display: flex; }

.strip {
  display: flex; gap: clamp(1rem, 3vw, 2rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scrollbar-width: thin;
}
.shot { flex: none; scroll-snap-align: start; }
.shot figcaption { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--muted); }
.shot figcaption strong { color: var(--text); font-weight: 600; }

.frame { position: relative; background: #0B1220; }
.frame img { width: 100%; background: var(--mist); }

.shot--desktop { width: min(46rem, 86vw); }
.frame--desktop { padding: 0.6rem 0.6rem 1.4rem; border-radius: 0.9rem 0.9rem 0.3rem 0.3rem; }
.frame--desktop img { border-radius: 0.25rem; aspect-ratio: 1440 / 900; }
.frame--desktop::after {
  content: ""; position: absolute; left: 50%; bottom: 0.55rem; width: 0.3rem; height: 0.3rem; margin-left: -0.15rem;
  border-radius: 50%; background: #3A4458;
}
.stand { width: 30%; height: 1.5rem; margin: 0 auto; background: linear-gradient(#B9C0CC, #8E97A6); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.stand-base { width: 44%; height: 0.4rem; margin: 0 auto; border-radius: 0.25rem; background: #8E97A6; }

.shot--ipad { width: min(40rem, 86vw); }
.frame--ipad { padding: 1rem; border-radius: 1.6rem; }
.frame--ipad img { border-radius: 0.5rem; aspect-ratio: 1180 / 820; }

.shot--iphone { width: min(17rem, 68vw); }
.frame--iphone { padding: 0.6rem; border-radius: 2.4rem; }
.frame--iphone img { border-radius: 1.9rem; aspect-ratio: 390 / 844; }
.frame--iphone::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 1.15rem; width: 5rem; height: 1.3rem; margin-left: -2.5rem;
  border-radius: 1rem; background: #0B1220;
}

.shot--kiosk { width: min(19rem, 72vw); }
.frame--kiosk { padding: 0.8rem 0.8rem 1.6rem; border-radius: 1rem 1rem 0.4rem 0.4rem; }
.frame--kiosk img { border-radius: 0.3rem; aspect-ratio: 768 / 1024; }
.kiosk-post { width: 34%; height: 4.5rem; margin: 0 auto; background: linear-gradient(90deg, #1A2233, #2B3550, #1A2233); }
.kiosk-base { width: 70%; height: 0.6rem; margin: 0 auto; border-radius: 0.3rem; background: #1A2233; }

.note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- Why ---------- */
.why__list { display: grid; gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.why__item {
  position: relative; overflow: hidden; padding: 2rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.25rem; background: linear-gradient(90deg, var(--blue), #7FA0FF); }
.why__item:hover { transform: translateY(-4px); box-shadow: 0 1.5rem 2.5rem -1.5rem rgba(0, 28, 69, 0.45); }
.why__icon { background: var(--blue); color: var(--white); }
.why__item h3 { margin-top: 1.25rem; }
.why__item p { margin-top: 0.75rem; color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 56rem) { .why__list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Partner placeholder icons (animated, replaced by real logos later) ---------- */
.picon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 3.5rem; height: 3.5rem; overflow: hidden; color: var(--white);
  background: rgba(0, 14, 40, 0.6); border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 1rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.picon svg { width: 2.1rem; height: 2.1rem; overflow: visible; }
.tile .picon { position: absolute; right: 1rem; top: 1rem; }

/* DIALPULSE: the call waves ring one after the other. */
.pi-wave { animation: pi-ring 1.8s ease-in-out infinite; }
.pi-wave--2 { animation-delay: 0.3s; }
@keyframes pi-ring { 0%, 100% { opacity: 0.2; } 40% { opacity: 1; } }

/* SAFFRON: one dish after another arrives on the plate. */
.pi-food { stroke: #FFC46B; opacity: 0; animation: pi-dish 8s ease-in-out infinite; }
.pi-food--1 { opacity: 1; }
.pi-food--2 { animation-delay: 2s; }
.pi-food--3 { animation-delay: 4s; }
.pi-food--4 { animation-delay: 6s; }
@keyframes pi-dish {
  0% { opacity: 0; transform: translateX(7px); }
  5%, 20% { opacity: 1; transform: translateX(0); }
  25%, 100% { opacity: 0; transform: translateX(-7px); }
}

/* KOZY SMART: the dial needle moves between cool and warm. */
.pi-needle { transform-origin: 12px 12px; animation: pi-dial 5s ease-in-out infinite; }
@keyframes pi-dial { 0%, 100% { transform: rotate(-70deg); } 50% { transform: rotate(70deg); } }

/* TRACKPOINT: a location ping. */
.pi-ping { stroke: #9DB3FF; transform-origin: 12px 10px; animation: pi-ping 2.2s ease-out infinite; }
@keyframes pi-ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }

/* XEROPARK: a car pulls into the bay and leaves again. */
.pi-car { fill: #0B1A3A; animation: pi-park 6s ease-in-out infinite; }
@keyframes pi-park {
  0% { transform: translateX(-20px); opacity: 0; }
  18%, 78% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(20px); opacity: 0; }
}

/* AI SECURITY: a scan line sweeps the face frame. */
.pi-scan { stroke: #9DB3FF; animation: pi-scan 3s ease-in-out infinite; }
@keyframes pi-scan { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
/* WORKPLACE: the clock hand turns. */
.pi-hand { transform-origin: 17px 16.5px; animation: pi-hand 6s linear infinite; }
@keyframes pi-hand { to { transform: rotate(360deg); } }
.hero__connect { margin-top: 2.5rem; }
.hero__connect-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #C9D6FF; }
.picons { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.75rem; }
.picons li { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.06em; color: #E4EBFF; }
.picons .picon { width: 3rem; height: 3rem; border-radius: 0.875rem; }
.picons .picon svg { width: 1.75rem; height: 1.75rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); max-width: 52rem; }
@media (min-width: 44rem) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: 2rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
}
.plan--best {
  color: var(--white); border-color: transparent;
  background: radial-gradient(24rem 16rem at 100% 0%, rgba(120, 160, 255, 0.55), rgba(120, 160, 255, 0) 70%), var(--blue);
}
.plan__flag {
  position: absolute; right: 1.25rem; top: 1.25rem; padding: 0.3rem 0.7rem; border-radius: 62rem;
  background: var(--white); color: var(--midnight); font-size: 0.75rem; font-weight: 600;
}
.plan__name { font-size: 1.125rem; font-weight: 600; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; margin-top: 1.25rem; }
.plan__amount { font-size: clamp(3rem, 7vw, 4rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__unit { font-size: 1rem; color: var(--muted); }
.plan--best .plan__unit, .plan--best .plan__note { color: #E4EBFF; }
.plan__note { margin-top: 0.6rem; color: var(--muted); }
.plan .btn { margin-top: 1.75rem; }

/* ---------- Cloud Login page ---------- */
.signin__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.signin__card { margin-top: 0; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.input:disabled { opacity: 0.6; cursor: not-allowed; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
@media (min-width: 56rem) { .signin__grid { grid-template-columns: 6fr 5fr; } }

/* ---------- About ---------- */
.about { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 0.9rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--link); margin-top: 0.1rem; }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--link); }
address { font-style: normal; }
@media (min-width: 48rem) {
  .about { grid-template-columns: repeat(12, 1fr); }
  .about__text { grid-column: 1 / span 7; }
  .about__contact { grid-column: 9 / span 4; }
}

/* ---------- Blue panels with slow moving wave ---------- */
.panel { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: var(--white); }
.panel--midnight { background: var(--midnight); }
.wave { position: absolute; inset: -40% -20%; z-index: -1; pointer-events: none; }
.wave::before, .wave::after {
  content: ""; position: absolute; inset: 0; will-change: transform;
  background:
    radial-gradient(38% 30% at 30% 40%, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0) 70%),
    radial-gradient(34% 26% at 72% 62%, rgba(0, 28, 69, 0.55), rgba(0, 28, 69, 0) 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.wave::after {
  background:
    radial-gradient(30% 22% at 65% 30%, rgba(120, 160, 255, 0.45), rgba(120, 160, 255, 0) 70%),
    radial-gradient(40% 30% at 22% 72%, rgba(0, 14, 40, 0.5), rgba(0, 14, 40, 0) 70%);
  animation-duration: 34s; animation-direction: alternate-reverse;
}
.panel--midnight .wave::before {
  background:
    radial-gradient(38% 30% at 30% 40%, rgba(29, 79, 253, 0.55), rgba(29, 79, 253, 0) 70%),
    radial-gradient(34% 26% at 72% 62%, rgba(120, 160, 255, 0.22), rgba(120, 160, 255, 0) 70%);
}
.panel--midnight .wave::after {
  background:
    radial-gradient(30% 22% at 65% 30%, rgba(29, 79, 253, 0.4), rgba(29, 79, 253, 0) 70%),
    radial-gradient(40% 30% at 22% 72%, rgba(0, 8, 24, 0.6), rgba(0, 8, 24, 0) 70%);
}
@keyframes drift {
  from { transform: translate3d(-6%, -3%, 0) rotate(-4deg) scale(1); }
  to { transform: translate3d(6%, 4%, 0) rotate(5deg) scale(1.12); }
}

/* ---------- Cloud login ---------- */
.login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.login p { color: #E4EBFF; margin-top: 0.4rem; }

/* ---------- Demo + forms ---------- */
.demo { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.demo__aside { display: none; }
@media (min-width: 60rem) {
  .demo { grid-template-columns: repeat(12, 1fr); }
  .demo__body { grid-column: 1 / span 7; }
  .demo__aside { display: block; grid-column: 9 / span 4; }
  .demo__aside .shot--kiosk { width: 100%; max-width: 19rem; margin-inline: auto; }
}
.form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; }
.req { color: var(--bad); }
.input {
  width: 100%; min-height: 2.875rem; padding: 0.6rem 0.8rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.input:hover { border-color: var(--muted); }
textarea.input { min-height: 7rem; resize: vertical; }
select.input {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.25rem;
}
.input[aria-invalid="true"] { border-color: var(--bad); }
.error { font-size: 0.8125rem; color: var(--bad); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { flex: none; width: 1.375rem; height: 1.375rem; margin: 0.1rem 0 0; accent-color: var(--blue); }
.check label { font-weight: 400; font-size: 0.9375rem; }
.hp-field { position: absolute; left: -624.9375rem; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 0.9rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); }
@media (min-width: 40rem) {
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(3.5rem, 8vw, 6rem) 2rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { height: 3.25rem; width: auto; }
.footer__social { margin-top: 1.75rem; }
.footer__social-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #C9D6FF; }
.footer__social ul { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 0.75rem; padding: 0; list-style: none; }
.footer__social li { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.footer__social svg { width: 1.25rem; height: 1.25rem; }
.footer__tagline { margin-top: 1.25rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.footer__col h2 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #C9D6FF; }
.footer__col ul { margin-top: 0.75rem; padding: 0; list-style: none; }
.footer__col li a, .footer__col li span { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer__col address { margin-top: 0.75rem; line-height: 1.6; color: #E4EBFF; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.875rem; color: #C9D6FF;
}
@media (min-width: 48rem) {
  .footer__grid { grid-template-columns: 5fr 2fr 2fr 3fr; }
}

/* ---------- Downloads page ---------- */
.page-head { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.dl-row + .dl-row { margin-top: clamp(2.5rem, 6vw, 4rem); }
.dl-row__title { display: flex; align-items: baseline; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.dl-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl-box {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  width: 100%; min-height: 15rem; padding: 1.5rem; text-align: left;
  color: var(--white); background: var(--blue); border: 0; border-radius: var(--radius);
}
.dl-box--alt { background: var(--midnight); }
.dl-box__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dl-box__icon { width: 3rem; height: 3rem; }
.dl-box__lang { padding: 0.3rem 0.65rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 62rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.dl-box__title { display: block; font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.dl-box__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; font-size: 0.9375rem; color: #E4EBFF; }
.dl-box__go { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--white); }
.dl-box:hover .dl-box__go { text-decoration: underline; }
.dl-box .wave { transition: transform 0.6s ease; }
.dl-box:hover .wave { transform: scale(1.06); }

.dl-box--soon { opacity: 0.6; cursor: default; }
.dl-box--soon .wave { animation: none; }
dialog.modal {
  width: min(32rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 0.75rem; overflow: auto;
}
dialog.modal::backdrop { background: rgba(0, 14, 40, 0.66); }
.modal__inner { padding: 1.5rem; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }

/* ---------- Text pages (legal, thank you) ---------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.375rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 1rem; }
.prose li + li { margin-top: 0.4rem; }
.draft-banner { padding: 0.9rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--radius); background: var(--bg-soft); }

/* ---------- Reveal on scroll (only once JS and GSAP are confirmed) ---------- */
.js.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 1.75rem, 0); will-change: opacity, transform; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .media-toggle, .wave, video { display: none !important; }
}
