
:root {
  --navy: #142A4A;
  --gold: #D1B268;
  --ink: #0B1220;
  --muted: #556273;
  --bg: #F6F7FA;
  --card: #FFFFFF;
  --border: #E4E7EE;
  --radius: 18px;
  --shadow: 0 20px 70px rgba(11, 18, 32, .12);
  --shadow-soft: 0 10px 30px rgba(11, 18, 32, .10);
  --focus: rgba(209,178,104,.72);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color:var(--ink); background:var(--bg); line-height:1.6; }
a { color:inherit; }
a:focus-visible, button:focus-visible { outline:3px solid var(--focus); outline-offset:3px; border-radius:10px; }
.skip-link { position:absolute; top:-60px; left:12px; background:var(--card); color:var(--ink); padding:10px 14px; border-radius:10px; box-shadow:var(--shadow-soft); z-index:9999; }
.skip-link:focus { top:12px; }
.container { width:min(1180px, calc(100% - 40px)); margin:0 auto; }

.topbar { position:sticky; top:0; z-index:1000; background:linear-gradient(180deg, rgba(20,42,74,1), rgba(20,42,74,.92)); color:white; border-bottom:1px solid rgba(255,255,255,.10); backdrop-filter:blur(10px); }
.topbar-inner { display:flex; align-items:center; justify-content:space-between; padding:16px 0; gap:18px; }
.brand { display:flex; align-items:center; gap:14px; text-decoration:none; min-width:260px; }
.brand-mark { height:78px; width:auto; max-width:220px; display:block; object-fit:contain; object-position:left center; }
.brand-name { display:flex; flex-direction:column; gap:2px; }
.brand-name strong { font-family:"Libre Baskerville", Georgia, serif; font-size:20px; letter-spacing:.2px; }
.brand-name span { font-size:13px; opacity:.85; }

