/* ==========================================================================
   The Powerspot - Inner Pages Stylesheet (About Us & Contact Us)
   Excludes Global Header, Navigation, and Footer
   ========================================================================== */

:root {
  --ps-sand: #fbfaf8;
  --ps-clay: #f4f1ea;
  --ps-earth: #3f3f46;
  --ps-moss: #6b6b63;
  --ps-amber-glow: #c8935a;
  --ps-border: rgba(63, 63, 70, 0.12);
  --ps-border-strong: rgba(63, 63, 70, 0.2);
  --ps-font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ps-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Shared Inner Page Utilities & Typography
   -------------------------------------------------------------------------- */

.ps-inner-page {
  background-color: var(--ps-sand);
  color: var(--ps-earth);
  font-family: var(--ps-font-sans);
  font-size: 14px;
  line-height: 1.7;
}

.ps-inner-page * {
  box-sizing: border-box;
}

.ps-container {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}

.ps-section {
  padding-block: 100px;
}

.ps-eyebrow {
  color: var(--ps-amber-glow);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 20px;
}

.ps-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 9999px;
  height: 48px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.ps-pill-primary {
  background-color: var(--ps-earth);
  color: var(--ps-sand);
}

.ps-pill-primary:hover {
  background-color: rgba(63, 63, 70, 0.9);
  color: var(--ps-sand);
}

.ps-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ps-earth);
  text-decoration: none;
  border-bottom: 1px solid var(--ps-border-strong);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ps-text-link:hover {
  color: var(--ps-amber-glow);
  border-color: var(--ps-amber-glow);
}

/* --------------------------------------------------------------------------
   Page Intro / Hero Banner (Shared)
   -------------------------------------------------------------------------- */

.ps-page-intro {
  padding-block: 80px 70px;
}

.ps-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ps-moss);
  margin-bottom: 32px;
}

.ps-breadcrumb a {
  color: var(--ps-moss);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ps-breadcrumb a:hover {
  color: var(--ps-amber-glow);
}

.ps-page-intro h1 {
  font-family: var(--ps-font-serif);
  font-weight: 400;
  font-size: 68px;
  line-height: 1.05;
  color: var(--ps-earth);
  margin: 0 0 24px 0;
}

.ps-page-intro h1 em {
  font-style: italic;
}

.ps-page-intro-description {
  color: var(--ps-moss);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* --------------------------------------------------------------------------
   About Page - Story Grid
   -------------------------------------------------------------------------- */

.ps-about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.ps-about-photo {
  aspect-ratio: 1;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(63, 63, 70, 0.08);
}

.ps-prose h2 {
  font-family: var(--ps-font-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 24px 0;
}

.ps-prose h2 em {
  font-style: italic;
}

.ps-prose p {
  color: var(--ps-moss);
  margin: 16px 0 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.ps-prose .ps-text-link {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   About Page - Science & Intention Section
   -------------------------------------------------------------------------- */

.ps-science {
  background-color: var(--ps-clay);
  border-block: 1px solid var(--ps-border);
}

.ps-science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}

.ps-science-details {
  display: grid;
  gap: 28px;
}

.ps-science-detail {
  border-bottom: 1px solid var(--ps-border);
  padding-bottom: 24px;
}

.ps-science-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ps-science-detail h3 {
  font-family: var(--ps-font-serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 10px 0;
  color: var(--ps-earth);
}

.ps-science-detail p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ps-moss);
  margin: 0;
}

/* --------------------------------------------------------------------------
   About Page - Core Principles Section
   -------------------------------------------------------------------------- */

.ps-principles-header {
  margin-bottom: 50px;
}

.ps-principles-header h2 {
  font-family: var(--ps-font-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
  margin: 0;
}

.ps-principles-header h2 em {
  font-style: italic;
}

.ps-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.ps-principle-card {
  border-top: 1px solid var(--ps-border);
  padding-top: 24px;
}

.ps-principle-number {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ps-moss);
  opacity: 0.7;
}

.ps-principle-card h3 {
  font-family: var(--ps-font-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 16px 0 12px 0;
  color: var(--ps-earth);
}

.ps-principle-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ps-moss);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contact Page - Form & Layout
   -------------------------------------------------------------------------- */

.ps-contact-section {
  padding-top: 20px;
}

.ps-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 90px;
}

.ps-contact-form {
  display: grid;
  gap: 22px;
}

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

.ps-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ps-form-field label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  font-weight: 600;
  color: var(--ps-earth);
}

.ps-form-field input,
.ps-form-field select,
.ps-form-field textarea {
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  background-color: #ffffff;
  padding: 13px 16px;
  color: var(--ps-earth);
  font-family: var(--ps-font-sans);
  font-size: 13px;
  line-height: 1.5;
  width: 100%;
  transition: border-color 0.2s ease, outline-color 0.2s ease;
}

.ps-form-field input:focus,
.ps-form-field select:focus,
.ps-form-field textarea:focus {
  outline: 1px solid var(--ps-amber-glow);
  border-color: var(--ps-amber-glow);
}

.ps-form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.ps-form-note {
  font-size: 11px;
  color: var(--ps-moss);
  margin: 0;
}

.ps-form-success {
  border-left: 3px solid var(--ps-amber-glow);
  padding: 14px 20px;
  background-color: var(--ps-clay);
  font-size: 13px;
  color: var(--ps-earth);
  border-radius: 0 4px 4px 0;
}

/* --------------------------------------------------------------------------
   Contact Page - Sidebar & Direct Channels
   -------------------------------------------------------------------------- */

.ps-contact-aside {
  border-left: 1px solid var(--ps-border);
  padding-left: 50px;
}

.ps-contact-aside h2 {
  font-family: var(--ps-font-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 32px 0;
}

.ps-contact-aside h2 em {
  font-style: italic;
}

.ps-contact-channel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.ps-contact-channel-icon {
  width: 20px;
  height: 20px;
  color: var(--ps-amber-glow);
  flex-shrink: 0;
  margin-top: 2px;
}

.ps-contact-channel .ps-eyebrow {
  margin-bottom: 4px;
  font-size: 10px;
}

.ps-contact-channel a,
.ps-contact-channel span {
  font-size: 13px;
  color: var(--ps-earth);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ps-contact-channel a:hover {
  color: var(--ps-amber-glow);
}

.ps-free-call-box {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--ps-border);
}

.ps-free-call-box h3 {
  font-family: var(--ps-font-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 10px 0;
  color: var(--ps-earth);
}

.ps-free-call-box p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ps-moss);
  margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */

.ps-faq {
  background-color: var(--ps-clay);
  border-top: 1px solid var(--ps-border);
}

.ps-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.ps-faq-grid h2 {
  font-family: var(--ps-font-serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.ps-faq-grid h2 em {
  font-style: italic;
}

.ps-faq-list details {
  border-bottom: 1px solid var(--ps-border);
  padding-block: 22px;
}

.ps-faq-list details:first-child {
  padding-top: 0;
}

.ps-faq-list summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--ps-earth);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.ps-faq-list summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--ps-amber-glow);
  line-height: 1;
}

.ps-faq-list details[open] summary::after {
  content: '−';
}

.ps-faq-answer {
  overflow: hidden;
  will-change: height, opacity;
}

.ps-faq-list details p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ps-moss);
  margin: 14px 0 0 0;
}

