:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #100e16;
  color: #f7f4fc;
  --muted: #c2b8d0;
  --line: #3d324c;
  --accent: #dfbbff;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #e8bcff; outline-offset: 5px; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 2; transform: translateY(-200%); background: #221934; padding: .6rem 1rem; }
.skip:focus { transform: none; }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.header-inner { min-height: 72px; padding-block: .65rem; }
.wordmark, nav { display: flex; align-items: center; gap: .85rem; }
.wordmark { text-decoration: none; font-weight: 750; }
.mark { display: grid; place-items: center; width: 38px; height: 38px; background: #2a1c3b; color: var(--accent); border: 1px solid #67468a; border-radius: 10px; font-size: .85rem; }
nav a { padding: .35rem .55rem; color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: .35em; }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.eyebrow { color: var(--accent); font-size: .82rem; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.45rem, 5vw, 4.55rem); letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }
.intro { margin: 1.3rem 0 1.7rem; font-size: 1.13rem; max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; font-weight: 750; }
.primary { background: var(--accent); color: #1c1029; }
.primary:hover { background: #f0dbff; }
.secondary { border-color: #745790; }
.secondary:hover { background: #2c2039; }
.portrait { position: relative; overflow: hidden; min-height: 330px; aspect-ratio: 4 / 4.3; margin: 0; border: 1px solid #59446f; border-radius: 1.25rem; background-color: #221832; background-position: center; background-size: cover; }
.studio { background-image: url("./assets/gr-catgirl-studio.png"), radial-gradient(ellipse at 72% 25%, #7c468f, transparent 56%), linear-gradient(135deg, #24203d, #341c42); }
.lavender { background-image: url("./assets/gr-catgirl-lavender.png"), radial-gradient(ellipse at 32% 30%, #695d9a, transparent 56%), linear-gradient(145deg, #241925, #372b52); }
figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1rem 1.15rem; background: #110d1be8; font-weight: 750; }
figcaption span, .note { color: var(--muted); font-size: .9rem; font-weight: 400; }
.projects { padding-bottom: 3.5rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
article { border: 1px solid var(--line); background: #191421; border-radius: .9rem; padding: 1.3rem; }
article p, .callout p { margin: .65rem 0 0; }
.callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.3rem; border: 1px solid #59446f; border-radius: 1rem; background: #20162c; padding: clamp(1.3rem, 4vw, 2.4rem); margin-bottom: 3.5rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 730px) {
  .hero, .project-grid { grid-template-columns: 1fr; }
  .desktop-break { display: none; }
  .portrait { min-height: 0; max-width: 28rem; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { gap: .4rem; }
  .wordmark, nav { gap: .3rem; }
  nav a { padding-inline: .3rem; }
}
