@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500&family=Geist:wght@300;400;500&display=swap');

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

:root {
  --bg: rgb(7, 7, 8);
  --fg: rgb(225, 225, 225);
  --muted: rgb(155, 155, 158);
  --muted2: rgb(120, 123, 128);
  --available: rgb(80, 230, 160);
  --available-bg: rgba(10, 207, 131, 0.18);
  --ring-a: rgba(5, 90, 55, 0.95);
  --ring-b: rgba(50, 20, 120, 0.90);
  --ring-mid: rgba(10, 40, 110, 0.50);
  --ring-glow-a: rgba(30, 210, 110, 0.75);
  --ring-glow-b: rgba(110, 50, 255, 0.65);
  --ring-glow-a-solid: rgb(30, 210, 110);
  --ring-glow-b-solid: rgb(110, 50, 255);
}

html, body { height: 100%; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem 2.5rem;
}

/* ── Aurora blobs ── */
.blob {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  will-change: transform, border-radius;
}

.blob-1 {
  width: 580px;
  height: 520px;
  background: rgba(5, 90, 55, 0.55);
  filter: blur(90px);
  top: 20%;
  left: 15%;
  border-radius: 42% 58% 63% 37% / 55% 38% 62% 45%;
  animation: drift1 18s ease-in-out infinite, morph1 14s ease-in-out infinite alternate;
}

.blob-2 {
  width: 500px;
  height: 460px;
  background: rgba(50, 20, 120, 0.50);
  filter: blur(80px);
  top: 40%;
  left: 70%;
  border-radius: 61% 39% 44% 56% / 38% 62% 38% 62%;
  animation: drift2 22s ease-in-out infinite, morph2 17s ease-in-out infinite alternate;
}

.blob-3 {
  width: 420px;
  height: 390px;
  background: rgba(10, 50, 130, 0.45);
  filter: blur(70px);
  top: 65%;
  left: 30%;
  border-radius: 53% 47% 38% 62% / 60% 44% 56% 40%;
  animation: drift3 26s ease-in-out infinite, morph3 20s ease-in-out infinite alternate;
}

.blob-4 {
  width: 360px;
  height: 320px;
  background: rgba(120, 20, 80, 0.35);
  filter: blur(70px);
  top: 10%;
  left: 60%;
  border-radius: 37% 63% 56% 44% / 48% 57% 43% 52%;
  animation: drift4 20s ease-in-out infinite, morph4 12s ease-in-out infinite alternate;
}

