/* Shared header and footer; independent of page-specific typography and colors. */
.layout-header, .layout-footer {
  --layout-purple: #8051ff;
  --layout-dark: #231b3b;
  --layout-cyan: #72ffff;
  color: white;
  background: var(--layout-purple);
  font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.5;
}
.layout-header a, .layout-footer a { text-decoration: none; }
.layout-header a:focus-visible, .layout-header button:focus-visible, .layout-header summary:focus-visible, .layout-footer a:focus-visible { outline: 3px solid var(--layout-cyan); outline-offset: 6px; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 20px; color: white; background: #231b3b; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.layout-header { position: relative; z-index: 10; }
.layout-header-inner { min-height: 126px; width: calc(100% - 7.3%); margin: auto; padding: 10px 20px 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.layout-brand { display: inline-flex; align-items: center; gap: 15px; white-space: nowrap; font-family: "Trebuchet MS", Arial, sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -1.2px; }
.layout-brand img { display: block; width: 55px; height: 84px; object-fit: contain; filter: drop-shadow(0 4px 3px #10092399) drop-shadow(0 0 6px #10092366); }
.layout-nav { display: flex; align-items: center; gap: 36px; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 18px; font-weight: 700; }
.layout-nav > a:hover, .layout-footer-nav > a:hover { color: var(--layout-cyan); }
.layout-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.layout-nav-tools { display: flex; align-items: center; gap: 16px; margin-left: -7px; color: #76d9f6; }
.layout-info { position: relative; }
.layout-info summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 5px 9px 5px 5px; border: 1px solid #ffffff33; border-radius: 999px; background: #ffffff14; color: white; list-style: none; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.layout-info summary::-webkit-details-marker { display: none; }
.layout-info summary:hover { border-color: #c5b4ff; background: #ffffff24; }
.layout-avatar { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #291c4c; color: var(--layout-cyan); }
.layout-avatar svg { width: 20px; height: 20px; }
.layout-info-chevron { flex-shrink: 0; width: 14px; height: 14px; transition: transform .22s cubic-bezier(.2, .7, .3, 1); }
.layout-info[open] summary { border-color: #72ffff80; background: var(--layout-dark); color: var(--layout-cyan); box-shadow: 0 4px 12px #231b3b26; }
.layout-info[open] .layout-info-chevron { transform: rotate(180deg); }
.layout-info-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 232px; padding: 8px; border: 1px solid #74608f; border-radius: 12px; color: white; background: var(--layout-dark); box-shadow: 0 16px 36px #11092055; font: 500 14px/1.5 "Trebuchet MS", Arial, sans-serif; transform-origin: top right; }
.layout-info[open] .layout-info-menu { animation: layout-info-appear .18s ease-out; }
.layout-info-menu a { display: block; padding: 11px 12px; border-radius: 7px; transition: background .15s, color .15s; }
.layout-info-menu a:hover { background: #483778; color: var(--layout-cyan); }
@keyframes layout-info-appear { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .layout-info summary, .layout-info-chevron, .layout-info-menu a { transition: none; }
  .layout-info[open] .layout-info-menu { animation: none; }
}
.layout-menu-toggle { display: none; }
.layout-footer { padding: 36px 6% 24px; border-top: 1px solid #77628c66; background: #1b152e; }
.layout-footer-inner { width: 100%; max-width: 1240px; margin-inline: auto; }
.layout-footer-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 34px; border: 1px solid #ab8cff66; border-radius: 16px; background: var(--layout-purple); }
.layout-footer-eyebrow { display: block; margin-bottom: 9px; color: var(--layout-cyan); font: 700 11px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .16em; }
.layout-footer-intro h2 { margin: 0; color: white; font: 700 30px/1.14 "Trebuchet MS", Arial, sans-serif; letter-spacing: -.7px; }
.layout-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; min-height: 50px; padding: 13px 24px; border-radius: 999px; background: var(--layout-cyan); color: #19182c; font: 700 15px/1.5 Arial, Helvetica, sans-serif; white-space: nowrap; box-shadow: 0 4px 12px #231b3b26; transition: background .2s, transform .2s; }
.layout-button svg { width: 18px; height: 18px; }
.layout-button:hover { background: #a0ffff; transform: translateY(-2px); }
.layout-footer-main { display: grid; grid-template-columns: 1.25fr .65fr 1fr; align-items: start; gap: 40px; padding: 32px 4px 28px; }
.layout-footer .layout-brand { gap: 12px; font-size: 26px; letter-spacing: -.8px; }
.layout-footer .layout-brand img { width: 48px; height: 60px; padding: 6px; border: 1px solid #a98aff66; border-radius: 10px; background: var(--layout-purple); filter: none; }
.layout-footer .layout-footer-about p { max-width: 280px; margin: 12px 0 0; color: #c3bdd3; font: 400 14px/1.65 Arial, Helvetica, sans-serif; }
.layout-footer .layout-footer-heading { margin: 3px 0 13px; color: #b9a8db; font: 700 11px/1.5 Arial, Helvetica, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.layout-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font: 400 15px/1.5 Arial, Helvetica, sans-serif; }
.layout-footer-nav .layout-footer-heading { margin-bottom: 6px; }
.layout-footer-nav > a { display: inline-flex; align-items: center; min-height: 26px; }
.layout-footer-email { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: white; font: 700 19px/1.5 "Trebuchet MS", Arial, sans-serif; letter-spacing: -.2px; }
.layout-footer-email svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--layout-cyan); }
.layout-footer-email:hover { color: var(--layout-cyan); }
.layout-footer address { display: grid; gap: 5px; margin: 12px 0 0; color: #c3bdd3; font: normal 14px/1.6 Arial, Helvetica, sans-serif; }
.layout-footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 26px; min-height: 46px; padding-top: 14px; padding-right: 270px; border-top: 1px solid #77628c66; color: #c3bdd3; font: 400 12px/1.5 Arial, Helvetica, sans-serif; }
.layout-footer-technologies { color: #b9a8db; }
.layout-footer .location-settings { margin: 0; min-height: 32px; padding: 6px 0; border: 0; color: #c3bdd3; font: 400 12px/1.5 Arial, Helvetica, sans-serif; }
.layout-footer .location-settings:hover { color: var(--layout-cyan); }
@media (max-width: 1500px) {
  .layout-header-inner { min-height: 106px; }
  .layout-brand { font-size: 28px; }
}
@media (max-width: 1050px) {
  .layout-header-inner { width: 92%; padding-right: 0; min-height: 94px; }
  .layout-brand { gap: 9px; font-size: 25px; }
  .layout-brand img { width: 45px; height: 68px; }
  .layout-nav { gap: 22px; font-size: 16px; }
  .layout-footer-main { grid-template-columns: 1fr .6fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .layout-header-inner { min-height: 82px; padding-block: 8px; }
  .layout-brand { font-size: 25px; }
  .layout-brand img { width: 39px; height: 62px; }
  .layout-menu-toggle { width: 43px; height: 43px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; border: 1px solid #a98cff; border-radius: 5px; background: #1e1439; color: white; cursor: pointer; }
  .layout-menu-toggle span { width: 21px; height: 2px; background: white; }
  .layout-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 6% 24px; flex-direction: column; align-items: stretch; gap: 8px; background: var(--layout-purple); box-shadow: 0 14px 20px #160a3333; }
  .layout-nav.is-open { display: flex; }
  .layout-nav > a { padding: 10px 0; }
  .layout-nav-tools { margin: 8px 0 14px; }
  .layout-info-menu { left: 0; right: auto; }
  .layout-footer { padding: 24px 24px 88px; }
  .layout-footer-intro { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px; border-radius: 14px; }
  .layout-footer-intro h2 { font-size: 28px; }
  .layout-footer-main { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: 28px 0; }
  .layout-footer-about { grid-column: 1 / -1; }
  .layout-footer-contact { min-width: 0; }
  .layout-footer-email { gap: 6px; font-size: 16px; }
  .layout-footer-email svg { width: 14px; height: 14px; }
  .layout-footer-bottom { gap: 6px 20px; padding-right: 0; }
  .layout-footer-technologies { display: none; }
}
@media (max-width: 480px) {
  .layout-footer-main { grid-template-columns: .7fr 1.3fr; gap: 28px 18px; }
  .layout-footer-email { font-size: 15px; }
}
@media (max-width: 360px) {
  .layout-footer { padding-inline: 20px; }
  .layout-footer-intro { padding: 22px 20px; }
  .layout-footer-intro h2 { font-size: 25px; }
  .layout-footer-main { column-gap: 14px; }
  .layout-footer-email { font-size: 14px; }
  .layout-footer-email svg { display: none; }
}
