/* Mobile-only caption, connected to Personal; reserve consistent header rows. */
.mobile-personal-caption{display:none}
@media(max-width:767px){
 html body #nav{box-sizing:border-box;height:152px;min-height:152px;border:0;border-bottom:2px solid #dce2eb}
 html body #nav>.nav-line{display:none}
 html body #nav>.max-w-6xl,html body #nav>.nav-inner{box-sizing:border-box;height:150px;min-height:150px;display:grid;grid-template-rows:44px 60px;row-gap:14px;padding-top:16px;padding-bottom:16px;align-items:center}
 html body #nav>.max-w-6xl{grid-template-columns:minmax(0,1fr) auto;column-gap:6px}
 html body #nav>.max-w-6xl>a:first-child{grid-column:1;grid-row:1;justify-self:start}
 html body #nav .mobile-header-actions{grid-column:2;grid-row:1;position:relative}
 html body #nav>.max-w-6xl>a.mobile-personal-caption{box-sizing:border-box;display:flex;align-items:center;justify-content:center;grid-column:1/-1;grid-row:2;position:relative;align-self:stretch;width:100%;min-width:0;height:60px;margin:0;padding:8px 12px;border:1px solid #e2e7ed;border-radius:8px;background:#f5f7fa;color:#53657a;text-align:center;text-decoration:none;font:500 14px/20px Barlow,sans-serif;letter-spacing:normal;white-space:normal;text-wrap:balance}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:before{content:"";position:absolute;top:-7px;right:86px;width:12px;height:12px;background:#f5f7fa;border-top:1px solid #e2e7ed;border-left:1px solid #e2e7ed;transform:rotate(45deg)}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover{background:#eef2f6}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover:before{background:#eef2f6}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
 html body #nav>.nav-inner{grid-template-columns:minmax(0,1fr)}
 html body #nav .personal-identity{grid-row:1;grid-column:1;width:100%;height:44px;min-height:44px}
 html body #nav .header-returns{grid-row:2;grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;height:60px}
 html body #nav>.nav-inner>.professional-return{grid-row:2;grid-column:1;width:calc((100% - 10px)/2)}
 html body #nav .header-returns>.return-button,html body #nav>.nav-inner>.professional-return{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;height:60px;min-height:60px;margin:0;padding:10px 12px;font:600 14px/18.2px Barlow,sans-serif;text-align:center;white-space:normal;border-radius:28px}
 html body #nav .professional-return>span{flex:0 0 22px;display:flex;padding:0;border:0}
 html body #nav .professional-return svg,html body #nav .header-returns>.return-button>svg{flex:0 0 22px;width:22px;height:22px}
 body.mobile-caption-home{padding-top:76px}
 body.mobile-caption-home section[id]{scroll-margin-top:166px}
}
@media(max-width:350px){html body #nav>.max-w-6xl>a.mobile-personal-caption:before{right:80px}}

/* A compact annotation under Personal, rather than a full-width callout. */
@media(max-width:767px){
 html body #nav>.max-w-6xl>a.mobile-personal-caption{justify-self:end;width:164px;height:60px;margin-right:46px;padding:0 8px;border:0;border-radius:6px;background:#fff7e6;color:#70552a;font:500 14px/20px Barlow,sans-serif}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:before{top:-6px;right:42px;width:10px;height:10px;border:0;background:#fff7e6}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover,html body #nav>.max-w-6xl>a.mobile-personal-caption:hover:before{background:#fff0cf}
}
@media(max-width:350px){html body #nav>.max-w-6xl>a.mobile-personal-caption{margin-right:42px}}

/* Plain supporting text beneath Personal; no callout treatment. */
@media(max-width:767px){
 html body #nav>.max-w-6xl>a.mobile-personal-caption{align-self:start;justify-content:flex-end;height:auto;min-height:40px;margin-top:-4px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#607084;text-align:right;text-wrap:balance}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:before{display:none}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover{background:transparent;color:#354f74;text-decoration:underline;text-underline-offset:3px}
}

/* A larger button and centered supporting caption read as one compact group. */
@media(max-width:767px){
 html body #nav .mobile-personal-entry{box-sizing:border-box;justify-content:center;flex:0 0 140px;width:140px;height:48px;min-height:48px;padding:10px 12px;gap:10px;font:600 18px/22px "Barlow Condensed",sans-serif}
 html body #nav>.max-w-6xl>a.mobile-personal-caption{align-self:start;justify-content:center;width:164px;height:48px;min-height:48px;margin-top:-6px;margin-right:34px;padding:4px 8px;border:0;border-radius:6px;background:#fff7e6;color:#70552a;text-align:center;font:500 14px/20px Barlow,sans-serif;text-decoration:none}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:before{display:none}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover{background:#fff0cf;color:#604216;text-decoration:none}
}
@media(max-width:374px){
 html body #nav .mobile-personal-entry{flex-basis:112px;width:112px;gap:6px;padding-left:10px;padding-right:10px}
 html body #nav>.max-w-6xl>a.mobile-personal-caption{margin-right:20px}
}
@media(max-width:350px){html body #nav>.max-w-6xl>a.mobile-personal-caption{margin-right:20px}}

/* Less spare header space; maintain matching rows and readable touch targets. */
@media(max-width:767px){
 html body #nav{height:136px;min-height:136px}
 html body #nav>.max-w-6xl,html body #nav>.nav-inner{height:134px;min-height:134px;row-gap:10px;padding-top:12px;padding-bottom:8px}
 html body #nav>.max-w-6xl>a.mobile-personal-caption{margin-top:-2px;padding:3px 7px;border:1px solid #dfc994;color:#503b19;background:#fff7e6}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover{color:#503b19}
 body.mobile-caption-home{padding-top:60px}
 body.mobile-caption-home section[id]{scroll-margin-top:150px}
}

/* Small centered notch connects the caption to Personal without adding height. */
@media(max-width:767px){
 html body #nav>.max-w-6xl>a.mobile-personal-caption:before{display:block;content:"";position:absolute;top:-4px;left:50%;right:auto;width:6px;height:6px;box-sizing:content-box;background:#fff7e6;border:0;border-top:1px solid #dfc994;border-left:1px solid #dfc994;transform:translateX(-50%) rotate(45deg);pointer-events:none}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover:before{background:#fff0cf}
}

/* Trim only the remaining bottom whitespace, retaining aligned controls. */
@media(max-width:767px){
 html body #nav{height:128px;min-height:128px}
 html body #nav>.max-w-6xl,html body #nav>.nav-inner{height:126px;min-height:126px;padding-bottom:0}
 body.mobile-caption-home{padding-top:52px}
 body.mobile-caption-home section[id]{scroll-margin-top:142px}
}
@media(max-width:767px){html body #nav .header-returns,html body #nav>.nav-inner>.professional-return{position:relative;top:-4px}}

/* Clear mobile return label and balanced spacing around Personal's caption. */
html body #nav .home-label-mobile{display:none}
html body #nav .professional-return>.home-label-desktop{flex:0 1 auto;width:auto;padding:0;border:0;font:inherit}
@media(max-width:767px){
 html body #nav>.max-w-6xl,html body #nav>.nav-inner{padding-top:18px;row-gap:4px}
 html body #nav>.max-w-6xl>a.mobile-personal-caption{margin-top:4px}
 html body #nav .home-label-desktop{display:none!important}
 html body #nav .home-label-mobile{display:inline;flex:0 1 auto;width:auto;padding:0;border:0;font:inherit;white-space:nowrap}
}

/* Keep the full professional-return label on one line at phone widths. */
@media(max-width:767px){
 html body #nav>.nav-inner>.professional-return{width:100%}
 html body #nav .header-returns{grid-template-columns:minmax(0,1fr);position:static;top:auto}
 html body #nav .header-returns>.return-button:not(.return-personal){position:relative;top:-4px;grid-column:1;width:100%}
 html body.letter #nav .personal-context{display:none}
 html body.letter #nav .header-returns>.return-personal{position:absolute;top:16px;right:16px;width:min(200px,calc(100% - 193px));height:48px;min-height:48px;padding:4px 8px;gap:6px;font:600 14px/18.2px Barlow,sans-serif}
 html body.letter #nav .header-returns>.return-personal>svg{width:18px;height:18px;flex-basis:18px}
}
@media(max-width:350px){html body.letter #nav .header-returns>.return-personal{right:12px;width:calc(100% - 166px)}}

/* A clearer supporting caption, still softer than the primary gold button. */
@media(max-width:767px){
 html body #nav>.max-w-6xl>a.mobile-personal-caption{background:#fff0cf;border-color:#ceb070;color:#403014}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:before{background:#fff0cf;border-color:#ceb070}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover,html body #nav>.max-w-6xl>a.mobile-personal-caption:hover:before{background:#ffebbd}
 html body #nav>.max-w-6xl>a.mobile-personal-caption:hover{color:#403014}
}

/* Restore the essay's compact pair; Personal keeps its full-width return. */
@media(max-width:767px){
 html body.letter #nav .personal-context{display:inline}
 html body.letter #nav .header-returns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:relative;top:-4px}
 html body.letter #nav .header-returns>.return-button:not(.return-personal){position:static;top:auto;width:auto}
 html body.letter #nav .header-returns>.return-personal{position:static;top:auto;right:auto;grid-column:2;width:auto;height:60px;min-height:60px;padding:10px 12px;gap:10px;font:600 14px/18.2px Barlow,sans-serif}
 html body.letter #nav .header-returns>.return-personal>svg{width:22px;height:22px;flex-basis:22px}
 html body.letter #nav .home-label-mobile{white-space:normal}
}

/* Personal's one-line return uses only the width its contents need. */
@media(max-width:767px){
 html body.intro-page #nav>.nav-inner>.professional-return{justify-self:start;width:max-content;max-width:100%;height:48px;min-height:48px;padding:8px 16px}
}
