/* ═══ TEMPLATE C — MODERN ASYMMETRIC — PARADIGM MAX Q ═══
   Recolored to match Paradigm Max Q's actual logo (client-provided image,
   colors extracted via direct pixel sampling, not estimated): red #FE1A1E,
   blue #2855FF, black #000000. Previously used colors sampled from the live
   site's computed styles (#F30404 / #00305B); updated 2026-08-21 once the
   real logo file was provided, per the standing rule that a client-provided
   logo is the source of truth for palette, not the assistant's own read of
   the site. Structural signature preserved: asymmetric hero, uneven bento
   grid, staggered timeline, dense FAQ list. Do not flatten the bento grid or
   center the hero. See Templates/README.md. */

:root {
  --charcoal:   #0B0E13;
  --charcoal-2: #151A22;
  --red:        #FE1A1E;
  --red-dark:   #D10E12;
  --navy:       #2855FF;
  --white:      #FFFFFF;
  --off-white:  #F5F6F8;
  --ink:        #0B0E13;
  --muted:      #6B7078;
  --border:     #E3E5EA;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; background: var(--white); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--charcoal); }
.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* Banner uses charcoal, not the vivid logo blue — the logo blue is saturated
   enough that a full-width bar of it reads as a UI alert color rather than a
   brand accent. Charcoal keeps the banner calm while the blue stays reserved
   for accent moments (stat numbers, etc.) where it actually pops correctly. */
.preview-banner { background: var(--charcoal); color: var(--white); text-align: center; font-size: 0.82rem; font-weight: 700; padding: 0.6rem 1rem; }
.preview-banner strong { text-decoration: underline; }

nav { padding: 1.25rem 0; border-bottom: 1px solid var(--border); position: relative; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 0.65rem; }
.nav-logo .dot { width: 10px; height: 10px; background: var(--red); border-radius: 2px; }
/* Real client logo is a wide wordmark (not square), flat white background
   (no alpha channel), so it's sized by height with auto width rather than
   forced into a square crop like the default template chip. Footer stays
   text-only (dark background, and the logo file has no transparency, so
   placing it there would show as a visible white box, not a clean lockup). */
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.nav-links a.current { color: var(--charcoal); }
.nav-cta { background: var(--charcoal); color: var(--white) !important; padding: 0.6rem 1.4rem; border-radius: 100px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* PAGE HEADER — used on Services/About/Contact/Careers instead of the full hero */
.page-header { padding: 4rem 0 3rem; }
.page-header .hero-tagline { margin-bottom: 1.25rem; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* HERO — asymmetric, offset heading, floating stat chip (home page only).
   Full-bleed photo background (F-35 hangar shot) with a dark gradient
   overlay for text legibility — real photography instead of the template's
   default plain-color hero, per client request. */
#hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(6,8,11,0.94) 0%, rgba(6,8,11,0.86) 38%, rgba(6,8,11,0.55) 100%), url('assets/hero-f35-hangar.png');
  background-size: cover;
  background-position: center 30%;
}
.hero-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem; align-items: start; }
.hero-tagline { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: #FF8A8A; background: rgba(254,26,30,0.16); display: inline-block; padding: 0.4rem 0.9rem; border-radius: 6px; margin-bottom: 1.5rem; }
#hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 1.5rem; color: var(--white); }
#hero .sub { color: #C7CBD3; font-size: 1.05rem; max-width: 460px; margin-bottom: 2rem; }
.btn { display: inline-block; padding: 0.9rem 1.9rem; border-radius: 100px; font-weight: 700; font-size: 0.92rem; }
.btn-primary { background: var(--charcoal); color: var(--white); }
.btn-red { background: var(--red); color: var(--white); }

.hero-stat-stack { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.hero-stat-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14); color: var(--white); border-radius: 16px; padding: 1.5rem 1.75rem; }
.hero-stat-card .val { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 700; color: var(--red); }
.hero-stat-card .lbl { font-size: 0.82rem; color: #C7CBD3; margin-top: 0.3rem; }
.hero-stat-card.light { background: rgba(255,255,255,0.94); border-color: transparent; color: var(--charcoal); }
.hero-stat-card.light .val { color: var(--navy); }
.hero-stat-card.light .lbl { color: var(--muted); }

/* BENTO GRID — asymmetric feature blocks, NOT uniform 3-up cards */
#features { background: var(--off-white); }
.section-header { margin-bottom: 3rem; }
.section-header .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--red-dark); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.75rem; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 1.25rem; }
.bento-item { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.bento-item.large { grid-column: span 2; grid-row: span 2; background: var(--charcoal); color: var(--white); }
.bento-item.large h3 { color: var(--white); }
.bento-item.large p { color: #A8ADB5; }
.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }
.bento-item .icon-chip { width: 44px; height: 44px; border-radius: 10px; background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; }
.bento-item.large .icon-chip { background: var(--red); }
.icon-chip svg { width: 24px; height: 24px; stroke: var(--white); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bento-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.bento-item p { color: var(--muted); font-size: 0.9rem; }

/* SERVICES/PRACTICE AREAS PAGE — a flatter, listing version of the bento concept per-service */
.service-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-detail-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.service-detail-card .icon-chip { width: 44px; height: 44px; border-radius: 10px; background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; }
.service-detail-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-detail-card p { color: var(--muted); font-size: 0.92rem; }

/* STAGGERED TIMELINE — offset left/right, connecting vertical line */
.timeline-track { position: relative; max-width: 800px; margin: 3rem auto 0; }
.timeline-track::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.timeline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; position: relative; }
.timeline-row:nth-child(even) .timeline-content { grid-column: 2; text-align: left; }
.timeline-row:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-dot { position: absolute; left: 50%; top: 0.3rem; width: 14px; height: 14px; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--charcoal); border-radius: 50%; transform: translateX(-50%); z-index: 1; }
.timeline-content .step-label { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--red-dark); margin-bottom: 0.4rem; }
.timeline-content h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-content p { color: var(--muted); font-size: 0.9rem; }

