/* One motion language for all 14 pages, light and dark. */
:root { --interaction-accent: #279dc8; --wash-opacity: .17; --wash-rgb: 19, 156, 222; }
html[data-tone="aqua"] { --interaction-accent: #209bb1; --wash-rgb: 22, 179, 200; }
html[data-tone="warm"] { --interaction-accent: #d68541; --wash-rgb: 255, 144, 53; }
html[data-theme="dark"] { --wash-opacity: .24; }
main, footer, .topline { position: relative; z-index: 1; }
.ambient-wash {
  display: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
html.interactions-ready .ambient-wash { display: block; }
.ambient-wash span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.ambient-cool { background: radial-gradient(ellipse at 85% 25%, #139cde, transparent 64%); }
.ambient-aqua { background: radial-gradient(ellipse at 10% 45%, #16b3c8, transparent 65%); }
.ambient-warm { background: radial-gradient(ellipse at 80% 70%, #ff9035, transparent 65%); }
html[data-tone="cool"] .ambient-cool,
html[data-tone="aqua"] .ambient-aqua,
html[data-tone="warm"] .ambient-warm { opacity: var(--wash-opacity); }
html.interactions-ready .header { border-bottom-color: var(--interaction-accent); transition: border-color 1.2s ease; }
.hero-copy, .page-heading > .container { animation: none; }
html.motion-ready [data-enter] {
  animation: coordinated-enter 1s var(--ease-out) both;
  animation-delay: var(--entry-delay, 0ms);
}
@keyframes coordinated-enter {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
html.motion-ready [data-reveal] { transition-duration: .85s, .9s; }
html.motion-ready [data-reveal]:not(.is-visible) { transform: translateY(32px); }
.interaction-pulse { animation: interaction-highlight .6s var(--ease-out) both; }
@keyframes interaction-highlight {
  0% { filter: brightness(1); }
  35% { filter: brightness(1.18); box-shadow: 0 0 0 4px #40bafa22; }
  100% { filter: brightness(1); }
}
.price-calculator strong { border-radius: 4px; padding: 2px 4px; }
.selected-destination, .estimate, .map-caption { border-radius: 6px; }
.tracking-response { border: 1px solid #ffffff35; border-left-width: 4px; }
.tracking-response[data-status="loading"] { border-left-color: #82d4ff; }
.tracking-response[data-status="success"] { border-left-color: #82d6b4; }
.tracking-response[data-status="not-found"], .tracking-response[data-status="info"] { border-left-color: #ffbf7b; }
.tracking-response[data-status="error"] { border-left-color: #ffada0; }
.tracking-response[data-status="loading"]:before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid #ffffff40;
  border-top-color: #a3e3ff;
  animation: tracking-rotate 1s linear infinite;
}
@keyframes tracking-rotate { to { transform: rotate(360deg); } }
/* A visual sequence, not new claims or new business content. */
.objective-list { position: relative; }
.objective-list:before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 20px;
  width: 1px;
  background: linear-gradient(var(--blue), #ff9d53);
  opacity: .35;
}
.objective-list article { position: relative; border-radius: 7px; }
.objective-number { position: relative; z-index: 1; background: var(--paper); }
.objective-list article, .values-grid article, .mission-grid article,
.faq-list summary { transition: background .25s ease, box-shadow .25s ease; }
.objective-list article:hover, .objective-list article:focus-visible,
.values-grid article:hover, .values-grid article:focus-visible {
  background: #1699d50b;
  box-shadow: inset 3px 0 0 var(--blue);
}
.objective-list article:focus-visible, .values-grid article:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px;
}
.values-grid article:hover .value-index, .values-grid article:focus-visible .value-index { color: var(--blue); }
.faq-list summary { border-radius: 5px; padding: 5px 8px; margin: -5px -8px; }
.faq-list summary:hover, .faq-list details[open] summary { background: #159bd40d; }
.faq-list details[open] { border-bottom-color: var(--blue); }
/* Rotation control lives before the photo controls in DOM and keyboard order. */
.carousel-controls { position: relative; }
.carousel-controls [data-autoplay] { border-color: #ffffff85; }
.carousel-controls .autoplay-play { display: none; }
[data-autoplay="false"] .carousel-controls .autoplay-play { display: block; }
[data-autoplay="false"] .carousel-controls .autoplay-pause { display: none; }
.carousel-controls [data-autoplay]:disabled { opacity: .45; cursor: not-allowed; }
.carousel-controls .carousel-dot { width: 25px; }
.carousel-dots { gap: 3px; }
.carousel-counter { margin-left: 0; font-size: 9px; letter-spacing: 1px; }
.carousel-clock {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  background: #ffffff22;
  border-radius: 2px;
}
.carousel-clock:before { content: ""; display: block; height: 100%; background: #ffb266; transform: scaleX(0); transform-origin: left; }
[data-playing="true"][data-clock="0"] .carousel-clock:before { animation: carousel-clock-even var(--carousel-duration) linear forwards; }
[data-playing="true"][data-clock="1"] .carousel-clock:before { animation: carousel-clock-odd var(--carousel-duration) linear forwards; }
@keyframes carousel-clock-even { to { transform: scaleX(1); } }
@keyframes carousel-clock-odd { to { transform: scaleX(1); } }
html.parallax-ready [data-depth] { translate: 0 var(--decor-y, 0px); }
@media (max-width: 800px) {
  html.motion-ready [data-enter] { animation-duration: .8s; }
  html.motion-ready [data-reveal]:not(.is-visible) { transform: translateY(22px); }
  .ambient-wash { --wash-opacity: .14; }
  html[data-theme="dark"] .ambient-wash { --wash-opacity: .2; }
}
@media (max-width: 580px) {
  .objective-list:before { left: 10px; }
  .carousel-controls { gap: 5px; }
  .carousel-arrows { gap: 6px; }
  .carousel-controls .carousel-dot { width: 23px; }
  .carousel-dot:before { width: 16px; }
}
html.motion-disabled [data-depth] { translate: none; }
html.motion-disabled .ambient-wash { display: none; }
/* Local layers paint above opaque section backgrounds, below their content. */
section:has(> .section-wash) { position: relative; isolation: isolate; }
.section-wash { display: none; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
html.interactions-ready .section-wash {
  display: block;
  background-color: rgba(var(--wash-rgb), .21);
  mask-image: radial-gradient(ellipse at 8% 24%, #000, transparent 80%);
  transition: background-color 1.4s ease;
}
html[data-theme="dark"].interactions-ready .section-wash {
  background-color: rgba(var(--wash-rgb), .24);
}
.carousel-playback { font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .15px; color: #c4e9f6; margin: -3px 0 8px; }
.motion-control { position: relative; flex-shrink: 0; color: var(--ink); }
.motion-control[hidden] { display: none; }
.motion-control > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 22px; font-size: 11px; font-weight: 700; background: var(--paper); }
.motion-control > summary::-webkit-details-marker { display: none; }
.motion-control[data-active="true"] > summary svg { color: var(--blue); }
.motion-control[data-active="false"] > summary { border-style: dashed; }
.motion-control summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.motion-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 265px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 16px 40px #0003; z-index: 100; }
.motion-panel label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.motion-panel select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--paper); font: inherit; font-size: 13px; }
.motion-panel p { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }
html[data-theme="dark"] .motion-control > summary, html[data-theme="dark"] .motion-panel, html[data-theme="dark"] .motion-panel select { background: #16364a; }
@media (max-width: 1100px) { .motion-control summary span { display: none; } .motion-control > summary { width: 38px; padding: 0; justify-content: center; } }
@media (max-width: 580px) {
  .theme-toggle, .motion-control > summary { width: 32px; height: 36px; min-height: 36px; }
  .header-actions { gap: 6px; }
  .motion-panel { position: fixed; top: 76px; right: 12px; width: min(265px, calc(100vw - 24px)); }
}
@media (max-width: 380px) {
  .language-switch svg { display: none; }
  .theme-toggle, .motion-control > summary { width: 28px; }
  .header-actions { gap: 5px; }
  .carousel-counter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) .ambient-wash { display: none !important; }
  html:not([data-motion="full"]).parallax-ready [data-depth] { translate: none; }
  html:not([data-motion="full"]).motion-ready [data-enter],
  html:not([data-motion="full"]) .interaction-pulse,
  html:not([data-motion="full"]) .tracking-response:before,
  html:not([data-motion="full"]) .carousel-clock:before { animation: none !important; }
}