/*
Theme Name: Khronos
Description: Khronos official website — editorial design candidate. Independent classic theme.
Version: 0.8.7
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: khronos
*/

:root{--paper:#f8f7f4;--ink:#222321;--muted:#5f625e;--line:#d6d7d1;--sans:"Helvetica Neue",Arial,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,"Noto Sans CJK JP",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:400 14px/1.95 var(--sans)}h1,h2,h3,h4,h5,h6,p{margin:0;font-family:var(--sans)}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button{font:inherit;cursor:pointer;color:inherit}input,select,textarea{font-family:var(--sans)}a:focus-visible,button:focus-visible{outline:2px solid #7b876c;outline-offset:5px}img{display:block;width:100%;height:auto}.wrap{width:min(1320px,calc(100% - 112px));margin:auto}.eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}.label{font:400 13px/1.8 var(--sans);color:var(--muted)}.display{font:400 clamp(40px,4.5vw,66px)/1.12 var(--sans);letter-spacing:-.025em}.jp{font:500 clamp(23px,3vw,40px)/1.6 var(--sans);letter-spacing:.04em}.arrow{font-size:18px;font-weight:400;flex:none}.line-link{display:inline-flex;gap:35px;align-items:center;padding:8px 0;border-bottom:1px solid currentColor;font-size:12px}.skip{position:absolute;left:16px;top:-100px;z-index:5;background:white;color:black;padding:10px}.skip:focus{top:16px}.hero{position:relative;min-height:clamp(650px,83svh,880px);color:#fff;background:#141a1a;isolation:isolate;display:flex;flex-direction:column}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:57% center;z-index:-2}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,10,11,.87),rgba(8,11,12,.52) 44%,rgba(8,11,12,.08) 83%),linear-gradient(180deg,rgba(4,7,8,.65),transparent 30%,transparent 62%,rgba(5,8,9,.34))}.top{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:32px 0}.brand{width:178px;flex:none}.nav{display:flex;gap:26px;align-items:center;flex-wrap:wrap;font-size:12px;letter-spacing:.035em}.nav a{white-space:nowrap}.nav .contact{border-bottom:1px solid #eee;padding:5px 0}.hero-body{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:50px 0 100px}.hero .eyebrow{color:#ddd;font-size:11px}.hero h1{font:400 clamp(46px,6.3vw,96px)/1.28 var(--sans);letter-spacing:.045em;margin:28px 0}.hero-body p{font-size:15px;line-height:2.15;max-width:32em}.hero-body .line-link{margin-top:28px}.hero-end{display:flex;justify-content:space-between;align-items:center;padding-bottom:25px;font-size:11px;letter-spacing:.09em}.ticker{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:25px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line);font-size:13px}.section{padding:84px 0;border-bottom:1px solid var(--line);scroll-margin-top:12px}.intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,8vw,120px);align-items:start}.intro .jp{margin-bottom:20px}.intro p+p{margin-top:13px}.sectionhead{display:grid;grid-template-columns:1fr minmax(220px,.75fr);gap:40px;align-items:end;margin-bottom:36px}.sectionhead h2{margin-top:13px}.sectionhead p{max-width:35em;justify-self:end}.experience{display:grid;grid-template-columns:1fr 1fr;gap:48px}.experience article{min-width:0;border-top:1px solid var(--line);padding:25px 0 0}.exp-heading{min-height:65px;display:flex;align-items:center}.exp-heading img{width:min(100%,330px)}.experience h3{font:400 29px/1.4 var(--sans);letter-spacing:-.015em}.exp-photo{width:100%;aspect-ratio:2.4;object-fit:contain;background:#191c20;margin:0 0 18px}.experience .jp{font-size:24px;margin:13px 0 12px}.list{margin-top:24px;border-top:1px solid var(--line)}.list a{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.explore{background:#eeeee9}.explore .section{border:0}.explore-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:70px}.tablist{display:none}.js .tablist{display:block}.tablist button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;border:0;border-bottom:1px solid #c8cbc2;background:none;min-height:61px;padding:14px 0;gap:18px}.tablist button:first-child{border-top:1px solid #c8cbc2}.tablist button[aria-selected=true]{font-weight:600}.tablist button[aria-selected=true] .state:after{content:'→'}.tablist button[aria-selected=false] .state:after{content:'+'}.pane{min-width:0}.pane+.pane{margin-top:28px}.js .pane+.pane{margin-top:0}.pane h3{margin-bottom:12px}.pane .list{border-color:#c8cbc2}.pane .list a{display:grid;grid-template-columns:145px minmax(0,1fr) 15px;border-color:#c8cbc2}.pane .list b{font-weight:500}.directory{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr}.entry{display:grid;grid-template-columns:35px 1fr auto;gap:14px;align-items:center;padding:26px 30px 26px 0;border-bottom:1px solid var(--line);min-height:116px}.entry:nth-child(even){border-left:1px solid var(--line);padding:26px 0 26px 30px}.entry h3{font:400 clamp(22px,2.35vw,30px)/1.25 var(--sans);margin-bottom:7px}.entry p{font-size:12px;color:var(--muted)}.entry .num{align-self:start;font-size:10px;color:var(--muted)}.journal{display:grid;grid-template-columns:1.15fr .85fr;gap:52px}.feature{border-top:1px solid var(--line);padding-top:20px}.feature h3{margin:12px 0 22px}.story{display:block;border-top:1px solid var(--line);padding:16px 0}.story:last-child{border-bottom:1px solid var(--line)}.story h3{font-size:15px;font-weight:400;margin-top:6px}.contact-row{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:44px 0}.contact-links{display:flex;flex-wrap:wrap;gap:18px 28px}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:25px;padding:28px 0 36px;font-size:11px;color:var(--muted)}.footer img{width:124px}.study{font-size:10px;color:var(--muted);letter-spacing:.09em}.pane[hidden]{display:none}
@media(max-width:900px){.wrap{width:calc(100% - 56px)}.hero{min-height:650px}.top{padding:24px 0;gap:20px;flex-wrap:wrap}.brand{width:154px}.nav{gap:18px}.hero-body{padding:45px 0 70px}.section{padding:65px 0}.intro{gap:32px}.sectionhead{gap:24px}.experience{gap:28px}.explore-grid{gap:32px}.journal{gap:30px}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.hero{min-height:max(630px,88svh)}.top{padding:24px 0 13px;gap:17px}.brand{width:145px}.nav{width:100%;gap:10px 12px;justify-content:space-between;font-size:10px}.hero:before{background:linear-gradient(0deg,rgba(5,8,10,.94),rgba(5,8,10,.48) 45%,rgba(5,8,10,.15) 70%,rgba(5,8,10,.66)),linear-gradient(90deg,rgba(5,8,10,.15),transparent)}.hero-bg{object-position:56% center}.hero-body{justify-content:flex-end;padding:40px 0 75px}.hero h1{font-size:clamp(34px,10vw,50px);letter-spacing:.035em;margin:17px 0}.hero-body p{font-size:13px;line-height:2.0}.hero .eyebrow{font-size:9px}.hero-body .line-link{margin-top:18px}.hero-end{font-size:9px;padding-bottom:18px}.ticker{grid-template-columns:1fr 18px;gap:4px 12px;padding:15px 0;font-size:12px}.ticker .eyebrow{grid-column:1/-1}.section{padding:49px 0}.intro,.sectionhead,.experience,.explore-grid,.journal{grid-template-columns:1fr;gap:22px}.sectionhead{margin-bottom:24px}.sectionhead p{justify-self:start}.display{font-size:40px}.intro .jp{font-size:25px}.experience .exp-heading{min-height:44px}.experience .exp-heading img{max-width:295px}.experience article+article{margin-top:8px}.experience .jp{font-size:22px}.pane .list a{grid-template-columns:1fr 15px;gap:0 12px}.pane .list a span:nth-child(2){grid-row:2;grid-column:1;font-size:12px}.pane .list .arrow{grid-column:2;grid-row:1/3;align-self:center}.directory{grid-template-columns:1fr}.entry,.entry:nth-child(even){padding:20px 0;border-left:0;min-height:88px;grid-template-columns:22px 1fr auto}.entry h3{font-size:26px}.contact-row{flex-direction:column;align-items:flex-start;padding:34px 0;gap:18px}.footer{flex-wrap:wrap;gap:16px}.footer .study{width:100%;order:3}.contact-links{gap:12px 22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* WordPress content and preview */
html{overflow-wrap:break-word}.wp-site-blocks{max-width:100%}.admin-bar .hero{min-height:calc(clamp(650px,83svh,880px) - 32px)}.site-header{border-bottom:1px solid var(--line)}.site-header .brand{display:block}.site-header .nav .contact{border-color:var(--ink)}.site-header .top{padding-top:28px;padding-bottom:28px}.content-area{width:min(800px,calc(100% - 36px));margin:0 auto;padding:76px 0 94px;min-height:45vh}.content-area h1{font:400 clamp(28px,4vw,50px)/1.5 var(--sans);margin-bottom:30px}.entry-content{font-size:15px;line-height:2}.entry-content>*{margin-bottom:1.3em}.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{font-family:var(--sans);margin:1.5em 0 .7em;font-weight:500}.entry-content a,.comment-content a{text-decoration:underline;text-underline-offset:.2em}.entry-content img,.entry-content video,.entry-content iframe{max-width:100%}.entry-content img{width:auto;height:auto}.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.entry-content td,.entry-content th{padding:8px;border:1px solid var(--line)}.entry-content pre{overflow:auto;max-width:100%;padding:12px;background:#eeeee9}.entry-content .alignleft{float:left;margin:0 1.5em 1em 0}.entry-content .alignright{float:right;margin:0 0 1em 1.5em}.entry-content .aligncenter{margin-left:auto;margin-right:auto}.entry-content:after{content:'';display:table;clear:both}.post-summary{padding:25px 0;border-bottom:1px solid var(--line)}.post-summary h2{font:400 25px/1.5 var(--sans);margin-bottom:10px}.post-summary img{max-width:360px;height:auto}.pagination{margin-top:24px}.pagination a,.pagination span{display:inline-block;padding:5px 9px}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.search-form{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.search-form input,.comment-form input,.comment-form textarea{font:inherit;border:1px solid var(--line);padding:10px;background:white;color:var(--ink);max-width:100%}.search-form input[type=submit],.comment-form input[type=submit]{cursor:pointer}.comments-area{margin-top:48px;border-top:1px solid var(--line);padding-top:24px}.comment-list{padding-left:24px}.comment-list li{margin-top:20px}.comment-list .avatar{width:48px;height:48px}.comment-form label{display:block}.comment-form textarea{width:100%}.khronos-preview-note{background:#eee8d9;color:#24211b;padding:9px 18px;text-align:center;font-size:12px}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:12px;color:var(--muted)}.bypostauthor{border-left:1px solid var(--line);padding-left:12px}.entry-content ul,.entry-content ol{padding-left:1.6em}@media(max-width:600px){.content-area{padding-top:48px;padding-bottom:60px}.site-header .top{padding:20px 0}.admin-bar .hero{min-height:calc(max(630px,88svh) - 46px)}}

/* v0.6.1: preserve complete Online Lab artwork; reflow hidden items */
.exp-photo{aspect-ratio:auto;height:auto;object-fit:contain;background:none}.experience-single,.journal-single{grid-template-columns:1fr;max-width:750px}.directory>.entry:only-child{grid-column:1/-1}

/* 0.6.4 — shared editorial rhythm, unchanged artwork. */
.journal .feature .jp{font-size:clamp(22px,2.6vw,34px);line-height:1.7}.journal .story h3{line-height:1.85}.journal .story .eyebrow{letter-spacing:.15em}.list a,.entry,.story{transition:color .16s ease}.list a:hover,.entry:hover,.story:hover{text-decoration:none;color:#565951}.list a:hover .arrow,.entry:hover .arrow{transform:translate(2px,-2px)}.arrow{transition:transform .16s ease}@media(prefers-reduced-motion:reduce){.list a,.entry,.story,.arrow{transition:none}.list a:hover .arrow,.entry:hover .arrow{transform:none}}
/* Balance a three-project library without a vacant fourth cell. */
@media(min-width:1000px){.directory:has(>.entry:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.directory:has(>.entry:nth-child(3):last-child)>.entry{border-left:1px solid var(--line);padding:24px 20px;grid-template-columns:24px minmax(0,1fr) auto;gap:12px}.directory:has(>.entry:nth-child(3):last-child)>.entry:first-child{border-left:0;padding-left:0}.directory:has(>.entry:nth-child(3):last-child)>.entry:last-child{padding-right:0}.directory:has(>.entry:nth-child(3):last-child)>.entry h3{font-size:clamp(20px,2vw,29px)}}
@media(min-width:601px) and (max-width:999px){.directory>.entry:last-child:nth-child(odd){grid-column:1/-1}}

/* Khronos visual system 0.7 — designed at the official site; downstream media adapt from this source. */
:root{
 --paper:#f8f8f6; --ink:#191b1b; --muted:#575b59; --line:#d4d6d2;
 --panel:#eff0ed; --dark:#101415;
 --sans:"Helvetica Neue",Arial,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,"Noto Sans CJK JP",sans-serif;
 --gutter:clamp(22px,5vw,76px); --section-space:clamp(64px,7.2vw,112px);
 --heading-weight:400; --body-size:15px; --body-leading:1.95;
}
body{font-size:var(--body-size);line-height:var(--body-leading);-webkit-font-smoothing:antialiased}
.wrap{width:min(1320px,calc(100% - 2 * var(--gutter)))}
.eyebrow{font-size:11px;font-weight:500;letter-spacing:.13em;line-height:1.5}
.label{font-size:14px;line-height:1.85;max-width:39em}
.display{font-size:clamp(39px,4.1vw,59px);line-height:1.05;font-weight:var(--heading-weight);letter-spacing:-.04em}
.jp{font-size:clamp(24px,2.65vw,37px);line-height:1.65;font-weight:500;letter-spacing:.015em}
.line-link{font-size:13px;gap:22px;padding:10px 0;font-weight:500;line-height:1.6}
.site-header{background:var(--paper);border-bottom:1px solid var(--line);color:var(--ink)}
.site-header .top{min-height:84px;padding-block:22px;gap:36px;flex-wrap:nowrap}
.site-header .brand{width:170px}
.site-header .nav{font-size:13px;letter-spacing:.02em;gap:clamp(17px,2vw,30px);justify-content:flex-end;flex-wrap:wrap}
.site-header .nav .contact{border-bottom:1px solid var(--ink)}
.hero{min-height:clamp(520px,69vh,690px);background:var(--dark);overflow:hidden}
.admin-bar .hero{min-height:clamp(500px,67vh,680px)}
.hero-bg{width:78%;left:auto;right:0;object-position:51% 53%;filter:brightness(1.15)}
.hero:before{background:linear-gradient(90deg,#101415 0%,#101415 17%,rgba(16,20,21,.96) 26%,rgba(16,20,21,.72) 43%,rgba(16,20,21,.14) 70%,transparent 95%)}
.hero-body{padding:92px 0 58px;justify-content:center}
.hero .eyebrow{font-size:11px;color:#d8ddda;letter-spacing:.19em}
.hero h1{font-size:clamp(42px,5.2vw,76px);line-height:1.35;letter-spacing:.025em;margin:22px 0 22px}
.hero-body p{font-size:15px;line-height:2.05;color:#f1f2ef}
.hero-body .line-link{margin-top:27px}
.hero-end{padding-bottom:24px;color:#e2e4e0;font-size:10px;letter-spacing:.11em}
.ticker{grid-template-columns:180px minmax(0,1fr) auto;gap:24px;padding:23px 0;font-size:13px}
.section{padding:var(--section-space) 0;scroll-margin-top:20px}
.intro{grid-template-columns: .7fr 1.3fr;gap:clamp(34px,8vw,130px)}
.intro h2{margin-top:12px}.intro p{max-width:38em}.intro .jp{margin-bottom:19px}.intro .line-link{margin-top:12px}
.sectionhead{grid-template-columns:1fr minmax(220px,.65fr);align-items:end;gap:40px;margin-bottom:34px}
.sectionhead h2{margin-top:12px}.sectionhead p{justify-self:end}
.experience{gap:clamp(32px,5vw,76px)}
.experience article{padding-top:20px}.exp-heading{min-height:51px;margin-bottom:13px}.exp-heading img{width:min(100%,340px)}
.experience h3{font-size:27px}.experience .jp{font-size:27px;margin:10px 0 13px}
.exp-photo{width:100%;aspect-ratio:auto;object-fit:contain;margin:0 0 16px;background:none}
.list{margin-top:21px}.list a{font-size:14px;min-height:51px;padding:12px 0}
.list a:hover,.entry:hover,.story:hover{text-decoration:none;color:var(--ink)}
.list a:hover,.story:hover{background:rgba(25,27,27,.025)}
.explore{background:var(--panel)}.explore .section{border:0}.explore-grid{grid-template-columns:.8fr 1.2fr;gap:clamp(30px,6vw,88px)}
.tablist button{font-size:14px;min-height:64px;padding:14px 0;line-height:1.7}.tablist button[aria-selected=true]{font-weight:600;border-bottom-color:var(--ink)}
.pane .list a{grid-template-columns: minmax(120px,155px) minmax(0,1fr) 18px}.pane .jp{font-size:clamp(23px,2.45vw,33px)}
/* One horizontal index, independent of the number of visible entries. */
.directory,.directory:has(>.entry:nth-child(3):last-child){display:grid;grid-template-columns:1fr}
.directory>.entry,.directory>.entry:nth-child(even),.directory:has(>.entry:nth-child(3):last-child)>.entry{grid-column:1/-1;grid-template-columns:44px minmax(0,1fr) 22px;min-height:92px;gap:18px;border-left:0;padding:20px 0}
.directory>.entry>div{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:28px;align-items:center}
.directory .entry h3{font-size:clamp(22px,2.15vw,31px);letter-spacing:-.025em;margin:0;line-height:1.3}
.directory .entry p{font-size:14px;line-height:1.7}.directory .entry .num{font-size:11px;align-self:center}
.journal{grid-template-columns:1.05fr .95fr;gap:clamp(30px,5vw,80px)}
.journal .feature{padding-top:21px}.journal .feature .jp{font-size:clamp(23px,2.3vw,34px);line-height:1.65;letter-spacing:.005em;margin:15px 0 21px}
.journal .story{padding:20px 0}.journal .story h3{font-size:17px;line-height:1.7;margin-top:10px;font-weight:500}
.contact-row{padding:42px 0}.contact-row .jp{font-size:24px}.footer{padding:26px 0 32px}
.experience-single,.journal-single{grid-template-columns:1fr;max-width:750px}
@media(max-width:900px){.site-header .top{gap:20px;flex-wrap:wrap;min-height:72px}.site-header .nav{gap:13px 18px;justify-content:flex-start}.hero-bg{width:100%;object-position:58% center}.hero:before{background:linear-gradient(90deg,rgba(16,20,21,.93) 0%,rgba(16,20,21,.72) 36%,rgba(16,20,21,.14) 80%,transparent)}.intro,.sectionhead,.experience,.explore-grid,.journal{gap:28px}.directory>.entry>div{grid-template-columns:minmax(170px,.8fr) 1.2fr;gap:16px}}
@media(max-width:600px){
 :root{--gutter:20px;--section-space:52px;--body-size:14px}
 .site-header .top{padding-block:19px;gap:16px}.site-header .brand{width:147px}.site-header .nav{width:100%;font-size:12px;gap:10px 17px;justify-content:flex-start;line-height:1.4}
 .hero,.admin-bar .hero{min-height:clamp(470px,63svh,590px)}.hero-bg{width:100%;object-position:55% center;filter:brightness(1.07)}
 .hero:before{background:linear-gradient(0deg,#101415 1%,rgba(16,20,21,.91) 23%,rgba(16,20,21,.48) 48%,transparent 82%)}
 .hero-body{justify-content:flex-end;padding:56px 0 34px}.hero h1{font-size:clamp(31px,9.6vw,48px);margin:15px 0 12px;line-height:1.4;letter-spacing:.025em}.hero-body p{font-size:13px;line-height:1.95}.hero-body .line-link{margin-top:17px}.hero-end{padding-bottom:17px;font-size:9px}
 .ticker{grid-template-columns:minmax(0,1fr) 18px;gap:6px 12px;padding:16px 0;font-size:12px}
 .intro,.sectionhead,.experience,.explore-grid,.journal{grid-template-columns:1fr;gap:22px}.sectionhead{margin-bottom:24px}.sectionhead p{justify-self:start}.display{font-size:40px}.label{font-size:13px}.intro .jp{font-size:25px}.experience .jp{font-size:23px}.exp-heading{min-height:36px;margin-bottom:11px}.exp-heading img{width:min(100%,290px)}
 .pane .list a{grid-template-columns:1fr 16px;gap:0 12px}.pane .list a span:nth-child(2){grid-column:1;grid-row:2;font-size:13px}.pane .list .arrow{grid-column:2;grid-row:1/3;align-self:center}
 .directory>.entry,.directory>.entry:nth-child(even),.directory:has(>.entry:nth-child(3):last-child)>.entry{min-height:83px;grid-template-columns:22px minmax(0,1fr) 18px;gap:10px;padding:15px 0}
 .directory>.entry>div{grid-template-columns:1fr;gap:6px}.directory .entry h3{font-size:24px}.directory .entry p{font-size:12px}.journal .story h3{font-size:15px}.contact-row .jp{font-size:22px}.footer{gap:16px}
}
@media(max-width:600px){.site-header .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:10px;row-gap:12px;align-items:center}.site-header .nav a{justify-self:start;line-height:1.4}.site-header .nav .contact{padding:0 0 3px}}

/* 0.7.1 — shared masthead and journey continuity. The official site defines these tokens. */
:root{--kh-header-height:84px;--kh-admin-offset:0px}
.admin-bar{--kh-admin-offset:32px}
.site-header{position:sticky;top:var(--kh-admin-offset);z-index:20}
.site-header .nav a{position:relative;display:inline-flex;align-items:center;min-height:34px;padding:3px 0;text-decoration:none}
.site-header .nav a:hover,.site-header .nav a[aria-current="location"]{box-shadow:inset 0 -1px var(--ink)}
.site-header .nav .contact{border-bottom:0}
.journey-return[hidden]{display:none!important}
.journey-return{border-top:1px solid var(--line);background:var(--paper)}
.journey-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:40px;font-size:12px;line-height:1.5}
.journey-back{display:flex;align-items:center;gap:10px;min-height:40px;font-weight:500}
.journey-location{color:var(--muted);font-size:11px;letter-spacing:.08em}
#main,.section[id],#lab,#contact{scroll-margin-top:calc(var(--kh-header-height) + var(--kh-admin-offset) + 12px)}
.journal-enter{display:inline-block;text-decoration:underline;text-underline-offset:4px;margin-left:.7em;white-space:nowrap}
@media(max-width:782px){.admin-bar{--kh-admin-offset:46px}}
@media(max-width:600px){:root{--kh-header-height:144px}.admin-bar{--kh-admin-offset:0px}.site-header .top{min-height:0;padding-block:13px;gap:8px}.site-header .nav{row-gap:2px;column-gap:10px}.site-header .nav a{min-height:32px;padding:3px 0}.journey-inner{min-height:38px}.journey-back{min-height:38px}}

/* A single visual language: new-window indicators and visible current state are functional cues. */
.site-header .nav a[aria-current="location"]{font-weight:600}
.journey-location{max-width:55%;text-align:right;letter-spacing:.04em}
.journey-back{min-width:0}
@media(max-width:600px){.site-header .nav a{min-height:40px}.site-header .top{gap:4px}.journey-inner{font-size:11px}.journey-location{font-size:10px}}

/* 0.7.2 — mobile continuity: return shares the logo row, not a third navigation row. */
:root{--kh-header-height:84px}
html{scroll-padding-top:calc(var(--kh-header-height) + var(--kh-admin-offset) + 8px)}
/* Scroll padding protects keyboard-focused content too; don't count the header twice. */
#main,.section[id],#lab,#contact{scroll-margin-top:4px}
.skip{z-index:100001}
@media(max-width:600px){
 :root{--kh-header-height:141px}
 .site-header .top{padding-block:4px;row-gap:0}
 .site-header .brand{display:flex;align-items:center;min-height:44px;width:140px}
 .site-header .nav{row-gap:0}
 .site-header .nav a{min-height:44px;padding-block:3px}
 .journey-return{position:absolute;top:4px;right:var(--gutter);border:0;background:transparent}
 .journey-inner{width:auto;min-height:44px;gap:0}
 .journey-back{min-height:44px;gap:6px;font-size:11px;white-space:nowrap}
 .journey-location{display:none}
}
html:has(body.admin-bar){--kh-admin-offset:32px}
@media(max-width:782px){html:has(body.admin-bar){--kh-admin-offset:46px}}
@media(max-width:600px){html:has(body.admin-bar){--kh-admin-offset:0px}}

/* 0.7.4: a return action is a primary navigation affordance, not decorative text. */
.journey-return{background:var(--paper);border-top:1px solid var(--line)}
.journey-inner{min-height:62px;justify-content:space-between;padding-block:6px}
.journey-back{display:inline-flex;align-items:center;justify-content:flex-start;gap:11px;background:#252724;color:#fff;border:1px solid #252724;border-radius:2px;padding:5px 15px;min-height:48px;white-space:nowrap;text-decoration:none;font-size:13px;line-height:1.25;transition:background-color .16s,color .16s}
.journey-back:hover{background:#f0f0eb;color:#252724;text-decoration:none}
.journey-arrow{flex:none;width:22px;height:22px}
.journey-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.journey-kicker{font-size:9px;line-height:1.25;letter-spacing:.14em;font-weight:500}
.journey-label{font-size:13px;line-height:1.35;font-weight:600;letter-spacing:.005em}
.journey-location{font-size:11px;letter-spacing:.12em}
.site-header .nav a:focus-visible,.journey-back:focus-visible{outline-offset:3px}
/* Editorial hierarchy: explicit heading-to-content grouping and direction cues. */
.directory .entry h3{font-weight:500}
.directory .entry{transition:background-color .18s,color .18s}
.directory .entry:hover{background:#eeeee9}
.directory .entry:focus-visible{outline-offset:2px}
.directory .entry .arrow{font-size:21px}
.sectionhead .eyebrow,.intro .eyebrow{color:#555954;letter-spacing:.15em}
@media(max-width:600px){
 .journey-return{position:absolute;top:4px;right:var(--gutter);border:0;background:transparent}
 .journey-inner{min-height:48px;padding:0}
 .journey-back{min-height:44px;padding:4px 8px;gap:6px}
 .journey-arrow{width:17px;height:17px}
 .journey-kicker{font-size:8px;letter-spacing:.12em}
 .journey-label{font-size:11px;line-height:1.35;letter-spacing:0}
 .site-header:has(.journey-return:not([hidden])) .brand{width:clamp(102px,33vw,140px)}
 .journey-location{display:none}
 .site-header:has(.journey-return:not([hidden])) .top{padding-block:6px}
 .site-header .nav a{font-size:12px}
 .directory .entry .arrow{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.journey-back,.directory .entry{transition:none}html{scroll-behavior:auto}}
/* Wide desktop: reserve the return control in the masthead itself. */
@media(min-width:1200px){
 .site-header:has(.journey-return:not([hidden])) .top{padding-inline-end:216px;gap:24px}
 .site-header .journey-return{position:absolute;top:50%;right:max(var(--gutter),calc((100% - 1320px)/2));transform:translateY(-50%);border:0;background:transparent}
 .site-header .journey-inner{width:auto;min-height:48px;padding:0}
 .site-header .journey-location{display:none}
}
