/* Canvas page only: the first viewport (hero panel, overlapping pair, white statement band).
   Loads after theme.css, which holds the shared Canvas theme. */
.cv { --nav-w: calc(1025 * var(--u)); }

/* First viewport: cyan field, hero panel, overlapping dark panel */
.cv .cv-top { position: relative; background: var(--cyan); padding: calc(24 * var(--u)) var(--gut) 0; height: calc(567 * var(--u)); }
.cv .cv-hero { position: relative; width: calc(1025 * var(--u)); height: calc(542 * var(--u)); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: var(--paper); background: var(--ember); }
.cv .cv-hero-art, .cv .cv-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv .cv-hero-art img { object-fit: cover; object-position: 60% 40%; }
.cv .cv-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(40, 10, 8, .62) 0%, rgba(40, 10, 8, .34) 38%, rgba(40, 10, 8, 0) 58%), linear-gradient(0deg, rgba(30, 8, 6, .42) 0%, rgba(30, 8, 6, 0) 30%); }
.cv .cv-hero-copy { position: absolute; z-index: 2; left: calc(38 * var(--u)); bottom: calc(34 * var(--u)); width: max(480px, calc(500 * var(--u))); }
.cv .cv-hero h1 { font-size: calc(54 * var(--t)); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; text-shadow: 0 1px 24px rgba(40, 10, 8, .25); }
.cv .cv-hero-copy > p:first-of-type { margin-top: calc(14 * var(--u)); max-width: 40ch; font-size: max(15px, calc(19 * var(--u))); line-height: 1.32; letter-spacing: -.015em; }
.cv .cv-hero .cv-btn { height: calc(42 * var(--u)); min-height: 42px; font-size: max(13px, calc(15 * var(--u))); padding-left: calc(22 * var(--u)); gap: calc(14 * var(--u)); }
.cv .cv-hero .cv-chip { width: calc(30 * var(--u)); height: calc(30 * var(--u)); min-width: 28px; min-height: 28px; }
.cv .cv-social { display: flex; align-items: center; gap: 10px; margin-top: calc(18 * var(--u)); font-size: max(13px, calc(14 * var(--u))); letter-spacing: -.01em; }
.cv .cv-dots { display: flex; flex: none; }
.cv .cv-dots img { width: calc(38 * var(--u)); height: calc(38 * var(--u)); min-width: 30px; min-height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); object-fit: cover; }
.cv .cv-dots img + img { margin-left: -12px; }
.cv .cv-credit { position: absolute; z-index: 2; right: calc(78 * var(--u)); bottom: calc(14 * var(--u)); font-size: 12px; color: rgba(255, 255, 255, .9); }

