/* ==========================================================================
   Plywood Guide (https://plywoodguide.com/)
   Exact Plywood Editorial UI Theme
   Typography: Plus Jakarta Sans (Headlines) & Inter (Body & UI)
   ========================================================================== */

:root {
  --ink: #111111;
  --mut: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --soft: #f8fafc;
  --card-bg: #ffffff;
  --ys-red: #eb1c24;
  --ys-red-hover: #c91017;
  --ct-green: #059669;
  --font-head: 'Reddit Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Reddit Sans', sans-serif;
  --font-body: 'Reddit Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button, input, select, textarea {
  font: inherit;
}

/* Full screen edge-to-edge layout with zero dead side gaps */
.wrap, .wrap-wide {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .wrap, .wrap-wide {
    padding: 0 16px;
  }
}

/* ==========================================================================
   Header & Navigation (Screenshot 1)
   ========================================================================== */

#hd {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
}

header.ys-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  width: 100%;
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.nav-brand-pill {
  background: #fff1f2;
  color: var(--ys-red) !important;
  border: 1px solid #fecdd3;
  padding: 6px 14px !important;
  border-radius: 20px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-brand-pill:hover {
  background: var(--ys-red);
  color: #ffffff !important;
  border-color: var(--ys-red);
}

/* Iconic Plywood 3-bar logo mark ||\ with Big Bold PLYWOOD */
.ys-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000;
  text-decoration: none;
  user-select: none;
}

.ys-logo-bars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.ys-bar {
  width: 4.5px;
  height: 22px;
  background: #000;
  border-radius: 1px;
}

.ys-bar.tilted {
  transform: rotate(18deg);
  transform-origin: center;
}

.ys-logo-mark .brand-main {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: #000000;
  line-height: 1;
  text-transform: uppercase;
}

.ys-logo-mark .brand-sub {
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ys-red);
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

/* ==========================================================================
   Universal Plywood Guide Logo Styling (Both Masthead and Sticky Navbar)
   ========================================================================== */

/* 1. Masthead Brand (Top Large Header) */
.mast-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  user-select: none;
  transition: opacity 0.2s;
}
.mast-brand-link:hover {
  opacity: 0.92;
}
.mast-brand-link .mast-bars .ys-bar {
  width: 5.5px;
  height: 32px;
  background: #111111;
  border-radius: 1.5px;
}
.mast-brand-link .mast-bars .ys-bar.tilted {
  transform: rotate(18deg);
}
.mast-brand-text {
  display: flex;
  flex-direction: column;
}
.mast-brand-main {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: #111111;
  line-height: 1;
  text-transform: uppercase;
}
.mast-brand-red {
  color: var(--ys-red);
}
.mast-brand-sub {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--mut);
  text-transform: uppercase;
  margin-top: 4px;
}

/* 2. Sticky Navbar Brand (Always Visible On Scroll) */
.nav-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
  padding: 4px 16px 4px 0;
  border-right: 1px solid var(--line);
  margin-right: 8px;
  transition: opacity 0.2s;
}
.nav-logo-link:hover {
  opacity: 0.88;
}
.nav-logo-link .ys-logo-bars {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  height: 22px;
}
.nav-logo-link .ys-bar {
  width: 4px;
  height: 20px;
  background: #111111;
  border-radius: 1px;
}
.nav-logo-link .ys-bar.tilted {
  transform: rotate(18deg);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-main {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #111111;
  line-height: 1;
  text-transform: uppercase;
}
.nav-brand-red {
  color: var(--ys-red);
}
.nav-brand-sub {
  font-family: var(--font-head);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mut);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation items */
nav.ys-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  overflow-x: auto;
  scrollbar-width: none;
}

nav.ys-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  white-space: nowrap;
  padding: 18px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.nav-item:hover, .nav-item.active {
  color: var(--ys-red);
}

.nav-caret {
  font-size: 10px;
  opacity: 0.6;
}

/* Nav Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  min-width: 210px;
  padding: 8px 0;
  display: none;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s;
}

.nav-dropdown a:hover {
  background: var(--soft);
  color: var(--ys-red);
  padding-left: 20px;
}

/* Header Right */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-trigger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  padding: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.search-trigger-btn:hover {
  background: var(--soft);
  color: var(--ys-red);
}

.hdr-cta-btn {
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s;
}

.hdr-cta-btn:hover {
  background: var(--ys-red);
}

/* ==========================================================================
   Section 1: Top Picks (Screenshot 1)
   ========================================================================== */

