:root {
  --sy-home-green: #153b2e;
  --sy-home-green-deep: #0c281e;
  --sy-home-green-soft: #eaf3ed;
  --sy-home-gold: #c69542;
  --sy-home-cream: #f8f5ec;
  --sy-home-ink: #17231d;
  --sy-home-muted: #58675f;
  --sy-home-line: #dfe7e1;
}

.sy-home-discovery,
.sy-home-discovery *,
.sy-home-discovery *::before,
.sy-home-discovery *::after {
  box-sizing: border-box;
}

.sy-home-discovery {
  width: 100%;
  color: var(--sy-home-ink);
  font-size: 16px;
  line-height: 1.65;
}

.sy-home-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sy-home-learning,
.sy-home-latest {
  padding: clamp(72px, 9vw, 116px) 0;
}

.sy-home-learning {
  background:
    radial-gradient(circle at 92% 8%, rgba(198, 149, 66, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, var(--sy-home-cream));
}

.sy-home-section-heading {
  max-width: 760px;
}

.sy-home-eyebrow {
  margin: 0 0 12px;
  color: var(--sy-home-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sy-home-section-heading h2,
.sy-youtube-copy h2 {
  margin: 0;
  color: var(--sy-home-green-deep);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sy-home-section-heading > p:last-child,
.sy-youtube-copy > p {
  max-width: 710px;
  margin: 20px 0 0;
  color: var(--sy-home-muted);
  font-size: clamp(17px, 2vw, 20px);
}

.sy-learning-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.sy-learning-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--sy-home-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(21, 59, 46, 0.055);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.sy-learning-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 149, 66, 0.58);
  box-shadow: 0 24px 60px rgba(21, 59, 46, 0.1);
}

.sy-learning-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: var(--sy-home-green);
  background: var(--sy-home-green-soft);
}

.sy-learning-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.sy-learning-card h3 {
  margin: 32px 0 12px;
  font-size: 21px;
  line-height: 1.25;
}

.sy-learning-card h3 a {
  color: var(--sy-home-green-deep);
  text-decoration: none;
}

.sy-learning-card p {
  margin: 0;
  color: var(--sy-home-muted);
  font-size: 15px;
}

.sy-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  color: var(--sy-home-green);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.sy-text-link:hover,
.sy-text-link:focus {
  color: #9a691e;
}

.sy-home-youtube {
  padding: clamp(70px, 9vw, 108px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(225, 54, 54, 0.2), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(107, 171, 130, 0.22), transparent 30%),
    var(--sy-home-green-deep);
}

.sy-youtube-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.sy-youtube-copy h2 {
  max-width: 680px;
  color: #fff;
}

.sy-youtube-copy > p {
  color: #c7d8ce;
}

.sy-youtube-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sy-youtube-button,
.sy-youtube-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.sy-youtube-button {
  color: #fff;
  background: #df2f2f;
}

.sy-youtube-button:hover,
.sy-youtube-button:focus {
  color: #fff;
  background: #f03d3d;
}

.sy-youtube-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.sy-youtube-secondary:hover,
.sy-youtube-secondary:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sy-youtube-visual {
  position: relative;
  display: grid;
  min-height: 380px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  text-align: center;
  text-decoration: none;
}

.sy-youtube-visual:hover,
.sy-youtube-visual:focus {
  color: #fff;
}

.sy-youtube-visual strong,
.sy-youtube-visual > span:last-child {
  position: relative;
  z-index: 2;
}

.sy-youtube-visual strong {
  align-self: end;
  margin-bottom: 56px;
  font-size: 25px;
}

.sy-youtube-visual > span:last-child {
  align-self: start;
  margin-top: -48px;
  color: #cbd9d1;
}

.sy-youtube-play {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  background: #e23333;
  box-shadow: 0 22px 60px rgba(226, 51, 51, 0.35);
}

.sy-youtube-play svg {
  width: 56px;
  height: 56px;
  fill: #fff;
}

.sy-youtube-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.sy-youtube-orbit-one {
  width: 260px;
  height: 260px;
}

.sy-youtube-orbit-two {
  width: 390px;
  height: 390px;
}

.sy-home-latest {
  background: #fff;
}

.sy-home-latest-heading {
  display: flex;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
}

.sy-view-all {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  padding-bottom: 8px;
  color: var(--sy-home-green);
  font-weight: 750;
  text-decoration: none;
}

.sy-view-all:hover,
.sy-view-all:focus {
  color: #9a691e;
}

.sy-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.sy-latest-card {
  overflow: hidden;
  border: 1px solid var(--sy-home-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(21, 59, 46, 0.06);
}

.sy-latest-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sy-home-green-soft);
}

.sy-latest-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.sy-latest-card:hover .sy-latest-image {
  transform: scale(1.035);
}

.sy-latest-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--sy-home-green);
  background:
    radial-gradient(circle at 75% 20%, rgba(198, 149, 66, 0.18), transparent 28%),
    var(--sy-home-green-soft);
}

.sy-latest-placeholder svg {
  width: 72px;
  height: 72px;
  fill: currentColor;
}

.sy-latest-content {
  padding: 24px;
}

.sy-latest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: #78867e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sy-latest-meta a {
  color: var(--sy-home-gold);
  text-decoration: none;
}

.sy-latest-content h3 {
  margin: 14px 0 12px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.3;
}

.sy-latest-content h3 a {
  color: var(--sy-home-green-deep);
  text-decoration: none;
}

.sy-latest-content h3 a:hover,
.sy-latest-content h3 a:focus {
  color: #8d621e;
}

.sy-latest-content p {
  margin: 0;
  color: var(--sy-home-muted);
  font-size: 15px;
}

.sy-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: var(--sy-home-green);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.sy-card-link:hover,
.sy-card-link:focus {
  color: #9a691e;
}

@media (max-width: 1100px) {
  .sy-learning-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sy-youtube-panel {
    grid-template-columns: 1fr;
  }

  .sy-youtube-visual {
    min-height: 330px;
  }

  .sy-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sy-home-shell {
    width: min(100% - 28px, 1180px);
  }

  .sy-learning-grid,
  .sy-latest-grid {
    grid-template-columns: 1fr;
  }

  .sy-learning-card {
    min-height: 280px;
  }

  .sy-home-latest-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sy-youtube-actions,
  .sy-youtube-button,
  .sy-youtube-secondary {
    width: 100%;
  }

  .sy-youtube-visual {
    min-height: 290px;
  }

  .sy-youtube-orbit-one {
    width: 220px;
    height: 220px;
  }

  .sy-youtube-orbit-two {
    width: 330px;
    height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sy-learning-card,
  .sy-latest-image {
    transition: none;
  }
}
