/* Life is the canvas. You are living art.
   An editorial collage that opens out of Come Into Focus. Photographs arrive greyed and a little askew, like raw material,
   and settle into colour as she meets them. --k (0 to 1) is how far each piece has been met; without script it is simply 1. */
.cv { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 12vh, 160px) 0 clamp(36px, 5vh, 60px);
  background: linear-gradient(180deg, rgba(66,32,57,0) 0%, rgba(81,42,73,.55) 30%, rgba(97,52,83,.7) 62%, rgba(66,32,57,.9) 100%); }
.cv-in { position: relative; z-index: 1; width: min(1240px, 100% - 48px); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(90px, 13vh, 170px); }

/* atmosphere: light, a ring that echoes the orb, and a little grain so it reads as a surface, not a screen */
.cv-atmos { position: absolute; inset: 0; pointer-events: none; }
.cv-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.cv-glow-a { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; left: -18vw; top: 18%; background: radial-gradient(closest-side, rgba(116,201,197,.16), rgba(116,201,197,0)); }
.cv-glow-b { width: 54vw; height: 54vw; max-width: 760px; max-height: 760px; right: -16vw; bottom: 4%; background: radial-gradient(closest-side, rgba(199,211,0,.10), rgba(199,211,0,0)); }
.cv-ring { position: absolute; width: min(70vw, 980px); aspect-ratio: 1; right: -22vw; top: 6%; border-radius: 50%; border: 1px solid rgba(183,228,225,.14); }
.cv-grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- fragments ---------- */
.cv-frag { --k: 1; --py: 0px; position: relative; margin: 0; will-change: transform;
  transform: translate3d(calc(var(--dx, 0px) * (1 - var(--k))), calc(var(--dy, 0px) * (1 - var(--k)) + var(--py)), 0) rotate(calc(var(--r0, 0deg) * (1 - var(--k)) + var(--r1, 0deg) * var(--k))); }
.cv-frag img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 70px rgba(18,6,16,.45);
  filter: grayscale(calc((1 - var(--k)) * .92)) brightness(calc(.72 + .28 * var(--k))) contrast(calc(.9 + .1 * var(--k))); }
/* each word sits on its own small plate across the photograph's edge: large, high contrast, readable from the first glance */
.cv-frag figcaption { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 11px 14px; border-radius: 2px;
  background: rgba(46,20,40,.92); box-shadow: 0 10px 30px rgba(18,6,16,.45), inset 0 1px 0 rgba(183,228,225,.18);
  font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.3vw, 34px); line-height: 1; letter-spacing: .005em; color: #fff; white-space: nowrap;
  opacity: calc(.8 + .2 * var(--k)); }
.cv-frag figcaption::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: var(--ch); }

/* ---------- opening ---------- */
.cv-open { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.cv-kick { grid-column: 1 / 8; grid-row: 1; align-self: end; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 2; }
.cv-kick span:first-child { font: 600 12px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--t1); }
.cv-kick-sub { font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); color: var(--ch); }
.cv-h { grid-column: 1 / 10; grid-row: 2; position: relative; z-index: 2; margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(50px, 7.2vw, 116px); line-height: .98; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.cv-h-a { display: block; }
.cv-h-b { display: block; margin-left: clamp(24px, 8vw, 140px); font-style: italic; color: var(--t2); }
.cv-f-open { grid-column: 8 / 13; grid-row: 1 / 4; aspect-ratio: 1800 / 1686; z-index: 1; }
.cv-f-open img { opacity: .92; }

/* ---------- the material of a life ---------- */
.cv-material { display: flex; flex-direction: column; gap: clamp(30px, 5vh, 56px); }
.cv-lead { margin: 0; max-width: 16ch; font-family: var(--display); font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; color: #fff; }
.cv-collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 28px); align-items: start; }
.cv-m figcaption { left: 16px; bottom: -24px; }
.m-body { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 1800 / 1014; margin-top: 70px; z-index: 2; }
.m-rel { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 1800 / 852; z-index: 1; }
.m-exp { grid-column: 4 / 10; grid-row: 2; aspect-ratio: 1010 / 567; margin-top: -60px; z-index: 3; }
.m-des { grid-column: 10 / 13; grid-row: 2; aspect-ratio: 1; margin-top: 60px; z-index: 2; }
.m-cha { grid-column: 2 / 5; grid-row: 3; aspect-ratio: 1651 / 1800; margin-top: -30px; z-index: 2; } /* sunburst-wave, 16 Oct 2026 */
.m-une { grid-column: 6 / 9; grid-row: 3; aspect-ratio: 1; margin-top: 50px; z-index: 1; }
.m-des figcaption, .m-body figcaption { left: auto; right: 16px; }
.m-exp figcaption { bottom: -24px; left: 22px; }

