/* Positive Spark Enterprise Styles — ported from UnderDawn design system */

:root {
  --bg: #020202;
  --bg-alt: #050505;
  --surface: #050509;
  --border-subtle: #111827;
  --border-strong: #4b5563;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  /* PS brand: vibrant orange→purple spectrum from logo */
  --accent: #f97316;          /* orange */
  --accent-2: #a855f7;        /* purple */
  --accent-mid: #e11d7a;      /* hot pink middle */
  --accent-soft: rgba(249, 115, 22, 0.16);
  --accent-2-soft: rgba(168, 85, 247, 0.16);
  --accent-gradient: linear-gradient(135deg, #f97316, #e11d7a, #a855f7);
  --danger: #f97373;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.88);
  --shadow-subtle: 0 18px 40px rgba(0, 0, 0, 0.9);
  --nav-height: 64px;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Clash Display", "Space Grotesk", system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: radial-gradient(circle at top, #0a0212 0, #050012 35%, #000 100%);
  scroll-behavior: smooth;
}
body { min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
main { padding-top: var(--nav-height); }

/* Layout */
.container {
  width: 100%; max-width: 1160px;
  margin: 0 auto; padding: 0 20px;
}
.section { padding: 80px 0; }
.section-alt {
  background: radial-gradient(circle at top, rgba(249, 115, 22, 0.04), transparent 55%),
              radial-gradient(circle at bottom, rgba(168, 85, 247, 0.05), transparent 60%);
}
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.1rem; letter-spacing: 0.03em; margin: 0;
}
.section-subtitle {
  margin: 10px 0 0; color: #e5e7eb;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 0.9vw + 0.9rem, 1.6rem);
  line-height: 1.35; max-width: 42rem;
}

/* ========================
   HEADER / NAV
   ======================== */
.site-header {
  overflow: visible; position: fixed; top: 0; inset-inline: 0;
  z-index: 40; backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(5, 0, 18, 0.94), rgba(5, 0, 18, 0.82), transparent);
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); }

