/* CTI program pages (inc/cti-program.php), first /cti/edutourism: an Apple-style product page inside the site shell.
   Colours from CTI's layout guide: dark blue #103169, light blue #4b7fab, grey yellow #ccbc73. */
.ctip { --navy: #103169; --blue: #4b7fab; --gold: #ccbc73; --gold-ink: #8a7a2e; --ink: #1d1d1f; --muted: #6e6e73;
  --gray: #f5f5f7; --line: #d2d2d7; --dark: #0b1630; --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font); color: var(--ink); font-size: 17px; line-height: 1.47; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; background: #fff; overflow-x: clip; }
.ctip *, .ctip *::before, .ctip *::after { box-sizing: border-box; }
/* resets at zero specificity (:where), so the component rules below win */
:where(.ctip) :where(h1, h2, h3, h4) { font-family: var(--font); color: inherit; margin: 0; text-transform: none; line-height: 1.15; }
:where(.ctip) p { margin: 0 0 1em; }
:where(.ctip) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.ctip) a { color: var(--blue); text-decoration: none; }
:where(.ctip) a:hover { text-decoration: underline; }
:where(.ctip) figure { margin: 0; }
.ctip .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* --ctip-top: the bottom of the site's fixed header, measured by the script (138px desktop / 110px phone in Chrome) */
.ctip [id] { scroll-margin-top: calc(var(--ctip-top, 138px) + 16px); }

.ctip-wrap { width: min(1080px, calc(100% - 44px)); margin: 0 auto; }
.ctip-wrap--narrow { width: min(820px, calc(100% - 44px)); }
.ctip-center { text-align: center; }
.ctip-center .ctip-lede, .ctip-lede.ctip-center { margin-left: auto; margin-right: auto; }
.ctip-section { padding: 110px 0; }
.ctip-section--gray { background: var(--gray); }

