:root {
  --bg: #fcfbf7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1b2340;
  --muted: #5d6788;
  --blue: #2142d6;
  --blue-deep: #14299b;
  --orange: #ff8a2a;
  --orange-deep: #ef6e12;
  --line: rgba(33, 66, 214, 0.14);
  --shadow: 0 24px 70px rgba(19, 33, 89, 0.12);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(255, 185, 118, 0.34), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fcfbf7 42%, #f3f5fb 100%);
  background-color: #f3f5fb;
  overflow-x: clip;
}

#metrics,
#expertise,
#experience,
#showcase,
#consulting,
#strengths,
#contact {
  scroll-margin-top: 118px;
}

#consulting {
  padding-bottom: 24px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  color: var(--text);
  font-family: "Libre Franklin", "Segoe UI", sans-serif;
  background: transparent;
  overflow-x: clip;
}

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

code {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.85em;
}

.site-shell {
  padding: 18px;
}

.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 0 20px;
}

.site-footer-icons {
  padding-top: 6px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(12, 22, 66, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: url("/assets/logo.png") center center / cover no-repeat;
  box-shadow: 0 10px 22px rgba(33, 66, 214, 0.18);
  flex: 0 0 40px;
}

.brand-text {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.93rem;
  color: var(--muted);
  min-width: 0;
}

.site-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-nav a:hover,
.text-link:hover,
.contact-list a:hover {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 0.78fr);
  gap: 38px;
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
}

.card-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.card-divider {
  width: 100%;
  height: 1px;
  margin: 8px 0 4px;
  background: rgba(33, 66, 214, 0.12);
}

.content-column {
  display: grid;
  gap: 24px;
  grid-column: 2;
  padding-bottom: 32px;
}

.left-column {
  display: grid;
  gap: 24px;
  grid-column: 1;
  position: sticky;
  top: 118px;
  align-self: start;
}

.section-block {
  padding: 34px 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-section {
  padding-top: 42px;
}

.hero-merged {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 28px 30px;
}

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

.hero-action-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr);
  gap: 12px;
  margin-top: 0;
}

.hero-identity {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 0 28px;
  align-items: start;
}

.hero-avatar {
  width: 164px;
  height: 164px;
  border-radius: 34px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 36px rgba(18, 33, 88, 0.16);
  object-fit: cover;
  object-position: center 34%;
  display: block;
  background: linear-gradient(180deg, #d5ddf6 0%, #f3f6ff 48%, #fbf7f1 100%);
}

.hero-copy {
  display: grid;
  gap: 12px;
  padding-top: 0;
}

.hero-heading {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.hero-heading .eyebrow {
  margin-bottom: 0;
}

.hero-name span {
  display: block;
}

.hero-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-meta-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.82));
}

.hero-meta-link {
  align-content: center;
  justify-items: start;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-meta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(33, 66, 214, 0.2);
  box-shadow: 0 12px 24px rgba(33, 66, 214, 0.08);
}

.hero-chat {
  display: grid;
  gap: 12px;
}

.hero-chat-card {
  padding: 28px 28px 30px;
}

.hero-chat h3 {
  color: var(--blue);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.chat-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chat-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.chat-bubble:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(255, 138, 42, 0.28);
}

.email-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.email-note a {
  color: var(--blue);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--blue);
}

.hero-merged h1 {
  font-size: clamp(2.9rem, 4.8vw, 4.55rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
}

.hero-section .lead,
.hero-section .summary,
.section-block p,
.timeline-item p,
.showcase-card p,
.strength-grid p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

.hero-section .lead {
  max-width: none;
  margin-top: 0;
  font-size: 1.02rem;
}

.hero-section .summary {
  max-width: none;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 138, 42, 0.32);
}

.button-secondary {
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
}

.button-secondary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 138, 42, 0.24);
}

.stats-section {
  display: grid;
  gap: 20px;
}

.stats-section h2 {
  margin-bottom: 0;
}

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

.stat-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.86));
}

.stat-value {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.06em;
}

