/* Charcoal, royal blue, and royal purple glass theme. Layout lives in styles.css. */
:root {
  color-scheme: dark;
  --paper: #15161c;
  --ink: #f0f2ff;
  --muted: #a2a8bf;
  --orange: #a99aff;
  --line: #adb7ff24;
  --dark: #12131b;
  --blue: #4169e1;
  --purple: #7851a9;
  --sans: 'Segoe UI', Arial, sans-serif;
  --serif: 'Segoe UI', Arial, sans-serif;
  --glass: linear-gradient(135deg, #c4ceff0c, #929cff04);
}
body {
  background: radial-gradient(ellipse at 8% 9%, #4169e11a, transparent 31%),
    radial-gradient(ellipse at 94% 16%, #7851a928, transparent 32%), #15161c;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#b5bbff03 1px, transparent 1px), linear-gradient(90deg, #b5bbff03 1px, transparent 1px);
  background-size: 64px 64px;
}
.header {
  position: relative; margin-top: 22px; height: 80px; padding-inline: 25px;
  background: linear-gradient(120deg, #33394c64, #25233264);
  border: 1px solid #b3baff26; border-radius: 19px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px #ffffff0a, 0 15px 50px #00000018;
}
.wordmark span { color: #9e88f2; text-shadow: 0 0 25px #7851a9a0; }
nav { color: #b8bed2; }
nav a:hover, .text-link:hover, .company-link:hover { color: #c1b8ff; }
.company-link { color: #b5bbd2; }
.status-dot { background: #698bff; box-shadow: 0 0 0 4px #4169e11c, 0 0 15px #4169e188; }
.hero { padding-block: 86px 84px; }
.eyebrow, .section-label { color: #b1b8d2; font-family: 'Cascadia Code', Consolas, monospace; letter-spacing: 1.35px; }
.short-line { background: #7696ff; box-shadow: 0 0 15px #4169e1; }
h1 { font-weight: 600; letter-spacing: -4px; }
h1 .heart-word { font-style: normal; font-weight: 600; color: #aa96fa; text-shadow: 0 0 45px #7851a94a; }
.heart-word svg { display: none; }
.hero-description { color: #aeb5cc; }
.hero-description a { color: #e3e7ff; border-color: #7589dc; }
.hero-footnote { color: #949db7; }
.asterisk { color: #a58ce9; text-shadow: 0 0 22px #7851a9; }
.button {
  background: linear-gradient(115deg, #4169e1, #6746ad); color: #fff;
  border: 1px solid #a9b6ff50; border-radius: 10px;
  box-shadow: inset 0 1px #ffffff25, 0 6px 30px #4169e128;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { background: linear-gradient(115deg, #537bf2, #7851a9); box-shadow: inset 0 1px #ffffff33, 0 8px 35px #6b58d655; }
.text-link { color: #d1d6ed; }
.text-link span { color: #aa96fa; }
.hero-art { height: 474px; }
.art-grid { background-image: radial-gradient(#9baeff40 .8px, transparent .8px); background-size: 18px 18px; }
.art-circle { inset: 33px 9px 27px 22px; border-color: #8795ff38; box-shadow: 0 0 65px #4169e10a, inset 0 0 50px #7851a912; }
.art-circle:before { border-color: #a88ae840; border-style: dashed; inset: 28px; }
.art-circle:after {
  background: radial-gradient(circle at 30% 25%, #7c9eff, #4169e1 39%, #7851a9 76%, #54348a);
  box-shadow: -28px 0 75px #4169e160, 35px 12px 80px #7851a95c, inset -15px -20px 40px #23174f88;
}
.art-coordinate, .art-bottom { color: #9ba6c6; font-family: Consolas, monospace; letter-spacing: 1.2px; }
.idea-note, .builder-card, .shipped-note {
  background: linear-gradient(125deg, #a7bcff17, #7a66b31a), #1c203168;
  border: 1px solid #b6c4ff38; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 1px #ffffff14, 0 20px 45px #00000036; color: #eff2ff;
}
.idea-note { border-radius: 14px; transform: translateY(3px) rotate(-5deg); }
.idea-note strong { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 26px; letter-spacing: -1px; }
.tiny-cross, .note-arrow { color: #a8b6ff; }
.builder-card { top: 145px; border-radius: 19px; transform: rotate(3deg); padding: 25px 27px; }
.card-top { color: #c0c9ec; font-family: Consolas, monospace; }
.card-symbol { color: #9e88f2; }
.mini-dot { background: #8ba6ff; box-shadow: 0 0 10px #4169e1; }
.builder-title { font-weight: 550; letter-spacing: -1px; }
.builder-title>span { color: #c0b2ff; font-style: normal; font-weight: 400; }
.build-diagram { filter: drop-shadow(0 0 5px #4169e160); }
.build-stages { color: #bac4e4; border-color: #b0c1ff28; font-family: Consolas, monospace; }
.shipped-note { border-radius: 14px; bottom: 0; transform: rotate(-2deg); }
.shipped-check { background: #4169e129; color: #b2c5ff; border: 1px solid #9bb3ff44; box-shadow: 0 0 20px #4169e11c; }
.shipped-note div>span { color: #a7b1d0; }
.intro-strip { background: #9daeff04; border-color: #a3b4ff20; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.intro-strip .wrap { color: #aab4d4; font-family: Consolas, monospace; letter-spacing: 1.6px; }
.intro-strip span:nth-child(even) { color: #a38adb; }
h2 { font-weight: 550; }
.muted-serif { color: #a18be3; font-style: normal; font-weight: 500; }
.about-grid { gap: 65px; align-items: center; }
.about-copy {
  background: var(--glass); border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px #ffffff09;
}
.about-copy p, .company p { color: #abb3c9; }
.about-copy .lead { color: #eef1ff; }
.about-facts { border-color: var(--line); }
.about-facts strong { color: #b5c5ff; font-variant-numeric: tabular-nums; }
.about-facts span { color: #a0abc7; }
.work { background: radial-gradient(ellipse at 82% 80%, #7851a91a, transparent 55%), linear-gradient(150deg, #10121abf, #1a1c2b80); color: #f0f2ff; border-block: 1px solid #acb9ff1a; }
.work .section-label, .work-heading>p { color: #aab4cf; }
.work .orange { color: #a99aff; }
.work .muted-serif { color: #ac97ef; }
.project {
  padding: 15px 15px 20px; background: linear-gradient(145deg, #b5c5ff0e, #a78bfa05);
  border: 1px solid #acbfff24; border-radius: 18px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px #ffffff09, 0 14px 40px #0000001c;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.project:hover { transform: translateY(-5px); border-color: #9ca8ff68; box-shadow: 0 16px 45px #4169e117, inset 0 1px #ffffff14; }
.project-image { border-radius: 11px; background: #101322; }
.project-image img { opacity: .92; }
.project-image:after { background: linear-gradient(#10172988, transparent 50%, #24164125); }
.project-number { letter-spacing: 1px; font-family: Consolas, monospace; }
.image-arrow { background: #3d426599; color: #fff; border: 1px solid #cad3ff55; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.project-image:hover .image-arrow { background: #4169e1b3; }
.project-meta { color: #aab7d6; font-size: 7px; letter-spacing: 1px; }
.project-meta i { background: #8da6ff; box-shadow: 0 0 8px #4169e1; }
h3 button span { color: #a89aeb; }
.project p { color: #a8b0c9; }
.project-link { color: #b3c3fb; border-color: #b2c4ff26; }
.project-link:hover { color: #d2c3ff; }
.work-footer { color: #9ca8c5; border-color: #b2c4ff26; }
.work-footer a { color: #c6bcf7; }
.company-emblem {
  background: radial-gradient(circle at 50% 40%, #4169e124, #7851a912 65%, transparent 66%), var(--glass);
  border-color: #a5b5ff35; box-shadow: inset 0 0 45px #4169e10d, 0 0 50px #7851a90d;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.company-emblem img { filter: drop-shadow(0 0 20px #7851a95c); }
.company-emblem span { color: #aebae0; }
.contact { background: radial-gradient(ellipse at 0 100%, #4169e11a, transparent 65%), radial-gradient(ellipse at 100% 0, #7851a92a, transparent 65%), #1a1c2770; border-color: #adbbff26; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.contact .muted-serif { color: #b39af3; }
.contact-arrow {
  color: #c0cbff; background: linear-gradient(140deg, #4169e124, #7851a92d);
  border-color: #aab9ff4a; box-shadow: inset 0 1px #ffffff15, 0 0 50px #7851a918;
}
.contact-arrow:hover { background: #4169e175; color: #fff; box-shadow: 0 0 45px #4169e13a; }
.contact-bottom p { color: #a6b0cb; }
.email-group { color: #d2d9f5; }
.email-group>a { border-color: #8a9be26b; }
.email-group button:hover { background: #a4b7ff15; }
#copy-status { color: #c1adff; }
.footer { color: #9ba6c2; }
.footer-name, .footer>a:last-child { color: #d9def4; }
.skip-link { background: #4169e1; color: #fff; }
dialog {
  background: linear-gradient(135deg, #8d9ffc12, #9475c816), #1b1e2bec;
  color: #eef1ff; border-color: #bac7ff47; border-radius: 20px;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px #ffffff14, 0 30px 100px #00000088, 0 0 70px #7851a91a;
}
dialog::backdrop { background: #090b17b0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dialog-close { background: #242b48dd; color: #fff; border: 1px solid #c6d2ff44; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dialog-close:hover { background: #4169e1; }
.dialog-content p { color: #b7c1db; }
.dialog-content .art-note { color: #9aa8c7; }
@media(max-width:1050px) {
  .hero-art { height: 446px; }
  .builder-card { top: 133px; padding: 23px; }
  .about-grid { gap: 35px; }
  .about-copy { padding: 24px; }
  .project { padding: 12px 12px 17px; }
  .project-meta { font-size: 6px; letter-spacing: .6px; }
}
@media(max-width:760px) {
  .header { margin-top: 14px; height: 74px; padding-inline: 17px; border-radius: 15px; }
  .hero { padding-block: 51px 65px; }
  h1 { letter-spacing: -3px; }
  .hero-art { height: 465px; }
  .builder-card { top: 140px; }
  .about-grid { gap: 29px; }
  .about-copy { padding: 24px; }
  .about-facts { gap: 9px; }
  .about-facts span { font-size: 9px; }
  .project { padding: 16px 16px 22px; }
  .project-meta { font-size: 8px; letter-spacing: .8px; }
  .company-emblem { height: 205px; }
  .contact h2 { font-size: 50px; letter-spacing: -2.7px; }
  .contact-main { gap: 15px; }
}
@media(max-width:390px) {
  .header { padding-inline: 12px; }
  nav { gap: 12px; font-size: 9px; }
  h1 { font-size: 48px; letter-spacing: -2.8px; }
  .hero-art { height: 423px; }
  .builder-card { top: 124px; padding: 22px; }
  .art-coordinate { font-size: 7px; letter-spacing: .7px; }
  .art-bottom { font-size: 6px; letter-spacing: 1px; }
  .contact h2 { font-size: 43px; letter-spacing: -2px; }
  .about-copy { padding: 20px; }
}
@supports not (backdrop-filter: blur(1px)) {
  .header, .idea-note, .builder-card, .shipped-note, .about-copy, .project, dialog { background-color: #222638; }
}

/* Personal portraits, framed in the same blue and purple glass system. */
.hero-portrait { position: relative; isolation: isolate; margin: 0 9px 0 19px; padding: 10px; height: 520px; border: 1px solid #b8c4ff38; border-radius: 27px; background: linear-gradient(145deg, #a4b8ff16, #a78bfa09); box-shadow: inset 0 1px #ffffff15, 0 23px 70px #00000040; }
.hero-portrait::before { content: ''; position: absolute; z-index: -1; inset: 35px -30px; border-radius: 50%; background: linear-gradient(135deg, #4169e13a, #7851a945); filter: blur(48px); }
.portrait-frame { height: 100%; overflow: hidden; border-radius: 18px; background: #232633; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.portrait-frame::after { content: ''; position: absolute; inset: 10px; border-radius: 18px; background: linear-gradient(transparent 63%, #0b101b66); pointer-events: none; }
.portrait-caption { position: absolute; bottom: 27px; left: -18px; right: 22px; display: flex; align-items: center; gap: 17px; padding: 18px 22px; border: 1px solid #bacbff47; border-radius: 14px; background: linear-gradient(125deg, #2c3556c4, #302740bc); color: #f0f2ff; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 1px #ffffff13, 0 12px 30px #0004; }
.portrait-caption strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.25px; }
.portrait-caption div>span { display: block; font-size: 10px; margin-top: 5px; color: #c6cde5; }
.portrait-signature { margin-left: auto; font-size: 34px; font-weight: 750; letter-spacing: -3px; color: #b8a4ff; }
.about-grid { align-items: center; }
.about-intro h2 { font-size: clamp(34px, 3.7vw, 49px); }
.about-portrait { margin: 26px 0 0; padding: 7px; border: 1px solid #b5c3ff35; border-radius: 18px; background: linear-gradient(135deg, #adbdff0e, #a58af910); box-shadow: 0 15px 40px #0002; }
.about-portrait img { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; object-fit: cover; border-radius: 11px; }
@media(max-width:1050px) { .hero-portrait { height: 490px; margin-left: 0; margin-right: 0; } .portrait-caption { left: -10px; right: 17px; padding: 16px; } .about-grid { gap: 35px; } }
@media(max-width:760px) { .hero-portrait { height: auto; aspect-ratio: 4 / 5; max-width: 440px; width: calc(100% - 10px); margin: 12px auto 4px; } .portrait-frame { position: absolute; inset: 10px; } .portrait-frame::after { inset: 0; } .portrait-caption { left: -7px; right: 15px; bottom: 22px; } .hero-portrait::before { inset: 30px 0; } .about-intro h2 { font-size: 42px; } .about-portrait { margin-top: 24px; } }
@media(max-width:390px) { .portrait-caption { gap: 13px; padding: 15px; } .portrait-caption strong { font-size: 15px; } .portrait-signature { font-size: 30px; } .about-intro h2 { font-size: 38px; } }
@media(max-width:760px) { .about-grid .about-intro h2 br { display: initial; } }