.cv .cv-pair { position: absolute; z-index: 3; top: calc(65 * var(--u)); left: calc(1001 * var(--u)); width: calc(506 * var(--u)); height: calc(462 * var(--u)); padding: calc(50 * var(--u)) calc(22 * var(--u)) calc(24 * var(--u)) calc(24 * var(--u)); border-radius: var(--r-lg); background: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 40, 44, .55); }
.cv .cv-pair h2 span { display: block; }
.cv .cv-pair h2 { padding-left: calc(9 * var(--u)); font-size: calc(36 * var(--t)); line-height: 1.06; letter-spacing: -.04em; }
.cv .cv-pair-cards { display: grid; grid-template-columns: 226fr 222fr; gap: calc(12 * var(--u)); margin-top: calc(22 * var(--u)); height: calc(283 * var(--u)); }
.cv .cv-pair .cv-glass-card figcaption { min-height: calc(93 * var(--u)); }
/* The white statement band */
.cv .cv-intro { position: relative; display: grid; grid-template-columns: calc(1162 * var(--u)) calc(281 * var(--u)); gap: calc(18 * var(--u)); padding: calc(10 * var(--u)) calc(35 * var(--u)) calc(44 * var(--u)) calc(57 * var(--u)); background: var(--paper); color: var(--dark-text); }
.cv .cv-statement { margin: calc(22 * var(--u)) 0 0 calc(70 * var(--u)); max-width: calc(1090 * var(--u)); font-size: calc(42 * var(--u)); line-height: 1.34; letter-spacing: -.045em; text-align: center; font-weight: 500; }
.cv .cv-intro-grid { display: grid; grid-template-columns: 325fr 263fr 247fr 272fr; gap: calc(11 * var(--u)); align-items: stretch; margin-top: calc(26 * var(--u)); }
.cv .cv-steps { list-style: none; padding: 0; margin-right: calc(7 * var(--u)); }
.cv .cv-steps li { display: flex; align-items: center; gap: calc(20 * var(--u)); padding: calc(7 * var(--u)) 0; border-bottom: 1px solid var(--hairline); }
.cv .cv-steps li:last-child { border-bottom: 0; }
.cv .cv-step-no { display: grid; place-items: center; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; background: var(--cyan-wash); color: var(--cyan-deep); font-size: calc(18 * var(--u)); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cv .cv-steps strong { display: block; font-size: max(14px, calc(15.5 * var(--u))); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.cv .cv-steps li > span:last-child { font-size: max(12px, calc(12 * var(--u))); color: var(--dark-text-2); line-height: 1.35; }
.cv .cv-stat { position: relative; display: flex; flex-direction: column; border-radius: calc(12 * var(--u)); overflow: hidden; padding: calc(28 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u)); }
.cv .cv-stat-label { font-size: max(11.5px, calc(11.5 * var(--u))); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.cv .cv-stat-num { margin-top: calc(10 * var(--u)); font-size: calc(33 * var(--u)); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cv .cv-stat-text { margin-top: calc(6 * var(--u)); font-size: max(13px, calc(15 * var(--u))); letter-spacing: -.015em; line-height: 1.3; }
.cv .cv-stat-dark { background: var(--ink); color: var(--paper); }
.cv .cv-stat-dark .cv-stat-label { color: var(--cyan); }
.cv .cv-stat-dark img { margin-top: auto; width: 100%; height: calc(82 * var(--u)); object-fit: cover; border-radius: calc(10 * var(--u)); }
.cv .cv-stat-photo { padding: 0; background: var(--photo-mist); }
.cv .cv-stat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.cv .cv-stat-photo figcaption { position: absolute; left: calc(5 * var(--u)); right: calc(6 * var(--u)); bottom: calc(8 * var(--u)); padding: calc(12 * var(--u)) calc(12 * var(--u)); border-radius: calc(10 * var(--u)); background: rgba(34, 42, 50, .58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--paper); font-size: max(14px, calc(18 * var(--u))); letter-spacing: -.025em; line-height: 1.3; text-wrap: balance; }
.cv .cv-stat-light { background: var(--mist); color: var(--dark-text); }
.cv .cv-stat-light .cv-stat-label { color: var(--dark-text); }
.cv .cv-stat-light .cv-stat-num { font-size: calc(29 * var(--u)); }
.cv .cv-bars { display: grid; grid-template-columns: repeat(20, 1fr); gap: calc(4 * var(--u)); height: calc(48 * var(--u)); margin-top: auto; }
.cv .cv-bars i { border-radius: 99px; background: var(--track); }
.cv .cv-bars i:nth-child(-n+14) { background: var(--cyan); }
.cv .cv-tall { margin-top: calc(-0 * var(--u)); height: calc(417 * var(--u)); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 20px 40px -24px rgba(8, 17, 19, .35); }
.cv .cv-tall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* One orchestrated entrance: the hero copy and the overlapping panel settle in on load. */
@media (prefers-reduced-motion: no-preference) {
  .cv .cv-hero-copy, .cv .cv-pair { animation: cv-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .cv .cv-pair { animation-delay: .18s; }
}

@media (max-width: 1099px) {
  .cv .cv-top { height: auto; padding: 12px 16px 0; }
  .cv .cv-hero { width: 100%; height: min(78vh, 760px); min-height: 600px; }
  .cv .cv-hero::after { background: linear-gradient(0deg, rgba(30, 8, 6, .78) 0%, rgba(30, 8, 6, .5) 38%, rgba(30, 8, 6, 0) 62%); }
  .cv .cv-hero-copy { left: 24px; right: 24px; top: auto; bottom: 56px; width: auto; max-width: 620px; }
  .cv .cv-hero h1 { font-size: clamp(40px, 7vw, 60px); }
  .cv .cv-hero-copy > p:first-of-type { font-size: 18px; margin-top: 14px; }
  .cv .cv-hero .cv-btn { height: 46px; font-size: 15px; padding-left: 20px; }
  .cv .cv-hero .cv-chip { width: 32px; height: 32px; }
  .cv .cv-social { font-size: 14px; margin-top: 18px; }
  .cv .cv-credit { right: 24px; bottom: 18px; }
  .cv .cv-pair { position: relative; top: auto; left: auto; width: auto; height: auto; margin: -36px 12px 0; padding: 28px 18px 18px; }
  .cv .cv-pair h2 { font-size: clamp(28px, 5vw, 40px); padding-left: 4px; }
  .cv .cv-pair-cards { height: auto; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .cv .cv-pair .cv-glass-card { aspect-ratio: 4 / 5; }
  .cv .cv-top { padding-bottom: 28px; }

  .cv .cv-intro { grid-template-columns: 1fr; gap: 28px; padding: 48px 24px 56px; }
  .cv .cv-statement { margin: 0 auto; max-width: 22ch; font-size: clamp(30px, 5.4vw, 48px); }
  .cv .cv-pill { width: 2.6em; height: 1.1em; margin: -.15em .08em 0; }
  .cv .cv-intro-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .cv .cv-steps { grid-column: 1 / -1; margin: 0 0 12px; }
  .cv .cv-steps li { gap: 16px; padding: 12px 0; }
  .cv .cv-step-no { width: 44px; height: 44px; font-size: 17px; }
  .cv .cv-steps strong { font-size: 17px; }
  .cv .cv-steps li > span:last-child { font-size: 14.5px; }
  .cv .cv-stat { min-height: 230px; padding: 22px 18px 16px; border-radius: 16px; }
  .cv .cv-stat-label { font-size: 12px; }
  .cv .cv-stat-num, .cv .cv-stat-light .cv-stat-num { font-size: clamp(26px, 4vw, 34px); }
  .cv .cv-stat-text { font-size: 15px; }
  .cv .cv-stat-dark img { height: 72px; border-radius: 10px; margin-top: 18px; }
  .cv .cv-stat-photo figcaption { font-size: 17px; padding: 12px; border-radius: 12px; left: 8px; right: 8px; bottom: 8px; }
  .cv .cv-bars { height: 44px; gap: 3px; margin-top: 18px; }
  .cv .cv-tall { height: auto; aspect-ratio: 840 / 1248; max-height: 640px; border-radius: 20px; }

}

@media (max-width: 760px) {
  .cv .cv-hero { height: auto; min-height: 0; aspect-ratio: auto; display: flex; flex-direction: column; justify-content: flex-end; padding: 330px 20px 52px; }
  .cv .cv-hero-art img { object-position: 22% 20%; }
  .cv .cv-hero-copy { position: relative; left: auto; right: auto; bottom: auto; }
  .cv .cv-hero h1 { font-size: clamp(38px, 11vw, 48px); line-height: 1.02; }
  .cv .cv-credit { position: relative; right: auto; bottom: auto; margin-top: 18px; z-index: 2; }
  .cv .cv-pair { margin: -28px 8px 0; }
  .cv .cv-pair-cards { grid-template-columns: 1fr; }
  .cv .cv-pair .cv-glass-card { aspect-ratio: 5 / 4; }
  .cv .cv-pair .cv-glass-card > img { object-position: 50% 25%; }
  .cv .cv-intro { padding: 44px 20px 48px; }
  .cv .cv-statement { font-size: clamp(28px, 8.2vw, 36px); line-height: 1.3; }
  .cv .cv-intro-grid { grid-template-columns: 1fr; }
  .cv .cv-stat-photo { aspect-ratio: 6 / 5; min-height: 0; }

}
