/* A dark studio surface, sand-coloured type, and the colours of the actual work. */
.creative-page{--bg:#1c1d19;--surface:#262720;--surface-raised:#31322a;--line:#46483a;--ink:#e7dfce;--muted:#b9b6a6;--accent:#d9ccb0;--acid:var(--accent);--blue:var(--accent);--lime:var(--accent);background:var(--bg);color:var(--ink);color-scheme:dark;font-size:16px}
.creative-page .wrap{width:min(1344px,calc(100% - 96px))}
.creative-page .header{border-bottom:1px solid var(--line);padding-block:23px;min-height:94px}
.creative-page .brand-symbol{color:var(--ink)}
.creative-page .header nav{font-size:14px;gap:26px}
.creative-page .header nav a:hover{color:var(--accent)}
.creative-page .world-switcher{color:var(--ink)}
.creative-page .world-switcher>summary{background:#262720f5;border:1px solid #6e705f;box-shadow:none;border-radius:30px}
.creative-page .world-switcher>summary:hover,.creative-page .world-switcher[open]>summary{background:var(--surface-raised);border-color:var(--accent)}
.creative-page .world-options{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px #0006}
.creative-page .world-options a{color:var(--ink);border-radius:8px}
.creative-page .world-options small{color:var(--muted)}
.creative-page .world-options a:hover,.creative-page .world-options a[aria-current=page]{background:var(--surface-raised)}
.creative-page .world-options a:last-child .world-dot,.creative-page .switch-symbol i:last-child{background:var(--accent)}
.creative-page .eyebrow{font-size:12px;letter-spacing:.1em}
.creative-page h2{font:400 clamp(36px,4vw,60px)/1.12 Georgia,serif;letter-spacing:-.04em;margin:0}
.creative-page h2 em{font:inherit;color:var(--accent)}
.creative-page h3{font-family:'Space Grotesk',sans-serif;letter-spacing:-.025em}
.creative-page a:focus-visible,.creative-page button:focus-visible,.creative-page summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}

/* The work is the page. Personal and technical detail opens on demand. */
.creative-hero{padding-block:44px 56px;scroll-margin-top:25px}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 34px}
.portfolio-card{display:flex;flex-direction:column;text-align:left;min-width:0;border:0;padding:0;background:transparent;color:var(--ink)}
.portfolio-preview{display:block;position:relative;overflow:hidden;background:#e7e9ee;border-radius:4px}
.portfolio-preview img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;object-position:top;transition:transform .35s}
.portfolio-card[data-project=displays] .portfolio-preview img{object-position:center}
.portfolio-card:hover .portfolio-preview img{transform:scale(1.025)}
.portfolio-card-copy{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:5px 15px;padding:17px 0 0}
.portfolio-card-copy>strong{font:500 clamp(21px,2vw,28px)/1.2 'DM Sans',sans-serif;letter-spacing:-.035em}
.portfolio-status{position:static;background:none;padding:0;border:0;color:var(--muted);font-size:13px;line-height:1.6;grid-column:1;max-width:none}
.portfolio-plus{font-size:27px;line-height:1;color:var(--accent);justify-self:end;transition:transform .2s}
.portfolio-card:hover .portfolio-plus{transform:translate(3px,-3px)}
.creative-page .footer{border-color:var(--line);font-size:12px;gap:20px;color:var(--muted);padding-block:25px}
.creative-page .footer .social-links{flex-wrap:wrap;gap:22px}
.creative-page dialog{background:var(--bg);color:var(--ink);border:1px solid #686d58;border-radius:8px;box-shadow:0 30px 120px #0009;overflow-y:auto}
.creative-page dialog::backdrop{background:#12150fdf;backdrop-filter:blur(8px)}
.creative-page .dialog-top button{border-color:var(--line);width:44px;height:44px;color:var(--ink)}
.creative-page .solid-button{background:var(--accent);color:var(--bg);font-size:16px;border-radius:4px}
.dialog-actions{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:24px}
.dialog-actions>button{border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);padding:10px 0;font-size:16px;min-height:44px}
.project-status{font-size:16px;color:var(--muted)}
.creative-page dialog{width:min(1240px,calc(100% - 36px));max-height:92dvh}
.creative-page .dialog-top{position:sticky;top:0;z-index:3;background:var(--bg);border-bottom:1px solid var(--line);padding:12px 28px}
.case-heading{display:flex;justify-content:space-between;gap:25px;align-items:start;padding:30px 32px 25px}
.case-heading .eyebrow{color:var(--blue);margin-bottom:12px}
.case-heading h2{font-size:clamp(33px,4vw,53px)}
.case-heading p:not(.eyebrow){font-size:18px;line-height:1.6;margin:12px 0 0;color:var(--muted)}
.case-heading .project-status{flex-shrink:0;font-size:13px;border:1px solid var(--line);padding:6px 10px;margin-top:4px;max-width:230px}
.case-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;padding:0 32px 32px;align-items:start}
.case-visuals{min-width:0;position:sticky;top:91px}
.project-gallery{margin:0}
#gallery-stage{position:relative;display:grid;place-items:center;min-height:220px;border:1px solid var(--line);background:#e7e9ee;overflow:hidden}
#gallery-stage>img{width:100%;height:auto;aspect-ratio:1.4;object-fit:contain}
#gallery-stage>video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#1c1d19}
#gallery-stage>iframe{display:block;border:0;width:100%;height:470px;background:#eeece5}
.launch-demo{position:absolute;inset:auto;max-width:calc(100% - 35px);background:var(--accent);color:var(--bg);padding:16px 23px;border:1px solid var(--accent);box-shadow:0 8px 30px #0005;font-size:17px;font-weight:600}
.launch-demo:hover{background:var(--accent);color:var(--bg)}
#gallery-caption{font-size:14px;color:var(--muted);line-height:1.6;margin-top:13px}
.gallery-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.gallery-controls button{border:1px solid var(--line);padding:9px 13px;font-size:14px;min-height:42px;background:transparent;color:var(--ink)}
.gallery-controls button[aria-pressed=true]{background:var(--accent);color:var(--bg)}
.gallery-links{margin-top:13px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.case-tabs{display:flex;border-bottom:1px solid var(--line);gap:5px;margin-bottom:23px}
.case-tabs button{flex:1;white-space:nowrap;font-size:14px;padding:14px 6px;border:0;border-bottom:3px solid transparent;color:var(--muted);background:transparent}
.case-tabs button[aria-selected=true]{border-bottom-color:var(--blue);color:var(--blue);font-weight:700}
.case-detail [role=tabpanel]>div+div{margin-top:24px}
.case-detail h3{font-size:21px;line-height:1.3;margin:0 0 10px;font-weight:600}
.case-detail p{font-size:16px;line-height:1.75;margin:0;color:var(--muted)}
.case-tags{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:7px}
.case-tags li{font-size:12px;padding:5px 9px;background:var(--surface-raised);border:1px solid var(--line)}
.case-detail .dialog-actions{flex-wrap:wrap;gap:16px;border-top:1px solid var(--line);padding-top:20px}
.case-detail .solid-button{display:inline-flex;align-items:center;font-size:15px;padding:13px 17px}
.creative-page [hidden]{display:none!important}
.portfolio-fallback{padding-block:35px}.portfolio-fallback details{padding:20px 0;border-top:1px solid var(--line)}.portfolio-fallback summary{font-size:23px;font-weight:600;cursor:pointer}.portfolio-fallback p{max-width:760px}.portfolio-fallback a{text-decoration:underline}

.case-tabs button[aria-selected=true]{color:var(--accent);border-color:var(--accent)}
.case-tags li{color:var(--muted)}.gallery-controls button{border-radius:4px}.gallery-controls button[aria-pressed=true]{background:var(--accent);color:var(--bg)}
#gallery-stage{border-radius:4px}.case-heading .project-status{border-radius:4px}.launch-demo{border-radius:4px}.gallery-links a{color:var(--muted)}.gallery-links a:hover{color:var(--accent)}
@media(min-width:1600px){.creative-page .site-tools{right:calc((100vw - 1344px)/2)}}
@media(max-width:1000px){.creative-page .wrap{width:calc(100% - 56px)}.gallery-intro{grid-template-columns:minmax(0,1fr) 245px;gap:30px}.gallery-intro h1{font-size:clamp(46px,6vw,64px)}.portfolio-grid{gap:33px 26px}.case-layout{grid-template-columns:1fr;gap:28px}.case-visuals{position:static}.case-heading{padding:24px;flex-wrap:wrap;gap:12px}.case-layout{padding:0 24px 28px}#gallery-stage>img{max-height:400px;aspect-ratio:auto}.case-detail [role=tabpanel]{max-width:760px}.case-tabs{max-width:550px}.case-heading .project-status{max-width:none}}
@media(max-width:650px){.creative-page .wrap{width:calc(100% - 36px)}.creative-page .header{padding-block:20px;padding-right:155px}.creative-hero{padding-block:27px 38px}.gallery-intro{grid-template-columns:1fr;gap:20px;margin-bottom:28px}.gallery-intro h1{font-size:clamp(39px,10vw,58px)}.portfolio-grid{grid-template-columns:1fr;gap:31px}.portfolio-preview img{aspect-ratio:1.5}.portfolio-card-copy{padding-top:13px}.portfolio-card-copy>strong{font-size:24px}.portfolio-status{font-size:13px}.creative-page .footer{padding-block:23px;gap:17px}.creative-page .footer .social-links{gap:17px}.creative-page dialog{width:calc(100% - 20px);max-height:95dvh}.creative-page .dialog-top{padding:10px 18px}.case-heading{padding:21px 18px}.case-heading h2{font-size:33px}.case-heading p:not(.eyebrow){font-size:16px}.case-heading .eyebrow{font-size:12px}.case-layout{padding:0 18px 25px;gap:24px}#gallery-stage{min-height:160px}#gallery-stage>iframe{height:440px}.case-tabs button{font-size:14px;padding:12px 3px}.case-detail h3{font-size:21px}.gallery-controls button{min-height:44px}.dialog-actions{align-items:start;flex-direction:column;gap:12px}}
@media(prefers-reduced-motion:reduce){.portfolio-preview img,.portfolio-plus,.portfolio-card:hover .portfolio-preview img,.portfolio-card:hover .portfolio-plus{transform:none}}


/* A full-window room with live character and camera movement. */
.creative-page .header{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:20;border:0;background:transparent}
.office-hero{position:relative;height:100svh;width:100%;overflow:hidden;background:#242920;isolation:isolate}
.office-hero:before{content:'';position:absolute;inset:0 0 auto;height:135px;background:linear-gradient(#1c211cc9,transparent);z-index:2;pointer-events:none}
#office-scene{position:absolute;inset:0}
#office-scene canvas{display:block;width:100%;height:100%;touch-action:pan-y}
#office-loading{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);padding:13px 20px;background:#252b24e6;border:1px solid #69715b;border-radius:7px;font-size:15px;max-width:360px;text-align:center;z-index:4}
.office-controls{position:absolute;left:30px;bottom:25px;z-index:3}
.office-stations{display:flex;gap:4px;background:#20271fe6;border:1px solid #737b62;padding:5px;border-radius:30px;backdrop-filter:blur(12px)}
.office-stations button{font-size:14px;line-height:1.3;min-height:44px;padding:10px 17px;border:0;border-radius:23px;background:transparent;color:#e7dfce;white-space:nowrap}
.office-stations button[aria-pressed=true]{background:#56624b;color:#f1ecde}
.office-stations button:hover{background:#43503b}
.office-stations button:disabled{opacity:.55}
.office-explore{position:absolute;left:50%;bottom:29px;transform:translateX(-50%);z-index:3;display:inline-flex;align-items:center;gap:17px;min-height:44px;padding:5px 3px 5px 15px;color:#e7dfce;font-size:14px;white-space:nowrap;border-radius:30px;background:#20271fd9;transition:background .2s,gap .25s}
.office-explore:after{content:'';position:absolute;left:15px;right:50px;bottom:9px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s}
.office-explore-arrow{display:grid;place-items:center;width:32px;height:32px;border:1px solid #818d72;border-radius:50%;font-size:20px;transition:transform .25s,background .25s}
.office-explore:hover,.office-explore:focus-visible{gap:23px;background:#34402fd9}
.office-explore:hover:after,.office-explore:focus-visible:after{transform:scaleX(1)}
.office-explore:hover .office-explore-arrow,.office-explore:focus-visible .office-explore-arrow{transform:translateY(3px);background:#59684a}
.office-explore:active .office-explore-arrow{transform:translateY(7px)}
.office-noscript{position:absolute;inset:40% 25% auto;text-align:center;font-size:18px}
.office-unavailable .office-controls{display:none}
.creative-hero{border-top:1px solid var(--line)}
.gallery-intro{display:block;margin-bottom:35px}.gallery-intro h2{font:400 clamp(42px,4.5vw,62px)/1.1 Georgia,serif;letter-spacing:-.05em}.gallery-intro h2 em{color:#c3c6ad}
.about-section{display:grid;grid-template-columns:215px minmax(0,650px);justify-content:center;gap:58px;padding-block:58px 65px;border-top:1px solid var(--line);scroll-margin-top:30px}
.about-photo{margin:0}.about-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%;border-radius:4px}
.about-section h2{font-size:43px;margin-bottom:24px}.about-section p{font-size:17px;line-height:1.8;color:var(--muted);margin:0 0 19px}.about-section p:last-child{margin:0}
@media(max-width:1100px){.office-controls{left:22px;bottom:95px}.office-explore{bottom:25px}.about-section{grid-template-columns:160px minmax(0,1fr);gap:35px}}
@media(max-width:700px){.office-hero:before{height:140px}.office-controls{left:50%;transform:translateX(-50%);bottom:82px;width:max-content;max-width:calc(100% - 30px)}.office-stations{gap:2px;padding:4px}.office-stations button{font-size:14px;padding:9px 10px;min-height:44px}.office-stations{flex-wrap:wrap;justify-content:center}.office-explore{bottom:20px;font-size:14px;padding:5px 3px 5px 15px}.gallery-intro h2{font-size:40px}.gallery-intro{margin-bottom:26px}.about-section{grid-template-columns:1fr;gap:25px;padding-block:35px 40px}.about-photo{width:132px}.about-section h2{font-size:38px;margin-bottom:19px}.about-section p{font-size:16px;line-height:1.75}}
@media(max-height:500px) and (min-width:701px){.office-controls{bottom:18px;left:18px}.office-stations button{padding:7px 12px}.office-explore{bottom:26px;font-size:15px;padding:10px 18px}}
@media(max-width:380px){.office-stations button{padding:8px;font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.office-explore,.office-explore:after,.office-explore-arrow{transition:none}}

.creative-page #coffee-dialog{width:min(510px,calc(100% - 28px));padding:0}
.coffee-content{padding:12px 30px 36px;text-align:center}
.coffee-icon{display:block;font-size:54px;margin-bottom:14px}
.coffee-content h2{font-size:36px;line-height:1.15;margin:0 0 18px}
.coffee-content p{font-size:17px;line-height:1.7;margin:0 0 26px}
.coffee-content .solid-button{display:inline-flex;gap:12px;align-items:center}

/* Let dialog headings wrap without squeezing the close control. */
.creative-page .dialog-top{gap:16px}
.creative-page .dialog-top .eyebrow{min-width:0;line-height:1.6}
.creative-page .dialog-top button{flex-shrink:0}

.office-lighting{margin-top:8px;width:fit-content;max-width:100%;flex-wrap:wrap}.office-lighting button:focus-visible{outline:2px solid #f1ecde;outline-offset:2px}
