/*
Theme Name: ForgeFive
Theme URI: https://forgefive.co.uk
Author: ForgeFive
Description: A precision-led dark WordPress agency theme with an animated five-pillar homepage.
Version: 1.31.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: forgefive
*/

:root {
  --ff-bg: #09090b;
  --ff-surface: #111114;
  --ff-surface-2: #18181b;
  --ff-line: rgba(255,255,255,.11);
  --ff-text: #fafafa;
  --ff-muted: #a1a1aa;
  --ff-accent: #4f8cff;
  --ff-accent-soft: rgba(79,140,255,.18);
  --ff-max: 1240px;
  --ff-radius: 22px;
  --ff-shadow: 0 24px 80px rgba(0,0,0,.32);
}

/* v1.21 — focused local WordPress website design service page. */
.ff-local-design-hero h1 span{color:#8fb4ff}
.ff-local-design-intro{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.ff-local-design-intro p{margin:0}
.ff-local-design-heading{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.35fr);gap:clamp(28px,7vw,100px);align-items:start;margin-bottom:clamp(34px,6vw,72px)}
.ff-local-design-heading h2{margin:0;font-size:clamp(2.4rem,5vw,5.4rem);line-height:.96;letter-spacing:-.055em}
.ff-local-design-heading>p{margin:6px 0 0;color:var(--ff-muted);font-size:1.05rem;line-height:1.8;max-width:680px}
.ff-local-design-card-grid .ff-page-card h3{font-size:clamp(1.45rem,2vw,2rem);line-height:1.08;letter-spacing:-.035em;margin:24px 0 14px}
.ff-card-link{display:inline-flex;align-items:center;gap:8px;margin-top:24px;color:#b9ceff;font-weight:700}
.ff-card-link:hover,.ff-card-link:focus-visible{color:#fff}
.ff-local-design-fit{padding:clamp(76px,11vw,150px) 0;background:linear-gradient(135deg,#111724,#0b0c10);border-block:1px solid var(--ff-line)}
.ff-local-design-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,9vw,130px);align-items:start}
.ff-local-design-split h2{margin:14px 0 0;font-size:clamp(2.4rem,5vw,5.2rem);line-height:.96;letter-spacing:-.055em}
.ff-local-design-signals{border-top:1px solid var(--ff-line)}
.ff-local-design-signals article{display:grid;grid-template-columns:42px 1fr;gap:22px;padding:25px 0;border-bottom:1px solid var(--ff-line)}
.ff-local-design-signals span{color:#7ea8ff;font-size:.78rem;letter-spacing:.12em}
.ff-local-design-signals p{margin:0;color:#d7dbe3;font-size:1.05rem;line-height:1.65}
.ff-local-design-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:0 0 clamp(65px,9vw,120px);border-block:1px solid var(--ff-line)}
.ff-local-design-steps li{padding:28px 22px;min-width:0;border-right:1px solid var(--ff-line)}
.ff-local-design-steps li:last-child{border-right:0}
.ff-local-design-steps li>span{display:block;margin-bottom:38px;color:#7ea8ff;font-size:.76rem;letter-spacing:.14em}
.ff-local-design-steps strong{display:block;font-size:1.2rem}
.ff-local-design-steps p{margin:8px 0 0;color:var(--ff-muted);font-size:.9rem;line-height:1.55}
.ff-development-hero h1 span{color:#9fc0ff}
.ff-development-system{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) 44px minmax(0,1fr);align-items:stretch;margin-top:clamp(42px,7vw,84px)}
.ff-development-system article{position:relative;min-width:0;padding:clamp(25px,3vw,38px);border:1px solid var(--ff-line);border-radius:18px;background:linear-gradient(145deg,rgba(79,140,255,.1),rgba(255,255,255,.025))}
.ff-development-system article>span{display:block;color:#7ea8ff;font-size:.71rem;letter-spacing:.12em;margin-bottom:42px}
.ff-development-system strong{display:block;font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.1;letter-spacing:-.03em}
.ff-development-system p{margin:14px 0 0;color:var(--ff-muted);font-size:.92rem;line-height:1.65}
.ff-development-system>i{position:relative;align-self:center;height:1px;background:linear-gradient(90deg,#4f8cff,#83aaff)}
.ff-development-system>i::after{content:"";position:absolute;right:-1px;top:50%;width:7px;height:7px;border-top:1px solid #83aaff;border-right:1px solid #83aaff;transform:translateY(-50%) rotate(45deg)}
.ff-development-page .ff-local-design-fit .ff-local-design-heading{margin-bottom:clamp(40px,6vw,72px)}
.ff-development-decisions{background:#0b0c10;border-top:1px solid var(--ff-line)}
.ff-redesign-review{padding:clamp(76px,11vw,150px) 0;background:linear-gradient(180deg,#0b0d13,#111725);border-block:1px solid var(--ff-line)}
.ff-redesign-comparison{display:grid;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);align-items:stretch}
.ff-redesign-comparison article{padding:clamp(28px,4vw,50px);border:1px solid var(--ff-line);border-radius:20px;background:rgba(255,255,255,.025)}
.ff-redesign-comparison article>span{display:block;margin-bottom:30px;color:#85adff;font-size:.75rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.ff-redesign-comparison h3{margin:0;font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.05;letter-spacing:-.045em}
.ff-redesign-comparison ul{display:grid;gap:14px;margin:28px 0 0;padding:0;list-style:none;color:var(--ff-muted)}
.ff-redesign-comparison li{position:relative;padding-left:18px}
.ff-redesign-comparison li::before{content:"";position:absolute;left:0;top:.72em;width:6px;height:1px;background:#6f9fff}
.ff-redesign-comparison>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#92b4fb;font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.ff-redesign-comparison>div i{width:1px;height:52px;background:linear-gradient(180deg,transparent,#5f92ff)}
.ff-redesign-comparison>div i:last-child{background:linear-gradient(180deg,#5f92ff,transparent)}
@media (max-width:900px){
  .ff-local-design-heading,.ff-local-design-split{grid-template-columns:1fr}
  .ff-development-system{grid-template-columns:1fr}
  .ff-development-system>i{width:1px;height:34px;justify-self:center;background:linear-gradient(180deg,#4f8cff,#83aaff)}
  .ff-development-system>i::after{right:auto;left:50%;top:auto;bottom:0;transform:translateX(-50%) rotate(135deg)}
  .ff-redesign-comparison{grid-template-columns:1fr}
  .ff-redesign-comparison>div{flex-direction:row;min-height:70px}
  .ff-redesign-comparison>div i{width:52px;height:1px;background:linear-gradient(90deg,transparent,#5f92ff)}
  .ff-redesign-comparison>div i:last-child{background:linear-gradient(90deg,#5f92ff,transparent)}
  .ff-local-design-steps{grid-template-columns:1fr 1fr}
  .ff-local-design-steps li{border-bottom:1px solid var(--ff-line)}
  .ff-local-design-steps li:nth-child(2n){border-right:0}
  .ff-local-design-steps li:last-child{grid-column:1/-1;border-bottom:0}
}
@media (max-width:560px){
  .ff-local-design-hero .ff-page-hero-grid{gap:28px}
  .ff-local-design-hero h1 br{display:none}
  .ff-local-design-heading h2,.ff-local-design-split h2{overflow-wrap:anywhere}
  .ff-local-design-steps{grid-template-columns:1fr}
  .ff-local-design-steps li,.ff-local-design-steps li:nth-child(2n){border-right:0}
  .ff-local-design-steps li:last-child{grid-column:auto}
  .ff-local-design-steps li>span{margin-bottom:18px}
}

/* Fail-safe: content remains readable if the enhancement script is unavailable. */
html.no-js .ff-reveal,
html.no-js .ff-section-head .ff-reveal,
html.no-js .ff-section-head .ff-reveal:first-child,
html.no-js .ff-section-head .ff-reveal:last-child {
  opacity:1!important;
  transform:none!important;
  filter:none!important;
}
html.no-js .ff-cinematic-hero::after,
html.no-js .ff-cinematic-hero::before,
html.no-js .ff-blueprint-axis,
html.no-js .ff-blueprint-measure,
html.no-js .ff-cinema-eyebrow,
html.no-js .ff-cinema-wordmark,
html.no-js .ff-cinema-tagline,
html.no-js .ff-cinema-lead,
html.no-js .ff-cinema-actions,
html.no-js .ff-architectural-pillar,
html.no-js .ff-foundation::before,
html.no-js .ff-foundation::after,
html.no-js .ff-foundation span,
html.no-js .ff-architecture-caption,
html.no-js .ff-scroll-cue {
  animation:none!important;
  opacity:1!important;
  transform:none!important;
  filter:none!important;
}
html.no-js .ff-forge-spine span { transform:scaleY(1)!important; }
html.no-js .ff-forge-stage {
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
html.no-js .ff-forge-stage::after { transform:scaleX(1)!important; }
html.no-js .ff-forge-node {
  opacity:1!important;
  transform:translateY(-50%) rotate(45deg) scale(1)!important;
}
html.no-js .ff-grow-stage {
  opacity:1!important;
  transform:none!important;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ff-bg);
  color: var(--ff-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }

.ff-contact-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(320px,1.2fr); gap:clamp(36px,7vw,96px); align-items:start; }
.ff-contact-form { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.ff-contact-field { display:grid; gap:8px; }
.ff-contact-field-wide { grid-column:1 / -1; }
.ff-contact-field label { color:#d7dce5; font-size:.82rem; font-weight:700; letter-spacing:.04em; }
.ff-contact-field input,.ff-contact-field select,.ff-contact-field textarea {
  width:100%; border:1px solid var(--ff-line); border-radius:12px; background:rgba(255,255,255,.035);
  color:var(--ff-text); padding:13px 14px; outline:none;
}
.ff-contact-field textarea { min-height:150px; resize:vertical; }
.ff-contact-field input:focus,.ff-contact-field select:focus,.ff-contact-field textarea:focus { border-color:#7ba7ff; box-shadow:0 0 0 3px rgba(79,140,255,.18); }
.ff-contact-field select option { color:#111; }
.ff-contact-status { grid-column:1 / -1; margin:0 0 4px; padding:12px 14px; border:1px solid rgba(52,211,153,.45); border-radius:12px; background:rgba(52,211,153,.1); color:#d9fff0; }
.ff-contact-status.is-error { border-color:rgba(251,146,60,.5); background:rgba(251,146,60,.1); color:#fff0e3; }
.ff-honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.ff-project-wizard { min-width:0; padding:clamp(20px,3vw,34px); border:1px solid var(--ff-line); border-radius:18px; background:rgba(255,255,255,.025); }
.ff-project-wizard.is-sending { cursor:progress; }
.ff-wizard-success[hidden],
[data-wizard-flow][hidden] { display:none!important; }
.ff-wizard-success {
  --ff-success-entry-x:clamp(-150px,-13vw,-72px);
  min-height:590px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:clamp(12px,2vw,28px);
  text-align:center;
  animation:ffWizardSuccessIn .55s cubic-bezier(.2,.75,.2,1) both;
}
.ff-wizard-success-mark {
  position:relative;
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin-bottom:30px;
  border:1px solid rgba(103,227,190,.62);
  border-radius:50%;
  background:rgba(31,112,88,.2);
  color:#8ff2d2;
  font-size:0;
  box-shadow:0 0 36px rgba(52,211,153,.14);
  animation:ffSuccessMarkSequence 1.28s cubic-bezier(.2,.8,.2,1) .1s both;
}
.ff-wizard-success-mark::before {
  content:"";
  position:absolute;
  inset:-1px;
  border:1px solid rgba(103,227,190,.55);
  border-radius:inherit;
  animation:ffSuccessRing .85s ease-out .36s both;
}
.ff-wizard-success-mark::after {
  content:"";
  width:9px;
  height:18px;
  margin-top:-4px;
  border-right:2px solid #8ff2d2;
  border-bottom:2px solid #8ff2d2;
  transform:rotate(45deg) scale(0);
  transform-origin:center;
  animation:ffSuccessTick .4s cubic-bezier(.2,.9,.35,1.35) .4s forwards;
}
.ff-wizard-success small { display:block; width:100%; color:#8fb3ff; font-size:.67rem; font-weight:800; letter-spacing:.18em; text-align:center; animation:ffSuccessLabelSettle .58s cubic-bezier(.2,.8,.2,1) .78s both; }
.ff-wizard-success h3 { max-width:520px; margin:15px 0 18px; color:#fff; font-size:clamp(2.15rem,4vw,3.5rem); line-height:.98; letter-spacing:-.055em; }
.ff-wizard-success > p { max-width:530px; margin:0; color:#aeb6c5; font-size:1rem; line-height:1.72; }
.ff-wizard-success h3,.ff-wizard-success > p,.ff-wizard-success .ff-wizard-reference,.ff-wizard-success .ff-button { animation:ffSuccessContentIn .55s cubic-bezier(.2,.75,.2,1) 1.05s both; }
.ff-wizard-reference { width:100%; margin:30px 0; padding:16px 0; border-top:1px solid rgba(125,168,255,.2); border-bottom:1px solid rgba(125,168,255,.2); color:#778297; font:700 .65rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.13em; }
.ff-wizard-reference[hidden] { display:none!important; }
.ff-wizard-reference strong { display:block; margin-top:6px; color:#a9c5ff; font-size:.78rem; letter-spacing:.16em; }
@keyframes ffWizardSuccessIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
@keyframes ffSuccessMarkSequence {
  0%{opacity:0;transform:translateX(var(--ff-success-entry-x)) scale(.55) rotate(-10deg)}
  34%{opacity:1;transform:translateX(var(--ff-success-entry-x)) scale(1.08) rotate(2deg)}
  55%{opacity:1;transform:translateX(var(--ff-success-entry-x)) scale(1) rotate(0)}
  100%{opacity:1;transform:translateX(0) scale(1) rotate(0)}
}
@keyframes ffSuccessTick { 0%{opacity:0;transform:rotate(45deg) scale(0)} 100%{opacity:1;transform:rotate(45deg) scale(1)} }
@keyframes ffSuccessRing { 0%{opacity:.8;transform:scale(1)} 100%{opacity:0;transform:scale(1.65)} }
@keyframes ffSuccessLabelSettle { 0%{opacity:0;transform:translateX(var(--ff-success-entry-x))} 100%{opacity:1;transform:translateX(0)} }
@keyframes ffSuccessContentIn { 0%{opacity:0;transform:translateY(12px)} 100%{opacity:1;transform:none} }
.ff-wizard-progress { height:3px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.08); }
.ff-wizard-progress span { display:block; width:20%; height:100%; border-radius:inherit; background:linear-gradient(90deg,#4f8cff,#94b5ff); transition:width .28s ease; }
.ff-wizard-count { margin:10px 0 24px; color:#8e98aa; font-size:.7rem; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
.ff-wizard-step { min-width:0; margin:0; padding:0; border:0; }
.ff-wizard-step[hidden] { display:none; }
.ff-wizard-step legend { width:100%; margin:0 0 7px; padding:0; color:#fff; font-size:clamp(1.45rem,3vw,2.25rem); font-weight:800; line-height:1.05; letter-spacing:-.04em; }
.ff-wizard-help { margin:0 0 18px; color:var(--ff-muted); font-size:.9rem; }
.ff-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:18px 0 22px; }
.ff-choice { position:relative; display:block; cursor:pointer; }
.ff-choice input { position:absolute; opacity:0; pointer-events:none; }
.ff-choice span {
  display:flex; min-height:58px; flex-direction:column; align-items:flex-start; justify-content:center; padding:12px 14px; border:1px solid var(--ff-line);
  border-radius:12px; background:rgba(255,255,255,.025); color:#d8dce5; font-size:.84rem;
  font-weight:650; line-height:1.25; transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
.ff-choice small { display:block; margin-top:4px; color:#9099aa; font-size:.7rem; font-weight:550; line-height:1.3; }
.ff-choice:hover span { border-color:rgba(126,164,255,.5); transform:translateY(-1px); }
.ff-choice input:focus-visible + span { outline:2px solid #8eb2ff; outline-offset:2px; }
.ff-choice input:checked + span { border-color:#7da8ff; background:rgba(79,140,255,.16); color:#fff; box-shadow:inset 0 0 0 1px rgba(125,168,255,.18); }
.ff-wizard-step .ff-contact-field { margin-top:14px; }
.ff-contact-field label span { color:#7f8796; font-weight:500; }
.ff-wizard-actions { display:flex; justify-content:space-between; gap:12px; margin-top:24px; }
.ff-wizard-actions [data-wizard-next],.ff-wizard-actions [data-wizard-submit] { margin-left:auto; }
.ff-wizard-actions .ff-wizard-back {
  background:#fff;
  border-color:#fff;
  color:#09090b;
  box-shadow:0 10px 28px rgba(255,255,255,.1);
}
.ff-wizard-actions .ff-wizard-back:hover,
.ff-wizard-actions .ff-wizard-back:focus-visible {
  background:#f1f5ff;
  border-color:#f1f5ff;
  color:#09090b;
  box-shadow:0 13px 34px rgba(255,255,255,.16);
}
.ff-wizard-actions [hidden] { display:none!important; }
.ff-wizard-actions [data-wizard-submit] { min-height:50px; transition:transform .2s ease,box-shadow .22s ease,background .22s ease,opacity .2s ease; }
.ff-wizard-actions [data-wizard-submit]:disabled { opacity:.42; cursor:not-allowed; box-shadow:none; }
.ff-wizard-actions [data-wizard-submit].is-ready {
  opacity:1; color:#07101f; background:linear-gradient(135deg,#fff,#bcd2ff);
  filter:none; box-shadow:0 0 0 1px rgba(146,184,255,.58),0 0 20px rgba(79,140,255,.36),0 14px 36px rgba(0,0,0,.32);
  animation:ffSubmitReady .7s cubic-bezier(.2,.8,.2,1) both;
}
.ff-wizard-actions [data-wizard-submit].is-ready:hover,
.ff-wizard-actions [data-wizard-submit].is-ready:focus-visible {
  transform:translateY(-3px); filter:none;
  box-shadow:0 0 0 1px rgba(167,198,255,.78),0 0 26px rgba(79,140,255,.48),0 19px 42px rgba(0,0,0,.38);
}
.ff-wizard-actions [data-wizard-submit].is-ready:active { transform:translateY(-1px); }
@keyframes ffSubmitReady {
  0% { box-shadow:0 0 0 1px rgba(146,184,255,.35),0 0 0 rgba(79,140,255,0),0 14px 36px rgba(0,0,0,.32); }
  55% { box-shadow:0 0 0 1px rgba(167,198,255,.78),0 0 30px rgba(79,140,255,.54),0 14px 36px rgba(0,0,0,.32); }
  100% { box-shadow:0 0 0 1px rgba(146,184,255,.58),0 0 20px rgba(79,140,255,.36),0 14px 36px rgba(0,0,0,.32); }
}
.ff-wizard-privacy { margin:18px 0 0; color:#7f8796; font-size:.75rem; line-height:1.5; }
.ff-email-button { display:inline-flex; margin-top:8px; border-color:rgba(125,168,255,.55); background:rgba(79,140,255,.12); color:#fff; box-shadow:0 12px 34px rgba(79,140,255,.12); }
.ff-email-button:hover,.ff-email-button:focus-visible { border-color:#8eb2ff; background:rgba(79,140,255,.22); box-shadow:0 15px 42px rgba(79,140,255,.2); }
@media (max-width:800px) { .ff-contact-grid { grid-template-columns:1fr; } }
@media (max-width:560px) {
  .ff-contact-form { grid-template-columns:1fr; }
  .ff-contact-field-wide { grid-column:auto; }
  .ff-project-wizard { padding:18px 14px; }
  .ff-wizard-success { min-height:470px; padding:18px 8px; align-items:center; text-align:center; }
  .ff-wizard-success-mark { margin-bottom:24px; }
  .ff-wizard-reference { text-align:center; }
  .ff-wizard-success .ff-button { width:100%; }
  .ff-choice-grid { grid-template-columns:1fr; gap:8px; }
  .ff-choice span { min-height:50px; }
  .ff-wizard-actions .ff-button { padding-inline:15px; }
  .ff-wizard-actions { align-items:stretch; flex-wrap:wrap; }
  .ff-wizard-actions [data-wizard-submit] { flex:1 1 205px; white-space:normal; line-height:1.25; }
}
@media (prefers-reduced-motion:reduce) {
  .ff-wizard-actions [data-wizard-submit].is-ready,.ff-wizard-success,.ff-wizard-success-mark,.ff-wizard-success-mark::before,.ff-wizard-success-mark::after,.ff-wizard-success small,.ff-wizard-success h3,.ff-wizard-success > p,.ff-wizard-success .ff-wizard-reference,.ff-wizard-success .ff-button { animation:none; }
  .ff-wizard-success-mark::before { display:none; }
  .ff-wizard-success-mark::after { opacity:1; transform:rotate(45deg) scale(1); }
}

.ff-container { width: min(calc(100% - 40px), var(--ff-max)); margin-inline: auto; }
.ff-skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; }
.ff-skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { background: rgba(9,9,11,.78); border-color: var(--ff-line); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display:flex; align-items:center; gap:11px; color:var(--ff-text); }
.ff-logo-mark { width:32px; height:28px; display:block; color:currentColor; }
.ff-logo-mark svg { width:100%; height:100%; display:block; overflow:visible; }
.ff-logo-pillars path,.ff-logo-cut { fill:currentColor; }
.ff-logo-base { fill:none; stroke:currentColor; stroke-width:4; stroke-linecap:square; }
.ff-wordmark { font-size:.9rem; line-height:1; font-weight:850; letter-spacing:.16em; }
.site-branding:hover .ff-logo-mark { color:#a9c4ff; }
.site-branding:hover .ff-logo-pillars path { transform:translateY(-2px); }
.ff-logo-pillars path { transform-box:fill-box; transform-origin:center bottom; transition:transform .28s cubic-bezier(.2,.75,.2,1); }
.ff-logo-pillars path:nth-child(2){transition-delay:.025s}.ff-logo-pillars path:nth-child(3){transition-delay:.05s}.ff-logo-pillars path:nth-child(4){transition-delay:.075s}.ff-logo-pillars path:nth-child(5){transition-delay:.1s}
.primary-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; margin: 0; color: #d4d4d8; font-size: .94rem; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; }
.ff-header-cta { padding: 10px 16px; border: 1px solid var(--ff-line); border-radius: 999px; background: rgba(255,255,255,.04); }
.ff-menu-toggle { display:none; background:transparent; color:#fff; border:1px solid var(--ff-line); border-radius:10px; padding:8px 11px; }

.ff-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.ff-hero::before { content:""; position:absolute; inset:-25% 10% auto; height:520px; background:radial-gradient(circle, rgba(79,140,255,.14), transparent 65%); filter:blur(25px); pointer-events:none; }
.ff-hero-grid { display:grid; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); align-items:center; gap: clamp(40px,7vw,100px); position:relative; }
.ff-eyebrow { display:inline-flex; align-items:center; gap:10px; color:#c7d2fe; font-size:.78rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.ff-eyebrow::before { content:""; width:34px; height:1px; background:var(--ff-accent); box-shadow:0 0 18px var(--ff-accent); }
.ff-hero h1 { max-width: 790px; margin: 24px 0; font-size: clamp(3.5rem, 8vw, 7.6rem); line-height: .88; letter-spacing: -.075em; font-weight: 760; }
.ff-gradient-text { background: linear-gradient(100deg,#fff 15%,#91b6ff 58%,#fff 88%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.ff-lead { max-width: 650px; color: var(--ff-muted); font-size: clamp(1.05rem,1.6vw,1.3rem); }
.ff-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.ff-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 20px; border-radius:999px; border:1px solid var(--ff-line); transition:transform .2s ease, box-shadow .2s ease, background .2s ease; font-weight:700; }
.ff-button:hover { transform: translateY(-2px); }
.ff-button-primary { background:#fff; color:#09090b; box-shadow:0 10px 30px rgba(255,255,255,.12); }
.ff-button-secondary { background:rgba(255,255,255,.04); }
.ff-proof { display:flex; flex-wrap:wrap; gap:18px; margin-top:34px; color:#71717a; font-size:.85rem; }
.ff-proof span { display:flex; align-items:center; gap:8px; }
.ff-proof i { width:6px; height:6px; border-radius:50%; background:var(--ff-accent); box-shadow:0 0 12px var(--ff-accent); }

.ff-pillars-wrap { min-height:540px; position:relative; display:flex; align-items:flex-end; justify-content:center; perspective:1200px; }
.ff-pillars { width:min(100%,510px); height:500px; display:grid; grid-template-columns:repeat(5,1fr); align-items:end; gap:13px; padding:20px; }
.ff-pillar { --height: 60%; position:relative; height:var(--height); border:1px solid rgba(255,255,255,.15); border-radius:18px 18px 7px 7px; background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.025)); box-shadow:inset 0 1px 0 rgba(255,255,255,.2), var(--ff-shadow); transform:translateY(22px) scaleY(0); transform-origin:bottom; overflow:hidden; transition:height .35s ease, transform .35s ease, border-color .35s ease, background .35s ease; cursor:default; }
.ff-pillar:nth-child(1){--height:58%;--delay:.08s}.ff-pillar:nth-child(2){--height:73%;--delay:.18s}.ff-pillar:nth-child(3){--height:100%;--delay:.28s}.ff-pillar:nth-child(4){--height:82%;--delay:.38s}.ff-pillar:nth-child(5){--height:66%;--delay:.48s}
.ff-pillars::after { content:""; position:absolute; left:20px; right:20px; bottom:20px; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent); opacity:0; transform:scaleX(.15); transform-origin:center; }
.ff-page-loaded .ff-pillars::after { animation:ffBaseIn .55s ease-out .08s forwards; }
.ff-page-loaded .ff-pillar { animation:ffRise 1.05s cubic-bezier(.16,.82,.2,1) forwards; animation-delay:calc(.24s + var(--delay)); }
.ff-pillar-label { opacity:0; }
.ff-page-loaded .ff-pillar-label { animation:ffPillarLabelIn .5s ease-out forwards; animation-delay:calc(1.05s + var(--delay)); }
.ff-pillar::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(79,140,255,.34),transparent 48%); opacity:0; transition:opacity .3s ease; }
.ff-pillar:hover,.ff-pillar:focus-within { transform:translateY(-10px) scaleY(1); border-color:rgba(129,167,255,.75); background:linear-gradient(180deg,rgba(79,140,255,.22),rgba(255,255,255,.04)); }
.ff-pillar:hover::after,.ff-pillar:focus-within::after { opacity:1; }
.ff-pillar-label { position:absolute; inset:auto 8px 14px; z-index:2; writing-mode:vertical-rl; transform:rotate(180deg); color:rgba(255,255,255,.72); font-size:.72rem; text-transform:uppercase; letter-spacing:.16em; font-weight:800; }
.ff-pillar-number { position:absolute; top:14px; left:50%; transform:translateX(-50%); z-index:2; color:rgba(255,255,255,.35); font-size:.72rem; }
.ff-orbit { position:absolute; width:430px; aspect-ratio:1; border:1px solid rgba(255,255,255,.07); border-radius:50%; bottom:20px; animation:ffSpin 22s linear infinite; }
.ff-orbit::before,.ff-orbit::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.055); border-radius:50%; }
.ff-orbit::before{inset:45px}.ff-orbit::after{inset:95px}
@keyframes ffRise { from { transform:translateY(22px) scaleY(0); } to { transform:translateY(0) scaleY(1); } }
@keyframes ffPillarLabelIn { from { opacity:0; transform:rotate(180deg) translateX(-8px); } to { opacity:1; transform:rotate(180deg) translateX(0); } }
@keyframes ffBaseIn { from { opacity:0; transform:scaleX(.15); } to { opacity:1; transform:scaleX(1); } }
@keyframes ffSpin { to { transform:rotate(360deg); } }

.ff-section { padding: clamp(90px,11vw,150px) 0; border-top:1px solid var(--ff-line); }
.ff-section-head { display:grid; grid-template-columns:.65fr 1.35fr; gap:40px; align-items:end; margin-bottom:55px; }
.ff-kicker { color:var(--ff-accent); text-transform:uppercase; letter-spacing:.15em; font-size:.75rem; font-weight:800; }
.ff-section h2 { margin:0; font-size:clamp(2.35rem,5vw,4.8rem); line-height:.98; letter-spacing:-.055em; }
.ff-section-head p { color:var(--ff-muted); max-width:650px; margin:0; font-size:1.05rem; }

.ff-pillar-cards { display:grid; grid-template-columns:repeat(5,1fr); border:1px solid var(--ff-line); border-radius:var(--ff-radius); overflow:hidden; background:var(--ff-surface); }
.ff-pillar-card { min-height:310px; padding:28px 22px; border-right:1px solid var(--ff-line); display:flex; flex-direction:column; justify-content:space-between; transition:background .25s ease, transform .25s ease; }
.ff-pillar-card:last-child { border-right:0; }
.ff-pillar-card:hover { background:var(--ff-surface-2); }
.ff-pillar-card .num { color:#52525b; font-size:.77rem; }
.ff-pillar-card h3 { font-size:1.35rem; margin:0 0 10px; }
.ff-pillar-card p { color:var(--ff-muted); font-size:.93rem; margin:0; }
.ff-icon { width:42px; height:42px; border:1px solid var(--ff-line); border-radius:12px; display:grid; place-items:center; color:#c7d2fe; }

.ff-projects { display:grid; gap:28px; }
.ff-project { min-height:520px; border:1px solid var(--ff-line); border-radius:30px; overflow:hidden; position:relative; display:grid; align-items:end; background:radial-gradient(circle at 72% 28%,rgba(79,140,255,.22),transparent 28%),linear-gradient(145deg,#18181b,#0d0d10); }
.ff-project::before { content:""; position:absolute; width:62%; height:74%; right:-4%; top:13%; border:1px solid rgba(255,255,255,.16); border-radius:20px; background:linear-gradient(150deg,rgba(255,255,255,.09),rgba(255,255,255,.015)); transform:rotate(-5deg); box-shadow:var(--ff-shadow); }
.ff-project-content { position:relative; z-index:2; padding:40px; max-width:620px; }
.ff-project-meta { color:#93c5fd; text-transform:uppercase; letter-spacing:.13em; font-size:.74rem; font-weight:800; }
.ff-project h3 { font-size:clamp(2rem,4vw,3.4rem); letter-spacing:-.045em; margin:12px 0; }
.ff-project p { color:var(--ff-muted); }

.ff-process { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.ff-step { border-top:1px solid var(--ff-line); padding:24px 8px 8px; }
.ff-step b { color:var(--ff-accent); font-size:.78rem; }
.ff-step h3 { margin:32px 0 8px; font-size:1.2rem; }
.ff-step p { margin:0; color:var(--ff-muted); font-size:.92rem; }

.ff-cta { padding:clamp(80px,10vw,130px) 0; }
.ff-cta-panel { border:1px solid var(--ff-line); border-radius:34px; padding:clamp(38px,7vw,90px); background:radial-gradient(circle at 85% 15%,rgba(79,140,255,.20),transparent 32%),var(--ff-surface); text-align:center; box-shadow:var(--ff-shadow); }
.ff-cta-panel h2 { font-size:clamp(2.5rem,6vw,5.8rem); line-height:.95; letter-spacing:-.06em; max-width:900px; margin:0 auto 24px; }
.ff-cta-panel p { color:var(--ff-muted); max-width:620px; margin:0 auto 30px; }

.site-footer { border-top:1px solid var(--ff-line); padding:34px 0; color:#71717a; }
.footer-inner { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; font-size:.88rem; }

.ff-content { padding:140px 0 90px; min-height:70svh; }
.ff-content article { max-width:820px; }
.ff-content h1 { font-size:clamp(2.5rem,6vw,5rem); letter-spacing:-.055em; }
.ff-content p,.ff-content li { color:#d4d4d8; }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
@media (max-width: 980px) {
  .ff-hero-grid { grid-template-columns:1fr; }
  .ff-pillars-wrap { min-height:450px; }
  .ff-pillars { height:410px; }
  .ff-section-head { grid-template-columns:1fr; }
  .ff-pillar-cards { grid-template-columns:repeat(2,1fr); }
  .ff-pillar-card { border-bottom:1px solid var(--ff-line); }
  .ff-process { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 760px) {
  .ff-container { width:min(calc(100% - 28px),var(--ff-max)); }
  .ff-menu-toggle { display:block; }
  .primary-nav { display:none; position:absolute; top:68px; left:14px; right:14px; padding:18px; border:1px solid var(--ff-line); border-radius:16px; background:rgba(9,9,11,.96); }
  .primary-nav.is-open { display:block; }
  .primary-nav ul { flex-direction:column; align-items:flex-start; gap:16px; }
  .ff-hero { padding-top:120px; }
  .ff-hero h1 { font-size:clamp(3.1rem,17vw,5.2rem); }
  .ff-pillars-wrap { min-height:370px; }
  .ff-pillars { height:350px; gap:8px; padding:10px; }
  .ff-pillar { border-radius:12px 12px 5px 5px; }
  .ff-pillar-label { font-size:.6rem; }
  .ff-orbit { width:310px; }
  .ff-pillar-cards { grid-template-columns:1fr; }
  .ff-pillar-card { min-height:220px; border-right:0; }
  .ff-project { min-height:500px; }
  .ff-project::before { width:88%; height:58%; top:10%; right:-12%; }
  .ff-project-content { padding:26px; }
  .ff-process { grid-template-columns:1fr; }
}

/* ForgeFive motion system — v0.2 */
.ff-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(8px);
  transition:
    opacity .75s cubic-bezier(.2,.75,.2,1) var(--reveal-delay, 0s),
    transform .85s cubic-bezier(.2,.75,.2,1) var(--reveal-delay, 0s),
    filter .7s ease var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}
.ff-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.ff-stagger > .ff-reveal:nth-child(1){--reveal-delay:.02s}
.ff-stagger > .ff-reveal:nth-child(2){--reveal-delay:.09s}
.ff-stagger > .ff-reveal:nth-child(3){--reveal-delay:.16s}
.ff-stagger > .ff-reveal:nth-child(4){--reveal-delay:.23s}
.ff-stagger > .ff-reveal:nth-child(5){--reveal-delay:.30s}

.ff-pillar {
  --pillar-rgb: 79,140,255;
  isolation: isolate;
}
.ff-pillar:nth-child(1){--pillar-rgb:168,85,247}
.ff-pillar:nth-child(2){--pillar-rgb:34,211,238}
.ff-pillar:nth-child(3){--pillar-rgb:79,140,255}
.ff-pillar:nth-child(4){--pillar-rgb:52,211,153}
.ff-pillar:nth-child(5){--pillar-rgb:251,146,60}
.ff-pillar::before {
  content:"";
  position:absolute;
  inset:auto -35% -12% -35%;
  height:65%;
  z-index:-1;
  background:radial-gradient(circle at 50% 100%, rgba(var(--pillar-rgb),.72), rgba(var(--pillar-rgb),.15) 42%, transparent 72%);
  opacity:.28;
  transform:translateY(42%);
  transition:opacity .45s ease, transform .55s cubic-bezier(.2,.75,.2,1);
}
.ff-pillar::after {
  background:linear-gradient(180deg,rgba(var(--pillar-rgb),.55),rgba(var(--pillar-rgb),.10) 42%,transparent 72%);
}
.ff-pillar:hover,.ff-pillar:focus-visible,.ff-pillar.is-active {
  border-color:rgba(var(--pillar-rgb),.8);
  background:linear-gradient(180deg,rgba(var(--pillar-rgb),.28),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 20px 70px rgba(var(--pillar-rgb),.20);
}
.ff-pillar:hover::before,.ff-pillar:focus-visible::before,.ff-pillar.is-active::before { opacity:1; transform:translateY(0); }
.ff-pillar:hover::after,.ff-pillar:focus-visible::after,.ff-pillar.is-active::after { opacity:1; }
.ff-pillar-message {
  position:absolute;
  inset:22px 10px auto;
  z-index:4;
  display:flex;
  flex-direction:column;
  gap:4px;
  opacity:0;
  transform:translateY(12px) scale(.96);
  transition:opacity .35s ease, transform .4s cubic-bezier(.2,.75,.2,1);
  text-align:center;
  pointer-events:none;
}
.ff-pillar-message b { font-size:.76rem; letter-spacing:-.02em; }
.ff-pillar-message em { color:rgba(255,255,255,.68); font-size:.6rem; line-height:1.25; font-style:normal; }
.ff-pillar:hover .ff-pillar-message,.ff-pillar:focus-visible .ff-pillar-message,.ff-pillar.is-active .ff-pillar-message { opacity:1; transform:translateY(0) scale(1); }
.ff-pillar:hover .ff-pillar-number,.ff-pillar:focus-visible .ff-pillar-number,.ff-pillar.is-active .ff-pillar-number { opacity:0; }
.ff-pillar-number { transition:opacity .25s ease; }

.ff-project { grid-template-columns:1fr 1.15fr; align-items:center; }
.ff-project::before { display:none; }
.ff-project-visual { min-height:520px; display:grid; place-items:center; padding:50px 22px 50px 38px; perspective:1200px; }
.ff-browser {
  width:min(100%,680px);
  aspect-ratio:1.22;
  border:1px solid rgba(255,255,255,.17);
  border-radius:20px;
  overflow:hidden;
  background:#0b0b0e;
  transform:rotateY(-7deg) rotateX(3deg) translateX(18px);
  box-shadow:0 45px 100px rgba(0,0,0,.55), 0 0 80px rgba(79,140,255,.12);
  transition:transform 1.1s cubic-bezier(.2,.75,.2,1), box-shadow .8s ease;
}
.ff-project-reveal:not(.is-visible) .ff-browser { transform:rotateY(-18deg) rotateX(8deg) translateX(90px) scale(.88); }
.ff-project:hover .ff-browser { transform:rotateY(-2deg) rotateX(1deg) translateX(0) scale(1.015); box-shadow:0 55px 120px rgba(0,0,0,.62), 0 0 100px rgba(79,140,255,.2); }
.ff-browser-bar { height:42px; display:flex; align-items:center; gap:7px; padding:0 14px; border-bottom:1px solid rgba(255,255,255,.09); background:#121216; }
.ff-browser-bar i { width:8px; height:8px; border-radius:50%; background:#3f3f46; }
.ff-browser-bar span { margin-left:8px; color:#71717a; font-size:.65rem; }
.ff-browser-screen { min-height:calc(100% - 42px); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px; background:radial-gradient(circle at 50% 30%,rgba(79,140,255,.22),transparent 38%),linear-gradient(145deg,#17171d,#08080a); }
.ff-ww-crest { width:74px; aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); border-radius:22px; margin-bottom:18px; font-family:Georgia,serif; font-size:2.25rem; box-shadow:inset 0 0 30px rgba(79,140,255,.16),0 12px 40px rgba(0,0,0,.35); }
.ff-browser-screen strong { font-size:clamp(1.25rem,2.3vw,2.5rem); letter-spacing:-.04em; }
.ff-browser-screen small { color:#a1a1aa; margin-top:6px; }
.ff-browser-lines { width:min(82%,320px); display:grid; gap:8px; margin-top:28px; }
.ff-browser-lines span { height:7px; border-radius:99px; background:linear-gradient(90deg,rgba(79,140,255,.85),rgba(255,255,255,.08)); }
.ff-browser-lines span:nth-child(2){width:78%}.ff-browser-lines span:nth-child(3){width:56%}

.ff-pillar-card.ff-reveal.is-visible:hover { transform:translateY(-7px); }
.ff-step.ff-reveal.is-visible:hover { transform:translateY(-5px); }

@media (max-width:980px){
  .ff-project { grid-template-columns:1fr; }
  .ff-project-visual { min-height:390px; padding:38px 28px 0; }
  .ff-browser { transform:rotateY(-4deg) rotateX(2deg); }
}
@media (max-width:760px){
  .ff-pillar-message { display:none; }
  .ff-project-visual { min-height:290px; padding:30px 18px 0; }
  .ff-browser { border-radius:14px; }
  .ff-browser-bar { height:34px; }
  .ff-browser-screen { min-height:calc(100% - 34px); }
  .ff-ww-crest { width:54px; border-radius:15px; font-size:1.65rem; }
}

/* ForgeFive refinement system — v0.3 */
.ff-scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  height: 2px;
  pointer-events: none;
}
.ff-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,#a855f7,#22d3ee,#4f8cff,#34d399,#fb923c);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.primary-nav a.is-current { color: var(--ff-text); }
.primary-nav a.is-current::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 3px;
  background: var(--ff-accent);
  transform: scaleX(1);
}
.ff-section-reveal {
  position: relative;
}
.ff-section-reveal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px),var(--ff-max));
  height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent);
  transform: translateX(-50%) scaleX(.25);
  opacity: 0;
  transition: transform 1s cubic-bezier(.2,.75,.2,1),opacity .7s ease;
}
.ff-section-reveal.is-section-visible::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.ff-section-head .ff-reveal:first-child { transform: translate3d(-28px,28px,0); }
.ff-section-head .ff-reveal:last-child { transform: translate3d(28px,28px,0); }
.ff-section-head .ff-reveal.is-visible { transform: translate3d(0,0,0); }

.ff-quality { padding: 16px 0 24px; }
.ff-quality-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-block: 1px solid var(--ff-line);
}
.ff-quality-item {
  padding: 28px 24px;
  border-right: 1px solid var(--ff-line);
}
.ff-quality-item:last-child { border-right: 0; }
.ff-quality-item strong { display:block; font-size:1rem; margin-bottom:4px; }
.ff-quality-item span { color:var(--ff-muted); font-size:.82rem; }

.ff-capabilities { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.ff-capability {
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius);
  background: linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008));
  transition: transform .35s ease,border-color .35s ease,background .35s ease;
}
.ff-capability:hover { transform:translateY(-7px); border-color:rgba(79,140,255,.45); background:linear-gradient(180deg,rgba(79,140,255,.07),rgba(255,255,255,.01)); }
.ff-capability > span { color:#71717a; font-size:.75rem; }
.ff-capability h3 { font-size:1.65rem; letter-spacing:-.035em; margin:54px 0 12px; }
.ff-capability p { color:var(--ff-muted); }
.ff-capability ul { list-style:none; padding:0; margin:34px 0 0; display:grid; gap:12px; }
.ff-capability li { color:#d4d4d8; font-size:.9rem; padding-top:12px; border-top:1px solid var(--ff-line); }
.ff-capability li::before { content:"↳"; color:var(--ff-accent); margin-right:8px; }

/* Restore the original Winners Warband feature-card direction. */
.ff-project {
  min-height: 520px;
  display:grid;
  grid-template-columns:1fr;
  align-items:end;
  background:radial-gradient(circle at 72% 28%,rgba(79,140,255,.22),transparent 28%),linear-gradient(145deg,#18181b,#0d0d10);
}
.ff-project::before {
  display:block;
  content:"";
  position:absolute;
  width:62%;
  height:74%;
  right:-4%;
  top:13%;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  background:linear-gradient(150deg,rgba(255,255,255,.09),rgba(255,255,255,.015));
  transform:rotate(-5deg);
  box-shadow:var(--ff-shadow);
  transition:transform 1s cubic-bezier(.2,.75,.2,1),opacity .8s ease;
}
.ff-project:not(.is-visible)::before { transform:translate3d(100px,20px,0) rotate(-12deg) scale(.9); opacity:0; }
.ff-project.is-visible::before { transform:rotate(-5deg); opacity:1; }
.ff-project-content { position:relative; z-index:2; padding:40px; max-width:650px; }
.ff-project-tags { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 28px; }
.ff-project-tags span { padding:7px 10px; border:1px solid var(--ff-line); border-radius:999px; color:#d4d4d8; font-size:.72rem; background:rgba(9,9,11,.52); }
.ff-work-archive-link { display:flex; justify-content:center; margin-top:34px; }
.ff-showcase { position:relative; overflow:hidden; scroll-margin-top:112px; border:1px solid var(--ff-line); border-radius:24px; background:linear-gradient(145deg,#171922,#0b0c10); box-shadow:0 24px 70px rgba(0,0,0,.25); }
.ff-showcase-track { position:relative; display:grid; min-height:450px; }
.ff-showcase-slide { grid-area:1/1; min-height:450px; display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr); align-items:center; gap:clamp(24px,4vw,56px); padding:clamp(26px,4vw,46px); opacity:0; visibility:hidden; pointer-events:none; transform:translateX(28px) scale(.985); filter:blur(5px); transition:opacity .62s ease,transform .72s cubic-bezier(.2,.75,.2,1),filter .55s ease,visibility 0s linear .72s; }
.ff-showcase-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; transform:none; filter:none; transition-delay:0s; }
.ff-showcase-copy { position:relative; z-index:5; }
.ff-showcase-topline { display:flex; justify-content:space-between; gap:20px; margin-bottom:14px; color:#8faef0; font-size:.62rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.ff-showcase-copy h3 { margin:9px 0 0; font-size:clamp(2.35rem,4vw,4.4rem); line-height:.94; letter-spacing:-.06em; }
.ff-showcase-copy > p { max-width:520px; margin:16px 0; color:var(--ff-muted); }
.ff-showcase-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.ff-showcase-devices { position:relative; min-width:0; min-height:330px; display:flex; align-items:center; justify-content:center; }
.ff-showcase-desktop { position:absolute; inset:10px 0 20px 3%; overflow:hidden; border:1px solid rgba(255,255,255,.2); border-radius:15px; background:#11141a; box-shadow:0 24px 58px rgba(0,0,0,.42); transform:perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.ff-device-bar { height:24px; display:flex; align-items:center; gap:6px; padding:0 11px; border-bottom:1px solid rgba(255,255,255,.1); background:#171a20; }
.ff-device-bar i { width:6px; height:6px; border-radius:50%; background:#4c5360; }
.ff-showcase-desktop img { width:100%; height:calc(100% - 24px); object-fit:cover; object-position:top center; }
.ff-showcase-mobile { position:absolute; z-index:4; right:0; bottom:0; width:clamp(102px,10vw,132px); aspect-ratio:390/844; overflow:hidden; padding:6px; border:2px solid rgba(255,255,255,.28); border-radius:22px; background:#08090c; box-shadow:0 22px 52px rgba(0,0,0,.56); transform:rotate(3deg); }
.ff-showcase-mobile img { width:100%; height:100%; object-fit:cover; object-position:top center; border-radius:17px; }
.ff-device-speaker { position:absolute; z-index:2; top:10px; left:50%; width:34%; height:4px; border-radius:99px; background:#050608; transform:translateX(-50%); }
.ff-showcase-controls { display:flex; align-items:center; justify-content:center; gap:16px; padding:0 0 24px; }
.ff-showcase-controls[hidden] { display:none!important; }
.ff-showcase-controls button { width:42px; height:42px; border:1px solid var(--ff-line); border-radius:50%; background:rgba(255,255,255,.035); color:#fff; cursor:pointer; }
.ff-showcase-controls [data-showcase-dots] { display:flex; gap:7px; }
.ff-showcase-controls [data-showcase-dots] button { width:7px; height:7px; padding:0; border:0; background:#4e5665; }
.ff-showcase-controls [data-showcase-dots] button.is-active { background:#9ab8ff; box-shadow:0 0 12px rgba(79,140,255,.65); }
@media(max-width:900px) {
  .ff-showcase-track,.ff-showcase-slide { min-height:690px; }
  .ff-showcase-slide { grid-template-columns:1fr; padding:26px 28px; }
  .ff-showcase-devices { min-height:360px; order:-1; }
}
@media(max-width:600px) {
  .ff-showcase { scroll-margin-top:92px; border-radius:22px; }
  .ff-showcase-track,.ff-showcase-slide { min-height:590px; }
  .ff-showcase-slide { padding:15px 13px 18px; gap:17px; }
  .ff-showcase-devices { min-height:255px; }
  .ff-showcase-desktop { inset:8px 4% 32px 0; border-radius:12px; transform:none; }
  .ff-showcase-mobile { right:1%; width:84px; border-radius:18px; transform:rotate(2deg); }
  .ff-showcase-mobile img { border-radius:13px; }
  .ff-showcase-copy h3 { font-size:clamp(2.05rem,11vw,3rem); }
  .ff-showcase-copy > p { margin:12px 0; font-size:.92rem; }
  .ff-showcase-actions { display:grid; grid-template-columns:1fr; }
  .ff-showcase-actions .ff-button { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .ff-showcase-slide { transform:none; filter:none; transition:opacity .15s linear,visibility 0s linear .15s; }
}

.ff-step { transition:transform .3s ease,border-color .3s ease; }
.ff-step:hover { border-color:var(--ff-accent); }
.ff-cta-panel { overflow:hidden; position:relative; }
.ff-cta-panel > * { position:relative; z-index:1; }
.ff-cta-panel::after {
  content:"";
  position:absolute;
  width:280px;
  aspect-ratio:1;
  right:-90px;
  bottom:-140px;
  border-radius:50%;
  border:1px solid rgba(79,140,255,.22);
  box-shadow:0 0 90px rgba(79,140,255,.12);
  transform:scale(.75);
  opacity:0;
  pointer-events:none;
  transition:transform 1.1s cubic-bezier(.2,.75,.2,1),opacity .8s ease;
}
.ff-section-reveal.is-section-visible .ff-cta-panel::after { transform:scale(1); opacity:1; }

@media (max-width:980px){
  .ff-quality-grid { grid-template-columns:repeat(2,1fr); }
  .ff-quality-item:nth-child(2) { border-right:0; }
  .ff-quality-item:nth-child(-n+2) { border-bottom:1px solid var(--ff-line); }
  .ff-capabilities { grid-template-columns:1fr; }
  .ff-capability { min-height:auto; }
}
@media (max-width:760px){
  .ff-quality-grid { grid-template-columns:1fr; }
  .ff-quality-item { border-right:0; border-bottom:1px solid var(--ff-line); }
  .ff-quality-item:last-child { border-bottom:0; }
  .ff-section-head .ff-reveal:first-child,.ff-section-head .ff-reveal:last-child { transform:translate3d(0,28px,0); }
  .ff-section-head .ff-reveal.is-visible { transform:none; }
  .ff-project::before { width:88%; height:58%; top:10%; right:-12%; }
  .ff-project-content { padding:26px; }
  .ff-cta-panel::after { display:none; }
}

/* ForgeFive v0.4 — load choreography and logo refinement */
@media (max-width:420px){.ff-wordmark{font-size:.76rem;letter-spacing:.11em}.ff-logo-mark{width:29px;height:25px}}

/* Homepage Evolution — cinematic hero + interactive architectural pillars */
.ff-cinematic-hero {
  min-height:100svh;
  padding:110px 0 54px;
  isolation:isolate;
  background:#08090c;
}
.ff-cinematic-hero::before {
  inset:-20% -10% auto;
  height:78%;
  background:radial-gradient(circle at 54% 42%,rgba(79,140,255,.19),transparent 46%);
  filter:blur(38px);
  opacity:0;
  animation:ffHeroAura 1.8s ease 1.1s forwards;
}
.ff-cinematic-hero::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background-image:linear-gradient(rgba(148,177,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(148,177,255,.07) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.85) 68%,transparent 100%);
  opacity:0;
  animation:ffGridFade .9s ease .05s forwards;
}
.ff-hero-blueprint { position:absolute; inset:76px 0 0; z-index:-1; pointer-events:none; opacity:.55; }
.ff-blueprint-axis { position:absolute; display:block; background:rgba(139,174,255,.15); transform-origin:left center; opacity:0; }
.ff-blueprint-axis-x { left:4%; right:4%; top:58%; height:1px; animation:ffBlueprintX 1.2s ease .5s forwards; }
.ff-blueprint-axis-y { top:7%; bottom:9%; left:50%; width:1px; transform-origin:center top; animation:ffBlueprintY 1.2s ease .7s forwards; }
.ff-blueprint-measure { position:absolute; color:rgba(176,199,255,.35); font-size:.6rem; letter-spacing:.18em; opacity:0; animation:ffSoftIn .7s ease 1.4s forwards; }
.ff-blueprint-measure-one { left:4%; top:calc(58% - 22px); }
.ff-blueprint-measure-two { right:4%; bottom:8%; }
.ff-cinematic-stage { min-height:calc(100svh - 164px); display:grid; grid-template-columns:minmax(0,.78fr) minmax(560px,1.22fr); gap:clamp(28px,5vw,78px); align-items:center; position:relative; }
.ff-hero-intro { position:relative; z-index:5; padding-bottom:24px; }
.ff-cinema-eyebrow { color:#9ebdff; font-size:.72rem; font-weight:800; letter-spacing:.2em; text-transform:uppercase; opacity:0; transform:translateY(10px); animation:ffSoftUp .65s ease 1.78s forwards; }
.ff-cinema-wordmark { margin:16px 0 0; font-size:clamp(4rem,8vw,8.1rem); line-height:.82; letter-spacing:-.075em; font-weight:850; opacity:0; filter:blur(14px); transform:scale(.97); animation:ffWordmarkFocus .85s cubic-bezier(.2,.75,.2,1) 2s forwards; }
.ff-cinema-tagline { margin:24px 0 0; font-size:clamp(1.12rem,2vw,1.55rem); letter-spacing:-.025em; font-weight:650; opacity:0; transform:translateY(14px); animation:ffSoftUp .65s ease 2.4s forwards; }
.ff-cinema-lead { max-width:520px; margin:13px 0 0; color:var(--ff-muted); font-size:1rem; opacity:0; transform:translateY(14px); animation:ffSoftUp .65s ease 2.58s forwards; }
.ff-cinema-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:29px; opacity:0; transform:translateY(16px); animation:ffSoftUp .68s ease 2.8s forwards; }
.ff-architecture { height:min(68vh,650px); min-height:490px; position:relative; display:flex; align-items:flex-end; padding:28px 14px 44px; perspective:1400px; }
.ff-foundation { position:absolute; left:0; right:0; bottom:43px; height:18px; display:flex; align-items:center; }
.ff-foundation::before,.ff-foundation::after { content:""; position:absolute; left:0; right:0; border-top:1px solid rgba(181,203,255,.24); opacity:0; transform:scaleX(0); transform-origin:left; }
.ff-foundation::before { top:4px; animation:ffFoundationDraw .72s cubic-bezier(.2,.75,.2,1) .5s forwards; }
.ff-foundation::after { top:13px; animation:ffFoundationDraw .72s cubic-bezier(.2,.75,.2,1) .62s forwards; }
.ff-foundation span { width:100%; height:100%; opacity:0; background:repeating-linear-gradient(90deg,transparent 0 18px,rgba(181,203,255,.18) 18px 19px); animation:ffSoftIn .4s ease .85s forwards; }
.ff-architectural-pillars { width:100%; height:100%; display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(8px,1.15vw,16px); align-items:end; position:relative; }
.ff-architectural-pillar {
  --lift:0px;
  position:relative;
  height:var(--pillar-height);
  min-width:0;
  padding:0;
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  border-bottom:0;
  border-radius:8px 8px 1px 1px;
  background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.13) 48%,rgba(255,255,255,.025));
  box-shadow:inset 1px 0 rgba(255,255,255,.08),inset -1px 0 rgba(0,0,0,.5),0 30px 80px rgba(0,0,0,.28);
  overflow:visible;
  transform:translateY(calc(100% + 44px)) scaleY(.04);
  transform-origin:center bottom;
  opacity:0;
  cursor:pointer;
  transition:height .5s cubic-bezier(.2,.75,.2,1),transform .5s cubic-bezier(.2,.75,.2,1),border-color .35s ease,background .35s ease,box-shadow .35s ease;
  animation:ffArchitecturalRise .82s cubic-bezier(.16,.86,.25,1) calc(1s + (var(--pillar-index) * .2s)) forwards;
}
.ff-architectural-pillar::before { content:""; position:absolute; inset:10px; border-left:1px solid rgba(255,255,255,.08); border-right:1px solid rgba(255,255,255,.035); pointer-events:none; }
.ff-architectural-pillar::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(var(--pillar-rgb),.36),rgba(var(--pillar-rgb),.08) 45%,transparent 78%); opacity:0; transition:opacity .35s ease; }
.ff-pillar-top { position:absolute; left:-5px; right:-5px; top:-9px; height:10px; border:1px solid rgba(255,255,255,.22); background:linear-gradient(90deg,#11131a,#2a2d37 50%,#101116); box-shadow:0 5px 15px rgba(0,0,0,.4); }
.ff-pillar-index { position:absolute; top:18px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.38); font-size:.66rem; letter-spacing:.12em; transition:opacity .25s ease; }
.ff-architectural-pillar strong { position:absolute; left:50%; bottom:20px; transform:translateX(-50%) rotate(180deg); writing-mode:vertical-rl; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; white-space:nowrap; }
.ff-pillar-icon { position:absolute; top:23px; left:50%; transform:translate(-50%,8px); font-size:1.25rem; color:rgb(var(--pillar-rgb)); opacity:0; transition:opacity .3s ease,transform .35s ease; }
.ff-pillar-detail { position:absolute; z-index:5; left:50%; bottom:72px; width:min(220px,21vw); padding:13px 14px; border:1px solid rgba(var(--pillar-rgb),.42); border-radius:11px; background:rgba(8,9,12,.92); backdrop-filter:blur(16px); color:#d9deea; font-size:.72rem; line-height:1.45; text-align:left; opacity:0; transform:translate(-50%,16px) scale(.96); pointer-events:none; transition:opacity .3s ease,transform .38s cubic-bezier(.2,.75,.2,1); box-shadow:0 18px 45px rgba(0,0,0,.5); }
.ff-mobile-pillar-summary { display:none; }
.ff-pillar-blueprint { position:absolute; inset:-34px -13px -28px; border:1px dashed rgba(var(--pillar-rgb),.34); opacity:0; transform:scale(.92); transition:opacity .35s ease,transform .4s ease; pointer-events:none; }
.ff-pillar-blueprint::before,.ff-pillar-blueprint::after { content:""; position:absolute; background:rgba(var(--pillar-rgb),.34); }
.ff-pillar-blueprint::before { left:50%; top:-18px; bottom:-18px; width:1px; }
.ff-pillar-blueprint::after { top:50%; left:-18px; right:-18px; height:1px; }
.ff-architectural-pillar:hover,.ff-architectural-pillar:focus-visible,.ff-architectural-pillar.is-active { --lift:-14px; height:calc(var(--pillar-height) + 5%); transform:translateY(var(--lift)) scaleY(1.01); outline:none; border-color:rgba(var(--pillar-rgb),.72); background:linear-gradient(90deg,rgba(var(--pillar-rgb),.08),rgba(var(--pillar-rgb),.24) 48%,rgba(var(--pillar-rgb),.06)); box-shadow:inset 1px 0 rgba(255,255,255,.15),0 28px 90px rgba(var(--pillar-rgb),.19); z-index:10; }
.ff-architectural-pillar:hover::after,.ff-architectural-pillar:focus-visible::after,.ff-architectural-pillar.is-active::after,.ff-architectural-pillar:hover .ff-pillar-blueprint,.ff-architectural-pillar:focus-visible .ff-pillar-blueprint,.ff-architectural-pillar.is-active .ff-pillar-blueprint { opacity:1; }
.ff-architectural-pillar:hover .ff-pillar-blueprint,.ff-architectural-pillar:focus-visible .ff-pillar-blueprint,.ff-architectural-pillar.is-active .ff-pillar-blueprint { transform:scale(1); }
.ff-architectural-pillar:hover .ff-pillar-icon,.ff-architectural-pillar:focus-visible .ff-pillar-icon,.ff-architectural-pillar.is-active .ff-pillar-icon { opacity:1; transform:translate(-50%,0); }
.ff-architectural-pillar:hover .ff-pillar-index,.ff-architectural-pillar:focus-visible .ff-pillar-index,.ff-architectural-pillar.is-active .ff-pillar-index { opacity:0; }
.ff-architectural-pillar:hover .ff-pillar-detail,.ff-architectural-pillar:focus-visible .ff-pillar-detail,.ff-architectural-pillar.is-active .ff-pillar-detail { opacity:1; transform:translate(-50%,0) scale(1); }
.ff-architecture-caption { position:absolute; left:14px; right:14px; bottom:12px; display:flex; justify-content:space-between; color:rgba(172,193,238,.35); font-size:.55rem; letter-spacing:.16em; opacity:0; animation:ffSoftIn .6s ease 2.15s forwards; }
.ff-scroll-cue { position:absolute; left:50%; bottom:18px; transform:translateX(-50%); display:flex; align-items:center; gap:11px; color:#727682; font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; opacity:0; animation:ffSoftIn .7s ease 3.25s forwards; }
.ff-scroll-cue i { width:34px; height:1px; background:#7fa6ff; position:relative; overflow:hidden; }
.ff-scroll-cue i::after { content:""; position:absolute; inset:0; background:#fff; transform:translateX(-100%); animation:ffScrollSweep 2s ease-in-out 3.5s infinite; }
@keyframes ffGridFade { to{opacity:1} }
@keyframes ffFoundationDraw { to{opacity:1;transform:scaleX(1)} }
@keyframes ffArchitecturalRise { 0%{opacity:0;transform:translateY(calc(100% + 44px)) scaleY(.04)} 25%{opacity:1} 100%{opacity:1;transform:translateY(0) scaleY(1)} }
@keyframes ffWordmarkFocus { to{opacity:1;filter:blur(0);transform:scale(1)} }
@keyframes ffSoftUp { to{opacity:1;transform:translateY(0)} }
@keyframes ffSoftIn { to{opacity:1} }
@keyframes ffHeroAura { to{opacity:1} }
@keyframes ffBlueprintX { from{opacity:0;transform:scaleX(.05)} to{opacity:1;transform:scaleX(1)} }
@keyframes ffBlueprintY { from{opacity:0;transform:scaleY(.05)} to{opacity:1;transform:scaleY(1)} }
@keyframes ffScrollSweep { 0%,15%{transform:translateX(-100%)} 55%,100%{transform:translateX(100%)} }
@media (max-width:1080px) {
  .ff-cinematic-stage { grid-template-columns:1fr; padding-top:50px; }
  .ff-hero-intro { max-width:780px; }
  .ff-architecture { width:min(100%,760px); height:510px; min-height:0; margin:-20px auto 0; }
  .ff-cinematic-hero { padding-bottom:76px; }
}
@media (max-width:700px) {
  .ff-cinematic-hero { padding-top:90px; }
  .ff-cinematic-stage { min-height:auto; padding-top:35px; }
  .ff-cinema-wordmark { font-size:clamp(3.5rem,19vw,5.6rem); }
  .ff-cinema-lead { font-size:.93rem; }
  .ff-architecture { height:390px; margin-top:12px; padding-inline:0; }
  .ff-architectural-pillars { gap:6px; }
  .ff-architectural-pillar strong { font-size:.58rem; bottom:14px; }
  .ff-pillar-detail { display:none; }
  .ff-mobile-pillar-summary {
    display:block; position:absolute; z-index:30; left:12px; right:12px; bottom:47px;
    min-height:45px; padding:11px 13px; border:1px solid rgba(126,164,255,.38); border-radius:11px;
    background:rgba(8,9,12,.94); color:#e2e7f0; font-size:.76rem; line-height:1.35;
    text-align:center; opacity:0; transform:translateY(8px); pointer-events:none;
    transition:opacity .25s ease,transform .25s ease;
  }
  .ff-mobile-pillar-summary.is-visible { opacity:1; transform:translateY(0); }
  .ff-architecture-caption span:nth-child(2) { display:none; }
  .ff-scroll-cue { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .ff-cinematic-hero::after,.ff-cinematic-hero::before,.ff-blueprint-axis,.ff-blueprint-measure,.ff-cinema-eyebrow,.ff-cinema-wordmark,.ff-cinema-tagline,.ff-cinema-lead,.ff-cinema-actions,.ff-architectural-pillar,.ff-foundation::before,.ff-foundation::after,.ff-foundation span,.ff-architecture-caption,.ff-scroll-cue { animation:none!important; opacity:1!important; transform:none!important; filter:none!important; }
}

/* The Forge — scroll-engineered process v0.6 */
.ff-forge {
  position: relative;
  overflow: clip;
  padding: clamp(100px,12vw,180px) 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 18% 20%,rgba(79,140,255,.12),transparent 30%),
    radial-gradient(circle at 82% 78%,rgba(34,211,238,.06),transparent 28%),
    #07090d;
}
.ff-forge-grid {
  position:absolute;
  inset:0;
  opacity:.34;
  background-image:
    linear-gradient(rgba(121,169,255,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(121,169,255,.075) 1px,transparent 1px),
    linear-gradient(rgba(121,169,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(121,169,255,.035) 1px,transparent 1px);
  background-size:80px 80px,80px 80px,16px 16px,16px 16px;
  mask-image:linear-gradient(90deg,rgba(0,0,0,.8),#000 50%,rgba(0,0,0,.5));
}
.ff-forge-layout { position:relative; display:grid; grid-template-columns:minmax(260px,.72fr) minmax(540px,1.28fr); column-gap:clamp(45px,8vw,110px); row-gap:0; align-items:start; }
.ff-forge-intro { position:sticky; top:150px; padding-top:12px; }
.ff-forge-intro h2 { margin:18px 0 25px; font-size:clamp(3rem,5vw,5.4rem); line-height:.92; letter-spacing:-.065em; }
.ff-forge-intro > p { max-width:510px; color:#aeb8c8; font-size:1.04rem; line-height:1.75; }
.ff-forge-spec { display:grid; gap:9px; margin-top:42px; padding-top:19px; border-top:1px solid rgba(136,180,255,.24); color:rgba(175,204,255,.5); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.63rem; letter-spacing:.13em; }
.ff-forge-blueprint { position:relative; display:grid; gap:54px; padding:42px 0 44px; }
.ff-forge-spine { position:absolute; left:50%; top:30px; bottom:72px; width:1px; background:rgba(119,166,246,.15); transform:translateX(-50%); }
.ff-forge-spine span { display:block; width:1px; height:100%; background:linear-gradient(#9cc2ff,#55d7ef); transform:scaleY(0); transform-origin:top; box-shadow:0 0 14px rgba(105,174,255,.45); transition:transform 2.4s cubic-bezier(.2,.7,.15,1); }
.ff-forge.is-forging .ff-forge-spine span { transform:scaleY(1); }
.ff-forge-stage { position:relative; width:calc(50% - 42px); opacity:.32; filter:saturate(.2); transform:translateY(30px); transition:opacity .6s ease,filter .6s ease,transform .8s cubic-bezier(.2,.75,.2,1); transition-delay:calc(var(--stage) * .18s); }
.ff-forge-stage:nth-of-type(odd) { margin-right:auto; }
.ff-forge-stage:nth-of-type(even) { margin-left:auto; }
.ff-forge-stage::after { content:""; position:absolute; top:50%; width:42px; height:1px; background:linear-gradient(90deg,rgba(126,177,255,.9),rgba(126,177,255,.18)); transform:scaleX(0); transition:transform .48s ease calc(var(--stage) * .18s + .18s); }
.ff-forge-stage:nth-of-type(odd)::after { left:100%; transform-origin:left; }
.ff-forge-stage:nth-of-type(even)::after { right:100%; transform-origin:right; background:linear-gradient(90deg,rgba(126,177,255,.18),rgba(126,177,255,.9)); }
.ff-forge-stage.is-forged { opacity:1; filter:saturate(1); transform:translateY(0); }
.ff-forge-stage.is-forged::after { transform:scaleX(1); }
.ff-forge-node { position:absolute; top:50%; width:13px; height:13px; border:1px solid rgba(139,185,255,.8); background:#090d14; transform:translateY(-50%) rotate(45deg) scale(.45); opacity:.2; transition:transform .5s ease calc(var(--stage) * .18s + .3s),opacity .4s ease; z-index:2; }
.ff-forge-stage:nth-of-type(odd) .ff-forge-node { left:calc(100% + 36px); }
.ff-forge-stage:nth-of-type(even) .ff-forge-node { right:calc(100% + 36px); }
.ff-forge-stage.is-forged .ff-forge-node { transform:translateY(-50%) rotate(45deg) scale(1); opacity:1; box-shadow:0 0 18px rgba(83,164,255,.65); }
.ff-forge-node i { position:absolute; inset:3px; background:#96bdff; }
.ff-forge-box { position:relative; min-height:230px; padding:27px 27px 24px; border:1px solid rgba(137,178,242,.20); background:linear-gradient(145deg,rgba(19,28,43,.83),rgba(8,12,19,.72)); clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px)); transition:border-color .45s ease,background .45s ease,box-shadow .45s ease,transform .45s ease; }
.ff-forge-box::before,.ff-forge-box::after { content:""; position:absolute; background:rgba(140,188,255,.8); opacity:0; transition:opacity .35s ease .25s; }
.ff-forge-box::before { top:-1px; left:18px; width:44px; height:1px; }
.ff-forge-box::after { left:-1px; top:18px; width:1px; height:44px; }
.ff-forge-stage.is-forged .ff-forge-box { border-color:rgba(132,183,255,.48); background:linear-gradient(145deg,rgba(28,44,67,.92),rgba(8,13,21,.82)); box-shadow:inset 0 0 34px rgba(75,143,240,.06),0 18px 70px rgba(0,0,0,.25); }
.ff-forge-stage.is-forged .ff-forge-box::before,.ff-forge-stage.is-forged .ff-forge-box::after { opacity:1; }
.ff-forge-stage:hover .ff-forge-box { transform:translateY(-5px); border-color:rgba(134,192,255,.72); box-shadow:inset 0 0 45px rgba(75,143,240,.1),0 25px 80px rgba(0,0,0,.38); }
.ff-forge-number,.ff-forge-box small { display:block; color:rgba(159,197,255,.52); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.62rem; letter-spacing:.14em; }
.ff-forge-number { margin-bottom:28px; }
.ff-forge-icon { position:absolute; top:23px; right:24px; display:grid; place-items:center; width:38px; height:38px; border:1px solid rgba(139,187,255,.23); color:#a7c8ff; font-size:1.15rem; }
.ff-forge-box h3 { margin:0 0 11px; font-size:clamp(1.7rem,2.7vw,2.5rem); letter-spacing:-.045em; }
.ff-forge-box p { margin:0 0 26px; color:#9da9ba; line-height:1.62; font-size:.91rem; }
.ff-grow-stage { grid-column:2; position:relative; z-index:3; display:grid; gap:10px; margin-top:0; padding:30px 32px; border:1px solid rgba(103,227,190,.5); border-radius:18px; background:linear-gradient(135deg,rgba(31,112,88,.25),rgba(10,35,29,.38)); box-shadow:inset 0 1px rgba(190,255,232,.08),0 22px 70px rgba(0,0,0,.24); opacity:.28; transform:translateY(18px); transition:opacity .55s ease 1.05s,transform .55s ease 1.05s,border-color .3s ease,box-shadow .3s ease; }
.ff-forge.is-complete .ff-grow-stage { opacity:1; transform:none; }
.ff-grow-stage::before { content:""; position:absolute; left:50%; bottom:100%; width:1px; height:18px; background:#55d7ef; transform:translateX(-50%); box-shadow:0 0 12px rgba(85,215,239,.35); }
.ff-grow-diamond { position:absolute; left:50%; top:-7px; width:11px; height:11px; border:1px solid rgba(103,227,190,.8); background:#09110f; transform:translate(-50%,-50%) rotate(45deg); box-shadow:0 0 16px rgba(103,227,190,.35); }
.ff-grow-stage small { color:rgba(132,239,207,.78); font:700 .62rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.17em; }
.ff-grow-stage h3 { margin:2px 0 0; color:#dcfff4; font-size:clamp(1.8rem,3vw,2.65rem); letter-spacing:-.05em; }
.ff-grow-stage p { max-width:650px; margin:0; color:#afc9c1; line-height:1.65; }
.ff-grow-stage:hover { border-color:rgba(103,227,190,.72); box-shadow:inset 0 1px rgba(190,255,232,.12),0 26px 80px rgba(18,91,71,.14); }
.ff-forge-coordinate { position:absolute; color:rgba(154,191,255,.34); font:500 .58rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.12em; }
.ff-forge-coordinate-a { top:5px; left:10px; }
.ff-forge-coordinate-b { right:6px; bottom:14px; writing-mode:vertical-rl; }
@media (max-width:980px){
  .ff-forge-layout { grid-template-columns:1fr; }
  .ff-forge-intro { position:relative; top:auto; max-width:720px; }
  .ff-forge-blueprint { max-width:780px; width:100%; margin:40px auto 0; }
  .ff-grow-stage { grid-column:1; width:min(100%,780px); margin:0 auto; }
}
@media (max-width:680px){
  .ff-forge { padding-block:90px; }
  .ff-forge-grid { background-size:48px 48px,48px 48px,12px 12px,12px 12px; }
  .ff-forge-blueprint { gap:34px; padding-left:34px; }
  .ff-forge-spine { left:8px; transform:none; }
  .ff-forge-stage,.ff-forge-stage:nth-of-type(odd),.ff-forge-stage:nth-of-type(even) { width:100%; margin:0; }
  .ff-forge-stage::after,.ff-forge-stage:nth-of-type(odd)::after,.ff-forge-stage:nth-of-type(even)::after { right:100%; left:auto; width:26px; transform-origin:right; background:linear-gradient(90deg,rgba(126,177,255,.2),rgba(126,177,255,.9)); }
  .ff-forge-stage .ff-forge-node,.ff-forge-stage:nth-of-type(odd) .ff-forge-node,.ff-forge-stage:nth-of-type(even) .ff-forge-node { right:calc(100% + 20px); left:auto; }
  .ff-forge-box { min-height:0; padding:24px 22px; }
  .ff-forge-number { margin-bottom:24px; }
  .ff-grow-stage { width:calc(100% - 34px); margin-left:34px; padding:25px 21px; }
  .ff-grow-stage::before { left:-26px; height:18px; transform:none; }
  .ff-grow-diamond { left:-26px; }
}
@media (prefers-reduced-motion:reduce){
  .ff-forge-spine span,.ff-forge-stage,.ff-forge-stage::after,.ff-forge-node,.ff-grow-stage { transition:none!important; }
}


/* ForgeFive v0.7 — supplied brand logo and header spacing fix */
.header-inner { min-height:88px; }
.site-branding {
  flex:0 0 auto;
  display:flex;
  align-items:center;
  min-width:0;
  padding:8px 0;
}
.ff-header-logo {
  display:block;
  width:auto;
  height:64px;
  max-width:150px;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.22));
  transition:transform .28s cubic-bezier(.2,.75,.2,1),filter .28s ease;
}
.site-branding:hover .ff-header-logo,
.site-branding:focus-visible .ff-header-logo {
  transform:translateY(-1px);
  filter:drop-shadow(0 8px 22px rgba(79,140,255,.22));
}
@media (max-width:900px) {
  .header-inner { min-height:78px; }
  .ff-header-logo { height:54px; max-width:126px; }
}

/* v1.31 — customer-first homepage while preserving the ForgeFive showpieces. */
.ff-home-focus-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.55fr);gap:clamp(35px,8vw,110px);align-items:end;margin-bottom:42px}
.ff-home-focus-head h2{margin:12px 0 0;font-size:clamp(2.5rem,4.8vw,4.9rem);line-height:.95;letter-spacing:-.055em}.ff-home-focus-head h2 span,.ff-home-difference h2 span{color:#8fb4ff}.ff-home-focus-head>p{margin:0;color:var(--ff-muted);font-size:1.02rem;line-height:1.75}
.ff-home-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--ff-line);border-radius:22px;background:rgba(255,255,255,.015)}
.ff-home-focus-card{display:flex;min-width:0;min-height:410px;flex-direction:column;padding:clamp(25px,3.4vw,42px);border-right:1px solid var(--ff-line);background:linear-gradient(145deg,rgba(255,255,255,.02),transparent)}.ff-home-focus-card:last-child{border-right:0}.ff-home-focus-card-featured{background:radial-gradient(circle at 70% 0,rgba(79,140,255,.17),transparent 42%),rgba(79,140,255,.035)}
.ff-home-focus-card h3{margin:52px 0 14px;font-size:clamp(1.65rem,2.5vw,2.4rem);line-height:1.04;letter-spacing:-.045em}.ff-home-focus-card .ff-ownership-summary{color:var(--ff-muted);line-height:1.65}.ff-home-focus-card .ff-card-link{margin-top:auto;padding-top:26px}
.ff-home-difference{border-block:1px solid var(--ff-line);background:linear-gradient(145deg,#0c0e13,#111827)}.ff-home-difference-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(45px,9vw,125px);align-items:start}.ff-home-difference h2{margin:13px 0 22px;font-size:clamp(2.5rem,4.8vw,4.9rem);line-height:.95;letter-spacing:-.055em}.ff-home-difference-layout>div:first-child>p{margin:0;color:#b5bdcb;line-height:1.75}
.ff-home-difference-points{border-top:1px solid var(--ff-line)}.ff-home-difference-points article{display:grid;grid-template-columns:38px 1fr;gap:19px;padding:23px 0;border-bottom:1px solid var(--ff-line)}.ff-home-difference-points article>span{color:#83aaff;font-size:.68rem;letter-spacing:.12em}.ff-home-difference-points strong{display:block;margin-bottom:6px;font-size:1.08rem}.ff-home-difference-points p{margin:0;color:var(--ff-muted);font-size:.88rem;line-height:1.62}
@media(max-width:900px){.ff-home-focus-head,.ff-home-difference-layout{grid-template-columns:1fr}.ff-home-focus-grid{grid-template-columns:1fr}.ff-home-focus-card{min-height:0;border-right:0;border-bottom:1px solid var(--ff-line)}.ff-home-focus-card:last-child{border-bottom:0}.ff-home-focus-card h3{margin-top:34px}.ff-home-focus-card .ff-card-link{margin-top:24px;padding-top:0}.ff-dashboard-demo{overflow:hidden}.ff-showcase{touch-action:pan-y}.ff-showcase-controls button{min-width:44px;min-height:44px}}
@media(max-width:560px){.ff-home-focus-head h2,.ff-home-difference h2{font-size:clamp(2.25rem,11vw,3.3rem)}.ff-cinema-actions{align-items:stretch;flex-direction:column}.ff-cinema-actions .ff-button{justify-content:center}.ff-showcase-controls{gap:12px}.ff-showcase-controls button{width:46px;height:46px}.ff-dashboard-tabs{padding-bottom:5px;scrollbar-width:none}}

/* v1.31.1 — isolate the new cards from legacy ownership-list rules. */
.ff-home-focus-card .ff-ownership-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:28px 0 0!important;padding:0!important;list-style:none!important}
.ff-home-focus-card .ff-ownership-list li{display:flex!important;align-items:flex-start!important;gap:10px!important;min-width:0!important;color:#e5e9f1!important;font-weight:600!important;line-height:1.45!important}
.ff-home-focus-card .ff-ownership-list li::before{content:"✓"!important;display:grid!important;place-items:center!important;width:22px!important;height:22px!important;flex:0 0 22px!important;border:1px solid rgba(114,160,255,.42)!important;border-radius:50%!important;background:rgba(79,140,255,.08)!important;color:#9fc0ff!important;font-size:.72rem!important;box-shadow:none!important}
.ff-dashboard-proof-visuals{min-width:0}.ff-proof-browser img{display:block;width:100%;height:auto;max-width:100%}
@media(max-width:700px){.ff-home-focus-card .ff-ownership-list{margin-top:22px!important}.ff-dashboard-proof-visuals{overflow:hidden}.ff-proof-browser img{object-fit:contain}}

/* v1.31.2 — rebuilt homepage service paths. */
.ff-service-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--ff-line);border-radius:24px;background:#0d0e12}
.ff-service-path{display:flex;min-width:0;min-height:390px;flex-direction:column;padding:clamp(27px,3.2vw,42px);border-right:1px solid var(--ff-line);color:inherit;background:linear-gradient(145deg,rgba(255,255,255,.025),transparent);transition:background .25s ease,box-shadow .25s ease}
.ff-service-path:last-child{border-right:0}.ff-service-path.is-featured{background:radial-gradient(circle at 78% 5%,rgba(79,140,255,.18),transparent 42%),#111621}.ff-service-path:hover,.ff-service-path:focus-visible{color:inherit;background-color:rgba(79,140,255,.065);box-shadow:inset 0 0 0 1px rgba(113,159,255,.3)}
.ff-service-path header{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#9bbcff;font:750 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em}.ff-service-path header i{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(132,169,245,.25);border-radius:50%;font-family:inherit;font-size:.9rem;font-style:normal;transition:transform .22s ease,border-color .22s ease}.ff-service-path:hover header i,.ff-service-path:focus-visible header i{transform:translate(2px,-2px);border-color:#78a4ff}
.ff-service-path>div{margin:auto 0}.ff-service-path h3{margin:0 0 15px;font-size:clamp(1.8rem,2.8vw,2.7rem);line-height:1;letter-spacing:-.05em}.ff-service-path p{max-width:360px;margin:0;color:#aeb6c5;line-height:1.65}
.ff-service-path footer{display:flex;flex-wrap:wrap;gap:7px;margin-top:36px}.ff-service-path footer span{padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:#bec6d3;background:rgba(255,255,255,.025);font-size:.68rem;font-weight:700}
@media(max-width:900px){.ff-service-paths{grid-template-columns:1fr}.ff-service-path{min-height:0;border-right:0;border-bottom:1px solid var(--ff-line)}.ff-service-path:last-child{border-bottom:0}.ff-service-path>div{margin:48px 0 0}.ff-service-path footer{margin-top:28px}}
@media(max-width:560px){.ff-service-paths{border-radius:20px}.ff-service-path{padding:25px 21px}.ff-service-path h3{font-size:clamp(1.75rem,9vw,2.4rem)}.ff-service-path header i{width:44px;height:44px}.ff-service-path>div{margin-top:38px}}

/*
 * v1.31.3 — natural desktop content rhythm across service pages.
 * Shared introductions are one centred reading block instead of three items
 * scattered through a two-column grid.
 */
@media(min-width:901px){
  .ff-local-design-page .ff-page-content{padding-block:clamp(74px,7vw,104px)}
  .ff-local-design-page .ff-local-design-fit{padding-block:clamp(78px,7vw,108px)}
  .ff-local-design-page .ff-local-design-heading{
    display:flex;
    max-width:920px;
    margin:0 auto clamp(42px,5vw,66px);
    align-items:center;
    flex-direction:column;
    gap:0;
    text-align:center;
  }
  .ff-local-design-page .ff-local-design-heading>.ff-kicker{margin-bottom:16px}
  .ff-local-design-page .ff-local-design-heading h2{
    max-width:880px;
    margin:0;
    text-wrap:balance;
  }
  .ff-local-design-page .ff-local-design-heading>p{
    max-width:740px;
    margin:22px auto 0;
    text-wrap:pretty;
  }
  .ff-local-design-page .ff-local-design-split{
    grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);
    gap:clamp(44px,6vw,82px);
    align-items:start;
  }
  .ff-local-design-page .ff-local-design-split>div:first-child h2{
    max-width:500px;
    text-wrap:balance;
  }
  .ff-local-design-page .ff-page-proof,
  .ff-marketing-page .ff-page-proof{
    display:block;
    max-width:980px;
    margin:clamp(52px,6vw,82px) auto 0;
    padding:clamp(38px,4.5vw,58px);
    text-align:center;
  }
  .ff-local-design-page .ff-page-proof .ff-kicker,
  .ff-marketing-page .ff-page-proof .ff-kicker{display:block;margin-bottom:16px}
  .ff-local-design-page .ff-page-proof h2,
  .ff-marketing-page .ff-page-proof h2{
    max-width:800px;
    margin:0 auto;
    text-wrap:balance;
  }
  .ff-local-design-page .ff-page-proof p,
  .ff-marketing-page .ff-page-proof p{
    max-width:760px;
    margin:20px auto 0;
  }
  .ff-local-design-page .ff-page-card-grid{max-width:1110px;margin-inline:auto}
  .ff-local-design-page .ff-development-system{max-width:1110px;margin-inline:auto}
}

/* ForgeFive v1.19 — real control-centre proof and focused search pages */
.ff-dashboard-proof {
  position:relative;
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.55fr);
  gap:clamp(34px,5vw,74px);
  align-items:center;
  margin:clamp(52px,7vw,92px) 0 0;
  padding:clamp(30px,4.8vw,68px);
  overflow:hidden;
  border:1px solid rgba(118,161,255,.25);
  border-radius:clamp(24px,3vw,38px);
  background:radial-gradient(circle at 88% 8%,rgba(79,140,255,.16),transparent 36%),linear-gradient(145deg,#11141d,#0b0d12 66%);
  box-shadow:0 34px 100px rgba(0,0,0,.38);
}
.ff-dashboard-proof::before { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:32px 32px; mask-image:linear-gradient(90deg,transparent,#000); }
.ff-dashboard-proof-copy { position:relative; z-index:2; }
.ff-dashboard-proof-copy h3 { margin:15px 0 20px; font-size:clamp(2.25rem,4.2vw,4.4rem); line-height:.94; letter-spacing:-.06em; }
.ff-dashboard-proof-copy p { margin:0; color:#adb5c5; font-size:clamp(.98rem,1.2vw,1.08rem); line-height:1.75; }
.ff-dashboard-proof-copy ul { display:grid; gap:12px; margin:28px 0 0; padding:0; list-style:none; }
.ff-dashboard-proof-copy li { display:flex; gap:11px; align-items:flex-start; color:#e8edf7; font-size:.9rem; }
.ff-dashboard-proof-copy li::before { content:""; width:7px; height:7px; flex:0 0 7px; margin-top:.55em; border-radius:50%; background:#79a6ff; box-shadow:0 0 16px rgba(79,140,255,.8); }
.ff-dashboard-proof-visuals { position:relative; min-height:clamp(390px,43vw,570px); z-index:1; }
.ff-proof-browser { position:absolute; overflow:hidden; border:1px solid rgba(167,191,240,.3); border-radius:17px; background:#eef1f5; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.ff-proof-browser.is-primary { top:1%; right:-4%; width:92%; transform:rotate(1.8deg); }
.ff-proof-browser.is-secondary { bottom:0; left:0; width:72%; transform:rotate(-2deg); }
.ff-proof-browser-bar { display:flex; height:30px; align-items:center; gap:6px; padding:0 12px; border-bottom:1px solid #303743; background:#171b24; }
.ff-proof-browser-bar i { width:7px; height:7px; border-radius:50%; background:#667083; }
.ff-proof-browser-bar small { margin-left:7px; overflow:hidden; color:#aeb7c8; font:600 .57rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.04em; text-overflow:ellipsis; white-space:nowrap; }
.ff-proof-browser img { width:100%; background:#eef1f5; }
.ff-dashboard-proof figcaption { position:absolute; right:22px; bottom:13px; color:#687287; font-size:.62rem; letter-spacing:.07em; }

.ff-page-hero { position:relative; padding:clamp(140px,16vw,220px) 0 clamp(70px,9vw,120px); overflow:hidden; border-bottom:1px solid var(--ff-line); background:radial-gradient(circle at 82% 35%,rgba(79,140,255,.15),transparent 30%),linear-gradient(180deg,#0b0d13,#09090b); }
.ff-page-hero::after { content:""; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(90deg,#000,transparent 85%); }
.ff-page-hero .ff-container { position:relative; z-index:1; }
.ff-breadcrumbs { display:flex; gap:10px; align-items:center; margin-bottom:clamp(35px,5vw,62px); color:#778299; font-size:.72rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.ff-breadcrumbs a { color:#a8c4ff; }
.ff-breadcrumbs a:hover,.ff-breadcrumbs a:focus-visible { color:#fff; }
.ff-page-hero-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(280px,.65fr); gap:clamp(40px,9vw,130px); align-items:end; }
.ff-page-hero h1 { max-width:850px; margin:18px 0 0; font-size:clamp(3.3rem,7vw,7.8rem); line-height:.88; letter-spacing:-.075em; }
.ff-page-hero-grid > p { max-width:530px; margin:0; color:#b1b8c7; font-size:clamp(1rem,1.4vw,1.2rem); line-height:1.8; }
.ff-page-content { padding:clamp(72px,9vw,128px) 0; }
.ff-page-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.ff-page-card { min-height:360px; padding:clamp(28px,4vw,52px); border:1px solid var(--ff-line); border-radius:24px; background:linear-gradient(145deg,rgba(79,140,255,.055),rgba(255,255,255,.018)); }
.ff-page-card > span { color:#79a6ff; font:800 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; }
.ff-page-card h2 { margin:45px 0 16px; font-size:clamp(1.8rem,3vw,3rem); line-height:1; letter-spacing:-.045em; }
.ff-page-card p { max-width:610px; margin:0; color:#aab2c0; line-height:1.75; }
.ff-page-card ul { display:grid; gap:9px; margin:28px 0 0; padding:0; list-style:none; color:#e4e9f2; font-size:.9rem; }
.ff-page-card li::before { content:"+"; margin-right:10px; color:#79a6ff; }
.ff-page-proof { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(300px,1.1fr); gap:40px 80px; align-items:end; margin-top:18px; padding:clamp(38px,5vw,70px); border:1px solid rgba(112,164,255,.3); border-radius:24px; background:linear-gradient(105deg,rgba(79,140,255,.12),rgba(255,255,255,.018)); }
.ff-page-proof .ff-kicker { grid-column:1/-1; }
.ff-page-proof h2 { margin:0; font-size:clamp(2.4rem,4vw,4.8rem); line-height:.94; letter-spacing:-.06em; }
.ff-page-proof p { margin:0; color:#b7bfce; font-size:1.05rem; line-height:1.8; }
.ff-related-pages { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:clamp(55px,8vw,100px); }
.ff-related-pages a { position:relative; min-height:145px; padding:23px; border:1px solid var(--ff-line); border-radius:18px; background:rgba(255,255,255,.02); transition:transform .22s ease,border-color .22s ease,background .22s ease; }
.ff-related-pages a:hover,.ff-related-pages a:focus-visible { transform:translateY(-4px); border-color:rgba(119,164,255,.55); background:rgba(79,140,255,.075); }
.ff-related-pages small,.ff-related-pages strong { display:block; }
.ff-related-pages small { color:#7f8ba1; font-size:.66rem; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.ff-related-pages strong { margin-top:26px; font-size:1rem; }
.ff-related-pages span { position:absolute; top:20px; right:20px; color:#8eb5ff; }
.ff-page-cta { padding:clamp(68px,8vw,110px) 0; border-top:1px solid var(--ff-line); background:linear-gradient(100deg,rgba(79,140,255,.1),transparent 58%); }
.ff-page-cta .ff-container { display:flex; gap:40px; align-items:end; justify-content:space-between; }
.ff-page-cta h2 { margin:15px 0 10px; font-size:clamp(2.4rem,5vw,5.4rem); line-height:.94; letter-spacing:-.06em; }
.ff-page-cta p { max-width:650px; margin:0; color:#adb5c4; }
.ff-page-cta .ff-button { flex:0 0 auto; }
.ff-search-foundation > footer { display:flex; gap:20px 35px; align-items:center; justify-content:space-between; }
.ff-search-foundation > footer a { flex:0 0 auto; color:#fff; font-size:.78rem; letter-spacing:.02em; }
.ff-search-foundation > footer a:hover,.ff-search-foundation > footer a:focus-visible { color:#9fc0ff; }

.ff-contact-page-form { padding:clamp(68px,8vw,115px) 0; }
.ff-contact-page-grid { display:grid; grid-template-columns:minmax(260px,.7fr) minmax(480px,1.3fr); gap:clamp(40px,8vw,110px); align-items:start; }
.ff-contact-page-grid aside { position:sticky; top:130px; }
.ff-contact-page-grid aside h2 { margin:16px 0 18px; font-size:clamp(2.3rem,4.5vw,4.8rem); line-height:.94; letter-spacing:-.06em; }
.ff-contact-page-grid aside p { color:#abb3c2; line-height:1.75; }
.ff-contact-page-grid aside ul { display:grid; gap:10px; margin:28px 0 0; padding:0; color:#dce2ed; list-style:none; font-size:.88rem; }
.ff-contact-page-grid aside li::before { content:""; display:inline-block; width:6px; height:6px; margin:0 10px 2px 0; border-radius:50%; background:#79a6ff; }
.ff-email-button { display:inline-flex; gap:12px; align-items:center; margin-top:17px; padding:13px 18px; border:1px solid rgba(129,168,255,.4); border-radius:999px; color:#fff; font-weight:750; }

.footer-inner { display:grid; grid-template-columns:auto 1fr; gap:35px; align-items:start; }
.ff-footer-signoff { display:grid; gap:4px; }
.ff-footer-nav { display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:flex-end; }
.ff-footer-nav a { color:#9da6b6; font-size:.78rem; }
.ff-footer-nav a:hover,.ff-footer-nav a:focus-visible { color:#fff; }

@media (max-width:1000px) {
  .ff-dashboard-proof { grid-template-columns:1fr; }
  .ff-dashboard-proof-copy { max-width:680px; }
  .ff-dashboard-proof-visuals { min-height:clamp(410px,64vw,600px); }
  .ff-page-hero-grid,.ff-page-proof,.ff-contact-page-grid { grid-template-columns:1fr; }
  .ff-page-hero-grid { align-items:start; }
  .ff-contact-page-grid aside { position:static; max-width:700px; }
  .ff-related-pages { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .ff-dashboard-proof { display:block; padding:25px 20px 38px; border-radius:23px; }
  .ff-dashboard-proof-copy h3 { font-size:clamp(2.35rem,12vw,3.4rem); }
  .ff-dashboard-proof-visuals { display:grid; min-height:0; gap:16px; margin-top:32px; }
  .ff-proof-browser,.ff-proof-browser.is-primary,.ff-proof-browser.is-secondary { position:relative; inset:auto; width:100%; transform:none; border-radius:12px; }
  .ff-proof-browser-bar { height:27px; }
  .ff-dashboard-proof figcaption { position:static; display:block; margin-top:15px; text-align:center; }
  .ff-page-hero { padding:118px 0 68px; }
  .ff-page-hero h1 { font-size:clamp(3.15rem,15vw,5.3rem); overflow-wrap:anywhere; }
  .ff-page-card-grid,.ff-related-pages { grid-template-columns:1fr; }
  .ff-page-card { min-height:0; padding:28px 23px; border-radius:19px; }
  .ff-page-card h2 { margin-top:34px; }
  .ff-page-proof { display:block; padding:30px 23px; }
  .ff-page-proof h2 { margin:16px 0 20px; }
  .ff-related-pages a { min-height:120px; }
  .ff-page-cta .ff-container { display:grid; }
  .ff-page-cta .ff-button { width:100%; justify-content:center; }
  .ff-search-foundation > footer { display:grid; }
  .ff-contact-page-grid { display:block; }
  .ff-contact-page-grid > div { margin-top:42px; }
  .ff-contact-page-form .ff-project-wizard { padding:20px 15px; }
  .footer-inner { grid-template-columns:1fr; }
  .ff-footer-nav { justify-content:flex-start; }
}

@media (prefers-reduced-motion:reduce) {
  .ff-proof-browser,.ff-related-pages a { transform:none!important; transition:none!important; }
}

/* Homepage outcome, dashboard and managed-growth upgrade. */
.ff-outcomes{background:linear-gradient(180deg,#0b0c10,#10131a)}
.ff-outcomes .ff-section-head h2 span,.ff-managed-head h2 span{color:#8fb4ff}
.ff-outcome-ledger{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:54px;border:1px solid var(--ff-line);border-radius:var(--ff-radius);background:rgba(255,255,255,.018)}
.ff-outcome-ledger article{min-width:0;padding:30px;border-left:1px solid var(--ff-line)}
.ff-outcome-ledger article:first-child{border-left:0}
.ff-outcome-ledger span,.ff-search-points article>span,.ff-upgrade-catalogue article>span{color:#8fb4ff;font-size:.67rem;font-weight:800;letter-spacing:.16em}
.ff-outcome-ledger h3{margin:28px 0 10px;font-size:clamp(1.25rem,2vw,1.8rem);line-height:1.08}
.ff-outcome-ledger p{margin:0;color:var(--ff-muted);line-height:1.65}
.ff-search-foundation{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(420px,1.28fr);gap:clamp(34px,6vw,80px);margin-top:28px;padding:clamp(30px,5vw,64px);border:1px solid rgba(79,140,255,.28);border-radius:var(--ff-radius);background:radial-gradient(circle at 12% 12%,rgba(79,140,255,.17),transparent 37%),#0c0f16;box-shadow:var(--ff-shadow)}
.ff-search-foundation>header h3{max-width:560px;margin:14px 0 17px;font-size:clamp(2rem,4vw,4.2rem);line-height:.98;letter-spacing:-.045em}
.ff-search-foundation>header p{max-width:500px;margin:0;color:#b2b8c4;font-size:1.03rem;line-height:1.7}
.ff-search-points{display:grid;gap:0}
.ff-search-points article{display:grid;grid-template-columns:35px 1fr;gap:16px;padding:18px 0;border-top:1px solid var(--ff-line)}
.ff-search-points article:first-child{border-top:0}
.ff-search-points strong{display:block;margin-bottom:5px;font-size:1rem}
.ff-search-points p{margin:0;color:var(--ff-muted);line-height:1.55}
.ff-search-foundation>footer{grid-column:1/-1;padding-top:24px;border-top:1px solid rgba(79,140,255,.25);color:#cfe0ff;font-weight:750;letter-spacing:-.01em}

.ff-business-dashboard{overflow:hidden;background:#090a0e}
.ff-dashboard-intro,.ff-managed-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:clamp(35px,8vw,110px);align-items:end}
.ff-dashboard-intro h2,.ff-managed-head h2{max-width:820px;margin:10px 0 0;font-size:clamp(2.5rem,5.8vw,6.1rem);line-height:.93;letter-spacing:-.06em}
.ff-dashboard-intro p,.ff-managed-head p{margin:0 0 18px;color:var(--ff-muted);font-size:1.05rem;line-height:1.75}
.ff-dashboard-intro strong,.ff-managed-head strong{color:#c9dbff}
.ff-dashboard-demo{margin-top:58px}
.ff-dashboard-tabs,.ff-industry-tablist{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:#3a4c70 transparent}
.ff-dashboard-tabs button,.ff-industry-tablist button{flex:0 0 auto;min-height:45px;padding:0 18px;border:1px solid var(--ff-line);border-radius:999px;background:rgba(255,255,255,.025);color:#a7adba;font:inherit;font-size:.82rem;font-weight:750;cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}
.ff-dashboard-tabs button:hover,.ff-dashboard-tabs button:focus-visible,.ff-industry-tablist button:hover,.ff-industry-tablist button:focus-visible{border-color:#739ff1;color:#fff}
.ff-dashboard-tabs button[aria-selected=true],.ff-industry-tablist button[aria-selected=true]{border-color:#6f9fff;background:#4f8cff;color:#07101e;box-shadow:0 10px 30px rgba(79,140,255,.22)}
.ff-dashboard-screen{overflow:hidden;border:1px solid rgba(123,162,235,.32);border-radius:24px;background:linear-gradient(145deg,#151b28,#0d1017);box-shadow:0 35px 90px rgba(0,0,0,.4)}
.ff-dashboard-screen>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:17px;padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.1);background:#0c0f16}
.ff-dashboard-mark{display:flex;align-items:flex-end;gap:2px;width:37px;height:37px}
.ff-dashboard-mark i{display:block;flex:1;background:#73a0ff}.ff-dashboard-mark i:nth-child(1),.ff-dashboard-mark i:nth-child(5){height:38%}.ff-dashboard-mark i:nth-child(2),.ff-dashboard-mark i:nth-child(4){height:66%}.ff-dashboard-mark i:nth-child(3){height:100%;background:#fff}
.ff-dashboard-screen>header small,.ff-dashboard-screen>header strong{display:block}
.ff-dashboard-screen>header small{color:#7792bf;font-size:.58rem;font-weight:800;letter-spacing:.16em}
.ff-dashboard-screen>header strong{margin-top:4px;font-size:1rem}
.ff-dashboard-screen>header em{color:#7f899a;font-size:.7rem;font-style:normal}
.ff-dashboard-panels{padding:clamp(18px,4vw,42px)}
.ff-dashboard-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ff-js .ff-dashboard-panel:not(.is-active),.ff-js .ff-industry-panel:not(.is-active){display:none}
.ff-dashboard-panel article{position:relative;min-width:0;min-height:145px;padding:22px;border:1px solid rgba(255,255,255,.11);border-radius:15px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018));transition:transform .2s ease,border-color .2s ease,background .2s ease}
.ff-dashboard-panel article:hover{transform:translateY(-3px);border-color:rgba(114,160,255,.55);background:rgba(79,140,255,.07)}
.ff-dashboard-panel article>span{color:#78a4ff;font-size:.65rem;font-weight:800;letter-spacing:.14em}
.ff-dashboard-panel article strong{display:block;max-width:280px;margin-top:32px;font-size:clamp(1.05rem,2vw,1.4rem)}
.ff-dashboard-panel article small{position:absolute;right:18px;bottom:17px;color:#717c8e;font-size:.62rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}

.ff-managed-growth{background:linear-gradient(180deg,#10131a,#0a0b0f)}
.ff-care-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:55px;padding:16px;border:1px solid var(--ff-line);border-radius:16px;background:rgba(255,255,255,.02)}
.ff-care-strip span{flex:1 1 130px;padding:12px 14px;border-left:2px solid #4f8cff;background:rgba(79,140,255,.055);font-size:.78rem;font-weight:750}
.ff-growth-timeline{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:32px 0 0;padding:0;list-style:none}
.ff-growth-timeline:before{content:"";position:absolute;top:24px;right:8%;left:8%;height:1px;background:linear-gradient(90deg,rgba(79,140,255,.18),#4f8cff,rgba(79,140,255,.18))}
.ff-growth-timeline li{position:relative;min-width:0;padding:0 16px;text-align:center}
.ff-growth-timeline li>span{position:relative;z-index:1;display:grid;place-items:center;width:48px;height:48px;margin:0 auto 20px;border:1px solid #4f8cff;border-radius:50%;background:#0c1018;color:#a8c4ff;font-size:.7rem;font-weight:850;box-shadow:0 0 0 8px #0d1016}
.ff-growth-timeline strong{font-size:1.05rem}.ff-growth-timeline p{margin:7px 0 0;color:var(--ff-muted);font-size:.82rem;line-height:1.55}

.ff-upgrades{background:#09090b}
.ff-upgrade-catalogue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:52px}
.ff-upgrade-catalogue article{min-width:0;padding:25px;border:1px solid var(--ff-line);border-radius:16px;background:rgba(255,255,255,.025)}
.ff-upgrade-catalogue article:nth-child(1),.ff-upgrade-catalogue article:nth-child(6){background:linear-gradient(140deg,rgba(79,140,255,.11),rgba(255,255,255,.025));border-color:rgba(79,140,255,.27)}
.ff-upgrade-catalogue h3{margin:24px 0 9px;font-size:1.25rem}.ff-upgrade-catalogue p{margin:0;color:var(--ff-muted);line-height:1.6}
.ff-industry-upgrades{margin-top:28px;padding:clamp(25px,4vw,46px);border:1px solid var(--ff-line);border-radius:var(--ff-radius);background:#101218}
.ff-industry-upgrades>header{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}
.ff-industry-upgrades>header h3{margin:7px 0 0;font-size:clamp(1.7rem,3vw,2.8rem)}
.ff-industry-upgrades>header p{max-width:370px;margin:0;color:var(--ff-muted);text-align:right}
.ff-industry-panels{min-height:110px;padding:20px 0}
.ff-industry-panel{display:flex;flex-wrap:wrap;gap:9px}
.ff-industry-panel span{flex:1 1 175px;padding:16px;border:1px solid rgba(79,140,255,.22);background:rgba(79,140,255,.055);font-size:.83rem;font-weight:750;text-align:center}
.ff-industry-upgrades>footer{display:grid;grid-template-columns:auto 1fr;gap:18px;padding-top:22px;border-top:1px solid var(--ff-line)}
.ff-industry-upgrades>footer strong{color:#c9dbff}.ff-industry-upgrades>footer span{color:var(--ff-muted);line-height:1.55}
.ff-comparison{display:grid;grid-template-columns:minmax(220px,.52fr) minmax(500px,1.48fr);gap:45px;margin-top:28px;padding:clamp(26px,4vw,46px);border:1px solid rgba(79,140,255,.25);border-radius:var(--ff-radius);background:linear-gradient(145deg,#0b0d12,#121827)}
.ff-comparison>header h3{margin:9px 0 0;font-size:clamp(1.8rem,3.2vw,3rem);line-height:1.02}
.ff-comparison>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ff-comparison article{padding:22px;border:1px solid var(--ff-line);border-radius:14px;background:rgba(255,255,255,.025)}
.ff-comparison article.is-forgefive{border-color:rgba(79,140,255,.4);background:rgba(79,140,255,.075)}
.ff-comparison article>span{color:#9ba4b3;font-size:.68rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.ff-comparison .is-forgefive>span{color:#9dbdff}
.ff-comparison ul{display:grid;gap:10px;margin:20px 0 0;padding:0;list-style:none}.ff-comparison li{position:relative;padding-left:18px;color:#c3c7d0;line-height:1.45}.ff-comparison li:before{content:"";position:absolute;top:.55em;left:0;width:6px;height:6px;border:1px solid #647083;transform:rotate(45deg)}.ff-comparison .is-forgefive li:before{border-color:#6e9fff;background:#4f8cff}

@media(max-width:980px){
  .ff-search-foundation,.ff-dashboard-intro,.ff-managed-head,.ff-comparison{grid-template-columns:1fr}
  .ff-search-foundation{gap:34px}.ff-search-foundation>footer{grid-column:auto}
  .ff-growth-timeline{grid-template-columns:1fr;gap:0}.ff-growth-timeline:before{top:20px;bottom:20px;left:23px;width:1px;height:auto;background:linear-gradient(180deg,rgba(79,140,255,.18),#4f8cff,rgba(79,140,255,.18))}.ff-growth-timeline li{display:grid;grid-template-columns:48px 1fr;gap:18px;padding:0 0 24px;text-align:left}.ff-growth-timeline li>span{margin:0}.ff-growth-timeline li>div{padding-top:8px}
  .ff-upgrade-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ff-comparison{gap:25px}
}
@media(max-width:720px){
  .ff-outcome-ledger{grid-template-columns:1fr;margin-top:35px}.ff-outcome-ledger article{padding:23px;border-top:1px solid var(--ff-line);border-left:0}.ff-outcome-ledger article:first-child{border-top:0}.ff-outcome-ledger h3{margin-top:16px}
  .ff-search-foundation{grid-template-columns:minmax(0,1fr);padding:25px 20px}.ff-search-points article{grid-template-columns:28px 1fr;gap:10px}
  .ff-dashboard-intro,.ff-managed-head{gap:24px}.ff-dashboard-intro h2,.ff-managed-head h2{font-size:clamp(2.35rem,13vw,4.35rem)}
  .ff-dashboard-demo{margin-top:35px}.ff-dashboard-screen>header{grid-template-columns:auto 1fr;padding:17px}.ff-dashboard-screen>header em{display:none}.ff-dashboard-panels{padding:12px}.ff-dashboard-panel{grid-template-columns:1fr}.ff-dashboard-panel article{min-height:112px;padding:18px}.ff-dashboard-panel article strong{margin-top:20px}
  .ff-care-strip{display:grid;grid-template-columns:1fr 1fr;margin-top:35px;padding:10px}.ff-care-strip span{min-width:0;padding:10px;font-size:.72rem}
  .ff-upgrade-catalogue{grid-template-columns:1fr;margin-top:35px}.ff-upgrade-catalogue article{padding:22px}
  .ff-industry-upgrades{padding:22px 17px}.ff-industry-upgrades>header{align-items:flex-start;flex-direction:column;gap:10px}.ff-industry-upgrades>header p{text-align:left}.ff-industry-panel{display:grid;grid-template-columns:1fr 1fr}.ff-industry-panel span{min-width:0;padding:13px 8px;font-size:.75rem}.ff-industry-upgrades>footer{grid-template-columns:1fr;gap:7px}
  .ff-comparison{padding:22px 17px}.ff-comparison>div{grid-template-columns:1fr}.ff-comparison article{padding:19px}
}
@media(max-width:420px){.ff-care-strip,.ff-industry-panel{grid-template-columns:1fr}.ff-dashboard-tabs button,.ff-industry-tablist button{min-height:48px;padding:0 16px}}
@media(prefers-reduced-motion:reduce){.ff-dashboard-tabs button,.ff-industry-tablist button,.ff-dashboard-panel article{transition:none!important}.ff-dashboard-panel article:hover{transform:none}}

/* ForgeFive v1.7 — integrated Work archive */
.ff-work-page { background:#08090c; }
.ff-work-hero { position:relative; overflow:hidden; padding:clamp(170px,16vw,230px) 0 clamp(76px,9vw,120px); border-bottom:1px solid var(--ff-line); background:linear-gradient(145deg,#0a0b0f 0%,#0d111b 58%,#090a0e 100%); }
.ff-work-hero::before { content:""; position:absolute; inset:-55%; background:radial-gradient(ellipse at 72% 38%,rgba(79,140,255,.2) 0%,rgba(79,140,255,.08) 24%,transparent 53%); filter:blur(34px); pointer-events:none; }
.ff-work-hero-grid { position:relative; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.65fr); align-items:end; gap:70px; }
.ff-work-hero h1 { max-width:920px; margin:20px 0 0; font-size:clamp(4rem,10vw,9rem); line-height:.84; letter-spacing:-.075em; }
.ff-work-hero-grid > p { margin:0;color:var(--ff-muted);font-size:clamp(1rem,1.6vw,1.25rem); }
.ff-work-archive { padding:clamp(72px,9vw,130px) 0; }
.ff-work-head { display:flex; align-items:end; justify-content:space-between; gap:35px; margin-bottom:44px; }
.ff-work-head h2 { margin:8px 0 0; font-size:clamp(2.5rem,5.5vw,5.4rem); line-height:.92; letter-spacing:-.06em; }
.ff-work-head > p { max-width:520px; margin:0; color:var(--ff-muted); }
.ff-work-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.ff-work-card { position:relative; overflow:hidden; min-height:520px; display:flex; flex-direction:column; border:1px solid var(--ff-line); border-radius:26px; background:linear-gradient(145deg,#171a22,#0d0f14); transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
.ff-work-card:hover { transform:translateY(-5px); border-color:rgba(118,166,255,.46); box-shadow:0 24px 70px rgba(0,0,0,.32); }
.ff-work-visual { position:relative; min-height:270px; overflow:hidden; border-bottom:1px solid var(--ff-line); background:radial-gradient(circle at 68% 28%,rgba(var(--work-accent),.28),transparent 30%),linear-gradient(145deg,#1b1e27,#0c0d12); }
.ff-work-browser { position:absolute; inset:42px -5% -22px 19%; border:1px solid rgba(255,255,255,.2); border-radius:14px 14px 0 0; background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.015)); transform:rotate(-3deg); box-shadow:0 25px 60px rgba(0,0,0,.38); }
.ff-work-phone { position:absolute; right:8%; bottom:12px; width:88px; height:190px; border:2px solid rgba(255,255,255,.34); border-radius:22px; background:#08090c; box-shadow:0 22px 48px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.04); transform:rotate(2deg); }
.ff-work-browser .ff-device-bar { position:relative; z-index:2; height:25px; background:#171a20; }
.ff-work-browser img { display:block; width:100%; height:calc(100% - 25px); object-fit:cover; object-position:top center; border-radius:0 0 13px 13px; }
.ff-work-phone { overflow:hidden; z-index:3; padding:7px; }
.ff-work-phone .ff-device-speaker { top:10px; height:3px; background:#050608; }
.ff-work-phone img { display:block; width:100%; height:100%; object-fit:cover; object-position:top center; border-radius:15px; }
.ff-work-content { display:flex; flex:1; flex-direction:column; padding:28px; }
.ff-work-status { display:inline-flex; align-self:flex-start; margin-bottom:14px; padding:5px 8px; border:1px solid rgba(118,166,255,.3); border-radius:999px; color:#a9c6ff; font-size:.6rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.ff-work-type { color:#9bbcff; font-size:.7rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.ff-work-card h3 { margin:8px 0 0; font-size:clamp(1.8rem,3.2vw,3rem); line-height:1; letter-spacing:-.045em; }
.ff-work-card p { margin:16px 0; color:var(--ff-muted); }
.ff-work-tags { display:flex; flex-wrap:wrap; gap:7px; margin:4px 0 24px; }
.ff-work-tags span { padding:6px 9px; border:1px solid var(--ff-line); border-radius:999px; color:#c8cdd7; font-size:.68rem; }
.ff-work-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; }
.ff-work-unavailable { color:#858d9d; cursor:default; }
.ff-work-unavailable:hover { transform:none; border-color:var(--ff-line); }
@media(max-width:850px) {
  .ff-work-hero-grid { grid-template-columns:1fr; gap:28px; }
  .ff-work-grid { grid-template-columns:1fr; }
  .ff-work-head { display:block; }
  .ff-work-head > p { margin-top:20px; }
}
@media(max-width:620px) {
  .ff-work-hero { padding:112px 0 58px; background:linear-gradient(160deg,#0a0b0f 0%,#0d111a 54%,#090a0e 100%); }
  .ff-work-hero::before { inset:-30% -80% -35% -55%; background:radial-gradient(ellipse at 78% 34%,rgba(79,140,255,.17),transparent 55%); filter:blur(26px); }
  .ff-work-hero-grid { gap:20px; }
  .ff-work-hero h1 { max-width:360px; margin-top:14px; font-size:clamp(3.15rem,16.5vw,4.45rem); line-height:.86; }
  .ff-work-hero-grid > p { max-width:34rem; font-size:.98rem; line-height:1.65; }
  .ff-work-archive { padding:60px 0 82px; }
  .ff-work-head { margin-bottom:28px; }
  .ff-work-head h2 { font-size:clamp(2.65rem,13vw,3.7rem); }
  .ff-work-head > p { margin-top:14px; font-size:.94rem; }
  .ff-work-grid { gap:16px; }
  .ff-work-card { min-height:0; border-radius:20px; }
  .ff-work-card:hover { transform:none; }
  .ff-work-visual { min-height:218px; }
  .ff-work-browser { inset:28px -7% -12px 10%; transform:rotate(-2deg); }
  .ff-work-content { padding:22px 19px 20px; }
  .ff-work-status { margin-bottom:11px; }
  .ff-work-card h3 { font-size:clamp(2rem,10vw,2.7rem); }
  .ff-work-card p { margin:13px 0; font-size:.94rem; line-height:1.6; }
  .ff-work-tags { gap:6px; margin:2px 0 20px; }
  .ff-work-actions { display:grid; grid-template-columns:1fr; }
  .ff-work-actions .ff-button { width:100%; min-height:48px; }
  .ff-work-phone { right:5%; bottom:10px; width:72px; height:156px; border-radius:19px; padding:6px; }
  .ff-work-phone img { border-radius:13px; }
}
@media(max-width:420px) {
  .ff-work-hero .ff-kicker { font-size:.58rem; }
  .ff-work-visual { min-height:205px; }
  .ff-work-browser { inset:25px -12% -10px 7%; }
  .ff-work-phone { right:4%; width:68px; height:148px; }
  .ff-work-type { font-size:.62rem; }
}
@media(prefers-reduced-motion:reduce) { .ff-work-card { transition:none; } }
@media (max-width:420px) {
  .header-inner { min-height:72px; }
  .ff-header-logo { height:48px; max-width:112px; }
}


/* ForgeFive v0.8 — clean white transparent identity */
.ff-header-logo {
  height:58px;
  max-width:190px;
  filter:none;
}
.site-branding:hover .ff-header-logo,
.site-branding:focus-visible .ff-header-logo {
  transform:translateY(-1px);
  filter:drop-shadow(0 8px 22px rgba(255,255,255,.12));
}
.ff-cinema-logo-wrap {
  margin:18px 0 0;
  width:min(100%,690px);
  line-height:1;
  opacity:0;
  filter:blur(14px);
  transform:scale(.97);
  animation:ffWordmarkFocus .85s cubic-bezier(.2,.75,.2,1) 2s forwards;
}
.ff-cinema-logo {
  display:block;
  width:100%;
  height:auto;
  max-height:300px;
  object-fit:contain;
  object-position:left center;
}
.ff-hero-intro {
  padding-bottom:42px;
}
@media (max-width:900px) {
  .ff-header-logo { height:50px; max-width:164px; }
  .ff-cinema-logo-wrap { width:min(100%,570px); margin-inline:auto; }
  .ff-cinema-logo { object-position:center; }
  .ff-hero-intro { padding-bottom:28px; }
}
@media (max-width:420px) {
  .ff-header-logo { height:44px; max-width:145px; }
  .ff-cinema-logo-wrap { width:min(100%,430px); }
}
@media (prefers-reduced-motion:reduce) {
  .ff-cinema-logo-wrap { animation:none!important; opacity:1!important; transform:none!important; filter:none!important; }
}


/* ForgeFive v0.9 — text header, mobile polish, ownership model and interaction fixes */
.ff-text-brand { padding:0; flex-shrink:0; }
.ff-text-wordmark {
  display:block;
  color:#fff;
  font-size:clamp(1.12rem,1.45vw,1.42rem);
  line-height:1;
  font-weight:850;
  letter-spacing:.185em;
  white-space:nowrap;
  text-shadow:0 0 24px rgba(255,255,255,.05);
  transition:color .25s ease,text-shadow .25s ease;
}
.ff-text-brand:hover .ff-text-wordmark,.ff-text-brand:focus-visible .ff-text-wordmark { color:#dce8ff; text-shadow:0 0 20px rgba(116,167,255,.24); }

/* Hero's primary action illuminates instead of lifting. */
.ff-cinema-actions .ff-button-primary:hover,
.ff-cinema-actions .ff-button-primary:focus-visible {
  transform:none;
  background:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 30px rgba(111,164,255,.3),0 12px 34px rgba(0,0,0,.28);
}

/* Carry the blue schematic spine to the final green handoff diamond. */
.ff-forge-spine { bottom:0; }

.ff-ownership { position:relative; overflow:hidden; }
.ff-ownership::before { content:""; position:absolute; inset:10% -15% auto auto; width:480px; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(79,140,255,.1),transparent 68%); pointer-events:none; }
.ff-ownership-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ff-ownership-card { position:relative; min-height:360px; padding:34px; border:1px solid var(--ff-line); border-radius:24px; background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); }
.ff-ownership-card-featured { border-color:rgba(112,164,255,.38); background:linear-gradient(145deg,rgba(67,111,184,.14),rgba(255,255,255,.018)); box-shadow:inset 0 0 55px rgba(79,140,255,.035); }
.ff-ownership-number { color:#93b9ff; font:700 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.15em; }
.ff-ownership-card h3 { margin:54px 0 14px; font-size:clamp(1.75rem,3vw,2.65rem); letter-spacing:-.045em; }
.ff-ownership-card p { max-width:540px; color:var(--ff-muted); line-height:1.65; }
.ff-ownership-card ul { display:grid; gap:10px; margin:28px 0 0; padding:0; list-style:none; color:#d7dce6; }
.ff-ownership-card li { display:flex; align-items:center; gap:10px; }
.ff-ownership-card li::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--ff-accent); box-shadow:0 0 10px rgba(79,140,255,.55); }

@media (max-width:980px) {
  .header-inner { min-height:74px; gap:16px; }
  .primary-nav ul { gap:20px; font-size:.88rem; }
  .ff-text-wordmark { font-size:1.18rem; }
  .ff-cinematic-stage { padding-top:18px; }
  .ff-architecture { width:min(100%,720px); margin-inline:auto; }
}
@media (max-width:760px) {
  html,body { max-width:100%; overflow-x:hidden; }
  .header-inner { min-height:68px; }
  .ff-text-wordmark { font-size:1.08rem; letter-spacing:.15em; }
  .primary-nav { top:72px; max-height:calc(100svh - 88px); overflow:auto; }
  .primary-nav a { display:block; width:100%; padding:5px 0; }
  .ff-header-cta { text-align:center; padding:12px 16px!important; }
  .ff-cinematic-hero { min-height:auto; padding:112px 0 62px; }
  .ff-cinematic-stage { width:min(calc(100% - 24px),var(--ff-max)); }
  .ff-hero-intro { text-align:center; padding-bottom:20px; }
  .ff-cinema-eyebrow { justify-content:center; }
  .ff-cinema-lead { max-width:34rem; margin-inline:auto; font-size:1rem; }
  .ff-cinema-actions { justify-content:center; }
  .ff-cinema-actions .ff-button { width:100%; max-width:330px; }
  .ff-architecture { min-height:430px; margin-top:24px; }
  .ff-architectural-pillars { gap:7px; padding-inline:3px; }
  .ff-architectural-pillar strong { font-size:.58rem; letter-spacing:.11em; }
  .ff-pillar-detail { position:fixed; left:14px; right:14px; bottom:18px; width:auto; transform:translateY(16px) scale(.98); }
  .ff-architectural-pillar.is-active .ff-pillar-detail { transform:translateY(0) scale(1); }
  .ff-architecture-caption { font-size:.52rem; gap:7px; }
  .ff-section { padding:76px 0; }
  .ff-section h2 { font-size:clamp(2.35rem,12vw,3.7rem); }
  .ff-section-head { margin-bottom:36px; gap:22px; }
  .ff-capabilities { grid-template-columns:1fr; }
  .ff-capability { min-height:auto; }
  .ff-project { min-height:450px; border-radius:22px; }
  .ff-forge-layout { column-gap:40px; row-gap:0; }
  .ff-forge-intro h2 { font-size:clamp(2.65rem,13vw,4rem); }
  .ff-forge-blueprint { margin-top:40px; padding-left:28px; }
  .ff-forge-spine { left:7px; bottom:0; }
  .ff-forge-stage::after,.ff-forge-stage:nth-of-type(odd)::after,.ff-forge-stage:nth-of-type(even)::after { width:20px; }
  .ff-forge-stage .ff-forge-node,.ff-forge-stage:nth-of-type(odd) .ff-forge-node,.ff-forge-stage:nth-of-type(even) .ff-forge-node { right:calc(100% + 14px); }
  .ff-forge-box h3 { font-size:1.8rem; }
  .ff-ownership-options { grid-template-columns:1fr; }
  .ff-ownership-card { min-height:0; padding:27px 23px; border-radius:20px; }
  .ff-ownership-card h3 { margin-top:40px; }
  .ff-cta-panel { padding:42px 22px; border-radius:24px; }
  .ff-cta-panel .ff-button { width:100%; max-width:360px; overflow-wrap:anywhere; }
}
@media (max-width:420px) {
  .ff-container { width:min(calc(100% - 22px),var(--ff-max)); }
  .ff-text-wordmark { font-size:1rem; letter-spacing:.135em; }
  .ff-menu-toggle { padding:7px 10px; }
  .ff-cinematic-hero { padding-top:98px; }
  .ff-cinema-logo-wrap { width:100%; }
  .ff-architecture { min-height:380px; }
  .ff-architectural-pillar { min-width:0; }
  .ff-pillar-index { font-size:.52rem; }
  .ff-pillar-icon { font-size:1rem; }
  .ff-forge-blueprint { gap:28px; padding-left:25px; }
  .ff-forge-box { padding:22px 18px; }
  .ff-forge-icon { width:34px; height:34px; right:17px; }
}


/* ForgeFive v1.0 — header logo restored, hero simplified, CTA glow-only */
.site-branding {
  padding:4px 0;
  overflow:visible;
}
.ff-header-logo {
  display:block;
  width:auto;
  height:76px;
  max-width:220px;
  object-fit:contain;
  object-position:left center;
  filter:none;
  transform:none!important;
}
.site-branding:hover .ff-header-logo,
.site-branding:focus-visible .ff-header-logo {
  transform:none!important;
  filter:drop-shadow(0 0 18px rgba(255,255,255,.16));
}
.ff-cinema-wordmark {
  margin:18px auto 0;
  max-width:none!important;
  color:#fff;
  font-size:clamp(3.2rem,8.8vw,8.4rem)!important;
  line-height:.84!important;
  font-weight:850;
  letter-spacing:.12em!important;
  text-indent:.12em;
  text-align:center;
  opacity:0;
  filter:blur(14px);
  transform:scale(.97);
  animation:ffWordmarkFocus .85s cubic-bezier(.2,.75,.2,1) 2s forwards;
}
.ff-cinema-tagline {
  margin:26px 0 0;
  color:#aeb6c5;
  font-size:clamp(.78rem,1.35vw,1rem);
  font-weight:700;
  letter-spacing:.34em;
  text-transform:uppercase;
  text-align:center;
  opacity:0;
  transform:translateY(10px);
  animation:ffCinemaReveal .65s ease 2.4s forwards;
}
.ff-hero-intro { padding-bottom:38px; }

/* Start Project in the header: illuminate only, never lift. */
.ff-header-cta,
.ff-header-cta:hover,
.ff-header-cta:focus-visible,
.primary-nav a.ff-header-cta:hover,
.primary-nav a.ff-header-cta:focus-visible {
  transform:none!important;
  translate:none!important;
}
.ff-header-cta:hover,
.ff-header-cta:focus-visible {
  color:#fff;
  border-color:rgba(150,190,255,.72);
  background:rgba(83,138,230,.12);
  box-shadow:0 0 0 1px rgba(111,164,255,.16),0 0 24px rgba(79,140,255,.28),inset 0 0 18px rgba(79,140,255,.08);
}
.ff-cinema-actions .ff-button-primary,
.ff-cinema-actions .ff-button-primary:hover,
.ff-cinema-actions .ff-button-primary:focus-visible {
  transform:none!important;
  translate:none!important;
}

@media (max-width:900px) {
  .ff-header-logo { height:66px; max-width:190px; }
  .ff-cinema-wordmark { font-size:clamp(3rem,12vw,6.2rem)!important; letter-spacing:.09em!important; text-indent:.09em; }
  .ff-cinema-tagline { letter-spacing:.24em; }
}
@media (max-width:600px) {
  .header-inner { min-height:74px; }
  .ff-header-logo { height:58px; max-width:168px; }
  .ff-cinema-wordmark { margin-top:12px; font-size:clamp(2.25rem,13vw,4.2rem)!important; letter-spacing:.055em!important; text-indent:.055em; }
  .ff-cinema-tagline { margin-top:18px; font-size:.66rem; letter-spacing:.18em; line-height:1.55; }
  .ff-hero-intro { padding-bottom:24px; }
}
@media (max-width:380px) {
  .ff-header-logo { height:52px; max-width:150px; }
  .ff-cinema-wordmark { font-size:2.05rem!important; }
}
@media (prefers-reduced-motion:reduce) {
  .ff-cinema-wordmark,.ff-cinema-tagline { animation:none!important; opacity:1!important; transform:none!important; filter:none!important; }
}

/* ForgeFive v1.1 — definitive header scale and non-overlapping hero */
.site-header .header-inner {
  min-height:108px;
}
.site-header .site-branding {
  width:122px;
  height:98px;
  padding:0;
  flex:0 0 122px;
  overflow:visible;
  align-items:center;
}
.site-header .ff-header-logo {
  width:122px!important;
  height:98px!important;
  max-width:none!important;
  object-fit:contain;
  object-position:center;
}

/* The wordmark and pillars are separate horizontal bands — never layered. */
.ff-cinematic-hero {
  padding-top:138px;
}
.ff-cinematic-stage {
  min-height:auto;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
}
.ff-hero-intro {
  width:100%;
  max-width:980px;
  margin-inline:auto;
  padding:26px 0 0;
  text-align:center;
  z-index:20;
}
.ff-cinema-eyebrow {
  display:flex;
  justify-content:center;
}
.ff-cinema-wordmark {
  margin:26px auto 0!important;
  font-size:clamp(4.5rem,9.5vw,9rem)!important;
  line-height:.86!important;
  letter-spacing:.1em!important;
  text-indent:.1em;
}
.ff-cinema-lead {
  margin-inline:auto;
}
.ff-cinema-actions {
  justify-content:center;
}
.ff-architecture {
  width:min(100%,920px);
  height:520px;
  min-height:520px;
  margin:62px auto 0;
  padding-top:28px;
  z-index:4;
}

/* Start Project only glows; all movement is disabled in every state. */
.ff-header-cta,
.ff-header-cta:hover,
.ff-header-cta:focus,
.ff-header-cta:focus-visible,
.ff-header-cta:active,
.primary-nav .ff-header-cta,
.primary-nav .ff-header-cta:hover,
.primary-nav .ff-header-cta:focus-visible {
  transform:none!important;
  translate:0 0!important;
  top:auto!important;
  margin-top:0!important;
}

@media (max-width:900px) {
  .site-header .header-inner { min-height:94px; }
  .site-header .site-branding { width:106px; height:84px; flex-basis:106px; }
  .site-header .ff-header-logo { width:106px!important; height:84px!important; }
  .ff-cinematic-hero { padding-top:118px; }
  .ff-cinema-wordmark { font-size:clamp(3.7rem,12vw,6.7rem)!important; }
  .ff-architecture { width:min(100%,760px); height:480px; min-height:480px; margin-top:46px; }
}
@media (max-width:760px) {
  .site-header .header-inner { min-height:82px; }
  .site-header .site-branding { width:90px; height:72px; flex-basis:90px; }
  .site-header .ff-header-logo { width:90px!important; height:72px!important; }
  .ff-cinematic-hero { padding-top:102px; }
  .ff-hero-intro { padding-top:18px; }
  .ff-cinema-wordmark { margin-top:18px!important; font-size:clamp(2.7rem,14vw,5rem)!important; letter-spacing:.065em!important; text-indent:.065em; }
  .ff-architecture { height:410px; min-height:410px; margin-top:34px; }
}
@media (max-width:420px) {
  .site-header .site-branding { width:82px; height:66px; flex-basis:82px; }
  .site-header .ff-header-logo { width:82px!important; height:66px!important; }
  .ff-cinema-wordmark { font-size:clamp(2.25rem,13.3vw,3.55rem)!important; }
  .ff-architecture { height:375px; min-height:375px; margin-top:28px; }
}

/* ForgeFive v1.2 — ownership choice replaces repeated foundations section */
.ff-ownership {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 10vw, 150px);
}
.ff-ownership::before {
  width: min(620px, 54vw);
  opacity: .75;
}
.ff-ownership-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr);
  align-items: end;
  gap: clamp(38px, 7vw, 110px);
  margin-bottom: clamp(46px, 6vw, 78px);
}
.ff-ownership-head h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.1rem, 6.3vw, 6.8rem);
  line-height: .91;
  letter-spacing: -.072em;
}
.ff-ownership-head h2 span {
  color: #aab3c2;
}
.ff-ownership-head > p {
  max-width: 650px;
  margin: 0 0 .4rem;
  color: var(--ff-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.72;
}
.ff-ownership-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.ff-ownership-card {
  min-height: 0;
  padding: clamp(30px, 3.4vw, 52px);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
}
.ff-ownership-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ff-ownership-status {
  color: #aeb7c6;
  font: 600 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ff-ownership-card h3 {
  margin: clamp(42px, 5vw, 74px) 0 16px;
  font-size: clamp(2.05rem, 3.6vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.057em;
}
.ff-ownership-summary {
  max-width: 590px;
  min-height: 3.3em;
  margin: 0;
}
.ff-ownership-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px !important;
  margin: clamp(30px, 3.5vw, 46px) 0 0 !important;
}
.ff-ownership-list li {
  min-width: 0;
  color: #eef2f8;
  font-weight: 600;
}
.ff-ownership-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 160, 255, .42);
  border-radius: 50%;
  background: rgba(79, 140, 255, .08);
  color: #9ec1ff;
  box-shadow: none;
  font-size: .72rem;
}
.ff-ownership-best {
  margin: auto 0 0 !important;
  padding-top: clamp(32px, 4vw, 54px);
  color: #fff !important;
  font-weight: 700;
}
.ff-ownership-card-featured .ff-ownership-best {
  color: #bcd2ff !important;
}
.ff-buyout-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  margin-top: clamp(24px, 3vw, 38px);
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid rgba(112, 164, 255, .35);
  border-radius: 24px;
  background: linear-gradient(105deg, rgba(79,140,255,.1), rgba(255,255,255,.025));
}
.ff-buyout-label {
  color: #90b8ff;
  font: 700 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ff-buyout-callout > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
}
.ff-buyout-callout strong {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: -.025em;
}
.ff-buyout-callout > div span {
  color: var(--ff-muted);
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
}
.ff-buyout-callout .ff-button {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ff-ownership-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .ff-ownership-head h2 {
    max-width: 760px;
  }
  .ff-ownership-options {
    grid-template-columns: 1fr;
  }
  .ff-ownership-card h3 {
    margin-top: 42px;
  }
  .ff-buyout-callout {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/*
 * Desktop heading scale — the default for current and future ForgeFive pages.
 * Mobile typography remains controlled by the existing responsive rules.
 */
@media (min-width:901px) {
  .ff-hero h1 { font-size:clamp(3.5rem,6vw,6.15rem); line-height:.91; }
  .ff-page-hero h1 { max-width:780px; font-size:clamp(3rem,5.15vw,5.35rem); line-height:.92; }
  .ff-work-hero h1 { max-width:820px; font-size:clamp(3.5rem,6.4vw,6.25rem); line-height:.9; }
  .ff-content h1 { font-size:clamp(2.5rem,4.5vw,4.25rem); }

  .ff-section h2,
  .ff-local-design-heading h2,
  .ff-local-design-split h2,
  .ff-page-proof h2,
  .ff-page-cta h2,
  .ff-contact-page-grid aside h2,
  .ff-forge-intro h2,
  .ff-dashboard-intro h2,
  .ff-managed-head h2,
  .ff-work-head h2,
  .ff-ownership-head h2 {
    font-size:clamp(2.25rem,4vw,4.15rem);
    line-height:.98;
  }

  .ff-cta-panel h2 { font-size:clamp(2.35rem,4.3vw,4.5rem); line-height:.98; }
  .ff-page-card h2 { font-size:clamp(1.7rem,2.3vw,2.45rem); line-height:1.05; }
}

@media (max-width: 600px) {
  .ff-ownership {
    padding-block: 76px;
  }
  .ff-ownership-head {
    margin-bottom: 34px;
  }
  .ff-ownership-head h2 {
    font-size: clamp(2.65rem, 14vw, 4.25rem);
    line-height: .95;
  }
  .ff-ownership-card {
    padding: 26px 22px;
    border-radius: 21px;
  }
  .ff-ownership-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .ff-ownership-card h3 {
    margin-top: 34px;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }
  .ff-ownership-summary {
    min-height: 0;
  }
  .ff-ownership-list {
    grid-template-columns: 1fr;
    gap: 12px !important;
  }
  .ff-buyout-callout {
    padding: 24px 21px;
    border-radius: 20px;
  }
  .ff-buyout-callout > div {
    display: grid;
    gap: 8px;
  }
  .ff-buyout-callout .ff-button {
    width: 100%;
    justify-content: center;
  }
}


/* ForgeFive v1.3 — section-aware navigation and stable project CTA */
.primary-nav ul {
  align-items:center;
}
.primary-nav li {
  display:flex;
  align-items:center;
}
.primary-nav a:not(.ff-header-cta) {
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 0;
  transform:translateY(0);
  transition:color .22s ease, transform .3s cubic-bezier(.2,.75,.2,1);
}
.primary-nav a:not(.ff-header-cta)::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:2px;
  height:2px;
  margin:0;
  background:linear-gradient(90deg,transparent,var(--ff-accent) 18%,#8bb5ff 82%,transparent);
  box-shadow:0 0 13px rgba(79,140,255,.7);
  transform:scaleX(0);
  transform-origin:center;
  opacity:0;
  transition:transform .3s ease, opacity .22s ease;
}
.primary-nav a:not(.ff-header-cta):hover,
.primary-nav a:not(.ff-header-cta):focus-visible,
.primary-nav a:not(.ff-header-cta).is-current {
  color:#fff;
  transform:translateY(-4px);
}
.primary-nav a:not(.ff-header-cta):hover::after,
.primary-nav a:not(.ff-header-cta):focus-visible::after,
.primary-nav a:not(.ff-header-cta).is-current::after {
  transform:scaleX(1);
  opacity:1;
}

/* CTA never participates in the raised navigation treatment. */
.primary-nav .ff-header-cta,
.primary-nav .ff-header-cta:hover,
.primary-nav .ff-header-cta:focus,
.primary-nav .ff-header-cta:focus-visible,
.primary-nav .ff-header-cta:active,
.primary-nav .ff-header-cta.is-current {
  position:relative!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 18px!important;
  transform:translate3d(0,0,0)!important;
  translate:none!important;
  top:0!important;
  bottom:auto!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  line-height:1;
  overflow:hidden;
  transition:color .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease!important;
}
.primary-nav .ff-header-cta::before {
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:radial-gradient(circle at 50% 100%,rgba(79,140,255,.22),transparent 68%);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}
.primary-nav .ff-header-cta::after {
  content:none!important;
  display:none!important;
}
.primary-nav .ff-header-cta:hover,
.primary-nav .ff-header-cta:focus-visible,
.primary-nav .ff-header-cta.is-current {
  color:#fff;
  border-color:rgba(111,164,255,.75);
  background:rgba(79,140,255,.1);
  box-shadow:0 0 0 1px rgba(79,140,255,.12),0 0 24px rgba(79,140,255,.28),inset 0 0 16px rgba(79,140,255,.07);
}
.primary-nav .ff-header-cta:hover::before,
.primary-nav .ff-header-cta:focus-visible::before,
.primary-nav .ff-header-cta.is-current::before {
  opacity:1;
}

@media (max-width:900px) {
  .primary-nav li { width:100%; }
  .primary-nav a:not(.ff-header-cta) {
    width:100%;
    min-height:42px;
    padding:9px 2px;
  }
  .primary-nav a:not(.ff-header-cta):hover,
  .primary-nav a:not(.ff-header-cta):focus-visible,
  .primary-nav a:not(.ff-header-cta).is-current {
    transform:translateX(5px);
  }
  .primary-nav a:not(.ff-header-cta)::after {
    left:2px;
    right:auto;
    width:48px;
    bottom:3px;
    transform-origin:left;
  }
  .primary-nav .ff-header-cta,
  .primary-nav .ff-header-cta:hover,
  .primary-nav .ff-header-cta:focus-visible,
  .primary-nav .ff-header-cta.is-current {
    width:100%;
    transform:none!important;
  }
}
