.about-page{
  display:grid;
  gap:48px;
  margin-block:40px 80px;
}

.about-intro{
  display:grid;
  gap:16px;
  max-width:780px;
}

.about-intro h1{
  margin:0;
  font-size:2.4rem;
  line-height:1.2;
}

.about-intro [data-about-field="lead"]{
  margin:0;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--about-lead-color, #1d4ed8);
}

#aboutPage:not(.is-editing) .about-intro [data-about-field]:empty{
  display:none;
}

.about-intro [data-about-field="body_html"]{
  display:grid;
  gap:14px;
  line-height:1.65;
}

.about-intro [data-about-field="body_html"] > *{
  margin:0;
}

.about-intro [data-about-field="body_html"] h2,
.about-intro [data-about-field="body_html"] h3,
.about-intro [data-about-field="body_html"] h4{
  font-weight:700;
  letter-spacing:-0.01em;
}

.about-intro [data-about-field="body_html"] ol,
.about-intro [data-about-field="body_html"] ul{
  padding-left:1.3em;
}

.about-intro [data-about-field="body_html"] li{
  margin:0;
}

.about-cta{
  display:flex;
  justify-content:flex-start;
}

.about-cta__btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 18px;
  border-radius:999px;
  background:#1d4ed8;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:background .2s ease, transform .2s ease;
}

.about-cta__btn:hover{
  background:#2563eb;
  transform:translateY(-1px);
}

.about-cta__link-edit{
  align-self:center;
  margin-left:12px;
  padding:8px 14px;
  border-radius:999px;
  border:1px dashed rgba(59,130,246,.55);
  background:transparent;
  color:#1d4ed8;
  font-weight:600;
  cursor:pointer;
  transition:color .2s ease, border-color .2s ease, background .2s ease;
  display:none;
}

.about-cta__link-edit:hover{
  color:#0f172a;
  background:rgba(59,130,246,.12);
  border-color:rgba(59,130,246,.8);
}

#aboutPage.is-editing .about-cta__link-edit{
  display:inline-flex;
}

#aboutInlineToolbar{
  position:fixed;
  left:16px;
  top:calc(var(--header-h, 72px) + 16px);
  z-index:2400;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  pointer-events:auto;
}

#aboutInlineToolbar:not(.is-expanded){
  width:auto;
}

#aboutInlineToolbar .about-inline-toolbar__content{ display:none; }

#aboutInlineToolbar.is-expanded{
  left:50%;
  transform:translateX(-50%);
  flex-direction:row;
  align-items:center;
}

#aboutInlineToolbar.is-expanded .about-inline-toolbar__content{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(15,23,42,.92);
  color:#f8fafc;
  box-shadow:0 12px 30px rgba(15,23,42,.35);
  border:1px solid rgba(148,163,184,.35);
  backdrop-filter:blur(10px);
}

html.theme-light #aboutInlineToolbar.is-expanded .about-inline-toolbar__content{
  background:rgba(248,250,252,.92);
  color:#0f172a;
  border-color:rgba(148,163,184,.4);
}

.about-inline-toolbar .about-inline-toolbar__icon{
  width:20px;
  height:20px;
}

.about-inline-toolbar__launcher{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(148,163,184,.35);
  background:rgba(15,23,42,.92);
  color:#f8fafc;
  cursor:pointer;
}

html.theme-light .about-inline-toolbar__launcher{
  background:rgba(248,250,252,.92);
  color:#0f172a;
  border-color:rgba(148,163,184,.4);
}

.about-inline-toolbar__toggle,
.about-inline-toolbar__save,
.about-inline-toolbar__collapse{
  border:none;
  background:rgba(248,250,252,.12);
  color:inherit;
  padding:6px 12px;
  border-radius:999px;
  cursor:pointer;
  transition:background .2s ease;
}

#aboutInlineToolbar.is-expanded .about-inline-toolbar__toggle,
#aboutInlineToolbar.is-expanded .about-inline-toolbar__save,
#aboutInlineToolbar.is-expanded .about-inline-toolbar__collapse{
  background:transparent;
  color:inherit;
}

.about-inline-toolbar__status{
  font-size:.85rem;
  min-width:160px;
}


.about-inline-toolbar__status.is-ok{ color:#a7f3d0; }
.about-inline-toolbar__status.is-error{ color:#fecaca; }

#aboutPage.is-editing .about-editable{
  outline:2px dashed rgba(59,130,246,.45);
  background:rgba(148,163,184,.08);
  transition:outline-color .2s ease, background .2s ease;
}

@media (max-width:900px){
  .about-inline-toolbar{
    width:94vw;
  }
}

@media (max-width:720px){
  .about-inline-toolbar{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding:8px 12px;
    border-radius:14px;
    gap:0;
  }
  .about-inline-toolbar button{
    font-size:.85rem;
    padding:4px 8px;
  }
  .about-page{
    margin-block:32px 64px;
  }
}

.about-command-bar{
  position:fixed;
  z-index:2400;
  display:flex;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(15,23,42,.92);
  color:#f8fafc;
  box-shadow:0 16px 32px rgba(15,23,42,.35);
  border:1px solid rgba(148,163,184,.35);
  backdrop-filter:blur(10px);
}

.about-command-bar[hidden]{
  display:none !important;
}

.about-command-button{
  border:none;
  background:transparent;
  color:inherit;
  font-weight:600;
  font-size:.85rem;
  padding:4px 10px;
  border-radius:999px;
  cursor:pointer;
  transition:background .2s ease;
}

.about-command-button:hover{
  background:rgba(248,250,252,.15);
}

.about-command-sep{
  width:1px;
  height:22px;
  background:rgba(148,163,184,.45);
  align-self:center;
}

html.theme-light .about-command-bar{
  background:rgba(248,250,252,.95);
  color:#0f172a;
  border-color:rgba(148,163,184,.4);
  box-shadow:0 16px 28px rgba(148,163,184,.25);
}

html.theme-light .about-command-button:hover{
  background:rgba(226,232,240,.65);
}
