/* ==========================================================================
   A-Border — new_web style frame
   Flat harbour language: sky, sea, ship, containers. Brand blue + container orange,
   ink for structure. No shadows, no borders on cards or buttons.
   ========================================================================== */

@font-face {
  font-family: "Smiley Sans";
  src: url("../fonts/smiley-sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Stencil";
  src: url("../fonts/big-shoulders-stencil.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #e3ecff;
  --sea: #2563eb;
  --sea-ink: #1d4ed8;
  --wave: #5a8bf0;
  --orange: #ff6b2c;
  --peach: #ffd3ba;
  --ink: #0a0f1c;
  --ink-2: #475467;
  --ink-3: #667085;
  --paper: #ffffff;
  --mist: #f1f3f6;

  --display: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --stencil: "Big Shoulders Stencil", "Arial Narrow", "Roboto Condensed", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI",
    "Microsoft YaHei", sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
svg[viewBox="0 0 24 24"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--orange);
  color: var(--ink);
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Type & small parts ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tag i {
  width: 14px;
  height: 9px;
  border-radius: 1px;
  background: var(--orange);
}
.tag--light {
  color: rgba(255, 255, 255, 0.78);
}
.h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 1.02;
  font-synthesis: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn--orange {
  background: var(--orange);
  color: var(--ink);
}
.btn--orange:hover {
  background: var(--ink);
  color: #fff;
}
.btn--lg {
  height: 58px;
  padding: 0 32px;
  font-size: 16px;
}
.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.2s;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  color: var(--sea);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--sky);
  transition: background-color 0.3s;
}
.header.is-scrolled {
  background: var(--paper);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.header__logo img {
  height: 30px;
  width: auto;
}
.nav {
  display: none;
  gap: 30px;
  margin: 0 auto;
}
.nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--ink);
}
.header__cta {
  display: none;
  margin-left: auto;
}
.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -10px 0 auto;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.burger span {
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  transform: translateY(-7px);
}
.burger span::after {
  transform: translateY(7px);
}
.menu-open .burger span {
  background: transparent;
}
.menu-open .burger span::before {
  transform: rotate(45deg);
}
.menu-open .burger span::after {
  transform: rotate(-45deg);
}
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 12px var(--gutter) 32px;
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}
.drawer a:not(.btn) {
  padding: 12px 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.2;
}
.drawer .btn {
  margin-top: 24px;
}
.menu-open {
  overflow: hidden;
}
.menu-open .drawer {
  visibility: visible;
  opacity: 1;
}
.menu-open .header {
  background: var(--paper);
}
@media (min-width: 640px) {
  .header__cta {
    display: inline-flex;
  }
  .burger {
    margin-left: 0;
  }
}
@media (min-width: 1080px) {
  .nav {
    display: flex;
  }
  .header__cta {
    margin-left: 0;
  }
  .burger,
  .drawer {
    display: none;
  }
}

/* ---------- Hero: sky, harbour, sea ---------- */

.hero {
  position: relative;
  background: var(--sky);
  overflow: hidden;
  padding-top: clamp(16px, 3vw, 40px);
}
.clouds {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cloud {
  position: absolute;
  display: block;
  width: var(--w);
  height: calc(var(--w) * 0.26);
  border-radius: 999px;
  background: #fff;
  animation: drift var(--t) ease-in-out infinite alternate;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 30%;
  border-radius: 50%;
  background: #fff;
}
.cloud::before {
  left: 16%;
  width: 40%;
  aspect-ratio: 1;
}
.cloud::after {
  left: 48%;
  width: 30%;
  aspect-ratio: 1;
}
.cloud--1 {
  --w: 190px;
  --t: 14s;
  top: 13%;
  left: 47%;
}
.cloud--2 {
  --w: 120px;
  --t: 18s;
  top: 6%;
  left: 83%;
}
.cloud--3 {
  --w: 140px;
  --t: 16s;
  top: 4%;
  left: 30%;
}
@media (max-width: 720px) {
  .cloud--1 {
    --w: 110px;
    top: 4%;
    left: 58%;
  }
  .cloud--2 {
    --w: 76px;
    top: 30%;
    left: 84%;
  }
  .cloud--3 {
    display: none;
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
}
.hero__copy {
  position: relative;
  z-index: 3;
}
.hero__title {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 14vw, 104px);
  line-height: 1.04;
  font-synthesis: none;
}
@media (min-width: 640px) {
  .hero__title {
    font-size: clamp(56px, 6.3vw, 104px);
  }
}

/* Rotating platform name */
.rot {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  height: 1.12em;
  padding-right: 0.12em;
  overflow: hidden;
  color: var(--sea);
}
.rot::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.16em;
  bottom: 0.02em;
  height: 0.075em;
  border-radius: 0.04em;
  background: var(--orange);
}
.rot__w {
  display: block;
  line-height: 1.12;
  white-space: nowrap;
}
.rot__w:not(.is-on) {
  display: none;
}
.js .rot {
  width: var(--w, 3.4em);
  transition: width 0.55s var(--ease);
}
.js .rot__w {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease), opacity 0.35s;
}
.js .rot__w.is-on {
  opacity: 1;
  transform: none;
}
.js .rot__w.is-out {
  opacity: 0;
  transform: translateY(-100%);
}

