:root {
  color-scheme: light;
  --paper: #fff8fb;
  --ink: #452637;
  --muted: #856978;
  --line: #efd9e3;
  --green: #b83e70;
  --lime: #ffd1e1;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.section-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.site-header { height: 82px; width: min(1120px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font: 700 29px/1 var(--serif); letter-spacing: -2px; }
.wordmark span { color: #ed79a6; }
.main-nav { display: flex; gap: 38px; margin-left: 55px; }
.main-nav a, .site-footer > a:last-child { color: #705362; font-size: 13px; transition: color .2s; }
.main-nav a:hover, .site-footer a:hover { color: var(--green); }
.button { min-height: 46px; border: 1px solid transparent; border-radius: 3px; padding: 0 20px; display: inline-flex; gap: 18px; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-outline { border-color: #dcb9ca; background: transparent; color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #7e2d55; }
.button-light { background: var(--lime); color: var(--ink); }
.button-small { min-height: 38px; padding: 0 14px; font-size: 12px; }
.button-wide { width: 100%; margin-top: 12px; }
.hero { position: relative; min-height: 595px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-block: 66px 85px; }
.hero-copy { position: relative; z-index: 1; padding-left: 28px; }
.eyebrow { margin: 0; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.65px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; background: #ed79a6; border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 22px 0 18px; font: 500 clamp(54px, 7vw, 82px)/1.08 var(--serif); letter-spacing: -3.2px; }
.hero h1 span { color: var(--green); font-style: italic; }
.hero-description { max-width: 410px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 31px; }
.text-link { font-size: 12px; font-weight: 600; }
.text-link span { padding-left: 7px; color: var(--green); }
.hero-caption { margin: 48px 0 0; color: #a18491; font: italic 13px var(--serif); }
.hero-art { position: relative; width: min(430px, 100%); aspect-ratio: 1; justify-self: end; overflow: hidden; background: #f9dce7; border-radius: 47% 47% 3px 47%; }
.hero-art::before { content: ""; position: absolute; width: 67%; height: 67%; left: 18%; top: 15%; border: 1px solid rgba(184, 62, 112, .35); border-radius: 50%; transform: rotate(-35deg) scaleX(.73); }
.hero-art::after { content: ""; position: absolute; width: 47%; height: 47%; left: 27%; top: 26%; border-radius: 50%; background: #f3bfd2; }
.art-orbit { position: absolute; z-index: 1; border: 1px solid rgba(184, 62, 112, .3); border-radius: 50%; }
.orbit-one { width: 83%; height: 40%; left: 7%; top: 31%; transform: rotate(45deg); }
.orbit-two { width: 83%; height: 40%; left: 7%; top: 31%; transform: rotate(-45deg); }
.art-star { position: absolute; z-index: 2; top: 17%; right: 18%; color: #b83e70; font-size: 38px; }
.art-note { position: absolute; z-index: 3; left: 20%; top: 39%; width: 58%; min-height: 115px; padding: 25px 22px; background: var(--paper); box-shadow: 0 16px 38px #9a45631c; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.7; transform: rotate(-7deg); }
.note-arrow { align-self: flex-start; font-size: 20px; color: var(--green); }
.art-stamp { position: absolute; z-index: 3; right: 10%; bottom: 14%; width: 67px; height: 67px; display: grid; align-content: center; justify-content: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-size: 12px; line-height: 1.2; text-align: center; transform: rotate(12deg); }
.art-stamp span { font-size: 9px; }
.art-caption { position: absolute; z-index: 3; left: 12%; bottom: 9%; color: #9c5573; font: italic 13px var(--serif); }
.hero-index { position: absolute; right: 0; bottom: 38px; display: flex; align-items: center; gap: 12px; color: #9c8490; font-size: 9px; letter-spacing: 1.4px; }
.hero-index span:first-child { color: var(--green); }
.index-line { width: 42px; height: 1px; background: #d9becb; }
.section-kicker { display: flex; align-items: center; gap: 23px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.kicker-line { height: 1px; width: 55px; background: #ddb8ca; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 57px; }
.about h2, .skills h2, .writing h2 { margin: 0; font: 500 clamp(39px, 5vw, 56px)/1.16 var(--serif); letter-spacing: -1.5px; }
.about h2 em, .skills h2 em, .writing h2 em { color: var(--green); }
.about-copy { max-width: 450px; padding-top: 4px; }
.about-copy p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-copy p.large-copy { color: var(--ink); font: 500 20px/1.6 var(--serif); }
.profile-details { margin: 22px 0 0; border-top: 1px solid var(--line); }
.profile-details div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.profile-details dt { color: var(--muted); font-size: 11px; }
.profile-details dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 600; }
.school-note { display: flex; align-items: center; gap: 15px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.school-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fce4ec; color: var(--green); font-size: 19px; }
.school-note div { display: grid; gap: 2px; }
.school-note strong { font-size: 12px; }
.school-note div span { color: var(--muted); font-size: 11px; }
.projects { background: #fff0f5; }
.skills-heading, .writing-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; padding: 50px 0 35px; }
.skills-heading > p, .writing-heading > p { width: 270px; margin-bottom: 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.project-card { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 345px; border: 1px solid #efccda; background: var(--paper); transition: transform .2s, box-shadow .2s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px #9a456314; }
.project-art { position: relative; min-height: 345px; overflow: hidden; background: #f1a9c2; color: #54283d; }
.project-art::before, .project-art::after { content: ""; position: absolute; width: 250px; height: 250px; border: 1px solid #77345066; border-radius: 50%; }
.project-art::before { top: 54px; left: 50%; transform: translateX(-50%); }
.project-art::after { top: 79px; left: 50%; transform: translateX(-50%) scaleX(.72); }
.project-sun { position: absolute; width: 145px; height: 145px; top: 106px; left: 50%; border-radius: 50%; background: #ffe2a8; transform: translateX(-50%); }
.project-art-label { position: absolute; z-index: 1; top: 130px; left: 0; width: 100%; color: #54283d; font: 600 39px/.96 var(--serif); text-align: center; letter-spacing: -1px; }
.project-art-caption { position: absolute; z-index: 1; bottom: 30px; left: 0; width: 100%; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-align: center; }
.project-art-spark { position: absolute; z-index: 1; top: 30px; right: 34px; font-size: 25px; }
.project-info { padding: 39px; display: flex; flex-direction: column; justify-content: center; }
.project-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.project-info h3 { margin: 34px 0 12px; font: 500 clamp(24px, 3vw, 35px)/1.2 var(--serif); }
.project-info > p { max-width: 380px; margin-bottom: 23px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.project-visit { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 12px; font-weight: 700; }
.project-visit span { color: var(--green); font-size: 16px; }
.writing-heading { padding-bottom: 40px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.article-card { min-height: 240px; padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #9a45630d; }
.article-meta { display: flex; justify-content: space-between; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.article-card h3 { margin: 24px 0 8px; font: 500 22px/1.3 var(--serif); }
.article-card > p { margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-read { margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; text-align: left; }
.empty-state { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.contact { min-height: 290px; margin-top: 30px; margin-bottom: 65px; padding: 56px 66px; background: #a93668; color: white; display: flex; justify-content: space-between; align-items: center; }
.contact .eyebrow { color: #ffe0eb; }
.contact h2 { margin: 17px 0 0; font: 500 37px/1.25 var(--serif); letter-spacing: -.5px; }
.site-footer { min-height: 88px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.site-footer p, .site-footer > a:last-child { margin: 0; color: var(--muted); font-size: 10px; }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; overflow-y: auto; padding: 24px; background: #482435bd; display: grid; place-items: center; }
.modal-backdrop[hidden] { display: none; }
.dialog { position: relative; width: min(440px, 100%); padding: 39px; background: var(--paper); box-shadow: 0 24px 80px #51233b40; }
.icon-button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); font-size: 25px; line-height: 1; }
.dialog-close { position: absolute; top: 15px; right: 15px; }
.dialog h2 { margin: 10px 0; font: 500 35px var(--serif); }
.dialog-subtitle, .panel-heading p { color: var(--muted); font-size: 12px; }
.login-dialog form, .editor-form { display: grid; }
.login-dialog label, .editor-form label { margin: 15px 0 6px; font-size: 11px; font-weight: 600; }
.login-dialog input, .editor-form input:not([type="checkbox"]), .editor-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; background: #fffdfd; color: var(--ink); padding: 11px 12px; outline: none; }
.login-dialog input:focus, .editor-form input:focus, .editor-form textarea:focus { border-color: var(--green); }
.form-error { min-height: 0; margin: 8px 0 0; color: #a33e32; font-size: 11px; }
.demo-note, .security-note { margin: 18px 0 0; color: var(--muted); font-size: 10px; }
.dashboard-backdrop { place-items: center; }
.dashboard-dialog { width: min(820px, 100%); min-height: 410px; padding: 0; }
.dashboard-header { padding: 27px 32px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dashboard-header h2 { margin: 4px 0 0; font-size: 28px; }
.dashboard-header-actions { display: flex; gap: 12px; align-items: center; }
.dashboard-header-actions > span { color: var(--muted); font-size: 11px; }
.dashboard-tabs { display: flex; gap: 24px; padding: 0 32px; border-bottom: 1px solid var(--line); }
.tab-button { padding: 14px 0 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; }
.tab-button.active { border-bottom-color: var(--green); color: var(--ink); font-weight: 700; }
.dashboard-content { padding: 23px 32px; }
.panel-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.panel-heading h3 { margin: 0 0 2px; font: 500 21px var(--serif); }
.panel-heading p { margin: 0; font-size: 11px; }
.managed-list { margin-top: 20px; }
.managed-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.managed-row:last-child { border-bottom: 1px solid var(--line); }
.managed-info { min-width: 0; }
.managed-info strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.managed-info span { display: block; color: var(--muted); font-size: 10px; }
.managed-info span.article-status { display: inline; padding: 2px 7px; border-radius: 999px; background: #f2e8ed; color: #765d6a; font-weight: 600; }
.managed-info span.status-pending { background: #fff0cf; color: #805617; }
.managed-info span.status-approved { background: #fce4ec; color: #a93469; }
.managed-info span.status-rejected { background: #fae3e3; color: #963f48; }
.managed-info span.status-draft { background: #f2e8ed; color: #765d6a; }
.managed-actions { display: flex; flex-shrink: 0; gap: 7px; }
.mini-button { border: 1px solid var(--line); border-radius: 2px; background: transparent; padding: 6px 9px; color: var(--ink); font-size: 10px; }
.mini-button.danger { color: #a33e32; }
.mini-button.approve-button { border-color: #e8b8cb; background: #fff0f6; color: #a93469; font-weight: 700; }
.editor-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.editor-form .panel-heading { margin-bottom: 2px; }
.editor-form label:not(.checkbox-label) { margin-top: 11px; }
.editor-form textarea { resize: vertical; }
.checkbox-label { display: flex; gap: 9px; align-items: center; }
.checkbox-label input { accent-color: var(--green); }
.editor-actions { display: flex; justify-content: end; gap: 9px; margin-top: 16px; }
.dashboard-message { min-height: 0; margin: 0 32px 14px; color: var(--green); font-size: 11px; }
.security-note { padding: 12px 32px; margin: 0; border-top: 1px solid var(--line); font-size: 9px; }
.article-dialog { max-height: calc(100vh - 48px); overflow-y: auto; }
.article-dialog h2 { margin-top: 20px; }
.article-byline { color: var(--muted); font-size: 11px; }
.article-full-text { white-space: normal; font-size: 14px; line-height: 1.9; }
.article-full-text h3 { margin: 22px 0 7px; font: 600 17px var(--serif); }
.article-full-text p { margin: 0 0 12px; color: #604653; }
.article-full-text ul { margin: 3px 0 16px; padding-left: 21px; color: #604653; }
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-header { flex: 0 0 auto; }
.login-screen { width: min(940px, calc(100% - 48px)); flex: 1; margin: auto; padding: 64px 0; display: grid; grid-template-columns: 1fr 440px; gap: 65px; align-items: center; }
.login-decoration { position: relative; min-height: 350px; padding: 46px; overflow: hidden; background: #f9dce7; display: flex; flex-direction: column; justify-content: space-between; color: var(--green); }
.login-decoration::before, .login-decoration::after { content: ""; position: absolute; width: 290px; height: 290px; border: 1px solid #b83e7066; border-radius: 50%; }
.login-decoration::before { top: 50px; left: 80px; }
.login-decoration::after { top: 80px; left: 110px; transform: scaleX(.7); }
.login-decoration span, .login-decoration p { position: relative; z-index: 1; }
.login-decoration span:first-child { font-size: 35px; }
.login-decoration p { margin: 35px 0; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 3px; line-height: 1.8; }
.login-decoration span:last-child { align-self: flex-end; font-size: 10px; letter-spacing: 1px; }
.login-dialog { width: 100%; padding: 39px; }
.login-dialog h1 { margin: 10px 0; font: 500 35px var(--serif); }

@media (max-width: 700px) {
  .section-wrap, .site-header { width: min(100% - 38px, 540px); }
  .section-pad { padding-block: 76px; }
  .site-header { height: 68px; }
  .main-nav { gap: 16px; margin-left: auto; margin-right: 14px; }
  .main-nav a { font-size: 10px; }
  .header-login { min-height: 36px; padding: 0 12px; font-size: 11px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 65px 70px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(58px, 16vw, 78px); }
  .hero-art { width: min(380px, 90%); margin-top: 47px; justify-self: center; }
  .hero-index { bottom: 23px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 36px; }
  .skills-heading, .writing-heading { display: block; padding-top: 35px; }
  .skills-heading > p, .writing-heading > p { width: auto; max-width: 370px; margin-top: 17px; }
  .project-card { grid-template-columns: 1fr; }
  .project-art { min-height: 260px; }
  .project-art::before, .project-art::after { width: 205px; height: 205px; top: 35px; }
  .project-art::after { top: 54px; }
  .project-sun { width: 120px; height: 120px; top: 77px; }
  .project-art-label { top: 98px; font-size: 33px; }
  .project-info { padding: 26px; }
  .project-info h3 { margin-top: 25px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 205px; }
  .contact { width: 100%; min-height: 250px; margin: 0; padding: 42px 25px; gap: 18px; }
  .contact h2 { font-size: 28px; }
  .contact .button { flex-shrink: 0; padding: 0 12px; font-size: 11px; }
  .site-footer { min-height: 76px; }
  .site-footer p { display: none; }
  .dialog { padding: 31px 24px; }
  .dashboard-dialog { padding: 0; }
  .dashboard-header { padding: 20px 17px; align-items: flex-start; }
  .dashboard-header h2 { font-size: 23px; }
  .dashboard-header-actions { gap: 5px; }
  .dashboard-header-actions > span { display: none; }
  .dashboard-tabs { padding-inline: 18px; }
  .dashboard-content { padding: 20px 18px; }
  .panel-heading { align-items: flex-start; }
  .panel-heading .button { flex-shrink: 0; }
  .managed-row { align-items: flex-start; }
  .managed-actions { flex-wrap: wrap; justify-content: end; }
  .security-note { padding-inline: 18px; }
  .dashboard-message { margin-inline: 18px; }
  .login-screen { width: min(100% - 38px, 440px); grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .login-decoration { min-height: 120px; padding: 18px 22px; flex-direction: row; align-items: center; }
  .login-decoration::before, .login-decoration::after { width: 180px; height: 180px; top: -30px; left: 42%; }
  .login-decoration span:first-child { font-size: 25px; }
  .login-decoration p { margin: 0; font-size: 9px; }
  .login-dialog { padding: 31px 24px; }
}

@media (max-width: 390px) {
  .main-nav { gap: 10px; margin-right: 8px; }
  .main-nav a { font-size: 9px; }
  .site-header, .section-wrap { width: calc(100% - 30px); }
  .hero-actions { gap: 17px; }
  .contact { display: block; }
  .contact .button { margin-top: 20px; }
}

/* A softer, playful portfolio style */
body { background: #fffafd; }
.site-header { width: min(1180px, calc(100% - 56px)); height: 88px; border-bottom: 0; }
.wordmark { font-size: 33px; color: #a93469; }
.main-nav { gap: 8px; margin: 0; padding: 7px; border: 1px solid #f5dce7; border-radius: 999px; background: #fff; }
.main-nav a { padding: 9px 16px; border-radius: 999px; color: #754c60; font-size: 12px; }
.main-nav a:hover { background: #fff0f6; color: #a93469; }
.button { min-height: 48px; border-radius: 999px; padding-inline: 23px; }
.button-dark { background: #b83e70; box-shadow: 0 8px 18px #b83e7026; }
.button-dark:hover { background: #963158; }
.button-light { background: #ffe1ec; }
.button-outline { border-radius: 999px; }
.hero { width: min(1180px, calc(100% - 56px)); min-height: 600px; margin-top: 12px; padding: 68px 74px 84px; grid-template-columns: 1.05fr .95fr; border: 1px solid #f4dce6; border-radius: 38px; background: radial-gradient(ellipse at 82% 20%, #ffe6ef 0, transparent 35%), linear-gradient(135deg, #fff4f8 0%, #fffafd 58%, #ffeef5 100%); box-shadow: 0 22px 65px #a9346910; }
.hero-copy { padding-left: 0; }
.hero .eyebrow { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #f4d5e2; border-radius: 999px; background: #fff; }
.hero h1 { margin-top: 28px; font-family: var(--sans); font-size: clamp(57px, 7.3vw, 88px); font-weight: 700; line-height: .99; letter-spacing: -5px; }
.hero h1 span { color: #bb4776; }
.hero-description { max-width: 385px; color: #765d6a; font-size: 15px; }
.hero-caption { margin-top: 34px; color: #996f83; }
.hero-art { width: min(420px, 100%); justify-self: center; aspect-ratio: 1; overflow: visible; display: grid; place-items: center; border: 1px solid #f2cada; border-radius: 46% 54% 50% 50% / 50% 44% 56% 50%; background: radial-gradient(circle at 50% 47%, #fff4f8 0 35%, transparent 36%), #f8d9e6; box-shadow: inset 0 0 0 15px #ffffff42, 0 17px 38px #ad5a7d18; animation: bear-blob 9s ease-in-out infinite; }
.hero-art::before { width: 79%; height: 79%; left: 10%; top: 10%; border: 1px dashed #d990ad99; transform: rotate(-23deg) scaleX(.85); }
.hero-art::after { display: none; }
.little-bear { position: relative; z-index: 2; width: 80%; height: 86%; overflow: visible; filter: drop-shadow(0 11px 8px #a9547320); animation: bear-bob 2.8s ease-in-out infinite; }
.bear-shadow { fill: #b66b8430; animation: shadow-breathe 2.8s ease-in-out infinite; transform-origin: center; }
.bear-body-fur, .bear-foot, .bear-arm, .bear-face, .bear-ear { fill: #bd815f; stroke: #91583e; stroke-width: 3; }
.bear-belly, .bear-muzzle, .bear-ear-inner { fill: #f5d7c3; }
.bear-ear-inner { stroke: #d7a38a; stroke-width: 2; }
.bear-eye, .bear-nose { fill: #493034; }
.bear-cheek { fill: #ed9ba9; opacity: .8; }
.bear-smile { fill: none; stroke: #70433e; stroke-width: 3; stroke-linecap: round; }
.bear-arm { transform-origin: 215px 166px; }
.bear-wave { animation: bear-wave 1.6s ease-in-out infinite; }
.bear-bow path, .bear-bow circle { fill: #dc6091; stroke: #a93469; stroke-width: 2; }
.bear-heart { fill: #ed79a6; stroke: #bd4775; stroke-width: 2; transform-origin: 72px 242px; animation: heart-beat 1.3s ease-in-out infinite; }
.bear-spark { position: absolute; z-index: 3; color: #c64f80; }
.bear-spark-one { top: 16%; left: 19%; font-size: 30px; animation: sparkle 2.2s ease-in-out infinite; }
.bear-spark-two { top: 25%; right: 16%; font-size: 36px; animation: sparkle 1.7s ease-in-out .4s infinite; }
.bear-spark-three { bottom: 21%; right: 15%; font-size: 28px; animation: sparkle 2.5s ease-in-out .8s infinite; }
.bear-caption { position: absolute; z-index: 4; right: -14px; bottom: 10%; padding: 11px 17px; border: 1px solid #f2d5e1; border-radius: 17px 17px 17px 4px; background: #fff; color: #a93469; font: 600 13px var(--serif); box-shadow: 0 7px 20px #a9346917; transform: rotate(4deg); }
.bear-caption small { color: #987788; font: 10px var(--sans); }
.art-orbit, .art-star, .art-note, .art-stamp, .art-caption { display: none; }
.hero-index { right: 73px; bottom: 35px; }
.section-wrap { width: min(1080px, calc(100% - 64px)); }
.section-pad { padding-block: 102px; }
.section-kicker { font-size: 10px; letter-spacing: 1.8px; }
.about { margin-block: 25px; padding: 73px 76px; border: 1px solid #f3e1e8; border-radius: 34px; background: #fff; box-shadow: 0 18px 48px #a9346909; }
.about-grid { gap: 60px; padding-top: 45px; }
.about h2, .skills h2, .writing h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -2.6px; }
.school-icon { border-radius: 14px; }
.projects { width: min(1180px, calc(100% - 56px)); margin-inline: auto; padding-block: 82px; border: 1px solid #f5e1e9; border-radius: 38px; background: linear-gradient(150deg, #fff1f6, #fff9fb 78%); }
.projects .section-wrap { width: min(1030px, calc(100% - 56px)); }
.skills-heading, .writing-heading { padding-top: 42px; }
.project-card { overflow: hidden; border: 1px solid #f0d4e0; border-radius: 28px; box-shadow: 0 14px 36px #a9346910; }
.project-art { background: radial-gradient(circle at 50% 43%, #ffe7b8 0 21%, transparent 21.5%), linear-gradient(145deg, #f8c3d6, #eea5c1); }
.project-art::before, .project-art::after { border-radius: 50%; border-color: #91436355; }
.project-sun { background: #ffe4b2; }
.project-art-label { color: #67344e; }
.project-info h3 { font-family: var(--sans); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -1px; }
.writing { padding-block: 104px; }
.article-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.article-card { min-height: 240px; padding: 28px; border: 1px solid #f1dce5; border-radius: 24px; background: #fff; box-shadow: 0 10px 28px #a9346909; }
.article-card:nth-child(2n) { background: #fff4f8; }
.article-meta { color: #aa4772; }
.article-card h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.5px; }
.article-read { color: #a93469; }
.contact { width: min(1080px, calc(100% - 64px)); min-height: 275px; margin: 0 auto 65px; padding: 52px 63px; border-radius: 34px; background: linear-gradient(120deg, #ad3b6b, #d66e98); box-shadow: 0 18px 38px #ad3b6b26; }
.contact h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -1px; }
.site-footer { min-height: 94px; border-top: 1px solid #f0dfe7; }
.dialog { border: 1px solid #f0dbe4; border-radius: 24px; }
.dashboard-dialog { border-radius: 24px; }
.mini-button { border-radius: 999px; }
.login-screen { align-items: stretch; }
.login-decoration { border-radius: 32px; }
.login-dialog { border-radius: 28px; }

@keyframes bear-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}
@keyframes bear-wave {
  0%, 100% { transform: rotate(-35deg); }
  50% { transform: rotate(-68deg); }
}
@keyframes bear-blob {
  0%, 100% { border-radius: 46% 54% 50% 50% / 50% 44% 56% 50%; }
  50% { border-radius: 53% 47% 44% 56% / 44% 54% 46% 56%; }
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.13); }
}
@keyframes sparkle {
  0%, 100% { opacity: .45; transform: scale(.8) rotate(-10deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(10deg); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: .7; }
  50% { transform: scaleX(.82); opacity: .4; }
}
@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: 700px) {
  .site-header { width: calc(100% - 32px); height: 74px; }
  .main-nav { gap: 2px; padding: 4px; }
  .main-nav a { padding: 8px 10px; font-size: 10px; }
  .hero { width: calc(100% - 28px); min-height: auto; padding: 45px 28px 65px; border-radius: 28px; }
  .hero h1 { font-size: clamp(58px, 15vw, 76px); letter-spacing: -3.8px; }
  .hero-art { width: min(340px, 90%); margin-top: 28px; }
  .bear-caption { right: -7px; }
  .hero-index { right: 25px; bottom: 23px; }
  .about { padding: 45px 26px; border-radius: 26px; }
  .about-grid { gap: 26px; }
  .projects { width: calc(100% - 20px); padding-block: 58px; border-radius: 28px; }
  .projects .section-wrap { width: calc(100% - 32px); }
  .project-card { border-radius: 22px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { border-radius: 20px; }
  .contact { width: calc(100% - 28px); border-radius: 26px; }
  .login-screen { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .site-header { width: calc(100% - 24px); }
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; }
  .hero { padding-inline: 22px; }
  .hero-art { width: 94%; }
}

.project-art { isolation: isolate; background: radial-gradient(ellipse at 50% 80%, #ffe9f0, transparent 46%), linear-gradient(145deg, #f8c3d6, #eea5c1); }
.project-art::before { width: 290px; height: 290px; top: 26px; border-style: dashed; border-color: #91436355; }
.project-art::after { width: 210px; height: 210px; top: 67px; border: 0; background: #fff3f7a8; }
.project-bear { position: absolute; z-index: 2; top: 48%; left: 50%; width: min(270px, 76%); height: 90%; overflow: visible; filter: drop-shadow(0 11px 8px #8e3c5a26); transform: translate(-50%, -50%); animation: project-bear-bob 2.8s ease-in-out infinite; }
.project-bear-fur { fill: #bd815f; stroke: #91583e; stroke-width: 3; }
.project-bear-belly, .project-bear-muzzle, .project-bear-ear { fill: #f5d7c3; }
.project-bear-ear { stroke: #d7a38a; stroke-width: 2; }
.project-bear-eye, .project-bear-nose { fill: #493034; }
.project-bear-cheek { fill: #ed9ba9; opacity: .8; }
.project-bear-smile { fill: none; stroke: #70433e; stroke-width: 3; stroke-linecap: round; }
.project-bear-bow path, .project-bear-bow circle { fill: #dc6091; stroke: #a93469; stroke-width: 2; }
.project-bear-heart { fill: #ed79a6; stroke: #bd4775; stroke-width: 2; transform-origin: 72px 242px; animation: heart-beat 1.3s ease-in-out infinite; }
.project-bear-arm { transform-origin: 215px 166px; animation: project-bear-wave 1.6s ease-in-out infinite; }
.project-bear-shadow { fill: #8e3c5a2e; animation: shadow-breathe 2.8s ease-in-out infinite; transform-origin: center; }
.project-bear-spark { position: absolute; z-index: 3; color: #a93469; }
.project-bear-spark-one { top: 14%; left: 18%; font-size: 30px; animation: sparkle 2.2s ease-in-out infinite; }
.project-bear-spark-two { top: 21%; right: 17%; font-size: 34px; animation: sparkle 1.7s ease-in-out .4s infinite; }
.project-bear-spark-three { bottom: 17%; right: 14%; font-size: 27px; animation: sparkle 2.5s ease-in-out .8s infinite; }
.project-bear-note { position: absolute; z-index: 4; left: 50%; bottom: 17px; padding: 8px 16px; border: 1px solid #f3cfdd; border-radius: 999px; background: #fff8fb; color: #a93469; font: 600 12px var(--serif); white-space: nowrap; transform: translateX(-50%) rotate(-3deg); box-shadow: 0 5px 16px #a934691a; }
@keyframes project-bear-bob {
  0%, 100% { transform: translate(-50%, -50%) rotate(-1deg); }
  50% { transform: translate(-50%, calc(-50% - 8px)) rotate(1deg); }
}
@keyframes project-bear-wave {
  0%, 100% { transform: rotate(-35deg); }
  50% { transform: rotate(-68deg); }
}