.top-picks-section {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
}

.top-picks-wrapper {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.top-picks-head {
  width: 170px;
  flex-shrink: 0;
  font-family: var(--font-head);
  user-select: none;
}

.tp-title-top {
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #000;
}

.tp-title-bottom {
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #000;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Red spiky starburst */
.tp-starburst {
  display: inline-block;
  animation: starPulse 3s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) rotate(5deg); }
}

.top-picks-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tp-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.tp-card .tp-thumb {
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
  position: relative;
}

.tp-card .tp-thumb img {
  transition: transform 0.4s ease;
}

.tp-card:hover .tp-thumb img {
  transform: scale(1.05);
}

.tp-badge-ys {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: var(--ys-red);
  color: #fff;
  font-size: 8.5px;
  font-weight: 900;
  padding: 2px 4px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.tp-card h3 {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.tp-card:hover h3 {
  color: var(--ys-red);
}

/* ==========================================================================
   Section 2: Split Featured Story + The CapTable (Screenshot 1 & 2)
   ========================================================================== */

.split-hero-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.split-hero-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 40px;
}

/* Left Featured Article */
.featured-lead-col {
  display: flex;
  flex-direction: column;
}

.lead-hero-thumb {
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
  margin-bottom: 16px;
}

.lead-hero-thumb img {
  transition: transform 0.5s ease;
}

.featured-lead-col:hover .lead-hero-thumb img {
  transform: scale(1.03);
}

.story-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
}

.square-bullet {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #111;
}

.featured-lead-col h1.lead-headline {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #111;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.featured-lead-col:hover h1.lead-headline {
  color: var(--ys-red);
}

.lead-excerpt {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 12px;
}

.lead-byline {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

/* Right: The CapTable Column */
.captable-col {
  display: flex;
  flex-direction: column;
}

.captable-brand {
  margin-bottom: 18px;
}

.captable-the {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #111;
}

.captable-title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #111;
}

.captable-underline {
  width: 140px;
  height: 3.5px;
  background: var(--ct-green);
  margin-top: 6px;
  border-radius: 2px;
}

.captable-story-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  transition: all 0.2s;
}

.captable-story-item:hover h4 {
  color: var(--ys-red);
}

.ct-story-content {
  flex: 1;
}

.ct-story-content h4 {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin-bottom: 6px;
}

.ct-author-tag {
  font-size: 12.5px;
  color: var(--mut);
  font-weight: 500;
}

.ct-story-thumb {
  width: 86px;
  height: 62px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
  flex-shrink: 0;
}

/* Newsletter Box (Screenshot 2) */
.ys-newsletter-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.nl-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.nl-top-row h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #111;
}

.nl-illustration {
  flex-shrink: 0;
}

.nl-input-row {
  display: flex;
  gap: 8px;
}

.nl-input-field {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.nl-input-field:focus {
  border-color: #000;
}

.nl-submit-btn {
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.nl-submit-btn:hover {
  background: var(--ys-red);
}

/* ==========================================================================
   Full Width Tech / Materials Summit Banner (Screenshot 2)
   ========================================================================== */

.summit-banner-wrapper {
  margin: 32px 0 12px;
}

.summit-banner {
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #f5f3ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.summit-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.summit-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.summit-text h4 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: #1e1b4b;
  letter-spacing: -0.01em;
}

.summit-text p {
  font-size: 13.5px;
  color: #4338ca;
  font-weight: 600;
  margin-top: 2px;
}

.summit-register-btn {
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 24px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}

.summit-register-btn:hover {
  background: var(--ys-red);
}

.summit-ad-subtext {
  text-align: center;
  font-size: 12px;
  color: var(--mut);
  margin-top: 8px;
}

.summit-ad-subtext a:hover {
  text-decoration: underline;
  color: #111;
}

/* ==========================================================================
   Section 3: Conversations (Screenshot 3)
   ========================================================================== */

.conversations-section {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
}

.conversations-heading {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #000;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
}

.conv-mic-glyph {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 1px;
}

.conversations-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.conv-left-col {
  display: flex;
  flex-direction: column;
}

.conv-left-col h2.conv-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111;
  margin: 10px 0 12px;
  transition: color 0.2s;
}

.conv-left-col:hover h2.conv-title {
  color: var(--ys-red);
}

.conv-summary {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 18px;
}

.conv-highlights-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ys-red);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.conv-highlights-link:hover {
  text-decoration: underline;
}

