/* Adapted from magicuidesign/portfolio (MIT). See docs/licenses/magicui-portfolio-MIT.txt. */
@import url("/sua/fonts/geist.css");
body.midnight:not(.page-AI):not(.page-admin) {
  --sans:
    "Geist", "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper: #171717;
  --soft: #737373;
  --muted: #737373;
  --rose: #171717;
  --rose-deep: #171717;
  --accent: #171717;
  --rule: #e5e5e5;
  --ink: #171717;
  --ink-soft: #737373;
  background: #fff;
  color: #171717;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
body.minimal-portfolio::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 110px;
  background-image: radial-gradient(#a3a3a34d 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: linear-gradient(#000, transparent);
  pointer-events: none;
  z-index: 0;
}
.midnight .site-header {
  width: min(1000px, calc(100% - 32px));
  height: 58px;
  margin: 16px auto 0;
  padding: 0 15px;
  top: 12px;
  gap: 18px;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #ffffffed;
  box-shadow: 0 2px 8px #00000008;
  z-index: 100;
  backdrop-filter: blur(16px);
}
.midnight .site-brand {
  min-width: 85px;
  gap: 0;
}
.midnight .sua-brand-mark {
  width: 25px;
  height: 25px;
}
.midnight .sua-wordmark,
.midnight .sua-wordmark img {
  width: 55px;
  height: 29px;
}
.midnight .site-nav {
  gap: 16px;
  font-size: 12px;
  color: #737373;
}
.midnight .site-nav > a[aria-current="page"] {
  color: #171717;
  font-weight: 600;
}
.midnight .site-nav > a[aria-current="page"]::after {
  background: #171717;
}
.midnight .nav-more > summary {
  color: #737373;
}
.midnight .nav-oj {
  background: #f5f5f5;
  color: #171717;
  border-color: #e5e5e5;
}
.midnight .motion-toggle {
  color: #737373;
  border-color: #e5e5e5;
  font-size: 9px;
}
.midnight .motion-toggle .motion-symbol {
  background: #171717;
  border-color: #171717;
}
.midnight .motion-state {
  color: #737373;
}
.midnight .nav-dropdown a,
.midnight .nav-dropdown .back-to-orbit {
  color: #404040;
}
.midnight .nav-dropdown a:hover {
  color: #171717;
  background: #f5f5f5;
}
.minimal-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: min(624px, calc(100% - 48px));
  margin: 64px auto 0;
  min-height: 100dvh;
  padding-bottom: 24px;
}
.mini-hero {
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 28px;
  align-items: start;
}
.mini-hero h1 {
  font: 600 48px/1.05 var(--sans);
  letter-spacing: -0.065em;
  color: #0a0a0a;
  white-space: nowrap;
}
.template-wave {
  font-size: 34px;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.mini-lead {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.035em;
  color: #737373;
  margin-top: 12px;
  word-break: keep-all;
}
.mini-avatar {
  width: 128px;
  height: 128px;
  border: 1px solid #e5e5e5;
  box-shadow:
    0 4px 10px #00000012,
    0 0 0 4px #f5f5f5;
  align-self: start;
  margin: 0;
}
.mini-section {
  margin: 0;
  scroll-margin-top: 100px;
}
.mini-section > h2 {
  font: 700 20px/1.4 var(--sans);
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 16px;
}
.mini-about {
  font-size: 15px;
  line-height: 1.75;
  color: #737373;
  letter-spacing: -0.015em;
}
.mini-inline-link {
  font-size: 13px;
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 4px;
  border: 0;
  margin-top: 0;
  padding-top: 8px;
}
.mini-resume {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-resume details {
  border: 0;
}
.mini-resume summary {
  padding: 5px 0;
  gap: 12px;
}
.mini-resume summary:hover {
  background: #fafafa;
}
.mini-resume-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 0 2px #f5f5f5;
  background: #fafafa;
  color: #404040;
  font-size: 11px;
}
.mini-resume-name strong {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #171717;
}
.mini-resume-name small {
  font-size: 13px;
  line-height: 1.4;
  color: #737373;
}
.mini-resume-meta {
  font-size: 10px;
  letter-spacing: 0;
  color: #737373;
}
.mini-resume-meta i {
  color: #a3a3a3;
}
.mini-resume-detail {
  padding: 8px 0 10px 52px;
  font-size: 13px;
  color: #737373;
}
.mini-resume-detail a {
  font-size: 12px;
  color: #171717;
}
.mini-skill-tags {
  gap: 8px;
}
.mini-skill-tags > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 12px;
  padding: 4px 12px;
  background: #fff;
  color: #171717;
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 0 2px #e5e5e533;
}
.mini-skill-tags > span::before {
  content: "◇";
  font-size: 13px;
  color: #737373;
}
.mini-skill-tags > span:nth-child(1)::before {
  content: "Py";
  font-size: 10px;
  font-weight: 700;
}
.mini-skill-tags > span:nth-child(2)::before {
  content: "JS";
  font-size: 10px;
  font-weight: 700;
}
.mini-skill-tags > span:nth-child(3)::before {
  content: "</>";
  font-size: 10px;
}
.mini-skill-tags > span:nth-child(4)::before {
  content: "#";
  font-weight: 700;
}
.mini-project-section {
  margin: 0;
}
.mini-section-intro {
  margin: 0 auto 32px;
  max-width: none;
  text-align: center;
}
.mini-section-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 4px 16px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 500;
  background: #171717;
  color: #fff;
  border: 1px solid #171717;
}
.mini-section-intro {
  overflow: hidden;
}
.mini-section-intro .mini-section-badge::before,
.mini-section-intro .mini-section-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: 310px;
  background: linear-gradient(90deg, transparent, #e5e5e5);
  pointer-events: none;
}
.mini-section-intro .mini-section-badge::before {
  right: 100%;
  margin-right: 16px;
}
.mini-section-intro .mini-section-badge::after {
  left: 100%;
  margin-left: 16px;
  transform: rotate(180deg);
}
.mini-section-intro h2 {
  font: 700 36px/1.15 var(--sans);
  letter-spacing: -0.055em;
  margin: 18px 0 12px;
  color: #0a0a0a;
}
.mini-section-intro > p {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  color: #737373;
  word-break: keep-all;
}
.mini-project-grid {
  gap: 12px;
  align-items: stretch;
}
.mini-project {
  position: relative;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transition: box-shadow 0.2s;
}
.mini-project:hover {
  border-color: #e5e5e5;
  box-shadow: 0 0 0 2px #f5f5f5;
}
.mini-project-image {
  height: 192px;
  aspect-ratio: auto;
  border: 0;
  flex-shrink: 0;
}
.mini-project-image img {
  object-fit: contain;
}
.mini-project-image.orbit-image {
  background: #f5f5f5;
}
.mini-project-image.orbit-image img {
  width: 36%;
  height: 70%;
}
.mini-project-body {
  padding: 24px;
  gap: 12px;
}
.mini-project-body h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.025em;
}
.mini-project-body h3 a {
  color: #171717;
}
.mini-project-body h3 span {
  color: #737373;
  font-size: 16px;
}
.mini-project-kind {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  color: #737373;
  margin-top: -9px;
  margin-bottom: 0;
}
.mini-project-body > p:not(.mini-project-kind) {
  font-size: 12px;
  line-height: 1.65;
  color: #737373;
  min-height: 0;
  flex: 1;
}
.mini-tags {
  gap: 4px;
  margin-top: 0;
}
.mini-tags span {
  font-size: 11px;
  line-height: 1.4;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #171717;
  border-radius: 6px;
  font-weight: 500;
}
.mini-project-actions {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  gap: 6px;
  margin: 0;
  max-width: calc(100% - 16px);
  flex-wrap: wrap;
  z-index: 2;
}
.mini-project-actions a,
.mini-project-actions a + a {
  font-size: 10px;
  gap: 5px;
  line-height: 1.5;
  background: #171717;
  color: #fff;
  border-color: #171717;
  border-radius: 6px;
  padding: 4px 7px;
}
.mini-project-actions a > span {
  font-size: 11px;
}
.mini-all-projects {
  font-size: 13px;
  color: #171717;
  background: #fff;
  border-color: #e5e5e5;
  margin-top: 16px;
}
.mini-all-projects:hover {
  background: #fafafa;
}
.template-timeline {
  list-style: none;
  margin: 40px 0 0 20px;
  padding: 0;
  border-left: 1px solid #e5e5e5;
}
.template-timeline > li {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 0 0 40px 32px;
}
.template-timeline > li:last-child {
  padding-bottom: 0;
}
.timeline-icon {
  position: absolute;
  left: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #404040;
  box-shadow: 0 0 0 6px #fff;
}
.template-timeline time {
  font-size: 12px;
  color: #737373;
}
.template-timeline h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-top: 3px;
}
.template-timeline p {
  font-size: 13px;
  line-height: 1.7;
  color: #737373;
  margin-top: 5px;
}
.template-timeline p + p {
  margin-top: 9px;
  font-size: 12px;
}
.template-timeline a {
  display: inline-flex;
  gap: 7px;
  font-size: 11px;
  line-height: 1.5;
  border: 1px solid #e5e5e5;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 12px;
}
.mini-contact {
  margin: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 24px 0 32px;
}
.mini-contact h2 {
  font: 700 36px/1.2 var(--sans);
  letter-spacing: -0.055em;
  color: #0a0a0a;
  margin: 18px 0 12px;
}
.mini-contact p {
  font-size: 17px;
  line-height: 1.6;
  color: #737373;
}
.mini-contact > a {
  font-size: 16px;
  color: #2563eb;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
  margin-top: 10px;
}
.midnight .mini-footer {
  width: min(624px, calc(100% - 48px));
  margin: 24px auto 0;
  border-color: #e5e5e5;
}
.mini-footer-top > a:first-child,
.mini-footer-top > a:first-child span {
  color: #171717;
}
.mini-footer-top > a:last-child,
.mini-footer-bottom,
.mini-footer-bottom nav {
  color: #737373;
}
.midnight.page-project #main {
  width: min(760px, calc(100% - 48px));
}
.midnight .page-intro h1 {
  font-weight: 600;
  color: #171717;
}
.midnight .page-description {
  color: #737373;
  font-size: 15px;
}
.midnight .case-copy h2 {
  color: #171717;
}
.midnight .section-wrap {
  width: min(760px, calc(100% - 48px));
}
.midnight .primary-link,
.midnight .filter-group button.is-active,
.midnight .board-btn-primary,
.midnight .blog-tab.active {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.midnight .kicker,
.midnight .page-meta,
.midnight .case-copy > p:not(.kicker),
.midnight .case-features,
.midnight .board-item-excerpt {
  color: #737373;
}
.midnight .page-intro h1 em,
.midnight .section-heading h2 em {
  color: #171717;
}
.midnight .journal-aside {
  background: #fafafa;
}
.midnight .tag-list > span {
  background: #fff;
  color: #404040;
}
.midnight .journal-layout {
  gap: 28px;
}
@media (max-width: 1100px) {
  .midnight .site-header {
    padding-inline: 14px;
    gap: 14px;
  }
  .midnight .site-nav {
    gap: 12px;
  }
}
@media (max-width: 1000px) {
  .midnight .site-header {
    width: calc(100% - 32px);
    height: 56px;
  }
  .midnight .site-brand {
    margin-right: auto;
  }
  .midnight .site-nav {
    top: 64px;
    left: 0;
    right: 0;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fffffff5;
    box-shadow: 0 4px 20px #00000008;
    padding: 18px;
    backdrop-filter: blur(20px);
  }
  .midnight .site-nav a,
  .midnight .nav-more > summary {
    font-size: 14px;
    color: #404040;
  }
  .midnight .nav-dropdown {
    background: transparent;
  }
  .midnight .motion-toggle {
    font-size: 9px;
  }
  .midnight .menu-toggle {
    color: #404040;
    font-size: 11px;
  }
}
@media (max-width: 767px) {
  .minimal-main {
    margin-top: 48px;
    gap: 48px;
  }
  .mini-hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }
  .mini-avatar {
    width: 96px;
    height: 96px;
    margin: 0;
  }
  .mini-hero h1 {
    font-size: 36px;
    white-space: normal;
  }
  .template-wave {
    font-size: 27px;
    margin-left: 8px;
  }
  .mini-lead {
    font-size: 18px;
    line-height: 1.5;
    max-width: 480px;
    margin-top: 12px;
  }
  .mini-section > h2 {
    font-size: 20px;
  }
  .mini-about {
    font-size: 14px;
    line-height: 1.8;
  }
  .mini-resume summary {
    gap: 12px;
  }
  .mini-resume-icon {
    width: 36px;
    height: 36px;
  }
  .mini-resume-name strong {
    font-size: 13px;
  }
  .mini-resume-name small {
    font-size: 12px;
  }
  .mini-resume-meta {
    font-size: 9px;
    gap: 8px;
  }
  .mini-resume-detail {
    padding-left: 48px;
  }
  .mini-section-intro h2 {
    font-size: 32px;
  }
  .mini-section-intro > p {
    font-size: 16px;
  }
  .mini-project-body {
    padding: 20px;
  }
  .mini-project-body h3 {
    font-size: 16px;
  }
  .mini-project-body > p:not(.mini-project-kind) {
    font-size: 12px;
    min-height: 0;
  }
  .mini-project-kind {
    font-size: 12px;
  }
  .mini-tags span {
    font-size: 11px;
  }
  .mini-project-actions a {
    font-size: 10px;
  }
  .mini-contact h2 {
    font-size: 32px;
  }
  .mini-contact p {
    font-size: 16px;
  }
  .mini-contact > a {
    font-size: 15px;
  }
  .midnight .mini-footer {
    margin-top: 0;
  }
  .midnight .section-wrap,
  .midnight.page-project #main {
    width: calc(100% - 48px);
  }
}
@media (max-width: 639px) {
  .mini-project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .mini-project-image {
    height: 192px;
  }
  .mini-project-body {
    padding: 24px;
  }
  .mini-project-body h3 {
    font-size: 16px;
  }
  .mini-project-body > p:not(.mini-project-kind) {
    font-size: 12px;
  }
  .mini-resume-meta {
    font-size: 8px;
  }
  .mini-skill-tags > span {
    font-size: 13px;
  }
  .mini-contact {
    padding-top: 8px;
  }
  .mini-footer-top > a:last-child {
    font-size: 10px;
  }
  .mini-footer-bottom {
    font-size: 8px;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}