/* STAT BAND — dark, mono numbers, asymmetric column widths */
#stats { background: var(--charcoal); color: var(--white); }
.stats-layout { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; align-items: center; }
.stats-layout h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat-block { text-align: center; border-left: 1px solid #3A3F47; padding-left: 2rem; }
.stat-block .num { font-family: 'JetBrains Mono', monospace; font-size: 2.4rem; font-weight: 700; color: var(--red); }
.stat-block .lbl { font-size: 0.82rem; color: #A8ADB5; margin-top: 0.4rem; }

/* ABOUT PAGE */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(11,14,19,0.15), rgba(0,48,91,0.15)), url('assets/f35-lineup-tarmac.png');
  background-size: cover;
  background-position: center;
  border-radius: 18px;
}
.about-text p { color: var(--muted); margin-bottom: 1.25rem; font-size: 1rem; }

/* CERTIFICATION BADGES — real certification artwork instead of text-only chips */
.cert-badges-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; margin-top: 1.5rem; }
.cert-badges-row img { height: 72px; width: auto; }

/* LEADERSHIP TEAM — bento-style cards with real headshots */
.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.leadership-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; }
.leadership-card img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.25rem; border: 3px solid var(--white); box-shadow: 0 6px 18px rgba(11,14,19,0.12); }
.leadership-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.leadership-card .role { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--red-dark); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; display: block; }
.leadership-card a { font-size: 0.85rem; color: var(--navy); font-weight: 600; }

/* LOCATIONS LIST — real multi-column state list, not a screenshot */
.locations-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 2rem; max-width: 700px; margin: 2rem auto 0; list-style: none; }
.locations-list li { font-size: 0.95rem; color: var(--ink); padding: 0.4rem 0; border-bottom: 1px solid var(--border); }

