/* PorcelainSoul Modern Talisman design system. */

:root {
  --ps-ink: #1b1917;
  --ps-muted: #6d655c;
  --ps-soft: #8c847c;
  --ps-line: #ddd5cc;
  --ps-surface: #f8f4ee;
  --ps-surface-strong: #f1ebe2;
  --ps-deep-surface: #ece3d7;
  --ps-accent: #8a5a42;
  --ps-accent-strong: #68402f;
  --ps-jade: #6d8b86;
  --ps-shadow: 0 18px 46px rgba(35, 26, 17, 0.08);
  --ps-radius: 22px;
  --ps-radius-sm: 14px;
  --ps-copy-width: 760px;
  --ps-display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --ps-body-font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

.ps-brand-modern-talisman .button,
.ps-button {
  background: var(--ps-accent);
  border-color: var(--ps-accent);
  border-radius: 999px;
  box-shadow: none;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 0 22px;
  text-transform: uppercase;
}

.ps-brand-modern-talisman .button:hover,
.ps-button:hover {
  background: var(--ps-accent-strong);
  border-color: var(--ps-accent-strong);
  color: #fff;
}

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

.ps-brand-modern-talisman .button.is-outline:hover,
.ps-button--ghost:hover {
  background: var(--ps-surface);
  border-color: var(--ps-accent);
  color: var(--ps-accent-strong);
}

.ps-section {
  padding: 48px 0;
}

.ps-eyebrow {
  color: var(--ps-accent);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ps-display-title {
  color: var(--ps-ink);
  font-family: var(--ps-display-font);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
}

.ps-section-copy {
  color: var(--ps-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 16px 0 0;
  max-width: var(--ps-copy-width);
}

.ps-section-intro {
  margin: 0 auto 28px;
}

.ps-section-intro--center {
  text-align: center;
}

.ps-section-intro--center .ps-section-copy {
  margin-left: auto;
  margin-right: auto;
}

.ps-hero-shell {
  background:
    radial-gradient(circle at top right, rgba(109, 139, 134, 0.18), transparent 36%),
    linear-gradient(135deg, #fbf7f1 0%, #f3ece2 100%);
  border: 1px solid rgba(138, 90, 66, 0.1);
  border-radius: calc(var(--ps-radius) + 6px);
  box-shadow: var(--ps-shadow);
  margin: 12px 0 28px;
  overflow: hidden;
  padding: 42px;
  position: relative;
}

.ps-hero-shell::after {
  background: linear-gradient(90deg, rgba(138, 90, 66, 0.22), rgba(109, 139, 134, 0.1));
  content: "";
  height: 1px;
  left: 42px;
  position: absolute;
  right: 42px;
  top: 112px;
}

.ps-hero-layout {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  position: relative;
  z-index: 1;
}

.ps-hero-copy {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.ps-hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ps-hero-chip {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(138, 90, 66, 0.12);
  border-radius: 999px;
  color: var(--ps-ink);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
}

.ps-hero-meta-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.ps-hero-meta-card {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(138, 90, 66, 0.12);
  border-radius: 18px;
  min-height: 104px;
  padding: 14px 16px;
}

.ps-hero-meta-card strong {
  color: var(--ps-ink);
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

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

.ps-hero-note {
  color: var(--ps-soft);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-top: 18px;
  text-transform: uppercase;
}

.ps-hero-media {
  min-height: 100%;
  position: relative;
}

.ps-hero-object-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 244, 238, 0.98));
  border: 1px solid rgba(138, 90, 66, 0.14);
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(35, 26, 17, 0.12);
  color: inherit;
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 22px;
  position: relative;
  text-decoration: none;
}

.ps-hero-object-card::before {
  background: radial-gradient(circle at top right, rgba(109, 139, 134, 0.2), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.ps-hero-object-card > * {
  position: relative;
  z-index: 1;
}

.ps-hero-object-frame {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #ffffff, #f4ece1);
  border: 1px solid rgba(138, 90, 66, 0.08);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
}

.ps-hero-object-image {
  display: block;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 100%;
}

.ps-hero-object-label {
  color: var(--ps-soft);
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ps-hero-object-copy strong {
  color: var(--ps-ink);
  display: block;
  font-family: var(--ps-display-font);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.ps-hero-object-copy p {
  color: var(--ps-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 10px 0 0;
}

.ps-hero-floating-note {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(138, 90, 66, 0.12);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(35, 26, 17, 0.08);
  color: var(--ps-ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 220px;
  padding: 10px 14px;
  position: absolute;
  z-index: 2;
}

.ps-hero-floating-note--upper {
  left: -18px;
  top: 28px;
}

.ps-hero-floating-note--lower {
  bottom: 36px;
  right: -16px;
}

.ps-trust-bar,
.ps-feature-grid,
.ps-symbol-grid,
.ps-link-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

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

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

.ps-trust-item,
.ps-feature-card,
.ps-faq-item,
.ps-symbol-card,
.ps-link-card,
.ps-product-pillar,
.ps-story-block,
.ps-ritual-block {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 244, 238, 0.96)),
    var(--ps-surface);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  color: var(--ps-ink);
}

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

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

.ps-trust-item span,
.ps-feature-card p,
.ps-faq-item p,
.ps-symbol-card p,
.ps-link-card p,
.ps-product-pillar p,
.ps-step-copy p,
.ps-story-detail {
  color: var(--ps-muted);
  display: block;
  font-size: 0.96rem;
  line-height: 1.68;
  margin: 8px 0 0;
}

.ps-link-card {
  align-content: end;
  display: grid;
  gap: 10px;
  min-height: 230px;
  position: relative;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ps-link-card:hover {
  border-color: rgba(138, 90, 66, 0.28);
  box-shadow: 0 20px 50px rgba(35, 26, 17, 0.11);
  transform: translateY(-2px);
}

.ps-link-card__eyebrow {
  color: var(--ps-soft);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ps-link-card__meta {
  color: var(--ps-accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 10px;
}

.ps-inline-link {
  color: var(--ps-accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.ps-inline-link:hover {
  color: var(--ps-accent);
}

.ps-editorial-banner {
  background: linear-gradient(135deg, rgba(27, 25, 23, 0.97), rgba(65, 47, 35, 0.94));
  border-radius: calc(var(--ps-radius) + 2px);
  box-shadow: var(--ps-shadow);
  color: #f7f1e8;
  margin: 34px 0;
  overflow: hidden;
  padding: 32px;
  position: relative;
}

.ps-editorial-banner::before {
  background: radial-gradient(circle at top right, rgba(109, 139, 134, 0.45), transparent 38%);
  content: "";
  inset: 0;
  position: absolute;
}

.ps-editorial-banner > * {
  position: relative;
  z-index: 1;
}

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

.ps-editorial-banner .ps-section-copy,
.ps-editorial-banner .ps-cta-note {
  opacity: 0.86;
}

.ps-story-block {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
  padding: 28px;
}

.ps-story-aside {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(138, 90, 66, 0.12);
  border-radius: calc(var(--ps-radius) - 8px);
  padding: 22px;
}

.ps-meta-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.ps-meta-list li {
  border-top: 1px solid rgba(138, 90, 66, 0.12);
  color: var(--ps-ink);
  padding-top: 10px;
}

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

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

.ps-ritual-header {
  margin-bottom: 20px;
}

.ps-ritual-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-ritual-step {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: 52px minmax(0, 1fr);
}

.ps-step-count {
  align-items: center;
  background: var(--ps-deep-surface);
  border: 1px solid rgba(138, 90, 66, 0.12);
  border-radius: 999px;
  color: var(--ps-accent-strong);
  display: inline-flex;
  font-family: var(--ps-display-font);
  font-size: 1.2rem;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.ps-step-copy {
  border-top: 1px solid rgba(138, 90, 66, 0.12);
  padding-top: 12px;
}

.ps-ritual-step:first-child .ps-step-copy {
  border-top: 0;
  padding-top: 0;
}

.ps-faq {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.ps-faq-item {
  overflow: hidden;
  padding: 0;
}

.ps-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  position: relative;
}

.ps-faq-item summary::-webkit-details-marker {
  display: none;
}

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

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

.ps-faq-item p {
  border-top: 1px solid rgba(138, 90, 66, 0.12);
  padding: 14px 22px 20px;
}

.ps-product-pillars {
  display: grid;
  gap: 12px;
  margin: 24px 0 10px;
}

.ps-product-pillar {
  background: rgba(248, 244, 238, 0.72);
  border-radius: var(--ps-radius-sm);
  box-shadow: none;
  padding: 16px 18px;
}

.ps-product-pillar strong {
  font-size: 0.98rem;
}

.ps-product-pillar p {
  font-size: 0.9rem;
  margin-top: 5px;
}

.ps-cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ps-cta-note {
  color: var(--ps-muted);
  font-size: 0.92rem;
}

@media (max-width: 849px) {
  .ps-section {
    padding: 32px 0;
  }

  .ps-hero-layout,
  .ps-trust-bar,
  .ps-feature-grid,
  .ps-symbol-grid,
  .ps-link-grid,
  .ps-story-block {
    grid-template-columns: 1fr;
  }

  .ps-hero-shell {
    padding: 30px 24px;
  }

  .ps-hero-shell::after {
    left: 24px;
    right: 24px;
    top: 98px;
  }

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

  .ps-hero-media {
    padding-top: 10px;
  }

  .ps-hero-floating-note {
    max-width: none;
    position: static;
  }

  .ps-hero-floating-note--upper,
  .ps-hero-floating-note--lower {
    margin-top: 12px;
  }

  .ps-story-block,
  .ps-ritual-block {
    padding: 22px;
  }

  .ps-trust-item,
  .ps-feature-card,
  .ps-symbol-card,
  .ps-link-card {
    min-height: auto;
  }

  .ps-step-count {
    height: 46px;
    width: 46px;
  }
}
