/* =========================================================
   WANG JIABAO / PORTFOLIO 2026
   Dark gallery, champagne gold, editorial serif
   ========================================================= */

:root {
  --bg: #080808;
  --bg-soft: #0e0e0e;
  --panel: #111111;
  --panel-2: #151515;
  --fg: #f2eadb;
  --muted: #999387;
  --dim: #6e6a62;
  --line: rgba(242, 234, 219, 0.14);
  --line-soft: rgba(242, 234, 219, 0.08);
  --gold: #c7a15a;
  --gold-light: #f0d9a6;
  --gold-deep: #8d682f;
  --radius: 2px;

  --sans: "Bahnschrift", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Georgia", "Times New Roman", serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 300px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 45% at 76% 5%, rgba(199, 161, 90, 0.14), transparent 62%),
    radial-gradient(ellipse 60% 40% at 16% 24%, rgba(199, 161, 90, 0.05), transparent 64%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #111; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(8, 8, 8, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 161, 90, 0.62);
  color: var(--gold-light);
}

.brand-mark svg { width: 24px; height: 24px; }

.brand-text { display: grid; gap: 2px; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand-text small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.nav a {
  position: relative;
  font-size: 13px;
  color: rgba(242, 234, 219, 0.78);
  transition: color 0.25s;
}
.nav a:not(.nav-resume)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { transform: scaleX(1); }
.nav-resume {
  padding: 9px 18px;
  border: 1px solid rgba(199, 161, 90, 0.55);
  color: var(--gold-light) !important;
  transition: background-color 0.25s, color 0.25s;
}
.nav-resume:hover { background: var(--gold); color: #111 !important; }

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--fg);
  transition: transform 0.3s;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px clamp(22px, 7vw, 104px) 34px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  top: -200px;
  right: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 161, 90, 0.18), transparent 66%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.hero-lines path {
  fill: none;
  stroke: rgba(199, 161, 90, 0.22);
  stroke-width: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
  min-height: calc(100svh - 240px);
}

.hero-copy { padding-bottom: 8px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 9.4vw, 138px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero h1 .gold {
  background: linear-gradient(116deg, #f6e4bb 4%, #d0ad6a 44%, #9b7437 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 37ch;
  margin: 30px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(242, 234, 219, 0.74);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background-color 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s;
}
.btn span { font-size: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(115deg, #e4c98f, #c7a15a 60%, #aa813f);
  color: #14100a;
  box-shadow: 0 14px 38px rgba(199, 161, 90, 0.16);
}
.btn-gold:hover { background: #efd9ac; }
.btn-ghost {
  border-color: rgba(242, 234, 219, 0.24);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 50px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.stats li { padding-right: 22px; }
.stats li + li { padding-left: 22px; border-left: 1px solid var(--line-soft); }
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-light);
}
.stats span {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-visual { position: relative; justify-self: end; width: min(420px, 100%); }

.hero-frame {
  position: relative;
  padding: 9px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(199, 161, 90, 0.52);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(199, 161, 90, 0.06),
    0 0 80px rgba(199, 161, 90, 0.08);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -18px 24px 24px -18px;
  border: 1px solid rgba(199, 161, 90, 0.16);
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.68;
  object-fit: cover;
  object-position: center top;
}
.frame-corner {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  background: var(--gold);
}
.frame-corner.tl { top: -1px; left: -1px; }
.frame-corner.tr { top: -1px; right: -1px; }
.frame-corner.bl { bottom: -1px; left: -1px; }
.frame-corner.br { bottom: -1px; right: -1px; }

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 5px;
  padding: 13px 16px;
  background: rgba(8, 8, 8, 0.82);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(10px);
}
.hero-badge strong { font-family: var(--serif); font-size: 14px; letter-spacing: 0.02em; }
.hero-badge span { font-size: 9px; letter-spacing: 0.08em; color: var(--muted); }

.hero-caption {
  margin: 15px 2px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-align: right;
}

.hero-foot {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.hero-line { flex: 1; height: 1px; background: var(--line-soft); }

/* ---------- shared section ---------- */
.works, .about, .contact {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 104px);
}
.works { border-top: 1px solid var(--line-soft); }
.about { background: #0a0a0a; border-top: 1px solid var(--line-soft); }
.contact { border-top: 1px solid var(--line-soft); }

.section-head {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr) auto;
  align-items: end;
  gap: 34px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.section-kicker span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(199, 161, 90, 0.45);
  font-size: 8px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-head h2 em {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--serif);
  font-size: 0.78em;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}
.section-desc {
  max-width: 37ch;
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.work-count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- works ---------- */
.work-list {
  width: min(1280px, 100%);
  margin: 54px auto 0;
}

.work {
  padding: 42px 0 74px;
  border-top: 1px solid var(--line);
}
.work:first-child { border-top: 0; padding-top: 0; }

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 38px;
  align-items: end;
}

.work-no {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.work-no::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

.work-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.work-en {
  margin: 11px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.work-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.work-meta span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(242, 234, 219, 0.7);
}

.work-side p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}
.work-side .statement {
  margin-top: 17px;
  padding-left: 14px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--gold-light);
}
.work-role {
  margin-top: 18px !important;
  font-family: var(--mono);
  font-size: 8.5px !important;
  letter-spacing: 0.1em;
  color: var(--dim) !important;
}

.work-gallery {
  display: grid;
  gap: clamp(10px, 1.3vw, 16px);
  margin-top: 32px;
}
.layout-posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-screens { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.layout-squares { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-vertical { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.shot-fig { margin: 0; min-width: 0; }

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--panel);
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}
.shot img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.shot::after {
  content: "VIEW";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(199, 161, 90, 0.45);
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s, transform 0.3s;
}
.shot:hover img { transform: scale(1.025); filter: brightness(1.05); }
.shot:hover::after { opacity: 1; transform: translateY(0); }

.shot-cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 9px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.shot-cap span {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--gold);
}

/* ---------- about ---------- */
.about-grid {
  width: min(1280px, 100%);
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(42px, 7vw, 96px);
}

.timeline { border-left: 1px solid var(--line); padding-left: 30px; }

.exp { position: relative; padding: 0 0 38px; }
.exp + .exp { padding-top: 4px; }
.exp::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -35px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 161, 90, 0.12);
}
.exp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.exp h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}
.exp-period { font-family: var(--mono); font-size: 8.5px; color: var(--gold); letter-spacing: 0.08em; white-space: nowrap; }
.exp-role { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.exp-role span { color: var(--dim); }
.exp ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.exp li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(242, 234, 219, 0.68);
}
.exp li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.exp-highlight {
  margin: 16px 0 0;
  padding: 13px 15px;
  border-left: 1px solid var(--gold);
  background: rgba(199, 161, 90, 0.06);
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--gold-light);
}

