/* Homepage content rhythm — editorial spacing, no cramped cards */

.why-search {
  padding-block: clamp(6.5rem, 12vw, 10rem) !important;
  background:
    linear-gradient(180deg, #f4efe6 0%, var(--paper) 18%, var(--paper) 100%) !important;
  border: 0 !important;
  border-top: 0 !important;
}

.why-search__inner {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6rem);
}

.why-search__intro {
  max-width: 46rem;
  display: grid;
  gap: 1.35rem;
}

.why-search__intro .section__eyebrow {
  margin: 0;
}

.why-search__intro h2 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.why-search__intro .section__lead {
  margin: .35rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.85;
  color: var(--muted);
}

.why-search__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.why-search__list > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  min-height: 12.5rem;
}

.why-search__list > li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-left: 0;
}

.why-search__list > li:nth-child(even) {
  padding-right: 0;
}

.why-search__index {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  color: rgba(62, 39, 35, .28);
}

.why-search__list h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.why-search__list p {
  margin: 0;
  max-width: 34rem;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--muted);
}

.why-search .home-topic-links {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  border: 0;
}

.why-search .home-topic-links a {
  min-height: 3.6rem;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.why-search .home-topic-links a::after {
  content: "→";
  flex: 0 0 auto;
  color: var(--faint);
}

.why-search .home-topic-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
  text-decoration: none;
}

/* Shift section — ink / paper brand only (no lime) */
.home-flow > .home-block.shift-section,
.shift-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(10, 10, 10, .06), transparent 60%),
    var(--paper-2) !important;
}

.home-flow > .home-block.shift-section::before,
.shift-section::before {
  content: none;
  display: none;
}

.shift-section .shift-content {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.shift-board {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.shift-board__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .95rem;
}

.shift-section .shift-label {
  margin: 0;
  color: var(--muted);
}

.shift-section #search-shift-title,
.home-flow .shift-section #search-shift-title {
  margin: 0;
  max-width: 14em;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.shift-section .shift-title-line {
  display: block;
}

.shift-section .shift-title-line--accent {
  display: inline;
  margin-top: .08em;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  box-shadow: inset 0 -.18em 0 0 var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.shift-lead,
.shift-points p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
}

.shift-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.shift-points p {
  padding: .85rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
}

.shift-punch {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 0;
  border-left: 3px solid var(--paper);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
}

.shift-punch strong {
  font-weight: 700;
  color: inherit;
}

.shift-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.shift-stat {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  padding: .85rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.shift-stat-num {
  flex: 0 0 auto;
  display: inline-flex;
  padding: .32rem .55rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.shift-stat-label {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.shift-cta-line {
  margin: .15rem 0 0 !important;
  color: var(--ink) !important;
  font-size: .95rem;
  font-weight: 700;
}

.shift-board__media {
  min-width: 0;
}

.shift-section .shift-media-inner {
  position: relative;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink);
}

.shift-section .shift-media-inner video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shift-section .shift-media-feather {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, .55));
}

@media (max-width: 900px) {
  .why-search .home-topic-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shift-board {
    grid-template-columns: 1fr;
  }
  .shift-section .shift-media-inner {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .shift-section #search-shift-title,
  .home-flow .shift-section #search-shift-title {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }
}

@media (max-width: 720px) {
  .why-search__list {
    grid-template-columns: 1fr;
  }
  .why-search__list > li,
  .why-search__list > li:nth-child(odd),
  .why-search__list > li:nth-child(even) {
    border-right: 0;
    padding-inline: 0;
  }
  .why-search .home-topic-links {
    grid-template-columns: 1fr;
  }
  .shift-points,
  .shift-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shift-board {
    padding: 1.1rem;
    border-radius: 1.15rem;
  }
  .shift-section #search-shift-title,
  .home-flow .shift-section #search-shift-title {
    font-size: clamp(1.85rem, 9.5vw, 2.4rem);
  }
}
