/* Bayu Technology, redesign prototype: a dive.
   The page starts in sunlit water and gets deeper as you scroll. One easing family, three durations.
   Buttons are rectangles (4px corners) or plain icons. Nothing is fully round except status dots. */
:root {
  --surface: #16739c; --shallow: #0c4566; --mid: #072c48; --deep: #041a2d; --abyss: #020b15;
  --ink: #e8f4fb; --ink-2: rgba(232, 244, 251, .74); --ink-3: rgba(232, 244, 251, .52);
  --line: rgba(150, 210, 240, .18); --line-2: rgba(150, 210, 240, .32); --glass: rgba(8, 40, 66, .55);
  --aqua: #7fd4ec; --amber: #f2b766; --ok: #4fbf8b;
  --display: "Space Grotesk", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Instrument Serif", "Songti SC", "Noto Serif SC", "STSong", Georgia, serif;
  --sans: "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.32, 1.22, .52, 1);
  --t1: 160ms; --t2: 320ms; --t3: 560ms;
  --r: 4px; --max: 1160px; --rh: 44px;
  color-scheme: dark;
}
html.calm, html.calm * { transition-duration: 0ms !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { html *, html *::before, html *::after { transition-duration: 0ms !important; animation: none !important; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
/* the whole document is one column of water: light at the surface, dark at the bottom.
   html has no background of its own, so this one is painted on the canvas, behind the light and particles. */
body { margin: 0; min-height: 100vh; color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: var(--deep); }
/* the water itself: one fixed layer whose colour the script sets from how deep you are.
   It darkens hard through the Scattered to Structured scene and stays dark after it. */
.water { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, var(--w1, var(--surface)), var(--w2, var(--shallow))); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h3 { letter-spacing: -.01em; }
/* the accent: an italic serif in sea blue, used for a few words only */
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--aqua); letter-spacing: -.01em; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--deep); padding: 8px 12px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 12px; }
.hint { font: 400 12px var(--mono); color: var(--ink-3); letter-spacing: .02em; }

/* ---------- light from the surface and drifting particles ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.rays { position: absolute; left: 0; right: 0; top: 0; height: 1100px; overflow: hidden; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 100%); }
.rays::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 260px; background: linear-gradient(180deg, rgba(190, 240, 255, .3), transparent); }
.rays i { position: absolute; top: -10%; height: 120%; width: var(--w); left: var(--x); transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(205, 246, 255, .34), rgba(205, 246, 255, .09) 55%, transparent); filter: blur(16px);
  transform: rotate(var(--a)); animation: sway var(--s) var(--ease) infinite alternate; }
.rays i:nth-child(2) { --x: 6%;  --w: 90px;  --a: 14deg;  --s: 9s; }
.rays i:nth-child(3) { --x: 26%; --w: 160px; --a: 9deg;   --s: 12s; opacity: .85; }
.rays i:nth-child(4) { --x: 47%; --w: 60px;  --a: 4deg;   --s: 8s; }
.rays i:nth-child(5) { --x: 62%; --w: 140px; --a: -2deg;  --s: 14s; opacity: .75; }
.rays i:nth-child(6) { --x: 80%; --w: 90px;  --a: -8deg;  --s: 11s; }
.rays i:nth-child(7) { --x: 93%; --w: 50px;  --a: -12deg; --s: 10s; opacity: .7; }
@keyframes sway { to { transform: rotate(calc(var(--a) - 6deg)) translateX(36px); opacity: .45; } }
/* the rippling light pattern you see near the surface */
.caustics { position: absolute; left: -10%; right: -10%; top: 0; height: 460px; opacity: .5; mix-blend-mode: screen;
  background-image:
    radial-gradient(closest-side, rgba(210, 248, 255, .5), transparent 70%),
    radial-gradient(closest-side, rgba(210, 248, 255, .35), transparent 70%);
  background-size: 150px 90px, 230px 130px; background-position: 0 0, 60px 40px; filter: blur(7px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 100%); mask-image: linear-gradient(180deg, #000 0, transparent 100%);
  animation: ripple 16s linear infinite; }
@keyframes ripple { 50% { transform: translate3d(-40px, 10px, 0) scale(1.04); } 100% { transform: translate3d(0, 0, 0); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); border-radius: var(--r); padding: 12px 18px; background: var(--ink); color: var(--deep);
  font: 500 15px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t1) var(--ease), border-color var(--t1) var(--ease), color var(--t1) var(--ease), transform var(--t1) var(--ease); }
.btn:hover { background: #fff; border-color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform var(--t2) var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(232, 244, 251, .06); }
.btn.sm { padding: 7px 13px; font-size: 14px; }
.icon-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent;
  font-size: 13px; cursor: pointer; transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease), transform var(--t1) var(--ease); white-space: nowrap; flex: none; }
