/*
Theme Name: SophisticAI Block Theme
Theme URI: https://example.com/
Author: OpenCode
Description: A WordPress block theme for SophisticAI Content Strategies.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: sophisticai-block-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --sophisticai-navy: #1a2744;
  --sophisticai-gold: #c9a84c;
  --sophisticai-gold-light: #e8c97a;
  --sophisticai-cream: #faf8f3;
  --sophisticai-ink: #2d2d2d;
  --sophisticai-muted: #6b7280;
  --sophisticai-border: #e5e0d5;
  --sophisticai-white: #ffffff;
}

body {
  background: var(--sophisticai-cream);
}

.sophisticai-eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.sophisticai-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.16), transparent 32%),
    linear-gradient(135deg, #1a2744 0%, #23345b 62%, #0f1a33 100%);
  color: var(--sophisticai-white);
}

.sophisticai-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 88%);
  pointer-events: none;
}

.sophisticai-hero > * {
  position: relative;
  z-index: 1;
}

.sophisticai-panel {
  background: var(--sophisticai-white);
  border: 1px solid var(--sophisticai-border);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(26, 39, 68, 0.07);
}

.sophisticai-card {
  height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.sophisticai-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(26, 39, 68, 0.09);
}

.sophisticai-cta-band {
  background: linear-gradient(135deg, #c9a84c 0%, #e8c97a 100%);
  color: var(--sophisticai-navy);
}

.sophisticai-cta-band .wp-block-button__link {
  background: var(--sophisticai-navy);
  color: var(--sophisticai-white);
}

.sophisticai-cta-band .wp-block-button__link:hover {
  opacity: 0.94;
}

@media (max-width: 781px) {
  .sophisticai-mobile-stack {
    gap: 1.25rem;
  }
}

/* Source-mirroring layout styles */
.topbar {
  background: var(--sophisticai-navy);
  color: #aab3c8;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  padding: 6px 60px;
  display: flex;
  justify-content: space-between;
}

header {
  background: var(--sophisticai-white);
  border-bottom: 3px solid var(--sophisticai-gold);
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.logo-block {
  display: flex;
  flex-direction: column;
  min-width: 280px;
}

.logo-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--sophisticai-navy);
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}

.logo-tag {
  font-size: 11px;
  color: var(--sophisticai-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sophisticai-navy);
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  background: var(--sophisticai-navy);
  color: var(--sophisticai-white);
}

.nav-link.active {
  background: var(--sophisticai-navy);
  color: var(--sophisticai-white);
}

.nav-link .arrow { font-size: 9px; opacity: 0.6; }

.nav-cta {
  background: var(--sophisticai-gold);
  color: var(--sophisticai-navy) !important;
  border-radius: 4px;
  padding: 8px 18px;
}

.nav-cta:hover {
  background: var(--sophisticai-navy) !important;
  color: var(--sophisticai-white) !important;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--sophisticai-white);
  border: 1px solid var(--sophisticai-border);
  border-top: 3px solid var(--sophisticai-gold);
  border-radius: 0 0 8px 8px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 200;
}

.nav-item:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--sophisticai-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--sophisticai-border);
}

.dropdown a:last-child { border-bottom: none; }

.dropdown a:hover,
.dropdown a.active {
  background: var(--sophisticai-cream);
  color: var(--sophisticai-navy);
  padding-left: 22px;
}

.hero,
.hero.alignfull,
.wp-site-blocks .hero,
.wp-site-blocks .hero.alignfull,
.page-hero {
  padding: 92px 60px;
}

.wp-site-blocks .hero,
.wp-site-blocks .hero.alignfull,
.wp-site-blocks .coaching,
.wp-site-blocks .coaching.alignfull,
.wp-site-blocks .wp-block-post-content .hero,
.wp-site-blocks .wp-block-post-content .hero.alignfull,
.wp-site-blocks .wp-block-post-content .coaching,
.wp-site-blocks .wp-block-post-content .coaching.alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

.hero {
  background: linear-gradient(135deg, var(--sophisticai-navy) 50%, #2a3d6e 100%);
  color: var(--sophisticai-white);
}

.hero-text {
  max-width: 650px;
}

.hero-eyebrow,
.page-hero-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sophisticai-gold);
  margin-bottom: 14px;
}

