/*
Theme Name: Foundec Platforms
Description: Editable Foundec website for WPBakery Page Builder.
Version: 2.0.3
Author: Foundec Platforms
Text Domain: foundec-platforms
Requires at least: 6.0
Requires PHP: 7.4
*/

    :root {
      --navy-950: #07131d;
      --navy-900: #0a1722;
      --navy-800: #102534;
      --navy-700: #1a3648;
      --steel-500: #607385;
      --steel-400: #7f91a1;
      --steel-300: #aab7c2;
      --steel-200: #d3dce3;
      --steel-100: #e9eef2;
      --cloud: #f6f8fa;
      --white: #ffffff;
      --amber: #ffb547;
      --amber-strong: #f59b24;
      --blue: #5a94ff;
      --green: #5fc79f;
      --shadow: 0 30px 80px rgba(3, 16, 26, .18);
      --radius-sm: 12px;
      --radius-md: 20px;
      --radius-lg: 30px;
      --max: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--navy-900);
      background: var(--white);
      font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    body.menu-open { overflow: hidden; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    img { display: block; max-width: 100%; }
    ::selection { color: var(--navy-950); background: var(--amber); }

    .skip-link {
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 1000;
      padding: 10px 14px;
      color: var(--navy-950);
      background: var(--amber);
      border-radius: 8px;
      transform: translateY(-150%);
    }
    .skip-link:focus { transform: translateY(0); }

    .container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 20px;
      color: var(--steel-500);
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .14em;
      line-height: 1.2;
      text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber-strong); }
    .section-number { color: var(--amber-strong); }
    .display {
      margin: 0;
      font-size: clamp(2.7rem, 6.5vw, 6.4rem);
      font-weight: 690;
      letter-spacing: -.058em;
      line-height: .94;
      text-wrap: balance;
    }
    .section-title {
      margin: 0;
      font-size: clamp(2.35rem, 4.6vw, 4.8rem);
      font-weight: 675;
      letter-spacing: -.052em;
      line-height: 1;
      text-wrap: balance;
    }
    .section-copy {
      max-width: 680px;
      margin: 24px 0 0;
      color: var(--steel-500);
      font-size: clamp(1.05rem, 1.55vw, 1.3rem);
      line-height: 1.62;
    }
    .serif-note {
      color: var(--amber);
      font-family: Georgia, "Times New Roman", serif;
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.035em;
    }

    .btn {
      display: inline-flex;
      min-height: 52px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 22px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-size: .95rem;
      font-weight: 700;
      letter-spacing: -.01em;
      transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn:focus-visible, .nav-link:focus-visible, .stage-button:focus-visible, .menu-toggle:focus-visible {
      outline: 3px solid rgba(255, 181, 71, .55);
      outline-offset: 4px;
    }
    .btn-primary { color: var(--navy-950); background: var(--amber); }
    .btn-primary:hover { background: #ffc569; }
    .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); }
    .btn-ghost:hover { border-color: rgba(255, 255, 255, .56); background: rgba(255, 255, 255, .08); }
    .arrow { font-size: 1.1rem; transition: transform .25s ease; }
    .btn:hover .arrow { transform: translateX(4px); }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 100;
      border-bottom: 1px solid transparent;
      transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
    }
    .site-header.scrolled {
      color: var(--navy-900);
      background: rgba(255, 255, 255, .92);
      border-color: rgba(10, 23, 34, .08);
      box-shadow: 0 8px 32px rgba(4, 18, 29, .07);
      backdrop-filter: blur(16px);
    }
    .nav-shell { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
    .site-header.scrolled .brand { color: var(--navy-900); }
    .brand-mark {
      position: relative;
      width: 38px;
      height: 38px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 11px;
      background: rgba(255, 255, 255, .06);
    }
    .site-header.scrolled .brand-mark { border-color: rgba(10, 23, 34, .1); background: var(--navy-900); }
    .brand-mark span { position: absolute; left: 10px; height: 5px; background: var(--amber); }
    .brand-mark span:nth-child(1) { top: 9px; width: 19px; }
    .brand-mark span:nth-child(2) { top: 16px; width: 14px; }
    .brand-mark span:nth-child(3) { top: 23px; width: 6px; height: 7px; }
    .brand-name { font-size: 1.4rem; font-weight: 710; letter-spacing: -.04em; line-height: 1; }
    .brand-name small { display: block; margin-top: 4px; color: var(--steel-300); font-size: .55rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
    .site-header.scrolled .brand-name small { color: var(--steel-500); }

    .nav { display: flex; align-items: center; gap: 8px; }
    .nav-link {
      padding: 10px 14px;
      color: rgba(255, 255, 255, .73);
      border-radius: 999px;
      font-size: .9rem;
      font-weight: 650;
      transition: color .2s ease, background .2s ease;
    }
    .nav-link:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
    .site-header.scrolled .nav-link { color: var(--steel-500); }
    .site-header.scrolled .nav-link:hover { color: var(--navy-900); background: var(--steel-100); }
    .nav-cta { margin-left: 8px; min-height: 44px; padding-inline: 18px; }
    .menu-toggle {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 999px;
      color: var(--white);
      background: rgba(255, 255, 255, .06);
      cursor: pointer;
    }
    .site-header.scrolled .menu-toggle { color: var(--navy-900); border-color: var(--steel-200); background: var(--white); }
    .menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
    .menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
    .menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

    .hero {
      position: relative;
      min-height: 860px;
      display: grid;
      align-items: center;
      overflow: hidden;
      color: var(--white);
      background:
        radial-gradient(circle at 22% 22%, rgba(49, 92, 122, .32), transparent 36%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, #0b1d2a 100%);
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: .08;
      background-image:
        linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(to right, black, transparent 68%);
    }
    .hero-line {
      position: absolute;
      top: 0;
      bottom: 0;
      left: max(24px, calc((100vw - var(--max)) / 2 - 34px));
      width: 1px;
      background: linear-gradient(transparent 8%, rgba(255,181,71,.7) 26%, rgba(255,181,71,.08) 82%, transparent);
    }
    .hero-line::after {
      content: "00° 00' 00\"";
      position: absolute;
      top: 50%;
      left: -5px;
      color: rgba(255,255,255,.28);
      font-family: ui-monospace, monospace;
      font-size: .64rem;
      letter-spacing: .1em;
      white-space: nowrap;
      transform: rotate(-90deg) translateX(-50%);
      transform-origin: left top;
    }
    .hero-inner { position: relative; z-index: 2; padding: 142px 0 78px; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: clamp(44px, 6vw, 88px); }
    .hero-copy { position: relative; z-index: 2; max-width: 680px; }
    .hero .eyebrow { color: var(--steel-300); }
    .hero .display { max-width: 760px; }
    .hero .display .serif-note { white-space: nowrap; }
    .hero-lede {
      max-width: 620px;
      margin: 28px 0 0;
      color: var(--steel-300);
      font-size: clamp(1.08rem, 1.55vw, 1.28rem);
      line-height: 1.65;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
    .hero-proof { display: flex; flex-wrap: wrap; gap: 20px 30px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
    .proof-item { display: grid; grid-template-columns: 8px auto; align-items: center; gap: 10px; color: var(--steel-300); font-size: .82rem; font-weight: 650; letter-spacing: .015em; }
    .proof-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,181,71,.12); }

    .hero-visual { position: relative; min-height: 580px; }
    .hero-photo {
      position: absolute;
      inset: 0;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 4px;
      box-shadow: var(--shadow);
      clip-path: polygon(7% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 7%);
    }
    .hero-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(7,19,29,.22), transparent 45%), linear-gradient(0deg, rgba(7,19,29,.7), transparent 44%); }
    .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
    .visual-index {
      position: absolute;
      z-index: 3;
      top: 26px;
      right: -18px;
      padding: 9px 13px;
      color: var(--navy-950);
      background: var(--amber);
      font-family: ui-monospace, monospace;
      font-size: .66rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
    .product-plate {
      position: absolute;
      z-index: 3;
      right: 22px;
      bottom: 22px;
      left: 22px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 22px;
      padding: 20px 22px;
      border: 1px solid rgba(255,255,255,.2);
      background: rgba(7,19,29,.72);
      backdrop-filter: blur(16px);
    }
    .plate-label { color: var(--steel-300); font-family: ui-monospace, monospace; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }
    .plate-name { display: block; margin-top: 4px; font-size: 1.35rem; font-weight: 720; letter-spacing: -.035em; }
    .plate-status { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: .75rem; font-weight: 700; white-space: nowrap; }
    .plate-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(95,199,159,.12); }

    .company { padding: 132px 0 118px; background: var(--white); }
    .company-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 150px); }
    .company-index { padding-top: 8px; }
    .company-index p { max-width: 250px; margin: 22px 0 0; color: var(--steel-500); font-size: .93rem; }
    .manifesto { max-width: 840px; }
    .manifesto h2 { margin: 0; font-size: clamp(2.55rem, 5vw, 5.15rem); font-weight: 660; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
    .manifesto h2 strong { color: var(--amber-strong); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
    .manifesto > p { max-width: 710px; margin: 32px 0 0; color: var(--steel-500); font-size: clamp(1.06rem, 1.55vw, 1.26rem); }
    .principle-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
    .principle-mini { padding-top: 18px; border-top: 2px solid var(--steel-100); }
    .principle-mini span { color: var(--amber-strong); font-family: ui-monospace, monospace; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
    .principle-mini h3 { margin: 9px 0 0; font-size: 1.02rem; letter-spacing: -.02em; }
    .principle-mini p { margin: 8px 0 0; color: var(--steel-500); font-size: .9rem; line-height: 1.55; }

    .product-section { position: relative; padding: 126px 0 136px; overflow: hidden; color: var(--white); background: var(--navy-950); }
    .product-section::after { content: ""; position: absolute; right: -220px; top: -240px; width: 680px; height: 680px; border: 1px solid rgba(90,148,255,.16); border-radius: 50%; box-shadow: 0 0 0 92px rgba(90,148,255,.025), 0 0 0 184px rgba(90,148,255,.018); }
    .product-section .container { position: relative; z-index: 2; }
    .product-section .eyebrow { color: var(--steel-300); }
    .product-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: end; }
    .product-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
    .prime-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--navy-950); background: var(--amber); font-size: 1.3rem; font-weight: 800; letter-spacing: -.08em; }
    .prime-wordmark { font-size: 1.3rem; font-weight: 730; letter-spacing: -.035em; }
    .prime-wordmark small { display: block; color: var(--steel-400); font-size: .66rem; font-weight: 750; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
    .product-intro .section-copy { color: var(--steel-300); }
    .product-promise { max-width: 430px; padding: 28px 30px; border-left: 3px solid var(--amber); color: var(--steel-300); background: rgba(255,255,255,.035); }
    .product-promise strong { display: block; margin-bottom: 8px; color: var(--white); font-size: 1.08rem; }

    .product-demo {
      margin-top: 76px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: var(--radius-md);
      background: #f4f7fa;
      box-shadow: 0 44px 100px rgba(0,0,0,.38);
    }
    .demo-chrome { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; color: var(--steel-500); background: var(--white); border-bottom: 1px solid #e2e8ed; }
    .chrome-dots { display: flex; gap: 6px; }
    .chrome-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8e0e6; }
    .demo-address { padding: 6px 16px; border-radius: 999px; color: #6a7d8e; background: #f1f4f6; font-family: ui-monospace, monospace; font-size: .68rem; letter-spacing: .02em; }
    .chrome-label { font-size: .72rem; font-weight: 700; }
    .demo-app { display: grid; grid-template-columns: 190px 1fr; min-height: 560px; color: var(--navy-900); }
    .demo-sidebar { padding: 26px 18px; color: var(--white); background: #0d2030; }
    .demo-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 26px; font-size: .9rem; font-weight: 730; letter-spacing: -.025em; }
    .demo-brand b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: var(--navy-950); background: var(--amber); font-size: .75rem; }
    .demo-nav { display: grid; gap: 6px; }
    .demo-nav span { padding: 9px 10px; border-radius: 8px; color: #8fa2b1; font-size: .75rem; font-weight: 650; }
    .demo-nav .active { color: var(--white); background: rgba(255,255,255,.08); }
    .demo-nav .active::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 2px; background: var(--amber); vertical-align: 1px; }
    .demo-main { min-width: 0; padding: 26px 30px 32px; }
    .demo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
    .demo-kicker { margin: 0; color: #8698a7; font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
    .demo-title { margin: 3px 0 0; font-size: 1.4rem; font-weight: 740; letter-spacing: -.04em; }
    .demo-health { padding: 7px 10px; border: 1px solid #cbe7dd; border-radius: 999px; color: #28735a; background: #effaf6; font-size: .68rem; font-weight: 750; white-space: nowrap; }
    .stage-nav { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 24px; padding: 7px; border: 1px solid #dfe6eb; border-radius: 12px; background: #edf2f5; }
    .stage-button { min-width: 0; padding: 9px 5px; border: 0; border-radius: 8px; color: #788b9b; background: transparent; font-size: .66rem; font-weight: 750; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
    .stage-button:hover { color: var(--navy-900); }
    .stage-button.active { color: var(--navy-900); background: var(--white); box-shadow: 0 4px 12px rgba(9,30,45,.08); }
    .demo-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 18px; }
    .demo-card { border: 1px solid #dfe6eb; border-radius: 13px; background: var(--white); box-shadow: 0 8px 24px rgba(8,28,42,.045); }
    .next-card { position: relative; min-height: 226px; padding: 24px; overflow: hidden; }
    .next-card::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 5px; background: var(--amber); }
    .card-label { margin: 0; color: #8193a2; font-family: ui-monospace, monospace; font-size: .63rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
    .next-title { max-width: 360px; margin: 12px 0 7px; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 735; letter-spacing: -.045em; line-height: 1.08; }
    .next-meta { margin: 0; color: #6e8191; font-size: .77rem; }
    .next-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 9px 13px; border-radius: 8px; color: var(--navy-950); background: var(--amber); font-size: .7rem; font-weight: 800; }
    .side-card { padding: 20px; }
    .progress-wrap { display: flex; align-items: center; gap: 14px; margin-top: 15px; }
    .progress-ring { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) 0 74%, #e7edf1 74% 100%); }
    .progress-ring::before { content: ""; grid-area: 1 / 1; width: 43px; height: 43px; border-radius: 50%; background: var(--white); }
    .progress-ring span { z-index: 1; font-size: .71rem; font-weight: 800; }
    .progress-copy strong { display: block; font-size: .86rem; }
    .progress-copy span { color: #7d8f9f; font-size: .7rem; }
    .activity-card { grid-column: 1 / -1; padding: 18px 22px; }
    .activity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 13px; }
    .activity { padding: 12px; border-radius: 9px; background: #f5f7f9; }
    .activity span { display: block; color: #8293a1; font-size: .62rem; font-weight: 700; }
    .activity strong { display: block; margin-top: 3px; font-size: .74rem; }
    .demo-footnote { margin: 16px 0 0; color: var(--steel-400); font-size: .75rem; text-align: center; }

    .workflow { padding: 132px 0; background: var(--cloud); }
    .workflow-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; }
    .workflow-head .section-copy { margin: 0; }
    .workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border: 1px solid var(--steel-200); border-radius: var(--radius-md); background: var(--white); box-shadow: 0 24px 70px rgba(10,31,46,.07); }
    .workflow-card { position: relative; min-height: 400px; padding: 34px; }
    .workflow-card + .workflow-card { border-left: 1px solid var(--steel-200); }
    .workflow-card::before { content: attr(data-step); position: absolute; top: 30px; right: 28px; color: #dfe6eb; font-family: Georgia, serif; font-size: 3.6rem; font-style: italic; line-height: 1; }
    .workflow-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; color: var(--navy-900); background: #fff2dd; font-size: 1.15rem; font-weight: 800; }
    .workflow-card h3 { margin: 28px 0 10px; font-size: 1.38rem; letter-spacing: -.035em; }
    .workflow-card > p { margin: 0; color: var(--steel-500); font-size: .94rem; }
    .workflow-list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
    .workflow-list li { position: relative; padding-left: 18px; color: #394f60; font-size: .86rem; font-weight: 620; }
    .workflow-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 7px; height: 2px; background: var(--amber-strong); }

    .pricing-belief { padding: 132px 0; color: var(--white); background: var(--navy-800); }
    .belief-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
    .belief-shell .eyebrow { color: var(--steel-300); }
    .belief-quote { margin: 0; font-size: clamp(2.6rem, 5.5vw, 5.6rem); font-weight: 650; letter-spacing: -.055em; line-height: 1; text-wrap: balance; }
    .belief-quote strong { color: var(--amber); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
    .belief-copy { max-width: 680px; margin: 38px 0 0; color: var(--steel-300); font-size: 1.1rem; }
    .belief-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--white); font-size: .82rem; font-weight: 700; }
    .belief-pill span { color: var(--amber); font-family: ui-monospace, monospace; }

    .principles { padding: 132px 0; background: var(--white); }
    .principles-head { max-width: 860px; }
    .principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 80px; margin-top: 72px; border-top: 1px solid var(--steel-200); }
    .principle-row { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--steel-200); }
    .principle-row:nth-child(odd) { padding-right: 10px; }
    .principle-num { color: var(--amber-strong); font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
    .principle-row h3 { margin: 0; font-size: 1.16rem; letter-spacing: -.025em; }
    .principle-row p { margin: 8px 0 0; color: var(--steel-500); font-size: .92rem; }

    .portfolio { padding: 0 0 132px; background: var(--white); }
    .portfolio-shell { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 76px); border-radius: var(--radius-lg); color: var(--white); background: var(--navy-950); }
    .portfolio-shell::after { content: "F"; position: absolute; right: -30px; bottom: -165px; color: rgba(255,255,255,.035); font-size: 35rem; font-weight: 800; line-height: 1; letter-spacing: -.18em; }
    .portfolio-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: end; }
    .portfolio .eyebrow { color: var(--steel-300); }
    .portfolio .section-copy { color: var(--steel-300); }
    .portfolio-card { padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); background: rgba(255,255,255,.05); backdrop-filter: blur(12px); }
    .portfolio-card-top { display: flex; justify-content: space-between; gap: 16px; }
    .portfolio-card .prime-mark { width: 42px; height: 42px; border-radius: 12px; font-size: 1rem; }
    .status-label { align-self: flex-start; padding: 7px 10px; border: 1px solid rgba(95,199,159,.24); border-radius: 999px; color: #8fe0c2; background: rgba(95,199,159,.08); font-size: .67rem; font-weight: 750; }
    .portfolio-card h3 { margin: 36px 0 6px; font-size: 1.85rem; letter-spacing: -.045em; }
    .portfolio-card p { margin: 0; color: var(--steel-300); font-size: .9rem; }
    .portfolio-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); }
    .portfolio-meta span { color: var(--steel-400); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .portfolio-meta strong { display: block; margin-top: 4px; color: var(--white); font-size: .82rem; letter-spacing: 0; text-transform: none; }

    .closing { padding: 132px 0; text-align: center; background: var(--cloud); }
    .closing .eyebrow { justify-content: center; }
    .closing .section-title { max-width: 930px; margin-inline: auto; }
    .closing .section-copy { max-width: 650px; margin-inline: auto; }
    .closing .btn { margin-top: 34px; }

    .site-footer { padding: 52px 0 34px; color: var(--steel-300); background: var(--navy-950); }
    .footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
    .site-footer .brand { color: var(--white); }
    .footer-note { max-width: 390px; margin: 18px 0 0; color: var(--steel-400); font-size: .86rem; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
    .footer-links a { padding: 8px 12px; border-radius: 999px; color: var(--steel-300); font-size: .8rem; font-weight: 650; }
    .footer-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
    .footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: var(--steel-500); font-size: .72rem; }

    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
    .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 1050px) {
      .hero { min-height: auto; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-copy { max-width: 800px; }
      .hero-visual { min-height: 530px; }
      .product-intro, .workflow-head { grid-template-columns: 1fr; gap: 34px; }
      .product-promise { max-width: none; }
      .company-grid, .belief-shell { grid-template-columns: .55fr 1.45fr; gap: 60px; }
      .portfolio-grid { grid-template-columns: 1.15fr .85fr; gap: 50px; }
    }

    @media (max-width: 780px) {
      .container { width: min(calc(100% - 32px), var(--max)); }
      .site-header { background: rgba(7,19,29,.78); backdrop-filter: blur(14px); }
      .nav-shell { height: 72px; }
      .menu-toggle { display: block; }
      .nav {
        position: fixed;
        inset: 72px 0 auto;
        display: grid;
        gap: 4px;
        padding: 18px 16px 26px;
        background: rgba(7,19,29,.98);
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 24px 50px rgba(0,0,0,.3);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
      }
      .menu-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
      .nav-link { padding: 14px; color: var(--steel-300) !important; }
      .nav-link:hover { color: var(--white) !important; background: rgba(255,255,255,.07) !important; }
      .nav-cta { margin: 8px 0 0; }
      .site-header.scrolled .nav { background: rgba(255,255,255,.98); border-top-color: var(--steel-200); }
      .site-header.scrolled .nav-link { color: var(--steel-500) !important; }
      .site-header.scrolled .nav-link:hover { color: var(--navy-900) !important; background: var(--steel-100) !important; }
      .hero-inner { padding: 122px 0 64px; }
      .hero-grid { gap: 48px; }
      .hero-visual { min-height: 450px; }
      .visual-index { right: 0; }
      .hero-proof { gap: 14px 20px; }
      .company, .product-section, .workflow, .pricing-belief, .principles, .closing { padding-block: 94px; }
      .company-grid, .belief-shell, .portfolio-grid { grid-template-columns: 1fr; gap: 40px; }
      .company-index p { max-width: 480px; }
      .principle-strip, .workflow-grid { grid-template-columns: 1fr; }
      .principle-mini { padding-bottom: 10px; }
      .workflow-card { min-height: auto; }
      .workflow-card + .workflow-card { border-left: 0; border-top: 1px solid var(--steel-200); }
      .demo-app { grid-template-columns: 1fr; }
      .demo-sidebar { display: none; }
      .demo-main { padding: 22px; }
      .demo-grid { grid-template-columns: 1fr; }
      .activity-list { grid-template-columns: 1fr; }
      .portfolio { padding-bottom: 94px; }
      .principles-grid { grid-template-columns: 1fr; gap: 0; }
      .principle-row:nth-child(odd) { padding-right: 0; }
      .footer-main { flex-direction: column; }
    }

    @media (max-width: 520px) {
      .display { font-size: clamp(2.7rem, 14vw, 4rem); }
      .section-title { font-size: clamp(2.2rem, 11vw, 3.25rem); }
      .hero-line { display: none; }
      .hero-actions .btn { width: 100%; }
      .hero-visual { min-height: 390px; }
      .hero-photo { clip-path: polygon(9% 0,100% 0,100% 91%,91% 100%,0 100%,0 9%); }
      .product-plate { right: 12px; bottom: 12px; left: 12px; padding: 16px; }
      .plate-status { display: none; }
      .principle-strip { margin-top: 48px; }
      .demo-chrome { padding-inline: 12px; }
      .demo-address { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .chrome-label { display: none; }
      .demo-main { padding: 18px 14px 22px; }
      .stage-nav { grid-template-columns: repeat(3, 1fr); }
      .next-card { min-height: 250px; padding: 20px; }
      .portfolio-shell { border-radius: var(--radius-md); }
      .portfolio-card { padding: 22px; }
      .footer-bottom { flex-direction: column; gap: 6px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }
  
/* WPBakery layout integration */
.vc_section{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}.vc_row.container{margin-left:auto!important;margin-right:auto!important}.vc_row:before,.vc_row:after{display:none!important}.foundec-grid{display:grid!important}.foundec-grid>.vc_column_container{width:auto!important;float:none!important;min-width:0}.foundec-grid>.vc_column_container>.vc_column-inner{padding:0!important}.wpb_content_element,.wpb_button{margin-bottom:0}.vc_column-inner{padding-top:0!important}.hero-actions{display:flex;gap:12px}.foundec-button{display:inline-block;margin:12px 12px 20px 0}.foundec-button .vc_btn3{font-weight:700!important;border:0!important;padding:17px 24px!important}.foundec-ghost .vc_btn3{border:1px solid #ffffff50!important}.hero-visual>.vc_column-inner>.wpb_wrapper{position:relative}.hero-photo img{width:100%;height:auto}.hero-photo .vc_single_image-wrapper,.hero-photo figure{display:block;width:100%}.hero-photo{overflow:hidden}.principles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-grid .workflow-card{padding:32px}.foundec-brand-principle{padding-top:45px}.reveal{opacity:1;transform:none}.admin-bar .site-header{top:32px}.foundec-grid .vc_column_container>.vc_column-inner>.wpb_wrapper:empty{display:none}@media(max-width:780px){.principles-grid{grid-template-columns:1fr}.admin-bar .site-header{top:46px}.vc_row.container{width:calc(100% - 36px)}.foundec-grid{grid-template-columns:1fr!important;gap:35px}.hero-inner{padding-top:125px!important}}

/* 2.0.1: ignore formatting breaks between builder elements. */
body .vc_row.foundec-grid > br,
body .vc_section > br,
body .wpb-content-wrapper > br,
body .vc_column-inner > .wpb_wrapper > br { display:none!important; }
body .vc_row.foundec-grid > p:empty,
body .vc_section > p:empty { display:none!important; }
body .vc_row.hero-inner { padding:142px 0 78px!important; }
body .wpb_text_column.wpb_content_element { margin-bottom:0!important; }
body .hero-visual > .vc_column-inner > .wpb_wrapper { min-height:580px; }
body .hero-photo img { height:100%;object-fit:cover; }
body .hero-photo figure,body .hero-photo .vc_single_image-wrapper { height:100%; }
@media(max-width:1050px){body .hero-visual > .vc_column-inner > .wpb_wrapper{min-height:530px}}
@media(max-width:780px){body .vc_row.hero-inner{padding:122px 0 64px!important}body .hero-visual > .vc_column-inner > .wpb_wrapper{min-height:450px}}
@media(max-width:520px){body .hero-visual > .vc_column-inner > .wpb_wrapper{min-height:390px}}

/* 2.0.3: WordPress paragraph repair must not occupy the number/text grid. */
body .principles-grid .principle-row { display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:20px;align-items:start;width:100%; }
body .principles-grid .principle-row > .principle-num { grid-column:1;grid-row:1; }
body .principles-grid .principle-row > div { grid-column:2;grid-row:1;min-width:0;width:100%; }
body .principles-grid .principle-row > p,
body .principles-grid .principle-row > br { display:none!important; }
body .principles-grid .principle-row h3,
body .principles-grid .principle-row p { width:auto;max-width:none;word-break:normal;overflow-wrap:normal; }
body .principles-grid > .vc_column_container > .vc_column-inner,
body .principles-grid > .vc_column_container > .vc_column-inner > .wpb_wrapper,
body .principles-grid .wpb_text_column,
body .principles-grid .wpb_text_column > .wpb_wrapper { width:100%;min-width:0; }
@media(max-width:520px){body .principles-grid .principle-row{grid-template-columns:28px minmax(0,1fr);column-gap:14px}}