.about-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: rgba(242, 234, 219, 0.7);
}
.about-intent {
  margin-top: 18px !important;
  color: var(--fg) !important;
  font-size: 12px !important;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.skill-list li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: rgba(242, 234, 219, 0.78);
  transition: border-color 0.25s, color 0.25s;
}
.skill-list li:hover { border-color: var(--gold); color: var(--gold-light); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(199, 161, 90, 0.45);
  font-size: 11px;
  color: var(--gold-light);
}

/* ---------- contact ---------- */
.contact-grid {
  width: min(1280px, 100%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.contact-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}
.contact-card:hover { border-color: rgba(199, 161, 90, 0.5); background: rgba(199, 161, 90, 0.035); transform: translateY(-2px); }
.contact-card .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.contact-card .label::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; }
.contact-card strong {
  display: block;
  margin-top: 25px;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.contact-card a, .contact-card button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-size: 9px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.contact-card a:hover, .contact-card button:hover { border-color: var(--gold); color: var(--gold-light); }
.contact-card .pill {
  display: inline-flex;
  align-items: center;
  margin-top: 23px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  padding: 11px 18px;
  border: 1px solid rgba(199, 161, 90, 0.5);
  background: rgba(8, 8, 8, 0.94);
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s, transform 0.3s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.contact-bottom {
  width: min(1280px, 100%);
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.contact-bottom p { margin: 0; font-size: 10.5px; color: var(--dim); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(22px, 7vw, 104px) 30px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.site-footer p { margin: 0; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 54px 7vw;
  background: rgba(4, 4, 4, 0.96);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  max-width: min(1120px, 90vw);
  max-height: 82vh;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line);
}
.lightbox figcaption { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.05em; }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.7);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.lightbox-close { top: 24px; right: 4vw; padding: 9px 13px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; }
.lightbox-prev, .lightbox-next { top: 50%; width: 42px; height: 42px; transform: translateY(-50%); }
.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr); gap: 50px; }
  .hero-visual { width: min(360px, 100%); }
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr) auto; gap: 24px; }
  .work-head { grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr); gap: 28px; }
  .layout-screens { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 118px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 52px; }
  .hero-visual { justify-self: start; width: min(430px, 88%); }
  .hero-caption { text-align: left; }
  .hero-foot { margin-top: 42px; }
  .nav {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 22px 24px;
    background: #080808;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-resume { width: auto !important; margin-top: 16px; border-bottom: 1px solid var(--gold) !important; }
  .menu-btn { display: block; }
  .section-head { grid-template-columns: 1fr auto; align-items: start; }
  .section-desc { grid-column: 1 / -1; margin-top: 6px; }
  .work-count { grid-column: 2; grid-row: 1; }
  .work-head { grid-template-columns: 1fr; gap: 22px; }
  .work-side { max-width: 620px; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:last-child { grid-column: 1 / -1; }
  .layout-posters, .layout-vertical { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { height: 66px; padding: 0 20px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 7px; }
  .hero { padding: 104px 20px 28px; }
  .hero h1 { font-size: clamp(70px, 19vw, 110px); }
  .hero-sub { margin-top: 24px; font-size: 14px; }
  .eyebrow { margin-bottom: 28px; font-size: 10.5px; }
  .hero-actions { margin-top: 27px; }
  .btn { min-height: 44px; padding: 11px 20px; font-size: 11.5px; }
  .stats { margin-top: 36px; }
  .stats strong { font-size: 20px; }
  .stats span { font-size: 9px; }
  .hero-visual { width: 86%; }
  .hero-foot { font-size: 7.5px; gap: 10px; }
  .works, .about, .contact { padding: 76px 20px; }
  .section-head { margin-bottom: 0; }
  .section-head h2 { font-size: 34px; }
  .section-head h2 em { display: block; margin: 7px 0 0; font-size: 22px; }
  .work-list { margin-top: 38px; }
  .work { padding: 36px 0 54px; }
  .work-title { font-size: 30px; }
  .work-en { font-size: 8px; line-height: 1.6; }
  .work-side p { font-size: 12px; }
  .work-side .statement { font-size: 15px; }
  .layout-posters, .layout-squares, .layout-vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-wide { grid-template-columns: 1fr; }
  .shot-cap { font-size: 9px; gap: 6px; }
  .shot::after { display: none; }
  .about-grid { margin-top: 38px; }
  .timeline { padding-left: 23px; }
  .exp::before { left: -28px; }
  .exp-top { display: block; }
  .exp-period { display: block; margin-top: 6px; }
  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-card:last-child { grid-column: auto; }
  .contact-card strong { margin-top: 18px; font-size: 24px; }
  .contact-bottom { display: block; }
  .contact-bottom p { margin-top: 13px; }
  .site-footer { display: block; padding: 22px 20px 28px; line-height: 1.9; }
  .site-footer p + p { margin-top: 5px; }
  .lightbox { padding: 50px 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { right: 16px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 68px; }
  .hero-visual { width: 92%; }
  .stats li { padding-right: 12px; }
  .stats li + li { padding-left: 12px; }
  .stats strong { font-size: 18px; }
  .work-title { font-size: 27px; }
  .layout-posters, .layout-squares, .layout-vertical { grid-template-columns: 1fr 1fr; }
  .work-meta span { font-size: 8px; padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   CINEMATIC HERO / WHALE / CURSOR
   ========================================================= */
.hero.hero-cinema {
  background: #02080d;
  isolation: isolate;
}

.cinema {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.whale-parallax {
  position: absolute;
  inset: -9%;
  z-index: 3;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 1.1s var(--ease);
  will-change: transform;
}

.whale-layer {
  position: absolute;
  inset: 0;
  background: url("assets/hero-whale.webp") 66% 50% / cover no-repeat;
  filter: saturate(1.06) contrast(1.04);
  opacity: 0;
  will-change: transform, opacity;
}

.hero.is-playing .whale-layer {
  opacity: 1;
  animation: whale-swim 6.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes whale-swim {
  0% { transform: translate3d(-14%, 11%, 0) scale(1.35) rotate(-4deg); opacity: 0; }
  6% { opacity: 1; }
  18% { transform: translate3d(-8%, 6%, 0) scale(1.28) rotate(-2.2deg); }
  38% { transform: translate3d(0%, 1%, 0) scale(1.15) rotate(0deg); }
  56% { transform: translate3d(7%, -3%, 0) scale(1.2) rotate(1.1deg); }
  72% { transform: translate3d(19%, -13%, 0) scale(1.32) rotate(3.5deg); opacity: 1; }
  90% { transform: translate3d(45%, -33%, 0) scale(1.85) rotate(8deg); opacity: 0.85; }
  100% { transform: translate3d(74%, -54%, 0) scale(2.5) rotate(12deg); opacity: 0; }
}

.calm-sea {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(120, 196, 255, 0.32), transparent 54%),
    radial-gradient(ellipse at 70% 40%, rgba(28, 95, 130, 0.22), transparent 62%),
    linear-gradient(180deg, #082f46 0%, #041c2c 42%, #020b12 100%);
  transition: opacity 1.8s var(--ease);
}

.hero.is-playing .calm-sea {
  opacity: 0;
  animation: calm-in 1.5s 4.8s var(--ease) forwards;
}

@keyframes calm-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

.seabed {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 38%;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(90, 118, 103, 0.3), transparent 65%),
    radial-gradient(ellipse at 72% 100%, rgba(45, 80, 85, 0.4), transparent 68%),
    linear-gradient(to top, rgba(3, 13, 17, 0.9), transparent);
  filter: blur(14px);
}

.light-rays {
  position: absolute;
  inset: -24% -14%;
  z-index: 2;
  opacity: 0.55;
  background: repeating-linear-gradient(
    104deg,
    transparent 0 38px,
    rgba(156, 218, 255, 0.13) 39px 42px,
    rgba(156, 218, 255, 0.04) 43px 68px,
    transparent 69px 112px
  );
  mix-blend-mode: screen;
  filter: blur(1.4px);
  transform: rotate(-5deg);
  animation: rays-drift 10s ease-in-out infinite alternate;
}

@keyframes rays-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-6deg) scale(1.03); opacity: 0.34; }
  to { transform: translate3d(2%, 1%, 0) rotate(-3deg) scale(1.08); opacity: 0.62; }
}

.caustics {
  position: absolute;
  top: -14%;
  left: 16%;
  z-index: 2;
  width: 68%;
  height: 54%;
  background: radial-gradient(ellipse at 50% 0%, rgba(188, 232, 255, 0.38), transparent 66%);
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: caustics-breathe 7s ease-in-out infinite alternate;
}

@keyframes caustics-breathe {
  from { opacity: 0.34; transform: translateX(-2%) scale(1); }
  to { opacity: 0.72; transform: translateX(2%) scale(1.06); }
}

.bubbles { position: absolute; inset: 0; z-index: 7; overflow: hidden; }

.bubble {
  position: absolute;
  bottom: -8%;
  display: block;
  border: 1px solid rgba(205, 242, 255, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(245, 253, 255, 0.82), rgba(120, 200, 235, 0.1) 46%, transparent 72%);
  box-shadow: inset -3px -4px 8px rgba(129, 207, 242, 0.12);
  animation-name: bubble-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0;
}

@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.65); opacity: 0; }
  12% { opacity: 0.72; }
  72% { opacity: 0.56; }
  100% { transform: translate3d(var(--drift, 20px), -115vh, 0) scale(1.15); opacity: 0; }
}

