/* V4: visual rhythm follows the course journey; the original red palette stays. */

/* First viewport: image, product sample and CTA form one deliberate focal area. */
.hero { background:
  radial-gradient(circle at 88% 29%, rgba(250,183,149,.19), transparent 33%),
  radial-gradient(circle at 8% 80%, rgba(75,5,20,.28), transparent 43%),
  linear-gradient(127deg,#a31f37 0%,#8d1c31 54%,#691325 100%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(90deg,rgba(255,245,210,.055) 1px,transparent 1px),linear-gradient(rgba(255,245,210,.055) 1px,transparent 1px); background-size: 112px 112px; mask-image: linear-gradient(90deg,transparent 33%,#000 90%); }
.hero-inner { isolation: isolate; }
.hero-visual { z-index: 1; }
.hero-orbit { position: absolute; width: min(67vw,760px); aspect-ratio: 1; top: 8%; right: 2%; border: 1px solid rgba(255,221,170,.24); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,229,189,.045),0 0 0 140px rgba(255,229,189,.025); pointer-events: none; }
.hero-orbit i { position: absolute; display: block; width: 15px; height: 15px; border: 4px solid #ffe0a0; border-radius: 50%; background: #9e2840; box-shadow: 0 0 0 10px rgba(255,218,154,.13); }
.hero-orbit i:first-child { top: 14%; left: 12%; }
.hero-orbit i:last-child { bottom: 13%; right: 10%; width: 10px; height: 10px; }
.hero-project-peek { position: absolute; z-index: 2; left: 3%; bottom: 15%; width: clamp(185px,18vw,248px); padding: 8px; border: 1px solid rgba(255,255,255,.7); border-radius: 19px; background: #fffaf4; color: #361b22; box-shadow: 0 26px 58px rgba(45,4,18,.38); transform: rotate(-8deg); }
.hero-project-peek-top { display: flex; align-items: center; gap: 3px; padding: 4px 4px 8px; }
.hero-project-dot { width: 6px; height: 6px; border-radius: 50%; background: #d0bbc0; }
.hero-project-peek-top b { margin-left: auto; font-size: 8px; letter-spacing: .1em; color: #944456; }
.hero-project-peek img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: contain; border: 1px solid #e9dfd6; border-radius: 10px; background: #f5f0eb; }
.hero-project-peek-bottom { display: flex; justify-content: space-between; align-items: center; gap: 5px; padding: 8px 3px 3px; font-size: 9px; }
.hero-project-peek-bottom strong { font-weight: 750; }
.hero-project-peek-bottom span { color: #9b5160; }
.hero-primary-cta { position: relative; z-index: 5; isolation: isolate; min-height: 74px; border: 2px solid #fff0b3; font-size: 17px; box-shadow: 0 0 0 7px rgba(255,218,125,.23),0 15px 36px rgba(49,5,14,.34); animation: hero-cta-pulse 2.15s ease-in-out infinite; }
.hero-primary-cta::before { content: ''; position: absolute; inset: -8px; z-index: -1; border: 2px solid rgba(255,227,154,.82); border-radius: 22px; animation: hero-cta-ring 2.15s ease-out infinite; }
.hero-primary-cta:hover { animation-play-state: paused; transform: translateY(-2px) scale(1.035); }
.hero-primary-cta:focus-visible { outline: 3px solid #fff; outline-offset: 8px; animation-play-state: paused; }
@keyframes hero-cta-pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 7px rgba(255,218,125,.25),0 15px 36px rgba(49,5,14,.34); } 50% { transform: scale(1.055); box-shadow: 0 0 0 15px rgba(255,218,125,.08),0 22px 46px rgba(49,5,14,.45); } }
@keyframes hero-cta-ring { 0% { opacity: .85; transform: scale(1); } 70%,100% { opacity: 0; transform: scale(1.13); } }

/* Six course features become three stages with illustrative, scannable visuals. */
.opportunity-panel-v4 { padding: clamp(35px,5vw,72px); }
.opportunity-v4-heading { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: end; gap: 15px 48px; margin-bottom: 45px; }
.opportunity-v4-heading .eyebrow { grid-column: 1 / -1; }
.opportunity-v4-heading h2 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(45px,5vw,72px); line-height: 1.05; }
.opportunity-v4-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.55; }
.opportunity-route { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.route-stage { min-width: 0; overflow: hidden; border: 1px solid rgba(255,237,205,.35); border-radius: 24px; background: #fcf7f1; color: #2c1e22; box-shadow: 0 18px 40px rgba(52,9,19,.14); }
.route-stage--practice { background: #f2d7cf; }
.route-stage--orders { background: #272021; color: #fff; }
.route-stage-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; color: #9e253d; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.route-stage-top b { font-size: 26px; line-height: 1; }
.route-stage--orders .route-stage-top { color: #f3d58b; }
.route-art { position: relative; height: 180px; margin: 12px 18px 20px; overflow: hidden; border-radius: 17px; }
.route-art--build { background: linear-gradient(145deg,#e9c9b7,#f6e8d4); }
.route-browser { position: absolute; width: 72%; height: 128px; left: 15%; top: 29px; padding: 21px 18px; border: 5px solid #fff; border-radius: 12px; background: #fffaf6; box-shadow: 0 15px 22px rgba(84,42,42,.22); transform: rotate(-5deg); }
.route-browser span { display: block; margin-bottom: 16px; color: #7b2437; font-size: 15px; font-weight: 800; }
.route-browser i { display: block; width: 80%; height: 7px; margin: 8px 0; border-radius: 10px; background: #dfc8c3; }
.route-browser i:last-child { width: 47%; }
.route-file { position: absolute; right: 5%; bottom: 11px; display: grid; place-content: center; width: 90px; height: 86px; border: 2px solid #f3d88b; border-radius: 14px; background: #9d243e; color: #ffdf96; font-size: 30px; text-align: center; box-shadow: 0 10px 22px rgba(90,20,37,.28); transform: rotate(10deg); }
.route-file small { color: #fff; font-size: 10px; }
.route-art--practice { background: linear-gradient(135deg,#c97277,#8d263a); }
.route-task { position: absolute; top: 17px; left: 13%; width: 70%; height: 139px; padding: 21px; border-radius: 12px; background: #fffaf5; box-shadow: 0 17px 26px rgba(75,12,29,.28); transform: rotate(5deg); }
.route-task span { color: #8e263a; font-size: 13px; font-weight: 800; }
.route-task i { display: block; width: 80%; height: 8px; margin-top: 13px; border-radius: 8px; background: #e9d8d2; }
.route-task i:last-child { width: 48%; }
.route-feedback { position: absolute; right: 4%; bottom: 10px; width: 100px; height: 70px; display: grid; place-content: center; border-radius: 14px; background: #f4dc92; color: #732236; font-size: 29px; text-align: center; box-shadow: 0 11px 22px rgba(68,11,24,.24); transform: rotate(-8deg); }
.route-feedback small { font-size: 11px; font-weight: 750; }
.route-art--orders { background: radial-gradient(circle at 82% 18%,rgba(245,210,133,.35),transparent 33%),#4c292f; }
.route-search { position: absolute; top: 26px; left: 13%; display: grid; place-content: center; width: 105px; height: 105px; border: 5px solid #f2d387; border-radius: 50%; color: #f2d387; font-size: 88px; line-height: 1; transform: rotate(-15deg); }
.route-message { position: absolute; right: 11%; bottom: 24px; width: 48%; height: 95px; padding: 19px; border-radius: 14px 14px 4px 14px; background: #f5e9d5; transform: rotate(6deg); }
.route-message i { display: block; height: 6px; margin: 8px 0; border-radius: 10px; background: #ae8e8b; }
.route-message i:nth-child(2) { width: 75%; }
.route-message i:nth-child(3) { width: 48%; }
.route-arrow { position: absolute; top: 14px; right: 7%; color: #f3d58b; font-size: 49px; line-height: 1; }
.route-stage h3 { min-height: 65px; margin: 0; padding: 0 24px; font-size: clamp(25px,2.35vw,33px); line-height: 1.12; }
.route-stage ul { display: grid; gap: 0; margin: 13px 24px 26px; padding: 0; list-style: none; border-top: 1px solid rgba(89,35,44,.2); }
.route-stage li { display: grid; gap: 4px; padding: 15px 0; border-bottom: 1px solid rgba(89,35,44,.2); }
.route-stage li strong { color: #802137; font-size: 15px; }
.route-stage li span { color: #66585a; font-size: 13px; line-height: 1.4; }
.route-stage--orders ul { border-color: rgba(255,255,255,.18); }
.route-stage--orders li { border-color: rgba(255,255,255,.18); }
.route-stage--orders li strong { color: #f5d58e; }
.route-stage--orders li span { color: rgba(255,255,255,.75); }

/* Audience cards use small context-specific scenes, not generic identical icons. */
.audience .persona-grid { gap: 14px; }
.persona-card { position: relative; min-width: 0; overflow: hidden; }
.persona-art { position: relative; height: 112px; margin: -2px -2px 23px; overflow: hidden; border-radius: 15px; background: #f1d7c6; color: #762438; }
.persona-art--job { background: #e9d9d5; }
.persona-art--student { background: #f1d99d; }
.persona-art--freelance { background: #ebc2c7; }
.persona-art--zero { background: #eee3d4; }
.persona-clock { position: absolute; left: 14%; top: 18%; display: grid; place-content: center; width: 70px; height: 70px; border: 4px solid #9d3447; border-radius: 50%; font-size: 13px; font-weight: 850; transform: rotate(-9deg); }
.persona-note { position: absolute; right: 8%; top: 15%; width: 90px; height: 90px; padding: 14px 10px; border-radius: 9px; background: #fffaf3; box-shadow: 0 8px 18px rgba(62,27,31,.16); transform: rotate(8deg); font-size: 11px; font-weight: 700; }
.persona-note i { display: block; height: 8px; margin-bottom: 9px; border-radius: 5px; background: #e6cdbd; }
.persona-note span,.persona-note b { display: block; padding: 3px 0; }
.persona-note b { color: #a53044; }
.persona-shift,.persona-project { position: absolute; left: 12%; width: 74%; height: 48px; display: grid; place-content: center; border: 2px solid #7d2438; border-radius: 10px; background: #fff8ed; font-size: 13px; font-weight: 850; letter-spacing: .08em; box-shadow: 0 8px 16px rgba(83,29,37,.14); }
.persona-shift { top: 16px; transform: rotate(-6deg); }
.persona-project { top: 54px; left: 20%; background: #a12b45; color: #fff; transform: rotate(6deg); }
.persona-book { position: absolute; left: 13%; top: 29px; width: 76%; height: 65px; display: flex; filter: drop-shadow(0 10px 9px rgba(90,51,24,.18)); }
.persona-book i { width: 50%; background: #fffaf0; border: 2px solid #8b4b45; border-radius: 8px 3px 3px 8px; transform: skewY(8deg); }
.persona-book i:last-child { border-radius: 3px 8px 8px 3px; transform: skewY(-8deg); }
.persona-certificate { position: absolute; top: 19px; left: 27%; padding: 8px; border: 1px solid #ae3043; border-radius: 7px; background: #fffaf2; font-size: 9px; font-weight: 900; transform: rotate(-8deg); }
.persona-service { position: absolute; top: 31px; left: 4%; display: grid; place-content: center; width: 38%; height: 60px; border-radius: 9px; background: #fff8ee; font-size: 11px; font-weight: 850; transform: rotate(-8deg); }
.persona-service--new { left: auto; right: 4%; background: #8e253a; color: #fff; transform: rotate(8deg); }
.persona-plus { position: absolute; left: 46%; top: 38px; font-size: 29px; font-weight: 700; }
.persona-step { position: absolute; bottom: 20px; display: grid; place-content: center; width: 52px; height: 52px; border-radius: 10px; background: #fff8ed; color: #993649; font-size: 17px; font-weight: 850; box-shadow: 0 9px 14px rgba(70,39,33,.13); }
.persona-step:nth-child(1) { left: 10%; transform: rotate(-9deg); }
.persona-step:nth-child(2) { left: 38%; bottom: 28px; transform: rotate(5deg); }
.persona-step:nth-child(3) { right: 9%; bottom: 38px; background: #9b2b42; color: #fff; transform: rotate(9deg); }

/* A physical folder gives the portfolio section a recognisable visual anchor. */
.results .section-heading { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); align-items: center; column-gap: 48px; text-align: left; }
.results .section-heading .eyebrow,.results .section-heading h2,.results .section-heading > p { grid-column: 1; justify-self: start; margin-left: 0; }
.results .section-heading h2 { max-width: 750px; }
.results .section-heading > p { max-width: 650px; }
.portfolio-folder-art { position: relative; grid-column: 2; grid-row: 1 / 4; align-self: center; width: 100%; height: 315px; margin: 0; }
.portfolio-folder-art::before { content: ''; position: absolute; left: 6%; right: 3%; top: 10%; bottom: 6%; border-radius: 50%; background: #ead7cb; filter: blur(24px); }
.portfolio-sheet { position: absolute; top: 4%; left: 17%; width: 63%; height: 62%; overflow: hidden; padding: 8px; border: 1px solid #d6b9ae; border-radius: 11px; background: #fff; box-shadow: 0 17px 28px rgba(58,29,37,.18); }
.portfolio-sheet img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portfolio-sheet--back { left: 23%; transform: rotate(12deg); }
.portfolio-sheet--front { left: 8%; top: 17%; transform: rotate(-10deg); }
.portfolio-folder { position: absolute; right: 3%; bottom: 0; left: 5%; height: 42%; padding: 24px 28px; border: 2px solid #e6b875; border-radius: 9px 22px 18px 18px; background: linear-gradient(135deg,#ad3048,#74192d); color: #fff; box-shadow: 0 22px 29px rgba(70,16,30,.29); transform: rotate(-3deg); }
.portfolio-folder::before { content: ''; position: absolute; top: -22px; left: -2px; width: 35%; height: 28px; border: 2px solid #e6b875; border-bottom: 0; border-radius: 10px 13px 0 0; background: #ad3048; }
.portfolio-folder span { display: block; margin-bottom: 7px; color: #f6d899; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.portfolio-folder strong { display: block; font-family: var(--display); font-size: clamp(23px,3vw,34px); }
.portfolio-folder b { display: block; margin-top: 3px; color: #ebd2cf; font-size: 12px; }

/* The curriculum heading states the object first, then the outcome and action. */
.program-heading h2 { max-width: none; margin-bottom: 8px; font-size: clamp(56px,6.2vw,88px); }
.program-heading .program-v4-subtitle { max-width: 850px; margin: 0 0 26px; color: #5a3a41; font-family: var(--display); font-size: clamp(29px,3.5vw,49px); font-weight: 540; line-height: 1.16; }
.program-v4-guide { display: inline-flex; align-items: center; gap: 13px; max-width: 100%; margin: 0; padding: 13px 22px 13px 13px; border: 1px solid #e5c6b2; border-radius: 999px; background: #f6e5d9; color: #6f1f32; font-size: 14px; font-weight: 730; line-height: 1.35; }
.program-v4-guide span { display: grid; flex: 0 0 32px; place-content: center; width: 32px; height: 32px; border-radius: 50%; background: #9e243a; color: #fff; font-size: 23px; }

/* Real student projects: a lead story, four supporting cards, a second lead. */
.cases-heading { align-items: end; }
.cases-heading h2 { max-width: 910px; }
.cases-heading > .cases-v4-intro { grid-column: 1; max-width: 570px; margin: -4px 0 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.5; }
.cases-heading a { grid-column: 2; grid-row: 2 / 4; align-self: end; }
.cases-grid { gap: 18px; }
.case-card { display: flex; flex-direction: column; }
.case-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); min-height: 370px; }
.case-card--featured:last-child { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.case-card--featured:last-child .case-image { grid-column: 2; grid-row: 1; }
.case-card--featured:last-child .case-copy { grid-column: 1; grid-row: 1; }
.case-card--featured .case-image { height: 100%; min-height: 370px; }
.case-card--featured .case-image img { object-fit: contain; background: #e9e7e3; }
.case-card--featured .case-copy { align-self: center; padding: 40px; }
.case-card--featured .case-copy h3 { font-size: clamp(30px,3.1vw,43px); }
.case-card:not(.case-card--featured) .case-image { height: 300px; }
.case-copy { display: flex; flex-direction: column; flex: 1; }
.case-copy > div { flex-wrap: wrap; }
.case-copy-link { width: fit-content; margin-top: auto; padding-top: 22px; color: #982a40; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.case-copy-link:focus-visible,.case-image:focus-visible { outline: 3px solid #f2cf7c; outline-offset: -4px; }

/* Telegram-like demo UI without pretending that the illustrative chat is real. */
.fairy-device--telegram { background: #d6e7e7; border-color: #191b20; }
.fairy-device--telegram .fairy-device-notch { background: #191b20; }
.tg-status { display: flex; justify-content: space-between; padding: 3px 22px 8px; background: #fff; color: #27333b; font-size: 10px; font-weight: 800; }
.tg-header { display: flex; align-items: center; gap: 10px; min-height: 59px; padding: 7px 12px; background: #fff; color: #20252c; box-shadow: 0 2px 6px rgba(25,66,80,.12); }
.tg-back { color: #2e9ad3; font-size: 34px; line-height: 1; }
.tg-header .fairy-avatar { flex: 0 0 39px; background: #a12641; color: #ffe1a3; }
.tg-header strong,.tg-header small { display: block; }
.tg-header strong { font-size: 14px; }
.tg-header small { margin-top: 2px; color: #4a9bba; font-size: 10px; }
.tg-menu { margin-left: auto; color: #2999d0; font-size: 25px; }
.tg-chat { display: flex; flex-direction: column; gap: 9px; min-height: 535px; padding: 18px 11px 20px; background:
  radial-gradient(circle at 18% 24%,rgba(255,255,255,.45) 0 9px,transparent 10px),
  radial-gradient(circle at 75% 62%,rgba(255,255,255,.38) 0 6px,transparent 7px),
  linear-gradient(135deg,#d4e6e2,#c7dcd9); background-size: 130px 130px,150px 150px,auto; }
.tg-date { align-self: center; margin-bottom: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(68,111,116,.54); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.tg-message { max-width: 88%; margin: 0; padding: 10px 11px 5px; border-radius: 14px 14px 14px 4px; background: #fff; color: #222a2b; font-size: 12px; line-height: 1.44; box-shadow: 0 1px 3px rgba(40,89,89,.17); }
.tg-message--out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #dcf7c8; }
.tg-message span { display: block; margin-top: 5px; color: #8b9697; font-size: 9px; text-align: right; }
.tg-message--out span { color: #51a6c3; }
.tg-attachment { align-self: flex-start; display: flex; align-items: center; gap: 9px; width: 75%; margin-top: -4px; padding: 8px; border-radius: 5px 12px 12px 12px; background: #fff; box-shadow: 0 1px 3px rgba(40,89,89,.17); }
.tg-attachment-icon { display: grid; flex: 0 0 52px; place-content: center; width: 52px; height: 52px; border-radius: 7px; background: linear-gradient(135deg,#a42d47,#d1a76e); color: #fff; font-size: 24px; }
.tg-attachment strong,.tg-attachment small { display: block; }
.tg-attachment strong { color: #222a2b; font-size: 12px; }
.tg-attachment small { margin-top: 4px; color: #6c8d92; font-size: 9px; }
.tg-compose { display: flex; align-items: center; gap: 9px; min-height: 49px; padding: 6px 11px; background: #fff; color: #82969c; font-size: 22px; }
.tg-compose div { flex: 1; color: #a4aeb0; font-size: 13px; }
.tg-compose b { display: grid; place-content: center; width: 30px; height: 30px; border-radius: 50%; background: #47a8d4; color: #fff; font-size: 17px; }
.fairy-device-caption { color: rgba(255,255,255,.7); }

/* The richer brass-and-glass asset remains the offer's focus. */
.offer-poster-art img { width: min(100%,490px); max-height: 540px; }

@media (max-width: 1100px) {
  .hero-project-peek { left: 0; bottom: 11%; width: 190px; }
  .opportunity-v4-heading { grid-template-columns: 1fr; }
  .opportunity-v4-heading .eyebrow { grid-column: 1; }
  .opportunity-v4-heading > p { max-width: 620px; }
  .route-stage h3 { min-height: 83px; }
}
@media (max-width: 820px) {
  .hero-project-peek { display: none; }
  .opportunity-route { grid-template-columns: 1fr; }
  .route-stage { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); grid-template-rows: auto auto 1fr; align-items: start; }
  .route-stage-top { grid-column: 1 / -1; }
  .route-art { grid-column: 1; grid-row: 2 / 4; height: 170px; }
  .route-stage h3 { grid-column: 2; grid-row: 2; min-height: 0; padding: 10px 20px 0 4px; }
  .route-stage ul { grid-column: 2; grid-row: 3; margin: 8px 20px 16px 4px; }
  .results .section-heading { grid-template-columns: 1fr; text-align: center; }
  .results .section-heading .eyebrow,.results .section-heading h2,.results .section-heading > p { justify-self: center; text-align: center; margin-inline: auto; }
  .portfolio-folder-art { grid-column: 1; grid-row: auto; width: min(100%,440px); margin: 20px auto 0; }
  .case-card--featured,.case-card--featured:last-child { grid-template-columns: 1fr; }
  .case-card--featured .case-image,.case-card:not(.case-card--featured) .case-image { height: 300px; min-height: 0; }
  .case-card--featured:last-child .case-image,.case-card--featured:last-child .case-copy { grid-column: 1; grid-row: auto; }
  .case-card--featured .case-copy { padding: 28px 30px 34px; }
}
@media (max-width: 620px) {
  .hero::after { background-size: 75px 75px; }
  .hero-primary-cta { width: 100%; min-height: 74px; font-size: 15px; }
  .hero-chips { display: none; }
  .opportunity-panel-v4 { padding: 32px 18px; }
  .opportunity-v4-heading { margin-bottom: 25px; }
  .opportunity-v4-heading h2 { font-size: clamp(37px,10vw,48px); }
  .opportunity-v4-heading > p { font-size: 15px; }
  .route-stage { display: block; }
  .route-stage-top { padding: 18px 18px 0; }
  .route-art { height: 150px; margin: 8px 13px 15px; }
  .route-stage h3 { padding: 0 18px; font-size: 29px; }
  .route-stage ul { margin: 10px 18px 18px; }
  .persona-art { height: 120px; }
  .portfolio-folder-art { height: 260px; }
  .portfolio-folder { padding: 17px 20px; }
  .program-heading h2 { font-size: clamp(47px,13vw,62px); }
  .program-heading .program-v4-subtitle { font-size: clamp(26px,7vw,35px); }
  .program-v4-guide { border-radius: 22px; font-size: 13px; }
  .cases-v4-intro { grid-column: 1 / -1; }
  .cases-heading a { grid-column: 1 / -1; grid-row: auto; }
  .case-card--featured .case-copy h3 { font-size: 27px; }
  .offer-poster-art { max-height: none; min-height: 360px; }
  .offer-poster-art img { width: min(100%,285px); max-height: 350px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-primary-cta,.hero-primary-cta::before { animation: none !important; }
}