.nav { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.nav a { text-decoration:none; font-size:14px; padding:10px 12px; border-radius:12px; opacity:.92; }
.nav a:hover { background:rgba(255,255,255,.10); opacity:1; }
.nav a[aria-current="page"] { background:rgba(209,178,104,.18); border:1px solid rgba(209,178,104,.26); opacity:1; }

.nav-toggle { display:none; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:white; padding:10px 12px; border-radius:12px; cursor:pointer; }
.nav-toggle:hover { background:rgba(255,255,255,.12); }
.nav-toggle .icon { width:22px; height:22px; display:inline-block; }

.mobile-nav-overlay { position:fixed; inset:0; background:rgba(11,18,32,.55); opacity:0; pointer-events:none; transition:opacity .18s ease; z-index:1100; }
.mobile-nav { position:fixed; top:0; right:0; height:100%; width:min(360px, 92vw); background:rgba(8,22,46,.98); border-left:1px solid rgba(255,255,255,.10); transform:translateX(105%); transition:transform .22s ease; z-index:1200; display:flex; flex-direction:column; }
.mobile-nav header { display:flex; align-items:center; justify-content:space-between; padding:18px 18px 12px; border-bottom:1px solid rgba(255,255,255,.10); }
.mobile-nav header strong { font-family:"Libre Baskerville", Georgia, serif; font-size:18px; color:#fff; }
.mobile-nav .close { border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:#fff; padding:10px 12px; border-radius:12px; cursor:pointer; }
.mobile-nav nav { padding:14px 12px 18px; overflow:auto; }
.mobile-nav a { display:block; padding:12px 12px; border-radius:12px; color:rgba(255,255,255,.92); text-decoration:none; font-weight:700; border:1px solid transparent; }
.mobile-nav a:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.10); }
.mobile-nav a[aria-current="page"] { background:rgba(209,178,104,.18); border-color:rgba(209,178,104,.26); }
.mobile-nav .meta { padding:0 18px 18px; color:rgba(255,255,255,.72); font-size:13px; }
body.nav-open .mobile-nav-overlay { opacity:1; pointer-events:auto; }
body.nav-open .mobile-nav { transform:translateX(0); }

.gold-divider { height:2px; width:100%; background:linear-gradient(90deg, rgba(209,178,104,0), rgba(209,178,104,1), rgba(209,178,104,0)); }

.hero { position:relative; padding:96px 0 66px; color:white; overflow:hidden; background:var(--navy); }
.hero::before { content:""; position:absolute; inset:0; background-image:url("assets/pool.jpg"); background-size:cover; background-position:center; transform:translateY(var(--parallax, 0px)) scale(1.05); filter:saturate(1.15) contrast(1.05) brightness(1.08); will-change:transform; pointer-events:none; }
.hero::after { content:""; position:absolute; inset:0; background:radial-gradient(1200px 500px at 20% 20%, rgba(209,178,104,.18), rgba(209,178,104,0) 55%), linear-gradient(120deg, rgba(11,18,32,.50), rgba(11,18,32,.12)); pointer-events:none; }
.hero-inner { position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:34px; align-items:center; z-index:1; }
.hero h1 { font-family:"Libre Baskerville", Georgia, serif; font-size:clamp(40px, 4vw, 60px); line-height:1.05; margin:0 0 14px; letter-spacing:.2px; }
.hero p { margin:0 0 22px; color:rgba(255,255,255,.88); font-size:16px; max-width:65ch; }
.badge { display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border-radius:999px; background:rgba(209,178,104,.18); border:1px solid rgba(209,178,104,.32); color:rgba(255,255,255,.92); font-size:13px; margin-bottom:14px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 16px; border-radius:14px; text-decoration:none; font-weight:700; font-size:14px; border:1px solid transparent; }
.btn-primary { background:linear-gradient(180deg, rgba(209,178,104,1), rgba(193,158,79,1)); color:#151d2a; box-shadow:0 14px 34px rgba(209,178,104,.24); }
.btn-secondary {
background:linear-gradient(180deg, rgba(209,178,104,1), rgba(193,158,79,1));
color:#151d2a;
box-shadow:0 14px 34px rgba(209,178,104,.24);
border:0;
}
.btn-secondary:hover { background:rgba(255,255,255,.14); }
.hero-card { background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius); padding:16px; box-shadow:0 24px 90px rgba(0,0,0,.22); }
.hero-card img { width:100%; height:320px; object-fit:cover; border-radius:14px; display:block; }
.hero-card .meta { display:flex; justify-content:space-between; gap:12px; padding:12px 6px 2px; color:rgba(255,255,255,.86); font-size:13px; }

.section { padding:62px 0; }
.section h2 { font-family:"Libre Baskerville", Georgia, serif; font-size:34px; margin:0 0 12px; }
.section p.lead { color:var(--muted); margin:0 0 26px; max-width:72ch; }

.cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-soft); transition:transform .18s ease, box-shadow .18s ease; }
.card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.card img { width:100%; height:210px; object-fit:cover; display:block; }
.card .content { padding:18px 18px 20px; }
.card h3 { margin:0 0 6px; font-size:16px; }
.card p { margin:0 0 14px; color:var(--muted); font-size:14px; }
.card a.card-link { display:inline-flex; font-weight:700; color:var(--navy); text-decoration:none; }
.card a.card-link:hover { text-decoration:underline; }

.page-hero { padding:54px 0 18px; }
.page-hero h1 { font-family:"Libre Baskerville", Georgia, serif; font-size:44px; margin:0 0 8px; }
.page-hero p { margin:0; color:var(--muted); max-width:78ch; }

.surface { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-soft); padding:28px; }
.list-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
ul.clean { margin:10px 0 0 20px; }
ul.clean li { margin:8px 0; }