.pointer-light {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: radial-gradient(300px circle at var(--mx, 51%) var(--my, 38%), rgba(157, 225, 255, 0.16), transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background 0.2s linear;
}

.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    linear-gradient(90deg, rgba(2, 8, 13, 0.94) 0%, rgba(2, 8, 13, 0.63) 42%, rgba(2, 8, 13, 0.12) 72%, rgba(2, 8, 13, 0.46) 100%),
    linear-gradient(180deg, rgba(2, 8, 13, 0.62) 0%, transparent 26%, transparent 70%, rgba(2, 8, 13, 0.84) 100%);
}

.cinema-label {
  position: absolute;
  top: 105px;
  left: clamp(22px, 7vw, 104px);
  z-index: 8;
  margin: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: rgba(196, 222, 231, 0.62);
  opacity: 1;
  transition: opacity 0.6s;
}

.hero.is-rest .cinema-label { opacity: 0; }

.hero-grid,
.hero-foot { z-index: 8; }

.hero.is-playing .hero-copy {
  opacity: 0;
  animation: hero-info-in 0.9s 5.2s var(--ease) forwards;
}

.hero.is-playing .hero-portrait {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-info-in 0.9s 5.3s var(--ease) forwards;
}

.hero.is-playing .hero-foot {
  opacity: 0;
  animation: hero-info-in 0.8s 5.4s var(--ease) forwards;
}

