/* ==========================================================================
   Acquisition Advisory Services — Shared Stylesheet
   Brand direction: calm, analytical, experienced, direct, protective,
   practical, executive, independent, credible. Not flashy or alarmist.
   ========================================================================== */

:root{
  --navy: #12233d;
  --navy-deep: #0b1626;
  --charcoal: #22282f;

  --warm-white: #faf8f4;
  --light-gray: #f2f0ea;
  --white: #ffffff;

  --slate: #48586c;
  --slate-light: #7c8aa0;
  --muted-blue: #33526f;

  --amber: #a8792f;
  --amber-light: #c99a4f;

  --risk-red: #8f3b34;
  --risk-red-bg: #f7ece9;
  --risk-red-bright: #e0483f;
  --risk-red-bright-soft: #cc5b4f;

  --border: #e2ddd2;
  --text-main: #22282f;
  --text-muted: #5b6472;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(18,35,61,0.08);
  --shadow-md: 0 6px 24px rgba(18,35,61,0.10);
  --shadow-lg: 0 14px 36px rgba(18,35,61,0.16);
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-main);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em 0;
  font-weight: 800;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.008em; }
h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

a { color: var(--muted-blue); text-decoration: underline; text-decoration-color: rgba(51,82,111,0.35); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--amber-light);
  outline-offset: 2px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--navy); color:#fff; padding:12px 18px; z-index:200; border-radius: var(--radius);
}
.skip-link:focus{ left:16px; top:16px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 6px;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 1.02rem; letter-spacing: 0.02em;
  flex: none; box-shadow: var(--shadow-sm);
}
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.15;
}
.brand-name small { display:block; font-family: var(--sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none; color: var(--text-main); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.01em; padding: 10px 12px; border-radius: var(--radius); position: relative;
}
.main-nav a:hover { color: var(--navy); background: var(--light-gray); }
.main-nav a.current { color: var(--navy); font-weight: 800; }
.main-nav a.current::after {
  content:""; position:absolute; left:12px; right:12px; bottom:4px; height:2px; background: var(--amber);
}

.nav-cta {
  background: var(--amber) !important; color: #fff !important;
  padding: 10px 20px !important; border-radius: 999px; margin-left: 6px;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover { background: #8f6526 !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-cta.current::after { display:none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 10px; font-size: 1.1rem; color: var(--navy); cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--warm-white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    display: none; padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav a.current::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 0.9rem; }
  .brand-name { font-size: 0.88rem; }
  .brand-name small { display: none; }
}

/* Compact sticky header on scroll */
.site-header { transition: box-shadow 0.2s ease; }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { transition: padding 0.2s ease; }
.site-header.scrolled .container { padding-top: 8px; padding-bottom: 8px; }
.brand-mark { transition: width 0.2s ease, height 0.2s ease, font-size 0.2s ease; }
.site-header.scrolled .brand-mark { width: 34px; height: 34px; font-size: 0.86rem; }
.brand-name small { transition: opacity 0.15s ease; }
.site-header.scrolled .brand-name small { display: none; }
.site-header.scrolled .brand-name { font-size: 0.95rem; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color .15s ease, transform 0.15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--navy); color: var(--warm-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); color: var(--warm-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--warm-white); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: var(--shadow-sm); }
.btn-amber:hover { background: #8f6526; color:#fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-block { display:block; width:100%; text-align:center; }

/* ---------------- Sections ---------------- */
section { padding: 76px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: var(--light-gray); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--warm-white); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--warm-white); }
.section-navy a:not(.btn) { color: #cfe0f0; }
.section-navy p { color: #d7deea; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 800;
  color: var(--amber); margin-bottom: 14px; display: flex; align-items: center;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px; background: var(--amber);
  margin-right: 10px; flex: none;
}
.section-navy .eyebrow { color: var(--amber-light); }
.section-navy .eyebrow::before { background: var(--amber-light); }

.lede { font-size: 1.17rem; color: var(--text-muted); max-width: 62ch; }
.section-navy .lede { color: #d7deea; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 0 0 76px;
  background: radial-gradient(ellipse 900px 500px at 85% -10%, rgba(18,35,61,0.06), transparent 60%);
}
.hero .container { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 56px; align-items: center; padding-top: 76px; }
@media (max-width: 880px){ .hero .container{ grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.1rem); line-height: 1.08; }

.hero-category {
  font-family: var(--serif); font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
  font-size: clamp(0.6rem, 2.9vw, 1.6rem); color: var(--amber-light);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  margin: 0; line-height: 1.3; white-space: nowrap;
  text-align: center; padding: 14px 16px; overflow: hidden;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-standout-full { padding: 40px 24px 48px; text-align: center; }
.hero-standout-headline {
  font-family: var(--serif); font-style: italic; font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.25;
  color: var(--amber-light); margin: 0 0 10px;
}
.hero-standout-subhead {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.08rem; line-height: 1.55; color: var(--amber);
  margin: 0 auto; max-width: 62ch;
}
@media (max-width: 480px) {
  .hero-standout-full { padding: 32px 16px 36px; }
}

.hero-subline {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  color: var(--navy); font-size: 1.02rem; line-height: 1.5;
  margin: 16px 0 0; max-width: 46ch;
}

.hero-standout {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 12px; padding: 22px 24px; border-top: 3px solid var(--amber);
}
.hero-standout p {
  font-family: var(--serif); font-weight: 800; font-size: 1.28rem;
  line-height: 1.3; color: var(--amber-light); margin: 0;
}

.hero-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--amber);
}
.hero-panel h3 { margin-bottom: 14px; }
.hero-panel ul { margin: 0; padding-left: 20px; }
.hero-panel li { margin-bottom: 10px; color: var(--text-muted); }