.brand-mark {
  width: 44px; height: 44px; border-radius: 18px;
  background: radial-gradient(circle at 20% 0%, rgba(249,115,22,0.45), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(168,85,247,0.5), transparent 60%),
              radial-gradient(circle at 50% 100%, rgba(225,29,122,0.4), transparent 70%);
  background-color: #0a0212;
  border: 1px solid rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 0 1px rgba(5, 0, 18, 0.9), 0 0 40px rgba(249, 115, 22, 0.7);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.brand-mark::before {
  content: "";
  display: block; width: 82%; height: 82%;
  background-image: url("images/ps-logo.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 0 0 1px rgba(5, 0, 18, 0.9), 0 0 55px rgba(249, 115, 22, 0.95);
}

.brand-text {
  display: flex; flex-direction: column; overflow: hidden;
  max-width: 0; opacity: 0; transform: translateX(4px); white-space: nowrap;
  transition: max-width 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.brand:hover .brand-text,
.brand:focus-visible .brand-text,
.brand.brand-expanded .brand-text { max-width: 280px; opacity: 1; transform: translateX(0); }
@media (max-width: 768px) {
  .brand-text { max-width: 280px; opacity: 1; transform: translateX(0); }
}
.brand-name { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.86rem; }
.brand-tagline { font-size: 0.72rem; color: var(--text-muted); }

/* Nav links */
.nav { display: flex; align-items: center; gap: 16px; }
.nav-links {
  display: flex; align-items: center; gap: 18px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 6px 4px; border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--text-main); border-bottom-color: var(--accent); }
.nav-cta {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.6); color: var(--text-main);
}
.nav-cta:hover {
  border-color: var(--accent);
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 65%);
}
.nav-toggle {
  display: none; width: 40px; height: 32px; border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.6); background: rgba(15, 0, 30, 0.8);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle-line { width: 16px; height: 2px; border-radius: 999px; background: #e5e7eb; }

/* ========================
   SPLASH SCREEN
   ======================== */
#ps-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; pointer-events: none;
  animation: psSplashFade 0.4s ease-out 0.8s forwards;
}
.ps-splash-inner { position: relative; text-align: center; }
.ps-splash-logo {
  width: min(180px, 26vw); max-width: 200px; height: auto;
  animation: psSplashGlitch 0.65s ease-out both;
  border-radius: 50%;
}
/* Swipe highlight */
#ps-splash::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(0,0,0,1) 10%,
    rgba(249,115,22,0.18) 30%,
    rgba(225,29,122,0.22) 45%,
    rgba(168,85,247,0.18) 60%,
    rgba(0,0,0,1) 80%
  );
  mix-blend-mode: screen;
  transform: translateX(-130%);
  animation: psSplashSwipe 0.75s cubic-bezier(0.19, 1, 0.22, 1) 0.2s forwards;
}
.ps-splash-text {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; opacity: 0; filter: blur(4px);
  animation: psTextFade 0.6s ease-out 0.35s forwards;
}
@keyframes psSplashGlitch {
  0%   { transform: translate3d(0,0,0) scale(1); filter: drop-shadow(0 0 0 rgba(249,115,22,0.6)); }
  20%  { transform: translate3d(-2px,1px,0) scale(1.01); filter: drop-shadow(0 0 14px rgba(249,115,22,0.9)); }
  40%  { transform: translate3d(2px,-1px,0) scale(1.02); filter: drop-shadow(0 0 22px rgba(168,85,247,1)); }
  60%  { transform: translate3d(-1px,0,0) scale(1.005); filter: drop-shadow(0 0 12px rgba(225,29,122,0.85)); }
  100% { transform: translate3d(0,0,0) scale(1); filter: drop-shadow(0 0 6px rgba(249,115,22,0.5)); }
}
@keyframes psSplashSwipe {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
@keyframes psSplashFade {
  0%   { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes psTextFade {
  0%   { opacity: 0; filter: blur(4px); transform: translateY(6px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* ========================
   HERO (VIDEO)
   ======================== */
.hero { position: relative; overflow: hidden; }
.hero-video { min-height: 90vh; display: flex; align-items: center; }
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.hero-video-fallback {
  display: none; position: absolute; inset: 0;
  background-image: url("images/hero-fallback.jpg");
  background-size: cover; background-position: center; z-index: 1;
}
@media (prefers-reduced-data: reduce), (max-width: 640px) {
  .hero-video-bg { display: none; }
  .hero-video-fallback { display: block; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to right,
    rgba(5, 0, 18, 0.88) 0%,
    rgba(5, 0, 18, 0.72) 50%,
    rgba(5, 0, 18, 0.55) 100%
  );
}
.hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 72px; padding-bottom: 120px;
}
.hero-copy {
  opacity: 0;
  animation: heroFade 0.9s ease forwards 0.15s;
  max-width: 820px;
}
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

.hero-copy .eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
  color: var(--accent); margin: 0 0 10px;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw + 1rem, 5rem);
  line-height: 1.02; letter-spacing: 0.02em; margin: 0 0 20px;
}
.hero-accent-row {
  display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 18px;
}
.hero-accent-bar {
  width: 40px; height: 2px; border-radius: 999px;
  background: var(--accent-gradient); flex-shrink: 0;
}
.hero-accent-label {
  font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

/* Trusted partners bar */
.trusted-bar {
  position: relative; z-index: 3; margin-top: -1px;
}
.trusted-bar-inner {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: 16px;
  padding: 20px 32px;
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap;
}
.trusted-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap; flex-shrink: 0;
}
.trusted-logos {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap; flex: 1;
}
.trusted-logos img {
  height: 28px; width: auto; opacity: 0.75; filter: grayscale(30%);
  transition: opacity 0.2s, filter 0.2s;
}
.trusted-logos img:hover { opacity: 1; filter: grayscale(0%); }

/* Partner logo placeholder (for fallback) */
.trusted-logo-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 12px;
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 6px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--text-muted); white-space: nowrap;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500; border: 1px solid transparent;
  cursor: pointer; transition: all 0.18s ease;
  background: transparent; color: var(--text-main);
}
.btn-primary {
  background: var(--accent-gradient);
  border-color: rgba(15, 0, 30, 0.9);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
  color: #fff;
}
.btn-outline {
  border-color: rgba(249, 115, 22, 0.55);
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 65%);
  color: var(--text-main);
}
.btn-outline:hover { border-color: var(--accent); }

/* ========================
   CORE CAPABILITIES CARDS
   ======================== */