@keyframes hero-info-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero.is-rest .hero-copy,
.hero.is-rest .hero-portrait,
.hero.is-rest .hero-foot {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero.is-rest .whale-layer { display: none; }
.hero.is-rest .calm-sea { opacity: 1; animation: none; }
.hero.is-rest .cinema-label { opacity: 0; }

.hero-portrait {
  position: relative;
  z-index: 7;
  justify-self: end;
  width: min(392px, 100%);
}

.portrait-frame {
  position: relative;
  padding: 9px;
  border: 1px solid rgba(199, 161, 90, 0.58);
  background: rgba(3, 9, 12, 0.38);
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(116, 198, 230, 0.08);
  backdrop-filter: blur(2px);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -18px 24px 24px -18px;
  border: 1px solid rgba(199, 161, 90, 0.16);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.96) contrast(1.04) brightness(0.9);
}

.portrait-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  background: rgba(3, 8, 12, 0.8);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(8px);
}
.portrait-badge strong { font-family: var(--serif); font-size: 16px; letter-spacing: 0.04em; }
.portrait-badge span { font-size: 9px; letter-spacing: 0.08em; color: var(--muted); }

.hero-cinema .hero-frame,
.hero-cinema .hero-visual { display: none; }

.cinema-control {
  position: absolute;
  right: clamp(22px, 7vw, 104px);
  bottom: 28px;
  z-index: 8;
  padding: 10px 14px;
  border: 1px solid rgba(199, 161, 90, 0.4);
  background: rgba(3, 9, 13, 0.58);
  color: rgba(244, 238, 226, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.cinema-control:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(3, 9, 13, 0.84); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ae1ef;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(154, 225, 239, 0.8);
}

.cursor-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 161, 90, 0.95);
  border-radius: 50%;
  background: rgba(199, 161, 90, 0.07);
  box-shadow:
    0 0 0 6px rgba(199, 161, 90, 0.045),
    0 0 18px rgba(199, 161, 90, 0.18);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background-color 0.3s, border-color 0.3s;
}