.hero__sub {
  max-width: 30em;
  margin-top: 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 34px;
}
.hero__note {
  margin-top: 30px;
  font: 500 12px/1.6 var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* The harbour illustration */
.harbor {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}
.harbor__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.harbor__cap {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 var(--mono);
  color: var(--ink-2);
}
.harbor__cap i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--orange);
  animation: blink 1.2s steps(2, jump-none) infinite;
}
.box__label {
  font-family: var(--display);
  font-size: 19px;
  text-anchor: middle;
}
.ship-name {
  font-family: var(--stencil);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  fill: #fff;
}
.ship-port {
  font: 600 10px var(--mono);
  letter-spacing: 1.5px;
  fill: #fff;
  opacity: 0.6;
}
.flag {
  transform-box: fill-box;
  transform-origin: left center;
  animation: flag 1.4s ease-in-out infinite alternate;
}
.gull {
  animation: bob 3.2s ease-in-out infinite alternate;
}
.gull--2 {
  animation-duration: 2.6s;
  animation-delay: -1s;
}
.gull--3 {
  animation-duration: 3.8s;
  animation-delay: -2s;
}
.carry {
  opacity: 0;
}
.rig.has-box .carry {
  opacity: 1;
}
.js .harbor.is-live .box {
  opacity: 0;
  transition: opacity 0.15s;
}
.js .harbor.is-live .box.is-loaded {
  opacity: 1;
}

/* What happens once the ship is loaded */
.signal {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 240px;
  padding: 11px 15px 13px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.signal__k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-size: 11.5px;
  font-weight: 700;
}
.signal__k svg {
  width: 13px;
  height: 13px;
}
.signal b {
  font-size: 14px;
  font-weight: 700;
}
.signal small {
  font-size: 11.5px;
  opacity: 0.72;
}
.signal--g {
  left: 27%;
  top: 19%;
  background: #fff;
}
.signal--g .signal__k {
  color: var(--ink-3);
}
.signal--g b {
  color: #1a0dab;
  font-weight: 600;
}
.signal--ai {
  left: 55%;
  top: 2%;
  background: var(--ink);
  color: #fff;
  transition-delay: 0.45s;
}
.signal--ai .signal__k {
  color: #9cbcff;
}
.signal--mail {
  right: -1%;
  top: 37%;
  background: var(--orange);
  color: var(--ink);
  transition-delay: 0.9s;
}
.harbor.show-signals .signal {
  opacity: 1;
  transform: none;
}
@media (max-width: 720px) {
  .signal {
    max-width: 170px;
    padding: 8px 10px 9px;
    border-radius: 12px;
    font-size: 11px;
  }
  .signal b {
    font-size: 11.5px;
  }
  .signal small {
    display: none;
  }
  .signal--g {
    left: 18%;
    top: 16%;
  }
  .signal--ai {
    left: 52%;
    top: 0;
  }
  .harbor__cap {
    font-size: 10.5px;
  }
}

