/* ============================================================
   Patriot Forge Solutions — homepage styles
   Static site: plain CSS, no build step. HOMEPAGE-01.
   Ported from the landing page stylesheet of the application.
   Changed in the port: no web-font files (local fallbacks only),
   base rules at zero specificity, the grain overlay as a file,
   scroll reveal without script, form and modal styles dropped.
   The response headers allow 'self' only: no inline style,
   no data: URL, nothing from another host.
   ============================================================ */

/* Base (what the application's CSS reset supplied) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body { margin: 0; background: #181818; }
img { display: block; max-width: 100%; height: auto; }

.pfs-page {
  --pfs-bg:           #181818;
  --pfs-surface:      #1F1F1F;
  --pfs-surface-2:    #272727;
  --pfs-surface-3:    #2F2F2F;
  --pfs-accent:       #C9A96E;
  --pfs-accent-2:     #D9B97E;
  --pfs-accent-dim:   #8A6F45;
  --pfs-accent-glow:  rgba(201, 169, 110, 0.12);
  --pfs-text:         #F0EDE8;
  --pfs-text-muted:   #888888;
  --pfs-text-dim:     #5A5A5A;
  --pfs-border:       #2F2F2F;
  --pfs-border-2:     #3A3A3A;
  --pfs-status-live:  #4ADE80;
  --pfs-status-warn:  #F4B942;
  --pfs-danger:       #E05C5C;

  /* No font file is served. The named families show only where a visitor
     has them installed; everyone else gets the fallbacks. To serve them,
     add the files under assets/fonts/ with @font-face rules here. */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;

  --section-pad-y: 120px;
  --section-pad-x: 56px;

  background: var(--pfs-bg);
  color: var(--pfs-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

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

/* :where() keeps these at zero specificity, so a component class always wins. */
:where(.pfs-page) a { color: inherit; text-decoration: none; }
:where(.pfs-page) ul, :where(.pfs-page) ol { list-style: none; padding: 0; margin: 0; }
:where(.pfs-page) p, :where(.pfs-page) h1, :where(.pfs-page) h2, :where(.pfs-page) h3, :where(.pfs-page) h4, :where(.pfs-page) h5 { margin: 0; }
:where(.pfs-page) h1, :where(.pfs-page) h2, :where(.pfs-page) h3, :where(.pfs-page) h4, :where(.pfs-page) h5 { font-size: inherit; font-weight: inherit; }
.pfs-page a:focus-visible { outline: 2px solid var(--pfs-accent); outline-offset: 3px; }

/* Global grain overlay (scoped to marketing page) */
.pfs-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("../img/grain.svg");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* Buttons */
.pfs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.pfs-btn-primary { background: var(--pfs-accent); color: #111; }
.pfs-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.pfs-btn-secondary {
  background: transparent;
  color: var(--pfs-text);
  border-color: var(--pfs-border-2);
}
.pfs-btn-secondary:hover { border-color: var(--pfs-accent); color: var(--pfs-accent); }

/* Eyebrows / labels */
.pfs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pfs-accent);
}
.pfs-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--pfs-accent);
}
.pfs-eyebrow.no-line::before { display: none; }

/* Section headers */
.pfs-section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding-bottom: 28px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--pfs-border);
}
.pfs-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pfs-accent);
  margin-bottom: 14px;
}
.pfs-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 300;
  color: var(--pfs-text);
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.pfs-section-title em { font-style: italic; color: var(--pfs-accent); font-weight: 300; }
.pfs-section-aside {
  max-width: 380px;
  font-size: 14px;
  font-weight: 300;
  color: var(--pfs-text-muted);
  line-height: 1.7;
  text-align: right;
}

/* Tags */
.pfs-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pfs-accent-dim);
  border: 1px solid var(--pfs-border-2);
  padding: 5px 10px;
  background: transparent;
}

/* Status dot */
.pfs-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pfs-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pfs-status-live);
  animation: pfs-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.pfs-status-dot.warn { background: var(--pfs-status-warn); animation-name: pfs-pulse-warn; }
.pfs-status-dot.danger { background: var(--pfs-danger); animation-name: pfs-pulse-danger; }
.pfs-status-text { color: var(--pfs-status-live); }
.pfs-status-text.warn { color: var(--pfs-status-warn); }
.pfs-status-text.danger { color: var(--pfs-danger); }
.pfs-status-text.muted { color: var(--pfs-text-muted); }

