/*
Theme Name: Face & Finger Constitutional Trust Infrastructure
Theme URI: https://faceandfinger.org
Author: Face & Finger Team
Description: Custom WordPress theme for the Face & Finger Constitutional Trust Infrastructure.
Version: 2.0.0
Text Domain: face-and-finger
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  :root {
    --navy: #0B1220;
    --navy-mid: #16213A;
    --navy-card: #1E2D4A;
    --gold: #C8A64D;
    --gold-lt: #E8D89A;
    --white: #FFFFFF;
    --off-white: #F7F9FC;
    --slate: #64748B;
    --slate-lt: #94A3B8;
    --slate-xl: #CBD5E1;
    --emerald: #10B981;
    --border: #2A3F5C;
    --divider: #E2E8F0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background: var(--navy);
    color: var(--white);
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
  }
  
  /* NAV */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 18, 32, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 2rem;
  }
  
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
  }
  
  .nav-brand {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
  }
  
  .nav-brand span {
    color: var(--gold);
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  
  .nav-links a {
    font-size: .8rem;
    color: var(--slate-lt);
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .2s;
  }
  
  .nav-links a:hover {
    color: var(--gold);
  }
  
  .nav-cta {
    font-size: .78rem;
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    transition: all .2s;
  }
  
  .nav-cta:hover {
    background: var(--gold);
    color: var(--navy);
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transition: transform .25s, opacity .25s;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  @media(max-width:680px) {
    .nav-links {
      position: absolute;
      top: 56px;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: var(--navy);
      border-bottom: 1px solid var(--border);
      max-height: 0;
      overflow: hidden;
      transition: max-height .3s ease;
    }
  
    .nav-links.open {
      max-height: 600px;
    }
  
    .nav-links li {
      width: 100%;
      border-top: 1px solid var(--border);
    }
  
    .nav-links a {
      display: block;
      padding: .9rem 1.5rem;
    }
  
    .nav-cta {
      display: none;
    }
  
    .nav-toggle {
      display: flex;
    }
  }
  
  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: radial-gradient(ellipse at 50% 0%, #1E2D4A 0%, var(--navy) 70%);
  }
  
  .hero-inner {
    max-width: 800px;
  }
  
  .hero-logo-img {
    max-width: min(420px, 80vw);
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
  }
  
  .hero-tag {
    font-size: .72rem;
    color: var(--gold);
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 600;
  }
  
  h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--white);
  }
  
  h1 span {
    color: var(--gold);
  }
  
  .hero-sub {
    font-size: 1.05rem;
    color: var(--slate-xl);
    max-width: 580px;
    margin: 0 auto 1rem;
    line-height: 1.75;
  }
  
  .hero-principle {
    font-size: .9rem;
    color: var(--gold-lt);
    font-style: italic;
    margin-bottom: 2.5rem;
  }
  
  .hero-cta {
    display: inline-block;
    padding: .8rem 2.2rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: all .2s;
    letter-spacing: .04em;
  }
  
  .hero-cta:hover {
    background: var(--gold);
    color: var(--navy);
  }



  /* ==========================================================================
   Hero H1 Headline Override & Fix
   ========================================================================== */

   .hero h1,
   .hero .hero-inner h1,
   section.hero h1,
   main .hero h1 {
       font-family: Georgia, serif !important;
       /* Scalable fluid sizing: 40px to 68px+ */
       font-size: clamp(2.2rem, 5vw, 3.8rem) !important; 
       font-weight: 700 !important;
       line-height: 1.15 !important;
       color: var(--white) !important;
       margin-top: 0.5rem !important;
       margin-bottom: 1.5rem !important;
       /* letter-spacing: -0.03em !important; */
       text-align: center !important;
   }
   
   /* Styled accent word inside hero heading */
   .hero h1 span,
   .hero .hero-inner h1 span,
   section.hero h1 span {
       color: var(--gold) !important;
       /* font-style: italic !important; */
       /* display: inline-block; */
   }
   
   /* Ensure parent container doesn't restrict the heading width */
    .hero-inner { 
    /* Expanded width to accommodate larger hero text comfortably */
        max-width: 900px !important; 
       width: 100%;
       margin: 0 auto;
   } 

  
  /* WHY NOW */
  .why-now {
    padding: 4.5rem 1.5rem;
    background: var(--navy);
  }
  
  .why-now-flow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .75rem;
    color: var(--slate-lt);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }
  
  .why-now-sep {
    color: var(--gold);
  }
  
  .why-now-lead {
    font-size: .85rem;
    color: var(--slate-lt);
    margin-bottom: .4rem;
  }
  
  .why-now-question {
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    color: var(--gold);
    margin-bottom: 1rem;
  }
  
  /* WHY FACE & FINGER NOW */
  .why-ff-now {
    padding: 3.5rem 1.5rem 4.5rem;
    background: var(--navy);
    text-align: center;
    border-top: 1px solid var(--border);
  }
  
  .why-ff-lead {
    font-size: 1rem;
    color: var(--slate-lt);
    line-height: 1.7;
    margin-bottom: 1.6rem;
  }
  
  .why-ff-gaps {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .92rem;
    color: var(--slate-xl);
    margin-bottom: 1.2rem;
  }
  
  .why-ff-gap-highlight {
    color: var(--gold-lt);
    margin-top: .4rem;
  }
  
  .why-ff-fill {
    font-family: Georgia, serif;
    font-size: 1.3rem;
    color: var(--white);
  }
  
  /* COMPARISON TABLE */
  .compare-section {
    padding: 5rem 1.5rem;
    background: var(--navy-mid);
  }
  
  .compare-table {
    width: 100%;
    max-width: 640px;
    border-collapse: collapse;
    margin-top: 2rem;
  }
  
  .compare-table th {
    text-align: left;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--slate);
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--border);
  }
  
  .compare-table td {
    padding: .85rem 1rem;
    font-size: .92rem;
    color: var(--slate-xl);
    border-bottom: 1px solid var(--border);
  }
  
  .compare-row-ff td {
    color: var(--gold-lt);
    font-weight: 700;
    border-bottom: none;
  }
  
  /* TRUST SIGNALS BAR */
  .trust-bar {
    background: var(--navy-mid);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--border);
    padding: .9rem 1.5rem;
  }
  
  .trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .trust-label {
    font-size: .65rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    flex-shrink: 0;
  }
  
  .trust-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
    flex-shrink: 0;
  }
  
  .trust-items {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .trust-item {
    font-size: .72rem;
    color: var(--slate-lt);
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    white-space: nowrap;
  }
  
  /* DEMO PREVIEW */
  .demo-preview {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .demo-embed-wrap {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }
  
  .demo-embed {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
    background: var(--navy);
  }
  
  @media(max-width:680px) {
    .demo-embed {
      height: 520px;
    }
  }
  
  .demo-preview-title {
    font-size: .62rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .demo-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    flex-wrap: wrap;
  }
  
  .flow-node {
    font-size: .72rem;
    padding: 5px 12px;
    border-radius: 5px;
    border: 1px solid var(--border);
    color: var(--slate-lt);
    background: var(--navy-card);
  }
  
  .flow-node.highlight {
    border-color: var(--gold);
    color: var(--gold);
    background: #1a1500;
  }
  
  .flow-arrow {
    color: var(--border);
    font-size: .75rem;
  }
  
  .demo-note {
    text-align: center;
    font-size: .68rem;
    color: var(--slate);
    margin-top: .8rem;
    font-style: italic;
  }
  
  /* SECTIONS */
  section {
    padding: 6rem 1.5rem;
  }
  
  .section-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .section-tag {
    font-size: .65rem;
    color: var(--gold);
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .6rem;
  }
  
  h2 {
    font-family: Georgia, serif !important;
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    line-height: 1.25 !important;
  }
  
  .section-sub {
    font-size: 1rem;
    color: var(--slate-lt);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
  }
  
  /* VISION */
  .vision {
    background: var(--off-white);
    color: var(--navy);
  }
  
  .vision h2 {
    color: var(--navy);
  }
  
  .vision .section-sub {
    color: var(--slate);
  }
  
  .chain-visual {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
  }
  
  .chain-el {
    font-size: .82rem;
    padding: 7px 18px;
    border-radius: 6px;
    border: 1px solid var(--divider);
    background: var(--white);
    color: var(--slate);
    font-weight: 500;
  }
  
  .chain-el.anchor {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--gold);
  }
  
  .chain-sep {
    color: var(--divider);
    font-size: 1rem;
  }
  
  .key-statement {
    background: var(--navy);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--gold);
  }
  
  .key-statement p {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.7;
    font-style: italic;
  }
  
  .key-statement cite {
    font-size: .75rem;
    color: var(--gold-lt);
    display: block;
    margin-top: .6rem;
    font-style: normal;
  }
  
  /* PRINCIPLES */
  .principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .principle-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem;
  }
  
  .principle-num {
    font-size: .65rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: .5rem;
  }
  
  .principle-title {
    font-family: Georgia, serif;
    font-size: .95rem;
    color: var(--white);
    margin-bottom: .4rem;
    font-weight: 700;
  }
  
  .principle-body {
    font-size: .78rem;
    color: var(--slate-xl);
    line-height: 1.6;
  }
  
  /* SCOPE */
  .scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  @media(max-width:600px) {
    .scope-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .scope-card {
    border-radius: 8px;
    padding: 1.3rem;
  }
  
  .scope-in {
    background: var(--navy-card);
    border: 1px solid var(--border);
  }
  
  .scope-out {
    background: #0f1a2e;
    border: 1px dashed var(--border);
  }
  
  .scope-card-title {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .75rem;
  }
  
  .scope-in .scope-card-title {
    color: var(--emerald);
  }
  
  .scope-out .scope-card-title {
    color: var(--slate);
  }
  
  .scope-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .scope-list li {
    font-size: .8rem;
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
  }
  
  .scope-in .scope-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: .75rem;
  }
  
  .scope-out .scope-list li {
    color: var(--slate);
    text-decoration: line-through;
    text-decoration-color: var(--border);
  }
  
  .scope-out .scope-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--border);
    font-size: .75rem;
    text-decoration: none;
  }
  
  /* DOMAINS */
  .domains {
    background: var(--navy-mid);
  }
  
  .domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
    margin-top: 2rem;
  }
  
  .domain-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    border-top: 3px solid var(--gold);
  }
  
  .domain-title {
    font-size: .85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: .4rem;
  }
  
  .domain-body {
    font-size: .72rem;
    color: var(--slate-xl);
    line-height: 1.55;
  }
  
  /* DEMONSTRATOR SECTION */
  .demo-section {
    background: var(--navy);
  }
  
  .demo-cta-wrap {
    text-align: center;
    margin-top: 2rem;
  }
  
  .demo-btn {
    display: inline-block;
    padding: .9rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: all .2s;
  }
  
  .demo-btn:hover {
    background: var(--gold);
    color: var(--navy);
  }
  
  .demo-disclaimer {
    font-size: .68rem;
    color: var(--slate);
    margin-top: .75rem;
  }
  
  /* CONTACT */
  .contact-section {
    background: var(--off-white);
    color: var(--navy);
  }
  
  .contact-section h2 {
    color: var(--navy);
  }
  
  .contact-section .section-sub {
    color: var(--slate);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .contact-card {
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 1.3rem;
    border-top: 3px solid var(--navy);
  }
  
  .contact-card-title {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--slate);
    margin-bottom: .5rem;
  }
  
  .contact-card-desc {
    font-size: .8rem;
    color: var(--slate);
    margin-bottom: .75rem;
    line-height: 1.55;
  }
  
  .contact-card a {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--navy);
  }
  
  .nda-notice {
    margin-top: 1.5rem;
    padding: 1rem 1.3rem;
    background: var(--navy);
    border-radius: 8px;
    font-size: .75rem;
    color: var(--slate-xl);
    border-left: 3px solid var(--gold);
  }
  
  .nda-notice strong {
    color: var(--gold);
  }
  
  .audience-block {
    margin: 2rem 0;
  }
  
  .audience-title {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: .9rem;
  }
  
  .audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }
  
  .audience-list span {
    font-size: .78rem;
    color: var(--navy);
    background: var(--navy-bg-tint, #EFEAE0);
    border: 1px solid rgba(11, 18, 32, .15);
    border-radius: 20px;
    padding: .35rem .9rem;
  }
  
  .closing-statement {
    padding: 4rem 1.5rem;
    background: var(--navy);
    border-top: 1px solid var(--border);
  }
  
  .closing-statement p {
    font-size: .95rem;
    color: var(--slate-lt);
    margin-bottom: .3rem;
  }
  
  .closing-statement-strong {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    color: var(--gold-lt) !important;
  }
  
  /* FOOTER */
  footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem 1.5rem;
  }
  
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-top-2col {
    grid-template-columns: 1fr 1fr;
  }
  
  @media(max-width:600px) {
    .footer-top {
      grid-template-columns: 1fr;
    }
  }
  
  .footer-brand-name {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .4rem;
  }
  
  .footer-brand-name span {
    color: var(--gold);
  }
  
  .footer-tagline {
    font-size: .75rem;
    color: var(--slate);
    line-height: 1.6;
  }
  
  .footer-col-title {
    font-size: .65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .6rem;
    font-weight: 600;
  }
  
  .footer-col-body {
    font-size: .75rem;
    color: var(--slate);
    line-height: 1.8;
  }
  
  .footer-col-body a {
    color: var(--slate-lt);
    text-decoration: none;
  }
  
  .footer-col-body a:hover {
    color: var(--gold);
  }
  
  .footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
  }
  
  .footer-copyright {
    font-size: .68rem;
    color: var(--border);
  }
  
  .footer-disclaimer {
    font-size: .63rem;
    color: var(--border);
    max-width: 500px;
    text-align: right;
  }
  
  @media(max-width:600px) {
    .footer-disclaimer {
      text-align: left;
    }
  }