.cursor-ring::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(199, 161, 90, 0.2);
  border-top-color: rgba(240, 217, 166, 0.9);
  border-radius: 50%;
  animation: cursor-orbit 3.4s linear infinite;
}

@keyframes cursor-orbit {
  to { transform: rotate(360deg); }
}

.cursor-label {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: #071016;
  opacity: 0;
  transition: opacity 0.25s;
}

.cursor.is-active .cursor-ring {
  width: 72px;
  height: 72px;
  background: var(--gold);
  border-color: var(--gold);
}
.cursor.is-active .cursor-label { opacity: 1; }
.cursor.is-down .cursor-ring { transform: translate(-50%, -50%) scale(0.86); }

.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(128, 210, 238, 0.34), rgba(199, 161, 90, 0.16) 46%, transparent 70%);
  filter: blur(30px);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.4s var(--ease);
  will-change: transform;
}

html.cursor-ready .cursor { opacity: 1; }
html.cursor-ready .cursor-aura { opacity: 0.9; }
html.cursor-ready,
html.cursor-ready a,
html.cursor-ready button,
html.cursor-ready .shot { cursor: none; }

.click-ripple {
  position: fixed;
  z-index: 299;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1px solid rgba(154, 225, 239, 0.85);
  border-radius: 50%;
  pointer-events: none;
  animation: click-ripple 0.65s var(--ease) forwards;
}
@keyframes click-ripple {
  from { transform: scale(0.25); opacity: 0.9; }
  to { transform: scale(3.5); opacity: 0; }
}

