/*
Theme Name:  Selumn
Theme URI:   https://selumn.com
Author:      Selumn LLC
Author URI:  https://selumn.com
Description: Portal Intelligence. HubSpot portal audits and embedded implementation for mid-market B2B companies.
Version:     1.0.0
License:     Private
License URI: https://selumn.com
Text Domain: selumn
Tags:        custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments
*/

/* =====================================================================
   DESIGN TOKENS
   ===================================================================== */
:root {
  --navy:     #0B1E3D;
  --navy-dk:  #091629;
  --navy-md:  #142850;
  --navy-lt:  #1E3A68;
  --steel:    #4A8FC4;
  --steel-lt: #7AB8E0;
  --steel-dk: #2E6494;
  --off:      #F7F6F2;
  --off-dk:   #EEECe6;
  --text:     #4A5A6A;
  --muted:    #8BA4BF;
  --white:    #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius:   3px;
  --radius-lg:4px;
  --transition: .2s ease;

  --max-width: 1120px;
  --section-pad: 88px 48px;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--font-sans);
  background: var(--off);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes fadeUp   { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeRule { from { opacity:0; transform:scaleX(0) }        to { opacity:1; transform:scaleX(1) } }
@keyframes fadeIn   { from { opacity:0 }                             to { opacity:1 } }

/* =====================================================================
   TOP BAR
   ===================================================================== */
.top-bar {
  background: #060E1C;
  display: flex; align-items: center; justify-content: center;
  padding: 9px 48px;
  border-bottom: 1px solid rgba(74,143,196,.1);
  position: sticky; top: 0; z-index: 101;
}
.top-bar-inner { display: flex; align-items: center; gap: 10px; }
.top-bar-label { font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.top-bar-phone {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 500; color: var(--off);
  letter-spacing: .04em; text-decoration: none; transition: color var(--transition);
}
.top-bar-phone:hover { color: var(--steel); }
.top-bar-dot   { width: 4px; height: 4px; border-radius: 50%; background: rgba(74,143,196,.4); }
.top-bar-hours { font-size: 10px; color: #4A6A88; letter-spacing: .06em; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.site-nav {
  background: var(--navy-dk);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  position: sticky; top: 38px; z-index: 100;
  border-bottom: 1px solid rgba(74,143,196,.12);
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500; color: var(--off);
  letter-spacing: .04em; text-decoration: none;
}
.site-logo span { color: var(--steel); }

/* WordPress nav menu */
.site-nav .nav-menu { display: flex; gap: 28px; }
.site-nav .nav-menu li { position: relative; }
.site-nav .nav-menu a {
  font-size: 11px; color: var(--muted); text-decoration: none;
  letter-spacing: .1em; text-transform: uppercase;
  transition: color var(--transition);
}
.site-nav .nav-menu a:hover,
.site-nav .nav-menu .current-menu-item > a,
.site-nav .nav-menu .current_page_item > a { color: var(--off); }
.site-nav .nav-menu .current-menu-item > a,
.site-nav .nav-menu .current_page_item > a { color: var(--steel-lt); }

/* Dropdown */
.site-nav .nav-menu .sub-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--navy-md); border: 1px solid rgba(74,143,196,.15);
  border-radius: var(--radius); padding: 8px 0; min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all var(--transition); z-index: 200;
}
.site-nav .nav-menu li:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav .nav-menu .sub-menu a {
  display: block; padding: 9px 18px; font-size: 11px;
  color: var(--muted); white-space: nowrap;
}
.site-nav .nav-menu .sub-menu a:hover { color: var(--off); background: rgba(74,143,196,.08); }

.nav-cta {
  background: var(--steel); color: #fff;
  font-size: 11px; font-weight: 700; padding: 10px 22px;
  border-radius: var(--radius); border: none; cursor: pointer;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background var(--transition);
  white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--steel-lt); color: #fff; }

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; color: var(--off);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor; margin: 5px 0;
  transition: all var(--transition);
}

/* =====================================================================
   SHARED COMPONENTS
   ===================================================================== */
.eyebrow {
  font-size: 10px; font-weight: 500; color: var(--steel);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px;
}
.rule { width: 40px; height: 2px; background: var(--steel); margin-bottom: 22px; }
.rule-center { margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px); font-weight: 500;
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-title.light { color: var(--off); }
.section-body {
  font-size: 15px; font-weight: 300; color: var(--text);
  line-height: 1.82; max-width: 540px;
}
.section-body.light { color: var(--muted); }

