/* Homepage refresh layer for PorcelainSoul. Loaded after porcelainsoul.css. */

:root {
  --ps-bg: #edf1f2;
  --ps-bg-alt: #f7f9fa;
  --ps-ink: #121a22;
  --ps-muted: #51616f;
  --ps-soft: #738291;
  --ps-line: rgba(18, 26, 34, 0.12);
  --ps-surface: rgba(255, 255, 255, 0.92);
  --ps-surface-strong: #ffffff;
  --ps-deep-surface: #dbe4e8;
  --ps-accent: #0f7b81;
  --ps-accent-strong: #0b5c61;
  --ps-accent-soft: #dff1f1;
  --ps-shadow: 0 24px 60px rgba(18, 26, 34, 0.08);
  --ps-radius: 24px;
  --ps-radius-sm: 18px;
  --ps-copy-width: 720px;
  --ps-display-font: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ps-body-font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.home.ps-brand-modern-talisman {
  background: var(--ps-bg);
  color: var(--ps-ink);
  font-family: var(--ps-body-font);
}

.ps-home-stage .button,
.ps-home-stage .ps-button {
  align-items: center;
  background: var(--ps-accent);
  border: 1px solid var(--ps-accent);
  border-radius: 999px;
  box-shadow: none;
  color: #fff;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ps-home-stage .button:hover,
.ps-home-stage .ps-button:hover {
  background: var(--ps-accent-strong);
  border-color: var(--ps-accent-strong);
  color: #fff;
  transform: translateY(-1px);
}

.ps-home-stage .button.is-outline,
.ps-home-stage .ps-button--ghost {
  background: transparent;
  border-color: var(--ps-line);
  color: var(--ps-ink);
}

.ps-home-stage .button.is-outline:hover,
.ps-home-stage .ps-button--ghost:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 123, 129, 0.28);
  color: var(--ps-accent-strong);
}

