/* =========================================================
   张金艳 · 成就海域
   An interactive sea of achievement cells
   ========================================================= */

:root {
  --deep: #021326;
  --deep-2: #04223d;
  --water: #06486d;
  --water-light: #08769a;
  --foam: #e8fcff;
  --white: #f3fdff;
  --muted: rgba(230, 250, 255, 0.62);
  --cyan: #5cd6ff;
  --blue: #7c9cff;
  --mint: #71e7c7;
  --violet: #c2b3ff;
  --coral: #ff927c;
  --gold: #ffd166;
  --pink: #ff9ad5;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --latin: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--deep);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.detail-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--deep);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

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

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--foam);
  color: var(--deep);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---------------------------------------------------------
   The sea
   --------------------------------------------------------- */

.sea {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 76% 42%, rgba(0, 163, 203, 0.21), transparent 34%),
    radial-gradient(ellipse at 17% 12%, rgba(58, 143, 255, 0.16), transparent 30%),
    radial-gradient(ellipse at 48% 110%, rgba(0, 218, 204, 0.18), transparent 44%),
    linear-gradient(158deg, #021326 0%, #04233d 32%, #06486d 64%, #075d7e 100%);
}

.sea::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, transparent 0 47%, rgba(152, 240, 255, 0.18) 47.2%, transparent 47.5%),
    linear-gradient(75deg, transparent 0 61%, rgba(152, 240, 255, 0.12) 61.2%, transparent 61.4%);
  background-size: 520px 350px, 440px 300px;
  mix-blend-mode: screen;
}

.sea::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 22vh;
  pointer-events: none;
  background:
    repeating-linear-gradient(178deg, transparent 0 24px, rgba(171, 246, 255, 0.12) 25px 26px, transparent 27px 49px);
  opacity: 0.42;
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}

#plankton {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.sea__light {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  mix-blend-mode: screen;
  opacity: 0.4;
}

.sea__light--one {
  top: -20%;
  left: 22%;
  width: 55vw;
  height: 70vw;
  background: radial-gradient(ellipse, rgba(75, 204, 255, 0.28) 0%, rgba(75, 204, 255, 0.05) 42%, transparent 70%);
  transform: rotate(18deg);
  animation: lightDrift 16s ease-in-out infinite alternate;
}

.sea__light--two {
  right: -24%;
  top: 3%;
  width: 55vw;
  height: 62vw;
  background: radial-gradient(ellipse, rgba(99, 255, 224, 0.13) 0%, transparent 64%);
  animation: lightDrift 21s ease-in-out infinite alternate-reverse;
}

.sea__caustic {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    repeating-linear-gradient(112deg, transparent 0 44px, rgba(164, 250, 255, 0.45) 45px 46px, transparent 47px 92px),
    repeating-linear-gradient(68deg, transparent 0 73px, rgba(163, 245, 255, 0.25) 74px 75px, transparent 76px 150px);
  filter: blur(4px);
  mix-blend-mode: screen;
  animation: causticMove 18s linear infinite;
}

.sea__watermark {
  position: absolute;
  right: -2%;
  bottom: -14%;
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(420px, 53vw, 820px);
  font-weight: 400;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(202, 249, 255, 0.08);
  pointer-events: none;
  user-select: none;
}

@keyframes lightDrift {
  from { transform: translate3d(-3%, -2%, 0) rotate(10deg); opacity: 0.3; }
  to { transform: translate3d(4%, 4%, 0) rotate(24deg); opacity: 0.53; }
}

@keyframes causticMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(8%, 4%, 0); }
}

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

.sea-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1360px, calc(100% - 64px));
  height: 92px;
  margin-inline: auto;
}

.sea-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.sea-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(222, 251, 255, 0.45);
  border-radius: 50%;
  background: rgba(5, 43, 69, 0.35);
  color: var(--gold);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 25px rgba(105, 227, 255, 0.16);
  backdrop-filter: blur(8px);
}

.sea-brand__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
}

.sea-brand__text small {
  display: block;
  margin-top: 3px;
  font-family: var(--latin);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(232, 252, 255, 0.48);
}

.sea-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sea-header__hint {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(232, 252, 255, 0.5);
}