.inner { max-width: var(--max-width); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 16px 34px;
  border-radius: var(--radius); border: none; cursor: pointer;
  text-decoration: none; transition: all var(--transition);
}
.btn-primary    { background: var(--off); color: var(--navy); }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); color: var(--navy); }
.btn-steel      { background: var(--steel); color: var(--white); }
.btn-steel:hover{ background: var(--steel-lt); transform: translateY(-2px); color: var(--white); }
.btn-navy       { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1A3560; transform: translateY(-2px); color: var(--white); }
.btn-white      { background: var(--white); color: var(--navy); }
.btn-white:hover{ background: var(--off); transform: translateY(-2px); color: var(--navy); }
.btn-outline    {
  background: transparent; color: var(--off);
  border: 2px solid rgba(247,246,242,.35); font-weight: 500; padding: 15px 28px;
}
.btn-outline:hover { border-color: var(--off); background: rgba(247,246,242,.08); transform: translateY(-2px); color: var(--off); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5); font-weight: 500; padding: 15px 28px;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); color: var(--white); }
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border: 2px solid rgba(11,30,61,.3); font-weight: 500; padding: 15px 28px;
}
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(11,30,61,.05); transform: translateY(-2px); color: var(--navy); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.breadcrumb a { font-size: 11px; color: #4A6A88; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--steel); }
.breadcrumb-sep { font-size: 10px; color: #2A4A68; }
.breadcrumb-cur { font-size: 11px; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy-dk); padding: 72px 48px 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 60% 50%, rgba(74,143,196,.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 2; }
.page-hero-label { font-size: 10px; font-weight: 500; color: var(--steel); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; opacity: 0; animation: fadeUp .7s ease .1s forwards; }
.page-hero-title { font-family: var(--font-serif); font-size: clamp(30px,3.5vw,44px); font-weight: 500; color: var(--off); line-height: 1.15; max-width: 700px; margin-bottom: 14px; opacity: 0; animation: fadeUp .8s ease .25s forwards; }
.page-hero-title em { color: var(--steel); font-style: normal; }
.page-hero-rule { width: 40px; height: 2px; background: var(--steel); margin-bottom: 18px; opacity: 0; animation: fadeRule .6s ease .4s forwards; transform-origin: left; }
.page-hero-sub  { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 560px; opacity: 0; animation: fadeUp .7s ease .5s forwards; }

/* Image placeholder */
.img-placeholder {
  width: 100%; aspect-ratio: 3/4; max-width: 360px;
  background: rgba(74,143,196,.06); border: 1.5px dashed rgba(74,143,196,.25);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center;
}
.img-placeholder p { font-size: 11px; color: rgba(74,143,196,.55); line-height: 1.6; letter-spacing: .04em; }

/* =====================================================================
   HERO (Homepage)
   ===================================================================== */
.hero {
  background: var(--navy); position: relative; overflow: hidden;
  min-height: 88vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px 48px 60px;
}
.hero canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
#pantheon-canvas { z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 20; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { font-size: 10px; font-weight: 500; color: var(--steel); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; opacity: 0; transform: translateY(14px); transition: opacity .9s, transform .9s; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px); font-weight: 500;
  color: var(--off); line-height: 1.12; max-width: 720px; margin-bottom: 12px;
  opacity: 0; transform: translateY(18px); transition: opacity .9s .15s, transform .9s .15s;
}
.hero-title em { color: var(--steel); font-style: normal; }
.hero-rule { width: 44px; height: 2px; background: var(--steel); margin: 0 auto 14px; opacity: 0; transform: scaleX(0); transform-origin: center; transition: opacity .6s .3s, transform .6s .3s; }
.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--muted);
  line-height: 1.8; max-width: 500px; margin-bottom: 28px;
  opacity: 0; transform: translateY(10px); transition: opacity .7s .45s, transform .7s .45s;
}
.hero-btns { display: flex; gap: 14px; opacity: 0; transition: opacity .7s .6s; pointer-events: none; flex-wrap: wrap; justify-content: center; }
.hero-btns.on { pointer-events: auto; }
.rv { opacity: 1 !important; transform: none !important; }