.stat-label {
  color: var(--muted);
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.72));
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline-company {
  font-weight: 700;
  color: var(--text);
}

.timeline-item h3,
.showcase-card h3,
.strength-grid h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.showcase-card {
  display: grid;
  gap: 10px;
  min-height: 196px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 42, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.86));
}

.showcase-tag {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-self: start;
  justify-self: start;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(33, 66, 214, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

#consulting .pill-grid {
  margin-bottom: 0;
}

.pill {
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

.consulting-pain-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.consulting-pain-pill {
  display: flex;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.45;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.strength-grid article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(33, 66, 214, 0.08);
}

.page-shell {
  display: grid;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.page-hero {
  display: grid;
  gap: 16px;
}

.entry-hero {
  display: grid;
  gap: 18px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.strategic-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 42, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(33, 66, 214, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.9));
}

.strategic-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 320px;
  gap: 26px;
  align-items: stretch;
}

.strategic-hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
}

.consulting-hero-split {
  grid-template-columns: minmax(0, 1.55fr) 360px;
  align-items: center;
}

.consulting-hero-copy {
  min-width: 0;
}

.consulting-hero-visual {
  display: grid;
  justify-items: center;
  align-items: center;
  min-width: 0;
}

.consulting-hero-frame {
  display: grid;
  place-items: center;
  width: min(100%, 248px);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform: translateX(-14px);
}

.consulting-hero-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(19, 33, 89, 0.1));
}

.strategic-hero h1 {
  max-width: 780px;
}

.strategic-lead {
  max-width: 720px;
}

.page-hero h1,
.prose-shell h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.page-lead {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-name-accent {
  color: var(--blue);
  font-weight: 800;
}

.article-title-link {
  color: inherit;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.article-title-link:hover {
  color: var(--orange-deep);
}

.inline-emoji {
  display: inline-block;
  margin-left: 0.16em;
  font-size: 0.72em;
  line-height: 1;
  vertical-align: 0.02em;
}

.blog-page-title {
  color: var(--orange);
  line-height: 1.06;
}

.blog-hero {
  padding: 28px 22px 20px;
}

.blog-hero + .content-list {
  margin-top: 30px;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hub-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.consulting-page .hub-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consulting-page .content-list .eyebrow {
  color: var(--orange);
}

.consulting-page .consulting-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.consulting-page .consulting-pain-pill {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.consulting-page .showcase-card {
  gap: 16px;
}

.consulting-page .showcase-tag {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: normal;
  text-transform: none;
}

.consulting-callout-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 260px;
  gap: 28px;
  align-items: center;
}

.consulting-callout-copy {
  min-width: 0;
}

.consulting-page #free-call-heading {
  line-height: 1.08;
}

.consulting-callout-visual {
  display: grid;
  justify-items: center;
  align-items: center;
}

.consulting-callout-image {
  display: block;
  width: min(100%, 226px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(19, 33, 89, 0.08));
}

.hub-proof-card {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 24px 22px;
}

.hub-proof-card .stat-value {
  font-size: 1.55rem;
}

.contact-icon-strip {
  display: grid;
  justify-items: center;
  padding: 10px 0 6px;
}

.contact-icon-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.contact-icon-link:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.contact-icon-link img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
}

.strategic-portrait-card {
  display: grid;
  min-height: 100%;
  padding: 0;
}

.strategic-portrait {
  min-height: 100%;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 42px rgba(19, 33, 89, 0.09);
}

.content-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.content-list-single {
  grid-template-columns: minmax(0, 1fr);
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.section-card-compact {
  min-height: 0;
}

.pill-grid-tight {
  margin: 4px 0 0;
}

.prose-shell {
  display: grid;
  gap: 18px;
}

.article-meta {
  margin-top: 8px;
}

.article-page {
  gap: 28px;
}

.article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 42, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(33, 66, 214, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.92));
}

.article-back-link {
  display: inline-flex;
  width: max-content;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 280px;
  gap: 28px;
  align-items: start;
}

.article-hero-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.article-meta-panel {
  display: grid;
  gap: 14px;
}

