/* ICL Identity V5 | progressively enhanced, no external CDNs */
:root{--v5-radius:20px}
html{scroll-padding-top:90px} body{overflow-x:clip} .masthead{position:sticky;top:0;backdrop-filter:blur(18px);background:color-mix(in srgb,var(--paper) 90%,transparent);z-index:40}
.mastbar{min-height:76px}.brand-symbol{font-size:20px}.brand-symbol img{width:27px;height:27px;border-radius:7px;object-fit:cover;vertical-align:middle}
.nav-links a{position:relative}.nav-links a:after{content:'';position:absolute;bottom:-8px;left:0;width:0;height:2px;background:var(--accent);transition:width .25s}.nav-links a:hover:after,.nav-links a[aria-current='page']:after{width:100%}
.hero{min-height:clamp(620px,86svh,800px);align-items:center}.hero-copy{padding-top:80px;padding-bottom:76px}h1{font-family:Georgia,serif;font-weight:480;max-width:900px;letter-spacing:-.065em}.hero-lead{max-width:580px}.hero-meta{border-color:var(--line)}.hero-proof{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0}.hero-proof span{border:1px solid var(--line);padding:7px 12px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.hero-proof strong{color:var(--ink)}
.identity-stage{position:relative;isolation:isolate;min-height:clamp(435px,59vw,630px);border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:var(--v5-radius);background:radial-gradient(circle at 53% 43%,color-mix(in srgb,var(--signal-color) 15%,transparent),transparent 42%),var(--surface);box-shadow:0 30px 100px #00000012;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;perspective:1200px}
.identity-stage:before{content:'';inset:8%;position:absolute;border:1px solid color-mix(in srgb,var(--signal-color) 28%,transparent);border-radius:50%;transform:rotate(-30deg);pointer-events:none}
.identity-stage:after{content:'';position:absolute;inset:auto -14% -46% 22%;height:50%;border-radius:50%;background:color-mix(in srgb,var(--signal-color) 16%,transparent);filter:blur(70px);pointer-events:none}
.identity-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.75}.identity-top,.identity-bottom{position:absolute;left:23px;right:23px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px;line-height:1.45;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);z-index:2}.identity-top{top:24px}.identity-bottom{bottom:25px}.identity-status{display:inline-flex;align-items:center;gap:8px}.identity-status:before{content:'';width:6px;height:6px;background:var(--signal-color);border-radius:50%;box-shadow:0 0 13px var(--signal-color)}
.identity-crest{position:relative;z-index:2;width:min(78%,405px);height:min(51vw,305px);max-height:305px;display:grid;place-items:center;transform:rotateY(var(--tilt-x,0deg)) rotateX(var(--tilt-y,0deg));transition:transform .25s;pointer-events:none}.identity-image-frame{display:grid;place-items:center;width:100%;height:100%;border:1px solid color-mix(in srgb,var(--signal-color) 25%,transparent);background:var(--identity-paper,#fff);border-radius:26px;box-shadow:0 28px 80px #00000024;overflow:hidden;padding:18px}.identity-image-frame img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 16px #00000010)}.identity-crest[data-form='wide']{width:min(88%,470px);height:245px}.identity-crest[data-form='dark'] .identity-image-frame{background:#090d18}.identity-crest[data-form='silk'] .identity-image-frame{background:#25192d}.identity-glyph{font:600 clamp(63px,9vw,125px)/1 Georgia,serif;letter-spacing:-.12em;color:var(--signal-color)}
.identity-actions{position:absolute;bottom:74px;left:24px;right:24px;display:flex;justify-content:center;gap:7px;z-index:3}.identity-actions button{background:color-mix(in srgb,var(--surface) 84%,transparent);border:1px solid var(--line);color:var(--ink);padding:9px 12px;font-size:10px;letter-spacing:.04em;text-transform:uppercase;border-radius:50px;transition:background .2s,transform .2s}.identity-actions button[aria-pressed=true],.identity-actions button:hover{border-color:var(--signal-color);background:color-mix(in srgb,var(--signal-color) 19%,var(--surface));transform:translateY(-2px)}
.identity-stage[data-theme='nightsea'],.identity-stage[data-theme='moonlight']{background:#090a17}.identity-stage[data-theme='observatory'],.identity-stage[data-theme='language'],.identity-stage[data-theme='wave']{background:linear-gradient(130deg,color-mix(in srgb,var(--signal-color) 12%,var(--surface)),var(--surface))}
body[data-site='ventures'] .identity-stage{background:linear-gradient(145deg,#f6eddd,#e7d0b1)} body[data-site='ofir'] .identity-stage{background:linear-gradient(120deg,#091723,#1c3443)}
body[data-site='main'] .hero{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
body[data-site='research'] .hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)} body[data-site='research'] .hero-copy{order:2}body[data-site='research'] .identity-stage{order:1}
body[data-site='ventures'] .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body[data-site='hoshi-no-umi-studio'] .identity-stage,body[data-site='purpura-yakamoz'] .identity-stage{box-shadow:0 35px 110px #06051670}
body[data-site='ofir'] .identity-top,body[data-site='ofir'] .identity-bottom{color:#c9d4d8}body[data-site='ofir'] .identity-actions button{color:#eff6f8;border-color:#586c76;background:#153244}
.workbench{padding-top:76px;padding-bottom:90px;border-top:1px solid var(--line);position:relative;z-index:1}.workbench-banner{background:color-mix(in srgb,var(--surface) 40%,var(--ink));color:var(--paper)}.mvp-root{border-radius:0 0 12px 12px;overflow:hidden}.mvp-root .loading{display:none}
.open-research-callout{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--surface);border:1px solid var(--line);padding:24px 28px;margin:20px 0 36px}.open-research-callout strong{font:500 28px/1.12 Georgia,serif}.open-research-callout p{color:var(--muted);font-size:13px;margin:6px 0 0}.open-research-callout a{border:1px solid var(--line);padding:11px 16px;white-space:nowrap;font-size:12px}
.output-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.output-preview{background:var(--surface);padding:24px;display:flex;flex-direction:column;border:1px solid var(--line);min-height:240px;transition:border-color .2s, transform .2s}.output-preview:hover{border-color:var(--accent);transform:translateY(-4px)}.output-preview .eyebrow{font-size:10px}.output-preview h3{font:500 24px/1.22 Georgia,serif;margin:20px 0 11px;overflow-wrap:anywhere}.output-preview p{color:var(--muted);font-size:13px}.output-preview .output-links{display:flex;gap:13px;flex-wrap:wrap;margin-top:auto}.output-links a{font-weight:750;font-size:12px;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:5px}.output-brief{margin:0 0 27px;color:var(--muted)}
.venture-controls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.venture-controls button{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:10px 17px;font-size:12px;border-radius:22px}.venture-controls button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 17%,var(--surface))}
.venture-deck{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.venture-tile{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);padding:16px;min-height:390px;transition:transform .25s,border-color .25s}.venture-tile:hover{transform:translateY(-6px);border-color:var(--accent)}.venture-tile[hidden]{display:none}.venture-tile-cover{height:185px;background:var(--logo-bg,#f7f8fb);display:grid;place-items:center;border-radius:12px;overflow:hidden}.venture-tile-cover img{height:100%;width:100%;object-fit:contain;padding:14px}.venture-tile h3{font:500 25px/1.15 Georgia,serif;letter-spacing:-.02em;margin:7px 0 0}.venture-tile p{font-size:13px;color:var(--muted);flex:1}.venture-tile .tile-meta{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.venture-tile .tile-go{font-size:12px;font-weight:750;border-top:1px solid var(--line);padding-top:12px}.venture-deck-note{font-size:12px;color:var(--muted);margin:15px 0}
.directory-item>div .directory-logo{float:left;width:65px;height:65px;object-fit:contain;margin:0 15px 10px 0;background:#fff;border-radius:12px;padding:5px}.directory-item{min-height:110px}
.office-return{margin:25px 0 84px;padding:34px;border:1px solid var(--line);background:linear-gradient(115deg,var(--surface),color-mix(in srgb,var(--accent) 7%,var(--paper)));display:grid;grid-template-columns:1.2fr 1fr;gap:35px;align-items:center}.office-return small{text-transform:uppercase;font-size:10px;letter-spacing:.12em;color:var(--accent)}.office-return h2{font:500 clamp(32px,3.8vw,53px)/1.05 Georgia,serif;margin:12px 0}.office-return p{font-size:14px;color:var(--muted)}.office-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}.office-actions button,.office-actions a{background:var(--ink);color:var(--paper);border:1px solid var(--line);padding:14px 18px;font-size:12px}.office-actions a{background:transparent;color:var(--ink)}
dialog#icl-office-dialog{position:fixed;inset:4vh 3vw;border:1px solid #87999b;border-radius:18px;padding:0;width:94vw;max-width:1500px;height:91vh;max-height:1000px;background:#09151a;color:#fff;overflow:hidden;box-shadow:0 30px 120px #000a}dialog#icl-office-dialog::backdrop{background:#020913c9;backdrop-filter:blur(8px)}.office-dialog-head{height:60px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 20px;background:#12242c;font-size:14px}.office-dialog-head button{color:#fff;border:1px solid #768c93;background:transparent;border-radius:9px;padding:6px 14px}.office-dialog-body{width:100%;height:calc(100% - 60px)}.office-dialog-body iframe{border:0;width:100%;height:100%;background:#061017}
/* Preserved public office page is accessed only following an explicit click. */
.v5-meta{font-size:11px;color:var(--muted);letter-spacing:.03em}.v5-meta strong{color:var(--ink)}
@media(max-width:1050px){.hero{min-height:0}.identity-stage{min-height:480px}.venture-deck{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body[data-site='research'] .hero-copy{order:1}body[data-site='research'] .identity-stage{order:2}.identity-stage{min-height:440px}.office-return{grid-template-columns:1fr}.office-actions{justify-content:flex-start}}
@media(max-width:650px){.hero-copy{padding-top:55px;padding-bottom:35px}.identity-stage{min-height:360px;margin:5px 0 28px}.identity-crest{height:200px;width:72%}.identity-crest[data-form='wide']{height:150px;width:84%}.identity-image-frame{padding:11px;border-radius:18px}.identity-actions{bottom:61px;gap:4px}.identity-actions button{padding:7px 10px;font-size:9px}.identity-bottom{bottom:14px;left:14px;right:14px;font-size:8px}.identity-top{left:14px;right:14px;top:14px;font-size:8px}.venture-deck,.output-preview-grid{grid-template-columns:1fr}.open-research-callout{flex-direction:column;align-items:flex-start}.office-return{padding:22px}.office-actions button,.office-actions a{width:100%;text-align:center}.directory-item>div .directory-logo{width:48px;height:48px}.venture-tile{min-height:345px}}
@media(prefers-reduced-motion:reduce){.identity-crest,.venture-tile,.artifact-card{transform:none!important;transition:none!important}}
