:root {
  --navy-deep: #060B22;
  --navy: #0B1239;
  --navy-mid: #121C52;
  --navy-glass: rgba(6, 11, 34, 0.86);
  --amber: #F29422;
  --amber-bright: #FFB042;
  --amber-deep: #965600;
  --amber-glow: rgba(242, 148, 34, 0.34);
  --stone: #F7F4EC;
  --stone-deep: #EAE3D4;
  --surface: #FFFFFF;
  --ink: #13182B;
  --ink-muted: #4A5268;
  --ink-on-dark: #F6F4EE;
  --ink-on-dark-muted: #C2C9DF;
  --rule: #DDD6C7;
  --rule-dark: rgba(255, 255, 255, 0.14);
  --nav-h: 76px;
  --logo-h: 44px;
  --hero-top-extra: 100px;
  --max-w: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--amber-deep);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 12px 20px;
  z-index: 300;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  width: min(var(--max-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(880px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ---------- Progressive Scroll & Image Choreography ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal-img] img {
  transform: scale(1.05);
  transition: transform 1.15s var(--ease);
}

.js [data-reveal-img].is-visible img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal],
  .js [data-reveal-img] img,
  .hero-bg-layer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Floating Luxury Header (Baseline-Aligned with Brand Lockup) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: flex-end;
  padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(6, 11, 34, 0.82) 0%, rgba(6, 11, 34, 0.22) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--navy-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(242, 148, 34, 0.25);
  box-shadow: 0 12px 36px rgba(4, 7, 22, 0.38);
}