.icon-btn:hover { border-color: var(--ink); background: rgba(232, 244, 251, .06); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn svg { width: 16px; height: 16px; flex: none; }
.icon-btn.sq { width: 42px; height: 42px; padding: 0; justify-content: center; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--ink-3);
  transition: text-decoration-color var(--t1) var(--ease), text-underline-offset var(--t1) var(--ease); }
.link:hover { text-decoration-color: currentColor; text-underline-offset: 6px; }

/* ---------- top bar: full width at the surface, a floating panel once you dive ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
.bar-in { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); height: 72px; margin: 0 auto; padding: 0 24px; border-radius: 0; border: 1px solid transparent; background: rgba(4, 26, 45, 0);
  transition: max-width var(--t3) var(--spring), height var(--t3) var(--spring), padding var(--t3) var(--spring), transform var(--t3) var(--spring),
    border-radius var(--t2) var(--ease), background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 17px var(--sans); white-space: nowrap; color: var(--ink); }
.brand svg { width: 34px; height: 16px; flex: none; color: var(--aqua); }
.brand-word { display: inline-block; max-width: 160px; overflow: hidden; transition: max-width var(--t3) var(--spring), opacity var(--t2) var(--ease); }
.bar-links { position: relative; display: flex; gap: 2px; }
.bar-links a { position: relative; z-index: 1; padding: 7px 12px; border-radius: var(--r); font-size: 14.5px; text-decoration: none; color: var(--ink-2); white-space: nowrap; transition: color var(--t2) var(--ease); }
.bar-links a:hover, .bar-links a.on { color: var(--ink); }
.bar-hl { position: absolute; left: 0; top: 0; height: 100%; width: var(--w, 0px); border-radius: var(--r); background: rgba(127, 212, 236, .14); opacity: 0;
  box-shadow: inset 0 -2px 0 var(--aqua); transform: translateX(var(--x, 0px));
  transition: transform var(--t3) var(--spring), width var(--t3) var(--spring), opacity var(--t2) var(--ease); }
.bar-links.has .bar-hl { opacity: 1; }
.bar-right { display: flex; align-items: center; gap: 8px; }
/* language: the globe opens a short list */
.lang-wrap { position: relative; }
.lang-car { width: 10px !important; height: 10px !important; opacity: .7; transition: transform var(--t2) var(--ease); }
.lang[aria-expanded="true"] .lang-car { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 172px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--line-2); border-radius: 8px; background: rgba(4, 24, 42, .97); box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .75);
  transform-origin: 100% 0; animation: menuIn var(--t2) var(--ease); }
.lang-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 5px;
  background: transparent; color: var(--ink-2); font-size: 14.5px; text-align: left; cursor: pointer; transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease); }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(127, 212, 236, .1); color: var(--ink); outline: none; }