.hero h1,
.page-hero h1 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em,
.page-hero h1 em {
  color: var(--sophisticai-gold);
  font-style: normal;
}

.hero p,
.page-hero p {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  color: #c5cdd8;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-btns,
.page-hero-btns,
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-gold,
.btn-navy,
.btn-outline,
.btn-outline-white,
.btn-outline-navy {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-gold { background: var(--sophisticai-gold); color: var(--sophisticai-navy); }
.btn-gold:hover { background: var(--sophisticai-gold-light); }
.btn-navy { background: var(--sophisticai-navy); color: var(--sophisticai-white); }
.btn-navy:hover { background: #0f1a33; }
.btn-outline,
.btn-outline-white { border: 2px solid rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline:hover,
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { border: 2px solid var(--sophisticai-navy); color: var(--sophisticai-navy); background: transparent; }
.btn-outline-navy:hover { background: var(--sophisticai-navy); color: var(--sophisticai-white); }

.services,
.channels,
.documents,
.offerings,
.results,
.more-docs,
.process,
.audience,
.related,
.blog,
.about-strip {
  padding: 72px 60px;
}

.services,
.channels,
.documents,
.offerings,
.results,
.more-docs,
.process,
.related,
.blog,
.about-strip { background: var(--sophisticai-cream); }

.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sophisticai-gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  color: var(--sophisticai-navy);
  margin-bottom: 14px;
  font-weight: 400;
}

.section-sub {
  font-size: 16px;
  color: var(--sophisticai-muted);
  line-height: 1.7;
  max-width: 640px;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 44px;
}

.breadcrumb {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: #aab3c8;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--sophisticai-gold-light);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

.services-grid,
.blog-grid,
.related-grid,
.docs-grid,
.offerings-grid,
.results-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.blog-card,
.related-card,
.doc-card,
.offering-card,
.result-card,
.audience-card,
.content-type-card {
  background: var(--sophisticai-white);
  border: 1px solid var(--sophisticai-border);
  border-radius: 10px;
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.service-card:hover,
.blog-card:hover,
.related-card:hover,
.doc-card:hover,
.offering-card:hover,
.audience-card:hover,
.content-type-card:hover {
  box-shadow: 0 8px 28px rgba(26,39,68,0.1);
  border-color: var(--sophisticai-gold);
  transform: translateY(-2px);
}

.service-icon,
.blog-img,
.rel-icon,
.doc-card-icon,
.offering-icon,
.aud-icon,
.channel-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-icon,
.offering-icon,
.channel-icon-wrap { background: var(--sophisticai-navy); color: #fff; }
.service-icon { width: 48px; height: 48px; border-radius: 10px; font-size: 22px; }
.offering-icon { width: 48px; height: 48px; border-radius: 10px; font-size: 22px; }
.channel-icon-wrap { width: 64px; height: 64px; border-radius: 14px; font-size: 28px; }

.service-card h3,
.blog-card h3,
.related-card h3,
.doc-card h3,
.offering-card h3,
.audience-card h3,
.content-type-card h3 { font-size: 17px; color: var(--sophisticai-navy); margin-bottom: 10px; }

.service-card p,
.blog-card p,
.related-card p,
.doc-card p,
.offering-card p,
.audience-card p,
.content-type-card p { font-size: 13px; color: var(--sophisticai-muted); line-height: 1.7; font-family: 'Manrope', sans-serif; }

.service-link,
.rel-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--sophisticai-gold); font-family: 'Manrope', sans-serif; font-weight: 600; text-decoration: none; }

.channel-block { margin-bottom: 72px; }

.channel-divider { height: 1px; background: var(--sophisticai-border); margin: 64px 0; }

.channel-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 28px 0;
  border-bottom: 2px solid var(--sophisticai-border);
  margin-bottom: 36px;
}

.channel-header-text { flex: 1; }

.channel-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sophisticai-gold);
  margin-bottom: 4px;
}

.ct-label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sophisticai-gold);
  margin-bottom: 6px;
}

.ct-formats { display: flex; flex-wrap: wrap; gap: 6px; }