.header-inner {
  width: min(var(--max-w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  flex-shrink: 0;
}

.brand-lockup img {
  height: var(--logo-h);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1;
  color: #FFFFFF;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--amber);
  font-weight: 500;
  white-space: nowrap;
  padding-left: 10px;
  border-left: 1px solid rgba(242, 148, 34, 0.45);
}

.nav-desktop {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding-bottom: 2px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  padding: 4px 0 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  /* Keeps button and phone text optically level with the T-DOC LOGISTICS baseline */
  margin-bottom: -5px;
}

.nav-phone {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--amber);
}

/* ---------- Subtle Tactile 3D Buttons (Compact Width, Refined Depth) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  height: 35px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.22s var(--ease), color 0.18s ease;
}

/* Soft top catchlight + subtle hover gloss sweep */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, 0.28) 50%, transparent 76%);
  transform: translateX(-135%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(135%);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 1px 5px auto 5px;
  height: 40%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Primary: Subtle 3D T-Doc Amber-Gold Pill */
.btn-primary {
  background: linear-gradient(180deg, #FFBE55 0%, #F29422 55%, #D97A0C 100%);
  color: var(--navy-deep);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 248, 232, 0.6),
    inset 0 -1px 2px rgba(138, 64, 0, 0.3),
    0 2px 0 #9E5400,
    0 5px 14px rgba(0, 0, 0, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FFC96F 0%, #F79F30 55%, #E08212 100%);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 248, 232, 0.72),
    inset 0 -1px 2px rgba(138, 64, 0, 0.25),
    0 3px 0 #9E5400,
    0 8px 18px rgba(242, 148, 34, 0.28);
}

.btn-primary:active {
  transform: translateY(1.5px);
  box-shadow:
    0 0.5px 0 #9E5400,
    0 2px 6px rgba(0, 0, 0, 0.22);
}

.btn-nav {
  height: 32px;
  padding: 0 13px;
  font-size: 12.5px;
}

/* Secondary on dark: Subtle 3D Deep T-Doc Navy Pill */
.btn-ghost-light {
  background: linear-gradient(180deg, #25378C 0%, #131F5C 56%, #0B133D 100%);
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.22),
    inset 0 -1px 2px rgba(3, 6, 20, 0.45),
    0 2px 0 #05091F,
    0 5px 14px rgba(0, 0, 0, 0.3);
}

.btn-ghost-light:hover {
  background: linear-gradient(180deg, #2E44A8 0%, #182770 56%, #0E174A 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.3),
    0 3px 0 #05091F,
    0 8px 18px rgba(0, 0, 0, 0.36);
}

.btn-ghost-light:active {
  transform: translateY(1.5px);
  box-shadow:
    0 0.5px 0 #05091F,
    0 2px 6px rgba(0, 0, 0, 0.26);
}

/* Primary on light or amber surfaces: Subtle 3D T-Doc Navy Pill */
.btn-dark {
  background: linear-gradient(180deg, #223485 0%, #0F184B 56%, #080E2F 100%);
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.22),
    inset 0 -1px 2px rgba(2, 4, 16, 0.4),
    0 2px 0 #04071A,
    0 5px 14px rgba(6, 11, 34, 0.22);
}

.btn-dark:hover {
  background: linear-gradient(180deg, #2B409F 0%, #152266 56%, #0B1239 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.3),
    0 3px 0 #04071A,
    0 8px 18px rgba(6, 11, 34, 0.28);
}

.btn-dark:active {
  transform: translateY(1.5px);
  box-shadow:
    0 0.5px 0 #04071A,
    0 2px 6px rgba(6, 11, 34, 0.2);
}

/* Secondary on light or amber surfaces: Subtle 3D Warm Stone Pill */
.btn-outline-dark {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4EFE4 58%, #E5DEC9 100%);
  color: var(--navy-deep);
  box-shadow:
    inset 0 1px 0.5px #FFFFFF,
    inset 0 -1px 2px rgba(130, 118, 96, 0.22),
    0 2px 0 #B6AB96,
    0 5px 12px rgba(6, 11, 34, 0.14);
}

.btn-outline-dark:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F0 58%, #EDE6D8 100%);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0.5px #FFFFFF,
    0 3px 0 #B6AB96,
    0 8px 16px rgba(6, 11, 34, 0.18);
}

.btn-outline-dark:active {
  transform: translateY(1.5px);
  box-shadow:
    0 0.5px 0 #B6AB96,
    0 2px 6px rgba(6, 11, 34, 0.12);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(242, 148, 34, 0.16);
  border-color: rgba(242, 148, 34, 0.55);
  color: var(--amber);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(6, 11, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink-on-dark);
  z-index: 98;
  padding: 20px var(--gutter) calc(36px + env(safe-area-inset-bottom));
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a:not(.btn) {
  color: var(--ink-on-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  min-height: 52px;
}

.mobile-drawer .btn {
  width: 100%;
  height: 46px;
  font-size: 14.5px;
  margin-top: 12px;
  padding: 0 20px;
}

.mobile-drawer .btn:first-of-type {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .brand-sub {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    align-items: center;
    padding-bottom: 0;
  }
  .header-inner,
  .brand-lockup {
    align-items: center;
  }
  .brand-wordmark {
    padding-bottom: 0;
  }
  .nav-actions {
    margin-bottom: 0;
  }
  .nav-desktop,
  .nav-phone {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 66px;
    --logo-h: 36px;
  }
  .btn-nav {
    display: none;
  }
  .brand-lockup {
    gap: 10px;
  }
  .brand-name {
    font-size: 16.5px;
  }
}

/* ---------- Full-Bleed Cinematic Flagship Hero (Borderless Unboxed Stage) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  background: var(--navy-deep);
  color: var(--ink-on-dark);
  padding-top: calc(var(--nav-h) + clamp(36px, 4.5vw, 64px));
  padding-bottom: clamp(40px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-layer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.24;
  transform-origin: center center;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 72% 40%, rgba(11, 18, 57, 0.28) 0%, rgba(6, 11, 34, 0.9) 74%),
    linear-gradient(180deg, rgba(6, 11, 34, 0.78) 0%, rgba(6, 11, 34, 0.56) 52%, rgba(6, 11, 34, 0.98) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(16px, 2.2vw, 32px);
  align-items: center;
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 3.85vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}

.hero-subhead {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  color: var(--amber);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 20px auto 0;
  font-size: clamp(15px, 1.12vw, 16.8px);
  line-height: 1.66;
  color: var(--ink-on-dark-muted);
  max-width: 39ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-copy .hero-cta-row {
  justify-content: center;
}

/* ---------- Dissolved Unboxed Story Stage (Awwwards Zero-Ghosting Curtain Wipe + Hover Control) ---------- */
.story-stage {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
}

.story-viewport {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  background: transparent;
  cursor: pointer;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.story-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(
    circle 260px at var(--mx, 50%) var(--my, 50%),
    rgba(242, 148, 34, 0.22) 0%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.story-viewport.is-hovered::after {
  opacity: 1;
}

.story-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  visibility: hidden;
  pointer-events: none;
}

.story-slide.is-active,
.story-slide.is-leaving,
.story-slide.is-entering {
  visibility: visible;
}

.story-slide.is-leaving {
  z-index: 2;
}

.story-slide.is-active {
  z-index: 3;
}

.story-slide.is-entering {
  z-index: 4;
}

.story-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: clip-path, transform;
}

.story-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.45s var(--ease), filter 0.72s var(--ease);
  will-change: transform, filter;
}

.story-slide.is-leaving .story-slide-inner {
  transform: translate3d(-4%, 0, 0) scale(0.98);
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}

.story-slide.is-leaving img {
  filter: brightness(0.65);
}

/* Single decoupled editorial caption bar: zero double-text ghosting */
.story-caption-bar {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding: 56px 56px 34px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 11, 34, 0.94) 80%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  transition: opacity 0.22s ease, transform 0.28s var(--ease);
}

.story-caption-bar.is-swapping {
  opacity: 0;
  transform: translateY(10px);
}

.story-slide-role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.18;
}

.story-slide-detail {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}

.story-badge {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber-bright);
  border-left: 1.5px solid var(--amber);
  padding: 2px 0 2px 12px;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(6, 11, 34, 0.85);
}

.story-controls {
  margin-top: 8px;
  padding: 0 28px;
  display: flex;
  align-items: center;
}

.story-dots {
  flex: 1;
  display: flex;
  gap: 6px;
}

.story-dot {
  flex: 1;
  height: 3px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.story-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
}

.story-dot.is-active::after {
  animation: dotProgress 3s linear forwards;
}

.story-stage.is-paused .story-dot.is-active::after {
  animation-play-state: paused;
}

@keyframes dotProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Hero Operational Dock ---------- */
.hero-dock-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.hero-dock {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 28px;
}

.dock-cell {
  border-left: 2px solid var(--amber);
  padding-left: 14px;
}

.dock-cell span {
  display: block;
  font-size: 12px;
  color: var(--ink-on-dark-muted);
}

.dock-cell strong {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 22px);
    padding-bottom: 34px;
  }
  .hero h1 {
    font-size: clamp(32px, 8.8vw, 42px);
  }
  .hero-subhead {
    font-size: clamp(19px, 5.4vw, 25px);
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 14px;
  }
  .hero-cta-row {
    margin-top: 20px;
    gap: 10px;
  }
  .hero-dock {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 20px;
  }
  .story-viewport {
    aspect-ratio: 4 / 3;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 7%, #000 88%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 7%, #000 88%, transparent 100%);
  }
  .story-caption-bar {
    padding: 34px 16px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .story-slide-role {
    font-size: 18px;
  }
  .story-slide-detail {
    font-size: 12.5px;
  }
  .story-controls {
    padding: 0 10px;
  }
}