/* Right Video Player Card */
.conv-video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.conv-video-card img {
  opacity: 0.88;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.conv-video-card:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.conv-video-card:hover .video-play-btn {
  background: var(--ys-red);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #ffffff;
  margin-left: 3px;
}

.video-banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85) 60%);
  padding: 30px 20px 16px;
  color: #fff;
}

.video-banner-overlay h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   Section 4: Featured Series (Screenshot 4)
   ========================================================================== */

.featured-series-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.series-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.series-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.series-title-group h2 {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #000;
}

.series-arrow-doodle {
  margin-top: 8px;
}

.series-nav-controls {
  display: flex;
  gap: 8px;
}

.series-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.series-nav-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Series Cards Carousel */
.series-cards-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.series-cards-row::-webkit-scrollbar {
  display: none;
}

.series-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.series-poster {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.series-poster img {
  transition: transform 0.4s ease;
}

.series-card:hover .series-poster img {
  transform: scale(1.05);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
}

.poster-top-badge {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.poster-center-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.poster-host-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #ff6b81;
}

.series-meta {
  margin-top: 10px;
}

.series-meta h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-top: 4px;
  transition: color 0.2s;
}

.series-card:hover .series-meta h3 {
  color: var(--ys-red);
}

/* ==========================================================================
   Section 5: SpotLight (Screenshot 5)
   ========================================================================== */

.spotlight-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.spotlight-wrapper {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.spotlight-head {
  width: 170px;
  flex-shrink: 0;
  font-family: var(--font-head);
  user-select: none;
}

.spot-title-top {
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #000;
  display: flex;
  align-items: baseline;
}

.spot-o-glyph {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4d6d 0%, #eb1c24 70%, #990012 100%);
  box-shadow: 0 0 16px rgba(235, 28, 36, 0.6);
  margin: 0 1px;
}

.spot-title-bottom {
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #000;
}

.spotlight-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spot-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.spot-card .spot-thumb {
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soft);
  margin-bottom: 10px;
}

.spot-card .spot-thumb img {
  transition: transform 0.4s ease;
}

.spot-card:hover .spot-thumb img {
  transform: scale(1.05);
}

.spot-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.spot-card:hover h3 {
  color: var(--ys-red);
}

.spot-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot-byline {
  font-size: 12.5px;
  font-weight: 600;
  color: #111;
  margin-top: 8px;
}

/* ==========================================================================
   Section 6: Furniture Design Gallery (Visual Stories)
   ========================================================================== */

.design-gallery-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.section-head-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-head-bar h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.section-head-bar a.view-all-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ys-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gal-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gal-item img {
  transition: transform 0.5s ease;
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8) 70%);
  color: #fff;
  padding: 30px 14px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

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

footer.ys-footer {
  background: #09090b;
  color: #94a3b8;
  padding: 60px 0 32px;
  font-size: 14px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.ft-col h5 {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ft-col a {
  display: block;
  padding: 5px 0;
  color: #94a3b8;
  transition: color 0.2s;
}

.ft-col a:hover {
  color: #ffffff;
}

.ft-logo {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ft-logo .ys-bar {
  background: #fff;
}

.ft-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 340px;
}

.ft-bottom-bar {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Article Page (Reading View)
   ========================================================================== */

.art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  padding: 32px 0 60px;
}

.art-breadcrumbs {
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 14px;
}

.art-breadcrumbs a {
  color: var(--ys-red);
  font-weight: 600;
}

.art-headline {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #111;
  margin: 12px 0 14px;
}

.art-subhead {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 20px;
}

.art-byline-bar {
  display: none !important;
}

.author-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.author-info b {
  display: block;
  font-size: 14px;
  color: #111;
}

.author-info span {
  font-size: 12.5px;
  color: var(--mut);
}

.art-share-btn {
  margin-left: auto;
  background: #25d366;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.art-hero-thumb {
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  background: var(--soft);
}

.art-body {
  font-size: 18px;
  line-height: 1.8;
  color: #27272a;
}

.art-body p {
  margin-bottom: 20px;
}

.art-body h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 36px 0 14px;
  letter-spacing: -0.015em;
}

.art-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 24px 0 10px;
}

.art-body ul, .art-body ol {
  margin: 0 0 24px 28px;
}

.art-body li {
  margin-bottom: 10px;
}

.art-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14.5px;
}

.art-body th, .art-body td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
}

.art-body th {
  background: var(--soft);
  font-weight: 700;
  color: #111;
}

.art-body img {
  border-radius: 8px;
  margin: 24px 0;
  height: auto;
}

