/* Product site only: landing, architecture, pilot, academy. */

/* ---- The fold: Aare text sheet + photograph, braided strands across both ---- */
.fold { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--aare); color: var(--on-aare); margin-top: calc(-1 * var(--nav-h)); }
.fold .copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + var(--s-6)) var(--gutter) calc(var(--pocbar-h) + 128px); max-width: 780px; margin-left: auto; width: 100%; }
.fold .kicker { margin-bottom: var(--s-5); }
.fold h1 { font-size: var(--fs-display); line-height: .95; letter-spacing: var(--tracking-display); max-width: 13ch; }
.fold .claim { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-aare-muted); margin-top: var(--s-5); max-width: 34rem; }
.fold .claim b { color: var(--on-aare); font-weight: 600; }
.fold .photo { position: relative; overflow: hidden; }
.fold .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform: scale(1.06); animation: settle 2.4s var(--ease-out) forwards; }
.fold .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--aare) 0%, oklch(0.80 0.085 198 / 0) 22%); }
.fold .photo figcaption { position: absolute; right: var(--s-4); bottom: calc(var(--pocbar-h) + var(--s-4)); z-index: 2; font-size: var(--t-12); color: oklch(0.99 0 0); background: oklch(0.21 0.045 238 / .55); padding: 4px 10px; border-radius: var(--r-full); }
.fold canvas.strands { position: absolute; left: 0; right: 0; bottom: var(--pocbar-h); height: 110px; width: 100%; z-index: 1; pointer-events: auto; }
@keyframes settle { to { transform: scale(1); } }

.roleband { margin-top: var(--s-6); }
.roleband > p { font-size: var(--t-13); font-weight: 600; margin-bottom: var(--s-3); }
.roleband .roles { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.role { display: inline-flex; align-items: center; gap: var(--s-2); height: 44px; padding: 0 var(--s-4) 0 6px; border-radius: var(--r-full); background: oklch(0.99 0.01 198 / .55); color: var(--on-aare); font-size: var(--t-14); font-weight: 600; text-decoration: none; transition: background var(--dur-1), transform var(--dur-1); }
.role:hover { background: var(--surface); }
.role i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: var(--surface); background: var(--c, var(--primary)); }
.role.owner { background: var(--primary); color: var(--on-primary); }
.role.owner i { background: var(--accent); color: var(--on-accent); }
.role.owner:hover { background: var(--primary-strong); }

/* staged entrance */
.fold .copy > * { animation: rise var(--dur-4) var(--ease-out) both; }
.fold .copy > :nth-child(2) { animation-delay: 80ms; } .fold .copy > :nth-child(3) { animation-delay: 180ms; } .fold .copy > :nth-child(4) { animation-delay: 300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 960px) {
  .fold { grid-template-columns: 1fr; min-height: auto; }
  .fold .photo { height: 42vh; order: -1; margin-top: var(--nav-h); }
  .fold .photo::after { background: linear-gradient(0deg, var(--aare) 0%, oklch(0.80 0.085 198 / 0) 30%); }
  .fold .copy { padding: var(--s-5) var(--gutter) calc(var(--pocbar-h) + 140px); margin: 0; }
  .fold .photo figcaption { bottom: var(--s-4); }
  .roleband .roles { display: grid; grid-template-columns: 1fr 1fr; }
  .role { font-size: var(--t-13); }
}

/* ---- A day along the rope ---- */
.day { position: relative; border-top: var(--rule-strong); }
.day li { list-style: none; display: grid; grid-template-columns: 92px 180px minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: var(--s-4) 0; border-bottom: var(--rule); }
.day time { font-family: var(--font-display); font-size: var(--t-28); line-height: 1; font-variant-numeric: tabular-nums; }
.day p { max-width: none; }
.day li.human { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.day a.go { font-size: var(--t-14); font-weight: 600; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 800px) { .day li { grid-template-columns: 64px minmax(0, 1fr); } .day li > :nth-child(3), .day li > :nth-child(4) { grid-column: 2; } .day time { font-size: var(--t-22); } }

/* ---- Photo panel beside text (Sheet: edge to edge, no frame) ---- */
.bleed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; }
.bleed > figure { position: relative; margin: 0; min-height: 360px; }
.bleed > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed > .txt { padding: var(--section) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); max-width: 640px; }
.bleed.flip > figure { order: 2; }
.bleed.flip > .txt { margin-left: auto; }
@media (max-width: 900px) { .bleed { grid-template-columns: 1fr; } .bleed.flip > figure { order: 0; } }

/* ---- Layers diagram (native first) ---- */
.layers { display: grid; gap: 3px; }
.layer { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); background: oklch(0.99 0.01 198 / .45); }
.layer b { font-family: var(--font-display); font-weight: 400; font-size: var(--t-22); line-height: 1.1; }
.layer span { font-size: var(--t-14); color: var(--on-aare-muted); }
.layer.core { background: var(--primary); color: var(--on-primary); }
.layer.core span { color: var(--on-drench-muted); }
.layer .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.layer .tags em { font-style: normal; font-size: var(--t-12); font-weight: 600; padding: 2px 9px; border-radius: var(--r-full); background: oklch(0.99 0.01 198 / .7); color: var(--on-aare); }
.layer.core .tags em { background: oklch(0.99 0.01 198 / .14); color: var(--on-primary); }
@media (max-width: 700px) { .layer { grid-template-columns: 1fr; } }

/* ---- Trust list ---- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: var(--rule-strong); }
.trust a { display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-5) var(--s-5) 0; border-bottom: var(--rule); text-decoration: none; }
.trust a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.trust h3 { display: flex; gap: var(--s-2); align-items: center; }
.trust p { font-size: var(--t-15); color: var(--muted); }

/* ---- Big quote ---- */
.quote { font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.quote em { font-family: var(--font-body); font-style: italic; font-weight: 300; }
@media (max-width: 600px) {
  .fold .photo { height: 24vh; }
  .fold .copy { padding-top: var(--s-3); }
  .fold .kicker { margin-bottom: var(--s-2); }
  .fold h1 { font-size: 2.6rem; }
  .fold .claim { font-size: var(--t-15); margin-top: var(--s-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .roleband { margin-top: var(--s-4); }
  .roleband > p { margin-bottom: var(--s-2); }
  .role { height: 40px; }
}