/* ---------- Sections & Editorial Rhythm ---------- */
.section {
  padding: clamp(72px, 8vw, 118px) 0;
}

.section-stone {
  background: var(--stone);
}

.section-navy {
  background: var(--navy-deep);
  color: var(--ink-on-dark);
}

.section-amber {
  background: linear-gradient(135deg, #F59D2A 0%, #E3810F 100%);
  color: var(--navy-deep);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: end;
  margin-bottom: clamp(40px, 4.5vw, 60px);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--navy);
}

.section-navy .section-title {
  color: #FFFFFF;
}

.section-intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 56ch;
}

.section-navy .section-intro {
  color: var(--ink-on-dark-muted);
}

@media (max-width: 820px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- Edge-Dissolved Customer Gallery with Pointer Motion ---------- */
.customer-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.customer-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.customer-photo,
.photo-frame {
  position: relative;
  overflow: hidden;
  background: transparent;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.customer-photo {
  aspect-ratio: 16 / 10;
}

.customer-photo::after,
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle 210px at var(--mx, 50%) var(--my, 50%),
    rgba(242, 148, 34, 0.22) 0%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.customer-photo.is-hovered::after,
.photo-frame.is-hovered::after {
  opacity: 1;
}

.customer-photo img,
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.5s var(--ease), filter 0.45s ease;
  will-change: transform;
}

.customer-photo.is-hovered img,
.photo-frame.is-hovered img {
  transform: scale(1.08) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  filter: saturate(1.07) contrast(1.03);
}

.customer-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  color: var(--navy);
}

