/* ═══════════════════════════════════════════════════════════════════════════
   ACTAA v5 — subpage grammar. Builds on v5.css tokens: porcelain ground,
   Jost monuments, Questrial statements, gold mono kickers, hairline rules.
   Content pages scroll free (no snap) and reveal quietly.
   ═══════════════════════════════════════════════════════════════════════ */

.pbody { background: var(--porcelain); }
html { scroll-snap-type: none; }
.top--page { position: sticky; top: 0; background: rgba(246, 241, 232, 0.88); backdrop-filter: blur(10px); }

.page { width: min(1160px, calc(100vw - 2 * var(--pad))); margin: 0 auto; }

/* page hero */
.phero { padding: clamp(64px, 9vh, 104px) 0 clamp(28px, 4.5vh, 52px); max-width: 880px; }
.phero__over {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-bottom: 22px;
}
.phero__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 76px);
  line-height: 1.05;
  color: var(--ink);
}
.phero__lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink-70);
}

/* content sections */
.psec { padding: clamp(34px, 5.5vh, 60px) 0; border-top: 1px solid rgba(38, 33, 26, 0.1); }
.psec__kick {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 16px;
}
.psec__h {
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  max-width: 22ch;
}
.psec__lead {
  margin-top: 18px;
  max-width: 60ch;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink-70);
}
.psec__list { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.psec__list li { font-size: clamp(16.5px, 1.4vw, 19.5px); font-weight: 300; color: var(--ink-70); }

/* rows */
.pgrid {
  margin-top: clamp(20px, 3vh, 34px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.prow { border-top: 1px solid rgba(38, 33, 26, 0.16); padding-top: 16px; }
.prow h3 {
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink);
}
.prow p { margin-top: 8px; font-size: var(--text-sm); font-weight: 300; color: var(--ink-70); }
.prow ul { list-style: none; margin-top: 10px; display: grid; gap: 5px; }
.prow li { font-size: var(--text-sm); font-weight: 300; color: var(--ink-50); }

/* closing band */
.pcta { padding: clamp(52px, 8vh, 88px) 0 clamp(56px, 8vh, 92px); border-top: 1px solid rgba(38, 33, 26, 0.1); text-align: center; }
.pcta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 60px);
  line-height: 1.06;
  color: var(--ink);
}
.pcta p { margin: 20px auto 0; max-width: 52ch; font-size: var(--text); font-weight: 300; color: var(--ink-70); }
.pcta__row { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }

/* reveals */
.pv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.pv--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pv { opacity: 1; transform: none; transition: none; } }

/* legal document body */
.ldoc { max-width: 760px; padding-bottom: 90px; }
.ldoc h2 { font-family: var(--lux); font-weight: 500; font-size: clamp(22px, 2vw, 30px); margin: 42px 0 12px; color: var(--ink); }
.ldoc h3 { font-family: var(--lux); font-weight: 500; font-size: clamp(17px, 1.5vw, 21px); margin: 28px 0 8px; color: var(--ink); }
.ldoc p, .ldoc li { font-size: var(--text-sm); font-weight: 300; color: var(--ink-70); line-height: 1.65; }
.ldoc p { margin: 10px 0; }
.ldoc ul, .ldoc ol { padding-left: 22px; margin: 10px 0; }
.ldoc a { color: var(--ink); border-bottom: 1px solid rgba(38, 33, 26, 0.3); }
.ldoc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: var(--text-xs); }
.ldoc th, .ldoc td { text-align: left; padding: 8px 10px; border-top: 1px solid rgba(38, 33, 26, 0.14); color: var(--ink-70); }
.ldoc strong, .ldoc b { font-weight: 500; color: var(--ink); }

@media (max-width: 900px) {
  .top--page .top__nav { display: none; }
}

/* ── media sections (product, ai): text beside the porcelain illustration ── */
.psec--media {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.psec--flip .psec__fig { order: -1; }
.psec__fig { margin: 0; }
.psec__fig img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 470px;
  margin: 0 auto;
}
.psec--media .pgrid { grid-template-columns: 1fr; }
.psec--media .psec__body { max-width: 580px; }
.psec--media .psec__lead { max-width: none; }

/* ── audience heroes: the journey scene melts in beside the words ── */
.phero--visual {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: none;
}
.phero__fig { margin: 0; }
.phero__fig img { display: block; width: auto; max-width: min(400px, 100%); max-height: 430px; margin: 0 auto; }
.phero__three { display: flex; gap: 4px; align-items: center; justify-content: center; }
.phero__three img { width: 33%; height: auto; display: block; }


@media (max-width: 1080px) {
  .psec--media, .phero--visual { grid-template-columns: 1fr; }
  .psec--flip .psec__fig { order: 0; }
}