.lang-menu small { font: 500 10.5px var(--mono); letter-spacing: .1em; color: var(--ink-3); }
.lang-menu [aria-checked="true"] { color: var(--ink); }
.lang-menu [aria-checked="true"] small { color: var(--aqua); }
.lang-menu [aria-checked="true"] span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--aqua); vertical-align: middle; }
.lang-menu [aria-checked="false"] span::before { content: ""; display: inline-block; width: 6px; margin-right: 9px; }
.depth { font: 500 12px var(--mono); color: var(--aqua); min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity var(--t2) var(--ease); }
.bar.small .bar-in { max-width: 880px; height: 54px; padding: 0 8px 0 16px; transform: translateY(12px); border-radius: 10px;
  background: rgba(4, 26, 45, .72); border-color: var(--line); box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
.bar.small .brand-word { max-width: 0; opacity: 0; }
.bar.small .depth { opacity: 1; }
.bar:not(.small) .depth { display: none; }

/* ---------- reveal: once, short, small ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity var(--t3) var(--ease) var(--d, 0ms), transform var(--t3) var(--ease) var(--d, 0ms); }
.js .rv.in, .calm .rv { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding: 140px 0 40px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.eyebrow i { width: 18px; height: 1.5px; background: var(--aqua); }
.hero h1 { font-size: clamp(44px, 7.6vw, 120px); line-height: .96; margin-top: 26px; letter-spacing: -.045em; text-wrap: initial; }
.hero h1 em { font-family: "Playfair Display", var(--serif); font-size: .92em; line-height: 1.08; letter-spacing: -.025em; }
html:lang(zh-CN) .hero h1 em, html:lang(zh-CN) h2 em { font-family: inherit; font-style: normal; font-weight: 600; }
html:lang(zh-CN) .hero h1 { line-height: 1.1; letter-spacing: -.02em; }
html:lang(en) .hero h1 em, html:lang(es) .hero h1 em { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; align-items: center; margin-top: 28px; }
.lede { color: var(--ink-2); font-size: 18.5px; max-width: 54ch; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fish { position: relative; }
.fish canvas { display: block; width: 100%; aspect-ratio: 1.25; cursor: grab; touch-action: pan-y; }
.fish.drag canvas { cursor: grabbing; }
.fish figcaption { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); max-width: 44ch; margin-left: auto; text-align: right; }
.fish figcaption .hint { display: block; margin-top: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 40px; font: 400 12.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.meta div { display: flex; gap: 10px; }
.meta dt { color: var(--ink-3); }
.meta dd { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- scattered to structured: the one pinned scene ---------- */
.scene { position: relative; height: 280vh; }
.scene-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
#stream, .scene-pin::after { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 80%, transparent 100%); }
#stream { position: absolute; inset: 0; width: 100%; height: 100%; }
/* a shade behind the words so they read over the moving lines, as on the live site */
.scene-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 10, 18, .92) 0%, rgba(2, 10, 18, .84) 38%, rgba(2, 10, 18, .3) 62%, rgba(2, 10, 18, 0) 82%); }
@media (max-width: 960px) { .scene-pin { align-items: flex-end; padding-bottom: 56px; } .scene-pin::after { background: linear-gradient(180deg, rgba(2, 10, 18, 0) 0%, rgba(2, 10, 18, .25) 26%, rgba(2, 10, 18, .92) 52%); } }
.scene-copy { position: relative; z-index: 1; pointer-events: none; }
.scene-words { display: grid; margin-top: 22px; }
.scene-words .w { grid-area: 1 / 1; margin-left: -.04em; font: 700 clamp(58px, 13.5vw, 216px)/1 var(--display); letter-spacing: -.05em; white-space: nowrap; will-change: transform, opacity, filter; }
.scene-words .w.b { color: var(--aqua); opacity: 0; }
.scene-hint { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); bottom: 24px; z-index: 1; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
@media (hover: none), (max-width: 960px) { .scene-hint { display: none; } }
.scene-line { margin-top: 34px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.scene-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 28px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); counter-reset: s; }
.scene-steps li { counter-increment: s; transition: color var(--t2) var(--ease); }
.scene-steps li::before { content: "0" counter(s) "  "; white-space: pre; color: var(--ink-3); transition: color var(--t2) var(--ease); }
.scene-steps li.on { color: var(--ink); }
.scene-steps li.on::before { color: var(--aqua); }
.scene-meter { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 2px; background: var(--line); }
.scene-meter i { display: block; height: 100%; background: var(--aqua); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- photographs, cooled to match the water ---------- */
.gallery { position: relative; isolation: isolate; padding: 56px 0 40px; }
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
/* each photo is a print that has sunk into the water: wet paper, tinted by the sea, light rippling over it, and it sways as it floats */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.gal { column-gap: 30px; row-gap: 40px; padding-block: 14px; }
.g { position: relative; isolation: isolate; display: flex; flex-direction: column; margin: 0; padding: 10px 10px 0; border-radius: 3px;
  background: linear-gradient(168deg, #e8f1f3, #c3d5dc 70%, #aec4ce);
  box-shadow: inset 0 0 22px rgba(16, 58, 80, .3), 0 36px 60px -26px rgba(0, 6, 14, .85), 0 10px 24px -12px rgba(0, 10, 20, .6);
  rotate: var(--rt, 0deg); animation: sway calc(9s + var(--z, 0) * 7s) ease-in-out infinite; animation-delay: var(--fd, 0s);
  /* depth: the further away a print is, the smaller, softer, dimmer and slower it is */
  z-index: 1; scale: calc(1 - var(--z, 0) * .2); filter: blur(calc(var(--z, 0) * 1.8px)) brightness(calc(1 - var(--z, 0) * .32)) saturate(calc(1 - var(--z, 0) * .3)); }
@keyframes sway {
  0%, 100% { translate: var(--ox, 0px) var(--oy, 0px); rotate: var(--rt, 0deg); }
  50% { translate: calc(var(--ox, 0px) + var(--dx, 4px)) calc(var(--oy, 0px) - 12px * (1 - var(--z, 0) * .6)); rotate: calc(var(--rt, 0deg) + .9deg); } }
/* each one sits at its own depth and lies a little off the grid; the near ones swim in front of the fish, the far ones behind */
.g1 { --z: .08; --rt: -2.2deg; --ox: -6px; --oy: 6px; --dx: 5px; --fd: 0s; z-index: 3; }
.g2 { --z: .62; --rt: 2.6deg; --ox: 14px; --oy: 46px; --dx: -6px; --fd: -3.2s; }
.g3 { --z: .4; --rt: 3.2deg; --ox: 24px; --oy: -4px; --dx: 3px; --fd: -6.1s; }
.g4 { --z: 0; --rt: -3deg; --ox: -10px; --oy: -54px; --dx: -4px; --fd: -1.7s; z-index: 3; }
.g5 { --z: .82; --rt: 4deg; --ox: -26px; --oy: 30px; --dx: 6px; --fd: -4.6s; }
.galfish { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.ph { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0b2a3c; box-shadow: inset 0 0 0 1px rgba(10, 40, 60, .25); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: url(#sea) saturate(.72) contrast(.94) brightness(.95); }
/* the paper's bottom edge, with the caption written on it */
.g figcaption { position: relative; z-index: 1; padding: 9px 4px 12px; font: italic 400 19px/1 var(--serif); color: #183646; letter-spacing: .005em; }
/* the sea over the whole print: bluer and darker toward the bottom, the way light fades with depth */
.g::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(180deg, rgba(96, 178, 212, .4), rgba(48, 128, 170, .5) 55%, rgba(26, 88, 128, .58)); }
/* sunlight through the surface, rippling across it */
.g::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; mix-blend-mode: screen; opacity: .1;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360'><filter id='c' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.014 .026' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .78 0 0 0 0 .93 0 0 0 0 1 1 0 0 0 0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 .4 1 .4 0 0 0 0 0 0 0 0 0 0 0 0'/></feComponentTransfer></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>"), url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360'><filter id='c' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.014 .026' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .78 0 0 0 0 .93 0 0 0 0 1 1 0 0 0 0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 .4 1 .4 0 0 0 0 0 0 0 0 0 0 0 0'/></feComponentTransfer></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>");
  /* this still CSS light only shows if the script can't draw the moving one (.cau below) */
  background-size: 760px 760px, 1100px 1100px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .2)); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .2)); }