.team-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-top:20px; }
.profile { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-soft); overflow:hidden; transition:transform .18s ease, box-shadow .18s ease; }
.profile:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.profile-media { height:260px; background:#fff; border-bottom:1px solid var(--border); overflow:hidden; }
.profile-media img { width:100%; height:100%; object-fit:cover; object-position:center 22%; }
.profile-media img.jennifer { object-position:center 18%; }
.profile-media img.billjr { object-position:center 20%; }
.profile-media img.logo-tile { object-fit:contain; padding:26px; background:#fff; object-position:center; }
.profile-body { padding:18px 18px 18px; }
.profile-body h3 { margin:0 0 6px; font-size:17px; }
.profile-body .lic { margin:0 0 10px; font-size:13px; color:var(--muted); }
.profile-body p { margin:0 0 14px; color:var(--muted); font-size:14px; }
.profile-actions { display:flex; flex-wrap:wrap; gap:10px; padding:0 18px 18px; }
.profile-actions a { font-size:13px; font-weight:700; text-decoration:none; padding:10px 12px; border-radius:12px; border:1px solid var(--border); background:#fff; }
.profile-actions a.primary { border-color:rgba(209,178,104,.55); box-shadow:0 10px 24px rgba(209,178,104,.10); }
.profile-actions a:hover { border-color:rgba(209,178,104,.75); }

.idx-shell { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.idx-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; background:linear-gradient(180deg, rgba(20,42,74,.06), rgba(20,42,74,0)); border-bottom:1px solid var(--border); }
.idx-toolbar .hint { font-size:13px; color:var(--muted); }
.idx-actions { display:flex; gap:10px; flex-wrap:wrap; }
.idx-actions a { font-size:13px; font-weight:700; text-decoration:none; padding:10px 12px; border-radius:12px; border:1px solid var(--border); background:#fff; }
.idx-actions a:hover { border-color:rgba(209,178,104,.55); box-shadow:0 10px 24px rgba(209,178,104,.10); }
.idx-embed { position:relative; }
.idx-embed::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(247,248,250,0.00), rgba(247,248,250,0.75), rgba(247,248,250,0.00)); transform:translateX(-60%); animation:shimmer 1.4s infinite; pointer-events:none; }
@keyframes shimmer { 0% {transform:translateX(-60%);} 100% {transform:translateX(60%);} }
.idx-embed.is-loaded::before { opacity:0; animation:none; }
.idx-iframe { width:100%; height:1250px; min-height:920px; border:0; display:block; background:#fff; }

.footer { background:#08162E; color:rgba(255,255,255,.86); padding:38px 0; border-top:1px solid rgba(255,255,255,.08); }
.footer-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:18px; align-items:start; }
.footer strong { color:#fff; }
.footer a { color:rgba(255,255,255,.86); text-decoration:none; }
.footer a:hover { text-decoration:underline; }
.footer-links { display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end; }
.small { font-size:13px; color:rgba(255,255,255,.74); }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns:1fr; }
  .cards { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; }
  .list-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-links { justify-content:flex-start; }
}

@media (max-width: 860px) {
  .nav { display:none; }
  .nav-toggle { display:inline-flex; align-items:center; gap:10px; }
  .brand { min-width:0; }
  .brand-name span { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .card, .profile, .mobile-nav, .mobile-nav-overlay { transition:none; }
  .idx-embed::before { animation:none; }
  .hero::before { transform:none; }
}


/* v9 QA + typography refinement */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand-name strong,
.hero h1,
.section h2,
.page-hero h1 {
  letter-spacing: 0.01em;
}

.brand-name strong {
  font-size: 1.35rem;
}

.hero h1 {
  font-weight: 600;
}

.section h2,
.page-hero h1 {
  font-weight: 600;
}

.card p,
.profile-body p,
.surface p,
.surface li,
.page-hero p {
  font-size: 1rem;
}

/* QA fixes */
img {
  max-width: 100%;
}

iframe {
  max-width: 100%;
}

button {
  font: inherit;
}

.mobile-nav nav a,
.nav a,
.btn,
.profile-actions a,
.idx-actions a {
  line-height: 1.2;
}

/* Better spacing for the office section after button removal */
.surface > div[style*="display:flex;flex-wrap:wrap;gap:12px;"] {
  margin-top: 8px !important;
}

/* typography refinement */
body{
line-height:1.7;

}

h1,h2,h3{
letter-spacing:.02em;
}

.btn{
font-weight:600;
}

.section p,
.surface p,
.profile-body p{

}


/* v11 readability fixes */
.section p,
.surface p,
.page-hero p{
max-width: none;
letter-spacing: normal;
}

.surface{
line-height:1.75;
}


/* v13 management services + company photo updates */
.consult-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.btn-outline-dark { background:#fff; color:var(--navy); border:1px solid rgba(20,42,74,.18); box-shadow:0 10px 24px rgba(11,18,32,.06); }
.btn-outline-dark:hover { border-color:rgba(209,178,104,.75); box-shadow:0 10px 24px rgba(209,178,104,.10); }
.profile-media img.billgoulddog { object-fit:cover; object-position:center; }
@media (max-width: 860px) { .consult-actions .btn { width:100%; } }


/* v14 universal hamburger menu */
.nav {
  display: none !important;
}

.nav-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: white;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle:hover {
  background: rgba(255,255,255,.12);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  line-height: 1;
}

.brand {
  min-width: 0;
}

.topbar-inner {
  justify-content: space-between;
}

.mobile-nav {
  width: min(360px, 92vw);
}

.mobile-nav nav a {
  font-size: 16px;
  line-height: 1.25;
}

@media (max-width: 860px) {
  .brand-name span {
    display: none;
  }
}
