/* Project imagery stays readable, inspectable, and independent of animation. */
.image-inspect{display:block;position:relative;overflow:hidden;isolation:isolate}
.image-inspect img{display:block;width:100%;height:auto}
.inspect-label{position:absolute;right:14px;bottom:14px;border:1px solid #ffffff40;background:#10171be8;color:#fff;padding:6px 12px;border-radius:24px;font:400 .8125rem/1.6 'IBM Plex Mono',monospace;opacity:0;transition:opacity .2s}
.image-inspect:hover .inspect-label,.image-inspect:focus-visible .inspect-label{opacity:1}
.project-films{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:45px 0}
.project-film:first-child{grid-column:1/-1}
.project-film{min-width:0;margin:0}
.film-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0}
.film-header h3{font:500 1.125rem/1.4 'Space Grotesk',sans-serif;letter-spacing:-.02em;margin:0}
.film-header span{font:400 .8125rem/1.6 'IBM Plex Mono',monospace;color:var(--muted,#586575);white-space:nowrap}
.project-film video{display:block;width:100%;height:auto;background:#101316;border:1px solid var(--line,#d5dce4);border-radius:8px;max-height:740px}
.film-screen{position:relative}
.film-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:14px;padding:13px 22px 13px 13px;border:1px solid #b7c7bc9c;border-radius:40px;background:#101a19ee;box-shadow:0 8px 30px #0008;backdrop-filter:blur(12px);color:#f5f8f3;white-space:nowrap;font:500 .9375rem/1.4 'Space Grotesk',sans-serif;cursor:pointer}
.film-play[hidden]{display:none}
.film-play:hover{border-color:#c1f86c;background:#19291bf5}
.play-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#c1f86c;color:#152016;font-size:.875rem;padding-left:2px}
.listing-feature .film-header h3,.visual-project .film-header h3{font-size:1.125rem;line-height:1.4;letter-spacing:-.02em;margin:0}
.project-film figcaption,.media-caption{font-size:.8125rem;line-height:1.7;color:var(--muted,#586575);margin-top:12px;max-width:900px}
.single-film{display:block}
.project-resource-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin-top:25px}
.project-resource-links a{font-size:.9375rem;text-decoration:underline;text-underline-offset:5px}
.project-feature-link,.project-resource-links a.project-feature-link{font-size:1rem;font-weight:600;line-height:1.5;text-decoration:none}
.case-gallery.media-gallery{align-items:start;margin-block:45px}
.case-gallery.media-gallery img{width:100%;height:auto;object-fit:contain}
.media-gallery .portrait-capture{justify-self:center;width:100%;max-width:310px}
.media-gallery .portrait-capture img{max-height:620px;object-fit:contain}
.image-dialog{width:min(1500px,96vw);max-width:none;max-height:95dvh;padding:60px 18px 20px;border:1px solid #536158;border-radius:12px;background:#101617;color:#edf2ed;overflow:auto}
.image-dialog::backdrop{background:#05090ced;backdrop-filter:blur(10px)}
.image-dialog figure{margin:0}
.image-dialog img{display:block;width:auto;height:auto;max-width:100%;max-height:77dvh;object-fit:contain;margin:auto}
.image-dialog figcaption{color:#bdc8c1;max-width:1000px;margin:15px auto 0;font-size:.875rem}
.image-dialog-close{position:absolute;top:12px;right:16px;padding:7px 15px;min-height:36px;border:1px solid #718078;border-radius:24px;background:#1a2322;color:#f4f6f4;font:400 .875rem/1.4 'Space Grotesk',sans-serif;cursor:pointer}
body.viewer-open{overflow:hidden}

/* Studio's opening display contains real work, with manual project selection. */
.studio-showreel{position:relative;padding:20px 0 20px 15px;min-width:0}
.studio-showreel>.orbital-art{position:absolute;inset:-7% -8%;width:116%;max-width:none;opacity:.18;z-index:0;pointer-events:none}
.studio-showreel .orb-label{display:none}
.project-console{position:relative;z-index:1;background:#0d1213;border:1px solid #4e5c4a;border-radius:14px;box-shadow:0 35px 100px #0007;overflow:hidden;transform:rotate(-2deg)}
.console-chrome{display:flex;justify-content:space-between;gap:15px;padding:16px 18px;font:.75rem/1.6 'IBM Plex Mono',monospace;color:#b7c7ac;border-bottom:1px solid #354039}
.console-screens{padding:14px 14px 0}
.console-panel[hidden]{display:none}
.console-panel>a{display:block;aspect-ratio:1.5;overflow:hidden;border:1px solid #354039;background:#111517}
.console-panel img{width:100%;height:100%;object-fit:contain}
.console-panel#console-cyberdeck img{object-fit:cover}
.console-caption{padding:20px 8px;display:flex;justify-content:space-between;gap:16px;align-items:center}
.console-caption strong{font-size:1.25rem;font-weight:500;letter-spacing:-.03em}
.console-caption span{font-size:.8125rem;color:#a6afa9;text-align:right}
.console-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:0 14px 14px;gap:5px}
.console-tabs[hidden]{display:none}
.console-tabs button{min-width:0;padding:11px 5px;font:.8125rem/1.4 'Space Grotesk',sans-serif;border:1px solid #354039;border-radius:5px;background:transparent;color:#b6bfb8}
.console-tabs button[aria-selected=true]{background:#c1f86c;color:#152016;border-color:#c1f86c}
.console-tabs button:hover{border-color:#c1f86c}
.console-note{padding:13px 18px;border-top:1px solid #354039;font:.75rem/1.6 'IBM Plex Mono',monospace;color:#9daa9f}

/* Each discipline has its own scale and composition. */
.project-contents{display:flex;flex-wrap:wrap;gap:9px 24px;border-block:1px solid var(--line);padding:18px 0;margin-bottom:34px}
.project-contents a{font-size:.875rem;text-decoration:underline;text-underline-offset:5px}
.project-contents a:hover{color:var(--accent)}
.listing-feature{display:grid;grid-template-columns:.8fr 1.2fr;border:1px solid var(--line);margin:0 0 55px;background:var(--panel);overflow:hidden}
.listing-feature .secondary-copy{padding:35px}
.listing-feature h3{font-size:2.8rem}
.listing-feature-visual{min-width:0;padding:30px;background:#181c1b;display:flex;justify-content:center;flex-direction:column}
.listing-feature-visual img{border:1px solid #687269;border-radius:6px}
.listing-feature-visual .media-caption{color:#aebbb2}
.listing-feature .project-films{grid-column:1/-1;margin:0;padding:0 35px 28px}
.listing-feature video{max-height:530px}
.studio .listing-feature{border-radius:16px}
.studio .listing-feature .secondary-copy h3{color:#f0f2ec}
.project-pair-label{grid-column:1/-1;margin:25px 0 -8px;display:flex;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line);padding-bottom:20px}
.project-pair-label h3{font-size:1.35rem;letter-spacing:-.03em}
.project-pair-label p{font-size:.875rem;color:var(--muted)}
.secondary-visual .image-inspect{height:100%}
.secondary-visual .image-inspect img{width:100%;height:100%;object-fit:contain;padding:12px}
.cyberdeck-project .secondary-visual .image-inspect img{object-fit:cover;padding:0}
.secondary-project .project-resource-links{gap:10px 20px;margin-top:17px}
.secondary-project .media-caption{padding:0 2px}
.secondary-project .project-films{margin:25px 0 0}
.secondary-project .film-header{padding-top:0;flex-wrap:wrap;gap:8px}
.secondary-project .film-header h3{font-size:1rem}
.case-movie-section{border-top:1px solid var(--line);padding-top:20px;margin-top:35px}
.case-movie-section>.eyebrow{margin-top:10px}
.case-aside .image-inspect img{object-fit:contain}
.case-showcase{margin-top:40px}
.case-showcase .image-inspect img{max-height:670px;object-fit:contain;background:var(--panel)}
.case-hero-media .case-visual{display:none}
.additional-showcases{display:grid;gap:45px;margin:50px 0}
.visual-project{display:grid;grid-template-columns:1fr 1.1fr;gap:35px;padding:35px;background:#f0f4f9;border:1px solid #d5dce4;border-radius:14px}
.visual-project h3{font-size:2.8rem;letter-spacing:-.045em;line-height:1.15;margin:15px 0 20px}
.visual-project-copy>p:not(.section-label){color:#536476;line-height:1.75}
.visual-project .visual-purpose{font-size:1.2rem;font-weight:500;color:#162a40!important}
.visual-role{font-size:.875rem;margin-top:22px}
.visual-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:25px}
.visual-project-media{min-width:0;align-self:center}
.visual-project-media img{border-radius:8px;border:1px solid #c9d4df}
.visual-project .project-films{grid-column:1/-1;margin:0}
.blueprint .listing-feature{display:block}
.blueprint .listing-feature-visual{padding:25px}
.blueprint .project-pair-label{display:block}
.blueprint .project-pair-label p{margin-top:10px}
.blueprint .secondary-copy .project-films{margin-top:20px}
.blueprint .secondary-projects .project-pair-label{margin:15px 0 0}
.editorial .listing-feature{background:transparent;border-inline:0}
.editorial .listing-feature .secondary-copy{padding-left:0}
.editorial .listing-feature .project-films{padding-inline:0}
.editorial .listing-feature-visual{margin:30px 0;border-radius:2px}
@media(max-width:1100px){.listing-feature{grid-template-columns:1fr 1fr}.listing-feature .secondary-copy{padding:28px}.listing-feature-visual{padding:22px}.listing-feature h3{font-size:2.4rem}.studio-showreel{padding-left:0}.console-chrome span:last-child{display:none}.console-caption{align-items:flex-start;flex-direction:column;gap:5px}.console-caption span{text-align:left}.console-tabs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.studio-hero{grid-template-columns:1fr 1fr;gap:25px}.studio-showreel{padding:15px 0}.project-console{transform:none}.console-chrome{padding:13px}.console-caption{padding:15px 0}.console-caption strong{font-size:1.15rem}.console-note{font-size:.75rem;padding:12px}.listing-feature{grid-template-columns:1fr}.listing-feature-visual{margin:0 25px 25px;border-radius:8px}.listing-feature .project-films{padding-inline:25px}.project-pair-label{flex-direction:column;gap:8px}.secondary-projects{gap:28px}.project-films{gap:25px}.film-header{align-items:flex-start}.visual-project{grid-template-columns:1fr;padding:25px}.editorial .listing-feature-visual{margin:0 0 25px}.project-contents{gap:10px 20px}.project-contents a{font-size:.875rem}.case-showcase{margin-top:30px}}
@media(max-width:550px){.studio-hero{grid-template-columns:1fr;gap:0}.studio-showreel{padding:35px 0 10px;max-width:100%}.studio-showreel>.orbital-art{inset:-10% 0;width:100%;margin:0;max-width:none}.console-tabs{grid-template-columns:repeat(4,1fr)}.console-tabs button{font-size:.75rem;padding-block:12px}.console-caption{flex-direction:row;align-items:center;gap:15px}.console-caption span{font-size:.75rem;max-width:125px;text-align:right}.console-chrome span:last-child{display:block;font-size:.6875rem}.console-panel>a{aspect-ratio:1.5}.project-console{border-radius:10px}.project-pair-label{margin:12px 0 -10px}.listing-feature{margin-bottom:35px}.listing-feature h3{font-size:2.4rem}.listing-feature .secondary-copy{padding:25px}.listing-feature-visual{padding:14px;margin:0 16px 20px}.listing-feature .project-films{padding-inline:20px}.project-films{grid-template-columns:1fr;margin:30px 0}.film-header{gap:10px}.film-header h3{font-size:1rem}.film-header span{font-size:.75rem}.inspect-label{opacity:1;font-size:.75rem;right:9px;bottom:9px;padding:4px 10px}.image-dialog{padding:60px 12px 15px}.image-dialog img{max-height:72dvh}.visual-project h3{font-size:2.3rem}.visual-project{padding:22px;gap:25px}.project-contents{gap:12px 22px}.case-gallery.media-gallery{margin-block:30px}.project-resource-links{gap:15px 20px}}
@media(prefers-reduced-motion:reduce){.inspect-label{transition:none}}

/* Put Codsworth's actual demo in the main media position. */
.codsworth-project .secondary-visual{aspect-ratio:auto;display:flex;align-items:center;background:#101617;color:#edf2ed}
.codsworth-project .secondary-visual .project-films{margin:0;width:100%;padding:0}
.codsworth-project .secondary-visual .film-header{padding:16px 22px;margin:0;gap:12px}
.codsworth-project .secondary-visual .film-header h3{font-size:1rem}
.codsworth-project .secondary-visual .film-header span,.codsworth-project .secondary-visual figcaption{color:#b7c3bb}
.codsworth-project .secondary-visual .film-screen{padding:0 14px}
.codsworth-project .secondary-visual video{border-radius:6px;border:1px solid #354039}
.codsworth-project .secondary-visual figcaption{padding:0 22px 18px;font-size:.8125rem}
.blueprint .codsworth-project .secondary-visual{height:auto;min-height:0}

.movie-heading{font-size:1.5rem;margin-top:14px}
.copy-email{padding:0;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:5px;font-size:.8125rem;min-height:36px}
.copy-status{font-size:.8125rem;margin:0!important}
.copy-status:empty{display:none}

.film-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:12px;font-size:.9375rem}
.film-links a{text-decoration:underline;text-underline-offset:4px;color:inherit}

.corner-demo-panel{align-self:stretch;min-width:0;display:flex;align-items:center;scroll-margin-top:20px}
.corner-demo-panel .project-films{width:100%;margin:0}
.corner-demo-panel .film-header{align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:0 0 12px}
.corner-demo-panel .film-header h3{color:inherit;font:500 1.25rem/1.4 'Space Grotesk',sans-serif}
.corner-demo-panel .project-film figcaption{margin:10px 0 0}
@media(min-width:1061px){
 .blueprint .cornerstone-feature .feature-copy{padding-right:52%}
 .blueprint .cornerstone-feature .corner-demo-panel{width:46%}
}

.film-chapters{display:flex;flex-wrap:wrap;gap:4px 16px;border-top:1px solid var(--line);padding-top:6px;margin-top:14px}
.film-chapters a{display:inline-flex;align-items:center;gap:5px;min-height:36px;font-size:.875rem;text-decoration:underline;text-underline-offset:3px}
.film-chapters a span{color:var(--muted);font:400 .75rem/1.4 'IBM Plex Mono',monospace}
.film-chapters a:hover{color:var(--accent)}


/* Underlying links and their external destinations remain clear at every size. */
a.external-launch{display:inline-flex;align-items:center;gap:.65em;min-height:44px}
.external-launch svg{display:block;width:18px;height:18px;min-width:18px;flex:0 0 18px}
.external-launch small{display:block;font:500 .72rem/1.6 'IBM Plex Mono',monospace;letter-spacing:.01em}
.launch-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.project-resource-links a.project-feature-link,.card-actions a.project-feature-link{display:inline-flex;justify-content:space-between;gap:1.35em;padding:.75em 1.1em;border:1px solid currentColor;border-radius:6px;text-decoration:none}
.studio .project-feature-link,.studio .project-resource-links a.project-feature-link{background:#c3f884;color:#142012;border-color:#c3f884}
.editorial .project-feature-link,.blueprint .project-feature-link{background:var(--ink);color:var(--bg,white)}
.inline-external,.map-attribution a,.skill-evidence{color:inherit;text-decoration:underline;text-underline-offset:.2em}
.campaign-stories,.hardware-figures{margin:clamp(2.5rem,6vw,5rem) auto;max-width:1120px}
.campaign-stories h2,.hardware-figures h2{font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.16;margin:0 0 .5em}
.campaign-stories header>p{max-width:68ch;line-height:1.65;margin:0 0 1.5rem}
.campaign-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2.5vw,2rem)}
.campaign-examples article{border-top:2px solid var(--accent,currentColor);padding:1.1rem 0}
.campaign-examples h3{font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.3;letter-spacing:-.025em;margin:0 0 1.25rem}
.campaign-examples ol{padding-inline-start:1.35rem;list-style:decimal}
.campaign-examples li{padding-left:.2rem;margin:0 0 1rem;font-size:.95rem;line-height:1.65}
.campaign-examples li::marker{color:var(--accent,currentColor);font-family:'IBM Plex Mono',monospace;font-size:.85em}
.campaign-examples li p{margin:.3rem 0 0;color:var(--muted,currentColor)}
.hardware-list{margin:1.5em 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem 2.6rem}
.hardware-list>div{border-top:1px solid var(--line,currentColor);padding-top:.95rem;min-width:0}
.hardware-list dt{font-size:.94rem;line-height:1.6}
.hardware-list dd{margin:.4rem 0 0;display:grid;gap:.4rem}
.hardware-list strong{font-size:clamp(1.2rem,2.5vw,1.8rem);line-height:1.25}
.hardware-list dd span{max-width:55ch;color:var(--muted,currentColor);line-height:1.6}
.room-case-links{display:flex;gap:6px 20px;flex-wrap:wrap}
@media(max-width:800px){.campaign-examples{grid-template-columns:1fr}.campaign-examples article{padding:.9rem 0 0}.campaign-examples li{margin:0 0 .8rem}}
@media(max-width:550px){.hardware-list{grid-template-columns:1fr}}


.campaign-captures{padding-top:1rem}
.campaign-captures h3{font-size:clamp(1.4rem,2.4vw,1.9rem);margin:0 0 .35em}
.campaign-captures>p{margin:0 0 1em;color:var(--muted,currentColor)}
.campaign-captures>div{display:grid;grid-template-columns:1fr 1fr;gap:1.35rem}
.campaign-captures figure{margin:0;min-width:0}
.campaign-captures img{width:100%;height:auto}
.campaign-captures figcaption{font-size:.94rem;line-height:1.65;margin:.65rem 0 0}
@media(max-width:720px){.campaign-captures>div{grid-template-columns:1fr}}


.career-job .career-company {
  --mark-size: 52px;
  display: grid;
  grid-template-columns: var(--mark-size) minmax(0,1fr);
  align-items: center;
  align-self: start;
  gap: 0 15px;
}
.career-company .employer-mark {
  display: grid;
  place-items: center;
  width: var(--mark-size);
  height: var(--mark-size);
  border: 1px solid #d6dfd9;
  border-radius: 11px;
  background: #f6f8f6;
}
.employer-mark img {display:block;width:67%;height:67%;object-fit:contain}
.career-company .employer-mark:has(img[src$="/cornerstone.svg"]) {background:#1a1a1a;border-color:#47514a}
.employer-mark img[src$="/cornerstone.svg"],.employer-mark img[src$="/meta.png"] {width:83%;height:83%}
.career-job .employer-name h3,.career-job .employer-name p {max-width:none;text-align:left}
.career-job .career-company .employer-name p {margin:3px 0 0}
@media (max-width:700px) {
  .career-job .career-company {--mark-size:44px;column-gap:12px}
  .career-company .employer-mark {border-radius:9px}
}