/* =====================================================================
   STAT BAR
   ===================================================================== */
.stat-bar {
  background: #060F1C; border-top: 1px solid rgba(74,143,196,.12);
  padding: 16px 48px; display: flex; align-items: center;
  justify-content: center; gap: 52px; flex-wrap: wrap;
}
.stat-n { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--steel); }
.stat-l { font-size: 9px; color: #4A6A88; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; text-align: center; }
.stat-div { width: 1px; height: 28px; background: rgba(74,143,196,.15); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { padding: var(--section-pad); background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.svc-card { border-top: 2px solid var(--steel); padding-top: 22px; }
.svc-num  { font-size: 10px; font-weight: 500; color: var(--steel); letter-spacing: .12em; margin-bottom: 10px; }
.svc-name { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.svc-desc { font-size: 13px; font-weight: 300; color: var(--text); line-height: 1.68; }
.svc-link { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 500; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; transition: color var(--transition); }
.svc-link:hover { color: var(--navy); }

/* =====================================================================
   AUDIT / ATLAS
   ===================================================================== */
.audit-section { background: var(--navy); padding: var(--section-pad); }
.audit-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center;
}
.domains { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.d-row { display: flex; align-items: center; gap: 14px; }
.d-label { font-size: 12px; color: #B0C4D8; width: 216px; flex-shrink: 0; }
.d-bar-wrap { flex: 1; height: 5px; background: rgba(74,143,196,.18); border-radius: 3px; }
.d-bar { height: 5px; border-radius: 3px; background: var(--steel); }
.d-pts { font-size: 11px; font-weight: 500; color: var(--steel); width: 38px; text-align: right; flex-shrink: 0; }
.atlas-col { display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Atlas animation — slow breathe, weight of the world */
@keyframes atlas-breathe {
  0%, 100% { transform: scale(1) translateY(0px);    filter: drop-shadow(0 0 22px rgba(74,143,196,.20)); }
  50%       { transform: scale(1.022) translateY(-9px); filter: drop-shadow(0 0 46px rgba(74,143,196,.44)); }
}
.atlas-asset {
  width: 100%; max-width: 400px;
  animation: atlas-breathe 7s ease-in-out infinite;
  will-change: transform, filter;
}

/* =====================================================================
   PACKAGES
   ===================================================================== */
.packages-section { padding: var(--section-pad); background: var(--off-dk); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.pkg-card {
  background: var(--white); border: 0.5px solid #D5DFE8;
  border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.pkg-card.featured { border: 2px solid var(--steel); position: relative; }
.feat-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--steel); color: var(--white);
  font-size: 10px; font-weight: 600; padding: 4px 18px;
  border-radius: 99px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.pkg-name   { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.pkg-price  { font-family: var(--font-serif); font-size: 30px; font-weight: 500; color: var(--navy); margin-bottom: 3px; }
.pkg-credit { font-size: 11px; color: var(--steel); margin-bottom: 16px; }
.pkg-desc   { font-size: 13px; color: var(--text); line-height: 1.65; padding-bottom: 18px; border-bottom: 0.5px solid #E0E8EF; margin-bottom: 16px; flex: 1; }
.pkg-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.pkg-features li { font-size: 12px; color: #4A5A6A; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.pkg-features li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--steel); flex-shrink: 0; margin-top: 4px; }
.pkg-btn { width: 100%; padding: 13px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; border: none; transition: all var(--transition); }
.pkg-btn:hover { transform: translateY(-1px); }
.pkg-btn-p { background: var(--navy); color: var(--white); }
.pkg-btn-p:hover { background: #1A3560; }
.pkg-btn-s { background: var(--off); color: var(--navy); border: 1px solid #C8D5E0; }
.pkg-btn-s:hover { background: #E8F2FA; }

/* Pricing toggle */
.pkg-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; }
.pkg-toggle-label { font-size: 12px; color: var(--text); }
.pkg-toggle {
  position: relative; width: 44px; height: 24px;
  background: #D5DFE8; border-radius: 99px; cursor: pointer;
  transition: background var(--transition); border: none;
}
.pkg-toggle.active { background: var(--steel); }
.pkg-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--white);
  transition: transform var(--transition);
}
.pkg-toggle.active::after { transform: translateX(20px); }

/* Hide pricing when class is applied */
.pricing-hidden .pkg-price,
.pricing-hidden .pkg-credit,
.pricing-hidden .stat-audit-price { display: none !important; }

/* =====================================================================
   RETAINERS
   ===================================================================== */
.retainer-section { background: var(--navy-dk); padding: var(--section-pad); }
.ret-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start;
}
.ret-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.ret-card {
  border-left: 3px solid; padding: 20px 22px;
  background: rgba(255,255,255,.035); border-radius: 0 var(--radius) var(--radius) 0;
}
.ret-card.anchor  { border-color: var(--steel); }
.ret-card.pillar  { border-color: #7A8FC4; }
.ret-card.pinnacle{ border-color: var(--off); }
.ret-top  { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.ret-name { font-family: var(--font-serif); font-size: 19px; font-weight: 500; color: var(--off); }
.ret-price{ font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--steel); }
.ret-desc { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.ret-pills{ display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.ret-pill { font-size: 10px; color: var(--muted); border: 1px solid rgba(74,143,196,.22); padding: 3px 10px; border-radius: 99px; }
.ret-btn  { font-size: 11px; font-weight: 700; color: var(--white); background: var(--steel); border: none; padding: 9px 20px; border-radius: var(--radius); cursor: pointer; letter-spacing: .07em; text-transform: uppercase; transition: all var(--transition); }
.ret-btn:hover { background: var(--steel-lt); transform: translateY(-1px); }
.olive-col { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 28px; }

/* Olive animation — organic drift, loose rotation */
@keyframes olive-drift {
  0%   { transform: rotate(-3deg) translateY(0px);    filter: drop-shadow(0 10px 28px rgba(74,143,196,.14)); }
  35%  { transform: rotate(1deg)  translateY(-11px);  filter: drop-shadow(0 20px 40px rgba(74,143,196,.30)); }
  70%  { transform: rotate(3deg)  translateY(-5px);   filter: drop-shadow(0 14px 32px rgba(74,143,196,.18)); }
  100% { transform: rotate(-3deg) translateY(0px);    filter: drop-shadow(0 10px 28px rgba(74,143,196,.14)); }
}
.olive-asset {
  width: 100%; max-width: 360px;
  animation: olive-drift 9s ease-in-out infinite;
  will-change: transform, filter;
}

/* =====================================================================
   BLOG / INSIGHTS
   ===================================================================== */
.blog-section { padding: var(--section-pad); background: var(--off); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.blog-card {
  background: var(--white); border: 0.5px solid #D5DFE8;
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(11,30,61,.1); }
.blog-thumb { height: 156px; background: var(--navy); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-placeholder { width: 44px; height: 44px; border-radius: 50%; background: rgba(74,143,196,.2); display: flex; align-items: center; justify-content: center; }
.blog-thumb-placeholder::after { content: ''; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--steel); }
.blog-body    { padding: 22px; }
.blog-tag     { font-size: 10px; font-weight: 500; color: var(--steel); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.blog-title   { font-family: var(--font-serif); font-size: 17px; font-weight: 500; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.blog-excerpt { font-size: 12px; color: #6A7A8A; line-height: 1.65; margin-bottom: 14px; }
.blog-meta    { font-size: 11px; color: #9AA8B4; }

/* Single post */
.post-content { max-width: 720px; margin: 0 auto; padding: var(--section-pad); }
.post-content h1, .post-content h2, .post-content h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.25; }
.post-content h1 { font-size: clamp(28px,3.5vw,42px); font-weight: 500; margin-bottom: 16px; }
.post-content h2 { font-size: 26px; font-weight: 500; margin: 40px 0 14px; }
.post-content h3 { font-size: 20px; font-weight: 500; margin: 32px 0 10px; }
.post-content p  { font-size: 15px; font-weight: 300; color: var(--text); line-height: 1.85; margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 20px; margin-bottom: 20px; }
.post-content li { font-size: 15px; font-weight: 300; color: var(--text); line-height: 1.75; margin-bottom: 6px; }
.post-content blockquote { border-left: 3px solid var(--steel); padding: 16px 24px; margin: 28px 0; background: rgba(74,143,196,.05); }
.post-content blockquote p { font-family: var(--font-serif); font-size: 18px; font-style: italic; color: var(--navy); margin: 0; }
.post-content a { color: var(--steel); text-decoration: underline; }
.post-content img { border-radius: var(--radius-lg); margin: 28px 0; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-section { padding: var(--section-pad); background: var(--off-dk); }
.about-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.astat { padding: 18px; border-left: 2px solid var(--steel); background: var(--white); }
.astat-n { font-family: var(--font-serif); font-size: 32px; font-weight: 500; color: var(--navy); }
.astat-l { font-size: 11px; color: #6A7A8A; margin-top: 3px; line-height: 1.4; }
.founder-card { background: var(--white); padding: 30px; border-radius: var(--radius); border: 0.5px solid #D5DFE8; }
.founder-av   { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; color: var(--off); margin-bottom: 16px; overflow: hidden; }
.founder-av img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.founder-role { font-size: 11px; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.founder-bio  { font-size: 13px; color: var(--text); line-height: 1.75; margin-bottom: 16px; }
.creds { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.cred  { font-size: 12px; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.cred::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--steel); flex-shrink: 0; margin-top: 4px; }

/* =====================================================================
   OWL BAND
   ===================================================================== */
.owl-band {
  background: var(--navy); padding: 68px 48px;
  display: flex; align-items: center; justify-content: center;
  gap: 64px; flex-wrap: wrap;
}
.owl-img-wrap { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

/* Owl animation — slow vertical hover, watchful glow */
@keyframes owl-hover {
  0%, 100% { transform: translateY(0px);    filter: drop-shadow(0 0 14px rgba(74,143,196,.18)); }
  50%       { transform: translateY(-12px);  filter: drop-shadow(0 6px 34px rgba(74,143,196,.40)); }
}
.owl-asset {
  width: 280px;
  animation: owl-hover 6s ease-in-out infinite;
  will-change: transform, filter;
}
.owl-text { max-width: 500px; }
.owl-title { font-family: var(--font-serif); font-size: 30px; font-weight: 500; color: var(--off); line-height: 1.25; margin-bottom: 14px; }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-section { padding: var(--section-pad); background: var(--off); }
.contact-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-meta { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.c-item { display: flex; align-items: flex-start; gap: 14px; }
.c-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(74,143,196,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.c-label{ font-size: 10px; font-weight: 600; color: #3A5A78; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.c-val  { font-size: 14px; color: var(--navy); }
.c-val a{ color: var(--navy); text-decoration: none; transition: color var(--transition); }
.c-val a:hover { color: var(--steel); }

.contact-form-wrap { background: var(--white); padding: 36px; border-radius: var(--radius); border: 0.5px solid #D5DFE8; }
.form-headline { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.form-sub  { font-size: 12px; color: var(--text); margin-bottom: 28px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-label { font-size: 11px; font-weight: 600; color: var(--navy); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; display: block; }
.form-label span { color: var(--steel); margin-left: 2px; }
.form-input {
  width: 100%; padding: 11px 14px; font-size: 13px; color: var(--navy);
  background: var(--off); border: 1px solid #C8D5E0; border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition); outline: none;
}
.form-input:focus { border-color: var(--steel); background: var(--white); }
.form-input::placeholder { color: #A0B0C0; }
.form-select {
  width: 100%; padding: 11px 14px; font-size: 13px; color: var(--navy);
  background: var(--off); border: 1px solid #C8D5E0; border-radius: var(--radius);
  transition: border-color var(--transition); outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234A8FC4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-select:focus { border-color: var(--steel); background-color: var(--white); }
.form-textarea {
  width: 100%; padding: 11px 14px; font-size: 13px; color: var(--navy);
  background: var(--off); border: 1px solid #C8D5E0; border-radius: var(--radius);
  min-height: 110px; resize: vertical; transition: border-color var(--transition); outline: none;
}
.form-textarea:focus { border-color: var(--steel); background: var(--white); }
.form-textarea::placeholder { color: #A0B0C0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-checkbox-group { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.form-checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.form-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text); line-height: 1.4; }
.form-checkbox-label input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--steel); flex-shrink: 0; margin-top: 1px; cursor: pointer; }
.form-checkbox-label input[type=checkbox]:checked + span { color: var(--navy); font-weight: 500; }
.form-submit {
  width: 100%; padding: 15px; background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition); margin-top: 8px;
}
.form-submit:hover { background: #1A3560; transform: translateY(-1px); }
.form-disclaimer { font-size: 11px; color: #9AA8B4; margin-top: 12px; text-align: center; line-height: 1.55; }

/* HubSpot form overrides — match Selumn design system */
#hs-form-target { margin-top: 4px; }
#hs-form-target .hs-form fieldset { max-width: 100% !important; }
#hs-form-target .hs-form .hs-form-field { margin-bottom: 18px; }
#hs-form-target .hs-form label { font-size: 11px; font-weight: 600; color: var(--navy); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; display: block; }
#hs-form-target .hs-form input[type=text],
#hs-form-target .hs-form input[type=email],
#hs-form-target .hs-form input[type=tel],
#hs-form-target .hs-form input[type=number],
#hs-form-target .hs-form select,
#hs-form-target .hs-form textarea {
  width: 100%; padding: 11px 14px; font-size: 13px; color: var(--navy);
  background: var(--off); border: 1px solid #C8D5E0; border-radius: var(--radius);
  outline: none; transition: border-color var(--transition), background var(--transition);
  font-family: var(--font-sans); box-shadow: none; appearance: none;
}
#hs-form-target .hs-form input:focus,
#hs-form-target .hs-form select:focus,
#hs-form-target .hs-form textarea:focus { border-color: var(--steel); background: var(--white); }
#hs-form-target .hs-form textarea { min-height: 110px; resize: vertical; }
#hs-form-target .hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 4px 0 0; }
#hs-form-target .hs-form .hs-error-msgs li label { font-size: 11px; color: #c0392b; text-transform: none; letter-spacing: 0; font-weight: 400; }
#hs-form-target .hs-form .hs-button {
  width: 100%; padding: 15px; background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); border: none; cursor: pointer; font-family: var(--font-sans);
  transition: background var(--transition), transform var(--transition); margin-top: 8px;
}
#hs-form-target .hs-form .hs-button:hover { background: #1A3560; transform: translateY(-1px); }
#hs-form-target .hs-form .hs-richtext { font-size: 11px; color: #9AA8B4; margin-top: 12px; text-align: center; line-height: 1.55; }
/* Hide HubSpot branding */
#hs-form-target .hs_cos_wrapper_type_form .legal-consent-container { font-size: 11px; color: #9AA8B4; }
.submitted-message { font-size: 14px; color: var(--navy); padding: 20px 0; line-height: 1.7; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { background: var(--steel); padding: 80px 48px; text-align: center; }
.cta-band-inner { max-width: 620px; margin: 0 auto; }
.cta-band .eyebrow { color: rgba(255,255,255,.6); margin-bottom: 14px; }
.cta-title { font-family: var(--font-serif); font-size: clamp(26px,3vw,36px); font-weight: 500; color: var(--white); line-height: 1.2; margin-bottom: 12px; }
.cta-sub   { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 32px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #040C18; padding: 58px 48px 28px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 50px;
}
.footer-brand { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--off); margin-bottom: 12px; }
.footer-brand span { color: var(--steel); }
.footer-tagline { font-size: 12px; color: #3A5A78; line-height: 1.65; max-width: 240px; margin-bottom: 18px; }
.footer-contact-info { font-size: 12px; color: #3A5A78; line-height: 1.8; }
.footer-contact-info a { color: #3A5A78; text-decoration: none; transition: color var(--transition); }
.footer-contact-info a:hover { color: var(--steel); }
.footer-col-title { font-size: 10px; font-weight: 600; color: var(--off); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 12px; color: #3A5A78; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: #8BA4BF; }
.footer-bottom {
  border-top: 1px solid rgba(74,143,196,.1); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy  { font-size: 11px; color: #2A4A68; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: #2A4A68; text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: #6A8AA8; }

/* =====================================================================
   FAQ (standalone page)
   ===================================================================== */
.faq-section { padding: var(--section-pad); background: var(--off); }
.faq-layout  { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.faq-sidebar { position: sticky; top: 120px; }
.faq-sidebar-title { font-size: 10px; font-weight: 600; color: var(--navy); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.faq-sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.faq-sidebar-list a { font-size: 12px; color: #6A8AA8; text-decoration: none; padding: 7px 12px; display: block; border-radius: var(--radius); transition: all var(--transition); border-left: 2px solid transparent; }
.faq-sidebar-list a:hover, .faq-sidebar-list a.active { color: var(--navy); background: rgba(74,143,196,.06); border-left-color: var(--steel); }
.faq-sidebar-list a.active { font-weight: 500; }
.faq-clusters { display: flex; flex-direction: column; gap: 64px; }
.faq-cluster  { scroll-margin-top: 120px; }
.cluster-label{ font-size: 10px; font-weight: 600; color: var(--steel); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.cluster-title{ font-family: var(--font-serif); font-size: 24px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.cluster-desc { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.72; max-width: 560px; margin-bottom: 28px; }
.cluster-rule { width: 32px; height: 2px; background: rgba(74,143,196,.3); margin-bottom: 28px; }
.faq-list  { border-top: 1px solid #E0E8EF; }
.faq-item  { border-bottom: 1px solid #E0E8EF; }
.faq-q     { width: 100%; background: none; border: none; padding: 18px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; text-align: left; }
.faq-q-text{ font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5; flex: 1; transition: color var(--transition); }
.faq-q:hover .faq-q-text, .faq-q[aria-expanded="true"] .faq-q-text { color: var(--navy); }
.faq-icon  { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(74,143,196,.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: all var(--transition); }
.faq-icon::after { content: '+'; font-size: 13px; color: var(--steel); line-height: 1; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--steel); border-color: var(--steel); }
.faq-q[aria-expanded="true"] .faq-icon::after { content: '−'; color: var(--white); }
.faq-a     { font-size: 13px; font-weight: 300; color: var(--text); line-height: 1.78; padding: 0 0 18px; max-width: 600px; display: none; }
.faq-a.open{ display: block; }
.faq-a p+p { margin-top: 10px; }
.faq-a a   { color: var(--steel); text-decoration: underline; }

/* =====================================================================
   WHAT TO EXPECT / NOT SURE
   ===================================================================== */
.phase-list  { display: flex; flex-direction: column; }
.phase-item  { display: grid; grid-template-columns: 80px 1fr; }
.phase-left  { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.phase-num   { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); border: 2px solid var(--steel); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 16px; font-weight: 500; color: var(--off); flex-shrink: 0; z-index: 2; position: relative; }
.phase-line  { width: 1px; flex: 1; background: rgba(74,143,196,.2); margin-top: 8px; min-height: 40px; }
.phase-right { padding: 0 0 56px 32px; }
.phase-tag   { font-size: 10px; font-weight: 600; color: var(--steel); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.phase-title { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.phase-desc  { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.78; margin-bottom: 16px; max-width: 580px; }
.phase-details{ display: flex; flex-direction: column; gap: 7px; }
.phase-detail { font-size: 13px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.phase-detail::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--steel); flex-shrink: 0; margin-top: 5px; }
.phase-note  { margin-top: 14px; padding: 14px 18px; background: rgba(74,143,196,.06); border-left: 2px solid var(--steel); border-radius: 0 var(--radius) var(--radius) 0; }
.phase-note p{ font-size: 12px; color: var(--text); line-height: 1.65; }

/* =====================================================================
   UTILITY
   ===================================================================== */
.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-28 { margin-top: 28px; }
.mt-52 { margin-top: 52px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .audit-inner, .ret-inner { grid-template-columns: 1fr; }
  .atlas-col  { order: -1; }
  .atlas-asset { max-width: 260px; }
  .olive-asset { max-width: 240px; }
}
@media (max-width: 900px) {
  .services-grid, .pkg-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { display: none; }
  .phase-item { grid-template-columns: 1fr; }
  .phase-left { display: none; }
  .phase-right { padding: 0 0 40px 0; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; }
  .site-nav .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dk); padding: 16px 24px 24px; border-bottom: 1px solid rgba(74,143,196,.12); }
  .site-nav .nav-menu.open { display: flex; }
  .site-nav { flex-wrap: wrap; position: relative; }
}
@media (max-width: 600px) {
  :root { --section-pad: 60px 24px; }
  .top-bar, .site-nav { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 60px 24px 48px; }
  .stat-bar { padding: 16px 24px; gap: 28px; }
  .owl-band { padding: 48px 24px; gap: 32px; }
  .services-grid, .pkg-grid, .blog-grid, .about-stats { grid-template-columns: 1fr; }
  .form-row-2, .form-checkbox-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 24px 24px; }
  .cta-band { padding: 56px 24px; }
  .page-hero { padding: 48px 24px 40px; }
}
