:root {
  --bg: #07070b;
  --bg-2: #0f111c;
  --ink: #f4f3f7;
  --muted: #b7b4c6;
  --accent-pink: #ff6fcf;
  --accent-peach: #ffb48a;
  --accent-lime: #d6ff6b;
  --accent-cyan: #5fffe1;
  --accent-violet: #7a6bff;
  --neutral: #e5e3ef;
  --panel: rgba(15, 17, 28, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  background: radial-gradient(circle at top, rgba(255, 111, 207, 0.12), transparent 45%),
    radial-gradient(circle at 18% 20%, rgba(122, 107, 255, 0.16), transparent 40%),
    radial-gradient(circle at 70% 10%, rgba(255, 180, 138, 0.16), transparent 40%),
    var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

body.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page main {
  flex: 1;
  width: 100%;
}

@media (pointer: fine) {
  body.cursor-enabled {
    cursor: none;
  }

  body.cursor-enabled a,
  body.cursor-enabled button,
  body.cursor-enabled .tab-button {
    cursor: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cursor-enabled {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-glyph {
    display: none;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-9999px, -9999px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-pink);
  box-shadow: 0 0 12px rgba(255, 111, 207, 0.8);
}

.cursor-ready .cursor-dot {
  opacity: 1;
}

.cursor-dot-active {
  background: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(95, 255, 225, 0.8);
}

.cursor-glyph {
  position: fixed;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 12px;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(8deg);
  animation: glyph-fade 0.9s ease forwards;
  text-shadow: 0 0 10px currentColor;
  z-index: 9998;
}

@keyframes glyph-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6) rotate(12deg);
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -80%) scale(1.2) rotate(-8deg);
  }
}
a {
  color: var(--accent-pink);
  text-decoration: none;
}

a:hover {
  color: var(--accent-peach);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
.tab-button:focus-visible {
  outline: 2px solid rgba(255, 111, 207, 0.7);
  outline-offset: 3px;
}

p {
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  margin: 32px 0 0;
  background: transparent;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px 24px 18px;
  gap: 24px;
  position: relative;
}

.site-header .container::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 111, 207, 0.85), rgba(255, 180, 138, 0.7), transparent);
}

.site-header .tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header .brand h1 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.brand h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
}

.tagline {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-nav a {
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover {
  border-color: rgba(255, 111, 207, 0.6);
  color: var(--accent-pink);
  box-shadow: 0 0 18px rgba(255, 111, 207, 0.2);
}

.site-nav a.is-active {
  border-color: rgba(255, 111, 207, 0.45);
  color: var(--accent-pink);
}

.hero {
  position: relative;
  margin: 40px 6vw 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(7, 7, 11, 0.55), rgba(7, 7, 11, 0.1) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero.compact {
  min-height: 260px;
}

.hero-full {
  margin: 0;
  min-height: 100vh;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 7, 11, 0.6), rgba(7, 7, 11, 0.2)),
    url("assets/IMG_0688.jpeg") center / cover no-repeat;
  filter: saturate(0.9) contrast(1.05);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 64px clamp(24px, 6vw, 80px);
  max-width: 680px;
  margin: 40px 40px 40px auto;
  background: transparent;
  backdrop-filter: none;
  border-radius: 24px;
}

.hero-overlay h1 {
  text-shadow: 0 12px 30px rgba(7, 7, 11, 0.8);
  color: var(--ink);
}

.hero-overlay h2 {
  text-shadow: 0 10px 26px rgba(7, 7, 11, 0.75);
  color: var(--neutral);
}

.hero-overlay p {
  text-shadow: 0 6px 18px rgba(7, 7, 11, 0.75);
}

.hero-brand {
  margin-bottom: 18px;
}

.hero-brand h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 8px;
}

.hero-brand .tagline {
  max-width: 420px;
  color: var(--accent-peach);
  font-weight: 500;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  color: var(--accent-pink);
  text-shadow: 0 4px 16px rgba(7, 7, 11, 0.7);
}