/* Sea band with drifting wave crests */
.sea {
  position: relative;
  z-index: 1;
  height: clamp(64px, 8vw, 112px);
  background-color: var(--sea);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='40'%3E%3Cpath d='M14 24q13-9 26 0M120 16q10-7 20 0' fill='none' stroke='%235a8bf0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='40'%3E%3Cpath d='M60 22q15-10 30 0M210 18q11-7 22 0' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 220px 40px, 300px 40px;
  background-position: 0 14px, 0 48px;
  background-repeat: repeat-x;
  animation: waves 22s linear infinite;
}

@media (min-width: 1100px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: end;
    gap: 24px;
  }
  .hero__copy {
    align-self: center;
    padding-bottom: clamp(40px, 6vw, 96px);
  }
  .harbor {
    margin-right: calc(var(--gutter) * -0.5);
  }
}
@media (max-width: 1099px) {
  .hero__copy {
    padding-top: 8px;
  }
  .harbor {
    margin-top: 12px;
  }
}

/* ---------- Services: the container stack ---------- */

.section {
  padding-block: clamp(96px, 11vw, 160px);
}
.sec-head {
  display: grid;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head__sub {
  max-width: 32em;
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-2);
}
@media (min-width: 1000px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "tag ." "title sub";
    align-items: end;
    column-gap: 48px;
  }
  .sec-head .tag {
    grid-area: tag;
  }
  .sec-head .h2 {
    grid-area: title;
  }
  .sec-head__sub {
    grid-area: sub;
    justify-self: end;
    margin-top: 0;
    padding-bottom: 10px;
  }
}

.stack {
  display: grid;
  gap: 10px;
}
.crate {
  --c: var(--orange);
  --fg: var(--ink);
  --soft: rgba(10, 15, 28, 0.72);
  --chip: rgba(10, 15, 28, 0.09);
  --rail: rgba(0, 0, 0, 0.13);
  --ridge: rgba(0, 0, 0, 0.055);
  --cast: rgba(0, 0, 0, 0.22);
  --bar: rgba(255, 255, 255, 0.42);
  position: relative;
  display: grid;
  gap: 36px;
  padding: clamp(34px, 4vw, 56px) clamp(68px, 7vw, 96px) clamp(34px, 4vw, 56px) clamp(24px, 4vw, 56px);
  border-radius: 6px;
  color: var(--fg);
  background-color: var(--c);
  background-image: linear-gradient(var(--cast), var(--cast)), linear-gradient(var(--cast), var(--cast)),
    linear-gradient(var(--cast), var(--cast)), linear-gradient(var(--cast), var(--cast)),
    linear-gradient(var(--bar), var(--bar)), linear-gradient(var(--bar), var(--bar)),
    linear-gradient(var(--rail), var(--rail)), linear-gradient(var(--rail), var(--rail)),
    repeating-linear-gradient(90deg, transparent 0 38px, var(--ridge) 38px 46px);
  background-size: 22px 18px, 22px 18px, 22px 18px, 22px 18px, 6px calc(100% - 56px), 6px calc(100% - 56px),
    100% 12px, 100% 12px, auto;
  background-position: left top, right top, left bottom, right bottom, right 46px center, right 26px center, top,
    bottom, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat;
}
.crate--blue {
  --c: var(--sea);
  --fg: #fff;
  --soft: rgba(255, 255, 255, 0.8);
  --chip: rgba(255, 255, 255, 0.16);
  --bar: rgba(255, 255, 255, 0.32);
}
.crate--ink {
  --c: var(--ink);
  --fg: #fff;
  --soft: rgba(255, 255, 255, 0.72);
  --chip: rgba(255, 255, 255, 0.12);
  --rail: rgba(255, 255, 255, 0.08);
  --ridge: rgba(255, 255, 255, 0.035);
  --cast: rgba(255, 255, 255, 0.16);
  --bar: rgba(255, 255, 255, 0.2);
}
.crate--peach {
  --c: var(--peach);
  --bar: rgba(255, 255, 255, 0.6);
}
.crate__code {
  display: flex;
  gap: 18px;
  font-family: var(--stencil);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--soft);
}
.crate--ink .crate__code span:first-child {
  color: var(--orange);
}
.crate h3 {
  margin-top: 20px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1;
  font-synthesis: none;
}
.crate__desc {
  max-width: 24em;
  margin-top: 16px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--soft);
}
.manifest {
  margin-top: 26px;
}
.manifest > span {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.1em;
  color: var(--soft);
}
.manifest ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.manifest li {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 14px;
  font-weight: 700;
}
.crate__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 700;
}
.crate__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.crate__link:hover svg {
  transform: translateX(4px);
}
.crate__cargo {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) {
  .crate {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 380px;
  }
}

