:root {
  --bg: #faf7f2;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #1f2933;
  --muted: #5f6b76;
  --line: rgba(31, 41, 51, 0.08);
  --accent: #2f6f73;
  --accent-deep: #285d60;
  --gold: #c9a66b;
  --sand: #ece3d4;
  --sage: #d7e3df;
  --sky: #dbe8ea;
  --shadow: 0 14px 40px rgba(31, 41, 51, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 166, 107, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(47, 111, 115, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 48%, #f5efe6 100%);
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.2rem, 3vw, 2.8rem);
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 242, 0.86);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 3rem;
}

.subpage-main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.page-hero {
  padding: 6rem 0;
  max-width: 54rem;
}

.coaching-hero {
  max-width: none;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-primary {
  max-width: 48rem;
}

.hero-subtitle {
  font-size: 1.375rem;
  line-height: 1.45;
  font-weight: 400;
  max-width: 46rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.hero-reflection {
  margin-top: 2rem;
  max-width: 44rem;
}

.hero-reflection p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-reflection p + p {
  margin-top: 1rem;
}

.hero-side-panel,
.support-panel {
  padding: 1.35rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 236, 0.88)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-side-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
  margin-bottom: 0.9rem;
  overflow: hidden;
  border-radius: 28px;
  background: #f4efe7;
  box-shadow: 0 24px 56px rgba(31, 41, 51, 0.12);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 18%;
}

.portrait-caption {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.credential-image-frame {
  margin: 0.9rem 0 0.85rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
  max-width: 320px;
}

.credential-image {
  display: block;
  width: 100%;
  height: auto;
}

.credential-caption {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.credential-stack {
  display: grid;
  gap: 0.75rem;
}

.credential-pill {
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow,
.section-kicker,
.entry-label,
.qr-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-deep);
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 0.65rem;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  max-width: 12ch;
}

h2 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  max-width: 16ch;
}

.hero-text,
.section-body p,
.qr-note,
.feature-list {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-text {
  max-width: 42rem;
  margin: 1.2rem 0 0;
}

.content-section {
  margin-top: 1.8rem;
  padding: 6rem 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.grounding-section {
  padding-top: 1rem;
}

.grounding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.2rem;
}

.grounding-list,
.credential-stack {
  padding: 1.35rem 1.45rem;
  border-radius: 1.45rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.04);
}

.grounding-label {
  margin: 0 0 0.8rem;
  color: var(--accent-deep);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.academic-context {
  margin-top: 1.5rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 118px;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.04);
}

.logo-image {
  display: block;
  width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.narrative-section {
  padding-top: 2rem;
}

.section-intro,
.section-prose p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-prose {
  max-width: 52rem;
}

.section-prose p {
  margin: 0;
}

.section-prose p + p {
  margin-top: 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1.45rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.04);
}

.info-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.entry-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 18rem;
  padding: 1.4rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.entry-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 600;
}

.entry-link {
  margin-top: auto;
  font-size: 0.92rem;
  color: var(--accent-deep);
}

.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(121, 51, 27, 0.2);
  box-shadow: 0 32px 90px rgba(74, 48, 24, 0.18);
}

.coaching {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(250, 231, 219, 0.9)),
    var(--surface);
}

.apps {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(218, 233, 238, 0.92)),
    var(--surface);
}

.consulting {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(225, 235, 220, 0.92)),
    var(--surface);
}

.detail-section {
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.7);
  box-shadow: var(--shadow);
  scroll-margin-top: 6rem;
}

.homepage-summary {
  max-width: 56rem;
}

.homepage-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.homepage-qr-panel {
  padding: 1.15rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.feature-list {
  padding-left: 1.2rem;
}

.compact-list {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf5;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(47, 111, 115, 0.18);
}

.cta-button.ghost {
  background: rgba(255, 255, 255, 0.52);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cta-button.secondary {
  background: var(--text);
}

.qr-panel {
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.qr-url {
  margin: 0.55rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
  color: var(--text);
}

.qr-download {
  display: inline-flex;
  margin-top: 0.15rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.qr-image {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-top: 1rem;
  border-radius: 1rem;
  background: #fff;
  padding: 0.65rem;
  border: 1px solid rgba(31, 29, 27, 0.08);
}

.belief-block {
  margin-top: 1.8rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top left, rgba(201, 166, 107, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(246, 241, 232, 0.92));
  border: 1px solid rgba(31, 41, 51, 0.08);
  box-shadow: var(--shadow);
}

.belief-block p {
  margin: 0;
  max-width: 24ch;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.testimonial-section {
  padding-top: 3rem;
}

.testimonial-card {
  margin: 0;
  max-width: 760px;
  padding: 1.6rem 1.7rem;
  border-radius: 1.45rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.04);
}

.testimonial-card p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.4;
  color: var(--text);
}

.testimonial-card footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.outcome-chip {
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  line-height: 1.55;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.04);
}

.final-cta {
  margin: 1.8rem 0 0;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 1.9rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(244, 237, 226, 0.92)),
    rgba(255, 251, 245, 0.8);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-split,
  .grounding-grid,
  .entry-grid,
  .two-column,
  .split-section,
  .logo-grid,
  .homepage-summary-grid,
  .card-grid-two,
  .card-grid-three,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .entry-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 1rem, 1120px);
  }

  .hero {
    padding-top: 2.2rem;
  }

  .page-hero {
    padding: 4rem 0;
  }

  .hero-side-panel {
    max-width: 420px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-text,
  .section-intro,
  .section-prose p,
  .section-body p,
  .qr-note,
  .feature-list {
    font-size: 17px;
  }

  .belief-block p {
    font-size: 24px;
  }

  .testimonial-card p {
    font-size: 22px;
  }

  .belief-block p {
    max-width: none;
  }

  .content-section {
    padding: 4rem 0;
  }

  .site-nav {
    gap: 0.65rem 1rem;
  }
}
