body {
  -moz-osx-font-smoothing: grayscale;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    Fira Sans,
    Droid Sans,
    Helvetica Neue,
    sans-serif;
  margin: 0;
}
code {
  font-family:
    source-code-pro,
    Menlo,
    Monaco,
    Consolas,
    Courier New,
    monospace;
}
:root {
  --bg: #fff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --border: #d2d2d7;
  --surface: #f5f5f7;
  --radius: 12px;
  --max-width: 1200px;
  --page-px: 48px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  -webkit-font-smoothing: antialiased;
  background: #fff;
  background: var(--bg);
  color: #1d1d1f;
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
}
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: #ffffffe6;
  border-bottom: 1px solid #d2d2d7;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.page-header-inner {
  align-items: center;
  display: flex;
  height: 56px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  max-width: var(--max-width);
  padding: 0 48px;
  padding: 0 var(--page-px);
}
.brand {
  color: #1d1d1f;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.brand:hover {
  text-decoration: none;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s ease;
}
.header-nav a.active,
.header-nav a:hover {
  color: #1d1d1f;
  color: var(--text);
  text-decoration: none;
}
.page-main {
  flex: 1 1;
  margin: 0 auto;
  max-width: 1200px;
  max-width: var(--max-width);
  padding: 0 48px;
  padding: 0 var(--page-px);
  width: 100%;
}
.page-footer {
  border-top: 1px solid #d2d2d7;
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 40px 48px;
  padding: 40px var(--page-px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
  max-width: var(--max-width);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
}
.footer-links a:hover {
  color: #1d1d1f;
  color: var(--text);
}
.footer-copy {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
}
.linktree {
  align-items: center;
  background: #fff;
  background: var(--bg);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
}
.linktree-inner {
  max-width: 520px;
  width: 100%;
}
.linktree-profile {
  margin-bottom: 40px;
  text-align: center;
}
.linktree-avatar {
  align-items: center;
  background: #1d1d1f;
  background: var(--text);
  border-radius: 50%;
  color: #fff;
  color: var(--bg);
  display: flex;
  font-size: 28px;
  font-weight: 700;
  height: 88px;
  justify-content: center;
  letter-spacing: 1px;
  margin: 0 auto 20px;
  width: 88px;
}
.linktree-name {
  color: #1d1d1f;
  color: var(--text);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.linktree-tagline {
  font-size: 16px;
  margin-bottom: 4px;
}
.linktree-location,
.linktree-tagline {
  color: #6e6e73;
  color: var(--text-secondary);
}
.linktree-location {
  font-size: 13px;
}
.linktree-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.linktree-link {
  align-items: center;
  background: #fff;
  background: var(--bg);
  border: 1px solid #d2d2d7;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 18px;
  padding: 16px 22px;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.linktree-link:hover {
  background: #f5f5f7;
  background: var(--surface);
  border-color: #6e6e73;
  border-color: var(--text-secondary);
  box-shadow: 0 4px 12px #0000000f;
  text-decoration: none;
  transform: translateY(-2px);
}
.linktree-link:active {
  transform: translateY(0);
}
.linktree-link-text {
  color: #1d1d1f;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.linktree-link-sub {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
}
.linktree-link--coffee {
  background: #1d1d1f;
  background: var(--text);
  border-color: #1d1d1f;
  border-color: var(--text);
}
.linktree-link--coffee:hover {
  background: #333;
  border-color: #333;
}
.linktree-link--coffee .linktree-link-text {
  color: #fff;
  color: var(--bg);
}
.linktree-link--coffee .linktree-link-sub {
  color: #ffffffb3;
}
.linktree-divider {
  background: #d2d2d7;
  background: var(--border);
  height: 1px;
  margin: 8px 0;
}
.linktree-footer {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 40px;
  text-align: center;
}
.link-icon-view {
  flex-shrink: 0;
  height: 80px;
  width: 80px;
}
@media (max-width: 420px) {
  .link-icon-view {
    height: 64px;
    width: 64px;
  }
}
.linktree-link-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.project-grid {
  grid-gap: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  padding: 64px 0 96px;
}
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  :root {
    --page-px: 24px;
  }
}
.project-tile {
  cursor: pointer;
  display: block;
}
.project-tile:hover {
  text-decoration: none;
}
.project-tile:hover .tile-img img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.project-tile:hover .tile-name {
  text-decoration: underline;
  text-decoration-color: #1d1d1f;
  text-decoration-color: var(--text);
}
.tile-img {
  aspect-ratio: 4/3;
  background: #f5f5f7;
  background: var(--surface);
  border-radius: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  width: 100%;
}
.tile-img img {
  filter: grayscale(100%);
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
  width: 100%;
}
.tile-name {
  color: #1d1d1f;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.tile-desc {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}
.work-hero-figure {
  margin: 48px 0 56px;
}
.work-hero {
  aspect-ratio: 16/7;
  border-radius: 12px;
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}
.work-img-caption {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}
.work-gallery-figure {
  display: flex;
  flex-direction: column;
}
.work-header {
  margin-bottom: 48px;
  max-width: 680px;
}
.work-title {
  color: #1d1d1f;
  color: var(--text);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.work-tagline {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.5;
}
.work-story {
  color: #1d1d1f;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 56px;
  max-width: 680px;
}
.work-story p + p {
  margin-top: 16px;
}
.work-gallery {
  grid-gap: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 56px;
}
@media (max-width: 680px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }
}
.work-gallery img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}
.work-videos {
  margin-bottom: 56px;
}
.work-videos-title {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.work-video-grid {
  grid-gap: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 680px) {
  .work-video-grid {
    grid-template-columns: 1fr;
  }
}
.video-card {
  display: flex;
  flex-direction: column;
}
.video-card-inner {
  aspect-ratio: 4/3;
  background: #111;
  border-radius: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.video-card-player {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}
.video-card-inner:hover .video-card-player {
  transform: scale(1.03);
}
.video-card-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  transition: opacity 0.25s ease;
}
.video-card-overlay--hidden {
  opacity: 0;
}
.video-play-icon {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  height: 48px;
  width: 48px;
}
.work-closing {
  border-bottom: 1px solid #d2d2d7;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid #d2d2d7;
  border-top: 1px solid var(--border);
  margin-bottom: 40px;
  max-width: 600px;
  padding: 32px 0;
}
.work-closing p {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
}
.work-contact {
  margin-bottom: 48px;
}
.work-contact p {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
}
.work-contact a {
  color: #1d1d1f;
  color: var(--text);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.back-link,
.work-contact a {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}
.back-link {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 64px;
  transition: color 0.15s ease;
}
.back-link:hover {
  color: #1d1d1f;
  color: var(--text);
  text-decoration: none;
}
.admin-page {
  background: #fff;
  background: var(--bg);
  min-height: 100vh;
  padding: 48px;
  padding: 48px var(--page-px);
}
.admin-inner {
  margin: 0 auto;
  max-width: 640px;
}
.admin-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}
.admin-token-section {
  background: #f5f5f7;
  background: var(--surface);
  border-radius: 12px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  padding: 20px;
}
.admin-token-hint {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.admin-token-hint a {
  color: #1d1d1f;
  color: var(--text);
  text-decoration: underline;
}
.admin-token-row {
  display: flex;
  gap: 8px;
}
.admin-token-input {
  background: #fff;
  background: var(--bg);
  border: 1px solid #d2d2d7;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #1d1d1f;
  color: var(--text);
  flex: 1 1;
  font-size: 14px;
  padding: 10px 14px;
}
.admin-token-save {
  background: #1d1d1f;
  background: var(--text);
  border: none;
  border-radius: 8px;
  color: #fff;
  color: var(--bg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
}
.admin-token-save:disabled {
  cursor: default;
  opacity: 0.4;
}
.admin-token-saved {
  align-items: center;
  color: #1d1d1f;
  color: var(--text);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
}
.admin-token-clear {
  background: none;
  border: 1px solid #d2d2d7;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #6e6e73;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 12px;
}
.admin-project-section {
  margin-bottom: 40px;
}
.admin-project-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.admin-slots {
  grid-gap: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) {
  .admin-slots {
    grid-template-columns: 1fr;
  }
}
.upload-slot {
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  border: 1.5px dashed #d2d2d7;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  gap: 14px;
  padding: 14px;
  transition:
    border-color 0.2s,
    background 0.2s;
  -webkit-user-select: none;
  user-select: none;
}
.upload-slot:active {
  background: #f5f5f7;
  background: var(--surface);
}
.upload-slot--done {
  background: #f0fff4;
  border-color: #34c759;
  border-style: solid;
}
.upload-slot--error {
  background: #fff5f5;
  border-color: #ff3b30;
}
.upload-slot--uploading {
  cursor: default;
  opacity: 0.7;
}
.upload-slot-preview {
  object-fit: cover;
}
.upload-slot-icon,
.upload-slot-preview {
  border-radius: 8px;
  flex-shrink: 0;
  height: 48px;
  width: 48px;
}
.upload-slot-icon {
  align-items: center;
  background: #f5f5f7;
  background: var(--surface);
  display: flex;
  font-size: 22px;
  justify-content: center;
}
.upload-slot--done .upload-slot-icon {
  background: #34c759;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.upload-slot--error .upload-slot-icon {
  background: #ff3b30;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.upload-slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.upload-slot-label {
  color: #1d1d1f;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.upload-slot-filename,
.upload-slot-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-slot-filename {
  color: #6e6e73;
  color: var(--text-secondary);
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
.upload-spinner {
  animation: spin 0.7s linear infinite;
  border: 2px solid #d2d2d7;
  border-top-color: #1d1d1f;
  border: 2px solid var(--border);
  border-radius: 50%;
  border-top-color: var(--text);
  display: block;
  height: 20px;
  width: 20px;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.admin-locked-note {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}
.about-layout {
  grid-gap: 80px;
  align-items: start;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 340px;
  padding: 64px 0 96px;
}
@media (max-width: 860px) {
  .about-layout {
    gap: 48px;
    grid-template-columns: 1fr;
  }
}
.about-bio {
  color: #1d1d1f;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}
.about-bio p + p {
  margin-top: 16px;
}
.about-bio h2 {
  color: #1d1d1f;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 40px 0 12px;
}
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 80px;
}
.about-card {
  border: 1px solid #d2d2d7;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-radius: var(--radius);
  padding: 24px;
}
.about-card h3 {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.about-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.about-card li {
  font-size: 14px;
}
.about-card a,
.about-card li {
  color: #1d1d1f;
  color: var(--text);
}
.about-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-card a:hover {
  text-decoration: none;
}
@media (max-width: 860px) {
  .about-sidebar {
    position: static;
  }
}
.enchantress-page {
  max-width: 680px;
  padding: 64px 0 96px;
}
.enchantress-page h1 {
  color: #1d1d1f;
  color: var(--text);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.enchantress-subtitle {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 40px;
}
.enchantress-tagline {
  color: #6e6e73;
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
}
.enchantress-hero-text {
  color: #1d1d1f;
  color: var(--text);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.enchantress-page section {
  margin-bottom: 40px;
}
.enchantress-page h2 {
  font-size: 22px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.enchantress-page h2,
.enchantress-page h3 {
  color: #1d1d1f;
  color: var(--text);
  font-weight: 600;
}
.enchantress-page h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}
.enchantress-page p {
  color: #1d1d1f;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.enchantress-page a {
  color: #1d1d1f;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.enchantress-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.enchantress-features li {
  color: #1d1d1f;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.enchantress-features li:before {
  color: #6e6e73;
  color: var(--text-secondary);
  content: "\2022";
  left: 0;
  position: absolute;
}
