/* EricPoston.com | Portfolio refinement — Nov 21, 2026
   Layered over the original visual system; no changes to existing schema or page architecture. */
:root {
 --gold:#d4a64e;
 --gold-dark:#e4c27e;
 --line:#2b2924;
 --line-strong:#66502c;
 --soft-shadow:0 18px 44px rgba(0,0,0,.23);
}
html {scroll-behavior:smooth;scroll-padding-top:82px}
body {font-size:16px;line-height:1.64;letter-spacing:.001em}
button,input,select,textarea {font:inherit}
a,button { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,[tabindex]:focus-visible {outline:2px solid #f1c97e;outline-offset:4px}
/* A real single-row navigation: simpler, shorter and more legible. */
.site-header {background:#090909;border-bottom:1px solid #2f2920;}
.site-header .nav-shell {
 display:grid!important;
 grid-template-columns:minmax(178px,1fr) auto auto!important;
 grid-template-rows:1fr!important;
 align-items:center;min-height:76px;
 padding:9px 0!important;gap:20px!important;
}
.site-header .ep-brand {
 display:inline-flex;align-items:center;gap:10px;grid-column:1;grid-row:1;
 min-width:0;width:max-content;max-width:100%;text-decoration:none;
 color:#f5f2ec;
}
.ep-brand img {display:block;flex:none;width:59px;height:51px;object-fit:contain}
.ep-brand-text {font-size:1.18rem;font-weight:600;letter-spacing:.015em;white-space:nowrap;line-height:1.2}
.site-header .nav-shell .nav-links {
 grid-column:2!important;grid-row:1!important;
 display:flex;align-items:center;justify-content:flex-end;
 gap:clamp(10px,1.6vw,20px);padding:0!important;margin:0!important;
 width:auto;max-width:none;min-width:0;overflow:visible;
 border:0!important;font-size:.76rem;letter-spacing:.018em;
 text-transform:none;font-weight:650;white-space:nowrap;
}
.site-header .nav-links a {color:#eee9df;padding:8px 0;border-bottom:1px solid transparent}
.site-header .nav-links a:hover,.site-header .nav-links a[aria-current="page"] {color:#f1d092;border-bottom-color:var(--gold)}
.site-header .nav-links .site-search-trigger {
 display:inline-flex;align-items:center;gap:6px;
 color:#ece7dd;padding:7px 2px;border:0;
 font-size:.75rem;letter-spacing:.01em;text-transform:none;white-space:nowrap;
}
.site-search-trigger span:first-child {font-size:1.4em;line-height:1}
.site-search-trigger:hover {color:#f1d092!important}
.site-header .ep-mobile-resume {display:none!important}
.site-header .nav-shell .nav-cta {
 grid-column:3!important;grid-row:1!important;justify-self:end;
 padding:0 15px;min-height:41px;
 background:var(--gold);border:1px solid var(--gold);color:#080808;
 font-size:.72rem;font-weight:750;letter-spacing:.01em;text-transform:none;
 border-radius:2px;white-space:nowrap;
}
.site-header .nav-cta:hover {background:#f0c97d;color:#0b0b0b;border-color:#f0c97d}
.site-header .nav-shell .site-mobile-toggle {display:none}
/* Editorial typography: restrained instead of oversized, widely spaced uppercase. */
h1,.compact-hero h1,.feature-hero h1 {
 font-size:clamp(2.55rem,5.3vw,5.25rem);line-height:1.045;
 font-weight:650;letter-spacing:-.048em;text-transform:none;overflow-wrap:normal;
}
.hero .hero-title {font-size:1.08rem;letter-spacing:.018em;text-transform:none;font-weight:650;line-height:1.45;margin-top:21px}
.hero-lede {line-height:1.7;font-size:1.02rem}
.hero-sublede {line-height:1.7;font-size:.97rem}
.eyebrow,.section-kicker {font-size:.7rem;letter-spacing:.14em}
.section h2,.contact-panel h2 {letter-spacing:-.025em;line-height:1.2}
.section-intro {line-height:1.72;max-width:760px}
.landing-hero {margin-top:0;padding:64px 0 67px;border-top:none;border-bottom:1px solid #534326}
.hero-grid {gap:clamp(35px,5vw,72px);align-items:center}
.hero-copy {max-width:710px}
.hero-actions {gap:12px;margin-top:28px}
.button,.nav-cta {transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.button {text-transform:none;letter-spacing:.015em;font-size:.77rem;font-weight:700;min-height:46px;padding:0 18px;border-radius:2px}
.button:hover {transform:translateY(-1px)}
.text-link {font-size:.76rem;letter-spacing:.02em;text-transform:none;font-weight:650}
/* Preserve the original photo: remove heavy concentric metallic framing. */
.hero-portrait {padding:5px;border:1px solid #745c32;background:#0b0b0b;box-shadow:0 15px 42px rgba(0,0,0,.4);border-radius:3px}
.hero-portrait img {border:0}
.hero-portrait figcaption {border-top:1px solid #403424;margin-top:0;padding:12px 13px}
.hero-portrait figcaption strong,.hero-portrait figcaption span {font-size:.68rem;letter-spacing:.04em}
/* Calm, consistent cards with room to breathe. */
.feature-card,.role-card,.work-card,.pub-card,.service-card,.evidence-card,.profile-link-grid a,.tech-grid article,
.service-feature,.contact-card {border:1px solid #2d2a25!important;border-top:1px solid #70582e!important;border-radius:3px}
.service-feature {box-shadow:none;min-height:222px;padding:27px}
.service-feature h3 {font-size:1.18rem;letter-spacing:-.012em}
.service-feature p,.feature-text {line-height:1.7}
.service-feature a {letter-spacing:.035em;text-transform:none;font-size:.76rem}
.feature-form-section {border-color:#3b3326}
.feature-inquiry-form {border:1px solid #55442c;border-radius:4px;box-shadow:none;padding:clamp(23px,3vw,34px)}
.feature-inquiry-form label {font-size:.78rem;letter-spacing:0}
.feature-inquiry-form input:not([type=checkbox]),.feature-inquiry-form textarea,.feature-inquiry-form select {border-radius:3px;background:#0c0c0c;min-height:44px}
/* Portfolio navigation helps visitors reach a relevant sample instead of scrolling through everything. */
.ep-jump-nav {
 display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;
 padding:19px 0 2px;border-bottom:1px solid #30291f;
}
.ep-jump-nav span {font-size:.69rem;color:#bbb5aa;margin-right:9px;letter-spacing:.08em;text-transform:uppercase;font-weight:750}
.ep-jump-nav a {font-size:.77rem;color:#e6dbca;border:1px solid #423725;border-radius:99px;padding:7px 12px;min-height:34px;line-height:1.5}
.ep-jump-nav a:hover {background:#221b10;border-color:#cbaa65;color:#fff}
section[id],article[id]{scroll-margin-top:94px}
/* Replace the three-card homepage citations block with one purposeful gateway. */
.ep-sources-compact {display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:48px!important;padding-bottom:48px!important;border-top:1px solid #28241e}
.ep-sources-compact h2 {font-size:clamp(1.5rem,2.6vw,2.15rem);margin-bottom:8px}
.ep-sources-compact p {color:#bfbcb6;font-size:.86rem;margin:0}
.ep-sources-compact .button {flex:none}
/* A smaller, more disciplined footer. */
.footer {border-top:1px solid #6d542e;padding:31px 0 24px;background:#080808}
.ep-footer-main {display:flex;align-items:flex-start;justify-content:space-between;gap:28px;border-bottom:1px solid #302b23;padding-bottom:28px}
.ep-footer-identity {display:flex;align-items:center;gap:14px;min-width:230px}
.ep-footer-logo img {display:block;width:52px;height:45px}
.ep-footer-identity strong {font-size:1rem;font-weight:650;letter-spacing:.015em}
.ep-footer-identity p {font-size:.72rem;color:#bdb7ab;line-height:1.5;margin:5px 0 0;max-width:290px}
.footer .footer-links {display:flex;justify-content:flex-end;align-items:center;gap:12px 19px;flex-wrap:wrap;max-width:650px;font-size:.73rem;letter-spacing:.008em;text-transform:none;font-weight:600}
.footer .footer-links a {padding:4px 0;color:#e7dfd4;border-bottom:1px solid transparent}
.footer .footer-links a:hover {color:#f1d092;border-color:#a8874a}
.ep-footer-bottom {display:flex;align-items:center;gap:10px 24px;flex-wrap:wrap;padding-top:20px;color:#b9b5ac;font-size:.72rem}
.ep-footer-bottom a {color:#e0d5c3}
.ep-footer-bottom a:hover {color:#f1d092}
/* Quick answers is a quiet utility in the footer, not a floating ad-like overlay. */
.footer .site-help-trigger {
 position:static;display:inline-flex;align-items:center;justify-content:center;
 width:auto;height:auto;padding:4px 0;margin:0;background:none;border:0;border-bottom:1px solid transparent;
 box-shadow:none;border-radius:0;color:#e0d5c3;font-size:.73rem;font-weight:600;line-height:inherit;letter-spacing:.008em;text-transform:none;
}
.footer .site-help-trigger:hover {color:#f1d092;border-bottom-color:#a8874a}
.footer .site-help-trigger::after {content:none;display:none}
.site-help-panel {z-index:1005;border-radius:6px;bottom:22px;right:22px;max-height:min(78dvh,680px);overflow-y:auto}
.site-search-dialog {z-index:1006}
.site-search-result {border-radius:3px}
.site-search-result p {margin-top:3px}
/* Help small-screen visitors find the navigation without making the header taller. */
@media (max-width:1080px) and (min-width:761px) {
 .site-header .nav-shell {gap:10px!important;grid-template-columns:minmax(130px,1fr) auto auto!important;}
 .ep-brand img {width:44px;height:39px}
 .ep-brand-text {font-size:.99rem}
 .site-header .nav-shell .nav-links {gap:10px;font-size:.69rem}
 .site-header .nav-shell .nav-cta {padding:0 10px;font-size:.68rem}
 .ep-footer-main {flex-direction:column;align-items:flex-start}
 .footer .footer-links{justify-content:flex-start;max-width:none}
}
@media(max-width:760px) {
 html {scroll-padding-top:70px}
 .site-header .nav-shell {grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;min-height:68px;gap:0 10px!important;padding:8px 0!important}
 .site-header .ep-brand {grid-column:1!important;grid-row:1!important;gap:7px}
 .ep-brand img {width:45px;height:40px}
 .ep-brand-text {font-size:1.03rem;letter-spacing:0}
 .site-header .nav-shell .site-mobile-toggle {grid-column:2!important;grid-row:1!important;display:inline-flex!important;width:42px;height:41px;padding:9px;border-radius:3px;border-color:#534127}
 .site-header .nav-shell .nav-links {grid-column:1 / -1!important;grid-row:2!important;display:none!important;width:100%;margin:8px 0 0!important;padding:7px 0 9px!important;flex-direction:column;align-items:stretch;gap:0!important;border-top:1px solid #403727!important;max-height:72dvh;overflow-y:auto;white-space:normal}
 .site-header .nav-shell .nav-links[data-open="true"] {display:flex!important}
 .site-header .nav-links a,.site-header .nav-links .site-search-trigger {width:100%;text-align:left;display:flex;justify-content:flex-start;gap:9px;padding:12px 12px!important;font-size:.85rem!important;border-bottom:1px solid #28241c}
 .site-header .ep-mobile-resume {display:block!important}
 .site-header .nav-shell .nav-cta {display:none!important}
 .landing-hero {padding:40px 0 44px}
 h1,.compact-hero h1,.feature-hero h1 {font-size:clamp(2.42rem,9vw,3.55rem);line-height:1.065;letter-spacing:-.05em;max-width:100%}
 .hero .hero-title {font-size:.94rem;margin-top:17px}
 .hero-lede,.hero-sublede {font-size:.96rem;line-height:1.72}
 .hero-grid {gap:36px}
 .hero-portrait {box-shadow:0 12px 34px rgba(0,0,0,.3);padding:4px}
 .hero-actions {align-items:stretch;margin-top:24px}
 .hero-actions .button {width:auto;flex:1 1 160px}
 .hero-actions .text-link {flex:1 1 100%;margin-top:2px;text-align:left}
 .ep-jump-nav {padding:15px 0;gap:9px}
 .ep-jump-nav span {flex-basis:100%;margin:0}
 .ep-sources-compact {align-items:flex-start;flex-direction:column;gap:18px}
 .ep-footer-main {flex-direction:column;align-items:flex-start;gap:24px}
 .footer .footer-links {justify-content:flex-start;max-width:none;gap:9px 19px}
 .ep-footer-bottom {align-items:flex-start;flex-direction:column;gap:7px}
 .site-help-panel {bottom:10px;right:10px;width:calc(100vw - 20px);max-height:85dvh}
 section[id],article[id] {scroll-margin-top:75px}
}
@media(max-width:400px) {
 .ep-brand-text {font-size:.95rem}
 .hero-actions .button {flex-basis:100%}
 .feature-form-grid {gap:24px}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}
@media print {.ep-jump-nav,.site-help-panel,.site-help-trigger{display:none!important}}
/* Keep the header comfortable at intermediate laptop/tablet widths. */
@media (min-width:761px) and (max-width:970px) {
 .site-header .nav-links a[href="/#experience"] {display:none}
 .site-header .nav-links .ep-search-label {display:none}
}
