:root {
  --sky-25: #f8fcff;
  --sky-50: #c7e3f7;
  --sky-100: #dcefff;
  --sky-200: #bfdff3;
  --sky-300: #93c8e5;
  --sky-500: #4f9bc8;
  --sky-650: #2879a8;
  --sky-750: #1c628e;
  --ink: #10283a;
  --ink-soft: #324b5f;
  --muted: #405c73;
  --line: rgba(38, 99, 148, 0.23);
  --paper: rgba(194, 224, 246, 0.95);
  --white: #ffffff;
  --shadow-lg: 0 40px 100px rgba(43, 92, 124, 0.18), 0 12px 34px rgba(50, 105, 139, 0.1);
  --shadow-md: 0 22px 50px rgba(50, 105, 139, 0.12), 0 5px 16px rgba(50, 105, 139, 0.07);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(145deg, #76acd5 0%, #4387bd 48%, #659ecb 100%);
  background-attachment: fixed;
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

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

.page-shell {
  width: min(calc(100% - 48px), var(--content));
  min-height: calc(100vh - 64px);
  margin: 32px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 0 42px;
  background: rgba(175, 211, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--sky-650), #65b9df);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(38, 119, 163, 0.22);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-text {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: rgba(134, 187, 225, 0.58);
  border: 1px solid rgba(77, 148, 188, 0.12);
  border-radius: 999px;
}

.site-nav a {
  position: relative;
  padding: 9px 18px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--sky-750);
  transform: translateY(-1px);
}

.site-nav a.active {
  color: var(--sky-750);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(49, 111, 146, 0.1);
}

.header-note {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-main {
  padding: 32px;
}

.inner-frame {
  overflow: hidden;
  background: rgba(217, 236, 250, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-main {
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.about-simple {
  width: min(820px, 100%);
  margin: 0 auto;
}

.about-simple-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.about-simple-header h1 {
  margin: 12px 0 0;
  color: var(--ink-950);
  font-size: clamp(2.75rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.about-portrait {
  width: 136px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 10px;
  display: block;
}

.about-copy {
  color: var(--ink-800);
  font-size: clamp(1rem, 1.35vw, 1.075rem);
  line-height: 1.82;
}

.about-copy p {
  margin: 0 0 1.45em;
}

.about-copy p:first-child {
  color: var(--ink-950);
  font-weight: 600;
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
  gap: 58px;
  align-items: center;
  min-height: 620px;
  padding: 64px;
}

.about-hero::after {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 440px;
  height: 440px;
  content: "";
  background: radial-gradient(circle, rgba(132, 202, 233, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--sky-650);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-title {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-title em {
  color: var(--sky-650);
  font-weight: 400;
}

.hero-intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.chip {
  padding: 8px 13px;
  color: var(--sky-750);
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 19px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--sky-750);
  border-color: var(--sky-750);
  box-shadow: 0 12px 24px rgba(28, 98, 142, 0.2);
  transform: translateY(-2px);
}

button.button {
  cursor: pointer;
  font-family: inherit;
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--sky-750);
  background: var(--white);
}

.arrow {
  font-size: 17px;
  line-height: 1;
}

.portrait-card {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 360px);
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 25px;
  box-shadow: 0 25px 56px rgba(50, 105, 139, 0.18);
  transform: rotate(1.5deg);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 37%;
  filter: saturate(0.75) contrast(0.96) brightness(1.04);
  border-radius: 17px;
}

.portrait-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 7px 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portrait-label span:last-child {
  color: var(--sky-650);
}

.section-block {
  margin-top: 28px;
  padding: 60px;
}

.section-header {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--sky-650);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.expertise-card {
  min-height: 230px;
  padding: 25px;
  background: linear-gradient(155deg, rgba(241, 249, 255, 0.9), rgba(255, 255, 255, 0.8));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.expertise-index {
  color: var(--sky-500);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.expertise-card h3 {
  margin: 36px 0 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.story-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  margin-top: 42px;
}

.story-aside {
  position: sticky;
  top: 116px;
  align-self: start;
}

.story-aside p {
  margin: 0;
  color: var(--sky-650);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-aside .signal {
  display: block;
  width: 100%;
  height: 58px;
  margin-top: 18px;
}

.story-content {
  max-width: 700px;
}

.story-chapter + .story-chapter {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.story-chapter h3 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.story-chapter p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.closing-note {
  margin-top: 54px;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink) 0%, #1f617f 100%);
  border-radius: 20px;
}

.closing-note p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, serif;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.35;
}

.page-heading {
  position: relative;
  padding: 62px 62px 50px;
  overflow: hidden;
  background: linear-gradient(135deg, #a7cfee, #c5e2f6);
  border-bottom: 1px solid var(--line);
}

.page-heading::after {
  position: absolute;
  right: 28px;
  bottom: -84px;
  width: 330px;
  height: 190px;
  content: "";
  border: 1px solid rgba(58, 133, 176, 0.13);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.page-heading h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.page-heading p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.projects-list {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(190px, 0.45fr) 46px;
  gap: 24px;
  align-items: center;
  min-height: 205px;
  padding: 30px;
  overflow: hidden;
  color: inherit;
  background: rgba(205, 229, 247, 0.92);
  border: 1px solid var(--line);
  border-radius: 21px;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  content: "";
  background: var(--card-accent, var(--sky-500));
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-card:hover {
  z-index: 2;
  border-color: rgba(62, 141, 186, 0.25);
  box-shadow: 0 22px 44px rgba(50, 105, 139, 0.12);
  transform: translateY(-4px);
}

.project-card:hover::before {
  opacity: 1;
}

.project-number {
  color: var(--sky-500);
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
}

.project-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 31px);
  letter-spacing: -0.035em;
}

.project-copy p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.tag {
  padding: 7px 10px;
  color: var(--sky-750);
  background: rgba(224, 241, 251, 0.74);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--sky-650);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.project-card:hover .project-arrow {
  color: var(--white);
  background: var(--sky-650);
  transform: translateX(3px);
}

.resume-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 28px;
  background: rgba(194, 223, 245, 0.94);
  border-bottom: 1px solid var(--line);
}

.resume-tools p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pdf-wrap {
  padding: 24px;
  background: #92bbdb;
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(79vh, 980px);
  min-height: 700px;
  background: var(--white);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(36, 83, 110, 0.14);
}

.project-detail-heading {
  padding: 54px 58px 44px;
  background: linear-gradient(135deg, #a7cfee, #c5e2f6);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  color: var(--sky-650);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.breadcrumb:hover {
  color: var(--ink);
}

.project-detail-heading h1 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(45px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.project-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: 56px;
  padding: 58px;
}

.music-detail-body {
  grid-template-columns: minmax(0, 1fr);
}

.project-article h2,
.project-sidebar h2 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-article p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.project-image {
  margin: 34px 0 0;
}

.project-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.project-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.project-video {
  margin: 34px 0 0;
}

.project-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 721 / 540;
  background: #07151d;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(36, 83, 110, 0.16);
}

.project-video figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.project-audio {
  margin-top: 34px;
  padding: 26px;
  background: linear-gradient(135deg, #b8d9f1, #d2e8f8);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(36, 83, 110, 0.1);
}

.project-audio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.project-audio .eyebrow {
  margin: 0 0 7px;
}

.project-audio h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.project-audio-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.project-audio audio {
  display: block;
  width: 100%;
}

.music-library {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.music-library .project-audio {
  margin-top: 0;
}

.music-item-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.music-playlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 12px;
}

.music-play-all {
  padding: 9px 16px;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--sky-650);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.music-play-all:hover {
  background: var(--sky-750);
  transform: translateY(-1px);
}

.music-play-all:focus-visible,
.music-track:focus-visible {
  outline: 3px solid rgba(60, 143, 191, 0.3);
  outline-offset: 3px;
}

.music-playlist-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.music-track-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.music-track {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.music-track:hover {
  background: var(--white);
  border-color: rgba(60, 143, 191, 0.32);
  transform: translateX(2px);
}

.music-track.is-active {
  background: rgba(216, 239, 252, 0.86);
  border-color: rgba(60, 143, 191, 0.42);
}

.music-track-number {
  color: var(--sky-650);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.music-track-copy {
  display: grid;
  gap: 2px;
}

.music-track-copy strong {
  font-size: 14px;
}

.music-track-copy span,
.music-track-duration {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.project-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 38px 58px 46px;
  border-top: 1px solid var(--line);
}

.project-download h2 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.project-download p:not(.eyebrow) {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.project-download .button {
  flex: 0 0 auto;
}

.project-download .interface-launch-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--sky-650);
  font-size: 12px;
}

.project-placeholder {
  display: grid;
  min-height: 240px;
  margin-top: 34px;
  padding: 30px;
  place-items: center;
  color: var(--sky-650);
  background:
    linear-gradient(135deg, rgba(232, 246, 254, 0.82), rgba(251, 254, 255, 0.86)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(39, 119, 164, 0.06) 28px 29px);
  border: 1px dashed rgba(39, 119, 164, 0.3);
  border-radius: 18px;
  text-align: center;
}

.project-placeholder strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.project-placeholder span {
  display: block;
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
}

.project-sidebar {
  align-self: start;
  padding: 25px;
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: 19px;
}

.fact-list {
  margin: 0;
}

.fact-list div {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.fact-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding: 8px 11px;
  color: var(--sky-750);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-badge::before {
  width: 7px;
  height: 7px;
  content: "";
  background: #70b8d7;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(112, 184, 215, 0.17);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 42px 38px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--sky-650);
  text-decoration: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-500), var(--sky-750));
}

@media (max-width: 960px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--content));
    margin: 14px auto;
    border-radius: 26px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .header-note {
    display: none;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 48px;
  }

  .portrait-card {
    justify-self: start;
    width: min(100%, 430px);
    transform: none;
  }

  .section-header,
  .story-layout,
  .project-detail-body {
    grid-template-columns: 1fr;
  }

  .story-layout {
    gap: 34px;
  }

  .story-aside {
    position: static;
  }

  .story-aside .signal {
    width: 210px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 190px;
  }

  .project-card {
    grid-template-columns: 52px minmax(0, 1fr) 44px;
  }

  .project-meta {
    grid-column: 2 / 3;
  }

  .project-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .brand {
    justify-self: center;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    padding: 9px 7px;
    text-align: center;
  }

  .site-main {
    padding: 15px;
  }

  .inner-frame {
    border-radius: 22px;
  }

  .about-hero,
  .section-block,
  .page-heading,
  .project-detail-heading,
  .project-detail-body,
  .project-download {
    padding: 34px 26px;
  }

  .project-download {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .project-audio {
    padding: 22px;
  }

  .project-audio-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .music-playlist-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-title {
    font-size: clamp(43px, 14vw, 64px);
  }

  .portrait-card {
    padding: 9px;
  }

  .section-block {
    margin-top: 15px;
  }

  .section-header {
    gap: 22px;
  }

  .projects-list {
    gap: 12px;
    padding: 14px;
  }

  .project-card {
    grid-template-columns: 1fr 40px;
    gap: 16px;
    min-height: 0;
    padding: 24px 20px;
  }

  .project-number {
    grid-column: 1;
    grid-row: 1;
  }

  .project-copy {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .project-meta {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .project-arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .resume-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-wrap {
    padding: 10px;
  }

  .pdf-frame {
    height: 76vh;
    min-height: 560px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