/* the moving light, drawn by the script into a small canvas on each print */
.g .cau { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; mix-blend-mode: screen; opacity: .1;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .2)); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .2)); }
.has-cau .g::before { content: none; }
/* the photo drawn by the WebGL water shader (js/v2.js, seaMake); the <img> under it stays for its alt text */
.ph .sea { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ph.gl img { opacity: 0; filter: none; }
.calm .ph .sea { display: none; } .calm .ph.gl img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ph .sea { display: none; } .ph.gl img { opacity: 1; filter: saturate(.72) contrast(.94) brightness(.95); } }
.calm .ph img { filter: saturate(.72) contrast(.94) brightness(.95); }
.calm .g { translate: var(--ox, 0px) var(--oy, 0px); }
@media (prefers-reduced-motion: reduce) { .ph img { filter: saturate(.72) contrast(.94) brightness(.95); } .g { translate: var(--ox, 0px) var(--oy, 0px); } }
.g1 { grid-column: span 7; aspect-ratio: 16 / 10; }
.g2 { grid-column: span 5; }
.g3, .g4, .g5 { grid-column: span 4; aspect-ratio: 4 / 3; }

/* ---------- services and the schema model ---------- */
.services { padding: 112px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; }
.sec-head p { color: var(--ink-2); font-size: 16.5px; }
.sec-head:not(:has(> p)) { grid-template-columns: minmax(0, 1fr); }
.sec-head:not(:has(> p)) h2 { max-width: 18ch; }
.sec-head .tag { display: block; }


/* ---------- values: pick one, the statement and photo change ---------- */
.values, .company, .faq-sec { padding: 112px 0; }
.tag { display: block; font: 400 12px var(--mono); color: var(--aqua); letter-spacing: .06em; text-transform: uppercase; }
.vals { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; margin-top: 56px; align-items: stretch; }
.val-tabs { display: grid; gap: 8px; align-content: start; }
.val-tab { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; text-align: left; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: transparent; cursor: pointer; transition: border-color var(--t2) var(--ease), background-color var(--t2) var(--ease); }
.val-tab:hover { border-color: var(--line-2); background: rgba(232, 244, 251, .03); }
.val-tab .num { grid-row: span 2; font: 400 13px/1.7 var(--mono); color: var(--ink-3); transition: color var(--t2) var(--ease); }
.val-tab b { font-weight: 500; font-size: 18px; }
.val-tab small { color: var(--ink-3); font-size: 14px; }
.val-tab[aria-selected="true"] { border-color: var(--aqua); background: rgba(127, 212, 236, .08); box-shadow: inset 3px 0 0 var(--aqua); }
.val-tab[aria-selected="true"] .num { color: var(--aqua); }
.val-stage { position: relative; display: grid; min-height: 380px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--mid); }
.val-panel { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; padding: 32px; opacity: 0; transition: opacity var(--t3) var(--ease); }
.val-panel[hidden] { display: flex; visibility: hidden; }
.val-panel.on { opacity: 1; visibility: visible; }
.val-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); transform: scale(1.04); transition: transform 1.2s var(--ease); }
.val-panel.on img { transform: none; }
.val-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 26, 45, .2), rgba(2, 11, 21, .9)); }
.val-panel p { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.18; max-width: 24ch; transform: translateY(8px); transition: transform var(--t3) var(--ease); }
.val-panel.on p { transform: none; }

