/* ============================================
   Second Brain Talent — Design Tokens
   ============================================ */

:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --band: #F0EFEA;
  --grey-band: #E6E6E2;
  --charcoal: #4A4A47;
  --steel: #6B6B67;
  --orange: #E8560C;
  --line: #DEDCD3;
  --white: #FFFFFF;

  --font-display: 'Poppins', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  --radius: 2px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  max-width: 62ch;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  padding: 1.5rem var(--gutter);
  background: var(--paper);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  justify-self: start;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  grid-column: 2;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-header__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .brand-mark {
    justify-self: auto;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    order: 3;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    text-align: center;
  }
  .nav-toggle {
    display: block;
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--orange);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.hero .btn {
  margin-top: 1.5rem;
}

.hero__mark {
  justify-self: center;
  width: min(100%, 420px);
}

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__mark {
    order: -1;
    width: min(60%, 260px);
  }
}

/* ============================================
   Sections & bands
   ============================================ */

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--band {
  background: var(--band);
}

.section--band.section--compact {
  padding: clamp(1.8rem, 5vw, 3.4rem) 0;
}

.section--grey {
  background: var(--grey-band);
}

.section--grey.section--tight-top {
  padding-top: 1rem;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--paper);
}

.section--dark .brand-mark-lg svg,
.section--dark .brand-mark-lg img {
  filter: invert(1);
}

.eyebrow-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-align: center;
  max-width: 46ch;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.page-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 2.5rem;
}

/* ============================================
   Stat row
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--ink);
  line-height: 1;
}

.stat__label {
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.5rem;
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   Trusted-by / testimonial
   ============================================ */

.trusted-logos {
  display: flex;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.trusted__logo {
  max-width: 190px;
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

#clients-lab {
  padding-bottom: 1rem;
}

.testimonial {
  border-left: 3px solid var(--orange);
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink);
  max-width: 55ch;
  margin: 0 auto;
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--steel);
}

@media (max-width: 760px) {
  .trusted {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ============================================
   Bio / about layout
   ============================================ */

.bio {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.bio__photo img {
  width: 100%;
  filter: grayscale(1);
  border-radius: var(--radius);
}

.bio__copy h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.bio__copy p {
  margin-bottom: 1.1rem;
  max-width: 68ch;
}

@media (max-width: 780px) {
  .bio {
    grid-template-columns: 1fr;
  }
  .bio__photo {
    max-width: 280px;
  }
}

/* ============================================
   Value grid (Client Lab / Talent Lab)
   ============================================ */

.value-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.value-item {
  margin-bottom: 1.75rem;
}

.value-item__title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.value-layout__mark {
  justify-self: center;
  width: min(100%, 320px);
  position: sticky;
  top: 2rem;
}

@media (max-width: 860px) {
  .value-layout {
    grid-template-columns: 1fr;
  }
  .value-layout__mark {
    order: -1;
    width: min(50%, 220px);
    position: static;
    margin: 0 auto 1rem;
  }
}

/* ============================================
   CTA band
   ============================================ */

.cta-band {
  background: var(--grey-band);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h3 {
  font-size: 1.4rem;
}

/* ============================================
   Outcomes / How it works (dark bands)
   ============================================ */

.dark-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.dark-feature__mark {
  width: 160px;
}

.dark-feature h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.dark-feature ol,
.dark-feature ul {
  list-style: none;
}

.dark-feature li {
  margin-bottom: 0.6rem;
  padding-left: 1.6rem;
  position: relative;
}

.dark-feature li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--orange);
}

.dark-feature ol {
  counter-reset: step;
}

.dark-feature--grey {
  background: var(--grey-band);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
}

.dark-feature--grey h2 {
  color: var(--ink);
}

.dark-feature--grey li {
  color: var(--charcoal);
}

@media (max-width: 760px) {
  .dark-feature {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .dark-feature__mark {
    width: 110px;
  }
}

/* ============================================
   Mentorship / who-we're-looking-for lists
   ============================================ */

.info-block {
  margin-bottom: 2rem;
}

.info-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.info-block ul {
  list-style: none;
}

.info-block li {
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
  position: relative;
}

.info-block li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ============================================
   Jobs listing
   ============================================ */

.job-list {
  display: grid;
  gap: 1.25rem;
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.job-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.job-card__meta {
  font-size: 0.9rem;
  color: var(--steel);
}

.job-card__meta span:not(:last-child)::after {
  content: '·';
  margin: 0 0.5rem;
}

.job-card .btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.jobs-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--steel);
}

/* ============================================
   Insights / blog listing
   ============================================ */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.insight-card__image {
  aspect-ratio: 16 / 10;
  background: var(--band);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card__image img {
  width: 60px;
  opacity: 0.35;
}

.insight-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card__date {
  font-size: 0.82rem;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.insight-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.insight-card__excerpt {
  font-size: 0.92rem;
  color: var(--charcoal);
  flex: 1;
}

.insight-card__link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
}

/* ============================================
   Contact
   ============================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.contact-layout h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-bottom: 0.35rem;
}

.contact-detail a {
  color: var(--ink);
  font-weight: 500;
}

.contact-layout__mark {
  width: 200px;
  justify-self: center;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 2.5rem;
}

.contact-social a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .contact-layout,
  .contact-layout__mark {
    grid-template-columns: 1fr;
    justify-self: start;
  }
  .contact-social {
    align-items: flex-start;
  }
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  padding: 2rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--steel);
}

.site-footer a {
  color: var(--orange);
  font-weight: 600;
}

/* ============================================
   Blog post / article page
   ============================================ */

.post__wrap {
  max-width: 760px;
}

.post__back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

.post__back:hover {
  color: var(--orange);
}

.post__meta {
  font-size: 0.85rem;
  color: var(--steel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.post__intro {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2.5rem;
  max-width: 62ch;
}

.post__body h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post__body h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post__body p {
  margin-bottom: 1.1rem;
  max-width: 68ch;
}

.post__body ul,
.post__body ol {
  margin: 0 0 1.4rem 0;
  padding-left: 1.4rem;
}

.post__body li {
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.post__body ol {
  list-style: none;
  padding-left: 0;
  counter-reset: postnum;
}

.post__body ol li {
  position: relative;
  padding-left: 2.1rem;
  counter-increment: postnum;
}

.post__body ol li::before {
  content: counter(postnum);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
  font-family: var(--font-display);
}

.post__body strong {
  color: var(--ink);
}

.post__table-wrap {
  overflow-x: auto;
  margin-bottom: 1.75rem;
}

.post__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.post__body th,
.post__body td {
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  vertical-align: top;
}

.post__body th {
  background: var(--grey-band);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.post__cta {
  margin-top: 3rem;
}

.post__cta h3 {
  margin-bottom: 0.4rem;
}

.post__cta p {
  color: var(--charcoal);
  margin-bottom: 0;
}

/* Byline / posted date */
.post__byline {
  font-size: 0.9rem;
  color: var(--steel);
  margin: -1.5rem 0 2.25rem;
}

.post__byline a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.post__byline a:hover {
  color: var(--orange);
}
