/* Biome Talent website. Brand: navy #013e53, teal #048c7f, yellow #fbd103. */
:root {
  --brand-primary: #013e53;
  --brand-secondary: #048c7f;
  --brand-accent: #fbd103;
  --brand-background-100: #e8f4f3;
  --brand-background-200: #c5e2de;
  --brand-background-300: #abd9d7;
  --ink: #16303a;
  --muted: #4c6570;
  --line: #d7e5e3;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 0 rgba(1, 62, 83, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Public Sans", sans-serif;
  color: var(--brand-primary);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-secondary); }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section.tinted { background: var(--brand-background-100); }
.eyebrow {
  display: inline-block;
  background: var(--brand-secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 720px; }

.label {
  display: inline-block;
  color: var(--brand-secondary);
  font-family: "Space Grotesk", "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.label::before {
  content: "";
  display: inline-block;
  width: 24px; height: 4px;
  background: var(--brand-accent);
  margin-right: 10px;
  vertical-align: middle;
}
.card .num {
  display: block;
  color: var(--brand-secondary);
  font-family: "Space Grotesk", "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}


/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; max-width: 1120px; margin: 0 auto;
}
.logo img { height: 46px; width: auto; display: block; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--brand-primary); text-decoration: none; font-weight: 600;
}
.main-nav a:hover, .main-nav a.active { background: var(--brand-background-100); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--white);
  border-radius: 8px; padding: 8px 12px; font-size: 1rem; cursor: pointer;
  color: var(--brand-primary);
}

/* hero */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 3rem; }
.hero-art img { width: 100%; border-radius: 20px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 700; text-decoration: none; cursor: pointer; border: none;
  font-family: "Public Sans", sans-serif; font-size: 1rem;
}
.btn-primary { background: var(--brand-primary); color: var(--white); }
.btn-primary:hover { background: #025a75; }
.btn-accent { background: var(--brand-accent); color: var(--brand-primary); }
.btn-accent:hover { filter: brightness(0.96); }
.btn-outline {
  background: var(--white); color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.btn + .btn { margin-left: 12px; }

/* video panel */
.video-panel {
  background: var(--brand-primary); color: var(--white);
  border-radius: 20px; padding: 32px; margin-top: 40px;
}
.video-panel h2, .video-panel h3 { color: var(--white); }
.video-panel p { color: #d5e7e5; }
.video-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: none; cursor: pointer; padding: 0;
  font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; font-weight: 600;
  color: var(--white);
}
.play-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-accent); color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex: none;
}
.transcript {
  margin-top: 20px; padding: 20px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.transcript[hidden] { display: none; }
.transcript p { color: #eaf4f3; margin-bottom: 0.6em; }

/* cards */
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card.clickable:hover, .card.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-secondary);
  box-shadow: 0 8px 0 rgba(1, 62, 83, 0.12);
}
.card.clickable { cursor: pointer; }
.card.problem-card.selected:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 2px var(--brand-accent), 0 8px 0 rgba(1, 62, 83, 0.12);
}
.card .icon { width: 56px; height: 56px; margin-bottom: 16px; }
.card .icon img { width: 100%; height: 100%; object-fit: contain; }
.card h3 { margin-bottom: 8px; }
.card h3 .hl { background: transparent; color: var(--brand-primary); padding: 0; box-decoration-break: unset; -webkit-box-decoration-break: unset; }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 700; color: var(--brand-primary); text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.card.problem-card { cursor: pointer; }
.card.problem-card.selected {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 2px var(--brand-accent), var(--shadow);
  background: #fffdf0;
}

/* problem detail panel */
.problem-detail { margin-top: 32px; }
.problem-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.problem-panel[hidden] { display: none; }
.problem-panel h3 { font-size: 1.6rem; }
.problem-panel h4 {
  font-size: 1.1rem; margin: 24px 0 8px; color: var(--brand-primary);
}
.problem-panel ul { margin: 0 0 1em; padding-left: 20px; }
.problem-panel ul li { margin-bottom: 6px; }
.problem-panel .eyebrow { font-size: 0.85rem; }
.problem-panel .btn { margin-right: 12px; }
.problem-panel .panel-top { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
.problem-panel .panel-side {
  background: var(--brand-background-100);
  border-radius: 12px; padding: 24px;
}
.problem-panel .panel-side h4 { margin-top: 0; }
.problem-panel .panel-side ul { margin: 0 0 1em; padding-left: 20px; }
.problem-panel .panel-side ul li { margin-bottom: 6px; }
.problem-panel .panel-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px;
}
.problem-panel .panel-foot h4 { margin-top: 0; }
.problem-panel .panel-foot p { margin-bottom: 0; }
.problem-panel .panel-cta { flex: none; white-space: nowrap; }
.problem-panel .panel-cta .btn { margin-right: 12px; }
@media (max-width: 900px) {
  .problem-panel .panel-top { grid-template-columns: 1fr; }
  .problem-panel .panel-foot { flex-direction: column; align-items: flex-start; }
  .problem-panel .panel-cta { white-space: normal; }
}

/* lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 8px 0 8px 32px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* panels */
.panel {
  background: var(--brand-background-100);
  border-radius: 24px; padding: 40px;
}
.panel.navy { background: var(--brand-primary); color: var(--white); }
.panel.navy h2, .panel.navy h3 { color: var(--white); }
.panel.navy p { color: #d5e7e5; }
.cta-band { text-align: center; }
.cta-band p { max-width: 640px; margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; border-radius: 20px; }
.breadcrumb { font-size: 0.95rem; color: var(--muted); margin: 24px 0 8px; }
.breadcrumb a { color: var(--brand-secondary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.meta { color: var(--muted); }
.related a { font-weight: 600; }

/* forms */
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  font-family: "Public Sans", sans-serif; font-size: 1rem;
}
.form textarea { min-height: 140px; resize: vertical; }

/* footer */
.site-footer { background: var(--brand-primary); color: var(--white); margin-top: 64px; }
.site-footer a { color: var(--white); }
.footer-inner { padding: 48px 24px 24px; max-width: 1120px; margin: 0 auto; }
.footer-top { display: flex; gap: 48px; justify-content: space-between; flex-wrap: wrap; }
.footer-logo { background: var(--white); border-radius: 12px; padding: 10px 14px; display: inline-block; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; gap: 32px; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* footer social links */
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white); text-decoration: none;
}
.social-links a:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--white); }
.social-links svg { width: 20px; height: 20px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 32px; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.95rem; color: #cfe3e1;
}

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 24px; }
  .card-grid, .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.3rem; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .panel { padding: 24px; }
}