.hero-overlay h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin: 16px 0;
}

.about-inline {
  color: var(--neutral);
  max-width: 560px;
}

.about-bright {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-peach));
  color: #0c0c10;
  border: none;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(255, 111, 207, 0.25);
}

.button.ghost {
  background: linear-gradient(120deg, rgba(255, 111, 207, 0.18), rgba(255, 180, 138, 0.2));
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 18px rgba(255, 111, 207, 0.2);
}

.content {
  margin: 0 auto;
  padding: 40px 0 0;
}

.content-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 2fr) minmax(220px, 1fr);
  align-items: start;
}

.content-grid.two-rail {
  grid-template-columns: minmax(360px, 1fr);
}

.rail {
  display: grid;
  gap: 18px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 16px;
}

.panel h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent-peach);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.main {
  background: rgba(7, 7, 11, 0.6);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}

.section-header h2 {
  font-size: 1.6rem;
}

.muted {
  color: var(--muted);
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 18px;
}

.entry {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
}

.year {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
  color: var(--accent-violet);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry p {
  margin-bottom: 8px;
}

.work-title {
  color: var(--ink);
}

.work-publisher {
  color: var(--accent-peach);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.tag.online {
  border-color: rgba(95, 255, 225, 0.5);
  color: var(--accent-cyan);
}

.tag.print {
  border-color: rgba(214, 255, 107, 0.45);
  color: var(--accent-lime);
}

.tag.archived {
  border-color: rgba(255, 111, 207, 0.45);
  color: var(--accent-pink);
}

.tag.defunct {
  position: relative;
  color: var(--muted);
  border-color: rgba(229, 227, 239, 0.2);
}

.tag.defunct::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 1px;
  background: currentColor;
  transform: rotate(-12deg);
}

.key {
  list-style: none;
  display: grid;
  gap: 10px;
}

.key li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
}

.key .tag {
  margin-left: 0;
}

.credentials {
  padding: 48px 6vw 0;
}

.tabs {
  margin-top: 16px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tab-button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  cursor: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.tab-button[aria-selected="true"] {
  border-color: rgba(255, 111, 207, 0.5);
  box-shadow: 0 0 18px rgba(255, 111, 207, 0.2);
  color: var(--accent-pink);
}

.tab-button-accent {
  border: 1px dashed rgba(255, 180, 138, 0.75);
  color: var(--ink);
}

.tab-button-offset {
  margin-left: 14px;
  position: relative;
}

.tab-button-offset::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: rgba(255, 180, 138, 0.6);
  transform: translateY(-50%);
}

.tab-button-accent[aria-selected="true"] {
  background: rgba(255, 180, 138, 0.12);
  border-style: solid;
}

.tab-panel {
  border-radius: 18px;
}

.offset-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 16px;
}

.offset-panel .muted {
  margin-bottom: 16px;
}

.offset-card {
  background: rgba(15, 17, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.offset-card h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
}

.offset-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--accent-peach);
}

.offset-copy {
  margin-top: 8px;
}

.offset-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.offset-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offset-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card h2 {
  margin: 8px 0 12px;
  font-size: 1.4rem;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  color: var(--accent-pink);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink);
  text-decoration: none;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.contact-links a:hover {
  border-color: rgba(255, 111, 207, 0.5);
  color: var(--accent-pink);
  box-shadow: 0 0 18px rgba(255, 111, 207, 0.2);
}

.education-list {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.education-item {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.education-item:first-child {
  border-top: none;
  padding-top: 0;
}

.education-item h4 {
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.edu-status {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-lime);
  border: 1px solid rgba(214, 255, 107, 0.4);
  padding: 2px 6px;
  border-radius: 999px;
}

.edu-meta {
  display: inline-block;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin: 40px auto 0;
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .main {
    order: 1;
  }
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-overlay {
    padding: 36px 24px;
  }

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