.article-meta-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.article-meta-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-meta-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
  padding-right: 24px;
}

.article-toc {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  transition: color 180ms ease, transform 180ms ease;
}

.article-toc a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

.article-toc a.is-active,
.article-toc a[aria-current="location"] {
  color: var(--blue);
}

.article-body-card {
  gap: 28px;
  padding: 0;
  overflow: hidden;
}

.article-summary-box {
  display: grid;
  gap: 16px;
  padding: 28px 34px;
  border-bottom: 1px solid rgba(33, 66, 214, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.88));
}

.article-summary-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.article-anchor {
  scroll-margin-top: 132px;
}

.prose-content {
  width: min(100%, 760px);
  padding: 0 34px 36px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.prose-content > h1:first-child {
  display: none;
}

.prose-content p,
.prose-content ul,
.prose-content ol {
  margin: 0 0 1rem;
}

.prose-content h2 {
  margin: 2.8rem 0 1rem;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.1;
  scroll-margin-top: 132px;
}

.prose-content h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--text);
  scroll-margin-top: 132px;
}

.prose-content h2 + p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.prose-content ul,
.prose-content ol {
  padding-left: 1.3rem;
}

.prose-content li {
  margin-bottom: 0.7rem;
}

.prose-content blockquote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 138, 42, 0.08);
  color: var(--text);
}

.prose-content blockquote p {
  margin: 0;
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Cascadia Mono", "Consolas", monospace;
  font-size: 0.98rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.prose-content > .article-anchor + p {
  font-size: 1.16rem;
  line-height: 1.82;
  color: var(--text);
}

.prose-content a {
  color: var(--blue);
}

.article-next-step {
  display: grid;
  gap: 16px;
}

.intro-example {
  position: relative;
  width: 100%;
  margin-bottom: 1.2rem;
}

.intro-example-copy > p {
  margin: 0 0 1rem;
}

.intro-example-copy > p:first-child {
  font-size: 1.16rem;
  line-height: 1.82;
  color: var(--text);
}

.intro-memoji {
  position: absolute;
  top: 78px;
  right: -300px;
}

.intro-memoji-image {
  display: block;
  width: 320px;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(19, 33, 89, 0.1));
}

.spell-example {
  position: relative;
  width: 100%;
  margin: 0 0 1rem;
}

.spell-example-copy {
  max-width: none;
}

.spell-example-copy > p:first-child {
  margin-bottom: 1rem;
}

.spell-example-copy blockquote {
  margin: 0;
}

.spell-card {
  position: absolute;
  top: -8px;
  right: -290px;
  width: 248px;
  padding: 10px;
  border: 1px solid rgba(27, 35, 64, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9));
  box-shadow: 0 12px 30px rgba(19, 33, 89, 0.08);
  transform: rotate(-1.5deg);
}

.spell-card-inner {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 16px 16px 14px;
  border: 2px solid rgba(64, 74, 104, 0.38);
  border-radius: 14px;
  background: #f8fbff;
  color: #4b587a;
}

.spell-card-type,
.spell-card-name,
.spell-card-rule,
.spell-card-note {
  margin: 0;
  font-family: "Chalkboard SE", "Comic Sans MS", "Marker Felt", "Bradley Hand", cursive;
}

.spell-card-type {
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spell-card-name {
  font-size: 1.55rem;
  line-height: 0.95;
  color: #37425d;
}

.spell-card-art {
  width: 100%;
  height: auto;
  color: #5b6788;
}

.spell-card-rule {
  font-size: 0.96rem;
  line-height: 1.45;
}

.language-example {
  position: relative;
  width: 100%;
  margin: 0 0 1rem;
}

.language-example-copy {
  max-width: 670px;
}

.language-example-copy > p {
  margin: 0 0 1rem;
}

.language-memoji {
  position: absolute;
  top: 10px;
  right: -280px;
}

.language-memoji-image {
  display: block;
  width: 175px;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(19, 33, 89, 0.08));
}

.documentation-example {
  position: relative;
  width: 100%;
  margin: 0 0 1rem;
}

