/* ============================================================
   PHAROS LUMEN - subpage layer (about.html, privacy.html)
   Daylight tokens on the editorial-column pages. Loads AFTER
   styles/lumen.css and relies on its tokens and chrome (nav,
   footer, buttons). Content class names kept from the original
   pages; only the skin changed (2026-07-17 retrofit).
============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--azure);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 300;
}
.skip-link:focus { left: 0; }

#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--azure), var(--sky));
  z-index: 200;
}

/* ---------- article column ---------- */
.about-article, .legal-article {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(110px, 13vw, 150px) clamp(20px, 5vw, 40px) clamp(72px, 8vw, 110px);
}

.about-head, .legal-head { text-align: center; margin-bottom: clamp(56px, 7vw, 80px); }
.about-head .services-eyebrow, .legal-head .services-eyebrow {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-ink);
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.about-head .services-eyebrow::after, .legal-head .services-eyebrow::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 120, 189, 0.45), transparent);
}
.about-head .services-title, .legal-head .services-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 640px;
  margin: 0 auto 14px;
  color: var(--ink);
  text-wrap: balance;
}
.about-head .services-sub, .legal-head .services-sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-block, .legal-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}
.about-block:first-of-type, .legal-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.about-block-eyebrow, .legal-block-eyebrow {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sky-ink);
  /* centered over the reading column while the body copy stays left-aligned;
     fit-content keeps the hairline the width of the word, not the column */
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.about-block-eyebrow::after, .legal-block-eyebrow::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 120, 189, 0.45), transparent);
}

.about-greeting {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 22px;
}
.about-body, .legal-body {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--ink-2);
}
.about-body + .about-body, .legal-body + .legal-body { margin-top: 18px; }
.about-body strong, .legal-body strong { color: var(--ink); font-weight: 600; }
.about-body em, .legal-body em { font-style: normal; color: var(--azure); font-weight: 600; }

.legal-block-title {
  font-family: var(--f-display);
  font-weight: 680;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal-callout {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--azure);
  background: var(--azure-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-list { margin: 14px 0 0; padding-left: 22px; color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.legal-list li + li { margin-top: 8px; }
.legal-effective {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.about-cta-wrap { display: flex; justify-content: center; margin-top: 36px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 26px;
  min-height: 48px;
  border: none;
  border-radius: var(--radius);
  background: var(--azure);
  color: #ffffff;
  cursor: pointer;
  transition: transform var(--t-micro) var(--ease-sine), box-shadow var(--t-hover) var(--ease-sine), background var(--t-micro);
}
.contact-email:hover { transform: translateY(-1px); background: var(--azure-deep); box-shadow: 0 10px 28px rgba(34, 120, 189, 0.30); }

.about-back-home, .legal-back-home {
  text-align: center;
  margin-top: 64px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.about-back-home a, .legal-back-home a {
  color: var(--azure);
  text-decoration: none;
  border-bottom: 1px dotted rgba(34, 120, 189, 0.45);
  padding-bottom: 1px;
}
.about-back-home a:hover, .legal-back-home a:hover { color: var(--azure-deep); }

@media (max-width: 600px) {
  .about-block, .legal-block { margin-top: 40px; padding-top: 30px; }
  .about-greeting { font-size: 1.18rem; }
  .about-body, .legal-body { font-size: 1rem; line-height: 1.7; }
}

/* ---------- side TOC (about) ---------- */
.side-toc {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
  z-index: 90;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
}
@media (max-width: 1240px) { .side-toc { display: none; } }
.side-toc-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 14px 8px 20px;
  border-bottom: 1px solid var(--line);
  margin: 0 8px 8px 0;
}
.side-toc-item {
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
  padding: 7px 14px 7px 20px;
  border-left: 2px solid transparent;
  transition: color var(--t-micro) var(--ease-sine), border-left-color var(--t-micro) var(--ease-sine), padding-left var(--t-micro) var(--ease-sine);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-toc-num {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-3);
  opacity: 0.6;
  transition: color var(--t-micro), opacity var(--t-micro);
}
.side-toc-item:hover { color: var(--ink-2); padding-left: 24px; }
.side-toc-item.active { color: var(--azure); border-left-color: var(--azure); font-weight: 500; }
.side-toc-item.active .side-toc-num { color: var(--azure); opacity: 1; }

/* ---------- back-to-top + floating contact pill ---------- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 190px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.32s var(--ease-sine), transform 0.32s var(--ease-sine), background 0.25s, color 0.25s, border-color 0.25s;
  z-index: 8400;
  box-shadow: 0 4px 16px rgba(16, 36, 51, 0.10);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--azure); color: #fff; border-color: var(--azure); }
.back-to-top svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .back-to-top { right: 12px; bottom: 78px; } }

/* .contact-floater and the admin dock are styled site-wide in lumen.css */
