/* Wolfpack Technology Security Solutions */

@font-face {
  font-family: "Open Sauce One";
  src: url("/assets/fonts/OpenSauceOne-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("/assets/fonts/OpenSauceOne-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Agrandir GrandBold";
  src: url("/assets/fonts/Agrandir-GrandHeavy.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --navy: #182E4D;
  --navy-deep: #0f1f36;
  --red: #BE0619;
  --red-dark: #9a0514;
  --blue: #213F64;
  --lid-blue: #3e5a94;
  --ink: #1b2430;
  --muted: #5a6677;
  --line: #dde3eb;
  --bg: #ffffff;
  --bg-soft: #f3f6fa;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(24, 46, 77, 0.10);
  --wrap: 1180px;
  /* Brand fonts load from /assets/fonts when present; Archivo (as on the reference site) stands in until then. */
  --font: "Open Sauce One", "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Agrandir GrandBold", "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: .8em; display: block; }
.hero .eyebrow, .page-hero .eyebrow, .section-navy .eyebrow { color: #ff8a95; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.on-dark .btn-outline { color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; max-width: 1360px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand .brand-mark { width: 48px; height: auto; }
.brand .brand-wordmark { width: 168px; height: auto; }
.footer-lockup { display: inline-block; }
.footer-lockup img { width: 190px; height: auto; }
/* Quick links: Products (with dropdown), Industries, Platform, White Labeling, About */
.quick-nav { margin-left: auto; }
.quick-nav > ul, .nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.quick-nav a, .nav a { color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; padding: 8px 9px; white-space: nowrap; border-radius: 6px; display: block; }
.quick-nav a:hover, .quick-nav a[aria-current="page"], .nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.quick-nav .has-sub { position: relative; }
.quick-nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .8; }
.quick-nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 8px; box-shadow: var(--shadow); list-style: none; padding: 8px; margin: 0; min-width: 230px; }
.quick-nav .has-sub::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 8px; } /* keeps hover alive across the gap */
.quick-nav .sub a { color: var(--navy); }
.quick-nav .sub a:hover, .quick-nav .sub a[aria-current="page"] { background: var(--bg-soft); color: var(--red); }
.quick-nav .has-sub:hover .sub, .quick-nav .has-sub:focus-within .sub { display: block; }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: .6em 1.1em; font-size: .9rem; }
.btn-phone { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-phone:hover { background: #fff; color: var(--navy); }
.nav-toggle { display: block; background: none; border: 2px solid rgba(255,255,255,.5); color: #fff; border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; line-height: 0; flex-shrink: 0; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Three-bar menu: the full site map, at every width */
.site-header .wrap { position: relative; }
.nav { display: none; order: 5; }
.nav.open { display: block; position: absolute; top: 100%; right: 16px; width: 300px; max-height: calc(100vh - 90px); overflow-y: auto; background: var(--navy); border-radius: 0 0 10px 10px; box-shadow: 0 12px 24px rgba(0,0,0,.25); padding: 10px 12px 16px; }
.nav.open > ul { flex-direction: column; align-items: stretch; }
.nav .sub { list-style: none; margin: 0; padding: 0 0 0 14px; }
.nav .sub a { color: rgba(255,255,255,.85); }

.header-cta { order: 3; }
.nav-toggle { order: 4; }
.quick-nav { order: 2; }

@media (max-width: 1240px) { .header-cta .btn-phone { display: none; } }
@media (max-width: 1040px) {
  .quick-nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 700px) {
  .nav.open { left: 0; right: 0; width: auto; border-radius: 0; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: 10px; padding: 0 16px; min-height: 64px; }
  .brand { gap: 8px; }
  .brand .brand-mark { width: 38px; }
  .brand .brand-wordmark { width: 122px; }
  .header-cta .btn { padding: .5em .85em; font-size: .82rem; }
  .nav-toggle { padding: 6px 10px; }
}

/* Sections */
.section { padding: 88px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead, .section-navy p { color: rgba(255,255,255,.86); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section > .wrap { position: relative; z-index: 1; }

/* Paw prints: individual whole paws at fixed positions, at least 24px inside every edge. Never tiled. */
.paws { position: absolute; inset: 44px; /* 24px edge margin + room for rotated paws */ pointer-events: none; z-index: 0; }
.paw {
  position: absolute; width: 56px; aspect-ratio: 100 / 130;
  left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  transform: translate(calc(var(--x) * -1%), calc(var(--y) * -1%)) rotate(var(--r, 0deg));
  background: url("/assets/img/paw.svg") center / contain no-repeat;
  opacity: .07;
}
/* Paw from the Wolfpack Canva designs: #213F64 on navy, full opacity. */
.section-navy .paw, .hero .paw, .page-hero .paw, .site-footer .paw { background-image: url("/assets/img/paw-soft.svg"); opacity: 1; }
.paw.sm { width: 42px; }
.paw.lg { width: 84px; }
@media (max-width: 700px) { .paw.hide-sm { display: none; } }

/* Hero */
.hero { background: linear-gradient(135deg, #132c4a 0%, var(--navy) 100%); color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-media { border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.86); }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: rgba(255,255,255,.7); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Photo slot (until approved photos are added) */
.img-slot {
  aspect-ratio: var(--ar, 4 / 3); width: 100%;
  background: linear-gradient(160deg, var(--lid-blue), var(--navy));
  border-radius: 12px; display: flex; align-items: flex-end; padding: 16px;
  color: rgba(255,255,255,.75); font-size: .8rem; letter-spacing: .04em;
  position: relative; overflow: hidden;
}
.img-slot::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/wolf-head.png") center / 28% no-repeat; opacity: .16;
}
.img-slot.tall { --ar: 3 / 4; }
.img-slot.wide { --ar: 16 / 9; }
figure { margin: 0; }
.photo { border-radius: 12px; overflow: hidden; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
/* Two-column layout: a leftover third card sits centered on its own row, not pushed left. */
@media (max-width: 960px) and (min-width: 641px) {
  .g3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--red); }
.card .img-slot { margin: -28px -28px 20px; width: calc(100% + 56px); border-radius: var(--radius) var(--radius) 0 0; }
.card-accent { border-top: 4px solid var(--red); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.section-navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.section-navy .card p { color: rgba(255,255,255,.82); }

/* Two-column feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks.cols { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
@media (max-width: 640px) { .checks.cols { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Strip / CTA band */
.cta-band { background: var(--red); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band .btn-white { background: #fff; color: var(--red); }
.cta-band .btn-white:hover { background: var(--navy); color: #fff; }
.cta-band .btn-outline { color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--red); border-color: #fff; }
.state-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.state-chips li a, .state-chips li span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; }
.state-chips li a:hover { background: #fff; color: var(--navy); }
.note { font-size: .95rem; color: var(--muted); margin-top: 24px; }

/* State cards */
.state-card h3 { display: flex; align-items: center; gap: 10px; }
.state-card .abbr { display: inline-grid; place-items: center; min-width: 42px; height: 30px; border-radius: 6px; background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .06em; }

/* Forms */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-wrap { padding: 24px; } }
label, legend { font-weight: 700; font-size: .92rem; color: var(--navy); display: block; margin-bottom: 6px; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c7d0dc; border-radius: 8px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(190, 6, 25, .18); border-color: var(--red); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choices label { font-weight: 400; color: var(--ink); display: flex; align-items: center; gap: 8px; margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form-msg.ok { display: block; background: #e8f5ec; color: #145a2c; border: 1px solid #b9e1c6; }
.form-msg.err { display: block; background: #fdecee; color: #8a0412; border: 1px solid #f3c1c7; }
.field-err { color: var(--red); font-size: .85rem; margin-top: 4px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list strong { display: block; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 64px 0 28px; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
/* Link columns sit vertically centered against the logo block (logo top to "East Coast."). */
.footer-grid > div > :first-child { margin-top: 0; }
.footer-grid > div > :last-child { margin-bottom: 0; }
.footer-grid h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tagline { font-weight: 700; color: #fff; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; position: relative; z-index: 1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; align-items: start; } }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