.ps-faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.ps-faq-list summary::after {
  transition: transform .3s ease;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .ps-container {
    width: calc(100% - 48px);
  }

  .ps-page-intro h1 {
    font-size: 52px;
  }

  .ps-about-story-grid,
  .ps-science-grid,
  .ps-faq-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .ps-contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ps-contact-aside {
    border-left: none;
    border-top: 1px solid var(--ps-border);
    padding-left: 0;
    padding-top: 40px;
  }

  .ps-principles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .ps-container {
    width: calc(100% - 36px);
  }

  .ps-section {
    padding-block: 65px;
  }

  .ps-page-intro {
    padding-block: 45px 50px;
  }

  .ps-page-intro h1 {
    font-size: 42px;
  }

  .ps-prose h2,
  .ps-principles-header h2,
  .ps-faq-grid h2 {
    font-size: 36px;
  }

  .ps-form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* Contact Form 7 inside the Contact page template */
.ps-contact-form .wpcf7-form {
  display: grid;
  gap: 22px;
}

.ps-contact-form .wpcf7-form p {
  margin: 0;
}

.ps-contact-form .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ps-earth);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ps-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.ps-contact-form .wpcf7-form input:not([type="submit"]),
.ps-contact-form .wpcf7-form select,
.ps-contact-form .wpcf7-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  background: #fff;
  color: var(--ps-earth);
  font-family: var(--ps-font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.ps-contact-form .wpcf7-form input:focus,
.ps-contact-form .wpcf7-form select:focus,
.ps-contact-form .wpcf7-form textarea:focus {
  outline: 1px solid var(--ps-amber-glow);
  border-color: var(--ps-amber-glow);
}

.ps-contact-form .wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.ps-contact-form .wpcf7-submit {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ps-earth);
  border-radius: 9999px;
  background: var(--ps-earth);
  color: var(--ps-sand);
  cursor: pointer;
  font-family: var(--ps-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ps-contact-form .wpcf7-submit:hover {
  opacity: .9;
}

.ps-contact-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: normal;
  text-transform: none;
}

.ps-contact-form .wpcf7-response-output {
  margin: 0 !important;
  padding: 14px 20px !important;
  border-width: 0 0 0 3px !important;
  border-color: var(--ps-amber-glow) !important;
  background: var(--ps-clay);
  font-size: 13px;
}
