html { color-scheme: light dark; }
body { margin: 0; }

  #albert-about-layout {
    --albert-paper: light-dark(#f8f7f4, #191918);
    --albert-ink: light-dark(#36352f, #c6c5c0);
    --albert-link: light-dark(#171714, #efeee9);
    --albert-quiet: light-dark(#72716a, #a3a29b);
    --albert-width: 432px;
    --albert-type: 14px;
    --albert-paragraph-gap: 24px;
    box-sizing: border-box;
    width: 100%;
    min-height: 100svh;
    padding: 72px 24px 104px;
    background: var(--albert-paper);
    color: var(--albert-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--albert-type);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  #albert-about-layout * { box-sizing: border-box; }
  #albert-about-layout .albert-column {
    width: 100%;
    max-width: var(--albert-width);
    margin-inline: auto;
  }
  #albert-about-layout .albert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 46px;
  }
  #albert-about-layout h1 {
    margin: 0;
    color: var(--albert-link);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
  }
  #albert-about-layout .albert-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
  }
  #albert-about-layout a {
    color: var(--albert-link);
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 4px;
  }
  #albert-about-layout a:hover { color: var(--albert-quiet); }
  #albert-about-layout .albert-nav a { color: var(--albert-quiet); font-weight: 400; }
  #albert-about-layout .albert-nav a:hover { color: var(--albert-link); }
  #albert-about-layout .albert-x,
  #albert-about-layout .albert-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
  }
  #albert-about-layout .albert-x-logo {
    display: block;
    width: 13px;
    height: 13px;
    background-color: currentColor;
    -webkit-mask: url("/x.svg") center / contain no-repeat;
    mask: url("/x.svg") center / contain no-repeat;
  }
  #albert-about-layout .albert-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 -8px 0 1px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--albert-quiet);
  }
  #albert-about-layout .albert-mode:hover { color: var(--albert-link); }
  #albert-about-layout .albert-mode svg { display: block; width: 15px; height: 15px; stroke-width: 1.7; }
  /* Balance the open crescent and radial sun by visual weight, not SVG box size. */
  #albert-about-layout .albert-moon svg { width: 16px; height: 16px; }
  #albert-about-layout .albert-sun svg { width: 16px; height: 16px; }
  #albert-about-layout .albert-mode > span { display: flex; align-items: center; justify-content: center; line-height: 0; }
  #albert-about-layout .albert-mode [hidden] { display: none; }
  #albert-about-layout p {
    margin: 0 0 var(--albert-paragraph-gap);
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
  }
  #albert-about-layout p:last-child { margin-bottom: 0; }
  @media (max-width: 440px) {
    #albert-about-layout { padding: 44px 24px 72px; }
    #albert-about-layout .albert-header { gap: 16px; margin-bottom: 38px; }
    #albert-about-layout .albert-nav { gap: 12px; }
  }
  @media (pointer: coarse) {
    #albert-about-layout .albert-mode { width: 44px; height: 44px; }
    #albert-about-layout .albert-nav a { min-width: 44px; min-height: 44px; }
  }

.albert-mode { cursor: pointer; }
.albert-mode[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

#albert-about-layout .albert-email svg { display: block; width: 16px; height: 16px; stroke-width: 1.8; }
