:root {
  color-scheme: dark;
  --ink: #f5fbfc;
  --ink-muted: rgba(234, 247, 249, 0.72);
  --hairline: rgba(236, 249, 251, 0.34);
  --ocean-deep: #062d3d;
  --ocean-mid: #087890;
  --panel: rgba(4, 27, 37, 0.94);
  --frame-height: clamp(2.75rem, 5.4vw, 4.25rem);
  --vessel-size: min(clamp(13.5rem, 34vw, 31.25rem), calc(100svh - 8.75rem));
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  min-width: 20rem;
  background: var(--ocean-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--ocean-deep);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
}

.hero__picture,
.hero__picture img,
.hero__atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__picture {
  z-index: 0;
  background: #0b5a70;
  pointer-events: none;
}

.hero__picture img {
  display: block;
  object-fit: cover;
  object-position: center top;
  transform-origin: 50% 20%;
  animation: horizon-breathe 16s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.hero__atmosphere {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 49%, rgba(3, 33, 44, 0.2) 0 18%, rgba(3, 29, 39, 0.08) 35%, transparent 61%),
    linear-gradient(180deg, rgba(2, 29, 40, 0.2) 0%, rgba(3, 37, 48, 0.04) 40%, rgba(2, 25, 34, 0.24) 100%),
    linear-gradient(90deg, rgba(2, 29, 39, 0.1), transparent 30% 70%, rgba(2, 27, 36, 0.13));
}

.site-frame {
  position: fixed;
  z-index: 10;
  left: max(1.25rem, env(safe-area-inset-left));
  right: max(1.25rem, env(safe-area-inset-right));
  height: var(--frame-height);
  pointer-events: none;
}

.site-frame--top {
  top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--hairline);
}

.site-frame--bottom {
  bottom: env(safe-area-inset-bottom);
  display: grid;
  border-top: 1px solid var(--hairline);
  place-items: center;
}

.brand-stage {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  padding: calc(var(--frame-height) + env(safe-area-inset-top)) 1.25rem calc(var(--frame-height) + env(safe-area-inset-bottom));
  place-items: center;
}

.brand-stage::before {
  position: absolute;
  z-index: 0;
  width: min(78vmin, 46rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 40, 52, 0.54) 0%, rgba(2, 39, 51, 0.34) 31%, rgba(2, 36, 48, 0.13) 54%, transparent 73%);
  content: "";
  filter: blur(0.35rem);
  pointer-events: none;
}

.brand-vessel {
  position: relative;
  z-index: 1;
  top: -5vh;
  width: var(--vessel-size);
  aspect-ratio: 1;
  transform-origin: 50% 68%;
  animation: vessel-drift 11.8s cubic-bezier(0.42, 0, 0.55, 1) infinite;
  filter: drop-shadow(0 1.1rem 1.8rem rgba(1, 24, 33, 0.26));
  will-change: transform;
}

.brand-logo {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.brand-water {
  position: absolute;
  z-index: 2;
  top: 27.1%;
  left: 27.6%;
  width: 44.6%;
  aspect-ratio: 1;
  contain: paint;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(10, 75, 105, 0.62), rgba(2, 27, 51, 0.99));
  clip-path: circle(50% at 50% 50%);
  box-shadow:
    inset 0 -1rem 1.8rem rgba(1, 23, 40, 0.7),
    inset 0 0.08rem 0.16rem rgba(188, 231, 236, 0.24);
}

.brand-water::before {
  position: absolute;
  z-index: 4;
  inset: 7% 12% auto;
  height: 29%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(188, 232, 238, 0.13), transparent 76%);
  content: "";
  filter: blur(0.22rem);
  transform: rotate(-8deg);
}

.brand-water::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0.45rem rgba(159, 216, 224, 0.1);
  content: "";
  pointer-events: none;
}

.brand-water__swell {
  position: absolute;
  left: -16%;
  width: 132%;
  transform-origin: 50% 100%;
  will-change: transform;
}