.sea-official {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(232, 252, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 36, 58, 0.3);
  color: var(--foam);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sea-official:hover {
  border-color: var(--gold);
  background: rgba(255, 209, 102, 0.1);
}

/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.ocean {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: 92px;
}

.ocean__intro {
  position: absolute;
  top: 19%;
  left: 6%;
  z-index: 10;
  width: min(370px, 30vw);
}

.sea-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.sea-eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.ocean__intro h1 {
  font-family: var(--sans);
  font-size: clamp(66px, 7.4vw, 108px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.09em;
  color: var(--white);
  text-shadow: 0 10px 55px rgba(70, 226, 255, 0.17);
}

.ocean__role {
  margin-top: 23px;
  font-size: 11.5px;
  line-height: 1.95;
  letter-spacing: 0.055em;
  color: rgba(232, 252, 255, 0.65);
}

.ocean__role strong {
  color: var(--foam);
  font-weight: 600;
}

.ocean__quote {
  margin-top: 21px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.ocean__instruction {
  margin-top: 24px;
  padding-left: 13px;
  border-left: 1px solid rgba(232, 252, 255, 0.28);
  font-size: 10px;
  line-height: 1.9;
  color: rgba(232, 252, 255, 0.48);
}

.sea-side {
  position: absolute;
  bottom: 17%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(232, 252, 255, 0.42);
  pointer-events: none;
}

.sea-side--left {
  left: 23px;
}

.sea-side--right {
  right: 23px;
}

.sea-side span {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.sea-side i {
  width: 1px;
  height: 42px;
  background: rgba(232, 252, 255, 0.18);
}

.sea-side b {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  color: rgba(232, 252, 255, 0.18);
}

/* ---------------------------------------------------------
   Bubble field
   --------------------------------------------------------- */

.bubble-field {
  position: relative;
  z-index: 6;
  flex: 1;
  min-height: calc(100svh - 150px);
}

.bubble-field::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 58%;
  width: clamp(400px, 38vw, 560px);
  height: clamp(400px, 38vw, 560px);
  border: 1px solid rgba(168, 244, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bubble-field::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 58%;
  width: clamp(470px, 44vw, 650px);
  height: clamp(470px, 44vw, 650px);
  border: 1px dashed rgba(168, 244, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bubble {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.bubble--profile {
  width: clamp(250px, 22vw, 322px);
  height: clamp(310px, 27.4vw, 402px);
  z-index: 8;
}

.bubble--lg {
  width: clamp(145px, 13vw, 188px);
  height: clamp(145px, 13vw, 188px);
}

.bubble--md {
  width: clamp(116px, 10.8vw, 158px);
  height: clamp(116px, 10.8vw, 158px);
}

.bubble--sm {
  width: clamp(98px, 8.8vw, 132px);
  height: clamp(98px, 8.8vw, 132px);
}

.bubble__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(190, 247, 255, 0.36);
  border-radius: 56% 44% 61% 39% / 43% 58% 42% 57%;
  background:
    radial-gradient(circle at 27% 21%, rgba(255, 255, 255, 0.62) 0 1.5%, rgba(255, 255, 255, 0.15) 7%, transparent 22%),
    radial-gradient(circle at 44% 57%, color-mix(in srgb, var(--accent) 27%, transparent) 0%, transparent 68%),
    rgba(11, 60, 89, 0.42);
  box-shadow:
    inset 0 0 38px rgba(208, 251, 255, 0.13),
    inset 8px 9px 35px rgba(255, 255, 255, 0.08),
    0 0 38px color-mix(in srgb, var(--accent) 17%, transparent),
    0 24px 50px rgba(0, 11, 25, 0.24);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: bubbleFloat 9s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition:
    scale 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.bubble__inner::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(219, 252, 255, 0.12);
  border-radius: inherit;
  transform: rotate(-9deg);
  pointer-events: none;
}

.bubble__inner::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 12%;
  width: 6%;
  height: 6%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  box-shadow: 0 0 15px var(--accent);
  pointer-events: none;
}

.bubble:nth-child(3) .bubble__inner {
  border-radius: 42% 58% 45% 55% / 62% 40% 60% 38%;
}

.bubble:nth-child(4) .bubble__inner {
  border-radius: 63% 37% 52% 48% / 42% 58% 42% 58%;
}

.bubble:nth-child(5) .bubble__inner {
  border-radius: 45% 55% 64% 36% / 55% 42% 58% 45%;
}

.bubble:nth-child(6) .bubble__inner {
  border-radius: 57% 43% 39% 61% / 45% 62% 38% 55%;
}

.bubble:nth-child(7) .bubble__inner {
  border-radius: 38% 62% 55% 45% / 60% 43% 57% 40%;
}

.bubble:nth-child(8) .bubble__inner {
  border-radius: 52% 48% 40% 60% / 44% 56% 44% 56%;
}

.bubble:hover .bubble__inner {
  scale: 1.06;
  border-color: color-mix(in srgb, var(--accent) 75%, white 25%);
  box-shadow:
    inset 0 0 45px rgba(220, 252, 255, 0.2),
    0 0 55px color-mix(in srgb, var(--accent) 34%, transparent),
    0 24px 60px rgba(0, 11, 25, 0.28);
}

.bubble:active .bubble__inner {
  scale: 0.98;
}

.bubble__code {
  position: absolute;
  top: 13%;
  left: 16%;
  font-family: var(--latin);
  font-size: 7px;
  letter-spacing: 0.07em;
  color: var(--accent);
  opacity: 0.8;
}

.bubble__title {
  max-width: 82%;
  font-family: var(--sans);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0, 22, 40, 0.32);
}

.bubble--lg .bubble__title {
  font-size: clamp(18px, 1.65vw, 23px);
}

.bubble__meta {
  max-width: 82%;
  margin-top: 5px;
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--accent) 55%, white 45%);
  opacity: 0.85;
}

.bubble__nucleus {
  position: absolute;
  right: 16%;
  bottom: 14%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
  opacity: 0.8;
  animation: nucleusPulse 3s ease-in-out infinite;
}

.bubble--profile .bubble__inner {
  display: block;
  border: 2px solid rgba(226, 252, 255, 0.6);
  border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
  background: rgba(5, 42, 65, 0.45);
  box-shadow:
    inset 0 0 50px rgba(155, 243, 255, 0.1),
    0 0 0 10px rgba(160, 243, 255, 0.035),
    0 0 0 24px rgba(160, 243, 255, 0.025),
    0 0 80px rgba(108, 230, 255, 0.18),
    0 32px 70px rgba(0, 11, 25, 0.3);
  animation-duration: 11s;
}

.bubble--profile .bubble__inner::after {
  content: "院长";
  display: grid;
  place-items: center;
  top: 10%;
  right: 9%;
  bottom: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 226, 151, 0.7);
  border-radius: 50%;
  background: rgba(7, 46, 65, 0.6);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 1;
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.2);
  backdrop-filter: blur(5px);
}

