/*
Theme Name: Biz Clinic Advisory
Theme URI: https://biz.clinic/
Author: Biz Clinic
Description: A streamlined, responsive one-page theme for Biz Clinic's business, financial, M&A, AI optimization, and CSBFL advisory services.
Version: 1.1.8
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: biz-clinic-advisory
*/

:root {
  --ink: #102421;
  --deep: #0b2824;
  --forest: #153c35;
  --sage: #dce4dd;
  --paper: #f4f1e9;
  --cream: #fbf9f3;
  --gold: #d4ad5b;
  --line: rgba(16, 36, 33, 0.18);
  --header-offset: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#services, #ai, #about, #csbfl, #approach, #contact { scroll-margin-top: var(--header-offset); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.site-header {
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 90px;
  padding: 0 clamp(24px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand, .footer-brand { align-items: center; display: flex; width: max-content; }
.brand { justify-self: start; margin: 0; }
.brand img { display: block; height: auto; margin: 0; width: clamp(168px, 15vw, 224px); }
.footer-brand img { filter: brightness(0) invert(1); height: auto; opacity: .92; width: 240px; }
.desktop-nav { display: flex; gap: 22px; }
.desktop-nav a { font-size: 11px; letter-spacing: .07em; position: relative; text-transform: uppercase; white-space: nowrap; }
.desktop-nav a::after { background: var(--gold); bottom: -8px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: .2s ease; width: 100%; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.site-header > .button { justify-self: end; }
.mobile-menu { display: none; }

.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 11px; gap: 18px; justify-content: center; letter-spacing: .1em; padding: 17px 22px; text-transform: uppercase; transition: .2s ease; width: max-content; }
.button svg, .text-link svg { height: 17px; width: 17px; }
.button svg, .text-link svg, .button span[aria-hidden="true"], .text-link span[aria-hidden="true"] { transition: transform .2s ease; }
.button:hover svg, .text-link:hover svg, .button:hover span[aria-hidden="true"], .text-link:hover span[aria-hidden="true"] { transform: translateX(4px); }
.button-small { padding: 14px 18px; }
.button-dark { background: var(--deep); color: white; }
.button-dark:hover { background: var(--forest); }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #e2c37d; }
.button-outline { border-color: rgba(255,255,255,.6); color: white; }
.button-outline:hover { background: white; color: var(--ink); }
.text-link { align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); color: white; display: inline-flex; font-size: 11px; gap: 12px; letter-spacing: .09em; padding-bottom: 7px; text-transform: uppercase; width: max-content; }
.dark-link { border-color: var(--line); color: var(--ink); }

.hero { background: var(--deep); color: white; display: grid; grid-template-columns: 2fr 1fr; min-height: 610px; padding: clamp(42px, 5vh, 58px) clamp(24px, 7vw, 110px) 22px; position: relative; }
.hero::before { background: linear-gradient(110deg, transparent 58%, rgba(255,255,255,.035) 58%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hero-main { align-self: center; max-width: 820px; position: relative; }
.eyebrow { align-items: center; color: var(--gold); display: flex; font-size: 10px; gap: 14px; letter-spacing: .18em; margin: 0 0 18px; text-transform: uppercase; }
.eyebrow::before { background: currentColor; content: ""; height: 1px; width: 28px; }
.eyebrow.dark { color: #64726d; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(58px, 7.2vw, 112px); line-height: .93; max-width: 900px; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-copy { color: #c6d1cd; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; margin: 25px 0 26px; max-width: 650px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 30px; }
.hero-panel { align-self: center; border-left: 1px solid rgba(255,255,255,.18); margin-left: clamp(20px, 5vw, 80px); padding-left: clamp(22px, 3vw, 48px); position: relative; }
.hero-panel > p { color: #91a49e; font-size: 10px; letter-spacing: .18em; margin: 0 0 18px; text-transform: uppercase; }
.focus-line { border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; padding: 14px 0; }
.focus-line span { font-family: Georgia, serif; font-size: clamp(18px, 2vw, 27px); }
.focus-line strong { color: var(--gold); font-size: 10px; font-weight: 400; }
.panel-note { border: 1px solid rgba(212,173,91,.45); color: #becac6; font-family: Georgia, serif; font-size: 16px; font-style: italic; line-height: 1.5; margin-top: 22px; padding: 18px; }
.hero-foot { align-items: center; align-self: end; color: #7f9992; display: flex; font-size: 9px; grid-column: 1 / -1; letter-spacing: .15em; margin-top: 30px; position: relative; text-transform: uppercase; }
.hero-rule { background: rgba(255,255,255,.18); height: 1px; margin: 0 22px; max-width: 220px; width: 20vw; }

.section { padding: 52px clamp(24px, 8vw, 128px); }
.intro { background: var(--cream); display: grid; gap: 10vw; grid-template-columns: 1.1fr .9fr; }
.intro h2, .section-heading h2 { font-size: clamp(44px, 5vw, 74px); line-height: 1.06; }
.intro h2 em, .light-heading h2 em { color: #7e8b86; }
.intro-copy { padding-top: 16px; }
.intro-copy p { color: #62706b; font-size: 15px; line-height: 1.8; max-width: 560px; }
.intro-copy .lead { color: var(--ink); font-family: Georgia, serif; font-size: clamp(20px, 2vw, 27px); line-height: 1.5; }
.intro-copy .text-link { margin-top: 10px; }

.services { background: var(--deep); color: white; }
.section-heading { display: flex; justify-content: space-between; margin-bottom: 32px; }
.section-heading .eyebrow { min-width: 220px; }
.section-heading h2 { margin-right: 10%; }
.service-grid { border-bottom: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: repeat(4, 1fr); }
.service-card { border-left: 1px solid rgba(255,255,255,.16); padding: 0 clamp(18px, 2.2vw, 34px) 26px; }
.service-card:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.service-top { align-items: center; color: var(--gold); display: flex; font-size: 10px; gap: 15px; }
.mini-line { background: rgba(255,255,255,.22); height: 1px; width: 42px; }
.service-card h3 { font-family: Georgia, serif; font-size: clamp(26px, 2.5vw, 38px); font-weight: 400; line-height: 1.15; margin: 22px 0 14px; min-height: 2.3em; }
.service-card > p { color: #aebdb8; font-size: 14px; line-height: 1.65; min-height: 100px; }
.service-card ul { border-top: 1px solid rgba(255,255,255,.15); list-style: none; margin: 20px 0 0; padding: 12px 0 0; }
.service-card li { color: #d4ddda; font-size: 12px; line-height: 1.5; padding: 7px 0 7px 16px; position: relative; }
.service-card li::before { color: var(--gold); content: "—"; left: 0; position: absolute; }

.decision-strip { align-items: center; background: #a06d35; color: white; display: flex; gap: 30px; justify-content: space-between; padding: 24px clamp(24px, 8vw, 128px); }
.decision-strip p { font-size: 10px; letter-spacing: .13em; margin: 0; text-transform: uppercase; }
.decision-strip h2 { font-size: clamp(34px, 4vw, 58px); }
.decision-strip h2 em { color: #f0d39a; }

.ai-advisory { align-items: start; background: #102f2a; color: white; display: grid; gap: 5vw; grid-template-columns: .9fr 1.1fr; }
.ai-intro h2 { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.06; }
.ai-intro > p:not(.eyebrow) { color: #b2c3bd; font-size: 16px; line-height: 1.75; margin: 26px 0 0; max-width: 620px; }
.ai-intro .button { margin-top: 22px; }
.ai-capabilities { border-left: 1px solid rgba(255,255,255,.18); border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 1fr 1fr; }
.ai-capabilities article { border-bottom: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); min-height: 188px; padding: clamp(20px, 2.4vw, 30px); }
.ai-capabilities span { color: var(--gold); font-size: 10px; }
.ai-capabilities h3 { font-family: Georgia, serif; font-size: clamp(23px, 2vw, 31px); font-weight: 400; line-height: 1.1; margin: 14px 0 9px; }
.ai-capabilities p { color: #aebfba; font-size: 13px; line-height: 1.65; margin: 0; }

.csbfl { align-items: center; background: #dce9ed; display: grid; gap: 8vw; grid-template-columns: .65fr 1.35fr; }
.csbfl-label { align-items: center; aspect-ratio: 1; background: #087f9f; color: white; display: flex; flex-direction: column; justify-content: center; max-width: 300px; padding: 28px; text-align: center; width: 100%; }
.csbfl-label span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.csbfl-label strong { font-family: Georgia, serif; font-size: clamp(54px, 7vw, 96px); font-weight: 400; letter-spacing: -.05em; margin-top: 10px; }
.csbfl-copy h2 { color: var(--ink); font-size: clamp(38px, 4.5vw, 66px); line-height: 1.05; max-width: 850px; }
.csbfl-copy > p:not(.eyebrow) { color: #536b72; font-size: 17px; line-height: 1.7; margin: 20px 0; max-width: 760px; }

.approach { background: var(--paper); }
.light-heading h2 { color: var(--ink); }
.approach-list { border-top: 1px solid var(--line); }
.approach-list article { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 60px 1fr 1fr; padding: 21px 0; }
.approach-list span { color: #8a9792; font-size: 10px; }
.approach-list h3 { font-family: Georgia, serif; font-size: clamp(24px, 2.5vw, 37px); font-weight: 400; margin: 0; }
.approach-list p { color: #65716d; line-height: 1.7; margin: 4px 0 0; max-width: 460px; }

.why { background: var(--cream); display: grid; gap: 8vw; grid-template-columns: 1.05fr .95fr; }
.why-card { background: var(--deep); color: white; padding: clamp(32px, 4vw, 56px); }
.why-card h2 { font-size: clamp(40px, 4.5vw, 66px); line-height: 1.07; }
.why-card p:last-child { color: #afbeb9; line-height: 1.75; margin: 24px 0 0; max-width: 560px; }
.why-points article { border-bottom: 1px solid var(--line); display: grid; gap: 25px; grid-template-columns: 32px 1fr; padding: 17px 0; }
.why-points strong { color: #9aa59f; font-size: 10px; font-weight: 400; }
.why-points h3 { font-family: Georgia, serif; font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.why-points p { color: #6c7773; font-size: 13px; line-height: 1.6; margin: 0; }

.contact { background: var(--forest); color: white; display: grid; gap: 8vw; grid-template-columns: .85fr 1.15fr; padding: 52px clamp(24px, 8vw, 128px); }
.contact h2 { font-size: clamp(48px, 5vw, 78px); line-height: 1; }
.contact-copy > p:not(.eyebrow) { color: #b8c6c2; line-height: 1.7; margin: 22px 0; max-width: 520px; }
.contact-details { display: flex; flex-direction: column; gap: 9px; }
.contact-details a { font-family: Georgia, serif; font-size: 18px; width: max-content; }
.contact-form { border-top: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; gap: 19px; padding-top: 20px; }
.form-row { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.contact-form label { color: #b9c8c3; display: flex; flex-direction: column; font-size: 9px; gap: 8px; letter-spacing: .14em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; color: white; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.45; outline: none; padding: 10px 0 13px; resize: vertical; text-transform: none; }
.contact-form select { color-scheme: light; }
.contact-form select option { background: var(--cream); color: var(--ink); }
.contact-form select option:disabled { color: #65716d; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form small { color: #92a49e; font-size: 10px; line-height: 1.5; }
.contact-form button:disabled { cursor: wait; opacity: .72; }
.contact-form .form-status.success { color: #e2c37d; }
.contact-form .form-status.error { color: #ffd0c9; }
.contact-form .website-field { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.form-status { margin: 0; }
.form-status a { color: inherit; text-decoration: underline; }

footer { background: #071d1a; color: white; display: grid; gap: 34px; grid-template-columns: 2fr 1fr 1fr; padding: 34px clamp(24px, 8vw, 128px) 22px; }
footer > div > span { color: #7e928c; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
footer p { color: #b0bdb9; font-size: 12px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; grid-column: 1 / -1; justify-content: space-between; padding-top: 18px; }
.footer-bottom a { color: #b0bdb9; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

@media (min-width: 901px) {
  .ai-advisory { padding-top: 16px; }
}

@media (max-width: 1250px) and (min-width: 901px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header > .button { display: none; }
  .desktop-nav { justify-self: end; }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-top: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 900px) {
  :root { --header-offset: 78px; }
  .site-header { grid-template-columns: 1fr auto; height: 78px; padding: 0 22px; }
  .desktop-nav, .site-header > .button { display: none; }
  .mobile-menu { display: block; justify-self: end; position: relative; }
  .mobile-menu summary { cursor: pointer; display: flex; flex-direction: column; gap: 7px; list-style: none; padding: 10px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { background: var(--ink); height: 1px; width: 24px; }
  .mobile-menu nav { background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; padding: 14px; position: absolute; right: 0; top: 42px; width: 190px; }
  .mobile-menu nav a { border-bottom: 1px solid var(--line); font-size: 12px; padding: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 42px 0 0; padding: 28px 0 0; }
  .hero-foot { flex-wrap: wrap; gap: 10px; }
  .hero-rule { display: none; }
  .intro, .why, .contact, .csbfl, .ai-advisory { gap: 36px; grid-template-columns: 1fr; }
  .ai-capabilities article { min-height: 0; }
  .csbfl-label { max-width: 260px; }
  .intro-copy { padding-top: 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 1px solid rgba(255,255,255,.16); border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; }
  .service-card h3 { min-height: 0; }
  .service-card > p { min-height: 0; }
  .decision-strip { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .brand img { width: 150px; }
  .section { padding-bottom: 42px; padding-top: 42px; }
  h1 { font-size: 54px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-foot { align-items: flex-start; flex-direction: column; }
  .approach-list article { grid-template-columns: 34px 1fr; }
  .approach-list p { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
  .ai-capabilities { grid-template-columns: 1fr; }
  .contact { padding-bottom: 42px; padding-top: 42px; }
  footer { gap: 24px; grid-template-columns: 1fr; }
  .footer-bottom { gap: 18px; grid-column: 1; flex-direction: column; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.generic-content { background: var(--cream); min-height: 55vh; padding: 70px clamp(24px, 8vw, 128px); }
.generic-content h1 { color: var(--ink); font-size: clamp(42px, 6vw, 76px); }
.generic-content .entry-content { color: #53615c; line-height: 1.75; max-width: 780px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