/* type */
.ctip-eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--gold-ink); margin: 0 0 10px; }
.ctip-h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.025em; color: var(--navy); margin: 0 0 22px; }
.ctip-h2--sm { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.ctip-h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--navy); margin: 64px 0 24px; }
.ctip-lede { font-size: clamp(19px, 1.7vw, 21px); line-height: 1.45; color: var(--muted); max-width: 760px; }
.ctip-lede strong { color: var(--ink); font-weight: 600; }
.ctip-muted { color: var(--muted); }
.ctip-grad { background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 55%, #6fa6c9 100%); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.ctip-grad--warm { background-image: linear-gradient(90deg, #f3e3a1, var(--gold) 50%, #e9a46a); }
.ctip-grad--light { background-image: linear-gradient(90deg, #fff, #cfe3f3 50%, var(--gold)); }
.ctip-head { margin: 0 0 56px; }
.ctip-head--center { text-align: center; margin-top: 110px; }
.ctip-head--center .ctip-lede { margin-left: auto; margin-right: auto; }
.ctip-fine { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 18px 0 0; }

/* buttons and links */
.ctip-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0;
  border-radius: 980px; background: var(--blue); color: #fff !important; font: 500 17px/1 var(--font); letter-spacing: -.01em;
  white-space: nowrap; vertical-align: middle; text-decoration: none !important; transition: background .25s, transform .25s; }
.ctip-btn:active { transform: scale(.97); }
.ctip-btn:hover { background: var(--navy); }
.ctip-btn--light { background: #fff; color: var(--navy) !important; }
.ctip-btn--light:hover { background: #e8eef5; }
.ctip-btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.ctip-btn--ghost:hover { background: rgba(255,255,255,.12); }
.ctip-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 17px; line-height: 1; }
.ctip-chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* photo placeholders: toned gradients standing in for the photos */
.ctip-ph { position: relative; display: flex; align-items: flex-end; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; background: linear-gradient(160deg, #cfe3f3, #7fb0d4 60%, #4b7fab); }
.ctip-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.35), transparent 60%); }
.ctip-ph--sky { background: linear-gradient(170deg, #e3f0fa 0%, #a9cde8 45%, #4b7fab 100%); }
.ctip-ph--sea { background: linear-gradient(165deg, #bfeaf0 0%, #3fa4b8 50%, #16507a 100%); }
.ctip-ph--sand { background: linear-gradient(160deg, #f6efd8 0%, #e2d39a 50%, #b39b52 100%); }
.ctip-ph--jungle { background: linear-gradient(160deg, #d9ecc9 0%, #7fb07a 50%, #2f6a4a 100%); }
.ctip-ph--sunset { background: linear-gradient(160deg, #fde3c4 0%, #f0a271 45%, #a8434b 100%); }
.ctip-ph--night { background: linear-gradient(170deg, #31477a 0%, #142650 55%, #070f24 100%); }
.ctip-ph-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin: 14px; padding: 5px 11px;
  border-radius: 980px; background: rgba(255,255,255,.82); color: #3a3a3c; font-size: 12px; font-weight: 500; line-height: 1.3;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ctip-ph-label svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ctip-ph--hero { aspect-ratio: 21 / 9; border-radius: 0; }
.ctip-ph--banner { aspect-ratio: auto; height: clamp(260px, 38vw, 460px); border-radius: 0; }
.ctip-ph--tall { aspect-ratio: 4 / 5; }

/* hero */
/* hero like Apple's MacBook Air page: small program name, big gradient headline, a coloured line under it, left-aligned */
.ctip-hero { padding: 88px 0 128px; }
.ctip-hero-unit { font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; letter-spacing: .02em; line-height: 1.3; color: var(--gold-ink); margin: 0 0 14px; }
.ctip-hero-name { font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
.ctip-hero-title { color: var(--navy); line-height: 1; margin: 0 0 20px; }
.ctip-hero-title .ctip-grad { display: inline-block; font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; padding: 0 0 .08em;
  background-image: linear-gradient(90deg, #0f2a5c 0%, #22508a 45%, #5f8fbd 100%); }
.ctip-hero-tag { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--gold-ink); margin: 0 0 30px; }
.ctip-hero-cta { display: flex; justify-content: flex-start; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin: 0 0 56px; }
.ctip-hero-media { margin: 0 0 96px; overflow: hidden; }
.ctip-statement { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--muted); text-align: left; margin: 0; }
.ctip-statement strong { color: var(--navy); }

/* bento tiles + cards */
.ctip-bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.ctip-tile, .ctip-card { background: #fff; border-radius: var(--radius); padding: 38px; }
.ctip-section:not(.ctip-section--gray) .ctip-card { background: var(--gray); }
.ctip-tile-kicker, .ctip-card-kicker { font-size: 14px; font-weight: 600; color: var(--gold-ink); margin: 0 0 6px; }
.ctip-tile-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--navy); margin: 0 0 26px; }
.ctip-weeks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ctip-week { display: flex; flex-direction: column; align-items: center; padding: 22px 8px 18px; border-radius: 16px; background: var(--gray); }
.ctip-week-n { font-size: clamp(54px, 6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--navy); }
.ctip-week-u { font-size: 15px; font-weight: 600; color: var(--muted); }
.ctip-islands { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctip-island { position: relative; }
.ctip-island .ctip-ph { aspect-ratio: 3 / 4; border-radius: 16px; }
.ctip-island figcaption { background: none; padding: 0; border: 0; position: absolute; top: 16px; left: 18px; z-index: 2; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.ctip-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ctip-card { display: flex; flex-direction: column; }
.ctip-card h4 { font-size: 21px; font-weight: 700; color: var(--navy); margin: 0 0 8px; letter-spacing: -.01em; }
.ctip-card p { color: var(--muted); }
.ctip-stat { font-size: clamp(48px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.ctip-stat-unit { font-size: 17px; font-weight: 600; color: var(--ink) !important; margin: 4px 0 20px; }
.ctip-checks { margin: 0 0 20px !important; flex: 1; }
.ctip-checks li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.ctip-checks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.ctip-card--icon { text-align: center; align-items: center; }
.ctip-icon { width: 54px; height: 54px; fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin: 0 0 18px; }
.ctip-card--know .ctip-icon { width: 40px; height: 40px; }

/* section banners */
.ctip-banner { position: relative; margin: -110px 0 96px; overflow: hidden; }
.ctip-banner-title { position: absolute; inset: auto 0 0 0; z-index: 2; margin: 0; padding: 0 22px 40px; text-align: center; color: #fff;
  font-size: clamp(40px, 7vw, 88px); font-weight: 800; letter-spacing: -.035em; line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.ctip-banner-title span { color: var(--gold); }
.ctip-banner .ctip-ph-label { position: absolute; top: 0; left: 0; }

/* English: assessment, learner tabs */
.ctip-assess { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; padding: 48px; border-radius: var(--radius); background: var(--gray); }
.ctip-assess-head .ctip-h3 { margin-top: 0; }
.ctip-assess-head p { color: var(--muted); }
.ctip-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.ctip-step { position: relative; padding: 0 14px; }
.ctip-step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold)); }
.ctip-step-n { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.ctip-step h4 { text-align: center; font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.ctip-step p { text-align: center; font-size: 14px; line-height: 1.4; color: var(--muted); }
.ctip-learners { margin-top: 96px; }
.ctip-seg { display: flex; justify-content: center; width: max-content; max-width: 100%; margin: 0 auto 34px; padding: 4px; border-radius: 980px; background: #e8e8ed; }
.ctip-seg button { border: 0; background: none; padding: 9px 20px; border-radius: 980px; font: 500 15px/1.2 var(--font); color: var(--ink); cursor: pointer; transition: background .2s, box-shadow .2s; }
.ctip-seg button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ctip-learner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.ctip-learner + .ctip-learner { margin-top: 40px; }
.js-ctip .ctip-learner[hidden] { display: none; }
.js-ctip .ctip-learner + .ctip-learner { margin-top: 0; }
.ctip-learner .ctip-ph { aspect-ratio: 16 / 10; }
.ctip-learner h4 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); margin: 0 0 12px; }
.ctip-learner p { font-size: 19px; color: var(--muted); }

/* a day of learning */
.ctip-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ctip-split-text .ctip-ph { margin-top: 28px; }
.ctip-schedule { background: #fff; border-radius: var(--radius); padding: 34px 38px; }
.ctip-schedule h3 { font-size: 14px; font-weight: 600; color: var(--gold-ink); margin: 0 0 8px; }
.ctip-schedule li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ctip-schedule li:last-child { border-bottom: 0; }
.ctip-time { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.ctip-what { font-size: 17px; font-weight: 600; color: var(--navy); }
.ctip-what small { display: block; font-size: 13px; font-weight: 500; color: var(--blue); margin-top: 2px; }

/* beyond the classroom */
.ctip-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 48px 0 40px; }

/* experiences (dark) */
.ctip-dark { background: var(--dark); color: #f5f5f7; }
.ctip-dark .ctip-h2, .ctip-dark .ctip-h3 { color: #fff; }
.ctip-dark .ctip-lede { color: #a1a1a6; }
.ctip-dark .ctip-eyebrow { color: var(--gold); }
.ctip-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ctip-qcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #16223f; }
.ctip-qcard .ctip-ph { aspect-ratio: 16 / 9; border-radius: 0; }
.ctip-qcard > div { padding: 26px 30px 30px; }
.ctip-qcard h3 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; color: #fff; margin: 0 0 8px; }
.ctip-qcard p { color: #a1a1a6; margin: 0; }
.ctip-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ctip-act { position: relative; border-radius: 18px; overflow: hidden; }
.ctip-act .ctip-ph { aspect-ratio: 1; border-radius: 0; transition: transform .5s; }
.ctip-act .ctip-ph-label { display: none; }
.ctip-act:hover .ctip-ph { transform: scale(1.05); }
.ctip-act span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 16px 16px; font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.45)); }

/* build your program */
.ctip-build { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.ctip-build-head { position: sticky; top: calc(var(--ctip-top, 138px) + 32px); }
.ctip-build-steps li { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 30px 0; border-top: 1px solid var(--line); }
.ctip-build-steps li:first-child { border-top: 0; padding-top: 0; }
.ctip-build-n { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.ctip-build-steps h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--navy); margin: 2px 0 8px; }
.ctip-build-steps p { color: var(--muted); margin: 0; }
.ctip-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.ctip-chips li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; line-height: 1.2; white-space: nowrap; border-radius: 980px; background: #eaf1f8; color: var(--navy); font-size: 14px; font-weight: 500; }

/* why NMC */
.ctip-split--media { align-items: center; }
.ctip-split--media .ctip-split-text p { color: var(--muted); }
/* Apple-style stat row: no boxes, thin dividers, figure over a short label, all aligned to one baseline */
.ctip-facts { display: flex; margin: 12px 0 34px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ctip-facts div { flex: 1 1 auto; min-width: 0; padding: 2px 24px; border-left: 1px solid var(--line); }
.ctip-facts div:first-child { padding-left: 0; border-left: 0; }
.ctip-facts div:last-child { padding-right: 0; }
.ctip-facts dt { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: var(--navy); }
.ctip-facts dd { margin: 10px 0 0; font-size: 14px; line-height: 1.35; color: var(--muted); max-width: 13ch; }

/* contact */
.ctip-cta { background: radial-gradient(120% 120% at 50% 0%, #2a5a8c 0%, var(--navy) 55%, #0a1f45 100%); color: #fff; }
.ctip-cta .ctip-h2 { color: #fff; }
.ctip-cta .ctip-lede { color: rgba(255,255,255,.8); margin: 0 auto 30px; }
.ctip-cta-btns { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; }
.ctip-fine--light { color: rgba(255,255,255,.6); margin: 0 0 56px; }
.ctip-cta-unit { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--gold); margin: 0 0 20px; }
.ctip-people { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 20px; }
.ctip-person { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.08); text-align: left; }
.ctip-person h3 { font-size: 21px; font-weight: 700; color: #fff; margin: 0 0 2px; }
.ctip-person-role { font-size: 14px; color: rgba(255,255,255,.7); }
.ctip-person a { color: #cfe3f3; }

/* about (Apple's footnotes) */
.ctip-about { background: var(--gray); padding: 64px 0 72px; }
.ctip-about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ctip-about h2 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.ctip-about p { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Apple-style motion: content rises a little and fades in as it scrolls into view; groups follow one another
   (--d, set by the script); photos settle from a slight zoom; the hero fades in line by line on load. */
.js-ctip .ctip-reveal, .js-ctip .ctip-intro { opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 1s cubic-bezier(.25,.1,.25,1) var(--d, 0s), transform 1.2s cubic-bezier(.16,1,.3,1) var(--d, 0s); }
.js-ctip .ctip-reveal.is-in, .js-ctip .ctip-intro.is-in { opacity: 1; transform: none; }
.js-ctip .ctip-zoom .ctip-ph { transform: scale(1.08); transition: transform 1.8s cubic-bezier(.16,1,.3,1) var(--d, 0s); }
.js-ctip .ctip-zoom.is-in .ctip-ph { transform: none; }
.ctip-learner.is-entering { animation: ctip-fade .6s cubic-bezier(.25,.1,.25,1); }
@keyframes ctip-fade { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes ctip-pop { from { opacity: 0; transform: translate(-50%, 8px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0); } }

/* section dock: on desktop a floating glass rail at the left (dots; labels on hover, always on wide screens);
   on phones a glass pill at the bottom between the site's accessibility and back-to-top buttons.
   Liquid glass like the main menu (mainmenu.css, after the CodePen "Apple Liquid glass switcher", Den, MIT): a light
   tint, blur + saturate, the pen's specular edge, and in Chromium the menu's rim lens (cti-program.js borrows
   nmmGlass.lens: #ctip-lens-dock, #ctip-lens-list). The dock's glass is on ::before, not the dock itself: an element
   with backdrop-filter would stop the phone section list inside it from blurring the page. */
.ctip { --ctip-glass-edge: inset 0 0 0 1px rgba(255,255,255,.1), inset 1.8px 3px 0 -2px rgba(255,255,255,.9), inset -2px -2px 0 -2px rgba(255,255,255,.8),
    inset -3px -8px 1px -6px rgba(255,255,255,.6), inset -.3px -1px 4px 0 rgba(0,0,0,.12), inset -1.5px 2.5px 0 -2px rgba(0,0,0,.2),
    inset 0 3px 4px -2px rgba(0,0,0,.2), inset 2px -6.5px 1px -4px rgba(0,0,0,.1), 0 1px 5px 0 rgba(0,0,0,.1), 0 6px 16px 0 rgba(0,0,0,.08);
  /* frosted a little more than the pen (its 12% tint was too clear to read on): white .5, blur 14px; over a dark
     section (.ctip-dark) cti-program.js sets .is-on-dark and the glass turns dark with light text, like Apple's */
  --ctip-glass-bg: rgba(255,255,255,.5);
  --ctip-glass-blur: blur(14px) saturate(160%); }
.ctip-dock { position: fixed; z-index: 990; font-family: var(--font); opacity: 0; visibility: hidden;
  transition: opacity .5s cubic-bezier(.25,.1,.25,1), transform .6s cubic-bezier(.16,1,.3,1), visibility 0s linear .6s; }
.ctip-dock::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--ctip-glass-bg); -webkit-backdrop-filter: var(--ctip-glass-blur); backdrop-filter: var(--ctip-glass-blur);
  box-shadow: var(--ctip-glass-edge); }
html.nmm-refract .ctip-dock.has-lens::before { backdrop-filter: blur(14px) url(#ctip-lens-dock) saturate(160%); }
.ctip-dock.is-shown { opacity: 1; visibility: visible; transition-delay: 0s; }
.ctip-dock-list a { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none !important;
  font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; border-radius: 14px; transition: background .2s, color .3s, box-shadow .2s; }
.ctip-dock-list a:hover { background: rgba(118,118,128,.14); }
/* the section in view: a small glass pill inside the glass, like the pen's switcher */
.ctip-dock-list a.is-current { color: var(--navy) !important; font-weight: 700; background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 1px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.1), 0 4px 10px -4px rgba(16,49,105,.25); }
.ctip-dock-pip { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #aeb4bf; transition: background .3s, transform .3s; }
.ctip-dock-list a.is-current .ctip-dock-pip, .ctip-dock-now .ctip-dock-pip { background: var(--blue); transform: scale(1.3); }
.ctip-dock-now { display: none; }

/* dark glass over dark sections: the pen's dark-theme edge (fainter white lines), light text, a lighter pill */
.ctip-dock::before, .ctip-dock-list { transition: background-color .35s, box-shadow .35s; }
.ctip-dock.is-on-dark { --ctip-glass-bg: rgba(28,30,38,.55);
  --ctip-glass-edge: inset 0 0 0 1px rgba(255,255,255,.1), inset 1.8px 3px 0 -2px rgba(255,255,255,.3), inset -2px -2px 0 -2px rgba(255,255,255,.25),
    inset -3px -8px 1px -6px rgba(255,255,255,.15), inset -.3px -1px 4px 0 rgba(0,0,0,.3), inset -1.5px 2.5px 0 -2px rgba(0,0,0,.4),
    inset 0 3px 4px -2px rgba(0,0,0,.4), inset 2px -6.5px 1px -4px rgba(0,0,0,.25), 0 1px 5px 0 rgba(0,0,0,.25), 0 6px 16px 0 rgba(0,0,0,.2); }
.ctip-dock.is-on-dark .ctip-dock-list a, .ctip-dock.is-on-dark .ctip-dock-now { color: #f5f5f7 !important; }
.ctip-dock.is-on-dark .ctip-dock-list a:hover { background: rgba(255,255,255,.12); }
.ctip-dock.is-on-dark .ctip-dock-list a.is-current { color: #fff !important; background: rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 3px rgba(0,0,0,.25); }
.ctip-dock.is-on-dark .ctip-dock-pip { background: rgba(255,255,255,.45); }
.ctip-dock.is-on-dark .ctip-dock-list a.is-current .ctip-dock-pip, .ctip-dock.is-on-dark .ctip-dock-now .ctip-dock-pip { background: #8fbbe3; }

@media (min-width: 1024px) {
  .ctip-dock { left: 20px; top: calc(var(--ctip-top, 138px) + (100vh - var(--ctip-top, 138px)) / 2); transform: translate(-12px, -50%); padding: 8px; border-radius: 22px; }
  .ctip-dock.is-shown { transform: translate(0, -50%); }
  .ctip-dock-list a { padding: 9px 10px; }
  .ctip-dock-text { max-width: 0; opacity: 0; overflow: hidden; transition: max-width .4s cubic-bezier(.16,1,.3,1), opacity .25s; }
  .ctip-dock:hover .ctip-dock-text, .ctip-dock:focus-within .ctip-dock-text { max-width: 170px; opacity: 1; }
}
@media (min-width: 1480px) {
  .ctip-dock-text { max-width: 170px; opacity: 1; }
}
@media (max-width: 1023px) {
  .ctip-dock { left: 50%; bottom: 18px; width: min(320px, calc(100vw - 176px)); transform: translate(-50%, 24px); border-radius: 980px; }
  .ctip-dock.is-shown { transform: translate(-50%, 0); }
  .ctip-dock-now { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 48px; padding: 0 18px;
    border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; }
  .ctip-dock-now-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ctip-dock-now svg { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .3s; }
  .ctip-dock.is-open .ctip-dock-now svg { transform: rotate(180deg); }
  .ctip-dock-list { display: none; position: absolute; left: 50%; bottom: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); padding: 8px;
    border-radius: 20px; background: var(--ctip-glass-bg);
    -webkit-backdrop-filter: var(--ctip-glass-blur); backdrop-filter: var(--ctip-glass-blur);
    box-shadow: var(--ctip-glass-edge), 0 18px 40px -16px rgba(0,0,0,.25); transform: translateX(-50%); }
  html.nmm-refract .ctip-dock-list.has-lens { backdrop-filter: blur(14px) url(#ctip-lens-list) saturate(160%); }
  .ctip-dock.is-open .ctip-dock-list { display: block; animation: ctip-pop .35s cubic-bezier(.16,1,.3,1); }
  .ctip-dock-list a { padding: 13px 14px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-ctip .ctip-reveal, .js-ctip .ctip-intro { opacity: 1; transform: none; transition: none; }
  .js-ctip .ctip-zoom .ctip-ph { transform: none; transition: none; }
  .ctip-learner.is-entering, .ctip-dock.is-open .ctip-dock-list { animation: none; }
  .ctip-dock, .ctip-dock-text { transition: none; }
}

/* tablet */
@media (max-width: 1023px) {
  .ctip-bento, .ctip-assess, .ctip-split, .ctip-build { grid-template-columns: 1fr; }
  .ctip-assess { gap: 28px; }
  .ctip-build { gap: 32px; }
  .ctip-build-head { position: static; }
  .ctip-acts { grid-template-columns: repeat(3, 1fr); }
}
/* phone */
@media (max-width: 767px) {
  .ctip { font-size: 16px; }
  .ctip-wrap, .ctip-wrap--narrow { width: calc(100% - 32px); }
  .ctip-section { padding: 72px 0; }
  .ctip-banner { margin: -72px 0 56px; }
  .ctip-head--center { margin-top: 72px; }
  .ctip-hero { padding: 48px 0 80px; }
  .ctip-ph--hero { aspect-ratio: 4 / 3; }
  .ctip-hero-media { margin-bottom: 56px; }
  .ctip-tile, .ctip-card, .ctip-assess, .ctip-schedule { padding: 26px 22px; }
  .ctip-cards3, .ctip-quad, .ctip-duo, .ctip-learner, .ctip-about-cols, .ctip-people { grid-template-columns: 1fr; }
  .ctip-learner { gap: 20px; }
  .ctip-steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .ctip-step:nth-child(2)::after { display: none; }
  .ctip-seg button { padding: 8px 12px; font-size: 14px; }
  .ctip-acts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ctip-schedule li { grid-template-columns: 1fr; gap: 2px; }
  .ctip-build-steps li { grid-template-columns: 52px 1fr; }
  .ctip-build-n { font-size: 28px; }
  .ctip-facts div { padding: 2px 14px; }
  .ctip-facts dt { font-size: 24px; }
  .ctip-facts dd { font-size: 13px; }
  .ctip-person { text-align: center; }
}

/* uploaded photos (the page's "Page photos" form): fill the spot, cropped; overlays keep titles over a photo readable */
.ctip-ph.has-photo { background: #d9dde3; }
.ctip-ph.has-photo::after { display: none; }
.ctip-ph .ctip-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.ctip-banner .has-photo::after, .ctip-island .has-photo::after { content: ""; display: block; position: absolute; inset: 0; background: none; }
.ctip-banner .has-photo::after { background: linear-gradient(to top, rgba(5,15,35,.55) 0%, rgba(5,15,35,.15) 45%, transparent 70%); }
.ctip-island .has-photo::after { background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, transparent 40%); }

/* hero photo: shown whole (its own proportions, no crop) and fading in from white at the top so it flows out of
   the page; from 1024px the hero text sits on the faded sky, below that the photo slides up under the text */
.ctip-hero { display: grid; grid-template-columns: 100%; }
.ctip-hero-text { position: relative; z-index: 2; }
.ctip-hero-media { position: relative; z-index: 1; }
.ctip-ph--hero.has-photo { display: block; aspect-ratio: auto; }
.ctip-ph--hero.has-photo .ctip-photo { position: static; height: auto; }
.ctip-ph--hero::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: var(--ctip-fade, 45%); pointer-events: none;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.6) 60%, rgba(255,255,255,0) 100%); }
@media (min-width: 1024px) {
  .ctip-hero { padding-top: 0; }
  .ctip-hero > .ctip-hero-text, .ctip-hero > .ctip-hero-media { grid-area: 1 / 1; }
  .ctip-hero-text { align-self: start; padding-top: 88px; }
  .ctip-hero-cta { margin-bottom: 0; }
  .ctip-ph--hero { --ctip-fade: min(100%, 640px); }
}
@media (max-width: 1023px) {
  .ctip-hero-cta { margin-bottom: 0; }
  .ctip-hero-media { margin-top: -24px; }
  .ctip-ph--hero { --ctip-fade: 55%; }
}