.bubble__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.bubble__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(1.05) contrast(1.02);
  transition: scale 0.7s var(--ease);
}

.bubble--profile:hover .bubble__photo img {
  scale: 1.03;
}

.bubble__veil {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(1, 20, 37, 0.9) 0%, rgba(1, 20, 37, 0.05) 51%, transparent 74%);
  pointer-events: none;
}

.bubble__profile-label {
  position: absolute;
  right: 0;
  bottom: 14%;
  left: 0;
  z-index: 2;
  font-family: var(--sans);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 20, 35, 0.45);
}

.bubble__profile-label span {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(234, 252, 255, 0.64);
}

.bubble__click {
  position: absolute;
  right: 0;
  bottom: 8%;
  left: 0;
  z-index: 2;
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(234, 252, 255, 0.48);
}

@keyframes bubbleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -13px, 0) rotate(1.2deg); }
}

@keyframes nucleusPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------------------------------------------------------
   Ocean footer
   --------------------------------------------------------- */

.ocean__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(189, 245, 255, 0.14);
  color: rgba(232, 252, 255, 0.34);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.ocean__footer p:first-child {
  display: flex;
  gap: 18px;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(232, 252, 255, 0.52);
}

.ocean__footer a {
  color: var(--gold);
  white-space: nowrap;
}

.no-js-note {
  position: absolute;
  right: 24px;
  bottom: 84px;
  z-index: 20;
  max-width: 360px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 10px;
  background: rgba(2, 22, 41, 0.82);
  color: var(--foam);
  font-size: 11px;
  line-height: 1.8;
}

.no-js-note a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}

/* ---------------------------------------------------------
   Detail overlay
   --------------------------------------------------------- */

.detail {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%));
  background: rgba(1, 13, 27, 0.86);
  transition: clip-path 0.75s var(--ease), visibility 0.75s;
}

.detail.is-open {
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%));
}

.detail__water {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 18%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 29%),
    radial-gradient(ellipse at 12% 86%, rgba(77, 234, 224, 0.1), transparent 29%),
    linear-gradient(145deg, #021326 0%, #04263f 46%, #063b59 100%);
}

.detail__water::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image:
    repeating-linear-gradient(114deg, transparent 0 42px, rgba(156, 246, 255, 0.34) 43px 44px, transparent 45px 91px);
  filter: blur(4px);
  mix-blend-mode: screen;
}