.brand-water__swell--deep {
  z-index: 1;
  bottom: -13%;
  height: 63%;
  border-radius: 52% 47% 0 0 / 22% 28% 0 0;
  background: linear-gradient(165deg, #064968 0%, #033451 47%, #021f38 100%);
  animation: swell-deep 5.2s ease-in-out infinite alternate;
}

.brand-water__swell--mid {
  z-index: 2;
  bottom: 0;
  height: 45%;
  border-radius: 43% 57% 0 0 / 30% 23% 0 0;
  background:
    linear-gradient(172deg, rgba(116, 185, 201, 0.2) 0 5%, transparent 8%),
    linear-gradient(155deg, #075777 0%, #043e5c 48%, #022740 100%);
  box-shadow: 0 -0.17rem 0.28rem rgba(178, 225, 231, 0.17);
  animation: swell-mid 4s ease-in-out infinite alternate-reverse;
}

.brand-water__swell--foam {
  z-index: 3;
  bottom: 19%;
  height: 15%;
  border-radius: 50% 45% 48% 52%;
  background: linear-gradient(176deg, rgba(216, 244, 246, 0.74), rgba(111, 181, 198, 0.22) 42%, transparent 64%);
  filter: blur(0.05rem);
  opacity: 0.72;
  animation: swell-foam 3s ease-in-out infinite alternate;
}

.brand-vessel__wake {
  position: absolute;
  z-index: 1;
  left: 30%;
  bottom: 19.5%;
  width: 40%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(221, 252, 253, 0.25), rgba(106, 195, 207, 0.08) 48%, transparent 72%);
  filter: blur(0.5rem);
  opacity: 0.58;
  animation: wake-pulse 5.2s ease-in-out infinite alternate;
}

.contact-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 9.5rem;
  height: 100%;
  padding: 0 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  border: 0;
  border-right: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  color: var(--ink);
  background: rgba(4, 34, 45, 0.08);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-drawer__close svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.contact-trigger__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  padding: 0.34rem 0.37rem;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  background: rgba(247, 246, 241, 0.94);
  box-shadow: 0 0.18rem 0.65rem rgba(2, 25, 35, 0.18);
  place-items: center;
  transition: transform 260ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 260ms ease;
}

.contact-trigger__icon img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0.04rem 0.06rem rgba(10, 24, 34, 0.2));
  object-fit: contain;
  transform-origin: center;
  transition: transform 560ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.contact-trigger__label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  transition: transform 220ms ease, opacity 180ms ease;
}

.contact-trigger:hover {
  color: var(--ink);
  background: rgba(3, 34, 45, 0.27);
}

.contact-trigger:hover .contact-trigger__icon {
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 0.28rem 1rem rgba(2, 24, 34, 0.28), 0 0 0 0.18rem rgba(220, 239, 241, 0.14);
  transform: translateY(-0.12rem);
}

.contact-trigger:hover .contact-trigger__icon img {
  transform: rotate(180deg);
}

.contact-trigger:hover .contact-trigger__label {
  opacity: 0.94;
  transform: translateX(0.08rem);
}

.contact-trigger:active .contact-trigger__icon {
  transform: translateY(0) scale(0.96);
}

.contact-trigger:focus-visible,
.contact-drawer__close:focus-visible,
.company-profile a:focus-visible,
.site-legal a:focus-visible {
  outline: 2px solid #c9f7f8;
  outline-offset: 0.2rem;
}

.contact-drawer {
  position: fixed;
  z-index: 20;
  inset: auto 0 0;
  width: 100%;
  max-width: none;
  max-height: min(86dvh, 47rem);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: transparent;
  opacity: 0;
  transform: translate3d(0, 102%, 0);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 300ms ease;
}

.contact-drawer.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contact-drawer::backdrop {
  background: rgba(1, 18, 25, 0);
  backdrop-filter: blur(0);
  transition: background-color 360ms ease, backdrop-filter 360ms ease;
}

.contact-drawer.is-visible::backdrop {
  background: rgba(1, 18, 25, 0.54);
  backdrop-filter: blur(0.3rem);
}

.contact-drawer__panel {
  max-height: min(86dvh, 47rem);
  padding: 0 max(1.5rem, env(safe-area-inset-right)) calc(1.4rem + env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.025), transparent 38%),
    var(--panel);
  border-top: 1px solid rgba(221, 249, 251, 0.38);
  box-shadow: 0 -1.5rem 4rem rgba(0, 12, 17, 0.24);
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 246, 248, 0.34) transparent;
}

.contact-drawer__handle {
  width: 2.75rem;
  height: 0.18rem;
  margin: 0.65rem auto 0;
  border-radius: 1rem;
  background: rgba(218, 249, 250, 0.28);
}

