/* =============================================
   VICTORIA PHILLIPS — MAIN STYLESHEET
   Mobile-first responsive design
   Fonts: Rubik (body), Playfair Display (headings)
   ============================================= */

/* -----------------------------------------
   CSS CUSTOM PROPERTIES
   ----------------------------------------- */
:root {
  /* Brand palette */
  --color-primary:       #208390;
  --color-primary-hover: #1a6e79;
  --color-primary-light: rgba(32, 131, 144, 0.10);
  --color-foreground:    #08b7c4;

  /* Accents */
  --color-yellow:   #ffe97d;
  --color-teal-lt:  #c0ebf1;

  /* Surfaces */
  --bg-body:        #fcfbf0;
  --bg-surface:     #ffffff;
  --bg-surface-alt: #f5f4e8;

  /* Text */
  --text-primary:   #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted:     #7a7a7a;
  --text-inverse:   #ffffff;
  --text-link:      #1d7682;
  --text-link-hover:#155a63;

  /* Navbar */
  --nav-bg:         #04617b;
  --nav-text:       #fcfbf0;
  --nav-accent:     #08b7c4;

  /* Hero */
  --hero-bg-from:   #032b3a;
  --hero-bg-mid:    #04617b;
  --hero-bg-to:     #1a9ea8;
  --hero-glow:      rgba(8, 183, 196, 0.18);

  /* Footer */
  --footer-bg:      #04617b;
  --footer-text:    #fcfbf0;

  /* Misc */
  --border-color:   rgba(0, 0, 0, 0.08);
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.12);

  /* Layout */
  --max-width:      1040px;
  --border-radius:  8px;
  --border-radius-lg: 12px;
  --navbar-height: 64px;
}

/* -----------------------------------------
   RESET & BASE
   ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-link-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary);
  color: var(--text-inverse);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

.site-wip-banner {
  background: #ffe97d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.45rem 1rem;
  text-align: center;
}

.site-wip-banner__title,
.site-wip-banner__copy {
  margin: 0;
  color: #2f2a1f;
}

.site-wip-banner__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-wip-banner__copy {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* -----------------------------------------
   TYPOGRAPHY
   ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

strong { font-weight: 600; }

/* -----------------------------------------
   CONTAINER
   ----------------------------------------- */
.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* -----------------------------------------
   NAVBAR
   ----------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--navbar-height);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nav-text);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-brand:hover {
  color: var(--nav-accent);
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  margin-left: auto; /* keep the hamburger on the right */
  z-index: 1001;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--nav-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.nav-toggle.is-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-links {
  position: fixed;
  top: var(--navbar-height);
  right: -100%;
  width: 280px;
  height: calc(100vh - var(--navbar-height));
  background-color: var(--nav-bg);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 999;
  padding: 1rem 0;
}

.nav-links.is-open {
  right: 0;
}

.nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--nav-text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--nav-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--nav-accent);
  font-weight: 600;
}

.nav-item--has-dropdown > a {
  position: relative;
}

.nav-dropdown {
  margin: 0;
  padding: 0 0 0.5rem;
  background: rgba(0, 0, 0, 0.08);
}

.nav-dropdown li {
  border-bottom: none;
}

.nav-dropdown a {
  padding: 0.75rem 2.25rem;
  font-size: 0.92rem;
}

/* -----------------------------------------
   HERO SECTIONS
   ----------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--hero-bg-from) 0%, var(--hero-bg-mid) 45%, var(--hero-bg-to) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 65%;
  height: 100%;
  background: var(--rp-logo-wave) no-repeat center;
  /* Scaled past the box on purpose: the mark is height-constrained here, so `contain` left it
     smaller than the space. The hero's overflow:hidden crops the excess at its own edges. */
  background-size: auto 150%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 1.0625rem;
  color: var(--text-inverse);
  opacity: 0.88;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-subtext {
  font-size: 0.9375rem;
  color: var(--text-inverse);
  opacity: 0.72;
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.5;
}

/* Per-page hero variants */
.hero-home {
  padding: 2.2rem 0 4rem;
  text-align: left;
  min-height: 420px;
  display: flex;
  align-items: center;
}

/* Home hero title color swap preview: main line yellow, accent white */
.hero-home h1 {
  color: var(--color-yellow);
}

.hero-home .hero-accent {
  color: var(--text-inverse);
}

/* Split layout: text left, visual right */
.hero-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-split .hero-content {
  margin: 0;
  max-width: 100%;
}

/* Accent word in h1 */
.hero-accent {
  color: var(--color-yellow);
}

/* Dual CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cta-outline {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(255,255,255,0.5);
}
.cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--text-inverse);
  color: var(--text-inverse);
}

/* Decorative visual column */
.hero-visual {
  display: none;
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  color: var(--text-inverse);
}

.hero-headshot-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shape-ring {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.2);
  top: 10%;
  right: 5%;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-shape-dot {
  width: 14px;
  height: 14px;
  background: var(--color-yellow);
  opacity: 0.7;
  bottom: 20%;
  right: 15%;
  animation: hero-float 4s ease-in-out infinite reverse;
}

.hero-shape-square {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  top: 55%;
  left: 5%;
  transform: rotate(45deg);
  animation: hero-float 5s ease-in-out infinite 1s;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-workwithme,
.hero-contact {
  padding: 3rem 0 3.5rem;
}

/* -----------------------------------------
   CONTENT SECTIONS
   ----------------------------------------- */
.content-section {
  padding: 3.5rem 0;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.75;
}

/* -----------------------------------------
   BUTTONS
   ----------------------------------------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-inverse);
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--text-inverse);
}

.cta-button.small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Placeholder images (until real photos are added) */

.product-icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-primary);
}

/* -----------------------------------------
   STYLED LIST
   ----------------------------------------- */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.styled-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.styled-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* -----------------------------------------
   PRODUCT CARDS
   ----------------------------------------- */
.products-showcase {
  margin: 2rem 0;
}

.showcase-header {
  text-align: center;
  margin-bottom: 2rem;
}

.showcase-header h2,
.showcase-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Home page consultation spotlight */
.home-consultation {
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(8, 183, 196, 0.16) 0%, rgba(8, 183, 196, 0) 50%),
    radial-gradient(circle at 86% 88%, rgba(4, 97, 123, 0.12) 0%, rgba(4, 97, 123, 0) 48%),
    linear-gradient(180deg, #f9fbfc 0%, #edf5f6 100%);
  isolation: isolate;
}