.detail__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 94vw);
  max-height: 89svh;
  padding: 46px 52px 36px;
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, rgba(220, 251, 255, 0.2));
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(4, 36, 60, 0.94), rgba(2, 22, 40, 0.97)),
    rgba(2, 22, 40, 0.96);
  box-shadow:
    0 0 0 1px rgba(220, 251, 255, 0.06),
    0 34px 100px rgba(0, 0, 0, 0.5),
    inset 0 0 80px color-mix(in srgb, var(--accent) 5%, transparent);
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 45%, transparent) transparent;
}

.detail.is-open .detail__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.detail__close {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(221, 251, 255, 0.32);
  border-radius: 50%;
  background: rgba(2, 26, 44, 0.5);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, rotate 0.2s ease;
}

.detail__close:hover {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: var(--accent);
  rotate: 90deg;
}

.detail__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--foam);
}

.detail__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.detail__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.detail__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.detail__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.detail__title {
  max-width: 780px;
  font-family: var(--sans);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.08em;
  color: var(--white);
}

.detail__en {
  margin-top: 9px;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--accent) 62%, white 38%);
}

.detail__subtitle {
  max-width: 650px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(232, 252, 255, 0.68);
}

.detail__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 16px;
  margin-top: 33px;
}

.detail__stat {
  min-height: 118px;
  padding: 15px 17px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(220, 251, 255, 0.14));
  border-radius: 60% 40% 55% 45% / 45% 58% 42% 55%;
  background: color-mix(in srgb, var(--accent) 7%, rgba(255, 255, 255, 0.03));
}

.detail__stat strong {
  display: block;
  font-family: var(--latin);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent);
}

.detail__stat span {
  display: block;
  margin-top: 9px;
  font-size: 9px;
  line-height: 1.45;
  color: rgba(232, 252, 255, 0.58);
}

.detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 38px;
  margin-top: 34px;
  border-top: 1px solid rgba(206, 249, 255, 0.14);
}

.detail__block {
  padding: 25px 0 8px;
  border-bottom: 1px solid rgba(206, 249, 255, 0.12);
}

.detail__block h3 {
  margin-bottom: 11px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--foam);
}

.detail__block p {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.95;
  color: rgba(232, 252, 255, 0.6);
}

.detail__block ul {
  display: grid;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.detail__block li {
  position: relative;
  padding-left: 15px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(232, 252, 255, 0.62);
}

.detail__block li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.detail__tags span {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, rgba(220, 251, 255, 0.18));
  border-radius: 999px;
  font-size: 9px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--accent) 58%, white 42%);
}

.detail__profile-photo {
  float: right;
  width: 150px;
  height: 185px;
  margin: 2px 0 16px 22px;
  overflow: hidden;
  border: 1px solid rgba(220, 251, 255, 0.28);
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  box-shadow: 0 0 30px rgba(120, 235, 255, 0.1);
}

.detail__profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.detail__image {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid rgba(206, 249, 255, 0.13);
}

.detail__image img {
  width: 160px;
  height: auto;
  border: 1px solid rgba(220, 251, 255, 0.22);
  border-radius: 16px;
  filter: saturate(0.86);
}

.detail__image figcaption {
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(232, 252, 255, 0.35);
}

.detail__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 9px 17px;
  border: 1px solid rgba(220, 251, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--foam);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.detail__back:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.detail__source {
  margin-top: 24px;
  font-size: 8px;
  line-height: 1.7;
  color: rgba(232, 252, 255, 0.32);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-height: 860px) and (min-width: 1181px) {
  .ocean__intro {
    top: 13%;
  }

  .ocean__intro h1 {
    font-size: clamp(58px, 6.1vw, 82px);
  }

  .ocean__role {
    margin-top: 14px;
  }

  .ocean__quote {
    margin-top: 12px;
    font-size: 20px;
  }

  .ocean__instruction {
    margin-top: 13px;
    font-size: 9px;
  }
}