/* Stickers stuck on the containers: what's inside */
.sticker {
  position: relative;
  width: min(100%, 450px);
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.5s var(--ease);
}
.crate:hover .sticker {
  transform: rotate(0deg) translateY(-4px);
}
.sk-browser {
  position: relative;
  padding-top: 22px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mist);
}
.sk-dots {
  position: absolute;
  left: 10px;
  top: 8px;
  display: flex;
  gap: 4px;
}
.sk-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfd4dc;
}
.sk-browser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.sk-phone {
  position: absolute;
  right: -16px;
  bottom: -20px;
  width: 27%;
  aspect-ratio: 9 / 18;
  padding: 5px;
  border-radius: 18px;
  background: var(--ink);
}
.sk-phone img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: 6% top;
}

.sk-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 14px;
}
.sk-search svg {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}
.sk-dim {
  display: grid;
  gap: 6px;
  padding: 12px 4px;
}
.sk-dim i {
  height: 8px;
  border-radius: 4px;
  background: #e8eaee;
}
.sk-dim i:first-child {
  width: 46%;
}
.sk-dim i:last-child {
  width: 82%;
}
.sk-hit {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eaf0ff;
}
.sk-hit small {
  font-size: 12px;
  color: var(--ink-2);
}
.sk-hit b {
  font-size: 16px;
  font-weight: 600;
  color: #1a0dab;
}
.sk-hit span {
  font-size: 13px;
  color: var(--ink-2);
}
.sk-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.sk-ticks span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f8ee;
  color: #067647;
  font-size: 12px;
  font-weight: 700;
}

.sk-q {
  margin-left: 14%;
  padding: 11px 15px;
  border-radius: 18px 18px 4px 18px;
  background: var(--mist);
  font-size: 14px;
  line-height: 1.5;
}
.sk-a {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.sk-ai {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sea);
  color: #fff;
}
.sk-ai svg {
  width: 16px;
  height: 16px;
}
.sk-a p {
  font-size: 14px;
  line-height: 1.6;
}
.sk-a mark {
  padding: 0 3px;
  border-radius: 4px;
  background: #dbe6ff;
  color: var(--ink);
}
.sk-cite {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 9px;
  border-radius: 999px;
  background: #fff0e8;
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
}

