/* Shared framing for the homepage and portfolio pages. */
:root { --paper: #faf9f6; --ink: #101111; --line: #cececa; --gutter: clamp(22px, 4vw, 64px); }
.home-header, .home-footer {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.home-header { margin: 0 2.5%; min-height: 100px; padding: 12px 1.5%; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-header a { color: var(--ink); text-decoration: none; }
.home-logo { position: relative; display: block; width: 168px; height: 66px; overflow: hidden; flex-shrink: 0; mix-blend-mode: multiply; }
.home-logo img { position: absolute; width: 215.04px; height: auto; max-width: none; left: -23.52px; top: -36.12px; }
.home-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: 16px; letter-spacing: -.04em; }
.home-nav > a { padding: 12px 0; }
.home-nav > a:hover, .home-nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.home-account { border-left: 1px solid #92928f; padding-left: clamp(22px, 3vw, 44px); }
.home-header .home-account .account-link { border: 0; font: inherit; min-width: 0; padding: 10px 0; color: #454545; }
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px var(--gutter); border-top: 1px solid var(--line); font-size: 11px; color: #63645f; }
.home-footer a { color: var(--ink); font-size: 13px; text-decoration: none; }
.home-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-header a:focus-visible, .home-footer a:focus-visible { outline: 3px solid #769d00; outline-offset: 6px; }
body.content-page { margin: 0; background: var(--paper); }
.content-page .site-shell { display: flex; flex-direction: column; min-height: 100vh; max-width: 1920px; margin: auto; }
.content-page .page-content { flex: 1; padding-bottom: 60px; min-width: 0; }
.content-page #canvas { max-width: calc(100% - 44px); }
.content-page .block > div { max-width: 100%; box-sizing: border-box; }
.content-page .page-content img, .content-page .page-content iframe { max-width: 100%; }
.content-page .contact-form { max-width: 100%; }
@media (max-width: 760px) {
  .home-header { padding: 16px 0; min-height: 90px; flex-wrap: wrap; gap: 10px; margin: 0 var(--gutter); }
  .home-logo { width: 147px; height: 58px; }
  .home-logo img { width: 188.16px; left: -20.58px; top: -31.605px; }
  .home-nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 14px; }
  .home-account { padding-left: 16px; }
  .home-footer { flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; gap: 16px; }
  .home-footer > a { order: -1; width: 100%; font-size: 15px; }
}
