/* Shared accessibility plus the approved header, team, services and profile refinements. */
:focus-visible { outline:2px solid #3b82f6 !important; outline-offset:5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:12px; top:12px; z-index:200; padding:12px 18px; color:#171717; background:white; transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
header nav a, #drawer a { position:relative; }
header nav a::before, #drawer a::before { content:""; position:absolute; inset:-12px -4px; }
#navOpen, #navClose, #lightbox button, #videoModal > button { min-width:44px; min-height:44px; }
#navClose, #lightbox button, #videoModal > button { display:flex; align-items:center; justify-content:center; }
footer .text-neutral-500, footer .text-neutral-600 { color:#a3a3a3; }
body.bg-white header .text-neutral-400 { color:#737373; }
body.bg-black dl dt { color:#a3a3a3; }
dl > div { gap:12px; } dl dd { text-align:right; }
#lightboxInner img, #lightboxInner video { max-width:100%; max-height:85vh; width:auto; height:auto; object-fit:contain; }
#lightboxInner img { touch-action:none; user-select:none; -webkit-user-drag:none; }
/* Match the original open gallery: the viewport, not the image-sized wrapper, clips zoom. */
#lightbox { overflow:hidden; }
#lightboxInnerWrapper { overflow:visible; }
#lightboxInner { width:100%; min-width:0; overflow:visible; }
#lightboxInner img, #lightboxInner video { flex:0 0 auto; }
.background-toggle { position:absolute; top:12px; right:12px; z-index:20; min-width:44px; min-height:44px; padding:8px 12px; border:1px solid #ffffff66; border-radius:999px; background:#00000099; color:white; font-size:11px; }
.team-card:not(:has(a)) { cursor:default; }
.team-card:focus-within .team-img { filter:grayscale(0); }
.team-card a:focus-visible { opacity:1; transform:translateY(0); }
.site-brand { flex-shrink:0; white-space:nowrap; }
.site-brand span { font-size:16px; }
.site-header > div { gap:16px; }
.site-header nav { white-space:nowrap; }
.home-page main { padding-top:64px; }
.home-page main > section:first-child { overflow:hidden; }
#drawer { overflow-y:auto; }
#services { scroll-margin-top:96px; }
.service-item { padding-top:18px; border-top:1px solid #d4d4d4; }
.service-item h3 { color:#171717; font-size:18px; font-weight:700; line-height:1.4; margin-bottom:10px; }
.service-item p { color:#525252; font-size:14px; line-height:1.8; max-width:46ch; }
.project-enquiry-link { display:inline-flex; align-items:center; gap:16px; min-height:44px; padding:12px 20px; margin-top:32px; border:1px solid #171717; color:#171717; font-size:12px; font-weight:700; }
.project-enquiry-link:hover { background:#171717; color:white; }
.team-card .team-portrait { width:70%; aspect-ratio:3/4; margin:18px auto 0; flex-shrink:0; }
.team-profile-link { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; font-size:11px; color:#525252; text-decoration:underline; text-underline-offset:4px; }
.team-profile-link:hover { color:#0ea5e9; }
.project-summary { max-width:64ch; margin-top:24px; color:#d4d4d4; font-size:14px; line-height:1.9; }
body.bg-black dl > div { align-items:flex-start; }
body.bg-black dl dt { max-width:45%; flex-shrink:0; }
body.bg-black dl dd { min-width:0; overflow-wrap:anywhere; }
.profile-main { padding:112px 0 64px; }
.profile-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:32px; padding:0 20px; max-width:1080px; }
.profile-portrait { width:180px; max-width:100%; }
.profile-portrait img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; filter:grayscale(100%); }
.profile-copy { min-width:0; }
.profile-back { display:inline-flex; align-items:center; min-height:44px; margin-bottom:12px; font-size:12px; color:#525252; }
.profile-back:hover { color:#0ea5e9; }
.profile-copy h1 { font-size:32px; line-height:1.2; font-weight:800; letter-spacing:-0.025em; margin-bottom:20px; }
.profile-role { font-weight:700; color:#171717; line-height:1.7; }
.profile-affiliation { margin-top:5px; font-size:14px; color:#525252; line-height:1.7; }
.profile-biography { margin-top:28px; color:#525252; font-size:15px; line-height:1.9; }
.profile-biography p + p { margin-top:20px; }
.quick-contact { display:grid; gap:24px; margin-bottom:36px; }
.quick-contact[hidden], .quick-contact > [hidden] { display:none !important; }
.contact-label { color:#737373; text-transform:uppercase; letter-spacing:0.15em; font-size:11px; font-weight:700; }
.contact-option { display:inline-flex; align-items:center; min-height:44px; gap:8px; font-weight:600; font-size:18px; color:#171717; }
.contact-option:hover { color:#0ea5e9; }
@media (hover:none) {
}
@media (max-width:767px) {
 .team-card .team-portrait { margin-top:12px; }
}
@media (min-width:768px) {
 .site-brand span { font-size:20px; }
 .home-page main { padding-top:80px; }
 .profile-main { padding:144px 0 96px; }
 .profile-layout { grid-template-columns:240px minmax(0,1fr); gap:56px; }
 .profile-portrait { width:240px; margin-top:12px; }
 .profile-copy h1 { font-size:44px; }
 .project-summary { font-size:16px; }
}
@media (min-width:768px) and (max-width:1023px) {
 .site-header nav { gap:20px; font-size:10px; letter-spacing:0.12em; }
 .site-brand { gap:10px; }
 .site-brand span { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) {
 *, *::before, *::after { scroll-behavior:auto !important; animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

/* Approved full logo: original PNG, proportional sizing and CSS-only color overlays.
   Visible PNG bounds: 165,102..1851,701. No font substitution or image redraw. */
.site-brand--lockup { display:flex; align-items:center; min-height:44px; gap:0; }
.site-brand--lockup .jilamo-lockup {
 display:block; position:relative; overflow:hidden; flex:none;
 height:44px; width:calc(44px * 1686 / 599);
}
.site-brand--lockup .jilamo-logo-source {
 display:block; position:absolute; max-width:none;
 width:117.615658%; height:132.387312%; left:-9.786477%; top:-17.028381%;
 object-fit:fill; filter:none; transform:none;
}
.jilamo-logo-overlay {
 position:absolute; inset:0; pointer-events:none;
 -webkit-mask-image:url('brand/jilamo-studio-source.png');
 mask-image:url('brand/jilamo-studio-source.png');
 -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
 -webkit-mask-size:117.615658% 132.387312%; mask-size:117.615658% 132.387312%;
 -webkit-mask-position:55.555556% 52.577320%; mask-position:55.555556% 52.577320%;
}
.jilamo-logo-mark { background:#0ea5e9; clip-path:inset(0 77% 0 0); }
.jilamo-logo-word { display:none; background:#fff; clip-path:inset(0 0 0 23%); }
.brand-on-dark .jilamo-logo-word { display:block; }
@media (min-width:768px) {
 .site-brand--lockup .jilamo-lockup { height:52px; width:calc(52px * 1686 / 599); }
}
/* All seven project facts cards use the same three-row structure. */
.project-facts { margin:0; display:grid; grid-template-rows:repeat(3,minmax(60px,auto)); }
.project-facts > div {
 display:grid; grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);
 align-items:center !important; column-gap:12px; padding:12px 0;
 min-height:60px; border-bottom:1px solid #ffffff1a;
}
.project-facts > div:last-child { border-bottom:0; }
body.bg-black .project-facts dt {
 max-width:none; margin:0; color:#a3a3a3;
 font-weight:700; text-transform:uppercase; letter-spacing:0.05em; line-height:1.5;
}
body.bg-black .project-facts dd {
 margin:0; min-width:0; color:#fff; font-weight:700; line-height:1.5;
 text-align:right; overflow-wrap:anywhere; font-variant-numeric:tabular-nums;
}
.project-design-credit { margin-top:16px; color:#d4d4d4; font-size:12px; line-height:1.7; }
.project-design-credit span { color:#a3a3a3; }
