@charset "UTF-8";
/* Info Science AI site styles. Brand: sky-blue bar, deep blue accents, Fjalla One display headings. */
:root {
  --sky: #a5d2e6;        /* brand Light Blue */
  --sky-light: #cfe6f1;
  --blue: #175cb5;       /* brand Dark Blue */
  --blue-dark: #0f3f80;
  --ink: #1c1c1e;
  --muted: #5f6368;
  --line: #e3e5e8;
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --gold: #997136;       /* brand Dark Gold */
  --grey: #a0a0a0;       /* brand Grey */
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --wide: 72rem;
  --narrow: 46rem;
  --font-body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fjalla One", "Arial Narrow", Impact, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 400; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: var(--narrow); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h1, .section-head h2 { margin-bottom: .75rem; }
.section-head h2::after, .section-head h1::after { content: ""; display: block; width: 48px; height: 1px; background: var(--grey); margin: 1.1rem auto 0; }
.section-head p { color: var(--muted); max-width: 40rem; margin: 1rem auto 0; font-size: 1.1rem; }
.btn { display: inline-block; background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); padding: .8rem 2rem; font-family: var(--font-body); font-weight: 700; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); text-decoration: none; }
.btn-outline { background: transparent; }

/* ---------- header ---------- */
html { scroll-padding-top: 72px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--sky); box-shadow: 0 1px 0 rgba(23, 92, 181, .18); transition: box-shadow .15s ease; }
.site-header.is-compact { box-shadow: 0 2px 10px rgba(15, 42, 74, .18); }
.site-header .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; min-height: 88px; transition: min-height .15s ease; }
.site-header.is-compact .wrap { min-height: 60px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; height: 52px; width: auto; transition: height .15s ease; }
.site-header.is-compact .brand img { height: 34px; }
.site-nav { display: flex; align-items: stretch; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.site-nav li { display: flex; }
.site-nav a { display: flex; align-items: center; padding: 0 .8rem; color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; }
.nav-burger { display: none; }
@media (max-width: 1023px) {
  .site-header .wrap { flex-wrap: wrap; min-height: 72px; }
  .site-header.is-compact .wrap { min-height: 56px; }
  .brand img { height: 44px; }
  .site-header.is-compact .brand img { height: 32px; }
  .site-nav { flex-wrap: wrap; align-items: center; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 .25rem; cursor: pointer; }
  .nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .site-nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(15, 42, 74, .12); }
  .site-nav a { padding: .85rem 1.5rem; border-bottom: 0; border-top: 0; border-left: 3px solid transparent; }
  .site-nav a[aria-current="page"] { border-left-color: var(--blue); }
  .nav-toggle:checked ~ ul { display: flex; }
}