.customer-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .customer-gallery {
    grid-template-columns: 1fr;
  }
}

/* ---------- Interactive Services Ledger ---------- */
.ledger {
  border-top: 1px solid var(--rule);
}

.ledger-row {
  border-bottom: 1px solid var(--rule);
}

.ledger-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 28px 0;
  text-align: left;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) 40px;
  gap: 16px 28px;
  align-items: baseline;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.ledger-trigger:hover .ledger-title {
  color: var(--amber-deep);
}

.ledger-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--amber-deep);
}

.ledger-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s ease;
}

.ledger-summary {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-muted);
}

.ledger-icon {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--navy);
  transition: transform 0.25s var(--ease);
}

.ledger-row.is-open .ledger-icon {
  transform: rotate(45deg);
}

.ledger-panel {
  display: none;
  padding: 0 0 32px 92px;
}

.ledger-row.is-open .ledger-panel {
  display: block;
}

.ledger-points {
  margin: 0 0 22px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--ink);
  max-width: 68ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--amber);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--amber-deep);
}

@media (max-width: 820px) {
  .ledger-trigger {
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    gap: 10px 14px;
    padding: 22px 0;
    align-items: start;
  }
  .ledger-num {
    grid-column: 1;
    grid-row: 1;
    font-size: 22px;
    line-height: 1.25;
  }
  .ledger-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 21px;
    line-height: 1.25;
  }
  .ledger-icon {
    grid-column: 3;
    grid-row: 1;
    font-size: 20px;
    line-height: 1.25;
  }
  .ledger-summary {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14.5px;
    line-height: 1.55;
  }
  .ledger-panel {
    padding: 0 0 24px 0;
  }
}

/* ---------- Editorial Splits & Ratio Helpers ---------- */
.split-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-4 { aspect-ratio: 3 / 4; }

.photo-caption {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.section-navy .photo-caption {
  color: var(--ink-on-dark-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
}

.feature-item {
  border-top: 2px solid var(--amber);
  padding-top: 20px;
}

.feature-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
}

.feature-item p {
  margin: 10px 0 0;
  font-size: 15.5px;
  color: var(--ink-muted);
}

@media (max-width: 860px) {
  .split-editorial,
  .feature-list {
    grid-template-columns: 1fr;
  }
  /* Show the quote form before the contact sidebar on mobile */
  #enquiry .form-card {
    order: -1;
  }
}

/* ---------- Sectors Grid ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.sector-col {
  border-top: 2px solid var(--amber);
  padding-top: 20px;
}

.sector-col h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.sector-col p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 1040px) {
  .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fleet Photo Spread ---------- */
.fleet-spread {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  margin-top: 40px;
}

.fleet-side-stack {
  display: grid;
  gap: 24px;
}

@media (max-width: 860px) {
  .fleet-spread {
    grid-template-columns: 1fr;
  }
}

/* ---------- Onboarding Steps ---------- */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.step-card {
  border-top: 1px solid var(--rule-dark);
  padding-top: 22px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
}