.home-consultation::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(4, 97, 123, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 97, 123, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.home-consultation .products-showcase {
  margin: 0;
}

.home-consultation .showcase-header {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.home-consultation .showcase-header h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.home-consultation .showcase-header p {
  margin: 0;
  font-size: 1.03rem;
  color: #2f4146;
  line-height: 1.75;
}

.home-consultation .product-cards {
  gap: 1.35rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.home-consultation .product-card {
  text-align: left;
  min-height: 100%;
  padding: 1.55rem 1.3rem 1.4rem;
  border: 1px solid rgba(4, 97, 123, 0.14);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 14px 34px rgba(4, 97, 123, 0.1);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.8rem;
}

.home-consultation .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(4, 97, 123, 0.16);
}

.home-consultation .product-icon {
  margin: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: linear-gradient(140deg, rgba(32, 131, 144, 0.18), rgba(8, 183, 196, 0.06));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
}

.home-consultation .product-card h4 {
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
}

.home-consultation .product-card p {
  margin: 0;
  color: #32484f;
  font-size: 0.965rem;
  line-height: 1.75;
}

.home-consultation .product-card .cta-button.small {
  justify-self: start;
  margin-top: 0.2rem;
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  margin-bottom: 0.75rem;
  width: 56px;
  height: 56px;
  margin-left: auto;
  margin-right: auto;
}

.product-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

.product-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--color-yellow);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  text-decoration: none;
}

/* -----------------------------------------
   HERO GREETING
   ----------------------------------------- */
.hero-greeting {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-inverse);
  opacity: 0.92;
  margin-bottom: 0.25rem;
}

/* -----------------------------------------
   TESTIMONIALS
   ----------------------------------------- */
.testimonials-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(32, 131, 144, 0.12), transparent 36%),
    radial-gradient(circle at 85% 80%, rgba(255, 199, 111, 0.2), transparent 42%),
    var(--bg-surface);
}