/* ---------- company and team ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 212, 236, .1), transparent 60%), var(--glass); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panel p { margin-top: 14px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; }
.assure-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px; margin-top: 16px; }
.assure { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 212, 236, .08), transparent 60%); }
.assure ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 18px; }
.assure li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.assure li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 5px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
.locale { position: relative; min-height: 260px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.locale img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; filter: saturate(.8); will-change: transform; }
.locale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(2, 11, 21, .85)); }
.locale figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 1; }
.locale b { display: block; font-weight: 500; font-size: 24px; margin-top: 4px; }
.team-head { margin-top: 112px; }
.team { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: rgba(127, 212, 236, .12); border: 1px solid var(--line-2); color: var(--aqua); font: 500 14px var(--mono);
  text-shadow: 0 0 8px rgba(127, 212, 236, .6); animation: glow 5.5s ease-in-out infinite; animation-delay: var(--gd, 0s); transition: background-color var(--t2) var(--ease); }
/* the schools swim past in a line, like a school of fish */
.schools { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.sch-track { margin-top: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sch-move { display: flex; width: max-content; animation: schools 46s linear infinite; }
.sch-track:hover .sch-move { animation-play-state: paused; }
@keyframes schools { to { transform: translateX(-50%); } }
.sch-row { list-style: none; display: flex; align-items: center; }
.sch-row li { display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; }
/* each school is shown as its crest beside its name, set the way a university logo is */
.lock { display: flex; align-items: center; gap: 14px; }
.crest { display: block; height: 60px; width: auto; filter: drop-shadow(0 0 1px rgba(232, 244, 251, .55)) drop-shadow(0 0 16px rgba(127, 212, 236, .22)); }
.lk-t { display: grid; justify-items: start; gap: 5px; font-family: var(--serif); text-transform: uppercase; color: #e6f2f8; line-height: 1; }
.lk-b { font-size: 38px; letter-spacing: .035em; }
.lk-s { font-size: 13px; letter-spacing: .34em; color: var(--ink-2); padding-left: .1em; }
/* each school in lettering close to its own (the official logo fonts are licensed, so these are free look-alikes) */
.lk-emory .lk-t { font-family: "Cormorant Garamond", var(--serif); font-weight: 600; } .lk-emory .lk-b { font-size: 40px; letter-spacing: .02em; } .lk-emory .lk-s { letter-spacing: .42em; }
.lk-waterloo .lk-t { font-family: "Crimson Pro", var(--serif); font-weight: 600; } .lk-waterloo .lk-b { font-size: 36px; letter-spacing: .01em; }
.lk-washington .lk-t { font-family: Cinzel, var(--serif); font-weight: 500; } .lk-washington .lk-b { font-size: 31px; letter-spacing: .06em; } .lk-washington .lk-s { text-transform: none; letter-spacing: .2em; }
.lk-stanford .lk-t { font-family: "EB Garamond", var(--serif); font-weight: 500; } .lk-stanford .lk-b { font-size: 38px; letter-spacing: .03em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sch-row .sf { width: 22px; height: 10px; color: rgba(127, 212, 236, .55); }
.calm .sch-move { animation: none; width: auto; } .calm .sch-row[aria-hidden] { display: none; } .calm .sch-row { flex-wrap: wrap; row-gap: 8px; }
@media (prefers-reduced-motion: reduce) { .sch-move { animation: none; width: auto; } .sch-row[aria-hidden] { display: none; } .sch-row { flex-wrap: wrap; row-gap: 8px; } }

/* ---------- FAQ: answers open smoothly, one row at a time ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; letter-spacing: 0; }
.qa button { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; transition: color var(--t1) var(--ease); }
.qa button:hover { color: var(--aqua); }
.qa i { position: relative; flex: none; width: 14px; height: 14px; }
.qa i::before, .qa i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform var(--t2) var(--spring); }
.qa i::after { transform: rotate(90deg); }
.qa.open i::after { transform: rotate(0deg); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t3) var(--ease); }
.qa .a > div { overflow: hidden; }
.qa .a p { color: var(--ink-2); max-width: 64ch; padding-bottom: 24px; opacity: 0; transform: translateY(-4px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
.qa.open .a { grid-template-rows: 1fr; }
.qa.open .a p { opacity: 1; transform: none; transition-delay: 80ms; }

/* ---------- contact: the sea floor ---------- */
.contact { position: relative; overflow: hidden; padding: 140px 0 140px; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; max-width: 14ch; }
.contact p { margin-top: 22px; max-width: 46ch; color: var(--ink-2); }
.mail { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 48px; }
.addr { font: italic 400 clamp(28px, 3.8vw, 46px) var(--serif); letter-spacing: -.01em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: var(--line-2); transition: text-decoration-color var(--t1) var(--ease); overflow-wrap: anywhere; }
.addr:hover { text-decoration-color: var(--aqua); }
#copy { display: inline-grid; }
#copy > span { grid-area: 1 / 1; transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
#copy .s-done { opacity: 0; transform: translateY(6px); }
#copy.done .s-idle { opacity: 0; transform: translateY(-6px); }
#copy.done .s-done { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.foot { color: var(--ink-3); font-size: 13.5px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-block: 26px; }
.foot-r { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.motion { display: inline-grid; grid-template-columns: auto auto; gap: 6px; color: var(--ink-2); }
.motion b { grid-column: 2; grid-row: 1; font-weight: 500; color: var(--ink); }
.motion .s-off, .calm .motion .s-on { visibility: hidden; }
.calm .motion .s-off { visibility: visible; }

/* ---------- headings rise word by word out of a mask ---------- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em 0; margin: 0 -.04em -.14em 0; }
.si { display: inline-block; }
/* italic serif words have long tails (g, f, y) and lean past their box, so their masks get more room */
em .sw { padding: 0 .12em .32em .12em; margin: 0 -.12em -.32em -.12em; }
.js .rv .si { transform: translateY(112%); transition: transform .95s var(--ease); transition-delay: calc(var(--k, 0) * 42ms); }
.js .rv.in .si, .calm .si { transform: none; }

/* ---------- ticker: very large and outlined, it drifts and runs with the scroll ---------- */
.marquee { overflow: hidden; padding: 26px 0 30px; border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee div { display: flex; width: max-content; white-space: nowrap; font: 700 clamp(54px, 8.5vw, 140px)/1 var(--display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(150, 210, 240, .5); will-change: transform; }
.marquee span { padding-right: .42em; }
.marquee span::before { content: "/"; margin-right: .42em; font-weight: 500; color: var(--aqua); -webkit-text-stroke: 0; }
.marquee span:nth-child(3n+1) { color: var(--ink); -webkit-text-stroke: 0; }

/* ---------- the schema floats in the water, tilted toward the pointer ---------- */
.play { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 64px; align-items: center; margin-top: 72px; }
.play-text h3 { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.1; }
.play-text p { color: var(--ink-2); margin-top: 14px; max-width: 44ch; }
.play-text .hint { display: block; margin-top: 18px; }
.schema { position: relative; width: 480px; height: 430px; margin: 0; perspective: 1100px; }
.schema::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(127, 212, 236, .16), transparent); filter: blur(12px); }
.schema-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -16deg)) rotateZ(1.5deg) translate3d(0, var(--bob, 0px), 0); }
.tbl { position: absolute; width: 222px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(4, 20, 36, .9); overflow: hidden; padding-bottom: 6px;
  font: 400 12px var(--mono); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); transform: translateZ(var(--z, 0px));
  transition: transform var(--t2) var(--ease), border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.tbl:nth-of-type(2) { width: 226px; }
.tbl:hover { --z: 14px; border-color: rgba(127, 212, 236, .6); }
.tbl.drag { --z: 30px; cursor: grabbing; border-color: var(--aqua); z-index: 3; box-shadow: 0 44px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.tbl header { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.tbl header svg { width: 14px; height: 14px; color: var(--aqua); flex: none; }
.tbl header em { margin-left: auto; font-style: normal; color: var(--ink-3); font-size: 10.5px; }
.tbl .f { height: 26px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ink-2); }
.tbl .f i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); flex: none; }
.tbl .f.pk i { background: var(--amber); } .tbl .f.fk i { background: var(--aqua); }
.tbl .f span { margin-left: auto; color: var(--ink-3); font-size: 10.5px; }
.tbl .f.live { animation: rowpulse 4.5s ease-in-out infinite; }
@keyframes rowpulse { 0%, 68%, 100% { background: transparent; } 76% { background: rgba(127, 212, 236, .18); } }
.rel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rel path { fill: none; stroke: var(--aqua); stroke-width: 1.3; stroke-dasharray: 4 6; opacity: .8; animation: flow 1.6s linear infinite; }
.rel circle.end { fill: var(--deep); stroke: var(--aqua); stroke-width: 1.3; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* ---------- the mark: sunk to the sea floor, tipped over and half buried in the sand; it settles as you reach the end ---------- */
.giant { --F: clamp(84px, 17vw, 250px); position: relative; overflow: hidden; height: calc(var(--F) * 1.3); user-select: none; -webkit-user-select: none; }
.g-word { position: absolute; left: 50%; bottom: calc(var(--F) * .17); font: 700 var(--F)/.9 var(--display); letter-spacing: -.06em; white-space: nowrap;
  transform-origin: 50% 100%; transform: translateX(-50%) translateY(calc((1 - var(--s, 1)) * var(--F) * -.9)) rotate(calc(var(--s, 1) * -7deg)); }
.g-word span { display: block; padding-top: .08em; }
.g-word .stroke { position: relative; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.g-word .fill { position: absolute; inset: 0; color: var(--aqua); clip-path: inset(calc(100% - var(--f, 0%)) 0 0 0); }
/* the glow sits on the whole word, outside the fill mask, so it has no hard edges */
.g-word { filter: drop-shadow(0 0 calc(var(--F) * .1) rgba(127, 212, 236, calc(var(--fo, 0) * .4))); }
/* it still gives off a little light where it lies */
.giant::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 70%; height: 90%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(127, 212, 236, .2), rgba(127, 212, 236, 0)); filter: blur(24px); opacity: var(--fo, 0); }
.sandbed, .sandback { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: calc(var(--F) * .4); pointer-events: none; }
.sandfront { position: absolute; z-index: 1; left: 50%; bottom: 0; width: calc(var(--F) * 4); height: calc(var(--F) * .62); translate: -50% 0; pointer-events: none; }
.sandfront path { fill: none; stroke: rgba(127, 212, 236, .14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sandfront .heap { fill: url(#sandF); stroke: rgba(170, 225, 242, .38); }
.sandfront .pebble { fill: #07141f; stroke: rgba(127, 212, 236, .18); }
.sandbed { z-index: 1; }
.sandback { height: calc(var(--F) * .78); opacity: .9; }
.sandback path { fill: none; stroke: rgba(127, 212, 236, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sandback .dune { fill: url(#sandB); stroke: rgba(160, 220, 240, .26); }
.sandbed path { fill: none; stroke: rgba(127, 212, 236, .2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sandbed .sand { fill: url(#sandG); stroke: rgba(160, 220, 240, .3); }
.sandbed .rock { fill: #07141f; }
.sandbed .ripple { stroke: rgba(127, 212, 236, .12); }

/* ---------- values: picking one sends out a sonar ping, and the photo comes into view through it ---------- */
.val-stage { --px: 0px; --py: 50%; }
.val-stage.sonar .val-panel.on img { animation: sonar 1.15s var(--ease) both; }
@keyframes sonar { from { clip-path: circle(0 at var(--px) var(--py)); transform: scale(1.06); } to { clip-path: circle(150% at var(--px) var(--py)); transform: none; } }
.ping { position: absolute; left: var(--px); top: var(--py); z-index: 2; width: 0; height: 0; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(127, 212, 236, .75); box-shadow: 0 0 18px rgba(127, 212, 236, .35), inset 0 0 18px rgba(127, 212, 236, .2); animation: ping 1.5s cubic-bezier(.2, .6, .3, 1) forwards; }
@keyframes ping { from { width: 0; height: 0; margin: 0; opacity: 1; } to { width: 1900px; height: 1900px; margin: -950px; opacity: 0; } }

/* ---------- company: depth markers down the left edge ---------- */
.company { position: relative; }
.dmarks { display: none; position: absolute; top: 112px; bottom: 112px; left: max(18px, calc((100vw - var(--max)) / 2 - 36px)); width: 1px; background: var(--line); }
@media (min-width: 1240px) { .dmarks { display: block; } }
.dm-fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--aqua); transform-origin: 0 0; transform: scaleY(var(--dp, 0)); box-shadow: 0 0 8px rgba(127, 212, 236, .6); }
.dm { position: absolute; left: -4px; width: 9px; height: 1px; background: var(--line-2); transition: background-color var(--t2) var(--ease); }
.dm span { position: absolute; left: 13px; top: -2px; writing-mode: vertical-rl; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); transition: color var(--t2) var(--ease); }
.dm.on { background: var(--aqua); }
.dm.on span { color: var(--aqua); }

/* ---------- team: initials glow like deep-sea light; a card lights up when you point at it ---------- */
@keyframes glow { 0%, 100% { box-shadow: 0 0 10px -4px rgba(127, 212, 236, .2); } 50% { box-shadow: 0 0 18px 0 rgba(127, 212, 236, .42); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 12px 0 rgba(127, 212, 236, .45); } 50% { box-shadow: 0 0 28px 5px rgba(127, 212, 236, .8); } }
.person:nth-child(3n+1) .av { --gd: -1.9s; } .person:nth-child(3n+2) .av { --gd: -3.7s; } .person:nth-child(4n) .av { --gd: -.8s; }

/* ---------- team: each person is a fish ID card; click it to turn it over ---------- */
.person { perspective: 1000px; }
.pc { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 10px; }
.pc:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.pc-in { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .75, .2, 1); }
.person.on .pc-in { transform: rotateY(180deg); }
.pc-f, .pc-b { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-height: 232px; padding: 16px 16px 14px; overflow: hidden; border-radius: 10px;
  border: 1px solid rgba(150, 210, 240, .16); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: linear-gradient(165deg, rgba(16, 70, 102, .5), rgba(3, 20, 35, .62) 58%, rgba(2, 12, 22, .72));
  box-shadow: inset 0 1px 0 rgba(200, 240, 255, .12); transition: border-color var(--t2) var(--ease), box-shadow var(--t3) var(--ease); }
.pc-b { transform: rotateY(180deg); background: linear-gradient(165deg, rgba(10, 52, 78, .62), rgba(2, 14, 26, .82)); }
.pc-top { display: flex; justify-content: space-between; gap: 10px; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(127, 212, 236, .62); }
.pc-b .pc-top span:last-child { color: var(--ink); letter-spacing: .06em; text-align: right; }
.pc-slot { position: absolute; left: 50%; top: 9px; width: 26px; height: 5px; margin-left: -13px; border-radius: 3px; background: rgba(0, 6, 12, .75); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6), 0 1px 0 rgba(200, 240, 255, .08); }
.pc-face { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.pc-fish { width: 34px; height: 20px; color: var(--aqua); opacity: .55; filter: drop-shadow(0 0 4px rgba(127, 212, 236, .4)); transition: opacity var(--t3) var(--ease); }
.pc-name { display: block; margin-top: auto; padding-top: 18px; font-weight: 500; font-size: 17px; line-height: 1.25; }
.pc-role { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13.5px; line-height: 1.4; }
.pc-hint { display: block; margin-top: 12px; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(150, 210, 240, .38); transition: color var(--t2) var(--ease); }
.pc-b .pc-hint { margin-top: auto; padding-top: 10px; }
.pc-row { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid rgba(150, 210, 240, .12); }
.pc-row:first-of-type { margin-top: 12px; }
.pc-k { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pc-v { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.pc-v.tbd { color: rgba(150, 210, 240, .4); font-style: italic; }
.pc:hover .pc-f, .pc:hover .pc-b { border-color: rgba(127, 212, 236, .5); box-shadow: inset 0 1px 0 rgba(200, 240, 255, .18), 0 0 36px -10px rgba(127, 212, 236, .55), inset 0 0 28px -14px rgba(127, 212, 236, .65); }
.pc:hover .av { background: rgba(127, 212, 236, .24); animation: pulse 1.2s ease-in-out infinite; }
.pc:hover .pc-fish { opacity: .9; }
.pc:hover .pc-hint { color: var(--aqua); }

/* ---------- contact: the sea floor, and a lamp beam from above that settles on the address ---------- */
.contact .wrap { position: relative; z-index: 1; }
.beam { position: absolute; left: var(--bx, 80%); top: var(--by, 0px); width: 0; height: 0; z-index: 0; pointer-events: none; transform: rotate(var(--ba, 0deg)); }
.beam::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #e8f8ff; box-shadow: 0 0 18px 6px rgba(190, 236, 255, .55); }
.beam i { position: absolute; left: calc(var(--bw, 300px) / -2); top: 0; width: var(--bw, 300px); height: var(--bl, 600px); mix-blend-mode: screen; filter: blur(8px);
  background: linear-gradient(180deg, rgba(205, 242, 255, .28), rgba(185, 232, 250, .1) 60%, rgba(185, 232, 250, .16) 88%, transparent);
  clip-path: polygon(48.5% 0, 51.5% 0, 100% 100%, 0 100%); }
.addr { transition: text-decoration-color var(--t1) var(--ease), text-shadow .9s var(--ease); }
.addr.lit { text-shadow: 0 0 26px rgba(160, 225, 245, .6); text-decoration-color: var(--aqua); }


/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .bar-links a { padding: 7px 9px; font-size: 14px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .fish canvas { aspect-ratio: 1.5; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .bar-links { display: none; }
  .vals { grid-template-columns: minmax(0, 1fr); }
  .val-tabs { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .val-tab small { display: none; }
  .mv, .assure-row { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --rh: 40px; }
  .wrap { padding-inline: 20px; }
  .bar-in { padding: 0 20px; height: 64px; }
  .bar.small .bar-in { max-width: calc(100% - 24px); padding: 0 8px 0 14px; }
  #langT { display: none; }
  .lang .lang-car { display: none; }
  .hero { padding: 108px 0 24px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .meta { margin-top: 32px; gap: 8px 24px; }
  .scene { height: 230vh; }
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; gap: 12px; scrollbar-width: none; }
  .g { flex: 0 0 74vw; aspect-ratio: 4 / 3.4; scroll-snap-align: start; --ox: 0px !important; --oy: 0px !important; --z: 0 !important; }
  .gal { padding-block: 26px 34px; gap: 22px; scroll-padding-inline: 40px; padding-inline: 40px; }
  .g figcaption { font-size: 17px; }
  .services { padding: 80px 0 88px; }
  .values, .company, .faq-sec { padding: 80px 0; }
  .val-stage { min-height: 320px; }
  .val-panel { padding: 22px; }
  .assure ul { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-head { margin-top: 80px; }
  .caustics { height: 320px; }
  .contact { padding: 104px 0 104px; }
  .play { margin-top: 48px; }
  .schema { width: 100%; height: 470px; }
  .schema-in { transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -6deg)) translate3d(0, var(--bob, 0px), 0); }
  .tbl, .tbl:nth-of-type(2) { width: 176px; font-size: 11px; }
  .tbl .f span { display: none; }
}
@media (max-width: 1100px) {
  .play { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .schema { margin-inline: auto; }
}
