/* Pontavia Consulting LLC — shared site styles (dark gray and steel blue theme) */

/* Self-hosted fonts (SIL Open Font License; see assets/fonts/OFL-*.txt) */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin.woff") format("woff"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
    --bg: #1C1E20;          /* Dark gray: page and content areas */
    --surface: #272A2D;     /* Cards, panels */
    --surface-light: #2F3336;
    --text: #F4F5F6;
    --muted: #A8AEB3;       /* Body copy on the dark background */
    --muted-on-mid: #CDD1D5;/* Body copy on the mid gray bands */
    --accent: #8DBBEA;      /* Steel blue, for text and fills */
    --amber: #8DBBEA;       /* Legacy name: primary button fill (steel blue) */
    --amber-hover: #A9CDF2;
    --blue-deep: #5589C2;
    --mid: #484C51;         /* Mid gray: header, hero, footer */
    --mid-2: #575C62;
    --mid-border: #5B6066;
    --navy: #484C51;        /* Legacy name: footer background (mid gray) */
    --navy-2: #575C62;
    --on-navy: #F4F5F6;
    --on-navy-muted: #CDD1D5;
    --accent-dark: #1C1E20; /* Text on steel blue */
    --border: #3A3F43;
    --width: 1100px;
    --radius-lg: 18px; --radius-md: 12px; --radius-sm: 10px;
    --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.container { width: min(calc(100% - 40px), var(--width)); margin-inline: auto; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 100; background: rgba(72,76,81,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--mid-border); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: block; width: 44px; height: 44px; flex-shrink: 0; }
.brand-name { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 800; letter-spacing: 2px; line-height: 1.1; color: var(--text); }
.brand-subtitle { display: block; margin-top: 3px; color: var(--accent); font-family: var(--font-head); font-size: 9.5px; font-weight: 700; letter-spacing: 4px; }
.nav-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-link { color: var(--muted-on-mid); font-size: 15px; font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { font-weight: 700; }
.nav-cta { background: var(--amber); color: var(--accent-dark); padding: 10px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: var(--amber-hover); }
.nav-toggle { display: none; background: none; border: 1px solid var(--mid-border); border-radius: var(--radius-sm); color: var(--text); width: 44px; height: 44px; font-size: 20px; cursor: pointer; }
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 76px; right: -20px; left: -20px; flex-direction: column; align-items: stretch; gap: 0; background: var(--mid); border-bottom: 1px solid var(--mid-border); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.4); }
    .nav-menu.open { display: flex; }
    .nav-link { display: block; padding: 12px 0; font-size: 16px; }
    .nav-cta { display: block; text-align: center; margin-top: 8px; padding: 14px; }
}

/* Half-screen widths: keep the full nav on one line between the hamburger and wide desktop */
@media (min-width: 861px) and (max-width: 1000px) {
    .nav-menu { gap: 18px; }
    .nav-link { font-size: 14px; }
    .nav-cta { padding: 10px 14px; }
}

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: var(--accent-dark); }
.button-primary:hover { background: var(--amber-hover); }
.button-secondary { border-color: var(--amber); background: transparent; color: var(--amber); }
.button-secondary:hover { background: var(--amber); color: var(--accent-dark); }
.btn-submit { width: 100%; min-height: 50px; background: var(--amber); color: var(--accent-dark); border: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.btn-submit:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Page headers ---------- */
.page-header { padding: 72px 0 52px; margin-bottom: 8px; background: var(--mid); box-shadow: 0 0 0 100vmax var(--mid); clip-path: inset(0 -100vmax); }
.page-header h1 { font-size: clamp(32px, 5vw, 48px); margin: 10px 0 0; letter-spacing: -1.5px; }
.lead { color: var(--muted-on-mid); font-size: 18px; max-width: 720px; margin: 16px 0 0; }

/* ---------- Home: hero ---------- */
.hero { background: var(--mid); box-shadow: 0 0 0 100vmax var(--mid); clip-path: inset(0 -100vmax); padding: 72px 0 72px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(38px, 5.6vw, 60px); line-height: 1.06; letter-spacing: -2px; }
.hero h1 span { color: var(--accent); }
.hero-copy { color: var(--muted-on-mid); font-size: clamp(17px, 2vw, 19px); margin: 0 0 30px; max-width: 600px; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 400px); margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: 26px; display: block; box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.hero-photo figcaption { position: absolute; left: -22px; bottom: 26px; background: var(--surface); border: 1px solid var(--mid-border); border-radius: 14px; padding: 12px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.hero-photo figcaption strong { display: block; font-size: 15px; }
.hero-photo figcaption span { font-size: 13px; color: var(--muted); }
.credibility-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; font-size: 13px; color: var(--muted-on-mid); }
.cred-label { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; margin-right: 4px; }
.cred-item { font-weight: 600; color: var(--text); }
.cred-dot { opacity: .4; }
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
    .hero-photo { width: min(100%, 260px); }
    .hero-photo figcaption { left: 12px; }
}

