/* PSBD design system. Tokens sampled from the logo (approximate). */
:root {
  --psbd-red: #C8141A;
  /* primary actions; 5.9:1 on white */
  --psbd-red-dark: #9E0F14;
  --psbd-slate: #7F9BB8;
  /* logo ring, decorative only */
  --psbd-ink: #2F4660;
  /* headings/text; 9:1 on white */
  --psbd-ink-soft: #4A5F78;
  /* secondary text; 6.5:1 on white */
  --psbd-mist: #EEF2F7;
  /* section background */
  --psbd-line: #D5DEE8;
  --psbd-white: #fff;
  --bs-body-font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --bs-body-color: var(--psbd-ink);
  --bs-body-bg: #fff;
  --bs-link-color: var(--psbd-red-dark);
  --bs-link-hover-color: var(--psbd-red);
  --bs-primary: var(--psbd-red);
  --bs-primary-rgb: 200, 20, 26;
  --radius: .75rem;
}

html {
  scroll-behavior: smooth
}

body {
  line-height: 1.65;
  font-size: 1.0625rem
}

h1,
h2,
h3,
h4 {
  color: var(--psbd-ink);
  font-weight: 700;
  line-height: 1.45
}

:focus-visible {
  outline: 3px solid var(--psbd-ink);
  outline-offset: 3px;
  border-radius: 4px
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--psbd-ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 2000;
  border-radius: 0 0 .5rem .5rem
}

.skip-link:focus {
  top: 0;
  color: #fff
}

.btn {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  padding-inline: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem
}

.btn-primary {
  --bs-btn-bg: var(--psbd-red);
  --bs-btn-border-color: var(--psbd-red);
  --bs-btn-hover-bg: var(--psbd-red-dark);
  --bs-btn-hover-border-color: var(--psbd-red-dark);
  --bs-btn-active-bg: var(--psbd-red-dark);
  --bs-btn-disabled-bg: #b88;
  --bs-btn-disabled-border-color: #b88
}

.btn-outline-ink {
  --bs-btn-color: var(--psbd-ink);
  --bs-btn-border-color: var(--psbd-ink);
  --bs-btn-hover-bg: var(--psbd-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--psbd-ink)
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--psbd-line);
  position: sticky;
  top: 0;
  z-index: 1030
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--psbd-ink)
}

.brand img {
  width: 56px;
  height: 56px
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-weight: 700
}

.site-header .nav-link {
  color: var(--psbd-ink);
  font-weight: 600;
  padding: .75rem .85rem
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--psbd-red-dark)
}

.site-header .nav-link.active {
  box-shadow: inset 0 -3px 0 var(--psbd-red)
}

.dropdown-menu {
  border-color: var(--psbd-line);
  border-radius: var(--radius)
}

.dropdown-item {
  padding: .55rem 1rem
}

.topbar {
  background: var(--psbd-ink);
  color: #fff;
  font-size: .9rem
}

.topbar a {
  color: #fff;
  text-decoration: none
}

.topbar a:hover {
  text-decoration: underline
}

/* Hero: the red/white figures from the logo pair as a quiet geometric motif */
.hero {
  background: var(--psbd-mist);
  position: relative;
  overflow: hidden;
  padding-block: 4.5rem
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -8rem;
  top: -6rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  border: 3rem solid var(--psbd-slate);
  opacity: .25
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 20ch
}

.hero p.lead {
  max-width: 48ch;
  color: var(--psbd-ink-soft)
}

.hero-logo {
  width: min(320px, 70%);
  filter: drop-shadow(0 10px 24px rgba(47, 70, 96, .18))
}

/* Sections and cards */
.section {
  padding-block: 4rem
}

.section-alt {
  background: var(--psbd-mist)
}

.section-title {
  margin-bottom: 2rem
}

.path-card {
  display: block;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--psbd-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--psbd-ink);
  border-inline-start: 6px solid var(--psbd-red)
}

.path-card:hover {
  background: #fff;
  border-color: var(--psbd-ink);
  color: var(--psbd-ink)
}

.path-card i {
  font-size: 1.6rem;
  color: var(--psbd-red)
}

.path-card h3 {
  font-size: 1.15rem;
  margin: .5rem 0 .25rem
}

.path-card p {
  margin: 0;
  color: var(--psbd-ink-soft);
  font-size: .97rem
}

.placeholder-box {
  border: 2px dashed var(--psbd-slate);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  color: var(--psbd-ink-soft)
}

.placeholder-box strong {
  color: var(--psbd-ink)
}

.badge-sample {
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffda6a;
  font-weight: 600
}

/* Forms */
.form-label {
  font-weight: 600
}

.form-control,
.form-select {
  min-height: 46px;
  border-color: #8da2b8;
  border-radius: .6rem
}

.form-control:focus,
.form-select:focus {
  border-color: var(--psbd-ink);
  box-shadow: 0 0 0 .2rem rgba(47, 70, 96, .25)
}

.invalid-feedback {
  font-size: .92rem
}

.required-mark {
  color: var(--psbd-red-dark)
}

/* Footer */
.site-footer {
  background: var(--psbd-ink);
  color: #e6edf5;
  padding-block: 3rem 1.5rem
}

.site-footer a {
  color: #fff
}

.site-footer h2 {
  color: #fff;
  font-size: 1.1rem
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.site-footer li {
  margin-bottom: .4rem
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .2);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .9rem
}

.ltr {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block
}

.toast-container {
  z-index: 2100
}

.not-found-code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  color: var(--psbd-red);
  line-height: 1
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}




/* Home: About + video, equal height */
.about-box {
  flex: 1;
  background: #fff;
  border: 1px solid var(--psbd-line);
  border-radius: 12px;
  padding: 1.5rem
}

.video-box {
  position: relative;
  flex: 1;
  min-height: 320px;
  background: #000;
  border-radius: 12px;
  overflow: hidden
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.video-play i {
  font-size: 3.5rem;
  line-height: 1;
  color: #fff;
  background: var(--psbd-red);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: .4rem;
  transition: transform .15s, background .15s
}

.video-play:hover i,
.video-play:focus-visible i {
  background: var(--psbd-red-dark);
  transform: scale(1.08)
}