.sk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sk-head b {
  font-size: 15px;
}
.sk-head span {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--mist);
  font: 500 11px var(--mono);
  color: var(--ink-3);
}
.sk-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  overflow: visible;
}
.sk-chart__grid {
  stroke: #eef0f3;
  stroke-width: 1.5;
}
.sk-chart__a,
.sk-chart__b {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.sk-chart__a {
  stroke: var(--sea);
  stroke-width: 3.5;
}
.sk-chart__b {
  stroke: var(--orange);
  stroke-width: 3;
}
.crate.is-in .sk-chart__a {
  animation: draw 1.6s var(--ease) 0.3s forwards;
}
.crate.is-in .sk-chart__b {
  animation: draw 1.6s var(--ease) 0.6s forwards;
}
.sk-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.sk-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sk-lg {
  width: 14px;
  height: 3px;
  border-radius: 2px;
}
.sk-lg--a {
  background: var(--sea);
}
.sk-lg--b {
  background: var(--orange);
}

/* ---------- Contact: the booking label ---------- */

.contact {
  position: relative;
  padding-block: clamp(110px, 12vw, 170px) clamp(96px, 11vw, 150px);
  background: var(--sea);
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22'%3E%3Cpath d='M0 0h120v4c-20 0-20 16-40 16S60 4 40 4 20 20 0 20z' fill='%23fff'/%3E%3C/svg%3E") repeat-x;
  background-size: 120px 22px;
}
.contact__grid {
  display: grid;
  gap: 64px;
}
@media (min-width: 1000px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 80px;
  }
}
.contact .h2 {
  color: #fff;
}
.contact__sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #dce6ff;
}
.route {
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: 48px;
}
.route::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55) 50%, transparent 50%);
  background-size: 2px 10px;
}
.route li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.route__no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--sea);
  font: 700 19px/1 var(--stencil);
  letter-spacing: 0.04em;
}
.route li:first-child .route__no {
  background: var(--orange);
  color: var(--ink);
}
.route b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.route div span {
  display: block;
  margin-top: 2px;
  font-size: 15.5px;
  color: #dce6ff;
}
.direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.direct li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}
.direct li > span:first-child {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.direct a {
  font-size: 15px;
  font-weight: 700;
}
.direct a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.direct__wechat {
  flex-direction: row !important;
  align-items: center;
  gap: 14px !important;
}
.qr {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.label {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
}
.label__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.label__title b {
  display: block;
  font: 700 38px/0.9 var(--stencil);
  letter-spacing: 0.05em;
}
.label__title span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.label__no {
  padding-top: 4px;
  font: 500 12px/1.4 var(--mono);
  color: var(--ink-3);
  text-align: right;
}
.label__no span {
  color: var(--ink);
  font-weight: 600;
}
.barcode {
  display: block;
  width: 100%;
  height: 44px;
  margin: 18px 0 24px;
  fill: var(--ink);
}
.label__fields {
  display: grid;
  gap: 16px;
}
@media (min-width: 560px) {
  .label__fields {
    grid-template-columns: 1fr 1fr;
  }
  .lf--wide {
    grid-column: 1 / -1;
  }
}
.lf {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.lf > span,
.lf legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font: 600 11px/1.3 var(--mono);
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.lf em {
  color: var(--orange);
  font-style: normal;
}
.lf input[type="text"] {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--mist);
  font-size: 15px;
  outline: 2px solid transparent;
  transition: outline-color 0.2s, background-color 0.2s;
}
.lf input[type="text"]::placeholder {
  color: #9aa1ad;
}
.lf input[type="text"]:focus {
  outline-color: var(--ink);
  background: #fff;
}
.lf input[aria-invalid="true"] {
  outline-color: #f04438;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  position: relative;
}
.chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.chips span {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.chips span:hover {
  background: #e4e7ec;
}
.chips input:checked + span {
  background: var(--ink);
  color: #fff;
}
.chips input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.label__error {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #d92d20;
}
.label__error:empty {
  display: none;
}
.label .btn {
  margin-top: 22px;
}
.label__done {
  display: none;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #e7f8ee;
  color: #067647;
  font-weight: 700;
}
.label.is-done .label__done {
  display: block;
}
.label.is-done .btn {
  display: none;
}
.stamp {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  top: 104px;
  display: grid;
  justify-items: center;
  padding: 10px 20px 12px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
  opacity: 0;
  transform: rotate(-12deg) scale(1.7);
  pointer-events: none;
}
.stamp b {
  font: 400 30px/1 var(--display);
}
.stamp small {
  margin-top: 4px;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.24em;
}
.label.is-done .stamp {
  animation: stamp 0.45s var(--ease) forwards;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 64px 36px;
  background: var(--ink);
  color: #98a2b3;
  font-size: 14px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.footer__brand img {
  height: 30px;
  width: auto;
}
.footer__brand p {
  margin-top: 14px;
  line-height: 1.8;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.footer__links a,
.footer__bottom a {
  transition: color 0.2s;
}
.footer__links a:hover,
.footer__bottom a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  font-size: 12.5px;
  color: #667085;
}

/* ---------- Motion ---------- */

@keyframes drift {
  to {
    transform: translateX(48px);
  }
}
@keyframes waves {
  to {
    background-position: 220px 14px, -300px 48px;
  }
}
@keyframes flag {
  to {
    transform: scaleX(0.84) skewY(5deg);
  }
}
@keyframes bob {
  to {
    transform: translateY(-6px);
  }
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes stamp {
  to {
    opacity: 1;
    transform: rotate(-12deg) scale(1);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .sea,
  .cloud,
  .flag,
  .gull,
  .harbor__cap i {
    animation: none !important;
  }
}