/* Sidebar */
aside.art-sidebar {
  position: relative;
}

.sticky-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-widget {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
}

.sidebar-widget h3.widget-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #000;
}

.trending-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.trending-row:last-child {
  border-bottom: none;
}

.trending-row:hover h4 {
  color: var(--ys-red);
}

.trending-row h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.trending-thumb {
  width: 72px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--soft);
}

/* ==========================================================================
   Category Listing & Contact Views
   ========================================================================== */

.page-header-box {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--line);
}

.page-header-box h1 {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111;
}

.page-header-box p {
  font-size: 16px;
  color: var(--mut);
  margin-top: 6px;
}

.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 32px 0 50px;
}

.empty-state {
  padding: 60px 0;
  text-align: center;
  color: var(--mut);
  font-size: 16px;
}

/* Contact / Inquire Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  padding: 36px 0 60px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

.field-group input, .field-group select, .field-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
}

.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none;
  border-color: #000;
}

.submit-inquiry-btn {
  width: 100%;
  background: #000;
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  padding: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-inquiry-btn:hover {
  background: var(--ys-red);
}

/* ==========================================================================
   Modals (Search & Video)
   ========================================================================== */

.search-modal, .video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10vh;
}

.search-box {
  background: #ffffff;
  width: 640px;
  max-width: 90vw;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.search-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.search-box-header input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 600;
}

.search-close-btn, .video-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--mut);
  padding: 4px;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px 0;
}

.search-item {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.search-item:hover {
  background: var(--soft);
}

.search-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.search-item span {
  font-size: 12px;
  color: var(--mut);
}

.video-box {
  background: #000;
  width: 800px;
  max-width: 90vw;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #fff;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
}

.video-overlay-content {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9) 50%);
  padding: 30px;
  color: #fff;
}

.video-tag {
  color: #ff4757;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.video-overlay-content h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 8px;
}

.video-overlay-content p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 16px;
  max-width: 600px;
}

.video-cta-btn {
  display: inline-block;
  background: var(--ys-red);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1080px) {
  .top-picks-wrapper, .spotlight-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .top-picks-head, .spotlight-head {
    width: 100%;
  }
  .tp-title-top, .spot-title-top {
    display: inline-block;
    margin-right: 12px;
  }
  .tp-title-bottom, .spot-title-bottom {
    display: inline-flex;
  }
  .split-hero-grid, .conversations-grid, .art-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
  .top-picks-grid, .spotlight-grid, .series-cards-row, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hdr-inner {
    gap: 12px;
  }
  nav.ys-nav {
    display: none;
  }
  .top-picks-grid, .spotlight-grid, .series-cards-row, .gallery-grid, .articles-grid-3 {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .summit-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ft-grid {
    grid-template-columns: 1fr;
  }
  .tp-title-top, .tp-title-bottom, .spot-title-top, .spot-title-bottom, .conversations-heading, .series-title-group h2 {
    font-size: 38px;
  }
  .featured-lead-col h1.lead-headline, .art-headline {
    font-size: 26px;
  }
}

/* ==========================================================================
   Reading Progress Bar & Toast Notification
   ========================================================================== */

.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--ys-red);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
  pointer-events: none;
}

.ys-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.ys-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.art-copy-btn {
  background: #f1f5f9;
  color: #111;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.art-copy-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* ==========================================================================
   Plywood Sheet & Cost Calculator (plywoodguide.com)
   ========================================================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin: 32px 0 60px;
}
@media (max-width: 900px) {
  .calc-container {
    grid-template-columns: 1fr;
  }
}
.calc-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.calc-result-card {
  background: #111111;
  color: #ffffff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid var(--ys-red);
}
.calc-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.calc-metric-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: 4px;
}
.calc-metric-val {
  font-family: var(--font-display);
  font-size: 36px;
  color: #ffffff;
  line-height: 1.1;
}
.calc-metric-lbl {
  font-size: 11.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.calc-est-total {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 14px;
}
.calc-est-price {
  font-family: var(--font-display);
  font-size: 40px;
  color: #22c55e;
  line-height: 1.1;
  margin: 6px 0 16px;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  text-decoration: none;
}
.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
}
@media (max-width: 600px) {
  .wa-float-btn span {
    display: none;
  }
  .wa-float-btn {
    padding: 12px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================================
   Plywood 2026 Price List Table
   ========================================================================== */
.price-table-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.price-table-box th {
  padding: 14px 16px;
  font-weight: 700;
  text-align: left;
}
.price-table-box td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
