:root {
  --gold: #eab308;
  --gold-bright: #f7d66b;
  --gold-dark: #8f6100;
  --teal: #006d77;
  --navy: #102a43;
  --navy-deep: #071522;
  --cream: #f4eae0;
  --paper: #fff4df;
  --ink: #081827;
  --muted: rgba(16, 42, 67, 0.66);
  --display: "Cinzel Decorative", Georgia, serif;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  background:
    radial-gradient(circle at 50% 7%, rgba(234, 179, 8, 0.23), transparent 16rem),
    radial-gradient(circle at 12% 72%, rgba(0, 109, 119, 0.12), transparent 12rem),
    linear-gradient(145deg, #fff9ea 0%, var(--cream) 72%, #eddcc7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(16, 42, 67, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

body::after {
  opacity: 0.4;
  background:
    radial-gradient(circle at 50% 0%, transparent 0 8.5rem, rgba(156, 107, 0, 0.13) 8.55rem 8.7rem, transparent 8.78rem),
    repeating-conic-gradient(from -3deg at 50% 6rem, rgba(234, 179, 8, 0.1) 0deg 2deg, transparent 2deg 11deg);
  mask-image: linear-gradient(to bottom, black 0 24rem, transparent 32rem);
}

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

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

.bio-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
}

.gateway {
  width: min(100%, 430px);
  min-height: calc(100svh - 2rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.medallion-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0.2rem auto 0.65rem;
  width: min(45vw, 178px);
  aspect-ratio: 1;
}

.sun-lines {
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 48%, rgba(234, 179, 8, 0.16) 48.4% 49.2%, transparent 49.8%),
    repeating-conic-gradient(from -5deg, rgba(234, 179, 8, 0.23) 0deg 1.7deg, transparent 1.7deg 10deg);
  filter: drop-shadow(0 22px 36px rgba(143, 97, 0, 0.18));
}

.medallion {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 249, 222, 0.98), rgba(247, 214, 107, 0.86) 28%, rgba(187, 124, 0, 0.92) 72%, rgba(112, 70, 0, 0.98)),
    var(--gold);
  border: 1px solid rgba(143, 97, 0, 0.52);
  box-shadow:
    inset 0 0 0 6px rgba(255, 245, 194, 0.44),
    inset 0 0 0 13px rgba(143, 97, 0, 0.23),
    0 20px 48px rgba(143, 97, 0, 0.25);
}

.medallion::before,
.medallion::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.medallion::before {
  inset: 9%;
  border: 1px solid rgba(8, 24, 39, 0.12);
}

.medallion::after {
  inset: 0;
  background-image:
    linear-gradient(35deg, rgba(255, 255, 255, 0.24), transparent 30%),
    repeating-linear-gradient(105deg, rgba(8, 24, 39, 0.06) 0 1px, transparent 1px 6px);
  mix-blend-mode: overlay;
}

.medallion img {
  position: relative;
  z-index: 1;
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(8, 24, 39, 0.2));
}

.intro {
  text-align: center;
}

h1,
p {
  margin: 0;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 11.5vw, 3.55rem);
  line-height: 0.93;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.intro p {
  margin-top: 0.45rem;
  color: var(--teal);
  font-size: clamp(1.08rem, 4.2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.15;
}

.action-stack {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.15rem;
}

.bio-button,
.link-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(234, 179, 8, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.bio-button:focus-visible,
.link-row:focus-visible {
  outline: 3px solid rgba(0, 109, 119, 0.35);
  outline-offset: 3px;
}

.bio-button:hover,
.link-row:hover {
  transform: translateY(-1px);
}

.bio-button:active,
.link-row:active {
  transform: translateY(1px);
}

.bio-button {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.1rem;
  font-family: var(--sans);
  font-size: clamp(1rem, 4vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bio-button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.bio-button span {
  position: relative;
  z-index: 1;
}

.bio-button-primary {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 245, 191, 0.92), transparent 28%),
    linear-gradient(180deg, var(--gold-bright), var(--gold) 45%, #c88700);
  border: 1px solid rgba(143, 97, 0, 0.72);
  box-shadow:
    0 16px 30px rgba(143, 97, 0, 0.26),
    inset 0 -2px 0 rgba(112, 70, 0, 0.22);
}

.bio-button-secondary {
  color: var(--navy);
  background: rgba(255, 250, 236, 0.72);
  border: 1px solid rgba(16, 42, 67, 0.26);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
}

.video-card {
  margin-top: 1rem;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  border: 1px solid rgba(16, 42, 67, 0.32);
  box-shadow: 0 16px 34px rgba(16, 42, 67, 0.16);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(234, 179, 8, 0.28);
  border-radius: inherit;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.music-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.64rem;
  margin-top: 0.9rem;
  padding-bottom: 0.25rem;
}

.link-row {
  justify-content: flex-start;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.72rem 0.85rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 250, 236, 0.62);
  border: 1px solid rgba(16, 42, 67, 0.17);
  box-shadow: 0 10px 22px rgba(16, 42, 67, 0.07);
}

.link-row-quiet {
  grid-column: 1 / -1;
  justify-content: center;
  color: rgba(16, 42, 67, 0.78);
}

.service-mark {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.service-mark::before {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 900;
}

.spotify-mark {
  background: #1db954;
}

.spotify-mark::before {
  content: "S";
}

.apple-mark {
  background: var(--navy);
}

.apple-mark::before {
  content: "A";
}

.youtube-mark {
  background: #c91515;
  border-radius: 8px;
}

.youtube-mark::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  margin-left: 2px;
}

.site-mark {
  background: var(--gold-dark);
}

.site-mark::before {
  content: "KR";
  font-size: 0.58rem;
}

@media (max-width: 374px) {
  .bio-shell {
    padding-inline: 0.8rem;
  }

  .medallion-wrap {
    width: 43vw;
    margin-bottom: 0.45rem;
  }

  .action-stack {
    margin-top: 0.9rem;
    gap: 0.58rem;
  }

  .bio-button {
    min-height: 53px;
  }

  .music-links {
    gap: 0.5rem;
  }

  .link-row {
    padding-inline: 0.66rem;
  }
}

@media (min-width: 760px) {
  .bio-shell {
    align-items: center;
    padding-block: 2rem;
  }

  .gateway {
    min-height: auto;
    padding: 1.2rem;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