@keyframes pfs-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
@keyframes pfs-pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 185, 66, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(244, 185, 66, 0); }
}
@keyframes pfs-pulse-danger {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 92, 92, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(224, 92, 92, 0); }
}

/* Reveal. Visible by default: there is no script. Where the browser has
   view timelines, a block fades up as it enters the viewport. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pfs-reveal {
      animation: pfs-reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@keyframes pfs-reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pfs-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   NAV
   ============================================================ */
.pfs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  /* No script watches the scroll position, so the bar always has its backdrop. */
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pfs-border);
}
.pfs-nav-brand { display: flex; align-items: center; gap: 14px; }
.pfs-nav-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.pfs-nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.pfs-nav-brand-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pfs-text);
}
.pfs-nav-brand-name em { color: var(--pfs-accent); font-style: normal; }
.pfs-nav-brand-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
  margin-top: 4px;
}
.pfs-nav-links { display: flex; align-items: center; gap: 36px; }
.pfs-nav-link {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
  transition: color 0.2s;
  padding: 4px 0;
}
.pfs-nav-link:hover { color: var(--pfs-accent); }
.pfs-nav-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  background: var(--pfs-accent);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.pfs-nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
@media (max-width: 980px) {
  .pfs-nav-links, .pfs-nav-brand-text { display: none; }
  .pfs-nav { padding: 14px 24px; }
}

/* ============================================================
   HERO
   ============================================================ */
.pfs-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--section-pad-x) 0;
  overflow: hidden;
}
.pfs-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 240px);
}
.pfs-hero::after {
  content: '';
  position: absolute;
  left: -10%;
  top: 15%;
  width: 65%;
  height: 65%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.pfs-hero-left { position: relative; z-index: 2; }
.pfs-hero-eyebrow { margin-bottom: 28px; animation: pfs-reveal-up 0.8s ease 0.05s both; }
.pfs-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--pfs-text);
  margin-bottom: 36px;
  animation: pfs-reveal-up 0.9s ease 0.2s both;
}
.pfs-hero-headline em { font-style: italic; color: var(--pfs-accent); font-weight: 300; }
.pfs-hero-headline strong { font-weight: 600; font-style: normal; }
.pfs-hero-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--pfs-text-muted);
  max-width: 540px;
  margin-bottom: 44px;
  animation: pfs-reveal-up 0.9s ease 0.35s both;
}
.pfs-hero-body strong { color: var(--pfs-text); font-weight: 500; }
.pfs-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: pfs-reveal-up 0.8s ease 0.5s both;
}

/* Hero right: PFS shield logo only (other variants archived) */
.pfs-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 0.95;
  min-height: 480px;
  animation: pfs-fade-in 1.2s ease 0.3s both;
}
.pfs-hero-shield {
  max-width: 520px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.55))
          drop-shadow(0 0 80px rgba(201,169,110,0.08));
}

/* Hero stats */
.pfs-hero-stats {
  margin: 80px calc(var(--section-pad-x) * -1) 0;
  border-top: 1px solid var(--pfs-border);
  border-bottom: 1px solid var(--pfs-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--pfs-border);
  gap: 1px;
  animation: pfs-reveal-up 0.8s ease 0.7s both;
}
.pfs-hero-stat {
  background: var(--pfs-bg);
  padding: 32px var(--section-pad-x);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pfs-hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  color: var(--pfs-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pfs-hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
}
.pfs-hero-stat-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--pfs-text-dim);
  margin-top: 4px;
}

/* ============================================================
   MISSION
   ============================================================ */