.documentation-example-copy {
  max-width: 680px;
}

.documentation-example-copy > p {
  margin: 0 0 1rem;
}

.documentation-card {
  position: absolute;
  top: -72px;
  right: -285px;
  width: 248px;
  padding: 10px;
  border: 1px solid rgba(27, 35, 64, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9));
  box-shadow: 0 12px 30px rgba(19, 33, 89, 0.08);
  transform: rotate(1.25deg);
}

.final-note-example {
  position: relative;
  width: 100%;
  margin: 0 0 1rem;
}

.final-note-copy {
  max-width: 690px;
}

.final-note-memoji {
  position: absolute;
  top: 108px;
  right: -285px;
}

.final-note-memoji-image {
  display: block;
  width: 306px;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(19, 33, 89, 0.08));
}

.contact-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 138, 42, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 255, 0.88));
}

.contact-block-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 270px;
  gap: 34px;
  align-items: center;
}

.contact-block-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.contact-block-copy h2 {
  margin-bottom: 0;
  line-height: 1.05;
}

.contact-block-copy .page-lead {
  max-width: 980px;
}

.contact-block-copy .entry-actions {
  margin-top: 2px;
}

.contact-block-copy .email-note {
  margin-top: -2px;
}

.contact-block-visual {
  display: grid;
  justify-items: center;
  align-items: center;
}

.contact-block-image {
  display: block;
  width: min(100%, 238px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(19, 33, 89, 0.08));
}

@media (max-width: 1120px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .left-column,
  .content-column,
  .hero-merged {
    grid-column: 1;
  }

  .left-column {
    position: static;
  }

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

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

  .contact-block-split {
    grid-template-columns: 1fr;
  }

  .contact-block-visual {
    display: none;
  }

  .article-layout,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    padding-right: 0;
  }

  .prose-content {
    width: 100%;
  }

  .intro-memoji {
    display: none;
  }

  .spell-example {
    width: 100%;
  }

  .spell-card {
    display: none;
  }

  .language-memoji {
    display: none;
  }

  .documentation-card {
    display: none;
  }

  .final-note-memoji {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding: 12px;
  }

  .site-header {
    top: 12px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .page-shell,
  .layout,
  .left-column,
  .content-column,
  .section-block,
  .content-card,
  .hub-proof-card,
  .timeline-item,
  .showcase-card,
  .strength-grid article {
    min-width: 0;
  }

  .section-block {
    padding: 26px 22px 28px;
    border-radius: 28px;
  }

  .hero-identity {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0 20px;
  }

  .hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 28px;
  }

  .stats-grid,
  .content-list,
  .hub-proof-grid,
  .showcase-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

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

  .strategic-portrait-card {
    display: none;
  }

  .consulting-hero-visual {
    display: none;
  }

  .consulting-callout-split {
    grid-template-columns: 1fr;
  }

  .consulting-callout-visual {
    display: none;
  }

  .consulting-page .consulting-pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-summary-box,
  .prose-content {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 0.88rem;
  }

  .site-nav {
    font-size: 0.82rem;
  }

  h1 {
    font-size: 2.15rem;
    overflow-wrap: anywhere;
  }

  h2,
  h3,
  .page-lead,
  .hero-section .lead,
  .hero-section .summary,
  .section-block p,
  .timeline-item p,
  .showcase-card p,
  .strength-grid p,
  .stat-label,
  .consulting-pain-pill {
    overflow-wrap: anywhere;
  }

  .hero-merged h1,
  .strategic-hero h1,
  .page-hero h1,
  .prose-shell h1 {
    font-size: 2.15rem;
    line-height: 1;
  }

  .site-header {
    gap: 12px;
  }

  .site-nav {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .entry-actions {
    flex-direction: column;
  }

  .consulting-page .consulting-pain-grid {
    grid-template-columns: 1fr;
  }

  .hero-identity {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-avatar {
    width: 104px;
    height: 104px;
    border-radius: 24px;
  }

  .chat-bubbles {
    flex-direction: column;
    align-items: flex-start;
  }
}