.step-card p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--ink-on-dark-muted);
}

@media (max-width: 900px) {
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .steps-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Interactive Route Readiness Estimator ---------- */
.estimator-shell {
  background: var(--surface);
  border-top: 2px solid var(--navy);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px 48px;
  align-items: start;
}

.estimator-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.estimator-result {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ink-on-dark);
  border-left: 3px solid var(--amber);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.estimator-result h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: #FFFFFF;
}

.estimator-meta {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-on-dark-muted);
  border-top: 1px solid var(--rule-dark);
  padding-top: 14px;
}

.estimator-meta strong {
  color: var(--amber);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--amber);
}

@media (max-width: 880px) {
  .estimator-shell,
  .estimator-controls {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ Accordions ---------- */
.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq-trigger:hover {
  color: var(--amber-deep);
}

.faq-plus {
  font-family: var(--font-mono);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 0 24px;
  color: var(--ink-muted);
  max-width: 72ch;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ---------- Subpage Hero ---------- */
.page-hero {
  background: radial-gradient(circle at 82% 20%, rgba(242, 148, 34, 0.14) 0%, transparent 45%), var(--navy-deep);
  color: var(--ink-on-dark);
  padding: calc(var(--nav-h) + clamp(48px, 6vw, 84px)) 0 clamp(54px, 6vw, 84px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--ink-on-dark-muted);
}

.breadcrumb a {
  color: var(--ink-on-dark-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--amber);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
  color: #FFFFFF;
  max-width: 24ch;
}

.page-hero p {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-on-dark-muted);
  max-width: 62ch;
}

/* ---------- Forms ---------- */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.req {
  color: var(--amber-deep);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid #BDB7AA;
  border-radius: 2px;
  padding: 11px 14px;
  min-height: 44px;
}

textarea.field-textarea {
  min-height: 120px;
  resize: vertical;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--navy);
  outline: 2px solid rgba(11, 18, 57, 0.22);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px 20px;
  margin-top: 6px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  min-height: 40px;
  cursor: pointer;
}

.check-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.form-card {
  background: var(--surface);
  border-top: 2px solid var(--navy);
  padding: clamp(24px, 4vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.form-status {
  padding: 20px 24px;
  border-left: 3px solid var(--amber);
  background: var(--stone);
  margin-bottom: 24px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA Band ---------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.14;
  max-width: 24ch;
  color: var(--navy-deep);
}

.cta-band p {
  margin: 16px auto 0;
  font-size: 17px;
  max-width: 52ch;
  color: var(--navy);
}

.cta-band .hero-cta-row {
  justify-content: center;
}

/* ---------- Coverage Table & Contact Grid ---------- */
.zone-list {
  border-top: 1px solid var(--rule);
}

.zone-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 1.2fr;
  gap: 16px 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.zone-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
}

.zone-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-deep);
}

@media (max-width: 860px) {
  .zone-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-block {
  border-top: 2px solid var(--amber);
  padding-top: 16px;
}

.contact-block h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
}

.contact-block p,
.contact-block a {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--amber-deep);
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Monumental Luxury Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ink-on-dark-muted);
  padding: 84px 0 40px;
  font-size: 14.5px;
  border-top: 2px solid var(--amber);
}

.footer-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 44px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-statement {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 500;
  color: #FFFFFF;
  max-width: 24ch;
  line-height: 1.2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.1fr;
  gap: 36px 28px;
}

.footer-logo {
  width: 176px;
  height: auto;
  margin-bottom: 16px;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--ink-on-dark-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--amber);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Clean Flat Cute Chat Icon with Hover Prompt Animation ---------- */