.section-heading {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.testimonial-intro {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonial-intro--single-line {
  max-width: none;
}

@media (min-width: 992px) {
  .testimonial-intro--single-line {
    white-space: nowrap;
  }
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.testimonial-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.45rem 0.2rem 1rem;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-bubble {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  background: var(--bg-surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 38px -26px rgba(2, 36, 53, 0.52);
  padding: 1.75rem 1.5rem;
}

.testimonial-bubble::after {
  content: '';
  position: absolute;
  left: 2rem;
  bottom: -0.68rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--bg-surface);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
}

.testimonial-result {
  margin: 0 0 0.9rem;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.testimonial-bubble p {
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
  font-style: normal;
}

.testimonial-nav {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(2, 36, 53, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #0e495a;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  transform: translateY(-1px);
  background: var(--bg-surface);
  box-shadow: 0 10px 20px -16px rgba(2, 36, 53, 0.75);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.testimonial-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  border: 0;
  background: rgba(2, 36, 53, 0.22);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.testimonial-dot.is-active {
  width: 1.5rem;
  background: #208390;
}

/* -----------------------------------------
   ROGUE PRODUCTIONS CTA
   ----------------------------------------- */
.rogue-cta-section {
  background: linear-gradient(135deg, var(--hero-bg-from) 0%, var(--hero-bg-mid) 45%, var(--hero-bg-to) 100%);
}

.rogue-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.rogue-cta-logo {
  /* The new lockup has no transparent padding and a 2.47 ratio; 450px puts its visible ink at
     182px, matching the old logo at 183px. width:100% is what keeps it inside the container on
     phones - max-width alone forced horizontal scroll at 430px and below. */
  width: 100%;
  max-width: 450px;
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 1;
}

.rogue-cta h2 {
  color: var(--text-inverse);
  margin-bottom: 1.25rem;
}

.rogue-cta p {
  color: var(--text-inverse);
  opacity: 0.92;
  font-size: 1rem;
  line-height: 1.75;
}

.rogue-cta-tagline {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.125rem !important;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* -----------------------------------------
   BOOK COVER IMAGE
   ----------------------------------------- */
.book-cover {
  max-width: 240px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* -----------------------------------------
   WORK WITH ME — PAGE SECTIONS
   ----------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* -----------------------------------------
   ABOUT ME PAGE
   ----------------------------------------- */

/* Process section */
.wwm-process {
  background: var(--bg-body);
}

/* -----------------------------------------
   PM CONSULTING PAGES
   ----------------------------------------- */
.pmc-hero {
  background: radial-gradient(circle at 10% 15%, rgba(8, 183, 196, 0.24), transparent 48%),
              linear-gradient(145deg, #032b3a 0%, #04617b 48%, #1a9ea8 100%);
}

.pmc-hero .hero-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pmc-hero .hero-tagline {
  max-width: 50rem;
}

.pmc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
  justify-content: center;
}

.pmc-hero .cta-button.cta-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.pmc-hero .cta-button.cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.pmc-section {
  background: transparent;
}

.pmc-section .section-inner,
.pmc-final-cta .section-inner {
  max-width: 1200px;
}

.pmc-surface-alt {
  background: linear-gradient(180deg, rgba(4, 97, 123, 0.04), rgba(32, 131, 144, 0.08));
}

.pmc-quote-section {
  padding-top: 1rem;
}

.pmc-quote-panel {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(4, 97, 123, 0.08);
  padding: 1.4rem 1.4rem 1.25rem;
}

.pmc-quote-text {
  position: relative;
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 1.25rem;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.12rem, 1.15rem + 0.32vw, 1.4rem);
  line-height: 1.78;
  text-wrap: balance;
  color: #244249;
  font-style: italic;
}

.pmc-quote-text::before,
.pmc-quote-text::after {
  position: absolute;
  top: -0.2rem;
  color: rgba(4, 97, 123, 0.3);
  font-size: 2rem;
  line-height: 1;
}

.pmc-quote-text::before {
  content: '"';
  left: 0;
}

.pmc-quote-text::after {
  content: '"';
  right: 0;
}

.pmc-quote-source {
  margin: 0.85rem 0 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f5f69;
}

.pmc-process-section {
  background: transparent;
}

.pmc-model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pmc-model-card {
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.14);
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(4, 97, 123, 0.08);
}

.pmc-model-card {
  padding: 1.2rem;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 0.7rem;
  text-align: center;
  height: 100%;
}

.pmc-model-card--primary {
  box-shadow: inset 0 0 0 1px var(--color-primary), 0 10px 24px rgba(4, 97, 123, 0.08);
}

.pmc-model-icon {
  width: 48px;
  height: 48px;
  justify-self: center;
  color: #034357;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pmc-model-icon svg {
  width: 48px;
  height: 48px;
}

.pmc-model-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pmc-badge {
  display: inline-flex;
  width: fit-content;
  justify-self: center;
  background: rgba(4, 97, 123, 0.1);
  color: #034357;
  border: 1px solid rgba(4, 97, 123, 0.24);
  border-radius: 999px;
  padding: 0.28rem 0.68rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.pmc-model-card .tier-card__label,
.pmc-model-card .pmc-model-icon {
  align-self: center;
}

.pmc-model-card .card__title {
  text-align: center;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pmc-model-card .card__text,
.pmc-model-card .card__text--sub,
.pmc-model-card .check-list {
  text-align: left;
}

.pmc-model-card .card__text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.pmc-model-card .card__text--sub {
  color: var(--text-secondary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 0;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.pmc-model-card .check-list {
  list-style: none;
  display: block;
  width: 100%;
  margin: 1rem 0 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pmc-model-card .check-list__item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pmc-model-card .check-list__item::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.pmc-model-card .cta-button.small {
  margin-top: auto;
  align-self: flex-start;
  justify-self: start;
}

@media (max-width: 992px) {
  .pmc-model-card .card__title {
    white-space: normal;
  }
}

.pmc-model-card ul,
.pmc-resource-copy ul {
  list-style: disc;
  margin: 0.3rem 0 0 1rem;
  color: #2f4348;
}

.pmc-model-card li,
.pmc-resource-copy li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.pmc-faq-list {
  width: 100%;
  max-width: calc(100% - 12rem);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.pmc-faq-list--compact {
  max-width: 760px;
}

@media (max-width: 992px) {
  .pmc-faq-list {
    max-width: 100%;
  }
}

.pmc-faq-list details {
  background: var(--bg-surface);
  /* Was 0.16, which left the row edge at 1.28:1 against its own fill - invisible. */
  border: 1px solid rgba(4, 97, 123, 0.42);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
}

.pmc-faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #17343d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* The native marker is hidden just below and nothing used to replace it, so a visitor had no way
   to know these rows opened. The chevron is what identifies the control (5.30:1 against the row),
   which is why the border above does not have to carry WCAG 1.4.11 on its own. */
.pmc-faq-list summary::after {
  content: '';
  flex: none;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--text-link);
  border-bottom: 2px solid var(--text-link);
  /* A square rotated 45deg has a bounding box sqrt(2) wider than its layout box, so it needs
     slack each side or it spills past the flex content edge. Measured: 0px at 3px, 1px at 2px. */
  margin: 0 3px;
  transform: rotate(45deg) translateY(-0.12rem);
  transition: transform 0.18s ease;
}

.pmc-faq-list details[open] summary::after {
  transform: rotate(-135deg) translateY(0.06rem);
}

.pmc-faq-list summary:focus-visible {
  outline: 2px solid var(--color-primary-hover);
  outline-offset: 3px;
  border-radius: 0.3rem;
}

@media (prefers-reduced-motion: reduce) {
  .pmc-faq-list summary::after {
    transition: none;
  }
}

.pmc-faq-list summary::-webkit-details-marker {
  display: none;
}

.pmc-faq-list details p {
  margin: 0.7rem 0 0;
}

.pmc-final-cta {
  background: linear-gradient(135deg, #fcfbf0 0%, #f5f4e8 55%, #e7f3f5 100%);
  text-align: center;
  border-top: 1px solid rgba(4, 97, 123, 0.18);
  border-bottom: 3px solid rgba(4, 97, 123, 0.42);
}

.pmc-final-cta h2 {
  color: #153f4d;
  margin-bottom: 0.7rem;
}

.pmc-final-cta p {
  color: #2f4d55;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pmc-final-cta .pmc-hero-actions {
  justify-content: center;
}

.pmc-final-cta .cta-button.cta-outline {
  background-color: transparent;
  border-color: rgba(4, 97, 123, 0.45);
  color: #04617b;
}

.pmc-final-cta .cta-button.cta-outline:hover {
  background-color: rgba(4, 97, 123, 0.08);
  border-color: #04617b;
  color: #034357;
}

.pmc-resource-card {
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.16);
  border-radius: 1rem;
  box-shadow: 0 14px 28px rgba(4, 97, 123, 0.1);
  padding: 0.95rem;
  display: grid;
  gap: 0.75rem;
}

.chasing-dreams-resource-card {
  max-width: 782px;
  margin-left: auto;
  margin-right: auto;
}

.dream-transform {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.dream-transform__nowrap {
  white-space: nowrap;
}

.dream-transform__card {
  padding: 0.82rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(4, 97, 123, 0.16);
  background: var(--bg-surface);
  box-shadow: 0 10px 22px rgba(4, 97, 123, 0.08);
}

.dream-transform__card h3 {
  margin-bottom: 0.45rem;
  color: #143d4a;
  line-height: 1.35;
}

.dream-transform__card--before {
  border-left: 4px solid #8a7769;
}

.dream-transform__card--after {
  border-left: 4px solid #208390;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
}

.dream-transform__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.dream-transform__list li {
  position: relative;
  padding-left: 1rem;
  color: #2f4348;
  line-height: 1.48;
}

.dream-transform__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #04617b;
}

.dream-transform__bridge {
  margin: 1.9rem auto 1.35rem;
  max-width: 62ch;
  text-align: center;
  font-weight: 600;
  color: #1c4a57;
}

.dream-transform__actions {
  margin-top: 1.6rem;
  justify-content: center;
}

.pmc-model-grid--chasing .pmc-model-card {
  grid-template-rows: auto auto auto;
  gap: 0.5rem;
  height: auto;
  align-content: start;
  padding: 1rem 1rem 0.55rem;
}

.pmc-model-grid--chasing .pmc-model-card .card__title {
  margin-bottom: 0.2rem;
}

.pmc-model-grid--chasing .pmc-model-card .card__text {
  margin-bottom: 0.2rem;
}

.dream-fit-decision {
  display: grid;
  gap: 0.9rem;
  max-width: 940px;
  margin: 0 auto;
}

.dream-fit-card {
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.16);
  border-radius: 0.85rem;
  box-shadow: 0 10px 22px rgba(4, 97, 123, 0.08);
  padding: 1rem;
}

.dream-fit-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #17343d;
}

.dream-fit-card__intro {
  margin-bottom: 0.55rem;
}

.dream-fit-card .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dream-fit-card .check-list__item {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
}

.dream-fit-card .check-list__item::before {
  content: '\2192';
  position: absolute;
  left: 0;
  top: 0;
  color: #04617b;
  font-weight: 700;
}

.dream-fit-card--yes {
  border-top: 4px solid #208390;
}

.dream-fit-card--alt {
  border-top: 4px solid #8a7769;
  background: linear-gradient(180deg, #ffffff 0%, #f9f7f3 100%);
}

.dream-fit-note {
  margin: 0.9rem auto 0;
  max-width: 70ch;
  text-align: left;
  font-weight: 600;
  color: #1f4c58;
}

.chasing-article-header {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.chasing-article-header .section-subtitle {
  text-align: left;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.chasing-article-header .section-subtitle + .section-subtitle {
  margin-top: 0.7rem;
}

#whats-inside .section-header {
  margin-bottom: 1.4rem;
}

#whats-inside .section-subtitle {
  max-width: 54rem;
  margin: 0 auto;
}

.pmc-resource-card.chasing-dreams-resource-card .pmc-resource-copy > p {
  margin-bottom: 0.65rem;
}

.pmc-resource-card.chasing-dreams-resource-card .check-list {
  margin-top: 0.1rem;
  margin-bottom: 0.7rem;
}

.pmc-resource-card.chasing-dreams-resource-card .check-list__item {
  margin-bottom: 0.28rem;
}

.pmc-resource-card.chasing-dreams-resource-card .pmc-resource-copy {
  max-width: 100%;
}

.pmc-resource-card.chasing-dreams-resource-card .pmc-resource-visual {
  justify-self: end;
}

.pmc-resource-card.chasing-dreams-resource-card .pmc-resource-visual .book-cover {
  max-width: 240px;
}

@media (min-width: 768px) {
  
  .dream-transform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 860px;
    margin-bottom: 1.9rem;
  }

  .dream-transform__bridge {
    white-space: normal;
    max-width: 42ch;
    margin-top: 2.2rem;
    margin-bottom: 1.55rem;
  }

  .dream-transform__actions {
    margin-top: 1.9rem;
  }

  .dream-fit-decision {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-wip-banner {
    padding: 0.5rem 1rem;
  }

  .site-wip-banner__copy {
    font-size: 0.94rem;
  }

  .pmc-resource-card.chasing-dreams-resource-card {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 0.75rem;
    align-items: start;
  }
}

@media (min-width: 992px) {
  .pmc-resource-card.chasing-dreams-resource-card {
    max-width: 833px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
    gap: 0.6rem;
  }
}

.pmc-resource-visual {
  justify-self: center;
}

.pmc-resource-visual .book-cover {
  max-width: 220px;
  border-radius: 0.75rem;
  box-shadow: 0 16px 28px rgba(4, 97, 123, 0.22);
}

.pmc-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #084d61;
  margin-bottom: 0.4rem;
}

/* =========================================
   RESOURCES — PREVIEW ALT LAYOUT
   ========================================= */
.resources-alt-page {
  background:
    radial-gradient(circle at 15% 20%, rgba(8, 183, 196, 0.12), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(32, 131, 144, 0.14), transparent 38%),
    linear-gradient(180deg, #f7f8f1 0%, #fcfbf0 100%);
}

.resources-alt-hero {
  padding: 4rem 0 2.25rem;
}

.resources-alt-hero__inner {
  display: grid;
  gap: 1.25rem;
}

.resources-alt-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.resources-alt-hero p {
  margin-bottom: 1.2rem;
  max-width: 48ch;
}

.resources-alt-lead {
  font-family: inherit;
  font-size: 1.08rem;
  line-height: 1.78;
  font-weight: 400;
  color: #939da7 !important;
  letter-spacing: 0.003em;
}

.resources-alt-hero__spotlight {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(4, 97, 123, 0.2);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 248, 251, 0.9) 100%);
  box-shadow: 0 12px 28px rgba(4, 97, 123, 0.1);
}

.resources-alt-hero__spotlight--compact {
  align-self: start;
  gap: 0.55rem;
  padding: 1rem;
  max-width: 22.5rem;
}

.resources-alt-hero__spotlight--compact .cta-button.small {
  width: fit-content;
  align-self: center;
}

.resources-alt-hero__spotlight h3 {
  margin-bottom: 0;
}

.resources-alt-hero__spotlight p {
  margin-bottom: 0.2rem;
}

.resources-alt-library {
  padding-top: 1rem;
}

.resources-alt-header {
  margin-bottom: 1.5rem;
}

.resources-alt-header--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.resources-alt-one-line {
  white-space: normal;
}

.resources-alt-grid {
  display: grid;
  gap: 1rem;
}

.resources-alt-grid--center-two {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.resources-alt-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-surface);
  box-shadow: 0 10px 28px rgba(4, 97, 123, 0.08);
}

.resources-alt-card--primary {
  border-color: rgba(8, 183, 196, 0.35);
  box-shadow: 0 14px 34px rgba(4, 97, 123, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
}

.resources-alt-card__top {
  display: grid;
  gap: 0.45rem;
}

.resources-alt-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: rgba(8, 183, 196, 0.13);
  color: #055f75;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.resources-alt-card h3 {
  margin-bottom: 0;
}

.resources-alt-card p {
  margin-bottom: 0;
}

.resources-alt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.resources-alt-media {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px dashed rgba(4, 97, 123, 0.25);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f6fbfc);
}

.resources-alt-media .book-cover {
  max-width: 190px;
}

.resources-alt-note {
  padding-top: 0;
}

.resources-alt-rogue-section {
  padding-top: 0.6rem;
}

.resources-alt-rogue-shell {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(4, 97, 123, 0.3);
  background:
    radial-gradient(circle at 80% 0%, rgba(252, 251, 240, 0.12), transparent 45%),
    linear-gradient(140deg, #03536b 0%, #04617b 54%, #087d8a 100%);
  box-shadow: 0 16px 34px rgba(4, 97, 123, 0.25);
}

.resources-alt-rogue-copy h2 {
  color: #fcfbf0;
  margin: 0.45rem 0 0.55rem;
}

.resources-alt-rogue-copy p {
  color: rgba(252, 251, 240, 0.92);
  margin-bottom: 0.8rem;
}

.resources-alt-rogue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.resources-alt-rogue-tag {
  display: inline-flex;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 251, 240, 0.3);
  background: rgba(252, 251, 240, 0.12);
  color: #fcfbf0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.resources-alt-rogue-cta {
  width: fit-content;
  background: #fcfbf0;
  color: #03566d;
}

.resources-alt-rogue-cta:hover {
  background: var(--bg-surface);
  color: #03495d;
}

.resources-alt-rogue-visual {
  display: grid;
}

.resources-alt-rogue-visual-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(252, 251, 240, 0.22);
  background: rgba(252, 251, 240, 0.1);
  backdrop-filter: blur(3px);
}

.resources-alt-rogue-visual-meta {
  color: rgba(252, 251, 240, 0.73);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

.resources-alt-rogue-visual-card h3 {
  color: #fcfbf0;
  margin-bottom: 0.45rem;
}

.resources-alt-rogue-visual-card p {
  color: rgba(252, 251, 240, 0.92);
  margin-bottom: 0;
}

.resources-alt-disclaimer {
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(4, 97, 123, 0.18);
  background: rgba(255, 255, 255, 0.84);
}

.resources-alt-disclaimer h3 {
  margin-bottom: 0.45rem;
}

.resources-alt-disclaimer p {
  margin-bottom: 0;
}

/* -----------------------------------------
   DFY PAGE (LEGACY-MATCHED)
   ----------------------------------------- */
.dfy-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dfy-page .section {
  padding: 3rem 0;
}

.dwy-page .section,
.diy-page .section {
  padding: 3rem 0;
}

.dfy-page .section--alt {
  background: rgba(4, 97, 123, 0.05);
}

/* The dfy-deliverables section is archived (views/partials/archive/dfy-deliverables.ejs); this rule
   and the .dfy-page .wyg-rows rules below are kept so a restore works unchanged. */
.dfy-page .section--alt[aria-labelledby="dfy-deliverables"] {
  background: var(--bg-surface-alt);
}

.dwy-page .section--alt,
.diy-page .section--alt {
  background: rgba(4, 97, 123, 0.05);
}

.dfy-page .section__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.dwy-page .section__title,
.diy-page .section__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.dfy-page .page-hero {
  background: linear-gradient(135deg, #033042 0%, #04617b 55%, #198c95 100%);
  padding: 3rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dwy-page .page-hero,
.diy-page .page-hero {
  background: linear-gradient(135deg, #033042 0%, #04617b 55%, #198c95 100%);
  padding: 3rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dfy-page .page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: var(--rp-logo-wave) center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.dwy-page .page-hero::before,
.diy-page .page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: var(--rp-logo-wave) center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.dfy-page .hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
}

.dwy-page .hero-wave,
.diy-page .hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
}

.dfy-page .hero-wave__accent { fill: rgba(255, 255, 255, 0.45); }
.dfy-page .hero-wave__fill { fill: rgba(255, 255, 255, 0.8); }

.dwy-page .hero-wave__accent,
.diy-page .hero-wave__accent { fill: rgba(255, 255, 255, 0.45); }

.dwy-page .hero-wave__fill,
.diy-page .hero-wave__fill { fill: rgba(255, 255, 255, 0.8); }

.dfy-page .tier-header__badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: #3c8291;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.dwy-page .tier-header__badge,
.diy-page .tier-header__badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: #3c8291;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.dfy-page .page-hero__title {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.dwy-page .page-hero__title,
.diy-page .page-hero__title {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.dfy-page .page-hero__subtitle {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

.dwy-page .page-hero__subtitle,
.diy-page .page-hero__subtitle {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

.ity-tags {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.ity-tags__grid {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ity-tags__tag {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

.ity-tags__closer {
  font-size: 1.0625rem;
  font-weight: 600;
  /* Even the line lengths so the closing words never strand on a line of their own - the
     same treatment as .pmc-quote-text and .pmb-fit__title. */
  text-wrap: balance;
}

.dfy-page .whyme-split,
.dwy-page .whyme-split,
.diy-page .whyme-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 56rem;
  margin: 0 auto;
}

.dfy-page .text--lead,
.dwy-page .text--lead,
.diy-page .text--lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.dfy-page .whyme-split__body,
.dwy-page .whyme-split__body,
.diy-page .whyme-split__body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.dfy-page .whyme-split__highlights,
.dwy-page .whyme-split__highlights,
.diy-page .whyme-split__highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 22rem;
  justify-self: end;
}

.dfy-page .whyme-split__badge,
.dwy-page .whyme-split__badge,
.diy-page .whyme-split__badge {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid #3c8291;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dfy-page .whyme-split__badge-number,
.dwy-page .whyme-split__badge-number,
.diy-page .whyme-split__badge-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #3c8291;
  min-width: 3.5rem;
}

.dfy-page .whyme-split__badge-label,
.dwy-page .whyme-split__badge-label,
.diy-page .whyme-split__badge-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dfy-page .whyme-split__highlights {
  gap: 1.1875rem;
}

.dfy-page .whyme-split__badge {
  padding-top: 1.1875rem;
  padding-bottom: 1.1875rem;
  gap: 0.9375rem;
}

.dfy-page .whyme-split__badge-label {
  line-height: 1.35;
}

.dfy-page .whyme-split__badge-number {
  line-height: 1;
  transform: translateY(-1px);
}

.dwy-page .dwy-advantage,
.diy-page .dwy-advantage,
.pick-my-brain-page .dwy-advantage,
.dfy-page .dwy-advantage {
  margin: 1.85rem auto 0;
  max-width: 64rem;
}

.dwy-page .dwy-advantage__grid,
.diy-page .dwy-advantage__grid,
.pick-my-brain-page .dwy-advantage__grid,
.dfy-page .dwy-advantage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dwy-page .dwy-advantage-card,
.diy-page .dwy-advantage-card,
.pick-my-brain-page .dwy-advantage-card,
.dfy-page .dwy-advantage-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  background: linear-gradient(155deg, rgba(60, 130, 145, 0.12), rgba(60, 130, 145, 0.03));
}

.dwy-page .dwy-advantage-card__icon,
.diy-page .dwy-advantage-card__icon,
.pick-my-brain-page .dwy-advantage-card__icon,
.dfy-page .dwy-advantage-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: #3c8291;
  margin-bottom: 0.75rem;
}

.dwy-page .dwy-advantage-card__title,
.diy-page .dwy-advantage-card__title,
.pick-my-brain-page .dwy-advantage-card__title,
.dfy-page .dwy-advantage-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.03rem;
}

.dwy-page .dwy-advantage-card__text,
.diy-page .dwy-advantage-card__text,
.pick-my-brain-page .dwy-advantage-card__text,
.dfy-page .dwy-advantage-card__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.58;
}

/* -----------------------------------------
   PICK MY BRAIN - fit / routing split
   Scoped to .pick-my-brain-page on purpose: this section is meant to look like nothing else on the
   site, and scoping guarantees it cannot reach another page. Uses --color-teal-lt and
   --color-primary-light (both otherwise unused) plus the hero gradient, which appears nowhere else
   mid-page. Replaces the .dream-fit-* block that duplicated Chasing Dreams.
   ----------------------------------------- */
.pick-my-brain-page .pmb-fit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.pick-my-brain-page .pmb-fit__main {
  /* Deliberately NOT --hero-bg-to: that stop (#1a9ea8) leaves white body text at 3.23:1. Capping at
     #0d6f7e keeps every point on the gradient at 4.5:1 or better for the text over it. */
  background: linear-gradient(140deg, var(--hero-bg-from) 0%, var(--hero-bg-mid) 58%, #0d6f7e 100%);
  color: var(--text-inverse);
  border-radius: 1rem;
  padding: 1.7rem 1.7rem 1.4rem;
}

.pick-my-brain-page .pmb-fit__eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--color-teal-lt);
  margin: 0 0 0.7rem;
}

.pick-my-brain-page .pmb-fit__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.26;
  margin: 0 0 0.75rem;
  color: var(--text-inverse);
  /* Even the line lengths so the closing word never strands on a line of its own.
     Same treatment as .pmc-quote-text, the other Playfair display line on this page family. */
  text-wrap: balance;
}

.pick-my-brain-page .pmb-fit__lead {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.15rem;
}

.pick-my-brain-page .pmb-fit__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pick-my-brain-page .pmb-fit__list li {
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.93);
  padding: 0.6rem 0 0.6rem 1.1rem;
  border-top: 1px solid rgba(192, 235, 241, 0.2);
}

.pick-my-brain-page .pmb-fit__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.pick-my-brain-page .pmb-fit__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal-lt);
}

.pick-my-brain-page .pmb-fit__list li:first-child::before {
  top: 0.38rem;
}

.pick-my-brain-page .pmb-fit__side {
  background: var(--bg-surface-alt);
  border-radius: 1rem;
  padding: 1.4rem;
}

.pick-my-brain-page .pmb-fit__sideLabel {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f6668; /* --text-muted is 3.88:1 on --bg-surface-alt; this is 5.29:1 */
  margin: 0 0 0.9rem;
}

.pick-my-brain-page .pmb-fit__row {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(4, 97, 123, 0.14);
}

.pick-my-brain-page .pmb-fit__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.pick-my-brain-page .pmb-fit__rowQ {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #11313b;
  margin: 0 0 0.25rem;
}

.pick-my-brain-page .pmb-fit__rowD {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 0.4rem;
}

.pick-my-brain-page .pmb-fit__rowA {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
}

.pick-my-brain-page .pmb-fit__bound {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(4, 97, 123, 0.14);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.55;
  color: #5f6668; /* 5.29:1 on --bg-surface-alt */
}

@media (min-width: 780px) {
  .pick-my-brain-page .pmb-fit {
    grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
  }
}

/* -----------------------------------------
   PICK MY BRAIN - session flow + glance strip
   Scoped to .pick-my-brain-page on purpose, the same tradeoff as .pmb-fit above: this replaced a
   .dwy-advantage-* grid that DWY and DIY still use, and scoping guarantees it cannot reach them.
   The flow stays vertical at every width because step 1 carries four prep items and steps 2-3 do
   not - a three-column grid would be badly unbalanced. Every colour is an existing token and every
   text pair was contrast-computed: node white on #1a6e79 is 5.91:1 (--color-primary #208390 would
   be 4.46:1 and is deliberately not used), chip 6.68:1, glance label 5.85:1, body 8.52:1.
   ----------------------------------------- */
.pick-my-brain-page .pmb-flow {
  list-style: none;
  max-width: 46rem;
  margin: 1.7rem auto 0;
  padding: 0;
  text-align: left;
}

.pick-my-brain-page .pmb-flow__step {
  position: relative;
  padding: 0 0 1.55rem 3.15rem;
}

.pick-my-brain-page .pmb-flow__step:last-child {
  padding-bottom: 0;
}

/* The connecting rail, hidden on the last step so it does not run into open space. */
.pick-my-brain-page .pmb-flow__step::before {
  content: '';
  position: absolute;
  left: 0.87rem;
  top: 2.1rem;
  bottom: 0;
  width: 2px;
  background: rgba(4, 97, 123, 0.22);
}

.pick-my-brain-page .pmb-flow__step:last-child::before {
  display: none;
}

.pick-my-brain-page .pmb-flow__node {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--color-primary-hover);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.pick-my-brain-page .pmb-flow__chip {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-link-hover);
  background: var(--color-primary-light);
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  margin: 0.15rem 0 0.5rem;
}

.pick-my-brain-page .pmb-flow__title {
  font-size: 1.12rem;
  margin: 0 0 0.35rem;
}

.pick-my-brain-page .pmb-flow__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.pick-my-brain-page .pmb-flow__send {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
}

.pick-my-brain-page .pmb-flow__send li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.pick-my-brain-page .pmb-flow__send li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary-hover);
}