@media (max-width: 1180px) {
  .sea {
    min-height: auto;
    overflow: hidden;
    padding-bottom: 24px;
  }

  .sea__light--two {
    right: -10%;
    width: 48vw;
  }

  .sea__light--one {
    left: 13%;
    width: 48vw;
  }

  .sea__caustic {
    inset: -15% -3%;
  }

  .sea-header {
    position: fixed;
    width: calc(100% - 48px);
    height: 76px;
    background: linear-gradient(to bottom, rgba(2, 19, 38, 0.92), rgba(2, 19, 38, 0));
    backdrop-filter: blur(9px);
  }

  .ocean {
    display: block;
    min-height: 0;
    padding: 108px 24px 32px;
  }

  .ocean__intro {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 650px);
    margin: 0 auto 33px;
  }

  .ocean__intro h1 {
    font-size: clamp(58px, 9.5vw, 84px);
  }

  .ocean__quote {
    display: inline-block;
    margin-top: 18px;
  }

  .ocean__instruction {
    max-width: 360px;
  }

  .sea-side {
    display: none;
  }

  .bubble-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 900px);
    min-height: 0;
    margin-inline: auto;
    padding-bottom: 22px;
  }

  .bubble-field::before,
  .bubble-field::after {
    display: none;
  }

  .bubble {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    transform: none;
  }

  .bubble--profile {
    flex-basis: min(100%, 300px);
    width: min(100%, 300px);
    height: 360px;
    margin: 0 auto 5px;
    order: -1;
  }

  .bubble--lg {
    width: 174px;
    height: 174px;
  }

  .bubble--md {
    width: 146px;
    height: 146px;
  }

  .bubble--sm {
    width: 124px;
    height: 124px;
  }

  .ocean__footer {
    position: relative;
    width: min(100%, 900px);
    margin: 22px auto 0;
    padding-top: 17px;
  }

  .ocean__footer p:nth-child(2) {
    margin-left: auto;
    text-align: right;
  }

  .no-js-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 10px auto 0;
  }

  .detail {
    padding: 18px;
  }

  .detail__panel {
    padding: 38px 34px 30px;
  }
}

@media (max-width: 680px) {
  .sea-header {
    width: calc(100% - 30px);
    height: 68px;
  }

  .sea-brand__mark {
    width: 36px;
    height: 36px;
    font-size: 9px;
  }

  .sea-brand__text {
    font-size: 13px;
  }

  .sea-header__hint {
    display: none;
  }

  .sea-official {
    padding: 7px 11px;
    font-size: 9px;
  }

  .ocean {
    padding: 94px 18px 28px;
  }

  .ocean__intro {
    margin-bottom: 26px;
  }

  .sea-eyebrow {
    font-size: 7px;
    margin-bottom: 15px;
  }

  .ocean__intro h1 {
    font-size: clamp(54px, 16vw, 74px);
  }

  .ocean__role {
    margin-top: 17px;
    font-size: 10.5px;
  }

  .ocean__quote {
    margin-top: 16px;
    font-size: 20px;
  }

  .ocean__instruction {
    margin-top: 17px;
    font-size: 9px;
  }

  .bubble-field {
    gap: 10px;
    justify-content: space-between;
    padding-bottom: 18px;
  }

  .bubble--profile {
    flex-basis: 100%;
    width: min(100%, 290px);
    height: 350px;
    margin-bottom: 8px;
  }

  .bubble--lg,
  .bubble--md,
  .bubble--sm {
    width: calc(50% - 5px);
    height: auto;
    aspect-ratio: 1;
    flex-basis: calc(50% - 5px);
  }

  .bubble__title {
    font-size: 17px;
  }

  .bubble--lg .bubble__title {
    font-size: 18px;
  }

  .bubble__meta {
    font-size: 7.5px;
  }

  .ocean__footer {
    display: block;
    font-size: 7.5px;
  }

  .ocean__footer p:first-child {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .ocean__footer p:nth-child(2) {
    margin-bottom: 10px;
    text-align: left;
  }

  .detail {
    padding: 10px;
  }

  .detail__panel {
    max-height: 92svh;
    padding: 29px 20px 24px;
    border-radius: 22px;
  }

  .detail__close {
    top: 13px;
    right: 13px;
    width: 38px;
    height: 38px;
  }

  .detail__kicker {
    margin-bottom: 13px;
    font-size: 7px;
  }

  .detail__title {
    font-size: clamp(38px, 13vw, 56px);
  }

  .detail__en {
    font-size: 7px;
  }

  .detail__subtitle {
    margin-top: 15px;
    font-size: 13px;
  }

  .detail__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 23px;
  }

  .detail__stat {
    min-height: 92px;
    padding: 11px 12px;
  }

  .detail__stat strong {
    font-size: 27px;
  }

  .detail__stat span {
    margin-top: 6px;
    font-size: 8px;
  }

  .detail__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
  }

  .detail__block {
    padding: 17px 0 7px;
  }

  .detail__block h3 {
    font-size: 14px;
  }

  .detail__block p,
  .detail__block li {
    font-size: 11.5px;
  }

  .detail__profile-photo {
    width: 105px;
    height: 130px;
    margin-left: 13px;
  }

  .detail__back {
    margin-top: 20px;
  }

  .detail__source {
    margin-top: 17px;
    font-size: 7.5px;
  }
}

@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;
  }

  .bubble__inner {
    animation: none;
  }

  .sea__light,
  .sea__caustic {
    animation: none;
  }

  .detail {
    transition: none;
  }
}