.contact-drawer__header,
.company-profile,
.site-legal {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.contact-drawer__header {
  display: flex;
  padding: clamp(1.25rem, 3.4vw, 2.7rem) 0 clamp(1rem, 2.6vw, 2rem);
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.contact-drawer__eyebrow {
  margin: 0 0 0.45rem;
  color: rgba(205, 242, 245, 0.55);
  font-size: 0.65rem;
  letter-spacing: 0.34em;
}

.contact-drawer h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3.4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.contact-drawer__close {
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(220, 249, 251, 0.24);
  border-radius: 50%;
  color: var(--ink-muted);
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, border-color 180ms ease, transform 420ms ease;
}

.contact-drawer__close:hover {
  color: var(--ink);
  border-color: rgba(229, 252, 253, 0.58);
  transform: rotate(28deg);
}

.company-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.95fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.company-profile__intro {
  max-width: 35rem;
  margin: 0;
  color: rgba(240, 252, 253, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.company-profile__intro span {
  display: block;
}

.company-profile__details {
  display: grid;
  width: min(100%, 26rem);
  margin: 0;
  font-style: normal;
  justify-self: end;
  transform: translateY(-0.45rem);
}

.company-profile__item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  margin: 0;
  padding: 0.68rem 0;
  gap: 1rem;
  border-bottom: 1px solid rgba(218, 248, 250, 0.14);
  color: rgba(239, 251, 252, 0.84);
  font-size: 0.88rem;
  line-height: 1.65;
  text-decoration: none;
}

.company-profile__item:first-child {
  padding-top: 0.44rem;
}

a.company-profile__item {
  transition: color 180ms ease, padding-left 180ms ease;
}

a.company-profile__item:hover {
  padding-left: 0.2rem;
  color: #fff;
}

.company-profile__label {
  color: rgba(197, 235, 238, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.site-legal {
  display: flex;
  padding-top: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(218, 248, 250, 0.14);
  color: rgba(204, 235, 237, 0.45);
  font-size: 0.66rem;
  line-height: 1.7;
}

.site-legal p {
  margin: 0;
}

.site-legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.site-legal a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-legal a:hover {
  color: rgba(238, 251, 252, 0.9);
}

@keyframes vessel-drift {
  0%, 100% { transform: translate3d(-0.15%, 0.25%, 0) rotate(-0.45deg); }
  15% { transform: translate3d(0.2%, -0.2%, 0) rotate(0.34deg); }
  31% { transform: translate3d(0.45%, 0.05%, 0) rotate(0.7deg); }
  48% { transform: translate3d(0.08%, 0.5%, 0) rotate(-0.2deg); }
  67% { transform: translate3d(-0.36%, -0.12%, 0) rotate(-0.82deg); }
  83% { transform: translate3d(-0.08%, -0.35%, 0) rotate(0.16deg); }
}

@keyframes horizon-breathe {
  from { transform: scale(1.003) translate3d(-0.08%, 0, 0); }
  to { transform: scale(1.022) translate3d(0.14%, -0.12%, 0); }
}

@keyframes swell-deep {
  from { transform: translate3d(-2.5%, 2%, 0) rotate(-2.4deg) scaleY(1.03); }
  to { transform: translate3d(2.8%, -1%, 0) rotate(1.8deg) scaleY(0.94); }
}

@keyframes swell-mid {
  from { transform: translate3d(3.4%, 1%, 0) rotate(1.8deg) scaleY(0.92); }
  to { transform: translate3d(-3.2%, -2.2%, 0) rotate(-2.1deg) scaleY(1.06); }
}

@keyframes swell-foam {
  from { transform: translate3d(-4%, 1%, 0) rotate(-1.4deg) scaleX(0.98); opacity: 0.58; }
  to { transform: translate3d(4%, -4%, 0) rotate(1.5deg) scaleX(1.04); opacity: 0.82; }
}

@keyframes wake-pulse {
  from { transform: scaleX(0.86); opacity: 0.32; }
  to { transform: scaleX(1.12); opacity: 0.62; }
}

@media (max-width: 43.75rem) {
  :root {
    --frame-height: 3.25rem;
    --vessel-size: min(clamp(15rem, 64vw, 18.5rem), calc(100svh - 7.5rem));
  }

  .hero__picture img {
    object-position: center center;
  }

  .hero__atmosphere {
    background:
      radial-gradient(circle at 50% 49%, rgba(3, 30, 41, 0.24) 0 20%, rgba(3, 29, 39, 0.08) 39%, transparent 66%),
      linear-gradient(180deg, rgba(2, 29, 40, 0.22), rgba(2, 27, 37, 0.08) 48%, rgba(2, 22, 31, 0.3));
  }

  .site-frame {
    left: max(0.9rem, env(safe-area-inset-left));
    right: max(0.9rem, env(safe-area-inset-right));
  }

  .contact-trigger {
    min-width: 8.75rem;
    padding-inline: 1.15rem;
  }

  .company-profile {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .company-profile__details {
    transform: none;
  }

  .site-legal {
    display: grid;
  }

  .site-legal nav {
    justify-content: flex-start;
  }
}

@media (max-height: 31.25rem) and (orientation: landscape) {
  :root {
    --frame-height: 3rem;
    --vessel-size: min(31vw, calc(100svh - 6.4rem));
  }

  .contact-drawer,
  .contact-drawer__panel {
    max-height: 92dvh;
  }

  .contact-drawer__header {
    padding-block: 0.8rem 0.6rem;
  }

  .company-profile {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 0.75rem;
  }

  .company-profile__intro {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .company-profile__item {
    padding-block: 0.35rem;
    font-size: 0.76rem;
  }

  .site-legal {
    font-size: 0.58rem;
  }
}

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

  .hero__picture img,
  .brand-vessel,
  .brand-water__swell,
  .brand-vessel__wake {
    animation: none !important;
  }

  .contact-trigger__icon img {
    transition-duration: 1ms;
  }

  .contact-drawer {
    transition-duration: 1ms;
  }
}

@media (prefers-contrast: more) {
  :root {
    --hairline: rgba(255, 255, 255, 0.72);
  }

  .hero__atmosphere {
    background: rgba(1, 25, 35, 0.3);
  }
}