/* ---------- hero ---------- */
.hero { background-size: cover; background-position: center; position: relative; color: #fff; }
.hero-home { min-height: clamp(320px, 42vw, 480px); display: grid; place-items: center; text-align: center; padding: 3rem 1.5rem; }
.hero-box { display: inline-block; background: rgba(165, 210, 230, .9); color: var(--ink); padding: 2rem 2.5rem 1.75rem; margin: 0; max-width: 46rem; }
.hero-box h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0; }
.hero-tag { margin: .9rem 0 0; font-size: 1.05rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #1c3d5e; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }

/* ---------- lead: the narrow thing ---------- */
.lead { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.lead-text { max-width: 66rem; }
.lead-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 1.25rem; }
.lead-text p { font-size: 1.08rem; color: #3b3f45; line-height: 1.75; margin: 0 0 1.1rem; }
.lead-text .lead-cta { margin: 1.5rem 0 0; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); letter-spacing: .06em; text-transform: none; font-size: 1rem; padding: .8rem 1.4rem; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.lead-points { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) { .lead-points { grid-template-columns: 1fr; gap: 1rem; } }
.lead-points li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.lead-points h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .3rem; }
.lead-points p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- endorsement ---------- */
.endorsement { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.endorsement blockquote { margin: .5rem 0 1.25rem; padding: 0 0 0 1.25rem; border-left: 4px solid var(--blue); }
.endorsement blockquote p { font-size: 1.25rem; line-height: 1.5; color: var(--ink); margin: 0 0 1rem; }
.endorsement footer { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.endorsement footer strong { color: var(--ink); font-size: 1.05rem; }
.endorse-context { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- reward hacking band ---------- */
.rewardhack { background: #0f2a4a; color: #eaf2fb; padding: 4rem 0 3.5rem; }
.rewardhack .eyebrow-light { color: var(--sky); }
.rewardhack h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: none; margin-bottom: 1rem; }
.rewardhack .rh-text { font-size: 1.08rem; color: #d7e3f2; max-width: none; margin-bottom: 2rem; }
.rh-points { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .rh-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rh-points { grid-template-columns: 1fr; } }
.rh-points li { border-left: 3px solid var(--sky); padding: .2rem 0 .2rem 1rem; }
.rh-points h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 .35rem; }
.rh-points p { margin: 0; color: #c5d5e8; font-size: .95rem; }
.btn-gold { background: var(--sky); color: var(--ink); border-color: var(--sky); text-transform: none; letter-spacing: .06em; font-size: 1rem; padding: .8rem 1.4rem; }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero-dark { min-height: clamp(280px, 30vw, 340px); display: grid; place-items: center; text-align: center; padding: 3rem 1.5rem; }
.hero-dark::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero-dark .wrap { position: relative; }
.hero-mark { display: block; font-size: 2.5rem; line-height: 1; margin-bottom: .5rem; opacity: .8; }
.hero-dark h1 { color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.hero-dark h1::after { content: ""; display: block; width: 48px; height: 1px; background: rgba(255,255,255,.7); margin: 1.1rem auto 1.1rem; }
.hero-sub { font-weight: 600; font-size: 1.15rem; margin: 0; }

/* ---------- home sections ---------- */
.services { padding: 2rem 0 3.5rem; }
.services .section-head { background: var(--bg-alt); margin: 0 calc(50% - 50vw) 3rem; padding: 3.5rem 1.5rem; }
.services .section-head .firm-note { max-width: 58rem; margin: 1rem auto 0; color: #3b3f45; font-size: 1.1rem; line-height: 1.75; }
.services .section-head .services-sub { max-width: 58rem; padding-top: 1.5rem; margin: 1.5rem auto 0; border-top: 1px solid #c9ccd1; color: var(--ink); }
.services .section-head .services-sub strong { font-weight: 700; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
@media (max-width: 860px) { .cols-3 { grid-template-columns: 1fr; gap: 2.5rem; } }
.service h3 { font-size: 1.4rem; margin-bottom: .9rem; }
.service p { color: var(--muted); margin-bottom: .5rem; }
.service ul { margin: 0; padding-left: 1.4rem; color: var(--muted); }
.service li { margin-bottom: .25rem; }
.approach { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); max-width: calc(var(--wide) - 3rem); margin: 3.5rem auto 1rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.approach-text { padding: 2.5rem 2.75rem; }
.approach-text h2 { margin-bottom: 1rem; }
.approach-text .sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; }
.steps li { margin-bottom: 1.5rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }
.approach-image { background-size: cover; background-position: center; min-height: 280px; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; margin: 2rem 1.5rem 1rem; max-width: none; } .approach-image { order: -1; min-height: 220px; } }
.cta { padding: 4rem 0; text-align: center; }
.cta h2 { margin-bottom: 2rem; }
.book-section { text-align: left; padding: 3.5rem 0 4rem; }
.book-card { max-width: 1100px; margin: 0 auto; background: linear-gradient(180deg, #ffffff, #f3f7ff 70%); border: 1px solid #e5ecf5; border-left: 4px solid var(--blue); border-radius: 18px; padding: clamp(18px, 2.2vw, 26px); box-shadow: 0 10px 30px rgba(23,92,181,.08); }
.book-card .eyebrow { color: #124a92; }
.book-card h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 700; color: #0e1a34; margin: .2rem 0 .5rem; }
.book-card .book-intro { color: var(--muted); margin: 0 0 .5rem; }
.book-card .contact-form { max-width: none; margin-top: .75rem; }
.book-card .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .book-card .two-up { grid-template-columns: 1fr; } }
.book-card .field { margin-bottom: .9rem; }
.book-card .field label { font-size: .88rem; }
.book-card .field input, .book-card .field select, .book-card .field textarea { padding: .75rem .9rem; border: 1px solid #cfd8e6; border-radius: 10px; font: inherit; width: 100%; background: #fff; color: var(--ink); }
.book-card .btn { display: inline-block; margin: .25rem 0 .75rem; background: var(--blue); color: #fff; border-color: var(--blue); text-transform: none; letter-spacing: .02em; font-size: .95rem; border-radius: 12px; padding: .75rem 1.2rem; }
.book-card .btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.book-card .form-status { text-align: left; }
.book-card .form-note { text-align: left; }

/* ---------- forms ---------- */
.contact-form { text-align: left; max-width: 46rem; margin: 0 auto; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .3rem; }
.field input, .field textarea { width: 100%; font: inherit; padding: .85rem 1rem; border: 1px solid #cfd3d8; border-radius: 4px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: var(--blue); }
.contact-form .btn { display: block; margin: 1.5rem auto 1rem; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { text-align: center; margin: 0 0 .75rem; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #0c6647; }
.form-status.err { color: #a12525; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }

/* ---------- team ---------- */
.team { padding: 4rem 0; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-bottom: 1.25rem; }
.member h3 { font-size: 1.4rem; margin-bottom: .9rem; }
.member p { color: var(--muted); margin-bottom: .75rem; }
/* bio expander: button sits below the extra paragraphs and flips its label */
.member .bio-rest p { margin: 0 0 .75rem; }
.member .bio-toggle { background: none; border: 0; padding: 0; margin: .1rem 0 0; font: inherit; font-size: .95rem; font-weight: 600; color: var(--blue); cursor: pointer; }
.member .bio-toggle::before { content: "+ "; }
.member .bio-toggle[aria-expanded="true"]::before { content: "− "; }
.member .bio-toggle:hover { text-decoration: underline; }

/* ---------- contact page ---------- */
.contact-page { padding: 4rem 0 3rem; }
.founded { text-align: center; color: var(--muted); margin-top: 2.5rem; }
.connect { background: var(--bg-alt); padding: 3.5rem 0; text-align: center; }
.connect h2 { color: var(--grey); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.connect h2::after { content: ""; display: block; width: 48px; height: 1px; background: var(--grey); margin: 1.2rem auto 1.5rem; }
.social { display: flex; gap: 1rem; align-items: center; }
.social-lg { justify-content: center; gap: 2.5rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; }
.social-lg a { width: 48px; height: 48px; }
.social-linkedin { background: #0a66c2; }
.social-youtube { background: #ff0000; }
.social a:hover { filter: brightness(1.12); }

/* ---------- articles (card system ported from the podcast site) ---------- */
.articles-index .section-head { text-align: left; max-width: none; margin: 0 0 2rem; }
.articles-index .section-head h1::after { display: none; }
.articles-index .page-intro { font-size: 1.1rem; margin: .5rem 0 0; max-width: 68ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 14px 32px rgba(0,0,0,.10); }
.card-thumb { display: block; aspect-ratio: 16 / 9; background: var(--bg-alt); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body .meta { margin: 0; color: var(--muted); font-size: .88rem; }
.card-body h3 { font-size: 1.12rem; line-height: 1.35; margin: 0; font-weight: 600; }
.card-body h3 a { color: var(--blue); }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card-body p.dek { font-weight: 700; color: #3b3f45; }
.card-body .more { margin-top: auto; padding-top: .5rem; font-size: .9rem; font-weight: 600; }
.card.featured { grid-column: 1 / -1; flex-direction: row; }
.card.featured .card-thumb { flex: 0 0 52%; aspect-ratio: auto; min-height: 280px; }
.card.featured .card-body { padding: 2rem; justify-content: center; }
.card.featured h3 { font-size: 1.6rem; }
.card.featured p { font-size: 1.02rem; }
@media (max-width: 760px) {
  .card.featured { flex-direction: column; }
  .card.featured .card-thumb { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .card.featured .card-body { padding: 1.25rem; }
  .card.featured h3 { font-size: 1.3rem; }
}
.meta .sep::before { content: "\00b7"; margin: 0 .45rem; }
.article-head { margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.2; margin: .25rem 0 .75rem; letter-spacing: -.01em; color: var(--blue); font-weight: 600; }
.dek { font-size: 1.15rem; color: #3b3f45; margin: 0 0 .75rem; font-weight: 700; }
.article .meta { color: var(--muted); font-size: .9rem; margin: 0; }
.article .prose { font-size: 1.08rem; line-height: 1.75; }
.article .prose h2 { font-size: 1.55rem; margin: 2.25rem 0 .75rem; padding-top: .25rem; letter-spacing: -.005em; }
.article .prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.article .prose p { margin: 0 0 1.35rem; }
.article .prose strong { color: var(--ink); }
.article .prose blockquote { margin: 2.25rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 5px solid var(--blue); }
.article .prose blockquote p { font-size: 1.55rem; line-height: 1.3; font-weight: 700; color: var(--blue); margin: 0; letter-spacing: -.01em; }
.article-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.article-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 1rem; }
.pager { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.pager a { flex: 1 1 240px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; background: #fff; color: var(--ink); }
.pager a:hover { text-decoration: none; border-color: var(--blue); }
.pager .label { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.pager .next { text-align: right; }

.article-cover { margin: 0 0 2.25rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { display: block; width: 100%; height: auto; }
.home-articles { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-title h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.section-title a { font-weight: 600; white-space: nowrap; }

/* ---------- generic page / prose ---------- */
.page { padding: 4rem 0; }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.4rem; }
.custom-page { padding: clamp(1.5rem, 4vw, 3rem) 1.5rem; }

/* ---------- partners + footer ---------- */
.partners { background: var(--bg-alt); padding: 3.5rem 0; text-align: center; }
.partners h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 2rem; }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; }
.partner-logos img { height: 100px; width: auto; display: block; }
.partner-logos .wide img { height: auto; width: 320px; max-width: 80vw; }
.site-footer { padding: 3rem 0 2.5rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.copyright { color: var(--muted); font-size: .95rem; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 1.5rem; }
.footer-nav a { color: var(--ink); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