.ct-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  color: var(--sophisticai-navy);
  background: var(--sophisticai-cream);
  border: 1px solid var(--sophisticai-border);
  border-radius: 20px;
  padding: 3px 10px;
}

.result-num {
  font-size: 42px;
  color: var(--sophisticai-navy);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.result-num span { color: var(--sophisticai-gold); }

.result-label { font-family: 'Manrope', sans-serif; font-size: 13px; color: var(--sophisticai-muted); line-height: 1.5; }

.intro-sidebar h4 {
  color: var(--sophisticai-gold);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 10px;
}

.intro-sidebar h3 {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--sophisticai-white);
}

.intro-sidebar ul { list-style: none; }

.intro-sidebar ul li {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #c5cdd8;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-sidebar ul li:last-child { border-bottom: none; }

.intro-sidebar ul li::before {
  content: '✦';
  color: var(--sophisticai-gold);
  font-size: 10px;
  flex-shrink: 0;
}

.about-strip {
  background: var(--sophisticai-white);
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-img {
  width: 120px;
  min-height: 170px;
  border: 1px solid var(--sophisticai-border);
  background: linear-gradient(180deg, #e9e3d6, #d7cfbf);
  border-radius: 4px;
  flex-shrink: 0;
}

.about-content { flex: 1; }

.coaching {
  background: var(--sophisticai-navy);
  color: var(--sophisticai-white);
  padding-top: 96px;
  padding-bottom: 96px;
  padding-left: 0;
  padding-right: 0;
}

.coaching-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
}

.coaching .section-title,
.coaching .section-sub { color: #fff; }
.coaching .section-sub { color: #c5cdd8; }

.coaching-card {
  width: 300px;
  background: var(--sophisticai-white);
  color: var(--sophisticai-ink);
  border-radius: 12px;
  padding: 36px 30px;
  flex-shrink: 0;
}

.coaching-card h4 {
  color: var(--sophisticai-gold);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 10px;
}

.coaching-card h3 { font-size: 20px; margin-bottom: 20px; line-height: 1.3; color: var(--sophisticai-navy); }
.coaching-card ul { list-style: none; }
.coaching-card ul li { font-family: 'Manrope', sans-serif; font-size: 13px; color: var(--sophisticai-muted); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.coaching-card ul li:last-child { border-bottom: none; }

.blog-card { background: var(--sophisticai-white); }
.blog-card { overflow: hidden; }
.blog-img { height: 140px; border-radius: 8px; font-size: 48px; }
.blog-img.c1 { background: linear-gradient(135deg, #1a2744, #3b4d80); }
.blog-img.c2 { background: linear-gradient(135deg, #c9a84c, #e8c97a); }
.blog-img.c3 { background: linear-gradient(135deg, #2a3d6e, #1a4a4a); }
.blog-tag { display: inline-block; font-family: 'Manrope', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--sophisticai-gold); margin-bottom: 10px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: 'Manrope', sans-serif; font-size: 12px; color: var(--sophisticai-muted); }
.blog-body { padding-top: 18px; }

.cta-band {
  background: linear-gradient(135deg, var(--sophisticai-gold) 0%, #b8932e 100%);
  padding: 60px;
  text-align: center;
}

.cta-band h2 {
  font-size: 34px;
  color: var(--sophisticai-navy);
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 16px;
  color: rgba(26, 39, 68, 0.75);
  font-family: 'Manrope', sans-serif;
  margin-bottom: 28px;
}

footer {
  background: #0f1a33;
  color: #8a96ac;
  padding: 60px 60px 30px;
  font-family: 'Manrope', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-name {
  color: var(--sophisticai-white);
  font-size: 20px;
  margin-bottom: 6px;
  display: block;
}

.footer-brand .logo-tag { color: var(--sophisticai-gold); font-size: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 14px; color: #8a96ac; }
footer h4 { color: var(--sophisticai-white); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }
footer ul li a { color: #8a96ac; text-decoration: none; font-size: 13px; transition: color 0.2s; }
footer ul li a:hover { color: var(--sophisticai-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; }
.footer-bottom a { color: var(--sophisticai-gold); text-decoration: none; }
