/* ============================================================
   Webrivio — About page
   Page-scoped styles ONLY. All tokens come from styles.css.
   Loaded after enhance.css. Never edit styles.css / enhance.css.
   ============================================================ */

/* Atmosphere orb placement for this page (matches the per-page
   pattern already established in styles.css for work/services/etc.) */
body[data-page="about"] {
  --atm-orb1-x: 80%;
  --atm-orb1-y: 12%;
  --atm-orb2-x: 14%;
  --atm-orb2-y: 74%;
}

/* ------------------------------------------------------------
   Line-art schematic that draws itself when its .reveal parent
   enters the viewport (same idiom as .card-schematic / .phase-schematic).
   ------------------------------------------------------------ */
.about-schematic {
  display: block;
  width: 96px;
  height: 96px;
  color: var(--accent-glow);
  opacity: 0.6;
}
.about-schematic svg { width: 100%; height: 100%; }
.about-schematic svg path,
.about-schematic svg circle,
.about-schematic svg rect {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .7s var(--ease-out);
}
.reveal.in .about-schematic svg path,
.reveal.in .about-schematic svg circle,
.reveal.in .about-schematic svg rect { stroke-dashoffset: 0; }

/* no-JS + reduced-motion: show the art fully drawn */
html:not(.js) .about-schematic svg path,
html:not(.js) .about-schematic svg circle,
html:not(.js) .about-schematic svg rect { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .about-schematic svg path,
  .about-schematic svg circle,
  .about-schematic svg rect { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------
   Story column
   ------------------------------------------------------------ */
.story-prose { display: flex; flex-direction: column; gap: 22px; }
.story-prose p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
  max-width: 54ch;
}
.story-prose .story-lead {
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.story-prose .story-lead .it { font-style: italic; color: var(--accent-glow); }
.story-prose strong { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------
   Summer Company credential plaque
   The logo is navy + green artwork on transparency, so it needs a
   light plaque behind it to stay legible on the midnight background.
   ------------------------------------------------------------ */
.credential {
  margin-top: clamp(36px, 4vw, 52px);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 26px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.credential-plaque {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #FFFFFF;
  border-radius: var(--r-md);
}
.credential-plaque img {
  width: 150px;
  height: auto;
  display: block;
}
.credential-copy { display: flex; flex-direction: column; gap: 8px; }
.credential-copy .k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-glow);
}
.credential-copy p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 40ch;
}

/* ------------------------------------------------------------
   Founders
   ------------------------------------------------------------ */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(44px, 5vw, 68px);
}
.person {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 26px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .3s, transform .6s var(--ease-out);
}
.person:hover { border-color: var(--border-strong); transform: translateY(-4px); }

/* The two portraits were shot in very different places; a shared
   midnight wash + accent glow makes them read as one set. */
.person-portrait {
  position: relative;
  flex-shrink: 0;
  width: clamp(140px, 14vw, 210px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.person-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(77,126,255,0.14), transparent 68%),
    linear-gradient(180deg, rgba(5,11,24,0) 45%, rgba(5,11,24,0.42) 100%);
}
.person-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform .8s var(--ease-out);
}
.person:hover .person-portrait img { transform: scale(1.04); }

.person-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.person-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.person-role {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-glow);
}
.person-bio {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.62;
  margin-top: 2px;
}
.person-link {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  transition: color .3s, border-color .3s, background .3s;
}
.person-link:hover {
  color: var(--ink);
  border-color: var(--accent-glow);
  background: rgba(123,164,255,0.08);
}
.person-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ------------------------------------------------------------
   Where we work
   ------------------------------------------------------------ */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.areas-right { display: flex; flex-direction: column; gap: 24px; }
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-note {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.62;
  max-width: 48ch;
}

/* ------------------------------------------------------------
   Honest-status bullets — h3 variant of the existing .bullet row
   (styles.css only styles `.bullet h4`; we use h3 to keep the
   heading order h1 -> h2 -> h3 with no skipped levels)
   ------------------------------------------------------------ */
.bullet h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-family: var(--sans);
}

/* Callout for the concept-build disclosure */
.note {
  margin-top: clamp(36px, 4vw, 52px);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px;
  background: rgba(77,126,255,0.05);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.note .k {
  flex-shrink: 0;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-glow);
}
.note p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.62;
  max-width: 64ch;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .people { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .person {
    flex-direction: column;
    gap: 20px;
    padding: 24px 22px;
  }
  .person-portrait { width: clamp(128px, 42vw, 180px); }
  .credential {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
  }
  .credential-plaque { padding: 14px 16px; }
  .credential-plaque img { width: 132px; }
  .about-schematic { width: 72px; height: 72px; }
  .story-prose p { font-size: 16px; }
  .bullet h3 { font-size: 18px; }
  .note { padding: 20px 22px; gap: 14px; }
  .note p { font-size: 14px; }
}
