/* PEGBOARD editorial Home. Tokens and font pickers come from the shared design layer. */
.ps-home { color: var(--ps-ink); }
.ps-home *, .ps-home *::before, .ps-home *::after { box-sizing: border-box; }
.ps-home-section + .ps-home-section { margin-top: 0 !important; }
.ps-home p { line-height: 1.85; letter-spacing: 0; white-space: pre-line; }
.ps-home figure { margin: 0; }
.ps-home img { display: block; width: 100%; height: auto; object-fit: cover; }
.ps-home a { color: inherit; text-decoration: none; }
.ps-home a:focus-visible, .ps-home summary:focus-visible { outline: 2px solid var(--ps-orange); outline-offset: 5px; }
.ps-home h2 { font-size: clamp(3rem, 3.8vw, 5.6rem); line-height: 1.06; margin: 1.8rem 0 0; letter-spacing: -.05em; overflow-wrap: anywhere; }
.ps-home h3 { font-size: clamp(2.2rem, 2.3vw, 3.2rem); line-height: 1.2; letter-spacing: -.035em; }
.ps-home .ps-home__eyebrow { font: 700 1.1rem/1.5 var(--ps-mono); letter-spacing: .12em; margin: 0; white-space: normal; }
.ps-home__section { padding-top: clamp(6rem, 8vw, 11rem); padding-bottom: clamp(6rem, 8vw, 11rem); }
.ps-home__hero { display: grid; grid-template-columns: .85fr 1.3fr; gap: clamp(3rem, 5vw, 8rem); align-items: center; padding-top: 5rem; padding-bottom: 6rem; }
.ps-home__hero-copy { padding-block: 2rem; }
.ps-home .ps-home__display { font-size: clamp(5.2rem, 6.6vw, 9.8rem); font-weight: 800; line-height: .98; letter-spacing: -.065em; white-space: pre-line; margin: 2.6rem 0; }
.ps-home__lead { font-size: 1.6rem; margin: 0 0 2.6rem; }
.ps-home .ps-home__note { font-size: 1.2rem; color: var(--ps-muted); margin: 1.8rem 0 0; }
.ps-home__hero-visual img { aspect-ratio: 1.15; object-fit: cover; }
.ps-home__hero-visual figcaption { font: 700 1rem/1.5 var(--ps-mono); letter-spacing: .08em; padding-top: 1.3rem; color: var(--ps-muted); }
.ps-home .ps-home__button { display: inline-flex; min-height: 4.8rem; align-items: center; gap: 3rem; padding: 1.3rem 2.2rem; border: 1px solid var(--ps-orange); border-radius: 3px; background: var(--ps-orange); color: var(--ps-ink); font-size: 1.4rem; font-weight: 700; transition: background-color 160ms ease; }
.ps-home .ps-home__button:hover { background: #ef6d3f; }
.ps-home__section-head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 5rem; margin-bottom: 4.4rem; }
.ps-home__intro { max-width: 43rem; margin: 0; color: var(--ps-muted); font-size: 1.5rem; justify-self: end; }
.ps-home__categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.ps-home__category { border-top: 1px solid var(--ps-line); padding-top: 1.8rem; min-width: 0; }
.ps-home__category-link { display: block; height: 100%; }
.ps-home__category-image { overflow: hidden; margin-bottom: 2.2rem; }
.ps-home__category-image img { aspect-ratio: 1.14; transition: transform 200ms ease; }
.ps-home__category-link:hover img { transform: scale(1.025); }
.ps-home__category h3 { display: flex; align-items: center; justify-content: space-between; margin: 1.4rem 0; }
.ps-home__category h3 span { color: var(--ps-orange); font-size: 2.4rem; }
.ps-home__category p:not(.ps-home__eyebrow) { color: var(--ps-muted); font-size: 1.4rem; margin: 0 0 1.6rem; min-height: 7.8rem; }
.ps-home .ps-home__text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.4rem; border-bottom: 1px solid currentColor; font-size: 1.4rem; font-weight: 700; }
.ps-home a:hover .ps-home__text-link, .ps-home a.ps-home__text-link:hover { color: #b43813; }
.ps-home__system { background: var(--ps-green); color: var(--ps-paper); }
.ps-home__system .ps-home__intro { color: #c1cec4; }
.ps-home__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem; list-style: none; padding: 0; margin: 5rem 0 0; counter-reset: steps; }
.ps-home__steps li { border-top: 1px solid #738b7e; padding-top: 2rem; position: relative; }
.ps-home__step-number { color: #ff9061; font: 700 1.2rem var(--ps-mono); }
.ps-home__steps li:not(:last-child)::after { content: '→'; position: absolute; right: 0; top: 1.5rem; color: #b5c9ba; font-size: 2.2rem; }
.ps-home__steps h3 { margin: 3rem 0 1.6rem; font-size: clamp(2rem, 2.1vw, 3rem); }
.ps-home__steps p { max-width: 34rem; margin-bottom: 0; color: #d0dbd2; font-size: 1.4rem; }
.ps-home__scenes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.ps-home__scene:nth-child(even) { margin-top: 8rem; }
.ps-home__scene img { aspect-ratio: 1.35; }
.ps-home__scene figcaption { display: grid; grid-template-columns: auto 1fr; gap: 3rem; border-top: 1px solid var(--ps-line); margin-top: 1.6rem; padding-top: 1.8rem; }
.ps-home__scene h3 { margin: 0; }
.ps-home__scene p { color: var(--ps-muted); margin: 0; font-size: 1.4rem; }
.ps-home .ps-home__image-note { color: var(--ps-muted); font-size: 1.2rem; margin: 3rem 0 0; }
.ps-home__guide { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; border-top: 1px solid var(--ps-line); }
.ps-home__guide > div > p:not(.ps-home__eyebrow) { font-size: 1.5rem; color: var(--ps-muted); margin: 2.4rem 0; }
.ps-home__topics { list-style: none; padding: 0; margin: 0; }
.ps-home__topics a { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 6.4rem; border-bottom: 1px solid var(--ps-line); font-size: 1.5rem; }
.ps-home__topics li:first-child a { border-top: 1px solid var(--ps-line); }
.ps-home__topics a:hover { color: #b43813; }
.ps-home__topics span { color: var(--ps-muted); }
.ps-home__guide-page { max-width: 100rem; }
.ps-home__guide-page details { border-bottom: 1px solid var(--ps-line); padding: 2rem 0; scroll-margin-top: 10rem; }
.ps-home__guide-page summary { padding: .6rem 0; min-height: 4.4rem; font-size: 1.8rem; font-weight: 700; cursor: pointer; }
.ps-home__guide-page details p { font-size: 1.5rem; color: var(--ps-muted); max-width: 70rem; }
#ShopCategories { scroll-margin-top: 9rem; }
@media screen and (max-width: 989px) {
  .ps-home__hero { gap: 3rem; }
  .ps-home .ps-home__display { font-size: clamp(4.8rem, 7vw, 7rem); }
  .ps-home__section-head { gap: 3rem; }
  .ps-home__categories { gap: 2rem; }
  .ps-home__guide { gap: 4rem; }
  .ps-home__scenes { gap: 2.5rem; }
  .ps-home__scene figcaption { display: block; }
  .ps-home__scene p { margin-top: 1.2rem; }
}
@media screen and (max-width: 749px) {
  .ps-home__hero { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 4rem; gap: 2.5rem; }
  .ps-home__hero-copy { padding: 0; }
  .ps-home .ps-home__display { font-size: clamp(5.2rem, 12vw, 7.6rem); margin: 2rem 0; }
  .ps-home__hero-visual img { aspect-ratio: 1.4; }
  .ps-home__lead { font-size: 1.5rem; }
  .ps-home__section-head { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .ps-home__intro { justify-self: start; }
  .ps-home__categories { grid-template-columns: 1fr; gap: 3.6rem; }
  .ps-home__category-image img { aspect-ratio: 1.45; }
  .ps-home__category p:not(.ps-home__eyebrow) { min-height: 0; }
  .ps-home__steps { grid-template-columns: 1fr; gap: 2.6rem; margin-top: 3.6rem; }
  .ps-home__steps h3 { margin: 1.5rem 0 1rem; }
  .ps-home__steps li:not(:last-child)::after { content: '↓'; }
  .ps-home__scenes { grid-template-columns: 1fr; gap: 3.6rem; }
  .ps-home__scene:nth-child(even) { margin-top: 0; }
  .ps-home__guide { grid-template-columns: 1fr; gap: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-home__category-image img, .ps-home__button { transition: none; }
  html { scroll-behavior: auto; }
}
