/*! iv-site.css — IsaacVoss.com shared header + consent UI (V4.5)
 * Scoped with .ivh-/.ivc- prefixes so it is safe on the legacy Tailwind pages
 * and on the V4.4 homepage. Does not restyle any page content. */
.ivh,.ivh *{box-sizing:border-box}
.ivh{position:sticky;top:0;z-index:1000;background:rgba(9,17,27,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid #203347;font-family:Inter,'Segoe UI',Arial,sans-serif;color:#eef3f7;line-height:1.4}
.ivh::before{content:"";display:block;height:3px;background:linear-gradient(90deg,#f0aa74,#395e7a 50%,#78d5f3)}
.ivh a{color:inherit;text-decoration:none}
.ivh a:focus-visible,.ivh button:focus-visible{outline:2px solid #78d5f3;outline-offset:3px}
.ivh-wrap{max-width:1200px;margin:0 auto;padding:0 34px;min-height:72px;display:flex;align-items:center;gap:22px}
.ivh-logo{font-weight:800;letter-spacing:.14em;display:flex;align-items:center;gap:11px;font-size:13px;white-space:nowrap;color:#eef3f7}
.ivh-symbol{width:34px;height:34px;border:1px solid #47718c;border-radius:7px;display:grid;place-items:center;font:20px Georgia,serif;letter-spacing:-.09em}
.ivh-main{margin-left:auto;display:flex;align-items:center}
.ivh-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.ivh-menu>li{position:relative;list-style:none}
.ivh-menu>li>a,.ivh-menu>li>button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 13px;border-radius:5px;color:#c9d9e4;font:800 11.5px/1 Inter,'Segoe UI',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;background:none;border:0;cursor:pointer;transition:color .15s,background .15s;margin:0}
.ivh-menu>li>a:hover,.ivh-menu>li>button:hover,.ivh-menu>li>button[aria-expanded="true"]{color:#fff;background:#13243a}
.ivh-menu>li>a[aria-current="page"]{color:#fff;box-shadow:inset 0 -2px 0 #f0aa74}
.ivh-menu>li>button.ivh-cta{background:#f0aa74;color:#111822;margin-left:12px;padding:9px 15px;letter-spacing:.1em}
.ivh-menu>li>button.ivh-cta:hover,.ivh-menu>li>button.ivh-cta[aria-expanded="true"]{background:#f4bc91;color:#111822}
.ivh-chev{width:10px;height:6px;flex:0 0 10px}
.ivh-menu button[aria-expanded="true"] .ivh-chev{transform:rotate(180deg)}
.ivh-dropdown{position:absolute;right:0;top:calc(100% + 10px);min-width:280px;background:#0e1a29;border:1px solid #2f4960;border-radius:9px;box-shadow:0 22px 50px rgba(0,0,0,.65);padding:8px;display:none;text-align:left}
.ivh-dropdown.open{display:block}
.ivh-dropdown a{display:block;padding:10px 13px;border-radius:6px;color:#e3edf3;font-size:13.5px;font-weight:700;letter-spacing:0;text-transform:none}
.ivh-dropdown a span{display:block;font-weight:500;font-size:12px;color:#8fa7b8;margin-top:2px}
.ivh-dropdown a:hover,.ivh-dropdown a:focus-visible{background:#16293e}
.ivh-dropdown hr{border:0;border-top:1px solid #253b50;margin:6px 4px;height:0}
.ivh-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid #3a5870;border-radius:6px;background:transparent;color:#e7f0f5;cursor:pointer;align-items:center;justify-content:center;padding:0}
.ivh-bars,.ivh-bars::before,.ivh-bars::after{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;position:relative;transition:transform .2s,background .2s}
.ivh-bars::before,.ivh-bars::after{content:"";position:absolute;left:0}
.ivh-bars::before{top:-6px}.ivh-bars::after{top:6px}
.ivh-toggle[aria-expanded="true"] .ivh-bars{background:transparent}
.ivh-toggle[aria-expanded="true"] .ivh-bars::before{transform:translateY(6px) rotate(45deg)}
.ivh-toggle[aria-expanded="true"] .ivh-bars::after{transform:translateY(-6px) rotate(-45deg)}
.ivh-panel{display:none}
@media(max-width:1080px){.ivh-menu>li>a,.ivh-menu>li>button{padding:8px 9px;letter-spacing:.1em}}
@media(max-width:900px){
 .ivh-main{display:none}
 .ivh-toggle{display:inline-flex}
 .ivh-panel{border-top:1px solid #1d3346;background:#0a1420;max-height:calc(100vh - 75px);overflow:auto}
 .ivh-panel.open{display:block}
 .ivh-panel nav{padding:10px 28px 24px}
 .ivh-panel a{display:flex;justify-content:space-between;align-items:center;min-height:52px;border-bottom:1px solid #1b2f41;color:#e6eff5;font-weight:800;font-size:14px;letter-spacing:.12em;text-transform:uppercase}
 .ivh-sub a{font-size:13px;letter-spacing:.04em;text-transform:none;font-weight:600;color:#bcd0dd;min-height:46px}
 .ivh-sublabel{margin:18px 0 2px;color:#f0aa74;font-size:10px;font-weight:800;letter-spacing:.18em}
 .ivh-panel a.ivh-btn{justify-content:center;width:100%;margin-top:20px;min-height:48px;border-radius:5px;border:0;background:#f0aa74;color:#111822;font-size:12px;letter-spacing:.08em}
 .ivh-panel a.ivh-btn-outline{margin-top:10px;background:transparent;border:1px solid #45637b;color:#e7f0f5}
}
@media(max-width:670px){.ivh-wrap{padding:0 19px;min-height:64px}.ivh-panel nav{padding:6px 19px 22px}}
@media(prefers-reduced-motion:reduce){.ivh-bars,.ivh-bars::before,.ivh-bars::after{transition:none}}
/* Legacy-footer cookie link */
.ivc-footer-link{position:relative;z-index:1;display:inline-block;min-height:24px;line-height:24px;background:none;border:0;padding:0 2px;margin:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ivc-footer-link:hover{color:#fbbf24}
/* Consent dialog */
.ivc,.ivc *{box-sizing:border-box}
.ivc{position:fixed;left:16px;right:16px;bottom:16px;z-index:2147483000;max-width:780px;margin:0 auto;background:#0f1d2d;color:#eef3f7;border:1px solid #3a5870;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.6);padding:18px 20px;font:14px/1.55 Inter,'Segoe UI',Arial,sans-serif;text-align:left}
.ivc[hidden]{display:none}
.ivc h2{font-size:15px;margin:0 0 6px;letter-spacing:0;line-height:1.3;color:#fff;font-weight:800;text-transform:none}
.ivc p{margin:0;color:#b8cad6;font-size:13px}
.ivc a{color:#f1b98e;text-decoration:underline}
.ivc .ivc-status{margin-top:8px;font-size:12px;color:#9fb6c6}
.ivc .ivc-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.ivc button{cursor:pointer;min-height:42px;padding:9px 16px;border-radius:5px;font:800 11px/1 Inter,'Segoe UI',Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;margin:0}
.ivc .ivc-yes{background:#f0aa74;color:#111822;border:0}
.ivc .ivc-no{background:transparent;color:#e7f0f5;border:1px solid #45637b}
.ivc .ivc-close{background:transparent;color:#9fb6c6;border:0;text-decoration:underline;text-transform:none;letter-spacing:0;font-weight:600}
.ivc button:focus-visible{outline:2px solid #78d5f3;outline-offset:3px}
@media(max-width:670px){.ivc{left:10px;right:10px;bottom:10px}.ivc .ivc-yes,.ivc .ivc-no{flex:1 1 100%}}
/* Legacy pages: some decorative fixed layers (e.g. .aurora-container on /privacy)
   sit above the static footer and swallow clicks on its links. Lift the footer
   into its own stacking layer so footer links (incl. Cookie settings) work.
   Visual appearance is unchanged. */
body>footer{position:relative;z-index:20}
/* V4.5 mobile overflow fix (legacy pages): the footer tagline is whitespace-nowrap and the
   decorative nebula layers inside the fixed .cosmic-background extend past the viewport (clipped on that
   decorative container only — page content is never hidden); /case-studies metric rows
   are a fixed 4-column grid (also overflows on the live site) -> 2 columns on phones.
   No change on desktop. */
@media (max-width:767px){
  body>footer .whitespace-nowrap{white-space:normal}
  .case-study-section .grid.grid-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cosmic-background{overflow:hidden}
}
