:root {
  color-scheme: light;
  --bg: #f7f5ff;
  --surface: rgba(255, 255, 255, .62);
  --surface-strong: rgba(255, 255, 255, .88);
  --line: rgba(111, 76, 178, .16);
  --text: #211a31;
  --muted: #655d73;
  --purple: #7650c9;
  --purple-light: #7650c9;
  --pink: #ad62c5;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 75% 4%, rgba(116, 56, 170, .17), transparent 34rem),
    radial-gradient(ellipse at 5% 48%, rgba(74, 40, 120, .12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(9, 7, 17, .72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(191, 151, 255, .48); border-radius: 12px; background: linear-gradient(145deg, rgba(177, 115, 255, .22), rgba(107, 57, 177, .08)); color: var(--purple-light); font-size: 12px; letter-spacing: -.05em; }
.brand-dot { color: var(--purple); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 27px); }
.main-nav a { position: relative; padding: 8px 0; color: #b7aec6; font-size: 12px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; border-radius: 2px; background: var(--purple); content: ""; }
.menu-toggle { display: none; }
.section-wrap { width: min(1120px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.hero { position: relative; display: grid; min-height: min(760px, calc(100svh - 78px)); grid-template-columns: 1.06fr .94fr; align-items: center; padding-top: 45px; padding-bottom: 100px; }
.hero-copy { position: relative; z-index: 2; padding: 30px 0; animation: rise-in .7s both; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--purple-light); font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #b78cff; box-shadow: 0 0 15px #ae78ff; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 690px; margin: 25px 0 20px; font-family: var(--font-display); font-size: clamp(48px, 6vw, 76px); font-weight: 600; letter-spacing: -.07em; line-height: 1.04; }
.gradient-text { background: linear-gradient(100deg, #c8a4ff 8%, #a478ff 55%, #ef9de5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 500px; margin-bottom: 27px; color: #b7aec6; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 15px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: rgba(218, 196, 255, .35); background: linear-gradient(115deg, #8b5fe0, #6f46b7); box-shadow: 0 8px 28px rgba(113, 66, 185, .2), inset 0 1px rgba(255,255,255,.2); color: #fff; }
.button-primary:hover { box-shadow: 0 12px 35px rgba(136, 81, 221, .35); }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.025); color: #ded5ed; }
.button-quiet:hover { background: rgba(255,255,255,.075); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 23px); margin-top: 53px; }
.hero-stats div { display: grid; gap: 0; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(21px, 2.5vw, 28px); letter-spacing: -.05em; }
.hero-stats strong span { color: var(--purple-light); }
.hero-stats small { color: #92899f; font-size: 9px; }
.hero-art { position: relative; display: grid; min-height: 420px; place-items: center; animation: fade-in 1.1s both; }
.art-glow { position: absolute; width: min(34vw, 405px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(157, 90, 255, .24), rgba(94, 49, 146, .08) 47%, transparent 72%); filter: blur(10px); }
.orbit { position: absolute; width: min(32vw, 380px); aspect-ratio: 1; border: 1px solid rgba(193, 149, 255, .18); border-radius: 50%; transform: rotate(-24deg) scaleY(.55); }
.orbit-one { width: min(37vw, 440px); animation: orbit 25s linear infinite; }
.orbit-two { width: min(30vw, 360px); transform: rotate(38deg) scaleY(.62); border-color: rgba(211, 165, 255, .23); }
.orbit-three { width: min(25vw, 295px); transform: rotate(-62deg) scaleY(.78); border-color: rgba(226, 151, 227, .15); }
.hero-monogram { position: relative; display: grid; width: 205px; height: 205px; place-content: center; border: 1px solid rgba(220, 199, 255, .3); border-radius: 52px; background: linear-gradient(145deg, rgba(68, 51, 91, .56), rgba(23, 18, 35, .76)); box-shadow: 0 30px 100px rgba(0,0,0,.4), inset 0 1px 1px rgba(255,255,255,.18), inset 0 -25px 55px rgba(135, 85, 204, .13); font-family: var(--font-display); font-size: 74px; font-weight: 600; letter-spacing: -.1em; text-shadow: 0 0 42px rgba(192, 155, 255, .4); backdrop-filter: blur(18px); transform: rotate(-7deg); }
.hero-monogram span { margin-top: 11px; color: #c3b5d7; font-family: var(--font-body); font-size: 7px; letter-spacing: .18em; text-align: center; }
.float-label { position: absolute; padding: 8px 11px; border: 1px solid rgba(217, 196, 255, .2); border-radius: 7px; background: rgba(28, 21, 41, .65); color: #ddd0ef; font-size: 8px; letter-spacing: .14em; backdrop-filter: blur(15px); }
.label-top { top: 21%; right: 2%; transform: rotate(4deg); }
.label-bottom { bottom: 20%; left: 5%; transform: rotate(-5deg); }
.scroll-hint { position: absolute; bottom: 28px; left: 0; display: flex; align-items: center; gap: 11px; color: #716880; font-size: 9px; letter-spacing: .15em; }
.scroll-hint span { width: 24px; height: 1px; background: var(--purple); }
.home-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 30px; padding-top: 125px; padding-bottom: 125px; border-top: 1px solid rgba(255,255,255,.07); }
.section-kicker { color: var(--purple-light); font-size: 10px; letter-spacing: .16em; }
.home-intro h2, .section-title-row h2, .section-sub h2 { margin: 0 0 19px; font-family: var(--font-display); font-size: clamp(29px, 4vw, 43px); letter-spacing: -.055em; line-height: 1.16; }
.home-intro p { max-width: 600px; margin: 0 0 19px; color: var(--muted); }
.muted-text { color: #8d849b; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: #d6bdff; font-size: 12px; transition: gap .2s ease; }
.text-link:hover { gap: 16px; }
.home-feature { padding-bottom: 110px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-title-row h2 { margin-top: 9px; margin-bottom: 0; font-size: clamp(27px, 3.5vw, 38px); }
.home-skill-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skill-preview-card { display: block; color: inherit; text-decoration: none; }
.skill-preview-card:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }
.home-project-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-project-card { display: block; min-width: 0; min-height: 225px; padding: 21px; border-radius: 15px; color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.home-project-card:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }
.project-preview-topline { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.project-preview-topline .project-number { margin: 0; font-size: 17px; }
.project-preview-topline .card-date { flex: 0 0 auto; padding-top: 4px; font-size: 9px; text-align: right; }
.home-project-card h3 { margin-bottom: 4px; font-family: var(--font-display); font-size: 17px; letter-spacing: -.035em; line-height: 1.35; }
.home-project-card .project-client { margin-bottom: 10px; color: #c6b3de; font-size: 10px; }
.project-preview-summary { display: -webkit-box; min-height: 54px; overflow: hidden; margin-bottom: 14px; color: var(--muted); font-size: 11px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-project-card .tag-list { gap: 5px; }
.home-project-card .tag { padding: 4px 7px; font-size: 9px; }
.project-card-link { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; color: #d6bdff; font-size: 10px; }
.home-projects { padding-bottom: 90px; }
.glass-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(36, 28, 52, .75), rgba(18, 15, 27, .7)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 55px rgba(0,0,0,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.preview-card { min-height: 170px; padding: 23px; border-radius: 15px; transition: transform .25s ease, border-color .25s ease; }
.preview-card:hover, .home-project-card:hover, .skill-card:hover, .project-card:hover, .certificate-card:hover { transform: translateY(-4px); border-color: rgba(191, 151, 255, .32); }
.card-index { display: block; margin-bottom: 24px; color: #bca4e8; font-size: 10px; letter-spacing: .07em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid rgba(204, 180, 246, .14); border-radius: 6px; background: rgba(207, 176, 255, .055); color: #c9bfd7; font-size: 10px; line-height: 1.5; }
.home-cta { padding-bottom: 115px; }
.cta-card { position: relative; overflow: hidden; padding: clamp(32px, 7vw, 76px); border-radius: 20px; }
.cta-card h2 { position: relative; z-index: 1; margin: 17px 0 24px; font-family: var(--font-display); font-size: clamp(34px, 5vw, 57px); letter-spacing: -.06em; line-height: 1.15; }
.cta-card .button { position: relative; z-index: 1; }
.cta-orb { position: absolute; top: -160px; right: -60px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(159, 93, 231, .26), transparent 67%); filter: blur(15px); }
.site-footer { display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 20px; padding: 24px clamp(20px, 5vw, 76px); border-top: 1px solid rgba(255,255,255,.07); color: #837b90; font-size: 10px; }
.site-footer p { margin: 0; }
.footer-brand { color: #e7e0f0; font-size: 13px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.inner-page { min-height: calc(100vh - 182px); padding-top: 90px; padding-bottom: 105px; }
.page-heading { max-width: 760px; margin-bottom: 50px; }
.page-heading h1 { margin: 15px 0 13px; font-family: var(--font-display); font-size: clamp(42px, 6vw, 65px); letter-spacing: -.065em; line-height: 1.08; }
.page-heading p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.card-grid { display: grid; gap: 15px; }
.skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill-card, .certificate-card, .project-card { position: relative; min-width: 0; padding: 25px; border-radius: 15px; transition: transform .25s ease, border-color .25s ease; animation: rise-in .45s both; }
.skill-card:nth-child(2), .certificate-card:nth-child(2), .project-card:nth-child(2) { animation-delay: .05s; }
.skill-card:nth-child(3), .certificate-card:nth-child(3), .project-card:nth-child(3) { animation-delay: .1s; }
.skill-card .card-index { margin-bottom: 11px; }
.skill-card h2, .certificate-card h2, .project-card h2, .experience-card h2, .blog-card h2 { margin-bottom: 17px; font-family: var(--font-display); font-size: 20px; letter-spacing: -.035em; line-height: 1.35; }
.certificate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.certificate-card { min-height: 190px; padding-top: 24px; }
.certificate-icon { display: block; margin-bottom: 16px; color: var(--purple-light); font-size: 20px; }
.card-date { color: #b99be7; font-size: 10px; letter-spacing: .08em; }
.certificate-card .card-date { position: absolute; top: 28px; right: 22px; }
.certificate-card h2 { margin-bottom: 10px; font-size: 16px; }
.certificate-card p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.timeline { position: relative; max-width: 920px; padding-left: 26px; }
.timeline::before { position: absolute; top: 4px; bottom: 10px; left: 6px; width: 1px; background: linear-gradient(var(--purple), rgba(170, 125, 225, .08)); content: ""; }
.timeline-item { position: relative; margin-bottom: 19px; }
.timeline-dot { position: absolute; top: 29px; left: -24px; width: 10px; height: 10px; border: 2px solid #c49aff; border-radius: 50%; background: #130e1d; box-shadow: 0 0 17px rgba(178, 123, 255, .6); }
.experience-card { padding: 25px 28px; border-radius: 15px; }
.card-topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 20px; margin-bottom: 7px; color: #ccb0ff; font-size: 11px; }
.experience-card h2 { margin-bottom: 9px; font-size: 22px; }
.experience-card p, .experience-card li, .project-card > p { color: var(--muted); font-size: 12px; }
.experience-card ul { display: grid; gap: 6px; margin: 14px 0 0; padding-left: 18px; }
.experience-card li::marker { color: #a87de6; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card { display: block; min-height: 260px; color: inherit; text-decoration: none; cursor: pointer; }
.project-card:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }
.project-number { margin-bottom: 20px; color: #d2b5ff; font-family: var(--font-display); font-size: 19px; }
.project-number span { color: #827890; font-family: var(--font-body); font-size: 9px; letter-spacing: .13em; }
.project-card .card-date { float: right; margin-top: 6px; }
.project-card h2 { max-width: 85%; margin-bottom: 4px; font-size: 20px; }
.project-card .project-client { margin-bottom: 13px; color: #c6b3de; font-size: 11px; }
.project-card > p:not(.project-client) { min-height: 44px; margin-bottom: 17px; }
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-card { padding: 25px; border-radius: 15px; }
.blog-card h2 { margin-top: 12px; margin-bottom: 9px; }
.blog-card > p, .blog-card details { color: var(--muted); font-size: 12px; }
.blog-card summary { color: #d0b4ff; cursor: pointer; }
.blog-card details p { padding-top: 10px; }
.empty-state { display: grid; min-height: 180px; place-content: center; justify-items: center; padding: 25px; border-radius: 14px; color: var(--muted); text-align: center; }
.empty-state p { margin: 10px 0 0; }
.empty-star { color: var(--purple-light); font-size: 26px; }
.about-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.about-card, .about-facts { padding: clamp(23px, 4vw, 39px); border-radius: 16px; }
.about-card h2, .contact-card h2 { margin: 14px 0 19px; font-family: var(--font-display); font-size: clamp(27px, 4vw, 39px); letter-spacing: -.05em; line-height: 1.2; }
.about-card p, .contact-card > p { color: var(--muted); font-size: 13px; }
.about-facts > .eyebrow { margin-bottom: 23px; }
.about-facts > div { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); }
.about-facts small, .about-facts strong { display: block; }
.about-facts small { margin-bottom: 5px; color: #a88bd0; font-size: 9px; letter-spacing: .13em; }
.about-facts strong { font-size: 12px; font-weight: 500; line-height: 1.7; }
.section-sub { margin-top: 85px; }
.section-sub h2 { margin-top: 10px; }
.learning-list { border-top: 1px solid rgba(255,255,255,.09); }
.learning-list div { display: flex; justify-content: space-between; gap: 15px; padding: 16px 3px; border-bottom: 1px solid rgba(255,255,255,.08); }
.learning-list strong { font-size: 12px; font-weight: 500; }
.learning-list span { color: var(--muted); font-size: 11px; text-align: right; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 17px; }
.contact-card { padding: clamp(25px, 5vw, 48px); border-radius: 17px; }
.contact-card > p { max-width: 520px; margin-bottom: 28px; }
.contact-link { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.09); }
.contact-link span { color: #a88bd0; font-size: 10px; }
.contact-link strong { font-size: 12px; font-weight: 500; text-align: right; }
.contact-side { display: grid; min-height: 340px; align-content: center; justify-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.06); border-radius: 17px; background: radial-gradient(circle at center, rgba(121, 71, 172, .2), rgba(20, 15, 29, .15) 57%, transparent 72%); text-align: center; }
.contact-symbol { color: #c9a5ff; font-size: 61px; text-shadow: 0 0 35px rgba(188, 143, 255, .45); }
.contact-side p { margin: 12px 0 0; color: #c8bdd8; font-family: var(--font-display); font-size: 18px; line-height: 1.65; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; overflow: auto; padding: 20px; background: rgba(5, 4, 9, .74); opacity: 0; pointer-events: none; transition: opacity .2s ease; backdrop-filter: blur(8px); }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.admin-modal { position: relative; width: min(840px, 100%); max-height: min(90vh, 880px); overflow: auto; padding: clamp(24px, 4vw, 38px); border-color: rgba(201, 168, 255, .26); border-radius: 18px; background: linear-gradient(145deg, rgba(32, 24, 46, .97), rgba(15, 12, 22, .98)); box-shadow: 0 30px 100px rgba(0,0,0,.55); transform: translateY(12px) scale(.99); transition: transform .25s ease; }
.modal-backdrop.open .admin-modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 13px; right: 16px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); color: #ddd0ef; font-size: 22px; cursor: pointer; }
.admin-modal h2 { margin: 10px 35px 7px 0; font-family: var(--font-display); font-size: 30px; letter-spacing: -.05em; }
.project-detail-modal { width: min(720px, 100%); }
.project-detail-modal h2 { margin-top: 12px; font-size: clamp(26px, 5vw, 38px); line-height: 1.2; }
.project-detail-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin: 14px 0 20px; color: #c5a5f2; font-size: 11px; }
.project-detail-summary { color: #e0d7ec; font-size: 13px; line-height: 1.8; }
.project-detail-section { margin-top: 24px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.09); }
.project-detail-section h3 { margin-bottom: 12px; color: #d3baff; font-family: var(--font-display); font-size: 15px; }
.project-detail-list { display: grid; gap: 10px; margin: 0; padding-left: 19px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-detail-list li::marker { color: #ad82ed; }
.admin-route-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(20px, 5vw, 76px); }
.admin-route { display: grid; min-height: calc(100vh - 80px); align-content: start; padding-bottom: 32px; }
.admin-route .admin-modal { width: min(840px, 100%); max-height: calc(100vh - 140px); margin: 0 auto; transform: none; }
.admin-intro, .local-warning { color: var(--muted); font-size: 11px; }
.admin-form { display: grid; gap: 13px; }
.admin-form label, .admin-toolbar label { display: grid; gap: 6px; color: #d3c8e2; font-size: 11px; }
.admin-form input, .admin-form textarea, .admin-toolbar select { width: 100%; padding: 10px 11px; border: 1px solid rgba(211,190,255,.15); border-radius: 8px; outline: none; background: rgba(7,6,12,.54); color: var(--text); font-size: 12px; }
.admin-form input:focus, .admin-form textarea:focus, .admin-toolbar select:focus { border-color: rgba(183,139,255,.7); box-shadow: 0 0 0 3px rgba(154,100,226,.13); }
.admin-form textarea { resize: vertical; }
.admin-form .full-button { width: 100%; margin-top: 5px; }
.form-error { min-height: 18px; margin: 0; color: #ff9aaf; font-size: 11px; }
.local-warning { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.08); line-height: 1.6; }
.admin-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 20px 0; }
.admin-toolbar label { width: min(260px, 70%); }
.logout-button { min-height: 38px; }
.admin-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.admin-form h3, .entry-list h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-list { max-height: 460px; overflow: auto; padding-right: 3px; }
.entry-list h3 { display: flex; justify-content: space-between; }
.entry-list h3 span { color: var(--muted); font-family: var(--font-body); font-size: 11px; }
.entry-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); }
.entry-row > div:first-child { min-width: 0; }
.entry-row strong, .entry-row small { display: block; overflow-wrap: anywhere; }
.entry-row strong { font-size: 11px; font-weight: 600; }
.entry-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.entry-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.entry-actions button { padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.035); color: #d5c4ed; font-size: 10px; cursor: pointer; }
.entry-actions button:last-child { color: #efa1b3; }
.entry-empty { color: var(--muted); font-size: 11px; }
.notice { position: fixed; z-index: 70; right: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 12px 17px; border: 1px solid rgba(193,156,255,.28); border-radius: 10px; background: rgba(33,24,47,.96); color: #eee4ff; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.notice.visible { opacity: 1; transform: translateY(0); }
.notice.error { border-color: rgba(255,126,150,.4); color: #ffd9df; }
@keyframes rise-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes orbit { to { transform: rotate(336deg) scaleY(.55); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 980px) {
  .site-header { gap: 12px; padding-right: 22px; padding-left: 22px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 11px; }
  .brand { font-size: 14px; }
  .hero { min-height: 650px; }
  .hero-art { min-height: 360px; }
  .hero-monogram { width: 170px; height: 170px; border-radius: 43px; font-size: 62px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: grid; width: 38px; height: 38px; flex: 0 0 auto; align-content: center; justify-items: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: #eee4ff; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { display: none; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 22px 18px; border-bottom: 1px solid var(--line); background: rgba(12,9,19,.97); backdrop-filter: blur(20px); }
  .main-nav.nav-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.055); font-size: 12px; }
  .main-nav a.active::after { right: auto; bottom: 6px; left: 8px; width: 20px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 74px; padding-bottom: 90px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 610px; font-size: clamp(48px, 10vw, 72px); }
  .hero-description { max-width: 570px; }
  .hero-art { position: absolute; top: 10px; right: 0; width: min(330px, 50vw); min-height: 340px; opacity: .38; pointer-events: none; }
  .hero-art .orbit-one { width: min(46vw, 310px); }
  .hero-art .orbit-two { width: min(40vw, 270px); }
  .hero-art .orbit-three { width: min(34vw, 225px); }
  .hero-art .art-glow { width: min(44vw, 300px); }
  .hero-monogram { width: 145px; height: 145px; font-size: 52px; }
  .float-label { display: none; }
  .scroll-hint { bottom: 28px; }
  .home-intro { grid-template-columns: 1fr; gap: 20px; padding-top: 75px; padding-bottom: 75px; }
  .home-skill-preview { grid-template-columns: 1fr; }
  .preview-card { min-height: 135px; }
  .certificate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .contact-side { min-height: 230px; }
  .inner-page { min-height: calc(100vh - 168px); padding-top: 65px; padding-bottom: 75px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { order: 3; width: 100%; }
}
@media (max-width: 520px) {
  .section-wrap { width: min(100% - 36px, 1120px); }
  .site-header { padding-right: 17px; padding-left: 17px; }
  .hero { padding-top: 57px; padding-bottom: 80px; }
  .hero h1 { margin-top: 19px; font-size: clamp(43px, 12vw, 58px); }
  .hero-description { font-size: 13px; }
  .hero-art { top: 28px; right: 0; width: min(280px, 78vw); opacity: .25; }
  .hero-art .orbit-one { width: min(72vw, 260px); }
  .hero-art .orbit-two { width: min(64vw, 235px); }
  .hero-art .orbit-three { width: min(54vw, 205px); }
  .hero-art .art-glow { width: min(70vw, 255px); }
  .hero-stats { gap: 22px; margin-top: 39px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 22px; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats small { font-size: 9px; }
  .home-project-preview { grid-template-columns: 1fr; }
  .home-project-card { min-height: 0; }
  .home-projects { padding-bottom: 60px; }
  .section-title-row { align-items: start; flex-direction: column; }
  .section-title-row .text-link { margin-top: -6px; }
  .home-feature { padding-bottom: 75px; }
  .home-cta { padding-bottom: 75px; }
  .skill-grid, .certificate-grid, .project-grid, .blog-grid { grid-template-columns: 1fr; }
  .certificate-card { min-height: 160px; }
  .page-heading { margin-bottom: 32px; }
  .page-heading h1 { font-size: 43px; }
  .experience-card { padding: 20px; }
  .experience-card h2 { font-size: 19px; }
  .card-topline { font-size: 10px; }
  .timeline { padding-left: 22px; }
  .timeline-dot { left: -20px; }
  .learning-list div { flex-direction: column; gap: 2px; }
  .learning-list span { text-align: left; }
  .contact-link { flex-direction: column; }
  .contact-link strong { text-align: left; overflow-wrap: anywhere; }
  .admin-columns { grid-template-columns: 1fr; }
  .admin-route .admin-modal { max-height: calc(100vh - 115px); }
  .entry-list { max-height: 300px; }
  .admin-modal { padding: 26px 19px; }
  .modal-backdrop { padding: 10px; }
}

/* Purple-and-white liquid glass theme */
::selection { background: rgba(139, 103, 210, .22); color: #271a40; }
body {
  background:
    radial-gradient(ellipse at 74% 4%, rgba(181, 151, 244, .26), transparent 34rem),
    radial-gradient(ellipse at 4% 48%, rgba(203, 188, 246, .28), transparent 33rem),
    linear-gradient(135deg, #fbfaff, #f3efff 56%, #faf8ff);
  color: #211a31;
}
body::before {
  background-image: linear-gradient(rgba(111, 76, 178, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 76, 178, .035) 1px, transparent 1px);
}
.site-header {
  border-bottom-color: rgba(111, 76, 178, .12);
  background: rgba(250, 248, 255, .76);
  box-shadow: 0 8px 30px rgba(62, 42, 105, .045);
}
.brand { color: #2b2140; }
.brand-mark {
  border-color: rgba(122, 82, 194, .28);
  background: linear-gradient(145deg, rgba(177, 143, 239, .3), rgba(255, 255, 255, .58));
  color: #6845b3;
  box-shadow: inset 0 1px rgba(255,255,255,.9), 0 5px 16px rgba(105, 73, 171, .1);
}
.brand-dot { color: #7650c9; }
.main-nav a { color: #655d73; }
.main-nav a:hover, .main-nav a.active { color: #493076; }
.main-nav a.active::after { background: linear-gradient(90deg, #8b68d3, #bd8edb); }
.eyebrow, .section-kicker { color: #7550bd; }
.status-dot { background: #8c69d6; box-shadow: 0 0 15px rgba(140,105,214,.55); }
.gradient-text {
  background: linear-gradient(100deg, #6842b6 8%, #8b64d0 55%, #ae65b6);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-description, .home-intro p, .page-heading p { color: #61596f; }
.button-primary {
  border-color: rgba(119, 82, 191, .3);
  background: linear-gradient(115deg, #8967d1, #6e4ab4);
  box-shadow: 0 8px 28px rgba(113, 76, 180, .2), inset 0 1px rgba(255,255,255,.35);
}
.button-quiet {
  border-color: rgba(117, 80, 194, .2);
  background: rgba(255,255,255,.58);
  color: #4c3a6d;
  box-shadow: inset 0 1px rgba(255,255,255,.85);
}
.button-quiet:hover { background: rgba(255,255,255,.88); }
.hero-stats small { color: #70677f; }
.hero-stats strong span { color: #7650c9; }
.art-glow { background: radial-gradient(circle, rgba(157, 111, 225, .3), rgba(184, 155, 232, .1) 47%, transparent 72%); }
.orbit { border-color: rgba(124, 86, 196, .2); }
.orbit-two { border-color: rgba(153, 111, 209, .27); }
.orbit-three { border-color: rgba(177, 123, 194, .22); }
.hero-monogram {
  border-color: rgba(255,255,255,.78);
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(220,207,247,.54));
  box-shadow: 0 30px 90px rgba(78, 53, 128, .18), inset 0 1px 1px rgba(255,255,255,.95), inset 0 -25px 55px rgba(147, 108, 204, .12);
  color: #6846ad;
  text-shadow: 0 0 42px rgba(137, 99, 202, .24);
}
.hero-monogram span { color: #6c5a87; }
.float-label {
  border-color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.62);
  color: #594474;
  box-shadow: 0 10px 24px rgba(79, 57, 123, .08), inset 0 1px rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.scroll-hint { color: #776d86; }
.home-intro { border-top-color: rgba(111, 76, 178, .12); }
.muted-text { color: #746b81; }
.text-link, .project-card-link { color: #6e4ab5; }
.home-project-card .project-client, .project-card .project-client { color: #65557c; }
.project-preview-summary { color: #655d73; }
.glass-card {
  border-color: rgba(255,255,255,.78);
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(247,243,255,.59));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 18px 48px rgba(66, 47, 105, .085);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.preview-card:hover, .home-project-card:hover, .skill-card:hover, .project-card:hover, .certificate-card:hover {
  border-color: rgba(139, 103, 210, .42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 22px 52px rgba(81, 57, 130, .14);
}
.card-index, .project-number, .certificate-icon, .empty-star { color: #7650bd; }
.project-number span { color: #796f89; }
.card-date { color: #7757ae; }
.tag {
  border-color: rgba(122, 88, 178, .14);
  background: rgba(225, 214, 248, .42);
  color: #514466;
}
.cta-orb { background: radial-gradient(circle, rgba(159, 119, 219, .22), transparent 67%); }
.site-footer {
  border-top-color: rgba(111, 76, 178, .13);
  color: #746b81;
}
.footer-brand { color: #46385e; }
.timeline::before { background: linear-gradient(#8b68d3, rgba(139, 104, 211, .08)); }
.timeline-dot { border-color: #8965cf; background: #f7f5ff; box-shadow: 0 0 17px rgba(139, 103, 210, .35); }
.card-topline { color: #654696; }
.experience-card p, .experience-card li, .project-card > p,
.certificate-card p, .blog-card > p, .blog-card details { color: #655d73; }
.experience-card li::marker, .project-detail-list li::marker { color: #805ac8; }
.project-card:focus-visible, .home-project-card:focus-visible, .skill-preview-card:focus-visible { outline-color: #805ac8; }
.blog-card summary { color: #6845ad; }
.about-facts > div, .learning-list, .learning-list div,
.contact-link, .project-detail-section { border-color: rgba(111, 76, 178, .14); }
.about-facts small, .contact-link span { color: #7354a8; }
.learning-list span { color: #655d73; }
.contact-side {
  border-color: rgba(255,255,255,.78);
  background: radial-gradient(circle at center, rgba(171, 143, 224, .24), rgba(255,255,255,.35) 57%, transparent 76%);
}
.contact-symbol { color: #815fc1; text-shadow: 0 0 35px rgba(145, 110, 206, .28); }
.contact-side p { color: #594b71; }
.modal-backdrop { background: rgba(45, 32, 68, .34); }
.admin-modal {
  border-color: rgba(255,255,255,.85);
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(244,239,253,.94));
  box-shadow: 0 30px 100px rgba(43, 30, 67, .24), inset 0 1px rgba(255,255,255,.98);
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
}
.modal-close {
  border-color: rgba(117, 80, 194, .18);
  background: rgba(255,255,255,.7);
  color: #574373;
}
.project-detail-meta { color: #7353a8; }
.project-detail-summary { color: #51475f; }
.project-detail-section h3 { color: #6845ad; }
.project-detail-list { color: #655d73; }
.admin-form label, .admin-toolbar label { color: #4f435f; }
.admin-form input, .admin-form textarea, .admin-toolbar select {
  border-color: rgba(117, 80, 194, .2);
  background: rgba(255,255,255,.72);
  color: #292137;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-toolbar select:focus {
  border-color: rgba(128, 90, 200, .65);
  box-shadow: 0 0 0 3px rgba(128, 90, 200, .12);
}
.local-warning, .admin-intro { color: #655d73; }
.entry-row { border-color: rgba(111, 76, 178, .14); }
.entry-actions button {
  border-color: rgba(117, 80, 194, .18);
  background: rgba(255,255,255,.64);
  color: #574373;
}
.notice {
  border-color: rgba(117, 80, 194, .24);
  background: rgba(250,248,255,.96);
  color: #3e3155;
  box-shadow: 0 12px 35px rgba(54, 37, 87, .14);
}
@media (max-width: 760px) {
  .menu-toggle {
    border-color: rgba(117, 80, 194, .18);
    background: rgba(255,255,255,.62);
  }
  .menu-toggle span { background: #594474; }
  .main-nav {
    border-bottom-color: rgba(117, 80, 194, .16);
    background: rgba(250,248,255,.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }
  .main-nav a { border-bottom-color: rgba(117, 80, 194, .1); }
}