@media (max-width: 900px) {
  .cinema-label { top: 86px; left: 20px; }
  .hero-portrait { justify-self: start; width: min(430px, 88%); }
  .portrait-frame img { aspect-ratio: 0.86; }
  .cinema-control { right: 20px; bottom: 20px; }
}

@media (max-width: 720px) {
  .hero-cinema { padding-bottom: 62px; }
  .hero-cinema .hero-grid { gap: 34px; }
  .hero-portrait { width: 92%; }
  .portrait-frame img { aspect-ratio: 0.9; }
  .cinema-control { right: 18px; bottom: 18px; font-size: 7.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero.is-playing .whale-layer { animation: none; display: none; }
  .hero.is-playing .calm-sea { animation: none; opacity: 1; }
  .hero.is-playing .hero-copy,
  .hero.is-playing .hero-portrait,
  .hero.is-playing .hero-foot { animation: none; opacity: 1; transform: none; }
  .light-rays, .caustics, .bubble, .cinema-control { animation: none !important; }
  .cursor, .cursor-aura { display: none; }
}


/* =========================================================
   HERO VIDEO + WHOLE-SITE UNDERWATER WORLD
   ========================================================= */
.whale-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.02);
  will-change: transform, opacity;
}

.whale-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  display: block;
  pointer-events: none;
  filter: saturate(0.96) contrast(1.07) brightness(0.9);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero.is-playing .whale-video-wrap {
  opacity: 1;
  animation: whale-video-swim 5.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero.is-rest .whale-video-wrap { display: none; }

@keyframes whale-video-swim {
  0% { transform: translate3d(-1%, 2%, 0) scale(1.02); opacity: 0; }
  7% { opacity: 1; }
  20% { transform: translate3d(0, 1%, 0) scale(1); }
  43% { transform: translate3d(1%, -2%, 0) scale(1.04); }
  60% { transform: translate3d(5%, -8%, 0) scale(1.1); }
  76% { transform: translate3d(14%, -22%, 0) scale(1.2); opacity: 1; }
  90% { transform: translate3d(30%, -40%, 0) scale(1.35); opacity: 0.86; }
  100% { transform: translate3d(48%, -58%, 0) scale(1.55); opacity: 0; }
}

/* deeper water across the entire site */
:root {
  --bg: #03151e;
  --bg-soft: #051d27;
  --panel: #07232e;
  --panel-2: #0a2b37;
  --muted: #96adb1;
  --dim: #668086;
  --line: rgba(160, 218, 226, 0.15);
  --line-soft: rgba(160, 218, 226, 0.075);
}

body {
  background:
    radial-gradient(ellipse 75% 48% at 50% -12%, rgba(53, 158, 191, 0.30), transparent 62%),
    radial-gradient(ellipse 55% 42% at 88% 30%, rgba(21, 104, 125, 0.16), transparent 68%),
    linear-gradient(180deg, #031720 0%, #04161f 44%, #020b11 100%);
  background-attachment: fixed;
}

body::before { opacity: 0.055; }

main { position: relative; z-index: 2; }

.ocean-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmo-glow {
  position: absolute;
  top: -36%;
  left: 8%;
  width: 84%;
  height: 85%;
  background: radial-gradient(ellipse at 50% 0%, rgba(123, 207, 234, 0.18), transparent 62%);
  filter: blur(18px);
}

.atmo-rays {
  position: absolute;
  inset: -25% -14%;
  opacity: 0.22;
  background: repeating-linear-gradient(
    103deg,
    transparent 0 60px,
    rgba(145, 213, 239, 0.12) 62px 65px,
    transparent 66px 144px
  );
  mix-blend-mode: screen;
  filter: blur(2px);
  animation: atmo-rays 14s ease-in-out infinite alternate;
}

@keyframes atmo-rays {
  from { transform: translate3d(-2%, -1%, 0) rotate(-4deg) scale(1.03); opacity: 0.14; }
  to { transform: translate3d(2%, 1%, 0) rotate(-2deg) scale(1.08); opacity: 0.28; }
}

.atmo-bubbles { position: absolute; inset: 0; overflow: hidden; }

.atmo-bubbles .bubble {
  position: absolute;
  bottom: -6%;
  border-color: rgba(194, 236, 247, 0.4);
  animation-name: atmo-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes atmo-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12% { opacity: 0.42; }
  80% { opacity: 0.3; }
  100% { transform: translate3d(var(--drift, 20px), -112vh, 0) scale(1.15); opacity: 0; }
}

.works,
.about,
.contact {
  background: transparent;
  border-top-color: var(--line);
}

.about { background: rgba(4, 20, 29, 0.5); }
.contact { background: rgba(3, 16, 23, 0.42); }
.works { background: rgba(3, 19, 27, 0.18); }

.work { border-top-color: var(--line); }
.work-no, .section-kicker { color: var(--gold); }
.contact-card {
  background: rgba(5, 26, 35, 0.56);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.contact-card:hover { background: rgba(11, 42, 53, 0.66); }

.work-meta span,
.contact-card .pill,
.skill-list li {
  border-color: var(--line);
  background: rgba(4, 22, 30, 0.28);
}

.hero-cinema::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  height: 20%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(3, 21, 30, 0.9));
}

.hero.is-rest .cinema { opacity: var(--hero-fade, 1); }

@keyframes atmo-drift {
  to { transform: translate3d(0, -120vh, 0); }
}

@media (max-width: 720px) {
  .whale-video { object-position: center 45%; }
  .hero-cinema::after { height: 15%; }
}

@media (prefers-reduced-motion: reduce) {
  .atmo-rays { animation: none; }
  .atmo-bubbles .bubble { animation: none; opacity: 0; }
}

/* depth transition between hero and works */
.depth-divider {
  position: relative;
  z-index: 3;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 25px clamp(22px, 7vw, 104px) 0;
  background: linear-gradient(180deg, rgba(2, 12, 18, 0), rgba(3, 21, 30, 0.9));
  border-top: 1px solid rgba(155, 216, 229, 0.1);
}

.depth-line {
  width: min(240px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 161, 90, 0.5), transparent);
}

.depth-note {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(154, 205, 214, 0.55);
  white-space: nowrap;
}

.works {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(90, 194, 223, 0.11), transparent 44%),
    rgba(3, 19, 27, 0.2);
}

.about {
  background:
    radial-gradient(ellipse at 82% 4%, rgba(74, 170, 197, 0.09), transparent 42%),
    rgba(4, 20, 29, 0.52);
}

.contact {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(90, 194, 223, 0.08), transparent 40%),
    rgba(3, 16, 23, 0.46);
}

.atmo-bubbles .bubble {
  border-color: rgba(205, 242, 250, 0.52);
  background: radial-gradient(circle at 32% 28%, rgba(235, 250, 255, 0.5), transparent 72%);
}

@media (max-width: 720px) {
  .depth-divider { height: 88px; gap: 10px; padding-top: 18px; }
  .depth-line { width: 16vw; }
  .depth-note { font-size: 7px; letter-spacing: 0.14em; }
}