.pfs-mission {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--pfs-surface);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin-top: 40px;
}
.pfs-mission-inner { max-width: 1100px; margin: 0 auto; }
.pfs-mission-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pfs-accent);
  margin-bottom: 40px;
}
.pfs-mission-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--pfs-accent);
}
.pfs-mission-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--pfs-text);
  margin-bottom: 56px;
  letter-spacing: -0.005em;
  max-width: 1000px;
}
.pfs-mission-headline em { font-style: italic; color: var(--pfs-accent); }
.pfs-mission-headline strong { font-style: normal; font-weight: 600; }
.pfs-mission-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.pfs-mission-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--pfs-text-muted);
}
.pfs-mission-body p strong { color: var(--pfs-text); font-weight: 500; }
.pfs-pullquote {
  border-left: 3px solid var(--pfs-accent);
  padding: 12px 0 12px 36px;
  margin: 56px 0;
}
.pfs-pullquote p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--pfs-text);
}
.pfs-pullquote p strong {
  font-style: normal;
  font-weight: 600;
  color: var(--pfs-accent);
}
.pfs-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.pfs-services {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--pfs-bg);
}
.pfs-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--pfs-border);
  border: 1px solid var(--pfs-border);
}
.pfs-service-card {
  background: var(--pfs-surface);
  padding: 48px 44px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.pfs-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pfs-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pfs-service-card:hover { background: var(--pfs-surface-2); }
.pfs-service-card:hover::before { transform: scaleX(1); }
.pfs-service-num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 300;
  color: var(--pfs-border);
  line-height: 1;
  margin-bottom: 28px;
  transition: color 0.4s;
  user-select: none;
  letter-spacing: -0.03em;
}
.pfs-service-card:hover .pfs-service-num { color: var(--pfs-accent-dim); }
.pfs-service-icon {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--pfs-accent);
  line-height: 1;
}
.pfs-service-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--pfs-text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pfs-service-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--pfs-text-muted);
  margin-bottom: 24px;
  flex: 1;
}
.pfs-service-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ============================================================
   PLATFORM
   ============================================================ */
.pfs-platform {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--pfs-surface);
  position: relative;
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px));
}
.pfs-platform-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 16px;
}
.pfs-platform-card {
  background: linear-gradient(180deg, var(--pfs-surface-2) 0%, var(--pfs-surface) 100%);
  border: 1px solid var(--pfs-border);
  padding: 56px 40px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 420px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pfs-platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--pfs-accent) 50%, transparent 100%);
  opacity: 0.5;
}
.pfs-platform-card:hover {
  border-color: var(--pfs-border-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.pfs-platform-card-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  font-size: 11px;
  flex-wrap: wrap;
}
.pfs-platform-card-tag {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
  padding: 4px 10px;
  border: 1px solid var(--pfs-border-2);
  border-radius: 2px;
}
.pfs-platform-card-logo {
  height: 58px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  align-self: flex-start;
}
.pfs-platform-card-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: var(--pfs-accent);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-style: italic;
}
.pfs-platform-card-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--pfs-text-muted);
  margin-bottom: 72px;
  flex: 1;
}
.pfs-platform-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 40px 0 12px;
  border-top: 1px solid var(--pfs-border);
  gap: 16px;
  flex-wrap: wrap;
}
.pfs-platform-card-lock {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
  font-family: var(--font-mono);
}

/* ============================================================
   FOUNDER STRIP
   ============================================================ */
.pfs-founder-strip {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--pfs-bg);
}
.pfs-founder-strip-grid {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 56px;
  align-items: center;
}
.pfs-founder-portrait {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3/4;
  background: var(--pfs-surface);
  border: 1px solid var(--pfs-border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pfs-founder-monogram {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 300;
  color: var(--pfs-accent-dim);
  letter-spacing: -0.04em;
}
.pfs-founder-portrait .badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--pfs-accent);
  color: #111;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 9px;
}
.pfs-founder-strip-info .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pfs-accent);
  margin-bottom: 16px;
}
.pfs-founder-strip-info .name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: var(--pfs-text);
  line-height: 1.05;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pfs-founder-strip-info .name em { font-style: italic; color: var(--pfs-accent); }
.pfs-founder-strip-info .role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
  margin-bottom: 24px;
}
.pfs-founder-strip-info .bio {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--pfs-text-muted);
  max-width: 600px;
}
.pfs-founder-strip-info .bio strong { color: var(--pfs-text); font-weight: 500; }
.pfs-founder-creds {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 180px;
  max-width: 260px;
}
.pfs-founder-creds .item .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pfs-text-muted);
  margin-bottom: 4px;
}
.pfs-founder-creds .item .value {
  font-size: 13px;
  color: var(--pfs-text);
  font-weight: 400;
}
.pfs-founder-positions {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--pfs-text);
  font-weight: 400;
}
.pfs-founder-positions li {
  display: block;
}


