/*
Theme Name: Turning Point
Theme URI: https://matthewgivot.com/
Author: Turning Point
Description: Own block theme for matthewgivot.com - grounded editorial design for an astrology timing reference.
Requires at least: 6.5
Requires PHP: 7.4
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: turningpoint
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(138, 106, 34, 0.11), transparent 28rem),
    linear-gradient(180deg, #fbf8ef 0%, #f2ead9 48%, #ede3cf 100%);
  color: #27231f;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.tp-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.tp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(67, 56, 42, 0.16);
  background: rgba(251, 248, 239, 0.92);
  backdrop-filter: blur(16px);
}

.tp-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
}

.tp-brand {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tp-brand-light {
  color: #fff8e8;
}

.tp-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #5f574b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp-nav a,
.tp-footer a {
  transition: color 160ms ease, opacity 160ms ease;
}

.tp-nav a:hover,
.tp-footer a:hover {
  color: #8a6a22;
}

.tp-header-cta,
.tp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 0.84rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.tp-header-cta,
.tp-button-primary {
  background: #28231e;
  color: #fff8e8;
}

.tp-header-cta:hover,
.tp-button-primary:hover {
  background: #8a6a22;
}

.tp-button-secondary {
  border-color: rgba(39, 35, 31, 0.28);
  color: #28231e;
}

.tp-button-secondary:hover {
  border-color: #8a6a22;
  color: #8a6a22;
}

.tp-button-light {
  background: #fff8e8;
  color: #2b251f;
}

.tp-site h1,
.tp-site h2,
.tp-site h3 {
  margin: 0;
  color: #211d19;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
}

.tp-site p {
  margin: 0;
}

.tp-kicker {
  color: #8a6a22;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tp-hero {
  padding: clamp(56px, 8vw, 108px) 0 clamp(42px, 7vw, 80px);
}

.tp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.tp-hero-copy {
  display: grid;
  gap: 24px;
}

.tp-hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  letter-spacing: 0;
}

.tp-lede {
  max-width: 650px;
  color: #5b5348;
  font-size: clamp(1.05rem, 2vw, 1.23rem);
  line-height: 1.72;
}

.tp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tp-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.tp-proof-strip span {
  border: 1px solid rgba(117, 101, 76, 0.24);
  background: rgba(255, 252, 242, 0.64);
  padding: 0.56rem 0.7rem;
  color: #5c5347;
  font-size: 0.82rem;
  font-weight: 700;
}

.tp-hero-media {
  margin: 0;
  position: relative;
}

.tp-hero-media::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(138, 106, 34, 0.22);
  transform: translate(14px, 14px);
}

.tp-hero-media img {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(47, 38, 26, 0.18);
}

.tp-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.tp-split {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
}

.tp-section h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

.tp-text-stack {
  display: grid;
  gap: 18px;
  color: #514a40;
  font-size: 1.04rem;
  line-height: 1.78;
}

.tp-cards-band,
.tp-faq-band {
  background: #28231e;
  color: #f8efdf;
}

.tp-cards-band h2,
.tp-faq-band h2,
.tp-final-cta h2 {
  color: #fff8e8;
}

.tp-cards-band .tp-section-head p,
.tp-faq-band .tp-section-head p {
  color: #d9cfb8;
}

.tp-section-head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.tp-section-head-left {
  margin-inline: 0;
  text-align: left;
}

.tp-section-head > p:last-child {
  color: #5f574b;
  font-size: 1.04rem;
  line-height: 1.7;
}

.tp-step-grid,
.tp-tool-grid,
.tp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tp-step-card,
.tp-tool-card,
.tp-trust-grid article,
.tp-question-list article {
  border: 1px solid rgba(120, 100, 70, 0.24);
  background: rgba(255, 252, 242, 0.78);
  padding: clamp(22px, 3vw, 32px);
}

.tp-step-card {
  background: rgba(255, 248, 232, 0.08);
  border-color: rgba(255, 248, 232, 0.22);
}

.tp-step-card h3,
.tp-step-card p {
  color: #fff8e8;
}

.tp-step-number {
  display: block;
  margin-bottom: 34px;
  color: #d5a640;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.tp-step-card h3,
.tp-tool-card h3,
.tp-trust-grid h3,
.tp-question-list h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.tp-step-card p,
.tp-tool-card p,
.tp-trust-grid p,
.tp-question-list p {
  color: #5a5146;
  line-height: 1.68;
}

.tp-step-card p {
  color: #d9cfb8;
}

.tp-tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border: 1px solid rgba(138, 106, 34, 0.28);
  background:
    linear-gradient(135deg, rgba(138, 106, 34, 0.2), transparent),
    #fbf8ef;
  position: relative;
}

.tp-icon::before,
.tp-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #8a6a22;
}

.tp-icon-chart::before {
  border-radius: 50%;
}

.tp-icon-chart::after {
  inset: 30px 10px;
  border-width: 1px 0 0;
  transform: rotate(32deg);
}

.tp-icon-transit::before {
  border: 0;
  border-top: 2px solid #8a6a22;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.tp-icon-moon::before {
  border-radius: 50%;
  box-shadow: 14px 0 0 -4px #fbf8ef inset;
}

.tp-icon-saturn::before {
  border-radius: 50%;
}

.tp-icon-saturn::after {
  inset: 28px 8px;
  border-width: 1px 0 0;
  transform: rotate(-18deg);
}

.tp-question-band {
  background: #e7dec9;
}

.tp-question-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: start;
}

.tp-question-layout > div:first-child {
  position: sticky;
  top: 110px;
}

.tp-question-layout > div:first-child p:last-child {
  margin-top: 18px;
  color: #5f574b;
  line-height: 1.72;
}

.tp-question-list {
  display: grid;
  gap: 14px;
}

.tp-question-list span {
  display: block;
  margin-bottom: 10px;
  color: #8a6a22;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tp-trust-grid article {
  background: #fffaf0;
}

.tp-faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.tp-faq-list {
  display: grid;
  gap: 12px;
}

.tp-faq-list details {
  border: 1px solid rgba(255, 248, 232, 0.18);
  background: rgba(255, 248, 232, 0.06);
}

.tp-faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #fff8e8;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.tp-faq-list details p {
  padding: 0 22px 22px;
  color: #d9cfb8;
  line-height: 1.7;
}

.tp-final-cta {
  padding: clamp(70px, 10vw, 130px) 0;
  background:
    linear-gradient(120deg, rgba(33, 29, 25, 0.92), rgba(33, 29, 25, 0.78)),
    url("/wp-content/uploads/2026/08/turningpoint-hero-editorial.webp") center / cover;
  color: #fff8e8;
  text-align: center;
}

.tp-final-cta .tp-shell {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 820px;
}

.tp-final-cta h2 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.1rem);
}

.tp-final-cta p:not(.tp-kicker) {
  max-width: 620px;
  color: #eee1ca;
  font-size: 1.08rem;
  line-height: 1.7;
}

.tp-footer {
  padding: 48px 0 28px;
  background: #211d19;
  color: #d9cfb8;
}

.tp-footer-top,
.tp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.tp-footer-top {
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 248, 232, 0.14);
}

.tp-footer-top p {
  max-width: 460px;
  margin-top: 12px;
  line-height: 1.7;
}

.tp-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px 28px;
  color: #fff8e8;
  font-size: 0.9rem;
}

.tp-footer-bottom {
  align-items: center;
  padding-top: 22px;
  color: #bdb29d;
  font-size: 0.86rem;
}

.tp-footer-bottom a {
  color: #fff8e8;
}

@media (max-width: 920px) {
  .tp-header-inner,
  .tp-hero-grid,
  .tp-split,
  .tp-question-layout,
  .tp-faq-layout {
    grid-template-columns: 1fr;
  }

  .tp-header-inner {
    gap: 14px;
    padding: 14px 0;
  }

  .tp-nav {
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .tp-header-cta {
    justify-self: end;
  }

  .tp-hero {
    padding-top: 46px;
  }

  .tp-step-grid,
  .tp-tool-grid,
  .tp-trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tp-question-layout > div:first-child {
    position: static;
  }
}

@media (max-width: 640px) {
  .tp-shell {
    width: min(100% - 28px, 1120px);
  }

  .tp-header-inner {
    min-height: auto;
  }

  .tp-brand {
    font-size: 0.9rem;
  }

  .tp-header-cta {
    min-height: 40px;
    padding-inline: 0.78rem;
    font-size: 0.68rem;
  }

  .tp-nav {
    gap: 18px;
    font-size: 0.68rem;
  }

  .tp-hero h1 {
    font-size: clamp(2.45rem, 15vw, 3.6rem);
  }

  .tp-actions,
  .tp-button {
    width: 100%;
  }

  .tp-step-grid,
  .tp-tool-grid,
  .tp-trust-grid {
    grid-template-columns: 1fr;
  }

  .tp-hero-media::before {
    display: none;
  }

  .tp-footer-top,
  .tp-footer-bottom {
    display: grid;
  }

  .tp-footer-links {
    grid-template-columns: 1fr;
  }
}

/* Spiritual editorial refresh. */
:root {
  --tp-ink: #17231d;
  --tp-ink-soft: #44534a;
  --tp-sage: #4f715f;
  --tp-sage-dark: #1d3328;
  --tp-sage-mist: #dfe8df;
  --tp-paper: #f7f8f2;
  --tp-cloud: #edf1eb;
  --tp-silver: #a7b2aa;
  --tp-candle: #c49342;
}