/* PHOTO BREAK — full-width real photography section divider */
.photo-break { height: 320px; background-size: cover; background-position: center; margin: 0; }
.photo-break.helicopter { background-image: linear-gradient(rgba(11,14,19,0.25), rgba(11,14,19,0.35)), url('assets/helicopter-night.png'); }
.photo-break.f35-lineup { height: 280px; background-image: linear-gradient(rgba(11,14,19,0.15), rgba(11,14,19,0.15)), url('assets/f35-lineup-tarmac.png'); background-position: center 60%; }
.credentials-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.credential-chip { background: var(--off-white); border: 1px solid var(--border); border-radius: 100px; padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--charcoal); }

/* FAQ AS LIST — dense, mono numbering, not accordion cards */
.faq-row { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.faq-row .q-num { font-family: 'JetBrains Mono', monospace; color: var(--red-dark); font-weight: 700; }
.faq-row h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-row p { color: var(--muted); font-size: 0.92rem; }

/* CAREERS PAGE — benefit tiles echoing the bento signature. Each tile flips
   on hover to reveal the real benefit detail, front = icon + title, back =
   copy. perspective on the grid, transform-style preserve-3d on the tile. */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; perspective: 1200px; }
.benefit-tile { background: transparent; border-radius: 18px; text-align: center; height: 190px; position: relative; }
.benefit-tile .flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.4,0.2,0.2,1); transform-style: preserve-3d; }
.benefit-tile:hover .flip-inner { transform: rotateY(180deg); }
.benefit-tile .flip-face { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; }
.benefit-tile .flip-front { background: var(--charcoal); color: var(--white); }
.benefit-tile .flip-front .icon-chip { width: 44px; height: 44px; border-radius: 10px; background: var(--red); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.benefit-tile .flip-front h3 { color: var(--white); font-size: 1.05rem; }
.benefit-tile .flip-back { background: var(--red); color: var(--white); transform: rotateY(180deg); font-size: 0.86rem; line-height: 1.5; }
.stat-strip { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; margin-top: 3rem; }
.stat-strip .stat-block { border-left: none; padding-left: 0; }
.stat-strip .num { color: var(--navy); }

/* CONTACT PAGE */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
.contact-info-card { background: var(--charcoal); color: var(--white); border-radius: 18px; padding: 2rem; }
.contact-info-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.25rem; }
.contact-detail { margin-bottom: 1.25rem; }
.contact-detail .label { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 0.3rem; }
.contact-detail .value { font-size: 0.98rem; color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); display: block; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: 10px;
  font-family: 'Manrope', sans-serif; font-size: 0.95rem; background: var(--off-white); color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 120px; }

#cta { text-align: center; background: var(--off-white); }
#cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
#cta p { color: var(--muted); max-width: 480px; margin: 0 auto 2rem; }

footer { background: var(--charcoal); color: #8A8F97; text-align: center; padding: 2.5rem 2rem; }
.footer-logo { color: var(--white); font-weight: 800; font-size: 1.1rem; }
.footer-links { display: flex; justify-content: center; gap: 1.75rem; list-style: none; margin: 1rem 0; }
.footer-links a { font-size: 0.8rem; color: #8A8F97; }
.footer-links a:hover { color: var(--red); }
footer p { font-size: 0.8rem; margin-top: 1rem; }

@media (max-width: 900px) {
  .hero-layout, .stats-layout, .timeline-row, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .bento-item.large, .bento-item.tall, .bento-item.wide { grid-column: span 2; grid-row: span 1; }
  .timeline-track::before { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-row:nth-child(odd) .timeline-content, .timeline-row:nth-child(even) .timeline-content { grid-column: 1; text-align: left; padding-left: 3rem; }
  .stat-block { border-left: none; padding-left: 0; border-top: 1px solid #3A3F47; padding-top: 1.5rem; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hover doesn't exist on touch; tap toggles a .flipped class instead (see script) */
  .benefit-tile.flipped .flip-inner { transform: rotateY(180deg); }
  .leadership-grid { grid-template-columns: 1fr; }
  .locations-list { grid-template-columns: repeat(2, 1fr); }
  .photo-break { height: 200px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(11,14,19,0.12);
    padding: 0.5rem 1.5rem 1.25rem;
    z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 0.75rem; }
}
