/* The Visibility Engine page (LOCAL PREVIEW 2026-11-05, not live). Linked from visibility-engine.html only.
   Uses the site tokens and the .ce readability classes from site.css (Instrument Serif headlines, Lato everywhere else). */
.ce .ve-n, .ve-n { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; line-height: 1; }

.ve-fine { margin-top: 34px; font-size: 14px; opacity: .85; }
.ve-fine a { color: inherit; }

/* five places */
.ve-places { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.ve-place { border-top: 1.5px solid currentColor; padding-top: 22px; }
.ce .ve-place h3 { font-size: 21px; margin-bottom: 14px; }
.ve-place p { font-size: 16px; line-height: 1.55; }
.ve-place p + p { margin-top: 14px; }
.ve-place b { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; opacity: .8; }

/* everything included */
.ve-incl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
.ve-incl li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.ve-incl .ve-n { font-size: 40px; padding-top: 2px; }
.ce .ve-incl h3 { font-size: 21px; margin-bottom: 8px; }
.ve-incl p { font-size: 16.5px; line-height: 1.6; max-width: 34em; }

/* search to signed */
.ve-path-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ve-path-head { margin-bottom: 36px; }
.ve-path { list-style: none; }
.ve-path li { display: grid; grid-template-columns: 48px 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.ve-path .ve-n { width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-weight: 700; font-size: 15px; }
.ce .ve-path h3 { font-size: 20px; margin-bottom: 4px; }
.ve-path p { font-size: 16px; line-height: 1.55; opacity: .92; }
.bg-espresso { --line: rgba(248, 243, 236, .22); }

.ve-phone { justify-self: center; width: min(310px, 80vw); }
.ve-phone-screen { aspect-ratio: 9 / 19; border-radius: 46px; border: 11px solid #0d0a08; box-shadow: 0 0 0 1.5px rgba(248, 243, 236, .25), 0 40px 80px -30px rgba(0, 0, 0, .7);
  background: #3a2c22 url(../assets/img/visibility/lock.jpg) center / cover; padding: 34px 14px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.ve-phone-time { font-family: var(--sans); font-weight: 300; font-size: 64px; line-height: 1; color: #fff; text-align: center; margin: 18px 0 26px; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.ve-note { background: rgba(255, 255, 255, .9); border-radius: 18px; padding: 12px 14px; font-size: 14.5px; line-height: 1.4; }
.ve-note p + p { margin-top: 2px; }
.ve-note-app { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #5b5048; }
.ve-note-title { font-weight: 700; font-size: 15.5px; }
.ve-phone figcaption { text-align: center; margin-top: 16px; font-size: 14px; opacity: .8; }

/* proof + rules */
.ve-proof { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ve-proof .lead { margin-top: 24px; }
.ve-proof-list { list-style: none; counter-reset: p; margin-top: 30px; }
.ve-proof-list li { counter-increment: p; position: relative; padding: 18px 0 18px 58px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.6; }
.ve-proof-list li::before { content: counter(p); position: absolute; left: 0; top: 12px; font-family: 'Instrument Serif', Georgia, serif; font-size: 40px; line-height: 1; }
.ve-rules { background: var(--ivory); border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px); }
.ce .ve-rules h3 { font-size: 22px; margin-bottom: 14px; }
.ve-rules ul { list-style: none; }
.ve-rules li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.55; }
.ve-rules li:first-child { border-top: 0; }
.ve-rules li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* ten website styles */
.ve-covers { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.ve-cover { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.ve-cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); transition: transform .25s; }
.ve-cover:hover img { transform: translateY(-4px); }
.ve-cover span { font-family: var(--sans); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 1100px) { .ve-places { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .ve-covers { grid-template-columns: repeat(3, 1fr); } .ve-path-wrap, .ve-proof { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ve-hero { grid-template-columns: 1fr; }
  .ve-places { grid-template-columns: 1fr; }
  .ve-incl { grid-template-columns: 1fr; }
  .ve-incl li { grid-template-columns: 52px 1fr; }
  .ve-covers { grid-template-columns: repeat(2, 1fr); }
}

/* ---- v2: chapters + motion, same system as the Content Engine page (LOCAL PREVIEW 2026-11-05) ---- */
@keyframes ve-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ve-note-in { 0%, 6% { opacity: 0; transform: translateY(-14px) scale(.96); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px); } }

/* hero stage: a laptop window and a phone side by side (never overlapping), stepping through the demo sites.
   Thomas, 2026-11-05: the phone covered the computer and both were cropped. Frames now match the screenshots exactly
   (16:10 desktop, 390x844 phone), so nothing is cut off. */
.ve-hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.ve-stage { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.ve-now { position: static; align-self: flex-end; }
.ve-devices { display: grid; grid-template-columns: minmax(0, 1fr) clamp(118px, 23%, 168px); gap: clamp(14px, 1.8vw, 24px); align-items: end; width: 100%; }
.ve-browser { position: relative; border-radius: 12px; overflow: hidden; background: #f7f7f4; box-shadow: 0 50px 90px -40px rgba(42, 33, 27, .6), 0 0 0 1px rgba(42, 33, 27, .12); }
.ve-chrome { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-bottom: 1px solid rgba(42, 33, 27, .12); }
.ve-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d6d1ca; }
.ve-chrome b { margin-left: 10px; flex: 1; max-width: 280px; height: 18px; border-radius: 6px; background: #ebe6df; font-size: 12px; font-weight: 600; line-height: 18px; padding: 0 10px; color: #6b625b; }
.ve-shots { position: relative; aspect-ratio: 1440 / 900; background: #fff; }
.ve-shots img, .ve-hphone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 1s ease; }
.ve-shots img.on, .ve-hphone-screen img.on { opacity: 1; }
.ve-hphone { position: relative; padding: 6px; border-radius: 26px; background: var(--espresso); box-shadow: 0 40px 70px -34px rgba(42, 33, 27, .65); animation: ve-bob 8s ease-in-out infinite; }
.ve-hphone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 20px; overflow: hidden; background: #fff; }

/* five places get a number */
.ve-pn { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 34px; line-height: 1; opacity: .55; margin-bottom: 12px; }

/* lead notifications arrive one by one, then the loop starts again */
.ve-phone-screen .ve-note { opacity: 0; animation: ve-note-in 9s ease-in-out infinite; }
.ve-phone-screen .ve-note-2 { animation-delay: 1.2s; }
.ve-phone-screen .ve-note-3 { animation-delay: 2.4s; }

/* ten website styles drifting by (uses .cover-marquee / .cm-row / .cm-track from site.css) */
.ve-marquee { margin-top: 6px; }
.ve-mcover { flex: none; width: clamp(240px, 22vw, 330px); margin-right: 22px; color: inherit; text-decoration: none; }
.ve-mcover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); box-shadow: 0 18px 36px -26px rgba(42, 33, 27, .45); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.ve-mcover:hover img { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(42, 33, 27, .55); }
.ve-mcover span { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 900px) {
  .ve-hero-grid { grid-template-columns: 1fr; }
  .ve-stage { margin-top: 10px; }
  .ve-devices { grid-template-columns: minmax(0, 1fr) 24%; }
  .ve-hphone { border-radius: 18px; padding: 4px; }
  .ve-hphone-screen { border-radius: 14px; }
}
@media (max-width: 560px) { .ve-mcover { width: 220px; margin-right: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .ve-hphone, .ve-phone-screen .ve-note { animation: none !important; opacity: 1; }
  .ve-shots img, .ve-hphone-screen img { transition: none; }
}

/* Your website, your way: three starting points (Thomas, 2026-11-05) */
.ve-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-bottom: 28px; }
.ve-option { background: var(--ivory); border: 1px solid var(--line); padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.ve-on { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.05; }
.ve-option p:not(.ve-on) { font-size: 16.5px; line-height: 1.6; flex: 1; }
.ve-option .link { align-self: flex-start; }
.ve-demo-note { font-size: 15px; opacity: .8; margin-bottom: 18px; }
@media (max-width: 900px) { .ve-options { grid-template-columns: 1fr; } }

/* ---- Restructure (Thomas, 2026-11-05): the styles come first, and the text chapters alternate with visual ones ---- */
/* 01: the drifting covers come straight after the heading, then a button, then the three ways in */
.ve-styles .ve-marquee { margin-top: 0; }
.ve-mfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin: 34px 0 clamp(44px, 5vw, 68px); }
.ve-mfoot .ve-demo-note { margin: 0; }

/* 04: real first screens of the demo sites, alternating sides, never overlapping */
.ve-feats { display: grid; gap: clamp(56px, 7vw, 104px); margin: clamp(8px, 2vw, 24px) 0 clamp(72px, 9vw, 120px); }
.ve-feat { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ve-feat.flip { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.ve-feat.flip .ve-win { order: 2; }
.ve-win { display: block; border-radius: 12px; overflow: hidden; background: #f7f7f4; color: inherit; text-decoration: none;
  box-shadow: 0 50px 90px -46px rgba(42, 33, 27, .55), 0 0 0 1px rgba(42, 33, 27, .12); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.ve-win:hover { transform: translateY(-6px); box-shadow: 0 60px 100px -46px rgba(42, 33, 27, .62), 0 0 0 1px rgba(42, 33, 27, .16); }
.ve-win img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; }
.ve-feat-n { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 44px; line-height: 1; opacity: .55; margin-bottom: 16px; }
.ve-feat-copy .label { display: block; margin-bottom: 10px; }
.ce .ve-feat-copy h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.08; letter-spacing: -.005em; margin-bottom: 16px; }
.ve-feat-copy p:not(.ve-feat-n):not(.label) { font-size: 17px; line-height: 1.65; max-width: 30em; }
.ve-feat-copy .link { display: inline-block; margin-top: 22px; }
.ce .ve-more-h { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 10px; }

/* closing band: the same layout as the Work With Us cards (.way-grid + .trio from site.css) */
.ve-close .label { display: block; margin-bottom: 16px; }

@media (max-width: 900px) {
  .ve-feat, .ve-feat.flip { grid-template-columns: 1fr; gap: 26px; }
  .ve-feat.flip .ve-win { order: 0; }
  .ve-mfoot { flex-direction: column; align-items: flex-start; }
}