.ps-home-stage {
  background:
    radial-gradient(circle at top right, rgba(15, 123, 129, 0.12), transparent 22%),
    linear-gradient(180deg, #f7fafb 0%, #edf1f2 38%, #eef3f4 100%);
}

.ps-home-band + .ps-home-band {
  margin-top: 28px;
}

.ps-home-band--tight {
  margin-top: 24px;
}

.ps-home-stage .ps-eyebrow {
  color: var(--ps-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ps-home-stage .ps-display-title {
  color: var(--ps-ink);
  font-family: var(--ps-display-font);
  font-size: clamp(2.2rem, 4vw, 4.35rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 0.96;
  max-width: 11ch;
}

.ps-home-stage .ps-section-copy {
  color: var(--ps-muted);
  line-height: 1.72;
  max-width: var(--ps-copy-width);
}

.ps-home-stage .ps-section-intro {
  margin-bottom: 24px;
}

.ps-home-stage .ps-section-intro--center .ps-display-title,
.ps-home-stage .ps-section-intro--center .ps-section-copy {
  margin-left: auto;
  margin-right: auto;
}

.ps-home-stage .ps-hero-shell,
.ps-home-stage .ps-trust-item,
.ps-home-stage .ps-feature-card,
.ps-home-stage .ps-faq-item,
.ps-home-stage .ps-symbol-card,
.ps-home-stage .ps-link-card,
.ps-home-stage .ps-product-pillar,
.ps-home-stage .ps-story-block,
.ps-home-stage .ps-ritual-block,
.ps-home-stage .ps-editorial-banner {
  backdrop-filter: blur(12px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 251, 0.88)),
    var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  color: var(--ps-ink);
}

.ps-home-stage .ps-hero-shell {
  margin: 0;
  overflow: hidden;
  padding: 42px;
  position: relative;
}

.ps-home-stage .ps-hero-shell::before {
  background:
    radial-gradient(circle at top right, rgba(15, 123, 129, 0.16), transparent 32%),
    radial-gradient(circle at left center, rgba(114, 130, 145, 0.12), transparent 28%);
  content: "";
  inset: 0;
  position: absolute;
}

.ps-home-stage .ps-hero-shell::after {
  display: none;
}

.ps-home-stage .ps-hero-layout {
  align-items: start;
  gap: 30px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.ps-home-stage .ps-hero-copy {
  max-width: 680px;
}

.ps-home-stage .ps-hero-copy .ps-display-title {
  max-width: 8ch;
}

.ps-hero-proof-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  max-width: 620px;
  padding: 0;
}

.ps-hero-proof-list li {
  align-items: center;
  color: var(--ps-ink);
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 600;
  gap: 12px;
}

.ps-hero-proof-list li::before {
  background: linear-gradient(135deg, var(--ps-accent), #45afb0);
  border-radius: 999px;
  content: "";
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.ps-home-stage .ps-hero-note {
  color: var(--ps-soft);
  letter-spacing: 0;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 60ch;
  text-transform: none;
}

.ps-home-stage .ps-hero-media {
  display: grid;
  gap: 14px;
  min-height: 0;
}

.ps-home-stage .ps-hero-object-card {
  background: linear-gradient(180deg, rgba(14, 20, 27, 0.98), rgba(28, 36, 46, 0.98));
  border: 1px solid rgba(18, 26, 34, 0.08);
  border-radius: 28px;
  color: #eef4f5;
  gap: 18px;
  min-height: 100%;
  overflow: hidden;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ps-home-stage .ps-hero-object-card:hover {
  box-shadow: 0 28px 68px rgba(18, 26, 34, 0.18);
  transform: translateY(-2px);
}

.ps-home-stage .ps-hero-object-card::before {
  background: radial-gradient(circle at top right, rgba(15, 123, 129, 0.22), transparent 32%);
}

.ps-home-stage .ps-hero-object-frame {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 42%), #050708;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.ps-home-stage .ps-hero-object-label {
  color: rgba(238, 244, 245, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ps-home-stage .ps-hero-object-copy strong {
  color: #f9fcfd;
  font-family: var(--ps-display-font);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.ps-home-stage .ps-hero-object-copy p {
  color: rgba(238, 244, 245, 0.78);
  line-height: 1.68;
}

.ps-home-stage .ps-hero-meta-grid {
  gap: 12px;
  margin-top: 0;
}

.ps-home-stage .ps-hero-meta-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 26, 34, 0.08);
  border-radius: 18px;
  min-height: 118px;
  padding: 16px;
}

.ps-home-stage .ps-hero-meta-card strong {
  font-size: 0.94rem;
  line-height: 1.4;
}

.ps-home-stage .ps-hero-meta-card span {
  color: var(--ps-muted);
  display: block;
  font-size: 0.88rem;
  line-height: 1.58;
  margin-top: 8px;
}

.ps-home-stage .ps-trust-bar,
.ps-home-stage .ps-feature-grid,
.ps-home-stage .ps-symbol-grid,
.ps-home-stage .ps-link-grid,
.ps-home-stage .ps-product-pillars {
  gap: 16px;
  margin: 0;
}

.ps-home-stage .ps-trust-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ps-home-stage .ps-feature-grid,
.ps-home-stage .ps-symbol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-home-stage .ps-link-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.ps-home-stage .ps-trust-item,
.ps-home-stage .ps-feature-card,
.ps-home-stage .ps-symbol-card,
.ps-home-stage .ps-link-card,
.ps-home-stage .ps-product-pillar {
  min-height: 100%;
  padding: 22px;
}

.ps-home-stage .ps-trust-item strong,
.ps-home-stage .ps-feature-card strong,
.ps-home-stage .ps-faq-item summary,
.ps-home-stage .ps-symbol-card strong,
.ps-home-stage .ps-link-card strong,
.ps-home-stage .ps-product-pillar strong,
.ps-home-stage .ps-step-copy strong {
  color: var(--ps-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.38;
}

.ps-home-stage .ps-trust-item span,
.ps-home-stage .ps-feature-card p,
.ps-home-stage .ps-faq-item p,
.ps-home-stage .ps-symbol-card p,
.ps-home-stage .ps-link-card p,
.ps-home-stage .ps-product-pillar p,
.ps-home-stage .ps-step-copy p,
.ps-home-stage .ps-story-detail {
  color: var(--ps-muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.ps-home-stage .ps-trust-item::before {
  background: linear-gradient(135deg, var(--ps-accent), rgba(15, 123, 129, 0.2));
  border-radius: 999px;
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 16px;
  width: 10px;
}

.ps-home-stage .ps-story-block {
  gap: 28px;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
  padding: 30px;
}

.ps-home-stage .ps-story-block--split .ps-display-title {
  max-width: 11ch;
}

.ps-home-stage .ps-story-aside {
  background: rgba(244, 248, 249, 0.8);
  border: 1px solid rgba(18, 26, 34, 0.08);
  border-radius: var(--ps-radius-sm);
  padding: 22px;
}

.ps-home-stage .ps-meta-list {
  gap: 12px;
}

.ps-home-stage .ps-meta-list li {
  border-top: 1px solid rgba(18, 26, 34, 0.08);
  color: var(--ps-ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding-top: 12px;
}

.ps-home-stage .ps-meta-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.ps-home-stage .ps-link-card {
  gap: 10px;
  min-height: 248px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ps-home-stage .ps-link-card::before {
  background: radial-gradient(circle at top right, rgba(15, 123, 129, 0.16), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.ps-home-stage .ps-link-card > * {
  position: relative;
  z-index: 1;
}

.ps-home-stage .ps-link-card:hover {
  border-color: rgba(15, 123, 129, 0.28);
  box-shadow: 0 26px 58px rgba(18, 26, 34, 0.12);
  transform: translateY(-2px);
}

.ps-home-stage .ps-link-card--wide {
  grid-column: span 5;
  min-height: 280px;
}

.ps-home-stage .ps-link-card--tall {
  grid-column: span 3;
  min-height: 280px;
}

.ps-home-stage .ps-link-card--accent {
  background:
    linear-gradient(180deg, rgba(224, 241, 241, 0.92), rgba(255, 255, 255, 0.88)),
    var(--ps-surface);
  grid-column: span 4;
  min-height: 280px;
}

.ps-home-stage .ps-link-card__eyebrow {
  color: var(--ps-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ps-home-stage .ps-link-card__meta {
  color: var(--ps-accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 12px;
}

.ps-home-stage .ps-symbol-grid--promises .ps-symbol-card:nth-child(2) {
  transform: translateY(18px);
}

.ps-home-stage .ps-editorial-banner {
  background: linear-gradient(135deg, rgba(10, 14, 19, 0.98), rgba(20, 33, 39, 0.98));
  margin: 0;
  padding: 34px;
}

.ps-home-stage .ps-editorial-banner::before {
  background:
    radial-gradient(circle at top right, rgba(15, 123, 129, 0.28), transparent 30%),
    radial-gradient(circle at left center, rgba(90, 114, 133, 0.16), transparent 24%);
}

.ps-home-stage .ps-editorial-banner .ps-eyebrow,
.ps-home-stage .ps-editorial-banner .ps-display-title,
.ps-home-stage .ps-editorial-banner .ps-section-copy,
.ps-home-stage .ps-editorial-banner .ps-cta-note {
  color: #eef4f5;
}

.ps-home-stage .ps-editorial-banner .ps-display-title {
  max-width: 12ch;
}

.ps-home-stage .ps-editorial-banner .ps-section-copy,
.ps-home-stage .ps-editorial-banner .ps-cta-note {
  color: rgba(238, 244, 245, 0.8);
}

.ps-home-stage .ps-editorial-banner .button.is-outline,
.ps-home-stage .ps-editorial-banner .ps-button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #eef4f5;
}

.ps-home-stage .ps-editorial-banner .button.is-outline:hover,
.ps-home-stage .ps-editorial-banner .ps-button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ps-home-stage .ps-ritual-block {
  padding: 28px;
}

.ps-home-stage .ps-ritual-header {
  margin-bottom: 22px;
}

.ps-home-stage .ps-ritual-header .ps-display-title {
  max-width: 12ch;
}

.ps-home-stage .ps-ritual-steps {
  gap: 16px;
}

.ps-home-stage .ps-ritual-step {
  gap: 16px;
}

.ps-home-stage .ps-step-count {
  background: var(--ps-accent-soft);
  border: 1px solid rgba(15, 123, 129, 0.12);
  color: var(--ps-accent-strong);
  font-family: var(--ps-display-font);
  font-weight: 700;
}

.ps-home-stage .ps-step-copy {
  border-top: 1px solid rgba(18, 26, 34, 0.08);
}

.ps-home-stage .ps-faq {
  gap: 12px;
  margin: 0;
}

.ps-home-stage .ps-faq-item summary {
  padding: 18px 54px 18px 22px;
}

.ps-home-stage .ps-faq-item summary::after {
  color: var(--ps-soft);
  content: "+";
  font-family: var(--ps-display-font);
  font-size: 1.25rem;
  right: 22px;
  top: 16px;
}

.ps-home-stage .ps-faq-item[open] summary::after {
  content: "-";
}

.ps-home-stage .ps-faq-item p {
  border-top: 1px solid rgba(18, 26, 34, 0.08);
}

.ps-home-stage .ps-product-pillars {
  margin: 24px 0 10px;
}

.ps-home-stage .ps-product-pillar {
  background: rgba(244, 248, 249, 0.86);
  border-radius: var(--ps-radius-sm);
  box-shadow: none;
}

.ps-home-stage .ps-cta-row {
  gap: 12px;
  margin-top: 22px;
}

.ps-home-stage .ps-cta-note {
  color: var(--ps-muted);
  line-height: 1.7;
  margin-top: 14px;
}

.ps-home-stage .woocommerce {
  margin: 0;
}

.ps-home-stage .woocommerce ul.products {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.ps-home-stage .woocommerce ul.products::before,
.ps-home-stage .woocommerce ul.products::after {
  display: none;
}

.ps-home-stage .woocommerce ul.products li.product {
  margin: 0;
  width: 100%;
}

.ps-home-stage .woocommerce ul.products li.product .box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 251, 0.88)),
    var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ps-home-stage .woocommerce ul.products li.product:hover .box {
  box-shadow: 0 28px 64px rgba(18, 26, 34, 0.12);
  transform: translateY(-2px);
}

.ps-home-stage .woocommerce ul.products li.product .box-image {
  background: #060809;
  overflow: hidden;
}

.ps-home-stage .woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.ps-home-stage .woocommerce ul.products li.product .box-text {
  padding: 18px 18px 20px;
}

.ps-home-stage .woocommerce ul.products li.product .name,
.ps-home-stage .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ps-ink);
  font-family: var(--ps-display-font);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.ps-home-stage .woocommerce ul.products li.product .price {
  color: var(--ps-accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.ps-home-stage .woocommerce ul.products li.product .button {
  margin-top: 10px;
  width: 100%;
}

@media (max-width: 1100px) {
  .ps-home-stage .ps-hero-layout,
  .ps-home-stage .ps-story-block {
    grid-template-columns: 1fr;
  }

  .ps-home-stage .ps-hero-meta-grid {
    grid-template-columns: 1fr;
  }

  .ps-home-stage .ps-link-card--wide,
  .ps-home-stage .ps-link-card--tall,
  .ps-home-stage .ps-link-card--accent {
    grid-column: span 12;
  }

  .ps-home-stage .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 849px) {
  .ps-home-stage .ps-hero-shell,
  .ps-home-stage .ps-story-block,
  .ps-home-stage .ps-ritual-block,
  .ps-home-stage .ps-editorial-banner {
    padding: 24px;
  }

  .ps-home-stage .ps-display-title,
  .ps-home-stage .ps-hero-copy .ps-display-title,
  .ps-home-stage .ps-section-intro .ps-display-title,
  .ps-home-stage .ps-story-block .ps-display-title,
  .ps-home-stage .ps-ritual-header .ps-display-title,
  .ps-home-stage .ps-editorial-banner .ps-display-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1;
    max-width: 12ch;
  }

  .ps-home-stage .ps-trust-bar,
  .ps-home-stage .ps-feature-grid,
  .ps-home-stage .ps-symbol-grid,
  .ps-home-stage .ps-link-grid,
  .ps-home-stage .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .ps-home-stage .ps-link-card,
  .ps-home-stage .ps-link-card--wide,
  .ps-home-stage .ps-link-card--tall,
  .ps-home-stage .ps-link-card--accent {
    grid-column: span 1;
    min-height: auto;
  }

  .ps-home-stage .ps-symbol-grid--promises .ps-symbol-card:nth-child(2) {
    transform: none;
  }

  .ps-home-band + .ps-home-band {
    margin-top: 20px;
  }
}