.pick-my-brain-page .pmb-flow__note {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* The four facts that decide a booking, always visible - never behind a disclosure. */
.pick-my-brain-page .pmb-glance {
  max-width: 46rem;
  margin: 1.5rem auto 1.7rem;
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.22);
  border-radius: 0.85rem;
  overflow: hidden;
  text-align: left;
}

.pick-my-brain-page .pmb-glance__row {
  padding: 0.8rem 1.1rem;
  border-top: 1px solid rgba(4, 97, 123, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
}

.pick-my-brain-page .pmb-glance__row:first-child {
  border-top: 0;
}

.pick-my-brain-page .pmb-glance__k {
  font-family: 'Poppins', sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5f6668; /* --text-muted is 3.88:1 here; this is 5.85:1 on --bg-surface */
  margin: 0;
}

.pick-my-brain-page .pmb-glance__v {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-primary);
}

@media (min-width: 620px) {
  .pick-my-brain-page .pmb-glance__row {
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.1rem;
    align-items: baseline;
  }
}

.tier-offerings {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tier-offering {
  background: var(--bg-surface);
  border-radius: 0.9rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

.tier-offering--with-image {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.tier-offering__cover {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.tier-offering__content {
  flex: 1;
  min-width: 0;
}

.tier-offering__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dwy-page .tier-offering__title,
.dfy-page .tier-offering__title {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.35;
}

.tier-offering__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.tier-offering__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3c8291;
  margin-bottom: 1rem;
}

.tier-detail {
  margin-bottom: 1.5rem;
}

.tier-detail__heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #3c8291;
  margin-bottom: 0.5rem;
}

.tier-detail p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.dwy-page .check-list,
.diy-page .check-list,
.dfy-page .check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.dwy-page .check-list__item,
.diy-page .check-list__item,
.dfy-page .check-list__item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.dwy-page .check-list__item::before,
.diy-page .check-list__item::before,
.dfy-page .check-list__item::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #3c8291;
  font-weight: 700;
}

.dfy-page .cta,
.dwy-page .cta,
.diy-page .cta {
  background: linear-gradient(135deg, #fcfbf0 0%, #f5f4e8 55%, #e7f3f5 100%);
  border-top: 1px solid rgba(4, 97, 123, 0.18);
  border-bottom: 3px solid rgba(4, 97, 123, 0.42);
}

.dwy-page .cta__content,
.diy-page .cta__content {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.dfy-page .cta__title,
.dwy-page .cta__title,
.diy-page .cta__title {
  color: #153f4d;
  margin-bottom: 0.7rem;
}

.dfy-page .cta__text,
.dwy-page .cta__text,
.diy-page .cta__text {
  color: #2f4d55;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.dfy-page .cta .btn--outline,
.dwy-page .cta .btn--outline,
.diy-page .cta .btn--outline {
  background-color: transparent;
  border-color: rgba(4, 97, 123, 0.45);
  color: #04617b;
}

.dfy-page .cta .btn--outline:hover,
.dwy-page .cta .btn--outline:hover,
.diy-page .cta .btn--outline:hover {
  background-color: rgba(4, 97, 123, 0.08);
  border-color: #04617b;
  color: #034357;
}

.dwy-page .cta__buttons,
.diy-page .cta__buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dwy-page .btn,
.diy-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.dwy-page .btn--sm,
.diy-page .btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.dwy-page .btn--primary,
.diy-page .btn--primary {
  background-color: #208390;
  border-color: #208390;
  color: #ffffff;
}

.dwy-page .btn--outline,
.diy-page .btn--outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

/* Archived "What You Get" grid (views/partials/archive/dfy-deliverables.ejs); kept for a restore. */
.dfy-page .wyg-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.dfy-page .wyg-rows__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dfy-page .wyg-rows__item:nth-last-child(-n+3) {
  border-bottom: none;
}

.dfy-page .wyg-rows__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(60, 130, 145, 0.1);
  color: #3c8291;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.dfy-page .wyg-rows__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dfy-page .wyg-rows__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.dfy-page .timeline {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  padding-left: 3rem;
}

.dfy-page .timeline::before {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.14);
}

.dfy-page .timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.dfy-page .timeline__item:last-child { padding-bottom: 0; }

.dfy-page .timeline__marker {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #3c8291;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dfy-page .timeline__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.dfy-page .timeline__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.dfy-page .cta__content {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.dfy-page .cta__buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dfy-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.dfy-page .btn--primary {
  background-color: #208390;
  border-color: #208390;
  color: #ffffff;
}

.dfy-page .btn--outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

@media (max-width: 900px) {
  .dfy-page .whyme-split,
  .dwy-page .whyme-split,
  .diy-page .whyme-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dfy-page .whyme-split__highlights,
  .dwy-page .whyme-split__highlights,
  .diy-page .whyme-split__highlights {
    max-width: none;
    justify-self: stretch;
  }

  .dfy-page .wyg-rows {
    grid-template-columns: 1fr;
  }

  .dwy-page .dwy-advantage__grid,
  .diy-page .dwy-advantage__grid,
  .pick-my-brain-page .dwy-advantage__grid,
  .dfy-page .dwy-advantage__grid {
    grid-template-columns: 1fr;
  }

  .dwy-page .tier-offering--with-image,
  .diy-page .tier-offering--with-image {
    flex-direction: column;
  }

  .dwy-page .tier-offering__cover,
  .diy-page .tier-offering__cover {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 1rem;
  }

  .dfy-page .wyg-rows__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .dfy-page .wyg-rows__item:last-child {
    border-bottom: none;
  }
}

/* -----------------------------------------
   PROCESS – Stepper Track + Icon Cards Grid
   ----------------------------------------- */
.stepper-track {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 0;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.stepper-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(32, 131, 144, 0.3);
}

.stepper-label {
  font-family: 'Rubik', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stepper-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-foreground));
  min-width: 30px;
  max-width: 100px;
  margin: 0 0.25rem;
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 1.4rem;
}