body {
  background:
    linear-gradient(180deg, #f9faf6 0%, #eef3ed 46%, #e6ece5 100%);
  color: var(--tp-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 35, 29, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 29, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
}

.tp-header {
  border-bottom-color: rgba(29, 51, 40, 0.13);
  background: rgba(249, 250, 246, 0.9);
}

.tp-brand,
.tp-site h1,
.tp-site h2,
.tp-site h3 {
  color: var(--tp-ink);
}

.tp-nav {
  color: #526057;
}

.tp-nav a:hover,
.tp-footer a:hover,
.tp-kicker,
.tp-question-list span {
  color: var(--tp-sage);
}

.tp-header-cta,
.tp-button-primary {
  background: var(--tp-sage-dark);
  color: #fbfff8;
}

.tp-header-cta:hover,
.tp-button-primary:hover {
  background: var(--tp-sage);
}

.tp-button-secondary {
  border-color: rgba(29, 51, 40, 0.22);
  background: rgba(255, 255, 255, 0.36);
  color: var(--tp-sage-dark);
}

.tp-button-secondary:hover {
  border-color: var(--tp-sage);
  color: var(--tp-sage);
}

.tp-hero {
  padding-top: clamp(48px, 7vw, 88px);
}

.tp-hero h1 {
  max-width: 740px;
  font-size: clamp(3rem, 5vw, 5.45rem);
  line-height: 1.04;
}

.tp-lede,
.tp-text-stack,
.tp-section-head > p:last-child,
.tp-question-layout > div:first-child p:last-child {
  color: var(--tp-ink-soft);
}

.tp-proof-strip span {
  border-color: rgba(79, 113, 95, 0.2);
  background: rgba(255, 255, 255, 0.58);
  color: #4a5b51;
  border-radius: 999px;
}

.tp-hero-media::before {
  border-color: rgba(79, 113, 95, 0.24);
  border-radius: 8px;
}

.tp-hero-media img,
.tp-image-story img,
.tp-wide-image img {
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(26, 45, 35, 0.17);
}

.tp-image-story {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(223, 232, 223, 0.72));
}

.tp-image-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.tp-image-story figure,
.tp-wide-image {
  margin: 0;
}

.tp-image-story img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.tp-image-story h2 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.tp-image-story p:last-child {
  color: var(--tp-ink-soft);
  font-size: 1.06rem;
  line-height: 1.76;
}

.tp-cards-band,
.tp-faq-band {
  background:
    linear-gradient(135deg, #17231d 0%, #20382c 100%);
  color: #f7fbf4;
}

.tp-cards-band h2,
.tp-faq-band h2,
.tp-final-cta h2,
.tp-step-card h3,
.tp-step-card p {
  color: #f8fff4;
}

.tp-cards-band .tp-section-head p,
.tp-faq-band .tp-section-head p,
.tp-step-card p,
.tp-faq-list details p {
  color: #d9e4d8;
}

.tp-step-card,
.tp-faq-list details {
  border-color: rgba(223, 232, 223, 0.2);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.tp-step-number {
  color: var(--tp-candle);
}

.tp-wide-image {
  margin-bottom: 22px;
}

.tp-wide-image img {
  aspect-ratio: 21 / 8;
  width: 100%;
  object-fit: cover;
}

.tp-step-card,
.tp-tool-card,
.tp-trust-grid article,
.tp-question-list article {
  border-color: rgba(79, 113, 95, 0.22);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 8px;
}

.tp-tool-card,
.tp-trust-grid article,
.tp-question-list article {
  box-shadow: 0 18px 44px rgba(36, 58, 45, 0.08);
}

.tp-tool-card p,
.tp-trust-grid p,
.tp-question-list p {
  color: var(--tp-ink-soft);
}

.tp-icon {
  border-color: rgba(79, 113, 95, 0.28);
  background:
    linear-gradient(135deg, rgba(79, 113, 95, 0.15), transparent),
    #f8fbf4;
  border-radius: 8px;
}

.tp-icon::before,
.tp-icon::after {
  border-color: var(--tp-sage);
}

.tp-icon-transit::before {
  border-top-color: var(--tp-sage);
}

.tp-icon-moon::before {
  box-shadow: 14px 0 0 -4px #f8fbf4 inset;
}

.tp-question-band {
  background: #dfe8df;
}

.tp-faq-list summary {
  color: #f8fff4;
}

.tp-final-cta {
  background:
    linear-gradient(120deg, rgba(23, 35, 29, 0.92), rgba(29, 51, 40, 0.72)),
    url("/wp-content/uploads/2026/08/turningpoint-ritual-decision.webp") center / cover;
  color: #f8fff4;
}

.tp-final-cta p:not(.tp-kicker) {
  color: #d9e4d8;
}

.tp-button-light {
  background: #f8fff4;
  color: var(--tp-sage-dark);
}

.tp-button-light:hover {
  background: var(--tp-sage-mist);
}

.tp-footer {
  background: #142019;
  color: #d9e4d8;
}

.tp-footer-top {
  border-bottom-color: rgba(248, 255, 244, 0.14);
}

.tp-brand-light,
.tp-footer-links,
.tp-footer-bottom a {
  color: #f8fff4;
}

@media (prefers-reduced-motion: no-preference) {
  .tp-button,
  .tp-header-cta,
  .tp-tool-card,
  .tp-question-list article,
  .tp-trust-grid article {
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease;
  }

  .tp-button:active,
  .tp-header-cta:active {
    transform: translateY(1px);
  }

  .tp-tool-card:hover,
  .tp-question-list article:hover,
  .tp-trust-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 113, 95, 0.42);
    box-shadow: 0 24px 60px rgba(36, 58, 45, 0.13);
  }
}

@media (max-width: 920px) {
  .tp-image-story-grid {
    grid-template-columns: 1fr;
  }

  .tp-wide-image img {
    aspect-ratio: 16 / 9;
  }
}

/* Compact midnight refresh. */
:root {
  --tp-midnight: #071514;
  --tp-panel: #0d2422;
  --tp-panel-soft: #12312e;
  --tp-ink: #13201f;
  --tp-ink-soft: #41504f;
  --tp-mist: #eef3ef;
  --tp-mist-2: #dde8e3;
  --tp-line: rgba(19, 32, 31, 0.14);
  --tp-accent: #d2a24f;
  --tp-teal: #2d7771;
  --tp-white: #fbfffb;
}

body {
  background: linear-gradient(180deg, #f4f7f2 0%, #e8f0eb 100%);
  color: var(--tp-ink);
}

body::before {
  display: none;
}

.tp-shell {
  width: min(1180px, calc(100% - 32px));
}

.tp-header {
  border-bottom: 1px solid var(--tp-line);
  background: rgba(244, 247, 242, 0.94);
}

.tp-header-inner {
  grid-template-columns: minmax(160px, auto) 1fr auto;
  min-height: 62px;
  gap: 18px;
}

.tp-brand {
  color: var(--tp-midnight);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.tp-nav {
  gap: clamp(14px, 2vw, 26px);
  color: #30413f;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.tp-header-cta,
.tp-button {
  min-height: 40px;
  padding: 0.72rem 1rem;
  border-radius: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.tp-header-cta,
.tp-button-primary {
  background: var(--tp-midnight);
  color: var(--tp-white);
}

.tp-header-cta:hover,
.tp-button-primary:hover {
  background: var(--tp-teal);
}

.tp-button-secondary {
  border-color: rgba(7, 21, 20, 0.24);
  background: rgba(255, 255, 255, 0.48);
  color: var(--tp-midnight);
}

.tp-hero {
  min-height: auto;
  padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px);
}

.tp-hero-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.9fr);
  gap: clamp(22px, 4vw, 46px);
}

.tp-hero-copy {
  gap: 15px;
}

.tp-kicker {
  color: var(--tp-teal);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.tp-hero h1 {
  max-width: 590px;
  font-size: clamp(2.5rem, 4.45vw, 4.75rem);
  line-height: 0.98;
}

.tp-lede {
  max-width: 560px;
  color: var(--tp-ink-soft);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.55;
}

.tp-actions {
  gap: 10px;
}

.tp-proof-strip {
  gap: 8px;
  padding-top: 0;
}

.tp-proof-strip span {
  border-color: rgba(45, 119, 113, 0.22);
  background: rgba(255, 255, 255, 0.64);
  padding: 0.42rem 0.58rem;
  color: #314441;
  font-size: 0.74rem;
}

.tp-hero-media::before {
  inset: -8px;
  border-color: rgba(45, 119, 113, 0.26);
  transform: translate(8px, 8px);
}

.tp-hero-media img {
  aspect-ratio: 16 / 10.4;
  max-height: 520px;
}

.tp-hero-media img,
.tp-image-story img,
.tp-wide-image img {
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(7, 21, 20, 0.22);
}

.tp-section,
.tp-image-story {
  padding: clamp(34px, 5vw, 58px) 0;
}

.tp-split,
.tp-image-story-grid,
.tp-question-layout,
.tp-faq-layout {
  gap: clamp(22px, 4vw, 48px);
}

.tp-section h2,
.tp-image-story h2 {
  font-size: clamp(1.75rem, 3vw, 2.9rem);
  line-height: 1.06;
}

.tp-text-stack,
.tp-image-story p:last-child,
.tp-question-layout > div:first-child p:last-child {
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.tp-image-story {
  background: linear-gradient(180deg, rgba(221, 232, 227, 0.84), rgba(238, 243, 239, 0.68));
}

.tp-image-story-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
}

.tp-image-story img {
  aspect-ratio: 16 / 8.4;
}

.tp-cards-band,
.tp-faq-band {
  background: linear-gradient(135deg, var(--tp-midnight) 0%, var(--tp-panel-soft) 100%);
}

.tp-section-head {
  gap: 9px;
  max-width: 660px;
  margin-bottom: 22px;
}

.tp-section-head > p:last-child {
  font-size: 0.98rem;
  line-height: 1.5;
}

.tp-step-grid,
.tp-tool-grid,
.tp-trust-grid {
  gap: 12px;
}

.tp-step-card,
.tp-tool-card,
.tp-trust-grid article,
.tp-question-list article {
  border-color: rgba(45, 119, 113, 0.2);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  padding: clamp(16px, 2vw, 22px);
}

.tp-step-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 255, 251, 0.16);
}

.tp-step-number {
  margin-bottom: 16px;
  color: var(--tp-accent);
  font-size: 1.55rem;
}

.tp-step-card h3,
.tp-tool-card h3,
.tp-trust-grid h3,
.tp-question-list h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.tp-step-card p,
.tp-tool-card p,
.tp-trust-grid p,
.tp-question-list p {
  font-size: 0.93rem;
  line-height: 1.5;
}

.tp-wide-image {
  margin-bottom: 14px;
}

.tp-wide-image img {
  aspect-ratio: 21 / 6.5;
}

.tp-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 6px;
}