/* ---------------- Photo hero (full-bleed image + overlay) ---------------- */
.photo-hero {
  position: relative; background-color: var(--navy);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 0; overflow: hidden; isolation: isolate;
}
.photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,22,38,0.72) 0%, rgba(11,22,38,0.6) 45%, rgba(11,22,38,0.88) 100%);
}
.photo-hero > .hero-category,
.photo-hero > .hero-standout-full,
.photo-hero > .container { position: relative; z-index: 1; }
.photo-hero .eyebrow { color: var(--amber-light); }
.photo-hero .eyebrow::before { background: var(--amber-light); }
.photo-hero h1 { color: #fff; }
.photo-hero .lede { color: #e6e9ee; }
.photo-hero .lede strong { color: #fff; }
.photo-hero .hero-subline { color: #fff; }
.photo-hero .hero-panel {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
.photo-hero .hero-panel h3 { color: #fff; }
.photo-hero .hero-panel li { color: #dbe1ea; }
.photo-hero .hero-standout-headline { color: var(--amber-light); }
.photo-hero .hero-standout-subhead { color: var(--amber-light); }
.photo-hero .container { padding-top: 64px; padding-bottom: 64px; }
.photo-hero .hero-standout-full { padding-top: 8px; }
@media (max-width: 880px) {
  .photo-hero .container { padding-top: 44px; padding-bottom: 44px; }
}

/* ---------------- Image bands + photo cards ---------------- */
.img-band {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md);
  margin: 8px 0 0; position: relative;
}
.img-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-band.tall img { aspect-ratio: 16 / 9; }
.img-band.wide img { aspect-ratio: 21 / 8; }
.img-band-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px;
  background: linear-gradient(0deg, rgba(11,22,38,0.75) 0%, transparent 100%);
  color: #fff; font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
}

.card-photo {
  margin: -28px -28px 20px; border-radius: 12px 12px 0 0; overflow: hidden;
}
.card-photo img { width: 100%; height: 190px; object-fit: cover; display: block; }

/* ---------------- Cards / Grids ---------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px){ .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; height: 100%; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #d8d2c3; }
.card h3, .card h4 { margin-bottom: 10px; }
.card .card-meta { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; margin-bottom: 10px; }

.icon-badge {
  width: 44px; height: 44px; border-radius: 12px; background: var(--light-gray);
  color: var(--navy); display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px; font-family: var(--serif); font-weight: 800; font-size: 1.1rem;
  border: 1px solid var(--border);
}

/* ---------------- Lists / checks ---------------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--muted-blue); font-weight: 800;
}
.x-list { list-style: none; margin: 0; padding: 0; }
.x-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); }
.x-list li::before {
  content: "–"; position: absolute; left: 0; top: 0; color: var(--slate-light); font-weight: 800;
}

/* ---------------- Callouts ---------------- */
.callout {
  border: 1px solid var(--border); border-left: 4px solid var(--muted-blue);
  background: var(--white); border-radius: 6px; padding: 20px 22px; margin: 24px 0;
}
.callout.warn { border-left-color: var(--risk-red); background: var(--risk-red-bg); }
.callout.quote { border-left-color: var(--amber); background: var(--white); }
.callout p { margin: 0; }
.callout strong { color: var(--navy); }

.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 4px 10px; border-radius: 100px; margin: 0 6px 6px 0;
  background: var(--light-gray); color: var(--slate); border: 1px solid var(--border);
}
.tag.critical { background: var(--risk-red-bg); color: var(--risk-red); border-color: #e3c3bd; }
.tag.amber { background: #f6ecdd; color: #7a5722; border-color: #e6cfa4; }

/* ---------------- Tables ---------------- */
table { width: 100%; border-collapse: collapse; margin: 24px 0; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 700; }

/* ---------------- Steps / process ---------------- */
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--warm-white);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 800;
  box-shadow: var(--shadow-sm);
}

/* ---------------- Founder quote ---------------- */
.founder-quote {
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.55; color: var(--navy); font-weight: 600;
  margin: 0 0 16px 0;
}
.founder-quote::before { content: "\201C"; color: var(--amber); font-size: 1.4em; line-height:0; vertical-align: -0.2em; margin-right: 2px; }
.founder-sig { font-size: 0.9rem; color: var(--text-muted); font-weight: 700; }

/* ---------------- Stat ---------------- */
.stat-row { display:flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.stat { min-width: 160px; }
.stat .num { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); font-weight: 800; }
.stat .label { color: var(--text-muted); font-size: 0.9rem; }

/* ---------------- Forms ---------------- */
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; color: var(--navy); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.96rem; background: var(--white); color: var(--text-main); margin-bottom: 20px;
}
textarea { min-height: 140px; resize: vertical; }
fieldset { border: none; padding: 0; margin: 0 0 20px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); }

/* ---------------- Page header ---------------- */
.page-header { background: var(--light-gray); padding: 58px 0 50px; border-bottom: 1px solid var(--border); }

/* ---------------- FAQ ---------------- */
details.faq-item {
  border: 1px solid var(--border); border-radius: 6px; padding: 6px 20px; margin-bottom: 14px; background: var(--white);
  transition: box-shadow .15s ease;
}
details.faq-item:hover { box-shadow: var(--shadow-sm); }
details.faq-item summary {
  cursor: pointer; font-weight: 800; color: var(--navy); padding: 16px 0; list-style: none; font-family: var(--serif); font-size: 1.05rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; float: right; font-size: 1.3rem; color: var(--amber); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { padding-bottom: 18px; color: var(--text-muted); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #c7d0dd; padding: 56px 0 28px; }
.site-footer a { color: #cfe0f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 780px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-weight: 800; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: #90a0b5;
}
.footer-disclosure { font-size: 0.8rem; color: #90a0b5; max-width: 900px; margin-top: 18px; line-height: 1.6; }

/* Utility */
.mt-0{margin-top:0} .mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:24px} .mt-4{margin-top:40px}
.mb-0{margin-bottom:0} .text-muted{color:var(--text-muted)} .center{text-align:center}
.narrow { max-width: 76ch; }
.section-title-row { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom: 36px; }
