:root {
  --yb-bg: #eef2f7;
  --yb-surface: rgba(255, 255, 255, 0.84);
  --yb-surface-strong: #ffffff;
  --yb-ink: #162133;
  --yb-muted: #5f6d82;
  --yb-line: rgba(22, 33, 51, 0.1);
  --yb-accent: #2b5c9a;
  --yb-accent-strong: #1f4676;
  --yb-accent-soft: #dbe7f5;
  --yb-warm: #b46b45;
  --yb-shadow: 0 18px 50px rgba(20, 33, 51, 0.09);
  --yb-radius: 24px;
  --yb-max-width: 1160px;
}

body.home {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--yb-ink);
  background:
    radial-gradient(circle at top left, rgba(43, 92, 154, 0.12), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(180, 107, 69, 0.08), transparent 18%),
    linear-gradient(180deg, #f5f7fb 0%, #edf2f8 100%);
}

body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
}

.yb-page-shell,
.yb-page-shell * {
  box-sizing: border-box;
}

.yb-page-shell a {
  color: inherit;
  text-decoration: none;
}

.yb-page-shell {
  width: min(calc(100% - 32px), var(--yb-max-width));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.yb-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 26px;
}

.yb-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.yb-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yb-accent), var(--yb-accent-strong));
  color: #fff;
  font-weight: 800;
  box-shadow: var(--yb-shadow);
}

.yb-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yb-brand-text strong {
  font-size: 1rem;
}

.yb-brand-text small,
.yb-site-nav a,
.yb-eyebrow,
.yb-hero-points,
.yb-hero-card-top,
.yb-highlight-label {
  letter-spacing: 0.03em;
}

.yb-brand-text small,
.yb-site-nav a,
.yb-hero-text,
.yb-hero-points,
.yb-info-card p,
.yb-split-copy p,
.yb-timeline-step p,
.yb-result-card p,
.yb-contact-card p,
.yb-clients-band p {
  color: var(--yb-muted);
}

.yb-site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

.yb-site-nav a {
  position: relative;
}

.yb-site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.yb-site-nav a:hover::after,
.yb-site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.yb-hero,
.yb-split-section,
.yb-contact-section {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.yb-hero {
  padding: 26px 0 28px;
}

.yb-hero-copy h1,
.yb-section-heading h2,
.yb-split-copy h2,
.yb-contact-section h2,
.yb-result-card h3,
.yb-timeline-step h3,
.yb-info-card h3 {
  margin: 0;
}

.yb-hero-copy h1,
.yb-section-heading h2,
.yb-split-copy h2,
.yb-contact-section h2 {
  font-family: "Source Serif 4", serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.yb-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.4vw, 4.45rem);
  font-weight: 700;
}

.yb-hero-text {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.78;
}

.yb-eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--yb-accent-strong);
  font-weight: 700;
}

.yb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.yb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.yb-button:hover,
.yb-button:focus-visible {
  transform: translateY(-2px);
}

.yb-button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--yb-accent), var(--yb-accent-strong));
  box-shadow: 0 14px 28px rgba(31, 70, 118, 0.2);
}

.yb-button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 33, 51, 0.08);
}

.yb-hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
}

.yb-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yb-hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yb-accent), var(--yb-warm));
  box-shadow: 0 0 0 5px rgba(43, 92, 154, 0.1);
}

.yb-hero-card,
.yb-info-card,
.yb-timeline,
.yb-result-card,
.yb-contact-card,
.yb-clients-band,
.yb-showcase-card {
  border: 1px solid var(--yb-line);
  background: var(--yb-surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--yb-shadow);
}

.yb-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--yb-radius);
  overflow: hidden;
  position: relative;
}

.yb-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(43, 92, 154, 0.16), transparent 70%);
}

.yb-hero-visual {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 28, 24, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.yb-hero-portrait {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  max-width: 280px;
  margin: 0 auto 20px;
  border-radius: 999px;
  border: 8px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(22, 33, 51, 0.12);
}

.yb-hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.yb-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #4d8f50;
  box-shadow: 0 0 0 6px rgba(77, 143, 80, 0.16);
}

.yb-hero-metric {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--yb-line);
}

.yb-hero-metric strong {
  font-family: "Source Serif 4", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
}