/* ── page life: scenes breathe, kickers underline, cards cascade ───────── */
.phero__fig img, .psec__fig img, .phero__three img {
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
}
.pv--in.phero__fig img, .phero__fig.pv--in img,
.psec__fig.pv--in img, .phero__three.pv--in img {
  animation: pg-breathe 16s var(--ease) 1.2s infinite alternate;
}
@keyframes pg-breathe { from { transform: scale(1); } to { transform: scale(1.035); } }
.psec__h { position: relative; padding-bottom: 14px; }
.psec__h::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease) 0.35s;
}
.psec__h.pv--in::after { transform: scaleX(1); }
.prow { transition-delay: calc(var(--pi, 0) * 70ms); }
/* hero blueprint lines: drawn behind the visual heroes on arrival */
.phero { position: relative; }
.phero__lines {
  position: absolute;
  inset: -8% -10%;
  width: 120%;
  height: 116%;
  pointer-events: none;
  z-index: -1;
}
.phero__lines path {
  fill: none;
  stroke: rgba(125, 98, 46, 0.3);
  stroke-width: 1;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}
.phero__lines.pv--in path { stroke-dashoffset: 0; }
.phero__lines path:nth-child(1) { transition: stroke-dashoffset 1.8s var(--ease) 0.4s; }
.phero__lines path:nth-child(2) { transition: stroke-dashoffset 1.8s var(--ease) 0.7s; }
.phero__lines path:nth-child(3) { transition: stroke-dashoffset 1.5s var(--ease) 1s; }
@media (prefers-reduced-motion: reduce) {
  .pv--in.phero__fig img, .phero__fig.pv--in img, .psec__fig.pv--in img, .phero__three.pv--in img { animation: none; }
}

/* ── network page: the home act, living on its own page ─────────────────── */
.nethero { min-height: 92svh; }
.nethero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(52px, 6.4vw, 104px);
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease) 0.2s, transform 1s var(--ease) 0.2s;
}
.nethero.who--in h1 { opacity: 1; transform: none; }
.nethero__line {
  margin-top: 30px;
  max-width: 640px;
  text-align: center;
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.3;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 0.55s, transform 0.9s var(--ease) 0.55s;
}
.nethero__sub {
  margin-top: 10px;
  text-align: center;
  font-size: var(--text);
  font-weight: 300;
  color: var(--ink-70);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 0.7s, transform 0.9s var(--ease) 0.7s;
}
.nethero__cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 0.9s, transform 0.9s var(--ease) 0.9s;
}
.nethero.who--in .nethero__line,
.nethero.who--in .nethero__sub,
.nethero.who--in .nethero__cta { opacity: 1; transform: none; }
.nethero__cta span { font-size: var(--text-sm); font-weight: 300; color: var(--ink-50); }
.netstage { min-height: 0; padding: 30px 0 80px; }

/* ── contact form ───────────────────────────────────────────────────────── */
.cform__sec { border-top: 1px solid rgba(38, 33, 26, 0.1); }
.cform { max-width: 760px; }
.cform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
}
.cfield { display: block; }
.cfield--wide { margin-top: 20px; }
.cfield > span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.cfield > span i { font-style: normal; letter-spacing: 0.1em; opacity: 0.7; }
.cfield input, .cfield select, .cfield textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(38, 33, 26, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cfield textarea { resize: vertical; line-height: 1.55; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.cfield input[aria-invalid="true"], .cfield textarea[aria-invalid="true"] {
  border-color: #b0402f;
}
.cfield__err {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  font-style: normal;
  font-size: 12px;
  color: #b0402f;
}
/* the honeypot is for machines: off-screen, never focusable, never announced */
.cform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cform__foot {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cform__foot .pill { border: none; cursor: pointer; }
.cform__foot .pill[disabled] { opacity: 0.6; cursor: default; }
.cform__note { font-size: var(--text-sm); font-weight: 300; color: var(--ink-50); }
.cform__note a { color: var(--ink); border-bottom: 1px solid rgba(38, 33, 26, 0.3); }
.cform__status {
  margin-top: 16px;
  min-height: 20px;
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--ink-50);
}
.cform__status--err { color: #b0402f; }
.cform__status--fallback { color: var(--ink); }
.cform__status a { color: var(--blue); border-bottom: 1px solid rgba(46, 111, 214, 0.35); }
/* the thank-you, in place of the form */
.cthanks { max-width: 620px; }
.cthanks__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #1b7e3a;
}
.cthanks h2 {
  margin-top: 14px;
  font-family: var(--lux);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ink);
}
.cthanks p { margin-top: 14px; font-size: var(--text); font-weight: 300; color: var(--ink-70); }
.cthanks__back { margin-top: 26px; }
@media (max-width: 700px) {
  .cform__grid { grid-template-columns: 1fr; }
}


/* ── the contact page reads like the rest of the site: a scene beside the
      words, and the form on its own sheet of paper ─────────────────────── */
.phero__meta { list-style: none; margin-top: 28px; display: grid; gap: 9px; }
.phero__meta li { font-size: var(--text-sm); font-weight: 300; color: var(--ink-70); }
.phero__meta em {
  display: inline-block;
  min-width: 132px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-50);
}
.cform__wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px -34px rgba(38, 33, 26, 0.3);
}
.cform__kick {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 22px;
}
.cform { max-width: none; }
.cthanks { margin: 0 auto; text-align: center; }
.cthanks__back { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .phero__meta em { display: block; min-width: 0; margin-bottom: 2px; }
  .cform__wrap { padding: 22px 18px; border-radius: 16px; }
}
