/* SomerQuant site base, 8 Nov 2026. Design B "The Notebook", font pairing M.
   Replaces the retired Paper CSS (backup: private page 4737). Keep small: posts and pages carry their own style blocks. */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Courier+Prime&display=swap');
:root{--sq-cream:#F6F1E7;--sq-ink:#1E1B16;--sq-purple:#5B3FA6;--sq-rule:#D9D2C3;--sq-muted:#5A5347;--sq-serif:'Crimson Pro',Georgia,'Times New Roman',serif;--sq-sans:-apple-system,'Segoe UI',system-ui,sans-serif;--sq-mono:'Courier Prime',Menlo,monospace}
html,body{background:var(--sq-cream) !important;color:var(--sq-ink) !important}
body{font-family:var(--sq-serif);font-size:21px;line-height:1.6}
a{color:var(--sq-purple)}
a:hover{color:var(--sq-ink)}
h1,h2,h3,h4,.site-title{font-family:var(--sq-serif);font-weight:600;color:var(--sq-ink);letter-spacing:0}
.site-header{max-width:892px;margin:0 auto;padding:22px 16px 14px;border-bottom:2px solid var(--sq-ink);background:transparent;display:grid !important;grid-template-columns:auto 1fr;grid-template-areas:"logo brand" "nav nav";column-gap:14px;align-items:center}
.site-header .site-logo{grid-area:logo;margin:0}
.site-header .custom-logo{height:40px;width:auto;display:block}
.site-header .site-branding{grid-area:brand;margin:0}
.site-header .site-title{font-size:1.75rem;line-height:1.05;margin:0}
.site-header .site-title a{color:var(--sq-ink);text-decoration:none}
.site-header .site-description{font:italic 1rem/1.3 var(--sq-serif);color:var(--sq-muted);margin:2px 0 0}
.site-header .primary-navigation,.site-header #site-navigation{display:block !important;grid-area:nav;margin:14px 0 0;padding:0}
.site-header .primary-menu-container{display:block !important}
.site-header ul.menu-wrapper{display:flex !important;flex-wrap:wrap;gap:4px 22px;list-style:none;margin:0;padding:0}
.site-header ul.menu-wrapper li{margin:0;padding:0}
.site-header ul.menu-wrapper a{font:700 11.5px/1.4 var(--sq-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--sq-purple);text-decoration:none;padding:6px 0;display:inline-block;border-bottom:2px solid transparent}
.site-header ul.menu-wrapper a:hover,.site-header ul.menu-wrapper .current-menu-item>a{color:var(--sq-ink);border-bottom-color:var(--sq-ink)}
.site-header .menu-button-container,.site-header #primary-close-menu,.site-header #primary-open-menu{display:none !important}
.site-main,#main,.site-content{background:transparent}
.entry-header .entry-title{font-family:var(--sq-serif)}
.hide-homepage-title .entry-header{display:none}
code,pre,kbd,.mono{font-family:var(--sq-mono)}
.site-footer,#colophon{display:block !important;max-width:892px;margin:48px auto 0;padding:14px 16px 40px;border-top:2px solid var(--sq-ink);font:12.5px/1.6 var(--sq-sans);color:#47586f;background:transparent}
.site-footer a,#colophon a{color:#47586f}
.site-footer .site-info .imprint,.site-footer .powered-by-wordpress,#colophon .powered-by-wordpress{display:none}
.wp-block-jetpack-subscriptions input[type=email]{font-family:var(--sq-serif);font-size:1rem;border:1px solid var(--sq-rule);background:#fff;color:var(--sq-ink)}
.wp-block-jetpack-subscriptions button,.wp-block-button__link{background:var(--sq-ink);color:var(--sq-cream);font:600 14px var(--sq-sans);border-radius:4px}
@media (max-width:560px){body{font-size:19px}.site-header{padding:16px 16px 10px}.site-header .custom-logo{height:32px}.site-header .site-title{font-size:1.4rem}.site-header ul.menu-wrapper{gap:2px 16px}}

/* width and home title, 8 Nov 2026 */
:root{--responsive--aligndefault-width:min(calc(100vw - 32px),892px);--responsive--alignwide-width:min(calc(100vw - 32px),1100px)}
.site-header,.site-footer{max-width:892px}
.home.page-id-815 .entry-header,.home .entry-title{display:none}
.site-footer .widget-area{margin-bottom:10px}
.site-footer .footer-menu{display:flex;flex-wrap:wrap;gap:4px 18px;list-style:none;padding:0;margin:0 0 12px}
.site-footer .footer-menu a{font:700 11px/1.4 var(--sq-sans);letter-spacing:.1em;text-transform:uppercase;color:#47586f;text-decoration:none}
.site-footer .site-info{font-size:12px}
.site-footer #az-postal-line{font-family:var(--sq-mono);font-size:11.5px;margin-top:6px}

/* phone header, 8 Nov 2026 */
@media (max-width:481px){.site-header{padding-top:18px !important}.site-header #site-navigation,.site-header .primary-navigation{position:static !important;height:auto !important}.site-header .primary-menu-container{position:static !important;height:auto !important;width:auto !important;opacity:1 !important;visibility:visible !important;transform:none !important;overflow:visible !important;padding:0 !important;background:transparent !important}.site-header ul.menu-wrapper{visibility:visible !important;height:auto !important;display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;justify-content:flex-start !important;gap:2px 16px !important}.site-header ul.menu-wrapper li{visibility:visible !important;width:auto !important;flex:0 0 auto !important;margin:0 !important;padding:0 !important;border:0 !important}.site-header ul.menu-wrapper li a{display:inline-block !important;width:auto !important;margin:0 !important;font-size:11px !important;padding:4px 0 !important;color:var(--sq-purple) !important;border-bottom:2px solid transparent !important}}

/* polish pass 1, 8 Nov 2026: bigger type, tighter masthead, no duplicate title */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Courier+Prime&display=swap');
html:root body{font-size:21px;line-height:1.6;color:#1e1b16}
.site-header{display:grid !important;grid-template-columns:auto 1fr;grid-template-areas:"logo brand" "nav nav";column-gap:16px;align-items:center;padding:26px 16px 0;border-bottom:0}
.site-header .site-logo{grid-area:logo;margin:0;justify-self:start}
.site-header .custom-logo{height:52px !important;width:auto}
.site-header .site-branding{grid-area:brand;margin:0;text-align:left;justify-self:start}
.site-header .site-title{font:700 2.1rem/1 'Crimson Pro',Georgia,serif !important;letter-spacing:-.01em;margin:0}
.site-header .site-title a{color:#1e1b16;text-decoration:none}
.site-header .site-description{font:italic 1.12rem/1.3 'Crimson Pro',Georgia,serif !important;color:#5a5347;margin:4px 0 0}
.site-header .primary-navigation,.site-header #site-navigation{grid-area:nav;margin:18px 0 0;padding:12px 0 0;border-top:1px solid #d9d2c3;border-bottom:2px solid #1e1b16}
.site-header ul.menu-wrapper{gap:4px 26px;padding-bottom:12px}
.site-header ul.menu-wrapper a{font:700 13px/1.4 -apple-system,'Segoe UI',system-ui,sans-serif !important;letter-spacing:.14em;color:#5b3fa6;padding:4px 0}
.site-header ul.menu-wrapper a:hover,.site-header ul.menu-wrapper .current-menu-item>a,.site-header ul.menu-wrapper .current_page_item>a{color:#1e1b16;border-bottom-color:#1e1b16}
.site-main,#main{padding-top:18px !important}
.home .sq-mast,.home .sq-mast-line{display:none !important}
.home .sq-home-letter{margin-top:0}
.home .sq-home-letter .sq-sec:first-child,.home .sq-home-letter .sq-sec{padding-top:26px}
html:root body .sqp{font-size:22px;line-height:1.62}
html:root body .sqp .hed{font-size:clamp(2.1rem,3.8vw,2.9rem);line-height:1.08}
html:root body .sqp .deck{font-size:1.3rem}
html:root body .sqp .kicker,html:root body .sqp .lab,html:root body .sqp .rh,html:root body .sqp .rail-h,html:root body .sq-bs-kicker,html:root body .sq-ed-kicker{font-size:12.5px !important;letter-spacing:.14em}
html:root body .sq-panel-head{letter-spacing:-.005em;font-size:1.5rem}
html:root body .sq .sq-ed h2,html:root body .sq-home h2,html:root body .sq-panel h2{font-size:1.6rem;line-height:1.2}
html:root body .wp-block-query-no-results p,html:root body .sq-empty{font-size:1.1rem;color:#5a5347}
html:root body .sq .sq2-form input[type=email],html:root body .wp-block-jetpack-subscriptions input[type=email]{font-size:1.05rem;padding:12px 14px}
html:root body .wp-block-button__link{font-size:15px;padding:12px 20px}
.site-footer{font-size:13.5px}
.site-footer .footer-menu a{font-size:11.5px !important;letter-spacing:.12em}
@media (max-width:560px){
  html:root body{font-size:20px;line-height:1.55}
  .site-header{padding:18px 16px 0 !important;column-gap:12px}
  .site-header .custom-logo{height:42px !important}
  .site-header .site-title{font-size:1.7rem !important}
  .site-header .site-description{font-size:1rem !important}
  .site-header .primary-navigation,.site-header #site-navigation{margin-top:14px;padding-top:10px}
  .site-header ul.menu-wrapper{gap:2px 18px !important;padding-bottom:10px}
  .site-header ul.menu-wrapper li a{font-size:11.5px !important;letter-spacing:.12em !important}
  html:root body .sqp{font-size:20px;line-height:1.55}
  html:root body .sqp .hed{font-size:2rem}
  html:root body .sqp .deck{font-size:1.18rem}
  .site-main,#main{padding-top:10px !important}
}
.site-header{padding-top:28px !important;padding-bottom:0 !important}
.site-header ul.menu-wrapper{justify-content:flex-start !important}
.site-header ul.menu-wrapper li{flex:0 0 auto !important;width:auto !important;padding:0 !important;margin:0 !important}
@media (min-width:720px){.home .sq-home-letter .sq-shell,.home .sq-home-journal .sq-shell,.home .sq-home .sq-shell{padding-left:0 !important;padding-right:0 !important}.home .sq-home-letter .sq-shell>*,.home .sq-home-journal .sq-shell>*,.home .sq-home .sq-shell>*{margin-left:0 !important;margin-right:0 !important}}
.home .sq-loop:has(.wp-block-query-no-results){padding-left:0 !important}

/* polish 1b */
.site-header .site-title a,.site-header .site-title{background:none !important;box-shadow:none !important;text-shadow:none !important;padding:0 !important}
.sq .sq-sec:first-child,.sqp,.sq .sq-shell:first-child{padding-top:22px !important}
.site-main .entry-content > .sq:first-of-type{margin-top:0}

/* figures, 8 Nov 2026 */
html:root body .sqp figure.dpc,html:root body .sq figure.dpc{margin:22px 0 26px;padding:0;max-width:none}
html:root body .sqp figure.dpc figcaption,html:root body .sq figure.dpc figcaption{font:600 1.12rem/1.35 'Crimson Pro',Georgia,serif;text-align:left;color:#1e1b16;margin:0 0 10px;padding:0}
html:root body .sqp figure.dpc .sub,html:root body .sq figure.dpc .sub{text-align:left;font-size:12.5px;line-height:1.5;color:#47586f;margin-top:8px}
html:root body .sqp figure.dpc svg{display:block;width:100%;height:auto}

/* type step up, 8 Nov 2026 evening */
html:root body{font-size:22px;line-height:1.6}
html:root body .sqp,html:root body .sq{font-size:23px;line-height:1.6}
html:root body .sqp .hed{font-size:clamp(2.4rem,4.4vw,3.3rem);line-height:1.06}
html:root body .sqp .deck{font-size:1.42rem;line-height:1.4}
html:root body .sqp h2{font-size:1.75rem}
html:root body .sqp h3{font-size:1.3rem}
html:root body .sqp .lede{font-size:1.25rem}
html:root body .sqp .kicker,html:root body .sqp .lab,html:root body .sqp .rh,html:root body .sqp .rail-h,html:root body .sq-bs-kicker,html:root body .sq-ed-kicker{font-size:13.5px !important}
html:root body .sqp figure.dpc figcaption{font-size:1.22rem}
html:root body .sqp table,html:root body .sq table.sq-tbl{font-size:15px}
html:root body .sqp .src,html:root body .sqp .sub,html:root body .sqp .br,html:root body .sqp .rs{font-size:13.5px}
html:root body .sqp .dateline{font-size:13.5px}
html:root body .sq .sq-bs-hed{font-size:clamp(2.4rem,5.6vw,3.3rem) !important}
html:root body .sq .sq-bs-deck{font-size:clamp(1.3rem,2.8vw,1.5rem) !important}
html:root body .sq .sq-ed h2,html:root body .sq-home h2,html:root body .sq-panel h2,html:root body .sq-panel-head{font-size:1.8rem}
html:root body .sq-loop .wp-block-post-title{font-size:2rem !important;line-height:1.12}
.site-header .site-title{font-size:2.4rem !important}
.site-header .site-description{font-size:1.2rem !important}
.site-header ul.menu-wrapper a{font-size:13.5px !important}
@media (max-width:560px){
  html:root body{font-size:21px;line-height:1.55}
  html:root body .sqp,html:root body .sq{font-size:21px;line-height:1.55}
  html:root body .sqp .hed{font-size:2.25rem}
  html:root body .sqp .deck{font-size:1.28rem}
  html:root body .sqp h2{font-size:1.55rem}
  html:root body .sq .sq-bs-hed{font-size:2.25rem !important}
  html:root body .sq-loop .wp-block-post-title{font-size:1.8rem !important}
  .site-header .site-title{font-size:1.9rem !important}
  .site-header .site-description{font-size:1.08rem !important}
  .site-header ul.menu-wrapper li a{font-size:12.5px !important}
}