/* pwp-authored-additional-v1-20261028: technical foundation only */
@layer pwp-runtime-foundation {
  :root {
    --bg:#F0F9FF; --text:#0C4A6E;
    --surface:#FFFFFF; --text-muted:#475569;
    --primary:#0EA5E9; --primary-fg:#0F172A;
    --border:#BAE6FD;
  }
  *, *::before, *::after { box-sizing:border-box; }
  html { scroll-behavior:smooth; }
  body { margin:0; background:var(--bg); color:var(--text); }
  img, video { max-inline-size:100%; block-size:auto; }
  button, input, select, textarea { font:inherit; }
  button, summary { cursor:pointer; }
  :where(a,button,input,select,textarea,summary):focus-visible { outline:2px solid currentColor; outline-offset:4px; }
  .skip { position:fixed; inset-block-start:-10rem; inset-inline-start:1rem; z-index:10000; padding:.75rem; background:var(--bg); color:var(--text); }
  .skip:focus { inset-block-start:1rem; }
  /* Legal prose is a separate utility; never constrain the author's main site. */
  .legal-container { max-inline-size:76ch; margin-inline:auto; padding:clamp(1rem,4vw,3rem); }
  .legal-body { line-height:1.7; overflow-wrap:anywhere; }
  .legal-body p + p, .legal-body section + section { margin-block-start:1.25em; }
  .legal-body table { display:block; overflow-x:auto; max-inline-size:100%; }
  .legal-body h1, .legal-body h2, .legal-body h3, .legal-title { line-height:1.2; }
  [data-cookie-fallback] { position:fixed; inset-inline:1rem; inset-block-end:1rem; z-index:9999; max-inline-size:34rem; padding:1rem; border:1px solid var(--border); background:var(--bg); color:var(--text); }
  [data-cookie-fallback] .cookie-text { font:14px/1.5 system-ui,sans-serif; }
  [data-cookie-fallback] .cookie-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-block-start:.75rem; }
  [data-cookie-fallback] button { min-block-size:44px; padding:.6rem 1rem; border:1px solid var(--border); background:var(--surface); color:var(--text); }
  [data-cookie-fallback] [data-action="accept-cookie"] { background:var(--primary); color:var(--primary-fg); }
}
/* Required state, not a visual layout. Expanded pages may be grid/flex/block. */
[hidden], .cookie-banner.hidden { display:none !important; }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* === AUTHOR-OWNED SITE STYLES === */
:root{--bg:#f5f1e8;--text:#202d29;--surface:#fffdf7;--text-muted:#58645d;--primary:#a83f2c;--primary-fg:#fff;--border:#c9c8ba;--ink:#163f39;--gold:#e8b65d}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;line-height:1.55}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}a:hover{color:var(--primary)}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #c55b3e;outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;left:1rem;top:-5rem;background:#fff;padding:.7rem;z-index:20}.skip:focus{top:1rem}.site-header{background:var(--bg);border-bottom:1px solid var(--border)}.header-inner{max-width:1500px;margin:auto;padding:1.15rem 4.5%;display:flex;align-items:center;justify-content:space-between;gap:2rem}.brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--ink);line-height:.96;font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:1.12rem;letter-spacing:-.05em}.brand svg{width:37px;height:42px;flex:none}.nav-links{display:flex;align-items:center;gap:2rem;font-size:.91rem;font-weight:700}.nav-links a{text-decoration:none}.nav-links .nav-contact{border-bottom:1px solid var(--primary);padding:.3rem 0}.wrap{width:min(1370px,91%);margin-inline:auto}.hero{background:var(--ink);color:#f8f3e8;overflow:hidden}.hero-inner{display:grid;grid-template-columns:.9fr 1.1fr;min-height:610px}.hero-copy{padding:5.8rem 5% 4rem 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eyebrow{font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.hero .eyebrow{color:#edc879}.hero h1,.page-heading h1{font-family:"Newsreader",serif;font-weight:400;letter-spacing:-.045em;line-height:.96;margin:1.1rem 0 1.4rem}.hero h1{font-size:clamp(4rem,7.4vw,7.6rem);max-width:8ch}.hero-copy p{max-width:32rem;font-size:1.08rem;color:#e4e8dc}.text-link{display:inline-flex;align-items:center;gap:1.2rem;font-weight:700;text-decoration:none;border-bottom:1px solid currentColor;padding:.65rem 0}.text-link span{font-size:1.3em}.hero-art{position:relative;background:#d6a36b;min-height:480px;overflow:hidden}.hero-art svg{width:100%;height:100%;display:block;position:absolute;inset:0}.art-caption{position:absolute;bottom:1.2rem;right:1.5rem;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#fff7e9}.intro-strip{display:grid;grid-template-columns:1fr 2fr;gap:3rem;padding:3.2rem 0;border-bottom:1px solid var(--border)}.intro-strip h2,.section-title h2,.contact-layout h2{font-family:"Newsreader",serif;font-weight:400;letter-spacing:-.035em;line-height:1.05;font-size:clamp(2.4rem,4vw,4rem);margin:0}.intro-strip p{max-width:48rem;font-size:1.12rem;margin:0}.section{padding:5rem 0}.section-title{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2.5rem}.section-title p{max-width:26rem;margin:0;color:var(--text-muted)}.feature-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:1.4rem}.feature{border-top:1px solid var(--text);padding-top:1rem;display:flex;flex-direction:column;min-width:0}.feature-visual{height:220px;margin-bottom:1.3rem;overflow:hidden}.feature-visual svg{width:100%;height:100%;display:block}.feature .category,.article-list .category{color:var(--primary);font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.feature h3,.article-list h3{font-family:"Newsreader",serif;font-size:2rem;font-weight:400;line-height:1.08;letter-spacing:-.025em;margin:.55rem 0}.feature p,.article-list p{color:var(--text-muted);margin:.2rem 0 1rem}.feature .text-link{margin-top:auto;align-self:flex-start;font-size:.9rem}.more-band{background:#e8ddc8}.more-inner{padding:4rem 0;display:grid;grid-template-columns:.8fr 1.2fr;gap:4rem}.more-inner h2{font:400 clamp(2.6rem,4vw,4rem)/1 "Newsreader",serif;letter-spacing:-.04em;margin:.5rem 0 1rem}.more-inner p{max-width:27rem}.article-list{border-top:1px solid #a99f8d}.article-list a{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:1.2rem 0;border-bottom:1px solid #a99f8d;text-decoration:none}.article-list h3{font-size:1.65rem;margin:.25rem 0}.article-list p{margin:0;font-size:.92rem}.arrow{font-size:1.5rem}.page-heading{background:var(--ink);color:#fffaf0;padding:5rem 0 4rem}.page-heading .eyebrow{color:#edc879}.page-heading h1{font-size:clamp(3.6rem,7vw,6.5rem);max-width:15ch}.page-heading p{font-size:1.15rem;max-width:43rem;color:#e4e8dc;margin:0}.article-layout{display:grid;grid-template-columns:1fr 2fr;gap:6rem;padding:4rem 0 6rem}.article-aside{font-size:.9rem;color:var(--text-muted)}.article-aside strong{display:block;color:var(--primary);text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;margin-bottom:.8rem}.article-body{max-width:760px}.article-body h2{font:400 clamp(2rem,3vw,2.8rem)/1.1 "Newsreader",serif;letter-spacing:-.025em;margin:2.5rem 0 .8rem}.article-body h2:first-child{margin-top:0}.article-body p,.article-body li{font-size:1.05rem}.article-body ul,.article-body ol{padding-left:1.3rem}.article-body li{padding-left:.25rem;margin:.5rem 0}.note{background:#e8ddc8;border-left:4px solid var(--primary);padding:1.2rem 1.5rem;margin:2rem 0}.note p{margin:.25rem 0}.related{border-top:1px solid var(--border);padding-top:1.5rem;margin-top:3rem}.related a{margin-right:1.5rem}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:5rem;padding:5rem 0 7rem}.contact-layout p{max-width:36rem}.contact-details{border-top:1px solid var(--text)}.contact-details div{padding:1.2rem 0;border-bottom:1px solid var(--border)}.contact-details dt{font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--primary)}.contact-details dd{margin:.3rem 0 0}.site-footer{background:#172e2a;color:#edf0e6;padding:4rem 0 2rem}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:3rem}.site-footer .brand{color:#fff}.site-footer p{color:#cbd5cc;font-size:.92rem;max-width:25rem}.site-footer h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 1rem;color:#e4bd77}.footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;font-size:.9rem}.footer-links a,.footer-links button{color:#edf0e6}.footer-links button{background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}.copyright{border-top:1px solid #52665e;margin-top:3rem;padding-top:1.5rem;font-size:.82rem;color:#cbd5cc}.cookie{position:fixed;z-index:30;bottom:1rem;left:1rem;width:min(520px,calc(100% - 2rem));background:#fffdf7;color:var(--text);border:1px solid var(--border);box-shadow:0 10px 40px #0003;padding:1.4rem}.cookie h2{font:400 1.7rem "Newsreader",serif;margin:0}.cookie p{font-size:.9rem;margin:.5rem 0 1rem}.cookie-actions{display:flex;flex-wrap:wrap;gap:.6rem}.cookie button{padding:.7rem 1rem;border:1px solid var(--ink);background:var(--ink);color:#fff;cursor:pointer}.cookie button+button{background:transparent;color:var(--ink)}.document{max-width:780px;margin:4rem auto;padding:0 1.5rem 4rem}.document h1{font:400 3.5rem/1 "Newsreader",serif}.document h2{font:400 2rem "Newsreader",serif;margin-top:2rem}
@media(max-width:800px){.header-inner{align-items:flex-start;flex-direction:column;gap:1rem}.nav-links{gap:1.2rem;flex-wrap:wrap}.hero-inner{grid-template-columns:1fr}.hero-copy{padding:4rem 0 3rem}.hero-art{min-height:360px}.intro-strip,.more-inner,.article-layout,.contact-layout{grid-template-columns:1fr;gap:2rem}.feature-grid{grid-template-columns:1fr 1fr}.feature:first-child{grid-column:1/-1}.section-title{align-items:start;flex-direction:column}.article-layout{padding:3rem 0 4rem}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:500px){.wrap{width:90%}.hero h1{font-size:4.1rem}.hero-art{min-height:300px}.feature-grid{grid-template-columns:1fr;gap:2.5rem}.feature:first-child{grid-column:auto}.feature-visual{height:200px}.section{padding:3.5rem 0}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.page-heading{padding:3.5rem 0}.page-heading h1{font-size:3.5rem}.nav-links{font-size:.84rem;gap:.9rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* === OPEN NAVIGATION SURFACE SAFETY === */
/* Position, shadows, borders and scroll treatment belong to the author.
   Only an OPEN mobile menu gets a mandatory opaque readable surface. */
header.site-header[data-pwp-nav-open] {
  background-color: var(--bg, #ffffff) !important;
  isolation: isolate;
}
[data-pwp-mobile-menu][data-pwp-menu-open] {
  background-color: var(--bg, #ffffff);
  color: var(--text, #0f172a);
  max-block-size: var(--pwp-nav-available-height, calc(100dvh - 6rem));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pwp-source-note {
  margin-block-start: 1rem;
  font-size: .875em;
  line-height: 1.5;
}
.pwp-source-note a { text-decoration: underline; text-underline-offset: .2em; }