@keyframes morph1 {
  0%   { border-radius: 42% 58% 63% 37% / 55% 38% 62% 45%; }
  50%  { border-radius: 67% 33% 48% 52% / 42% 65% 35% 58%; }
  100% { border-radius: 35% 65% 55% 45% / 60% 30% 70% 40%; }
}
@keyframes morph2 {
  0%   { border-radius: 61% 39% 44% 56% / 38% 62% 38% 62%; }
  50%  { border-radius: 44% 56% 67% 33% / 55% 45% 60% 40%; }
  100% { border-radius: 70% 30% 38% 62% / 43% 57% 42% 58%; }
}
@keyframes morph3 {
  0%   { border-radius: 53% 47% 38% 62% / 60% 44% 56% 40%; }
  50%  { border-radius: 38% 62% 60% 40% / 48% 66% 34% 52%; }
  100% { border-radius: 62% 38% 45% 55% / 35% 55% 45% 65%; }
}
@keyframes morph4 {
  0%   { border-radius: 37% 63% 56% 44% / 48% 57% 43% 52%; }
  50%  { border-radius: 55% 45% 40% 60% / 62% 38% 58% 42%; }
  100% { border-radius: 45% 55% 65% 35% / 54% 46% 36% 64%; }
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  20%  { transform: translate(160px, 60px) scale(1.15); }
  45%  { transform: translate(80px, 180px) scale(0.88); }
  65%  { transform: translate(-100px, 120px) scale(1.2); }
  85%  { transform: translate(-40px, -60px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-180px, 90px) scale(1.18); }
  50%  { transform: translate(-60px, -140px) scale(0.85); }
  70%  { transform: translate(120px, -80px) scale(1.12); }
  90%  { transform: translate(60px, 100px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(140px, -110px) scale(1.22); }
  55%  { transform: translate(-90px, -60px) scale(0.87); }
  75%  { transform: translate(-130px, 100px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift4 {
  0%   { transform: translate(0, 0) scale(1); }
  28%  { transform: translate(100px, 140px) scale(1.25); }
  52%  { transform: translate(-120px, 80px) scale(0.82); }
  78%  { transform: translate(60px, -120px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ── Entrance animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

h1 {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.cta-list li:nth-child(1) {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.cta-list li:nth-child(2) {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

.cta-list li:nth-child(3) {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.cta-list li:nth-child(4) {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

.speaking {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}

/* ── Main content ── */
main {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Heading ── */
h1 {
  font-family: 'Sora', -apple-system, sans-serif;
  font-size: clamp(2.35rem, 5.5vw, 2.65rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-align: center;
  margin-bottom: 0.6rem;
}

.subhead {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.1px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* ── Avatar ── */
.heading-photo {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  overflow: visible;
  vertical-align: middle;
  margin: 0 0.06em;
  position: relative;
  top: -0.06em;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.heading-photo:hover {
  transform: scale(1.12) rotate(-6deg);
  filter:
    drop-shadow(0 0 8px var(--ring-glow-a))
    drop-shadow(0 0 22px var(--ring-glow-b));
}

.heading-photo::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    var(--ring-a),
    var(--ring-mid),
    var(--ring-b),
    var(--ring-mid),
    var(--ring-a),
    var(--ring-b),
    var(--ring-mid),
    var(--ring-a)
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  animation: waveBorder 14s ease-in-out infinite alternate;
  z-index: -1;
}

.heading-photo img {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.heading-wave {
  position: absolute;
  top: 0.25em;
  left: 96%;
  transform: translateX(-50%) translateY(4px) scale(0.4) rotate(-25deg);
  font-size: 0.7em;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  background: linear-gradient(135deg, var(--ring-glow-a-solid), var(--ring-glow-b-solid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom center;
  line-height: 1;
}

.heading-photo:hover .heading-wave {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
  animation: waveHand 1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

@keyframes waveHand {
  0%   { transform: translateX(-50%) translateY(6px) scale(0.5) rotate(20deg); opacity: 0; }
  15%  { transform: translateX(-50%) translateY(-3px) scale(1.1) rotate(-12deg); opacity: 1; }
  30%  { transform: translateX(-50%) translateY(0) scale(1) rotate(22deg); }
  48%  { transform: translateX(-50%) translateY(-2px) scale(1.05) rotate(-8deg); }
  63%  { transform: translateX(-50%) translateY(0) scale(1) rotate(18deg); }
  78%  { transform: translateX(-50%) translateY(-1px) scale(1.02) rotate(-4deg); }
  90%  { transform: translateX(-50%) translateY(0) scale(1) rotate(6deg); }
  100% { transform: translateX(-50%) translateY(0) scale(1) rotate(0deg); }
}

/* ── Gradient border wave motion ── */
@keyframes waveBorder {
  0%   { background-position: 0 0, 0% 50%; }
  100% { background-position: 0 0, -300% 50%; }
}

/* ── CTA list ── */
.cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 420px;
}

.cta-list :is(a, button) {
  display: flex;
  align-items: center;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 400;
  font-family: inherit;
  letter-spacing: 0.1px;
  line-height: 1.4;
  position: relative;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 2px solid transparent;
  background-image:
    linear-gradient(rgb(7, 7, 8), rgb(7, 7, 8)),
    linear-gradient(90deg, var(--ring-a), var(--ring-mid), var(--ring-b), var(--ring-mid), var(--ring-a), var(--ring-b), var(--ring-mid), var(--ring-a));
  background-size: 100% 100%, 300% 100%;
  background-position: 0 0, 0% 50%;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  animation: waveBorder 14s ease-in-out infinite alternate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-list :is(a, button):hover {
  transform: scale(1.018) translateY(-2px);
  animation-duration: 6s;
  color: rgb(235, 235, 235);
  background-image:
    linear-gradient(rgb(14, 14, 18), rgb(14, 14, 18)),
    linear-gradient(90deg, var(--ring-a), var(--ring-mid), var(--ring-b), var(--ring-mid), var(--ring-a), var(--ring-b), var(--ring-mid), var(--ring-a));
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255,255,255,0.07),
    0 0 22px var(--ring-glow-a),
    0 0 55px var(--ring-glow-b);
}

.cta-list :is(a, button):hover .cta-letter {
  color: rgb(200, 200, 200);
}

.cta-letter {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.2px;
  width: 2.25rem;
  flex-shrink: 0;
}

.cta-text { flex: 1; }

.cta-arrow {
  color: var(--muted2);
  font-size: 1.2rem;
  margin-left: 1rem;
  opacity: 0.7;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, opacity 0.2s ease, font-variation-settings 0.2s ease;
}

.cta-list :is(a, button):hover .cta-arrow {
  transform: translateX(5px);
  color: rgb(210, 210, 210);
  opacity: 1;
}

.cta-about:hover .cta-arrow {
  transform: scale(1.22);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.cta-list li:nth-child(1) a:hover .cta-arrow {
  transform: scale(1.18);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.cta-list li:nth-child(2) a:hover .cta-arrow {
  transform: scale(1.18);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.cta-play {
  font-size: 1.2rem;
  color: var(--muted);
  margin-left: 1rem;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, font-variation-settings 0.2s ease;
}

.cta-list :is(a, button):hover .cta-play {
  transform: scale(1.15);
}

.cta-reel { cursor: pointer; }
.cta-reel .cta-letter { color: var(--muted); }

.cta-reel:hover .cta-play {
  color: var(--fg);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ── Speaking note ── */
.speaking {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.2px;
  line-height: 1.65;
  color: rgba(172, 172, 175, 1);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1rem;
  width: 100%;
  max-width: 420px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}

.speaking-icon {
  font-size: 1.15rem;
  color: var(--muted2);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  display: block;
  margin-bottom: 0.4rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.speaking:hover .speaking-icon {
  transform: scale(1.25) rotate(-14deg);
  color: rgba(200, 200, 205, 1);
}

.speaking-link {
  color: var(--fg);
  background-image: linear-gradient(var(--ring-glow-a), var(--ring-glow-a));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.speaking:hover .speaking-link {
  background-size: 100% 1px;
}

/* ── View transitions ── */
.view {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.view.view-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Reel view ── */
.reel-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgb(12, 12, 14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#viewReel .reel-player {
  width: 100%;
  max-width: 640px;
}

.reel-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.reel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
}

.reel-placeholder-ring {
  font-size: 5rem;
  color: var(--muted);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
  animation: ringPulse 2.5s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.85; transform: scale(1.06); }
}

.reel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.reel-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.reel-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.reel-close .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}

.reel-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--fg);
}

/* ── About view ── */
.photo-fan {
  position: relative;
  width: 340px;
  height: 188px;
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}

.photo-fan img {
  position: absolute;
  width: 118px;
  height: 155px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  cursor: default;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease, opacity 0.35s ease;
}

.photo-fan .fan-left   { left: 0;   top: 22px; z-index: 1; transform: rotate(-20deg)  translateY(0) scale(1); }
.photo-fan .fan-center { left: 50%; top: 0;    z-index: 3; transform: translateX(-50%) translateY(0) scale(1); }
.photo-fan .fan-right  { right: 0;  top: 22px; z-index: 2; transform: rotate(20deg)   translateY(0) scale(1); }

.photo-fan img { animation: none; }

#viewAbout.view-active .fan-left {
  animation: fanOutLeft 0.65s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
#viewAbout.view-active .fan-center {
  animation: fanOutCenter 0.7s cubic-bezier(0.22,1,0.36,1) 0s both;
}
#viewAbout.view-active .fan-right {
  animation: fanOutRight 0.65s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

@keyframes fanOutLeft {
  from { transform: rotate(0deg)   translateY(0) scale(0.9); opacity: 0; }
  to   { transform: rotate(-20deg) translateY(0) scale(1);   opacity: 1; }
}
@keyframes fanOutCenter {
  from { transform: translateX(-50%) translateY(16px) scale(0.88); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0)    scale(1);    opacity: 1; }
}
@keyframes fanOutRight {
  from { transform: rotate(0deg)  translateY(0) scale(0.9); opacity: 0; }
  to   { transform: rotate(20deg) translateY(0) scale(1);   opacity: 1; }
}

#viewAbout .photo-fan.fan-collapsing .fan-left {
  animation: fanInLeft 0.28s cubic-bezier(0.55, 0, 1, 0.45) forwards !important;
}
#viewAbout .photo-fan.fan-collapsing .fan-center {
  animation: fanInCenter 0.26s cubic-bezier(0.55, 0, 1, 0.45) 0.03s forwards !important;
}
#viewAbout .photo-fan.fan-collapsing .fan-right {
  animation: fanInRight 0.28s cubic-bezier(0.55, 0, 1, 0.45) 0.03s forwards !important;
}

@keyframes fanInLeft {
  from { transform: rotate(-20deg) translateY(0) scale(1);      opacity: 1; }
  to   { transform: rotate(0deg)   translateY(6px) scale(0.82); opacity: 0; }
}
@keyframes fanInCenter {
  from { transform: translateX(-50%) translateY(0) scale(1);      opacity: 1; }
  to   { transform: translateX(-50%) translateY(10px) scale(0.82); opacity: 0; }
}
@keyframes fanInRight {
  from { transform: rotate(20deg)  translateY(0) scale(1);      opacity: 1; }
  to   { transform: rotate(0deg)   translateY(6px) scale(0.82); opacity: 0; }
}

.about-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
  max-width: 395px;
}

.about-name {
  font-family: 'Sora', -apple-system, sans-serif;
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  white-space: nowrap;
  font-weight: 300;
  letter-spacing: 0.2px;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0.1rem 0 0.2rem;
}

.about-tag {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted2);
  letter-spacing: 0.3px;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.about-bio {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.25rem;
  text-align: center;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  margin-top: 1rem;
  align-items: center;
}

.about-link {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  border: 2px solid transparent;
  background-image:
    linear-gradient(rgb(7, 7, 8), rgb(7, 7, 8)),
    linear-gradient(90deg, var(--ring-a), var(--ring-mid), var(--ring-b), var(--ring-mid), var(--ring-a), var(--ring-b), var(--ring-mid), var(--ring-a));
  background-size: 100% 100%, 300% 100%;
  background-position: 0 0, 0% 50%;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  animation: waveBorder 14s ease-in-out infinite alternate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: auto;
}

.about-link-text { flex: 1; }

.about-link-icon {
  font-size: 1.2rem;
  color: var(--muted2);
  opacity: 0.7;
  margin-left: 1rem;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), font-variation-settings 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.about-link:hover {
  transform: scale(1.018) translateY(-2px);
  animation-duration: 6s;
  background-image:
    linear-gradient(rgb(14, 14, 18), rgb(14, 14, 18)),
    linear-gradient(90deg, var(--ring-a), var(--ring-mid), var(--ring-b), var(--ring-mid), var(--ring-a), var(--ring-b), var(--ring-mid), var(--ring-a));
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255,255,255,0.07),
    0 0 22px var(--ring-glow-a),
    0 0 55px var(--ring-glow-b);
}

.about-link:hover .about-link-icon {
  color: rgb(210, 210, 210);
  opacity: 1;
  transform: scale(1.18);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ── Back button ── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.75rem;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 300;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  transition: color 0.2s ease;
}

.back-btn:hover { color: var(--fg); }

.back-btn .material-symbols-outlined {
  font-size: 1.1rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.reel-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.reel-contact:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.reel-contact .material-symbols-outlined {
  font-size: 0.9rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}