.capabilities-section { padding: 64px 0; }
.capabilities-container { max-width: 1180px; margin: 0 auto; padding: 0 18px; color: #fff; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 6px 0; color: #fff;
}
.section-lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 1.1vw + 0.85rem, 1.55rem);
  line-height: 1.35; color: #e5e7eb;
  margin-top: 6px; margin-bottom: 28px; max-width: 46rem;
}
.capabilities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; align-items: start;
}
.cap-card {
  width: 100%; height: 420px; border-radius: 12px;
  overflow: hidden; position: relative; background: #111;
  box-shadow: 0 6px 22px rgba(0,0,0,0.6);
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
  cursor: pointer; display: block;
}
.cap-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .28s, filter .28s;
}
.cap-title {
  position: absolute; left: 18px; top: 18px; z-index: 5;
  padding: 6px 10px; border-radius: 6px; background: rgba(0,0,0,0.5);
}
.cap-title h3 { margin: 0; font-size: 18px; color: #fff; line-height: 1.05; font-weight: 700; }
.cap-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(0,0,0,0.7); padding: 6px 10px; border-radius: 8px;
  font-weight: 700; font-size: 12px; color: #fff; z-index: 6;
}
/* White wipe */
.cap-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: linear-gradient(90deg, #ffffff 0 30%, rgba(255,255,255,0.96) 100%);
  transition: width .22s linear; z-index: 3; pointer-events: none;
}
.cap-overlay {
  position: absolute; top: 0; left: 0; height: 100%; width: 100%;
  padding: 28px; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(-8%); pointer-events: none; z-index: 4;
}
.cap-overlay h3 { display: none; }
.cap-overlay p, .cap-overlay ul { color: #222; }
.cap-overlay ul { margin: 8px 0 12px; padding-left: 18px; }
.cap-cta {
  margin-top: auto; padding: 10px 14px;
  background: var(--accent-gradient);
  color: #fff; border-radius: 8px; text-decoration: none;
  display: inline-block; pointer-events: auto;
  font-size: 0.85rem; font-weight: 600;
}
/* Expanded state */
.cap-card.expanded { transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 50px rgba(249,115,22,0.3); }
.cap-card.expanded .cap-image { transform: scale(1.05) translateY(-6px); filter: blur(1px) brightness(.95); }
.cap-card.expanded::before { width: 100%; }
.cap-card.expanded .cap-overlay {
  opacity: 1; transform: translateX(0); background: #fff;
  border-radius: 12px; color: #111; padding: 28px;
  pointer-events: auto; z-index: 4;
  transition: opacity .18s .08s, transform .24s .08s;
}
@media (max-width: 1000px) { .capabilities-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px)  { .capabilities-grid { grid-template-columns: 1fr; } .cap-card { height: 380px; } }

/* ========================
   INDUSTRIES — STACKED CARDS
   ======================== */
.industries-stack-section {
  position: relative; background: #000; color: #fff;
  padding: 120px 0 160px; overflow: visible;
}
.industries-stack-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.industries-stack-title {
  position: sticky; top: 50vh; transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7vw, 5.8rem); line-height: 0.9;
  font-weight: 700; letter-spacing: -0.02em;
  color: #fff; opacity: 0.14; pointer-events: none; z-index: 1;
}
.industries-stack-cards {
  position: relative; margin-top: 64px;
  display: flex; flex-direction: column; gap: 72px; padding-bottom: 40px; z-index: 2;
}
.industry-panel {
  position: relative; width: min(520px, 100%);
  border-radius: 24px; padding: 28px 28px 26px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.12);
  overflow: hidden; opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.25s, translate 0.25s;
}
.industry-panel:nth-child(odd) { align-self: flex-start; }
.industry-panel:nth-child(even) { align-self: flex-end; }
.industry-panel + .industry-panel { margin-top: -40px; }
.industry-panel.is-visible { opacity: 1; transform: translateY(0); }
.industry-panel:hover { box-shadow: 0 32px 110px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.2); translate: 0 -4px; }
.industry-panel-tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px; border-radius: 999px; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  background: rgba(0,0,0,0.36); backdrop-filter: blur(8px);
  color: #f5f5f5; margin-bottom: 14px;
}
.industry-panel-title {
  margin: 0 0 8px; font-family: "Georgia", serif;
  font-size: 1.4rem; line-height: 1.2;
}
.industry-panel-lead { margin: 0 0 10px; font-size: 0.98rem; line-height: 1.6; color: #f9fafb; }
.industry-panel-points { list-style: none; margin: 0; padding: 0; }
.industry-panel-points li {
  position: relative; padding-left: 14px;
  font-size: 0.9rem; line-height: 1.6; color: #e5e7eb;
}
.industry-panel-points li + li { margin-top: 3px; }
.industry-panel-points li::before { content: "–"; position: absolute; left: 0; top: 0; }
/* PS brand colorways — vibrant orange→purple spectrum */
.industry-panel--ed  { background: #0f3df2; }
.industry-panel--ent { background: #c2370a; }
.industry-panel--gov { background: #7c1fa5; }
.industry-panel--sv  { background: #0d6e6e; }
.industry-panel--bi  { background: #8a1d7c; }
.industry-panel--dx  { background: #e05d00; }
@media (max-width: 720px) {
  .industries-stack-section { padding: 96px 0 120px; }
  .industries-stack-cards { gap: 40px; }
  .industry-panel { width: 100%; }
  .industry-panel + .industry-panel { margin-top: 0; }
  .industry-panel:nth-child(even), .industry-panel:nth-child(odd) { align-self: stretch; }
}

/* ========================
   INTERACTIVE CARDS (shared)
   ======================== */
.interactive-section { padding: 48px 0; }
.interactive-container { max-width: 1200px; margin: 0 auto; padding: 0 18px; color: #fff; }
.interactive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: start;
}
.interactive-card {
  width: 100%; height: 380px; border-radius: 10px; overflow: hidden;
  position: relative; background: #111;
  box-shadow: 0 6px 22px rgba(0,0,0,0.6);
  transition: transform .28s, box-shadow .28s; cursor: pointer;
}
.interactive-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .28s, filter .28s;
}
.interactive-title {
  position: absolute; left: 16px; top: 14px; z-index: 6;
  padding: 6px 10px; border-radius: 6px; background: rgba(0,0,0,0.5);
}
.interactive-title h3 {
  margin: 0; font-size: 16px; color: #fff; line-height: 1.05; font-weight: 700;
  text-shadow: 0 0 18px rgba(0,0,0,0.7);
}
.interactive-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.7); padding: 6px 10px; border-radius: 8px;
  font-weight: 700; font-size: 12px; color: #fff; z-index: 6;
}
.interactive-overlay {
  position: absolute; top: 0; left: 0; height: 100%; width: 100%;
  padding: 72px 20px 20px 20px; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(-6%); pointer-events: none; z-index: 5;
}
.interactive-overlay p, .interactive-overlay ul { color: #222; }
.interactive-overlay ul { padding-left: 18px; }
.interactive-overlay .interactive-cta {
  margin-top: auto; padding: 10px 14px;
  background: var(--accent-gradient);
  color: #fff; border-radius: 8px; text-decoration: none;
  display: inline-block; pointer-events: auto; font-weight: 600; font-size: 0.85rem;
}
.interactive-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: linear-gradient(90deg, #fff 0 30%, rgba(255,255,255,0.96) 100%);
  transition: width .22s linear; z-index: 4; pointer-events: none;
}
.interactive-card.expanded { transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 50px rgba(249,115,22,0.3); }
.interactive-card.expanded .interactive-image { transform: scale(1.05) translateY(-6px); filter: blur(1px) brightness(.95); }
.interactive-card.expanded::before { width: 100%; }
.interactive-card.expanded .interactive-overlay {
  opacity: 1; transform: translateX(0);
  background: #fff; border-radius: 10px; color: #111;
  padding: 72px 20px 20px 20px; pointer-events: auto; z-index: 7;
  transition: opacity .18s .08s, transform .24s .08s;
}
@media (max-width: 1000px) { .interactive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .interactive-grid { grid-template-columns: 1fr; } .interactive-card { height: 340px; } }

/* Sticky background titles */
.sticky-section { position: relative; overflow: visible; }
.sticky-background-title {
  font-family: var(--font-display);
  position: sticky; top: 50vh; transform: translateY(-50%);
  font-size: clamp(3.5rem, 9vw, 6rem); line-height: 0.9;
  font-weight: 700; letter-spacing: -0.03em;
  color: #fff; opacity: 0.13; pointer-events: none; z-index: 1;
}

/* ========================
   CONTACT SECTION
   ======================== */
.section-contact {
  background: radial-gradient(circle at top, rgba(249, 115, 22, 0.06), transparent 60%);
}
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 22px;
}
.card {
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top, #0a0212, #0a0212 35%, #000 100%);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-subtle);
}
.card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-top: 0; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0; }
.tilt-card { transform-style: preserve-3d; transition: transform 0.16s ease-out; }
.contact-details p { font-size: 0.9rem; color: var(--text-muted); }
.contact-list { margin: 16px 0 10px; }
.contact-list div { margin-bottom: 8px; }
.contact-list dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.contact-list dd { margin: 2px 0 0; font-size: 0.92rem; }
.contact-list a { color: #e5e7eb; }
.contact-list a:hover { color: var(--accent); }
.contact-calendar { margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.contact-form h3 { margin-top: 0; margin-bottom: 12px; }
.form-row { display: flex; gap: 14px; }
.form-field { flex: 1; display: flex; flex-direction: column; margin-bottom: 12px; }
.form-field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 10px; border: 1px solid rgba(249, 115, 22, 0.3);
  background: rgba(10, 2, 18, 0.95); color: #e5e7eb;
  padding: 8px 10px; font-size: 0.88rem; outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3);
}
.form-field textarea { resize: vertical; }
.form-actions { margin-top: 6px; text-align: right; }
@media (max-width: 980px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

/* ========================
   FOOTER
   ======================== */
.site-footer {
  border-top: 1px solid rgba(249, 115, 22, 0.15);
  background: #020617; padding: 32px 0 16px;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr);
  gap: 30px; align-items: flex-start; margin-bottom: 20px;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 360px; margin-top: 10px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.footer-column h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0; margin-bottom: 10px; color: #cbd5f5; }
.footer-column ul { list-style: none; padding: 0; margin: 0; font-size: 0.8rem; color: var(--text-muted); }
.footer-column li { margin-bottom: 6px; }
.footer-column a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(249, 115, 22, 0.15); padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 0.75rem; color: var(--text-muted);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; right: 20px; top: var(--nav-height);
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 12px 14px; border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    background: rgba(10, 2, 18, 0.98);
    box-shadow: 0 18px 50px rgba(0,0,0,0.9);
    min-width: 210px; display: none;
  }
  .nav-links.open { display: flex; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy h1 { font-size: 2.4rem; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero-copy h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */
[data-animate] {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
[data-animate="left"]  { transform: translate3d(-40px, 0, 0); }
[data-animate="right"] { transform: translate3d(40px, 0, 0); }
[data-animate="up"]    { transform: translate3d(0, 40px, 0); }
[data-animate="down"]  { transform: translate3d(0, -30px, 0); }
.animate-in { opacity: 1; transform: translate3d(0, 0, 0); }

/* PS gradient text utility */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================
   PHOENIX LOGO — transparent on dark bg
   ======================== */
.brand-mark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 44px; height: 44px;
}
.brand-mark::before {
  background-image: url("images/ps-logo-transparent.png") !important;
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 8px rgba(249,115,22,0.7));
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: translateY(-1px) scale(1.06);
}
.brand:hover .brand-mark::before,
.brand:focus-visible .brand-mark::before {
  filter: drop-shadow(0 0 14px rgba(249,115,22,1)) drop-shadow(0 0 6px rgba(56,189,248,0.8));
}

/* Splash screen logo — transparent on black bg */
.ps-splash-logo {
  border-radius: 0 !important;
  filter: drop-shadow(0 0 20px rgba(249,115,22,0.8)) drop-shadow(0 0 40px rgba(56,189,248,0.5));
}

/* Remove tag styles (cleaned from HTML) */
.cap-tag, .interactive-tag { display: none !important; }

/* ========================
   CIRCLES LOGO — already transparent, optimize for dark bg
   ======================== */
.brand-mark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 40px; height: 40px;
}
.brand-mark::before {
  background-image: url("images/ps-logo-transparent.png") !important;
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 6px rgba(249,115,22,0.5)) brightness(1.1) saturate(1.2);
}
.brand:hover .brand-mark::before,
.brand:focus-visible .brand-mark::before {
  filter: drop-shadow(0 0 12px rgba(249,115,22,0.9)) drop-shadow(0 0 5px rgba(168,85,247,0.7)) brightness(1.2) saturate(1.3);
}

/* Splash screen — transparent logo on black, glowing */
.ps-splash-logo {
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 0 24px rgba(249,115,22,0.7)) drop-shadow(0 0 14px rgba(168,85,247,0.5)) brightness(1.1) saturate(1.2);
  width: min(200px, 28vw);
}