.chat-launcher-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chat-prompt-bubble {
  background: rgba(11, 18, 57, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F6F3EC;
  border: 1px solid rgba(242, 148, 34, 0.52);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(6, 11, 34, 0.34);
  opacity: 0;
  transform: translateX(12px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.chat-launcher-wrap:hover .chat-prompt-bubble,
.chat-launcher-wrap:focus-within .chat-prompt-bubble {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.chat-launcher-wrap.is-open .chat-prompt-bubble {
  opacity: 0;
  transform: translateX(12px) scale(0.95);
}

.chat-launcher {
  position: relative;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F6F3EC;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 11, 34, 0.24), 0 1px 3px rgba(6, 11, 34, 0.14);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), background-color 0.22s ease, color 0.22s ease, box-shadow 0.24s ease;
}

.chat-launcher:hover {
  background: var(--amber);
  color: var(--navy-deep);
  transform: scale(1.09) rotate(-6deg);
  box-shadow: 0 12px 30px rgba(242, 148, 34, 0.38);
}

.chat-launcher:active {
  transform: scale(0.96);
}

.chat-launcher svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.chat-launcher:hover svg {
  transform: scale(1.06);
}

.chat-launcher:hover svg circle {
  fill: #F6F3EC;
}

/* ---------- Futuristic 2026 Liquid-Glass Floating AI Concierge Drawer ---------- */
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 84px;
  width: min(392px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 116px));
  background: linear-gradient(165deg, rgba(14, 22, 64, 0.86) 0%, rgba(6, 11, 34, 0.92) 100%);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 70px rgba(3, 6, 20, 0.56),
    0 0 0 1px rgba(242, 148, 34, 0.12);
  z-index: 125;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: bottom right;
  transform: translateY(16px) scale(0.92);
  transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.34, 1.28, 0.64, 1), visibility 0.28s ease;
}

.chat-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.chat-head-id {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 148, 34, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.chat-avatar img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.chat-avatar::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 2px #091032;
}

.chat-head-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.chat-head-sub {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: rgba(212, 220, 240, 0.72);
}

.chat-close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.chat-msg {
  max-width: 86%;
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.56;
  white-space: pre-wrap;
}

.chat-msg-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #F4F2EC;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px 18px 18px 6px;
}

.chat-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #F8A132 0%, #DF7F0E 100%);
  color: #060B22;
  font-weight: 500;
  border-radius: 18px 18px 6px 18px;
}

.chat-msg-streaming::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  border-radius: 2px;
  background: var(--amber);
  animation: chatBlink 0.9s infinite;
}

@keyframes chatBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.chat-composer-wrap {
  padding: 6px 12px 12px;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.chat-form:focus-within {
  border-color: rgba(242, 148, 34, 0.72);
  background: rgba(255, 255, 255, 0.11);
}

.chat-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #FFFFFF;
  background: transparent;
  border: 0;
  padding: 7px 0;
  resize: none;
  max-height: 96px;
  line-height: 1.4;
  outline: none;
}

.chat-input::placeholder {
  color: rgba(212, 220, 240, 0.56);
}

.chat-send {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s ease;
}

.chat-send:hover {
  background: var(--amber-bright);
  transform: scale(1.05);
}

.chat-send:disabled {
  opacity: 0.45;
  cursor: wait;
}

.chat-send svg {
  width: 16px;
  height: 16px;
  display: block;
}

.chat-foot-links {
  margin-top: 8px;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(212, 220, 240, 0.58);
}

.chat-foot-links a {
  color: rgba(242, 148, 34, 0.88);
  text-decoration: none;
}

.chat-foot-links a:hover {
  color: #FFFFFF;
}

@media (max-width: 680px) {
  .section {
    padding: 52px 0;
  }
  .page-hero {
    padding: calc(var(--nav-h) + 28px) 0 40px;
  }
  .page-hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }
  .page-hero p {
    font-size: 15.5px;
    margin-top: 14px;
  }
  .field-input,
  .field-select,
  .field-textarea,
  .chat-input {
    font-size: 16px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .site-footer {
    padding: 56px 0 108px;
  }
}

@media (max-width: 520px) {
  .chat-launcher-wrap {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .chat-launcher {
    width: 50px;
    height: 50px;
  }
  .chat-prompt-bubble {
    display: none;
  }
  .chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(74px + env(safe-area-inset-bottom));
    height: min(500px, calc(100dvh - 104px));
  }
}