/* ---------- Home: founding band ---------- */
.founding-section { padding: 64px 0 64px; }
.founding-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--radius-lg); background: #243447; border: 1px solid #3F6FA8; color: var(--on-navy); }
.founding-band .eyebrow { color: var(--amber); }
.founding-band h2 { color: #FFFFFF; font-size: clamp(22px, 3vw, 28px); margin: 8px 0 6px; letter-spacing: -.5px; }
.founding-band p { margin: 0; color: var(--on-navy-muted); max-width: 620px; }
.founding-band strong { color: var(--amber); }
@media (max-width: 768px) { .founding-band { padding: 24px; } .founding-band .button { width: 100%; } }

/* ---------- Home: free check ---------- */
.free-check-section { padding: 72px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.free-check-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.free-check-copy h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 10px 0 18px; letter-spacing: -1px; }
.free-check-copy p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { color: var(--muted); font-size: 15px; padding-left: 24px; position: relative; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.free-check-form-pane { background: var(--bg); border: 1px solid var(--border); padding: 36px; border-radius: var(--radius-lg); }
.check-status { margin: 14px 0 0; font-size: 14px; font-weight: 600; display: none; }
.check-status.success { display: block; color: #7FD1A0; }
.check-status.error { display: block; color: #F29A9A; }
.check-status.working { display: block; color: var(--accent); }
@media (max-width: 768px) { .free-check-layout { grid-template-columns: 1fr; gap: 32px; } .free-check-form-pane { padding: 24px; } }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.form-control { width: 100%; padding: 12px 16px; background: #1C1E20; border: 1px solid #4A5056; border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.form-control::placeholder { color: #7E868D; }
.form-control:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(141,187,234,.3); }
.alert { padding: 15px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; font-weight: 600; display: none; }
.alert-success { background: #1E3A2B; border: 1px solid #2F6B4A; color: #9AD7B2; }
.alert-error { background: #3E2224; border: 1px solid #7A3A3D; color: #F2A7A9; }
.hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.checkbox-group { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.checkbox-group input[type="checkbox"] { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--amber); cursor: pointer; flex-shrink: 0; }
.checkbox-group label { font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer; margin: 0; }
.checkbox-group label strong { color: var(--text); }

/* ---------- Cards and sections ---------- */
.features { padding: 72px 0; }
.features h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 10px 0 0; letter-spacing: -1px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Services ---------- */
.service-block { padding: 56px 0; border-bottom: 1px solid var(--border); }
.service-block:last-of-type { border-bottom: none; }
.service-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.service-meta h2 { font-size: 28px; margin: 0 0 12px; letter-spacing: -1px; }
.service-meta p { color: var(--muted); margin: 0; }
.service-num { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 1px; display: block; margin-bottom: 8px; }
.service-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service-details li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; transition: transform .3s, box-shadow .3s; }
.service-details li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.service-details h3 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.service-details p { margin: 0; color: var(--muted); font-size: 15px; }
.service-figure { margin: 22px 0 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.service-figure img, .service-banner img { width: 100%; height: auto; object-fit: cover; display: block; }
.service-figure img { aspect-ratio: 3 / 2; }
.service-banner img { aspect-ratio: 2 / 1; }
.service-banner { margin: 0 auto 28px; max-width: 720px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 860px) { .service-layout { grid-template-columns: 1fr; gap: 24px; } .service-figure { max-width: 560px; } }

/* ---------- Pricing ---------- */
.price-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.price-section h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -1px; }
.section-note { color: var(--muted); margin: 0 0 28px; max-width: 720px; }
.page-header .founding-band { margin-top: 32px; display: block; }
.page-header .founding-band p { margin: 4px 0 0; font-size: 15px; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tier { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; }
.tier.featured { border: 2px solid var(--amber); }
.tier-name { color: var(--accent); font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin: 0; }
.tier-price { font-family: var(--font-head); font-size: 34px; font-weight: 800; letter-spacing: -1px; margin: 10px 0 0; line-height: 1.1; }
.tier-price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tier-founding { margin: 6px 0 0; font-size: 14px; color: var(--accent); font-weight: 700; }
.tier-alt { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.tier li { color: var(--muted); font-size: 15px; padding-left: 22px; position: relative; }
.tier li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.price-table th { color: var(--accent); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; background: var(--surface-light); }
.price-table td { color: var(--muted); }
.price-table td:first-child { color: var(--text); font-weight: 500; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.num { white-space: nowrap; color: var(--text); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.fine-list { color: var(--muted); padding-left: 20px; margin: 0; display: grid; gap: 8px; font-size: 15px; max-width: 820px; }
@media (max-width: 600px) { .price-table th, .price-table td { padding: 12px; font-size: 14px; } .tier-price { font-size: 30px; } }

/* ---------- Work ---------- */
.case-study { padding: 50px 0; border-bottom: 1px solid var(--border); }
.case-study:last-of-type { border-bottom: none; }
.case-title { font-size: 28px; margin: 0 0 12px; letter-spacing: -1px; }
.case-tech { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tech-badge { background: var(--surface); border: 1px solid var(--border); color: var(--amber); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.case-body p, .case-body li { color: var(--muted); }
.case-outcome { background: var(--surface); padding: 22px; border-radius: var(--radius-md); border: 1px solid var(--border); border-top: 4px solid var(--amber); }
.case-outcome h4 { margin: 0 0 10px; color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .case-body { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.split-profile { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding: 50px 0 72px; border-top: 1px solid var(--border); }
.profile-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.bio-details h2 { font-size: 32px; margin: 0 0 5px; letter-spacing: -1px; }
.bio-title { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; display: block; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.badge { padding: 6px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--amber); }
.badge.progress { color: var(--muted); font-style: italic; }
@media (max-width: 768px) { .split-profile { grid-template-columns: 1fr; gap: 30px; } .profile-photo { max-width: 260px; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 72px 0; }
.info-pane h1 { font-size: clamp(32px, 4.5vw, 42px); margin: 10px 0 20px; letter-spacing: -1.5px; }
.form-pane { background: var(--surface); border: 1px solid var(--border); padding: 40px; border-radius: var(--radius-lg); }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; } .form-pane { padding: 24px; } }

/* ---------- Inline links in body copy ---------- */
.bio-details a, .info-pane a, .case-body a, .legal a { border-bottom: 1px solid rgba(141,187,234,.45); }
.bio-details a:hover, .info-pane a:hover, .case-body a:hover, .legal a:hover { border-bottom-color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding: 56px 0 72px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -1px; margin: 16px 0 6px; }
.legal h2 { font-size: 20px; margin: 36px 0 8px; }
.legal p { color: var(--muted); }
.back-link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; background: var(--navy); color: var(--on-navy-muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #FFFFFF; }
.footer-brand .brand-subtitle { color: var(--amber); }
.footer-area { font-size: 13px; max-width: 420px; margin: 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--on-navy-muted); }
.footer-links a:hover { color: #FFFFFF; }
.footer-tagline { width: 100%; padding-top: 24px; margin-top: 8px; border-top: 1px solid rgba(201,210,222,.18); font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Hero video (Nov 2026 redesign) */
.hero.hero-with-video { width: min(calc(100% - 40px), 1280px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; }
.hero.hero-with-video h1 { font-size: clamp(38px, 4.3vw, 56px); }
.hero-video { position: relative; justify-self: stretch; width: 100%; margin: 0; }
.hero-video video { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border-radius: 18px; background: #000; box-shadow: 0 24px 48px rgba(0,0,0,.4); border: 1px solid var(--mid-border); }
.hero-video figcaption { margin-top: 12px; font-size: 13px; color: var(--muted-on-mid); text-align: center; }
.section-intro { color: var(--muted); max-width: 760px; margin: 12px 0 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 26px 26px 26px 70px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--muted); font-size: 15px; }
.steps li strong { display: block; color: inherit; font-size: 17px; margin-bottom: 6px; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-dark); font-weight: 800; font-size: 15px; }
@media (max-width: 960px) { .hero.hero-with-video { grid-template-columns: 1fr; gap: 40px; } .hero-video { width: 100%; } }
