/* Shared Arnesano identity, adapted from jobs-homepage/dist/styles.css. */
.site-header {
  --brand-ink: #24211d;
  --brand-muted: #665f55;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem 2rem;
  width: min(76.25rem, calc(100% - 7rem));
  max-width: none;
  min-height: 4rem;
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--brand-ink);
}

.arnesano-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.025em; }
.brand-suffix { color: var(--brand-muted); font-weight: 400; }
.profile-icon { width: 2.25rem; height: 2.25rem; border: 0.0625rem solid #d8d1c6; border-radius: 50%; object-fit: cover; }
.prompto-navigation { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 1.5rem; width: max-content; padding: 0.4375rem 0.5rem 0.4375rem 1.375rem; color: white; background: #08080c; border: 0.0625rem solid #2b2b32; border-radius: var(--pill); box-shadow: 0 0.1875rem 0.5rem #0000001c, inset 0 0.0625rem 0.0625rem #ffffff35; }

.skip-link { position: absolute; z-index: 10; top: -5rem; left: 2rem; padding: 0.75rem 1rem; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding-top: 0.875rem;
  border-top: 0.0625rem solid #d8d1c6;
  color: #665f55;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.arnesano-footer-main, .arnesano-footer-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.arnesano-footer-main p { margin: 0; }
.arnesano-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.arnesano-footer-links a { text-decoration: none; text-underline-offset: 0.22em; }
.arnesano-footer-links a:hover { text-decoration: underline; }
.arnesano-footer-meta { font-size: 0.6875rem; }
.arnesano-footer-meta .version { width: auto; font: inherit; }

@media (min-width: 100rem) {
  .site-header { width: min(87.5rem, calc(100% - 9rem)); }
}

@media (max-width: 65.625rem) {
  .site-header { width: calc(100% - 4rem); grid-template-columns: minmax(0, 1fr); }
  .arnesano-brand { justify-self: start; }
  .prompto-navigation { grid-column: 1; }
}

@media (max-width: 43.75rem) {
  .site-header { width: calc(100% - 2.25rem); min-height: 3rem; gap: 0.5rem 1rem; }
  .arnesano-brand { gap: 0.5rem; font-size: 1rem; }
  .profile-icon { width: 1.875rem; height: 1.875rem; }
  .prompto-navigation { gap: 0.5625rem; padding: 0.375rem 0.4375rem 0.375rem 0.9375rem; }
  .site-footer { gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; font-size: 0.6875rem; }
  .arnesano-footer-main, .arnesano-footer-meta { gap: 0.375rem 1rem; }
  .arnesano-footer-links { gap: 0.375rem 1rem; }
  .arnesano-footer-meta .local-note { margin-left: auto; }
}

@media (max-height: 40.625rem) {
  .site-header { min-height: 2.5rem; padding-block: 0; }
  .site-footer { gap: 0.375rem; margin-top: 0.5rem; padding-top: 0.5rem; }
}

/* Very short viewports need document scrolling to keep both panels reachable. */
@media (max-height: 32rem) {
  body { height: auto; min-height: 100dvh; overflow: auto; }
  .canvas { height: auto; }
  .workspace { flex: none; min-height: 28rem; }
}