/* ============================================================
   CTA / CONTACT
   ============================================================ */
.pfs-cta {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--pfs-surface);
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}
.pfs-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.pfs-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 300;
  color: var(--pfs-text);
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.pfs-cta-headline em { font-style: italic; color: var(--pfs-accent); }
.pfs-cta-eyebrow { margin-bottom: 28px; }
.pfs-cta-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--pfs-text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}
.pfs-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.pfs-contact-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--pfs-border);
  align-items: center;
}
.pfs-contact-row .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pfs-accent-dim);
}
.pfs-contact-row .value { font-size: 14px; color: var(--pfs-text); overflow-wrap: anywhere; }
.pfs-contact-row .value a { transition: color 0.2s; }
.pfs-contact-row .value a:hover { color: var(--pfs-accent); }

.pfs-quicksend {
  background: linear-gradient(180deg, var(--pfs-surface-2) 0%, var(--pfs-surface) 100%);
  border: 1px solid var(--pfs-border);
  padding: 40px;
  position: relative;
}
.pfs-quicksend::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--pfs-accent) 50%, transparent 100%);
  opacity: 0.5;
}
.pfs-quicksend h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--pfs-text);
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
}
.pfs-quicksend h3 em { font-style: italic; color: var(--pfs-accent); font-weight: 300; }
.pfs-quicksend p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--pfs-text-muted);
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pfs-footer {
  padding: 56px var(--section-pad-x) 32px;
  background: var(--pfs-bg);
  border-top: 1px solid var(--pfs-border);
}
.pfs-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--pfs-border);
  margin-bottom: 24px;
}
.pfs-footer-brand { display: flex; flex-direction: column; gap: 16px; }
.pfs-footer-brand img {
  height: 88px;
  width: auto;
  max-width: 220px;
  display: block;
  margin-bottom: 12px;
  align-self: flex-start;
  object-fit: contain;
}
.pfs-footer-brand p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--pfs-text-muted);
  max-width: 320px;
}
.pfs-footer-col h5 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pfs-accent);
  margin-bottom: 16px;
}
.pfs-footer-col a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--pfs-text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.pfs-footer-col a:hover { color: var(--pfs-accent); }
.pfs-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--pfs-text-muted);
}

/* Skip link */
.pfs-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--pfs-accent);
  color: #111;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pfs-skip-link:focus { left: 12px; top: 12px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pfs-page *,
  .pfs-page *::before,
  .pfs-page *::after {
    /* Off, not shortened: an entry animation that never ticks would leave
       its block at opacity 0. With none, every block is simply visible. */
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* Responsive */
/* Single columns are minmax(0, 1fr): a plain 1fr track grows to its widest
   child, and on a phone the hero image box (min-height 380px at ratio 1)
   pushed the text past the right edge. */
@media (max-width: 1100px) {
  .pfs-platform-pair { grid-template-columns: minmax(0, 1fr); }
  .pfs-cta-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .pfs-founder-strip-grid { grid-template-columns: auto 1fr; gap: 40px; }
  .pfs-founder-strip-grid > :last-child { grid-column: 1 / -1; }
  .pfs-footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .pfs-page { --section-pad-x: 24px; }
  .pfs-hero { padding-top: 110px; }
  .pfs-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: auto; }
  .pfs-hero-right { min-height: 380px; aspect-ratio: 1; }
  .pfs-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pfs-mission-body, .pfs-services-grid { grid-template-columns: minmax(0, 1fr); }
  .pfs-section-header { grid-template-columns: minmax(0, 1fr); }
  .pfs-section-aside { text-align: left; max-width: 100%; }
  .pfs-founder-strip-grid { grid-template-columns: minmax(0, 1fr); }
  .pfs-footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ============================================================
   NOT FOUND (404.html)
   ============================================================ */
.pfs-notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 140px var(--section-pad-x) 80px;
  max-width: 900px;
}
.pfs-notfound-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pfs-accent);
}
.pfs-notfound-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--pfs-text);
}
.pfs-notfound-headline em { font-style: italic; color: var(--pfs-accent); }
.pfs-notfound-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--pfs-text-muted);
  max-width: 520px;
}