/* ---------- how we meet it ---------- */
.cv-meet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 34px; }
.cv-big { grid-column: 2 / 11; margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.1; color: #fff; text-wrap: balance; }
.cv-big em { color: var(--t2); }
.cv-evolve-row { grid-column: 4 / 12; display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.cv-evolve { margin: 0; flex: 1; font-family: var(--display); font-size: clamp(21px, 1.9vw, 28px); line-height: 1.35; color: #EDE3EA; }
.cv-evolve em { color: var(--ch); }
/* three small rings drift together into overlap: the same three relationships, evolving */
.cv-rings { --k: 1; flex: none; width: clamp(200px, 19vw, 280px); height: auto; overflow: visible; }
.cv-r { fill: rgba(183,228,225,.05); stroke: rgba(183,228,225,calc(.45 + .4 * var(--k))); stroke-width: 1.1; mix-blend-mode: screen; }
/* they begin apart, barely touching, and lean in until their shared centre opens */
.cv-r1 { transform: translate(0, calc(-30px * (1 - var(--k)))); }
.cv-r2 { transform: translate(calc(-26px * (1 - var(--k))), calc(15px * (1 - var(--k)))); }
.cv-r3 { transform: translate(calc(26px * (1 - var(--k))), calc(15px * (1 - var(--k)))); }
.cv-r-glow { opacity: calc((var(--k) - .55) * 2.2); }
.cv-r-core { fill: var(--ch); opacity: calc((var(--k) - .6) * 2.5); }
/* devotion: how we care for ourselves, our bodies, our relationships and our lives; it lives where all three meet */
.cv-devotion { font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: .02em; fill: var(--ch); stroke: rgba(66,32,57,.3); stroke-width: 1.6px; paint-order: stroke; stroke-linejoin: round; opacity: calc((var(--k) - .75) * 4); }

/* ---------- what Personal Evolution brings ---------- */
.cv-brings { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 18px; }
.cv-body { grid-column: 1 / 8; margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: #E5D9E2; }
.cv-words { grid-column: 1 / 13; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .55em; font-family: var(--display); font-style: italic; font-size: clamp(30px, 4.2vw, 64px); line-height: 1.1; color: #fff; }
.cv-words > span:not(:last-child)::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .55em; vertical-align: .22em; border-radius: 50%; background: var(--ch); }
.cv-words > span:nth-child(2) { color: var(--t1); }
.cv-words > span:nth-child(4) { color: var(--t2); }

/* ---------- the close: spacious, and it keeps going ---------- */
.cv-close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.cv-f-close { grid-column: 8 / 12; grid-row: 1; aspect-ratio: 1200 / 1800; max-height: 78vh; justify-self: center; width: 100%; }
.cv-invite { grid-column: 1 / 8; grid-row: 1; margin: 0; max-width: 17ch; font-family: var(--display); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.15; color: #fff; text-wrap: balance; }
.cv-onward { grid-column: 1 / 13; grid-row: 2; justify-self: center; display: block; width: 1px; height: clamp(60px, 9vh, 100px); margin-top: clamp(36px, 6vh, 64px); background: linear-gradient(to bottom, rgba(183,228,225,.7), rgba(183,228,225,0)); }

/* ---------- phones and narrow screens ---------- */
@media (max-width: 760px) {
  .cv { padding-top: 72px; }
  .cv-in { width: calc(100% - 32px); gap: 84px; }
  .cv-open, .cv-meet, .cv-brings, .cv-close { display: flex; flex-direction: column; }
  .cv-kick { margin-bottom: 14px; align-self: flex-start; }
  .cv-h { font-size: clamp(44px, 12vw, 58px); }
  .cv-h-b { margin-left: 18px; }
  .cv-f-open { width: 72%; align-self: flex-end; margin-top: -26px; }
  .cv-lead { font-size: 32px; }
  /* the collage becomes a loose column that steps left and right, each piece overlapping the last */
  .cv-collage { display: flex; flex-direction: column; gap: 0; }
  .cv-m { width: 78%; margin: 0 0 18px; }
  .cv-m + .cv-m { margin-top: -14px; }
  .cv-m:nth-child(even) { align-self: flex-end; }
  .m-des, .m-une { width: 58%; }
  .cv-m figcaption, .m-des figcaption, .m-body figcaption { left: 10px; right: auto; bottom: -20px; font-size: 23px; padding: 8px 14px 9px 12px; }
  .cv-m:nth-child(even) figcaption { left: auto; right: 10px; }
  .cv-big { font-size: 32px; }
  .cv-evolve-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cv-rings { width: min(240px, 66vw); align-self: center; }
  .cv-words { font-size: 34px; }
  .cv-f-close { width: 70%; align-self: flex-end; max-height: none; }
  .cv-invite { margin-top: -40px; position: relative; z-index: 2; font-size: 32px; text-shadow: 0 2px 18px rgba(30,10,26,.75); }
  .cv-onward { align-self: center; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .cv-h { grid-column: 1 / 11; }
  .cv-f-open { grid-column: 7 / 13; }
  .cv-big { grid-column: 1 / 13; }
  .cv-evolve-row { grid-column: 2 / 13; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-frag, .cv-r1, .cv-r2, .cv-r3 { transform: none !important; }
}
