/*
Theme Name: Misono Portal Studio
Description: A considered design layer for the Misono Portal theme.
Template: misono-portal
Version: 1.0.9
Text Domain: misono-portal-studio
*/

:root{--ink:#172b48;--muted:#465b75;--accent:#125bbd;--accent-strong:#0d4c9d;--line:#d7e3f3;--paper:#fff;--mist:#f3f7fd;--soft:#e9f2ff;--warm:#f2b54c;--container:1120px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;font-size:1.0625rem;line-height:1.85;letter-spacing:.012em}
body,button,input,textarea{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif}
img{max-width:100%;height:auto}
a{color:var(--accent-strong);text-decoration-color:currentColor;text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid #b74d00!important;outline-offset:4px!important;border-radius:2px}
.skip-link{position:absolute;z-index:10000;left:1rem;top:-10rem;background:#fff;color:#103e81;padding:.7rem 1rem}
.skip-link:focus{top:1rem}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:10}
.site-header-inner,.site-footer-inner{max-width:var(--container);margin:auto;padding:0 24px}
.site-header-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:92px}
.site-title{margin:0;font-size:1.25rem;font-weight:800;letter-spacing:-.025em;line-height:1.25}
.site-title a{text-decoration:none;color:var(--ink)}
.site-title small{display:block;font-size:.64rem;font-weight:700;letter-spacing:.14em;color:var(--accent);margin-top:.36rem}
.site-nav .menu,.mobile-nav .menu{display:flex;list-style:none;gap:.1rem;align-items:center;margin:0;padding:0;flex-wrap:wrap}
.site-nav a,.mobile-nav a{display:block;padding:.58rem .68rem;text-decoration:none;color:var(--ink);font-size:.88rem;font-weight:650;border-radius:.35rem}
.site-nav a:hover,.site-nav .current-menu-item a,.mobile-nav a:hover,.mobile-nav .current-menu-item a{background:var(--soft);color:var(--accent-strong)}
.mobile-nav{display:none}
.site-main{max-width:var(--container);margin:0 auto;padding:64px 24px 112px}
.site-main:has(.studio-home){width:100%;max-width:none;padding:0}
.studio-home section{scroll-margin-top:2rem}
.studio-wrap{max-width:var(--container);margin:auto;padding-left:24px;padding-right:24px}
.studio-hero{background:linear-gradient(120deg,#072b68 0%,#0f4ca0 58%,#216bc5 100%);color:#fff;position:relative;overflow:hidden}
.studio-hero::after{content:"";position:absolute;right:-10vw;top:-160px;width:min(62vw,800px);height:650px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 95px rgba(255,255,255,.025),0 0 0 190px rgba(255,255,255,.025);pointer-events:none}
.studio-hero .studio-wrap{position:relative;z-index:1;padding-top:100px;padding-bottom:106px}
.eyebrow{margin:0 0 24px;color:#c9e4ff;text-transform:uppercase;letter-spacing:.2em;font-size:.76rem;font-weight:800}
.studio-hero h1{max-width:930px;color:#fff;font-size:clamp(2.7rem,5.4vw,5.35rem);letter-spacing:-.055em;line-height:1.23;margin:0 0 26px;font-weight:800}
.mobile-break{display:none}
.studio-hero .hero-copy{max-width:700px;color:#eef5ff;font-size:clamp(1.08rem,1.6vw,1.32rem);line-height:1.85;margin:0 0 32px}
.hero-meta{color:#d4e5fb;font-size:.9rem;margin:0 0 38px;letter-spacing:.04em}
.studio-actions{display:flex;flex-wrap:wrap;gap:12px}
.studio-button,.studio-text-link{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 22px;border-radius:5px;font-weight:750;text-decoration:none;line-height:1.4}
.studio-button{background:#fff;color:#0d458e;border:2px solid #fff}
.studio-button:hover{background:#eaf3ff;color:#0d458e}
.studio-button.ghost{background:transparent;color:#fff;border-color:#d5e7ff}
.studio-button.ghost:hover{background:rgba(255,255,255,.12)}
.studio-intro{padding-top:88px;padding-bottom:90px}
.studio-kicker{font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.studio-heading{font-size:clamp(2rem,3.1vw,3.15rem);letter-spacing:-.045em;line-height:1.35;margin:0 0 20px;color:var(--ink)}
.studio-lead{font-size:1.14rem;color:var(--muted);max-width:760px;margin:0;line-height:1.95}
.studio-domains{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px}
.domain-card{padding:30px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 28px rgba(13,56,121,.05)}
.domain-card .domain-number{color:var(--accent);font-weight:800;font-size:.75rem;letter-spacing:.12em}
.domain-card h3{margin:14px 0 10px;font-size:1.23rem;line-height:1.5}
.domain-card p{margin:0;color:var(--muted);font-size:.94rem;line-height:1.85}
.studio-band{background:var(--mist);padding:86px 0}
.studio-split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:9%;align-items:start}
.studio-split p{margin-top:0;color:var(--muted)}
.studio-panel{background:#fff;padding:38px;border:1px solid var(--line);border-radius:10px}
.studio-panel h3{margin:0 0 16px;font-size:1.25rem}
.studio-panel ul{margin:0;padding-left:1.4rem}
.studio-panel li+li{margin-top:10px}
.studio-link{display:inline-flex;align-items:center;gap:.6rem;font-weight:750;text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:3px;margin-top:20px}
.studio-link::after{content:"→";font-size:1.2rem;line-height:1}
.studio-link:hover{gap:1rem}
.studio-section{padding-top:86px;padding-bottom:90px}
.studio-section-header{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}
.studio-section-header .studio-heading{margin-bottom:0}
.studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.studio-tile{background:#fff;border:1px solid var(--line);border-radius:10px;padding:34px;min-height:245px;display:flex;flex-direction:column;align-items:start}
.studio-tile h3{font-size:1.4rem;margin:0 0 12px}
.studio-tile p{color:var(--muted);margin:0 0 24px;line-height:1.85}
.studio-tile .studio-link{margin-top:auto}
.studio-note{background:#e8f2ff;border-left:4px solid var(--accent);padding:20px 26px;color:#193c73;border-radius:0 7px 7px 0;margin-top:26px}
.studio-note p{margin:0}
.studio-cta{background:#082f70;color:white;padding:70px 0}
.studio-cta .studio-heading{color:white}
.studio-cta .studio-lead{color:#dceaff;margin-bottom:28px}
.studio-cta .studio-button{background:white;color:#0d458e}
.content-area{max-width:840px;margin:0 auto}
.breadcrumbs{font-size:.86rem;color:var(--muted);margin:0 0 36px}
.breadcrumbs ol{display:flex;gap:.55rem;align-items:center;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.breadcrumbs li+li::before{content:"/";color:#8295b0;margin-right:.55rem}
.breadcrumbs a{text-decoration:none}
.content-area h1{font-size:clamp(2.4rem,4.5vw,4.5rem);line-height:1.25;letter-spacing:-.05em;margin:0 0 32px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.content-area h2{font-size:clamp(1.4rem,2vw,1.8rem);margin:52px 0 14px;line-height:1.5}
.content-area p,.content-area li{line-height:1.95}
.content-area>p:first-of-type,.content-area>h1+p{font-size:1.18rem;color:var(--muted)}
.content-area ul{padding-left:1.5rem}
.content-area li+li{margin-top:.45rem}
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:20px}
.post-card,.mp-item-list li{background:white;border:1px solid var(--line);border-radius:9px;padding:24px 28px;box-shadow:0 8px 30px rgba(13,56,121,.05)}
.post-card h2,.post-card h3{font-size:1.3rem;margin:0 0 12px;line-height:1.5}
.post-card p{margin:0;color:var(--muted)}
.mp-researchmap{margin-top:34px}
.mp-item-list{list-style:none;padding:0!important;display:grid;gap:12px}
.mp-item-list li{margin:0!important}
.mp-item-list a{font-weight:750}
.mp-item-list span{display:block;color:var(--muted);font-size:.88rem;margin-top:8px}
.mp-contact-form{max-width:680px;margin-top:40px;background:var(--mist);border:1px solid var(--line);border-radius:10px;padding:30px}
.mp-contact-form p{margin:0 0 23px}
.mp-contact-form label{display:block;font-weight:750;margin-bottom:8px}
.mp-contact-form input:not([type=hidden]),.mp-contact-form textarea{display:block;width:100%;border:1.5px solid #7589a4;border-radius:5px;background:#fff;color:var(--ink);padding:12px 14px;font-size:1rem;line-height:1.5}
.mp-contact-form textarea{min-height:180px}
.mp-contact-form button{border:0;background:var(--accent-strong);color:#fff;font-size:1rem;font-weight:750;padding:13px 30px;border-radius:5px;min-height:50px;cursor:pointer}
.mp-contact-form button:hover{background:#073873}
.mp-contact-form .mp-hp{position:absolute;left:-9999px}
.site-footer{background:#08264f;color:#dce9fa;padding:62px 0 46px}
.site-footer-inner{display:flex;justify-content:space-between;align-items:start;gap:32px}
.site-footer p{margin:0;color:#dce9fa;font-size:.9rem}
.site-footer nav ul{display:flex;gap:18px 26px;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.site-footer a{color:#f4f8ff;font-size:.9rem}
@media(max-width:900px){.site-header-inner{gap:1rem}.site-nav a{font-size:.8rem;padding:.45rem}.studio-split{gap:5%}}
@media(max-width:720px){body{font-size:1rem}.site-header-inner{min-height:74px}.site-nav{display:none}.mobile-nav{display:block}.mobile-nav summary{cursor:pointer;border:1px solid var(--line);border-radius:5px;padding:8px 14px;font-weight:750;list-style:none;min-height:44px}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav[open] .menu{position:absolute;top:100%;left:0;right:0;display:grid;gap:0;background:white;border-bottom:1px solid var(--line);box-shadow:0 12px 30px rgba(9,42,94,.14);padding:12px 24px 20px}.mobile-nav a{padding:10px 8px;font-size:1rem}.studio-hero .studio-wrap{padding-top:75px;padding-bottom:80px}.studio-hero::after{right:-280px;top:-80px;width:550px;height:550px}.studio-intro,.studio-band,.studio-section{padding-top:66px;padding-bottom:68px}.studio-domains,.studio-grid,.studio-split{grid-template-columns:1fr}.studio-domains{gap:12px;margin-top:30px}.domain-card,.studio-tile,.studio-panel{padding:24px}.studio-tile{min-height:0}.studio-split{gap:28px}.studio-section-header{display:block}.studio-section-header .studio-link{margin-top:12px}.site-main{padding:46px 20px 72px}.site-footer-inner{display:block}.site-footer nav{margin-top:23px}.mp-contact-form{padding:20px}.content-area h1{margin-bottom:24px}}
@media(max-width:400px){.studio-wrap,.site-header-inner,.site-footer-inner{padding-left:20px;padding-right:20px}.studio-hero h1{font-size:2.5rem}.studio-actions{display:grid}.studio-button{width:100%}}
@media(max-width:400px){.mobile-nav summary{white-space:nowrap;min-width:100px;text-align:center}.studio-hero h1{font-size:2.2rem}.mobile-break{display:block}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Four clear paths on the homepage. Icons are decorative; the linked words remain the accessible names. */
.portal-introduction{padding-top:76px;padding-bottom:36px}
.portal-introduction .studio-heading{max-width:790px}
.portal-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:94px}
.portal-path{display:flex;align-items:flex-start;gap:24px;min-height:242px;padding:34px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 14px 35px rgba(12,58,125,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.portal-path:hover{transform:translateY(-3px);border-color:#8ab5ef;box-shadow:0 16px 36px rgba(12,58,125,.12)}
.portal-path:focus-visible{outline-offset:3px!important}
.portal-path:nth-child(2){background:#f7faff}.portal-path:nth-child(3){background:#f7faff}
.portal-icon{flex:none;display:grid;place-items:center;width:62px;height:62px;border-radius:14px;background:#e6f0ff;color:#0c56b7}
.portal-icon svg{width:31px;height:31px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.portal-path-copy{display:block;min-width:0}
.portal-path-number{display:block;color:var(--accent-strong);font-weight:800;font-size:.75rem;letter-spacing:.13em;line-height:1.5;margin-bottom:10px}
.portal-path-title{display:block;color:#113f84;font-size:clamp(1.6rem,2.4vw,2.1rem);font-weight:800;letter-spacing:-.035em;line-height:1.25;margin-bottom:9px}
.portal-path-description{display:block;color:var(--muted);font-size:.95rem;line-height:1.8}
.portal-path-action{display:inline-block;color:var(--accent-strong);font-weight:750;font-size:.91rem;margin-top:15px;text-decoration:underline;text-underline-offset:.25em}
.portal-path-action::after{content:" →"}
.studio-hero .studio-wrap{padding-top:92px;padding-bottom:100px}
.studio-hero h1{font-size:clamp(3rem,6vw,6.5rem);max-width:1000px;line-height:1.12;letter-spacing:-.065em}
.studio-hero .hero-copy{max-width:760px}
.hero-subtitle{display:block;font-size:clamp(1.14rem,2vw,1.48rem);line-height:1.5;font-weight:650;letter-spacing:.03em;margin:0 0 22px;color:#d6e9ff}
.studio-hero::after{right:-15vw;top:-110px;opacity:.8}
.portal-secondary .studio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.portal-secondary .studio-tile{min-height:235px}
.studio-tile .portal-small-icon{color:var(--accent);display:inline-flex;margin-bottom:15px}
.portal-small-icon svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.profile-facts{display:grid;grid-template-columns:max-content 1fr;gap:12px 24px;margin:30px 0;padding:27px 30px;background:var(--mist);border:1px solid var(--line);border-radius:10px}
.profile-facts dt{font-weight:800;color:#113f84}.profile-facts dd{margin:0}
@media(max-width:900px){.portal-secondary .studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.portal-introduction{padding-top:58px;padding-bottom:24px}.portal-paths{grid-template-columns:1fr;gap:12px;padding-bottom:68px}.portal-path{min-height:0;padding:24px;gap:17px}.portal-icon{width:50px;height:50px;border-radius:11px}.portal-icon svg{width:26px;height:26px}.portal-path-title{font-size:1.55rem}.portal-secondary .studio-grid{grid-template-columns:1fr}.studio-hero h1{font-size:clamp(2.65rem,9vw,4rem)}.studio-hero .studio-wrap{padding-top:73px;padding-bottom:76px}.profile-facts{padding:22px;gap:9px 18px}}
@media(max-width:400px){.portal-path{padding:20px;gap:14px}.portal-icon{width:46px;height:46px}.portal-path-title{font-size:1.4rem}.studio-hero h1{font-size:2.48rem}.profile-facts{grid-template-columns:1fr;gap:0}.profile-facts dd{margin-bottom:12px}}
.studio-button .portal-small-icon{margin:0 9px 0 0;color:inherit}
.studio-button .portal-small-icon svg{width:22px;height:22px}
@media(max-width:400px){.portal-path{display:block}.portal-path .portal-icon{margin-bottom:14px}.portal-path-title{margin-bottom:8px}.portal-path-action{margin-top:12px}}
@media(min-width:721px){.studio-hero .studio-wrap{padding-top:76px;padding-bottom:78px}}
/* Focused, two-column home: introduction on the left and the complete site menu on the right. */
body.home .site-header-inner{min-height:76px}
body.home .site-nav,body.home .mobile-nav{display:none!important}
.portal-cover{background:#f4f8ff}
.portal-cover-inner{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);max-width:1600px;min-height:calc(100svh - 76px);margin:auto}
.portal-cover-intro{background:linear-gradient(135deg,#082e73,#1459ad 66%,#216bc5);color:#fff;padding:clamp(42px,6vw,100px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.portal-cover-intro::after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.16);border-radius:50%;right:-300px;top:-160px;pointer-events:none}
.portal-cover-intro>*{position:relative;z-index:1}
.portal-cover-kicker{font-size:.75rem;letter-spacing:.2em;font-weight:800;color:#d3e8ff;margin:0 0 32px}
.portal-cover-identity{display:flex;align-items:center;gap:24px;margin:0 0 35px}
.portal-cover-identity .portal-cover-kicker{margin:0;line-height:1.8}
.portal-cover-portrait{display:block;flex:none;width:116px;height:166px;object-fit:cover;border:2px solid rgba(255,255,255,.75);border-radius:8px;box-shadow:0 12px 30px rgba(4,23,57,.22)}
.portal-cover-intro h1{color:#fff;letter-spacing:-.065em;font-size:clamp(3rem,5vw,5.3rem);line-height:1.14;margin:0 0 36px;overflow-wrap:normal}
.portal-cover-lead{font-size:clamp(1.25rem,1.7vw,1.55rem);font-weight:700;line-height:1.7;max-width:530px;margin:0 0 20px}
.portal-cover-bio{color:#e7f1ff;line-height:1.9;max-width:540px;font-size:1rem;margin:0}
.portal-cover-menu{background:#fff;padding:clamp(36px,5vw,82px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.portal-cover-label{color:var(--accent);font-size:.75rem;font-weight:800;letter-spacing:.2em;margin:0 0 7px}
.portal-cover-menu h2{font-size:clamp(1.6rem,2.2vw,2.35rem);line-height:1.35;letter-spacing:-.04em;margin:0 0 26px}
.portal-cover-list{padding:0;margin:0;list-style:none;border-top:1px solid var(--line)}
.portal-cover-list li{border-bottom:1px solid var(--line)}
.portal-cover-list a{display:grid;grid-template-columns:46px minmax(0,1fr) 22px;gap:18px;align-items:center;min-height:75px;padding:10px 6px;color:var(--ink);text-decoration:none;transition:background .18s ease,padding-left .18s ease}
.portal-cover-list a:hover{background:#f2f7ff;padding-left:13px}
.portal-cover-icon{width:44px;height:44px;display:grid;place-items:center;background:#e8f1ff;border-radius:11px;color:#0b56b1}
.portal-cover-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.portal-cover-link-copy{display:block;min-width:0}
.portal-cover-link-copy strong{display:block;font-size:1.22rem;line-height:1.35;letter-spacing:-.025em;color:#183a72}
.portal-cover-link-copy span{display:block;color:var(--muted);font-size:.87rem;line-height:1.45;margin-top:2px}
.portal-cover-arrow{color:var(--accent-strong);font-size:1.3rem;line-height:1;text-align:right}
@media(max-width:900px){.portal-cover-intro,.portal-cover-menu{padding:42px}.portal-cover-list a{gap:13px}}
@media(max-width:760px){.portal-cover-inner{grid-template-columns:1fr;min-height:0}.portal-cover-intro{padding:54px 24px 58px}.portal-cover-intro h1{font-size:clamp(2.8rem,8vw,4.5rem);margin-bottom:25px}.portal-cover-kicker{margin-bottom:24px}.portal-cover-menu{padding:46px 24px 70px}.portal-cover-menu h2{margin-bottom:20px}}
@media(max-width:400px){.portal-cover-intro,.portal-cover-menu{padding-left:20px;padding-right:20px}.portal-cover-intro h1{font-size:2.62rem}.portal-cover-lead{font-size:1.18rem}.portal-cover-list a{grid-template-columns:42px minmax(0,1fr) 20px;gap:11px;min-height:72px}.portal-cover-icon{width:40px;height:40px}.portal-cover-link-copy strong{font-size:1.13rem}.portal-cover-link-copy span{font-size:.82rem}}
@media(max-width:400px){.portal-cover-identity{gap:18px;margin-bottom:28px}.portal-cover-portrait{width:90px;height:128px}.portal-cover-identity .portal-cover-kicker{font-size:.68rem;letter-spacing:.14em}}
