/* Composition: compact personal introduction followed by a full-width project gallery. */
.intro-compact{max-width:1120px;margin:auto;padding:42px 30px 34px}.intro-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:10px}.intro-topline p{margin:0;font-size:9px;letter-spacing:.09em}.intro-compact h1{font-size:clamp(44px,5.5vw,66px);letter-spacing:-2.9px;line-height:1.15;margin:23px 0 14px;font-weight:650}.intro-compact h1 span{color:var(--accent)}.intro-summary{font-size:15px;line-height:1.85;max-width:650px;color:var(--muted);margin:0}.intro-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line);padding:25px 0 27px;font-size:11px}.intro-project-link{font-weight:550;display:inline-flex;align-items:center;gap:20px;color:var(--accent)}.intro-bottom>div{display:flex;gap:24px}.projects-gallery{padding-top:10px}.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.gallery-heading h2{font-size:24px;letter-spacing:-.7px;font-weight:600}.gallery-heading>span{font-size:10px;color:var(--muted)}.gallery-work{scroll-margin-top:100px;margin:0 0 55px}.gallery-project-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.gallery-title{display:flex;align-items:center;gap:11px}.gallery-number{font-size:10px;color:var(--muted);margin-right:5px}.gallery-title img{width:33px;height:33px;border-radius:9px}.gallery-title h3{font-size:26px;line-height:1.3;letter-spacing:-.9px;margin:0;font-weight:650}.gallery-type{font-size:10px;color:var(--muted);border-left:1px solid var(--line);padding-left:14px;margin-left:7px}.gallery-open{background:none;border:0;padding:5px 0;color:var(--accent);font-size:11px}.gallery-open:hover{text-decoration:underline;text-underline-offset:5px}.gallery-preview{display:block;width:100%;border:1px solid var(--line);border-radius:10px;padding:25px 25px 0;position:relative;overflow:hidden;text-align:left;isolation:isolate}.gallery-purple{background:#dce7f0}.gallery-green{background:#e1e7d9}.gallery-preview>img{width:100%;height:auto;aspect-ratio:1.92;object-fit:cover;object-position:top;display:block;border:1px solid #00000017;border-bottom:0;border-radius:8px 8px 0 0;box-shadow:0 10px 40px #142b4515;transition:transform .25s}.gallery-preview:hover>img{transform:translateY(-3px)}.gallery-preview-label{display:flex;align-items:center;gap:18px;position:absolute;bottom:20px;right:22px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:9px 13px;font-size:10px;box-shadow:0 5px 15px #0001}.gallery-details{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;padding-top:23px}.gallery-details h4{font-size:17px;letter-spacing:-.3px;font-weight:550;margin:0 0 8px}.gallery-details p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.gallery-tech{padding-left:22px;border-left:1px solid var(--line)}.gallery-tech p{font-size:10px;line-height:1.9;margin-bottom:13px}.gallery-tech a{font-size:11px;color:var(--accent)}.gallery-tech>span{display:block;font-size:9px;color:var(--muted);margin-top:10px}.gallery-learning{border-top:1px solid var(--line);margin:20px 0 0;padding-top:14px;font-size:11px;color:var(--muted);line-height:1.9}.gallery-learning strong{font-weight:550;color:var(--ink);margin-right:14px}.projects-gallery .lab{margin-top:0;padding-top:25px;display:grid;grid-template-columns:1fr 2fr}.projects-gallery .lab-tag{grid-column:2}html[data-theme=dark] .gallery-purple{background:#1b3045}html[data-theme=dark] .gallery-green{background:#262e24}.about{margin-top:0}
@media(max-width:800px){.gallery-details{gap:35px}.gallery-title h3{font-size:24px}.gallery-type{font-size:9px}.intro-summary{font-size:14px}}
@media(max-width:600px){.intro-compact{padding:28px 23px 24px}.intro-topline{display:block}.intro-topline p{font-size:8px}.intro-topline>span{display:block;font-size:10px;margin-top:6px}.intro-compact h1{font-size:47px;letter-spacing:-2px;margin:21px 0 12px}.intro-summary{font-size:13px;line-height:1.8}.intro-bottom{padding:20px 0 23px;gap:18px;font-size:10px}.intro-project-link{gap:10px}.intro-bottom>div{gap:14px}.projects-gallery{padding-top:6px}.gallery-heading{align-items:baseline;margin-bottom:24px}.gallery-heading h2{font-size:21px}.gallery-heading>span{font-size:8px;max-width:110px;text-align:right}.gallery-project-heading{gap:12px;margin-bottom:12px}.gallery-title{gap:8px;flex-wrap:wrap}.gallery-number{font-size:9px;margin-right:2px}.gallery-title img,.gallery-title .plata-symbol{width:27px;height:27px}.gallery-title h3{font-size:22px}.gallery-type{display:none}.gallery-open{font-size:10px;white-space:nowrap}.gallery-preview{padding:12px 12px 0;border-radius:8px}.gallery-preview>img{aspect-ratio:1.24;border-radius:5px 5px 0 0}.gallery-preview-label{bottom:11px;right:11px;font-size:8px;padding:7px 9px;gap:12px}.gallery-details{grid-template-columns:1fr;gap:17px;padding-top:17px}.gallery-details h4{font-size:16px}.gallery-details p{font-size:12px;line-height:1.85}.gallery-tech{padding-left:0;border-left:0}.gallery-tech p{font-size:10px;margin-bottom:8px}.gallery-tech>span{font-size:9px}.gallery-learning{font-size:10px;padding-top:12px;margin-top:17px}.gallery-learning strong{display:block;margin-right:0;margin-bottom:3px}.gallery-work{margin-bottom:36px}.projects-gallery .lab{grid-template-columns:1fr;gap:10px}.projects-gallery .lab-tag{grid-column:1}}
@media(prefers-reduced-motion:reduce){.gallery-preview>img{transition:none}}

/* Personal portrait approved for the about section. */
.about-portrait{display:block;width:230px;max-width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:14px;border:1px solid var(--line);margin-top:23px}@media(max-width:600px){.about-portrait{width:200px;margin-top:20px}}

/* Carlitti monogram: C with an aircraft at its opening. */
.brand-mark{display:block;width:35px;height:35px;flex-shrink:0}@media(max-width:600px){.brand-mark{width:30px;height:30px}}

/* Carlitti identity: navy, slate, cloud and an aviation monogram. */
.brand{font-size:19px;font-weight:650;letter-spacing:-.75px;gap:9px;color:var(--ink)}.brand-mark{width:40px;height:40px}.brand-mark-dark{display:none}html[data-theme=dark] .brand-mark-light{display:none}html[data-theme=dark] .brand-mark-dark{display:block}.nav{padding-block:15px}.intro-compact h1{font-weight:650;letter-spacing:-2.5px}.intro-compact h1 span{color:var(--ink)}.intro-project-link{color:var(--accent)}.gallery-project-heading{border-top:1px solid var(--line);padding-top:19px}.gallery-preview{border-radius:6px}.gallery-preview-label{border-radius:4px}.section-label{letter-spacing:.12em}.theme-toggle{border-color:transparent;background:transparent}.pill,.button-primary{background:#142b45;border-color:#142b45;color:#fff}.pill:hover,.button-primary:hover{background:#274e70;color:#fff}html[data-theme=dark] .pill{background:#d5e6f3;color:#142b45;border-color:#d5e6f3}.formation-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}.about-portrait{border-radius:8px}@media(max-width:600px){.brand{font-size:17px;gap:6px}.brand-mark{width:32px;height:32px}.intro-compact h1{letter-spacing:-1.8px}.nav{padding-block:12px}}
