/* Inner pages of the concepts (Team, Explore, Services, Contact, Resources, Forms). One structure for all five concepts;
   each concept changes the look with these variables (set on body.cN) plus its own extras in cN.css. */
body { --x-bg: #fff; --x-bg2: #e9f6fb; --x-ink: #1c2529; --x-muted: #55656c; --x-accent: #008ACD; --x-accent2: #52B74E;
  --x-hero-bg: #008ACD; --x-hero-ink: #fff; --x-kicker: #008acd; --x-hero-kicker: #52B74E;
  --x-card: #fff; --x-border: 3px solid #000; --x-radius: 22px; --x-shadow: 0 6px 0 #000; --x-frame-radius: 22px;
  --x-head-font: var(--f-head); --x-gap: 72px; }
.cx-inner { background: var(--x-bg); color: var(--x-ink); font-size: 17px; }
.cx-inner .in { max-width: 1180px; }
.cx-inner h1 { font-family: var(--x-head-font); font-size: clamp(36px, 5.2vw, 60px); }
.cx-inner h2 { font-family: var(--x-head-font); font-size: clamp(28px, 3.6vw, 42px); }
.cx-inner h3 { font-size: 20px; }
.cx-kicker { font-size: clamp(22px, 2.4vw, 30px); color: var(--x-kicker); margin: 0 0 4px; }
.cx-lede { font-size: 19px; color: var(--x-muted); max-width: 680px; }
.cx-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.cx-hero { background: var(--x-hero-bg); color: var(--x-hero-ink); padding: 56px 0 62px; }
.cx-hero h1 { color: var(--x-hero-ink); } .cx-hero .cx-lede { color: inherit; opacity: .92; } .cx-hero .cx-kicker { color: var(--x-hero-kicker); }
.cx-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cx-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cx-chips a { background: #fff; color: #000; text-decoration: none; font: 800 14px/1 var(--f-head); padding: 9px 14px; border-radius: 999px; border: 2px solid #000; transition: background-color .2s, translate .2s; }
.cx-chips a:hover { background: var(--x-accent2); translate: 0 -1px; }

.cx-sec { padding: var(--x-gap) 0; }
.cx-sec.alt { background: var(--x-bg2); }
.cx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.cx-split.top { align-items: start; }
.cx-split.flip > :first-child { order: 2; }
.cx-prose p, .cx-prose li { color: #34444a; line-height: 1.65; }
.cx-prose ul { padding-left: 20px; } .cx-prose a { color: var(--x-accent); font-weight: 700; }

.cx-frame { border: var(--x-border); border-radius: var(--x-frame-radius); overflow: hidden; box-shadow: var(--x-shadow); background: #fff; aspect-ratio: 4 / 3; }
.cx-frame img, .cx-frame iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.cx-frame.wide { aspect-ratio: 16 / 9; } .cx-frame.tall { aspect-ratio: 4 / 5; }
.cx-frame.whole { aspect-ratio: auto; } .cx-frame.whole img { height: auto; object-fit: contain; }

.cx-card { background: var(--x-card); border: var(--x-border); border-radius: var(--x-radius); padding: 22px; box-shadow: var(--x-shadow); margin-top: 18px; }
a.cx-card { display: block; text-decoration: none; color: inherit; transition: translate .2s, box-shadow .2s; }
a.cx-card:hover { translate: 0 -3px; }
.cx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.cx-grid .cx-card { margin-top: 0; }
.cx-grid .cx-card p { color: var(--x-muted); margin: 0; }
.cx-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--x-accent2); border: 3px solid #000; display: grid; place-items: center; margin-bottom: 12px; }
.cx-ico svg { width: 28px; height: 28px; stroke: #000; stroke-width: 2.2; }
.cx-chooser { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.cx-empty { grid-column: 1 / -1; color: var(--x-muted); }

.cx-steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.cx-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 62px; background: var(--x-card); border: var(--x-border); border-radius: 16px; }
.cx-steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; background: var(--x-accent); color: #fff; display: grid; place-items: center; font: 800 16px/1 var(--f-head); }
.cx-steps-card p strong { font-size: 18px; color: var(--x-ink); }

.cx-faq details, details.cx-legal { background: var(--x-card); border: var(--x-border); border-radius: 16px; padding: 0 20px; margin: 10px 0; }
.cx-faq summary, details.cx-legal summary { cursor: pointer; font: 800 18px/1.3 var(--f-head); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.cx-faq summary::-webkit-details-marker, details.cx-legal summary::-webkit-details-marker { display: none; }
.cx-faq summary::after, details.cx-legal summary::after { content: "+"; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--x-accent2); border: 2px solid #000; display: grid; place-items: center; }
.cx-faq details[open] summary::after, details.cx-legal[open] summary::after { content: "–"; }
.cx-faq details[open], details.cx-legal[open] { padding-bottom: 12px; }
.cx-faq details p { color: #34444a; line-height: 1.6; }

/* team */
.cx-docs ul.h-dlist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.cx-docs .h-dlist li { background: var(--x-card); border: var(--x-border); border-radius: var(--x-radius); overflow: hidden; text-align: center; box-shadow: var(--x-shadow); transition: translate .2s; }
.cx-docs .h-dlist li:hover { translate: 0 -3px; }
.cx-docs .h-dlist a { display: block; padding: 18px 12px 0; background: var(--x-bg2); }
.cx-docs .h-dlist img { width: 180px; height: 190px; object-fit: contain; object-position: 50% 100%; display: block; margin: 0 auto; }
.cx-docs .h-bar { display: block; height: 8px; margin: 0 -12px; }
.cx-docs .purple .h-bar { background: var(--b-purple); } .cx-docs .green .h-bar { background: var(--b-green); } .cx-docs .blue .h-bar { background: #008acd; } .cx-docs .orange .h-bar { background: var(--b-orange); }
.cx-docs .h-name { display: block; font: 800 18px/1.2 var(--f-head); padding: 12px 10px 2px; background: var(--x-card); margin: 0 -12px; }
.cx-docs .h-role { display: block; font-size: 13.5px; color: var(--x-muted); padding: 0 10px 16px; }
.cx-bios .d-bio { padding: 56px 0; border-top: 1px solid rgba(0,0,0,.08); }
.cx-bios .d-bio:nth-child(even) { background: var(--x-bg2); }
.cx-bios .d-bio .w { display: grid !important; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.cx-bios .d-bio h2 { grid-column: 1 / -1; font: 400 44px/1.1 var(--f-script) !important; margin: 0 !important; color: var(--x-ink) !important; }
.cx-bios .d-bio img { width: 100% !important; border: var(--x-border); border-radius: var(--x-frame-radius); box-shadow: var(--x-shadow); background: #fff; }
.cx-team ul.d-team-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px; margin-top: 26px; }
.cx-team li { text-align: center; }
.cx-team img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 4px solid #000; box-shadow: 0 5px 0 #000; display: block; margin: 0 auto; }
.cx-team .d-name { display: block; font: 800 18px/1.2 var(--f-head); margin-top: 12px; } .cx-team .d-role { font-size: 14px; color: var(--x-muted); }
.cx-tour { margin-top: 22px; }
.cx-track .cx-shot { margin: 0; width: min(360px, 78vw); aspect-ratio: 4 / 3; border: var(--x-border); border-radius: 18px; overflow: hidden; box-shadow: var(--x-shadow); background: #fff; }
.cx-track .cx-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-arrows { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

/* science gallery */
.cx-gals { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 30px; }
.cx-gal { background: var(--x-card); border: var(--x-border); border-radius: var(--x-radius); overflow: hidden; box-shadow: var(--x-shadow); }
.cx-gal-img { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; } /* whole photo, not a thin strip (Mom, Oct 25: "too closed in") */ .cx-gal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-gal-txt { padding: 16px 18px 6px; } .cx-gal-txt p { font-size: 15px; color: #34444a; line-height: 1.55; }

/* contact */
.cx-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.cx-offices { display: grid; gap: 18px; }
.cx-office { background: var(--x-card); border: var(--x-border); border-radius: var(--x-radius); padding: 22px; box-shadow: var(--x-shadow); }
.cx-office h3 { font-size: 24px; } .cx-office p { margin: 6px 0; } .cx-office a { color: var(--x-accent); font-weight: 700; }
.cx-hours { color: var(--x-muted); font-size: 15px; }
.cx-map { width: 100%; min-height: 420px; border: var(--x-border); border-radius: var(--x-radius); box-shadow: var(--x-shadow); }
.cx-social { list-style: none; padding: 0; display: flex; gap: 14px; }
.cx-social a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--x-accent2); border: 3px solid #000; }
.cx-social svg { width: 26px; height: 26px; fill: #000; }

/* resources & forms */
.cx-charts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 22px; }
.cx-chart { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; background: var(--x-card); border: var(--x-border); border-radius: 18px; padding: 12px; box-shadow: var(--x-shadow); transition: translate .2s; }
.cx-chart:hover { translate: 0 -3px; }
.cx-chart img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f4f7f8; border-radius: 10px; }
.cx-chart b { font: 800 17px/1.2 var(--f-head); margin-top: 6px; } .cx-chart span { font-size: 14px; color: var(--x-muted); }
.cx-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin-top: 22px; }
.cx-logo-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; text-decoration: none; color: inherit; background: #fff; border: var(--x-border); border-radius: 18px; padding: 18px; min-height: 170px; transition: translate .2s; }
.cx-logo-card:hover { translate: 0 -3px; }
.cx-logo-card img { max-height: 90px; width: auto; object-fit: contain; }
.cx-logo-card span { font: 700 14px/1.3 var(--f-head); }
.cx-forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cx-form { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-decoration: none; color: inherit; background: var(--x-card); border: var(--x-border); border-radius: 18px; padding: 16px 18px; box-shadow: var(--x-shadow); transition: translate .2s; }
.cx-form:hover { translate: 0 -3px; }
.cx-form .cx-ico { grid-row: span 2; margin: 0; } .cx-form b { font: 800 18px/1.2 var(--f-head); } .cx-form span { color: var(--x-muted); font-size: 14.5px; }

.cx-cta { background: var(--x-accent); color: #fff; padding: 56px 0; text-align: center; }
.cx-cta h2 { color: #fff; } .cx-cta .cx-btns { justify-content: center; }

@media (max-width: 900px) {
  .cx-hero-grid, .cx-split, .cx-contact { grid-template-columns: 1fr; gap: 30px; }
  .cx-split.flip > :first-child { order: 0; }
  .cx-grid, .cx-docs ul.h-dlist { grid-template-columns: 1fr 1fr; }
  .cx-charts { grid-template-columns: 1fr 1fr; }
  .cx-forms { grid-template-columns: 1fr; }
  .cx-bios .d-bio .w { grid-template-columns: 1fr; }
  :root { --x-gap: 48px; }
  .cx-sec { padding: 48px 0; }
}
@media (max-width: 560px) { .cx-grid, .cx-docs ul.h-dlist { grid-template-columns: 1fr; } }
.cx-social svg:not([data-color]), .cx-social svg:not([data-color]) > :not(mask) { fill: #000 !important; } /* data-color = the real brand-color icons (Mom, Oct 22) */
.cx-form > .cx-ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--x-accent2); border: 3px solid #000; color: #000; }
.cx-form > .cx-ic svg { width: 26px; height: 26px; }
.cx-frame.top img { object-position: 50% 0; }
