/* Shared site shell for the prototype pages (home.html, portfolio.html): header, mobile menu, footer.
   Loaded after each page's own <style>, so these rules are the single source for the shell. */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter); transition: background .35s, padding .35s; }
header.site.scrolled, header.site.menu-open { background: linear-gradient(rgba(26,17,12,.92), rgba(26,17,12,.92)), url("../img/web/leather-tile-dark.webp") 0 0 / 420px 420px;
  padding-block: 12px; box-shadow: 0 1px 0 rgba(239,227,204,.08), 0 10px 30px -10px rgba(0,0,0,.6); }
header.site .wordmark { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 600; font-size: 26px; text-decoration: none; white-space: nowrap; color: var(--thread); }
header.site .wordmark img { height: 30px; width: auto; margin-right: 10px; }
header.site .wordmark .hy { font-family: var(--sans); font-style: normal; font-weight: 400; margin: 0 1px; }
header.site .wordmark span { font-style: italic; color: var(--brass); margin-left: .25em; }
header.site nav.primary { display: flex; gap: 30px; font-size: 15px; }
header.site nav.primary a { text-decoration: none; color: var(--thread-dim); padding: 4px 0; border-bottom: 1px solid transparent; }
header.site nav.primary a:hover { color: var(--thread); }
header.site nav.primary a[aria-current="page"] { color: var(--thread); border-bottom-color: var(--brass); }
header.site .hdr-actions { display: flex; align-items: center; gap: 12px; }
header.site .btn { padding: 12px 20px; font-size: 14px; }
.menu-btn { display: none; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); color: var(--thread); background: rgba(20,13,9,.5);
  border: 1px solid rgba(239,227,204,.3); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.menu-btn .bars { width: 16px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.menu-btn .bars::before { top: 1px; } .menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4.5px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 49; padding: 96px 24px 32px; overflow-y: auto;
  background: linear-gradient(rgba(20,13,9,.96), rgba(20,13,9,.96)), url("../img/web/leather-tile-dark.webp") 0 0 / 420px 420px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--thread); text-decoration: none; padding: 14px 0;
  border-bottom: 1px dashed rgba(239,227,204,.22); }
.mobile-nav a[aria-current="page"] { color: var(--brass); }
.mobile-nav .btn { margin-top: 28px; font-family: var(--sans); font-size: 16px; border-bottom: 0; display: inline-flex; padding: 14px 24px; color: var(--tobacco); }
@media (max-width: 900px) {
  header.site nav.primary { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 480px) {
  header.site { gap: 10px; }
  header.site .wordmark { font-size: 21px; }
  header.site .wordmark img { height: 24px; margin-right: 7px; }
  header.site .hdr-actions .btn { display: none; }   /* quote button moves into the menu */
}
main [id] { scroll-margin-top: 84px; }

footer.site-foot { padding: 56px 0 110px; font-size: 14px; color: var(--thread-dim); background: rgba(10,6,4,.4); }
footer.site-foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px 40px; }
footer.site-foot .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; color: var(--thread); }
footer.site-foot .brand img { height: 26px; width: auto; }
footer.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site-foot a { color: var(--thread-dim); text-decoration: none; }
footer.site-foot a:hover { color: var(--thread); }
footer.site-foot h4 { margin: 0 0 10px; font: 600 14px var(--sans); color: var(--thread); }
footer.site-foot .fine { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px;
  border-top: 1px dashed rgba(239,227,204,.2); color: #9d8c73; font-size: 13px; }
@media (max-width: 760px) { footer.site-foot .wrap { grid-template-columns: 1fr; } }
html.menu-open .chat-launch, html.menu-open .chat-panel, html.menu-open .film-toggle { display: none; }   /* keep the open menu uncluttered */

/* Bodoni Moda at optical size 14 ("Middle A", owner-approved): at large sizes the default design thins the "e" crossbar
   to a hairline, so "seam" read like "scam" and "Beechcraft" like "Bccchcraft". Manrope ignores this axis. */
/* on every element: a page's `font:` shorthand resets this property, so inheritance alone isn't enough */
*, *::before, *::after { font-variation-settings: "opsz" 14 !important; }
h1, h2, h3, h4, blockquote, .wordmark { font-weight: 500; }
/* the pressed-in shadow's dark top edge sat on the crossbar; keep only the soft lower edge */
.stamped, .integrity blockquote { text-shadow: 0 1px 0 rgba(0,0,0,.45) !important; }