.yb-hero-quote {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(237, 242, 248, 0.85);
}

.yb-hero-quote p {
  margin: 0;
  line-height: 1.7;
}

.yb-clients-band {
  margin: 14px 0 36px;
  padding: 16px 20px;
  border-radius: 18px;
}

.yb-clients-band p {
  margin: 0;
  font-size: 1rem;
  text-align: center;
}

.yb-showcase-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 36px;
}

.yb-showcase-card {
  margin: 0;
  padding: 14px;
  border-radius: 22px;
  overflow: hidden;
}

.yb-showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(22, 33, 51, 0.08);
  background: #fff;
}

.yb-showcase-card figcaption {
  margin-top: 12px;
  color: var(--yb-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.yb-section-grid,
.yb-results-section {
  padding: 22px 0 14px;
}

.yb-section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.yb-section-heading h2,
.yb-split-copy h2,
.yb-contact-section h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.yb-cards,
.yb-results-grid {
  display: grid;
  gap: 18px;
}

.yb-cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yb-info-card,
.yb-result-card,
.yb-contact-card {
  padding: 22px;
  border-radius: 20px;
}

.yb-card-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--yb-accent-strong);
  font-weight: 800;
}

.yb-info-card h3,
.yb-result-card h3,
.yb-timeline-step h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.yb-info-card p,
.yb-result-card p,
.yb-split-copy p,
.yb-timeline-step p,
.yb-contact-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.98rem;
}

.yb-split-section,
.yb-contact-section {
  padding: 48px 0 18px;
}

.yb-split-copy {
  max-width: 620px;
}

.yb-split-copy p + p {
  margin-top: 16px;
}

.yb-timeline {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
}

.yb-timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 8px 0;
}

.yb-timeline-step span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43, 92, 154, 0.12), rgba(180, 107, 69, 0.12));
  color: var(--yb-accent-strong);
  font-weight: 800;
}

.yb-results-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yb-highlight-card {
  background: linear-gradient(180deg, rgba(31, 70, 118, 0.96), rgba(22, 33, 51, 0.96));
  color: #fff;
}

.yb-highlight-card p,
.yb-highlight-card .yb-highlight-label {
  color: rgba(255, 255, 255, 0.84);
}

.yb-highlight-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.yb-contact-section {
  align-items: center;
  margin-top: 8px;
}

.yb-contact-card {
  display: grid;
  gap: 22px;
}

.yb-contact-intro {
  margin: 0;
}

.yb-contact-feedback {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}

.yb-contact-feedback-success {
  color: #185c34;
  background: rgba(76, 143, 80, 0.12);
  border: 1px solid rgba(76, 143, 80, 0.18);
}

.yb-contact-feedback-error,
.yb-contact-feedback-invalid {
  color: #8a3d2a;
  background: rgba(180, 107, 69, 0.12);
  border: 1px solid rgba(180, 107, 69, 0.18);
}

.yb-contact-form {
  display: grid;
  gap: 16px;
}

.yb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yb-field {
  display: grid;
  gap: 8px;
}

.yb-field span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yb-ink);
}

.yb-field input,
.yb-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(22, 33, 51, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--yb-ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.yb-field input:focus,
.yb-field textarea:focus {
  border-color: rgba(43, 92, 154, 0.45);
  box-shadow: 0 0 0 4px rgba(43, 92, 154, 0.08);
}

.yb-field textarea {
  resize: vertical;
  min-height: 160px;
}

.yb-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yb-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.yb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .yb-hero,
  .yb-split-section,
  .yb-contact-section,
  .yb-showcase-section,
  .yb-form-grid,
  .yb-cards-three,
  .yb-results-grid {
    grid-template-columns: 1fr;
  }

  .yb-site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .yb-hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .yb-page-shell {
    width: min(calc(100% - 20px), var(--yb-max-width));
    padding-top: 18px;
  }

  .yb-site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .yb-hero {
    padding-top: 20px;
  }

  .yb-hero-card,
  .yb-info-card,
  .yb-result-card,
  .yb-contact-card,
  .yb-timeline {
    padding: 22px;
  }

  .yb-hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .yb-section-heading h2,
  .yb-split-copy h2,
  .yb-contact-section h2 {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }
}