/* Alternating Phase Rows */
.phase-list {
  max-width: 52rem;
  margin: 0 auto;
}

.phase-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.phase-row:last-child {
  border-bottom: none;
}

.phase-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 4.5rem;
  text-align: center;
  opacity: 0.85;
}

.phase-divider {
  width: 3px;
  align-self: stretch;
  min-height: 3rem;
  background: linear-gradient(180deg, var(--color-primary), var(--color-foreground));
  border-radius: 2px;
  flex-shrink: 0;
}

.phase-detail {
  flex: 1;
}

.phase-detail h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.phase-detail p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.phase-row-accent .phase-num {
  color: var(--color-foreground);
}

.phase-row-accent .phase-detail h4 {
  color: var(--color-primary);
}

/* On mobile, always number-left */
@media (max-width: 767px) {
  .phase-right {
    flex-direction: row-reverse;
  }
}

/* On desktop, alternate naturally */
@media (min-width: 768px) {
  .phase-num {
    font-size: 5rem;
    min-width: 5.5rem;
  }

  .phase-row {
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .phase-left .phase-detail {
    text-align: left;
  }

  .phase-right .phase-detail {
    text-align: right;
  }
}

/* -----------------------------------------
   ALERTS (Contact form flash messages)
   ----------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.alert-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.alert-content p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.alert-success .alert-icon {
  color: #22c55e;
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.alert-error .alert-icon {
  color: #ef4444;
}

/* -----------------------------------------
   CONTACT PAGE
   ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  order: 1;
}

.contact-sidebar {
  order: 2;
}

.contact-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-sidebar-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.contact-sidebar-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.contact-detail {
  margin-bottom: 1rem;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* -----------------------------------------
   FORMS
   ----------------------------------------- */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.required-star {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(32, 131, 144, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.input-error {
  border-color: #ef4444 !important;
}

.input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.field-error {
  display: block;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

/* Honeypot — invisible to humans */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.captcha-group {
  max-width: 300px;
}

.captcha-question {
  font-size: 1rem;
  margin: 0.25rem 0 0.5rem;
}

.contact-submit-btn {
  width: 100%;
}

/* -----------------------------------------
   FOOTER
   ----------------------------------------- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 3rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nav-accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-text {
  color: rgba(252, 251, 240, 0.8);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(252, 251, 240, 0.8);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-foreground);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(252, 251, 240, 0.7);
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}

/* -----------------------------------------
   LEGAL PAGES (Privacy / Terms)
   ----------------------------------------- */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 0.875rem;
}

.legal-content .styled-list {
  margin-left: 0.5rem;
  margin-bottom: 1rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-legal {
  padding: 3rem 0 3.5rem;
}

/* Table of contents on legal pages. .legal-content h2 carries a bottom border and a
   2.5rem top margin; the TOC heading sits inside a card, so both are overridden. */
.legal-toc {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-content .legal-toc-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-content .legal-toc-list {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}

.legal-content .legal-toc-list li {
  margin-bottom: 0.375rem;
}

.legal-content .legal-toc-link {
  font-size: 0.9375rem;
}

/* Account-terms version marker under User Accounts. Scoped for the same reason as the
   TOC rules: .legal-content p (0-1-1) would otherwise outrank a bare class. */
.legal-content .legal-version {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

/* -----------------------------------------
   ERROR PAGES
   ----------------------------------------- */
.error-page {
  padding: 4rem 0;
  text-align: center;
}

.error-inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.error-inner h1 {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.error-inner p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* -----------------------------------------
   MAIN CONTENT WRAPPER
   ----------------------------------------- */
.site-main {
  min-height: calc(100vh - var(--navbar-height) - 200px);
}

/* =========================================
   RESPONSIVE — TABLET (>=576px)
   ========================================= */
@media (min-width: 576px) {
  .section-inner {
    padding: 0 1.25rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }

  .hero h1 {
    font-size: 2.75rem;
  }

  .product-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-consultation .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-bubble {
    flex-basis: calc(50% - 0.55rem);
    padding: 1.9rem 1.6rem;
  }

  
  
  
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   RESPONSIVE — TABLET LANDSCAPE (>=768px)
   ========================================= */
@media (min-width: 768px) {
  .content-section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-home {
    padding: 3.3rem 0;
    min-height: 480px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-greeting {
    font-size: 1.5rem;
  }

  .hero-split {
    flex-direction: row;
    align-items: center;
  }

  .hero-split .hero-content {
    flex: 1;
    max-width: 55%;
  }

  .hero-visual {
    display: block;
    flex: 0 0 auto;
  }

  .testimonial-bubble {
    flex-basis: calc(33.333% - 0.7rem);
  }

  .testimonial-nav {
    width: 2.55rem;
    height: 2.55rem;
  }

  
  
  
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .contact-form-wrapper {
    grid-column: 1;
    order: 1;
  }

  .contact-sidebar {
    grid-column: 2;
    order: 2;
  }

  .footer-grid {
    /* Column 3 (Products & Services) carries "Chasing Dreams Workbook", which needs 185px; at the
       old 1fr it got 182px and wrapped by 3px. The minmax floor is what keeps it on one line in the
       cramped 768-900px band, where a plain ratio change is not enough. Measured at 768/820/900/
       1024/1200/1440 with no horizontal scroll. Column 1 gives up ~45px for this. */
    grid-template-columns: 1.7fr 1fr minmax(190px, 1.15fr) 1fr;
  }

  .stepper-line {
    min-width: 40px;
  }

  
  .pmc-resource-card {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    padding: 1.4rem;
  }

  .pmc-model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   RESPONSIVE — DESKTOP (>=992px)
   ========================================= */
@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }

  
  
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-greeting {
    font-size: 1.625rem;
  }

  /* Desktop nav: full horizontal */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    overflow: visible;
    flex: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    border-radius: var(--border-radius);
  }

  .nav-links a:hover {
    background-color: transparent;
  }

  .nav-links a.active {
    position: relative;
  }

  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--color-foreground);
    border-radius: 1px;
  }

  .nav-item--has-dropdown {
    position: relative;
  }

  /* Hover bridge so cursor can travel to submenu without accidental close. */
  .nav-item--has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.6rem;
  }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 270px;
    padding: 0.35rem 0;
    background: var(--nav-bg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
  }

  .nav-item--has-dropdown:hover .nav-dropdown,
  .nav-item--has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown li:last-child {
    border-bottom: none;
  }

  .nav-dropdown a {
    padding: 0.6rem 1rem;
    border-radius: 0;
    white-space: nowrap;
  }

  .nav-dropdown a.active::after {
    display: none;
  }

  .product-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-consultation .showcase-header {
    margin-bottom: 2.5rem;
  }

  .home-consultation .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmc-model-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .resources-alt-hero {
    padding: 4.4rem 0 2.5rem;
  }

  .resources-alt-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 1.8rem;
  }

  .resources-alt-one-line {
    white-space: nowrap;
  }

  .resources-alt-hero__spotlight--compact {
    justify-self: end;
    max-width: 21rem;
  }

  .resources-alt-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .resources-alt-grid--center-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resources-alt-card {
    padding: 1.45rem;
  }

  .resources-alt-rogue-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 1.4rem;
    padding: 1.45rem;
  }

  
  .contact-submit-btn {
    width: auto;
  }
}

/* =========================================
   RESPONSIVE — LARGE DESKTOP (>=1200px)
   ========================================= */
@media (min-width: 1200px) {
  .section-inner {
    padding: 0 1.5rem;
  }

  .pmc-section .section-inner,
  .pmc-final-cta .section-inner {
    padding: 0 2rem;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero-home {
    padding: 4rem 0;
    min-height: 520px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-visual {
    max-width: 400px;
  }
}

/* -----------------------------------------
   PRINT STYLES
   ----------------------------------------- */
@media print {
  .navbar,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  .hero h1,
  .hero-tagline {
    color: #000 !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* -----------------------------------------
   ABOUT MODERN
   ----------------------------------------- */
.about-modern-page {
  background: linear-gradient(180deg, #f8fbfc 0%, #eef4f5 52%, #f8fbfc 100%);
}

.about-modern-hero {
  padding: 3rem 0 3.5rem;
}

.about-modern-hero .hero-inner {
  text-align: left;
}

.about-modern-hero h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 6.6vw, 3.5rem);
  line-height: 1.06;
}

.about-modern-hero .hero-tagline {
  max-width: 52ch;
}

.about-modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.modern-kicker {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #2f6772;
  margin-bottom: 1rem;
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.glance-card {
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(4, 97, 123, 0.12);
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(4, 97, 123, 0.08);
}

.glance-card h3 {
  margin-bottom: 0.28rem;
  font-size: 1.02rem;
  line-height: 1.4;
  color: #0d3f4c;
}

.glance-metric {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 1.18rem;
  line-height: 1.15;
  color: #125561;
  font-weight: 700;
  margin-bottom: 0.18rem;
}

.glance-card p {
  margin: 0;
  line-height: 1.65;
  color: #35484d;
}

.about-modern-story {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(4, 97, 123, 0.12);
  border-bottom: 1px solid rgba(4, 97, 123, 0.12);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 1.2rem 1.1rem;
  box-shadow: 0 8px 16px rgba(4, 97, 123, 0.07);
}

.story-card__icon {
  margin-bottom: 0.55rem;
}

.story-card__icon svg {
  width: 48px;
  height: 48px;
}

.story-card h3 {
  color: #0f4b58;
  margin-bottom: 0.45rem;
}

.story-card p {
  margin: 0;
  color: #2e4147;
}

.about-modern-passions {
  background: linear-gradient(145deg, #ffffff 0%, #f1f8fa 100%);
}

.modern-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center;
}

.modern-text p {
  max-width: 58ch;
}

.about-modern-passions .modern-text h2 {
  margin-bottom: 0.5rem;
}

.modern-image-wrap {
  justify-self: center;
}

.modern-image {
  width: min(100%, 360px);
  border-radius: 1rem;
  border: 1px solid rgba(4, 97, 123, 0.2);
  box-shadow: 0 12px 30px rgba(4, 97, 123, 0.15);
}

.about-modern-certs {
  background: #f3f8fa;
}

.cert-pill-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cert-pill-group {
  background: var(--bg-surface);
  border: 1px solid rgba(4, 97, 123, 0.14);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
}

.cert-pill-group h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #0f4b58;
}

.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(32, 131, 144, 0.11);
  border: 1px solid rgba(32, 131, 144, 0.24);
  color: #175862;
  font-size: 0.85rem;
  line-height: 1.35;
  font-weight: 500;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cert-pill:hover {
  transform: translateY(-1px);
  background: rgba(32, 131, 144, 0.2);
  color: #124851;
}

.cert-pill-static {
  cursor: default;
}

.cert-pill-static:hover {
  transform: none;
}

@media (min-width: 768px) {
  .glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modern-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }

  .cert-pill-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .glance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