.tp-icon::before,
.tp-icon::after {
  inset: 10px;
}

.tp-question-band {
  background: var(--tp-mist-2);
}

.tp-question-list {
  gap: 10px;
}

.tp-question-list span {
  margin-bottom: 6px;
  color: var(--tp-teal);
  font-size: 0.66rem;
}

.tp-faq-list {
  gap: 8px;
}

.tp-faq-list details {
  border-radius: 6px;
}

.tp-faq-list summary {
  padding: 15px 18px;
  font-size: 0.98rem;
}

.tp-faq-list details p {
  padding: 0 18px 16px;
  font-size: 0.94rem;
  line-height: 1.52;
}

.tp-final-cta {
  padding: clamp(42px, 6vw, 78px) 0;
  background:
    linear-gradient(120deg, rgba(7, 21, 20, 0.92), rgba(18, 49, 46, 0.72)),
    url("/wp-content/uploads/2026/08/turningpoint-midnight-planning.webp") center / cover;
}

.tp-final-cta .tp-shell {
  gap: 12px;
  max-width: 720px;
}

.tp-final-cta h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
}

.tp-final-cta p:not(.tp-kicker) {
  font-size: 0.98rem;
  line-height: 1.5;
}

.tp-footer {
  padding: 32px 0 20px;
  background: var(--tp-midnight);
}

.tp-footer-top {
  padding-bottom: 22px;
}

.tp-footer-top p,
.tp-footer-bottom {
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .tp-header-inner {
    min-height: 58px;
    padding: 10px 0;
  }

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

  .tp-hero-media img {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .tp-shell {
    width: min(100% - 24px, 1180px);
  }

  .tp-header-inner {
    justify-content: center;
  }

  .tp-brand {
    width: 100%;
    text-align: center;
  }

  .tp-nav {
    display: none;
  }

  .tp-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.05rem);
  }

  .tp-header-cta {
    display: none;
  }

  .tp-section,
  .tp-image-story {
    padding: 30px 0;
  }
}
