/* Landfree-informed visual refinements, scoped to the local homepage. */
body.landfree-refined{--lf-line:rgba(255,255,255,.11);--lf-card:#151718;--lf-lime:#D4FF24;}
body.landfree-refined .hero-work-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;min-height:46px;border:1px solid var(--lf-lime);border-radius:999px;background:var(--lf-lime);color:#10120c;text-decoration:none;}
body.landfree-refined .hero-contact-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;min-height:46px;border:1px solid var(--lf-line);border-radius:999px;text-decoration:none;}
body.landfree-refined .hero-actions{flex-wrap:wrap;white-space:normal;}
body.landfree-refined .case-cockpit-card{border:1px solid var(--lf-line);background:linear-gradient(150deg,#171a1b,#121415);box-shadow:0 18px 50px rgba(0,0,0,.12);}
body.landfree-refined .case-corner-button{border-radius:50%;}
body.landfree-refined .case-card-identity{color:var(--lf-lime);}
body.landfree-refined .heroui-accordion-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
body.landfree-refined .heroui-accordion-card{background:linear-gradient(145deg,#181b1b,#121415);border:1px solid var(--lf-line);border-radius:24px;padding:0 24px;min-width:0;}
body.landfree-refined .heroui-row-header{min-height:90px;}
body.landfree-refined .heroui-row-heading{color:var(--lf-lime);font-size:clamp(19px,1.8vw,25px);}
body.landfree-refined .pillar-quick-preview{display:none;}
body.landfree-refined .heroui-items-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;}
body.landfree-refined .heroui-items-list li{padding:7px 11px;border:1px solid var(--lf-line);border-radius:999px;background:#1c1f20;font-size:14px;line-height:1.35;}
body.landfree-refined .heroui-proof-note{padding-top:18px;border-top:1px solid var(--lf-line);}
body.landfree-refined .process-steps{gap:16px;}
body.landfree-refined .process-step{padding:24px;min-width:0;border:1px solid var(--lf-line);border-radius:22px;background:linear-gradient(145deg,#191c1c,#121415);}
body.landfree-refined .process-step .step-number{display:grid;place-items:center;min-width:42px;height:42px;margin-bottom:16px;border:1px solid rgba(213,248,103,.22);border-radius:12px;color:var(--lf-lime);background:rgba(213,248,103,.06);}
body.landfree-refined .process-step h3{font-size:24px;}
body.landfree-refined .process-step p{font-size:16px;line-height:1.65;}
body.landfree-refined .process-intro>.case-source-link{display:inline-flex;padding:12px 18px;margin-top:22px;border:1px solid var(--lf-line);border-radius:999px;}
body.landfree-refined .lf-faq{padding-block:clamp(56px,7vw,100px);display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,70px);}
body.landfree-refined .lf-eyebrow{font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:.12em;color:var(--lf-lime);line-height:1.6;margin-bottom:18px;}
body.landfree-refined .lf-section-heading h2{font-size:clamp(36px,4vw,58px);line-height:1.1;letter-spacing:-.04em;margin:0 0 18px;}
body.landfree-refined .lf-section-heading>p:last-child{color:#b5b9b8;line-height:1.65;max-width:36ch;}
body.landfree-refined .lf-faq-list{display:grid;gap:12px;align-content:start;}
body.landfree-refined .lf-faq-list details{border:1px solid var(--lf-line);border-radius:18px;background:var(--lf-card);padding:0 22px;}
body.landfree-refined .lf-faq-list summary{display:flex;align-items:center;gap:16px;padding:22px 0;cursor:pointer;list-style:none;line-height:1.45;font-size:17px;font-weight:500;}
body.landfree-refined .lf-faq-list summary::-webkit-details-marker{display:none;}
body.landfree-refined .lf-faq-list summary>span{color:var(--lf-lime);font:12px var(--font-mono,monospace);}
body.landfree-refined .lf-faq-list summary::after{content:'+';color:var(--lf-lime);margin-left:auto;font-size:24px;flex-shrink:0;}
body.landfree-refined .lf-faq-list details[open] summary::after{content:'−';}
body.landfree-refined .lf-faq-list details>p{padding-bottom:24px;margin:0;color:#c3c7c6;line-height:1.7;}
body.landfree-refined .lf-faq-list a{color:var(--lf-lime);text-underline-offset:4px;}
body.landfree-refined .contact-layout{position:relative;overflow:hidden;padding:clamp(26px,4vw,60px);border:1px solid rgba(213,248,103,.18);border-radius:30px;background:radial-gradient(ellipse at 100% 0%,rgba(213,248,103,.09),transparent 65%),#151718;}
body.landfree-refined .contact-bio{max-width:52ch;}
body.landfree-refined .primary-email-link{background:var(--lf-lime);color:#11150b;}
body.landfree-refined .primary-email-link:hover{background:#e1ff91;}
body.landfree-refined .contact-links{flex-wrap:wrap;}
body.landfree-refined .lf-faq-list summary:focus-visible{outline:2px solid var(--lf-lime);outline-offset:5px;border-radius:8px;}
@media(min-width:1024px){body.landfree-refined .nav-list{padding:6px 8px;border:1px solid var(--lf-line);border-radius:999px;background:#17191a;gap:8px;}body.landfree-refined .nav-link{padding:10px 14px;}body.landfree-refined .nav-link--resume{background:var(--lf-lime);color:#11150b;}}
@media(max-width:1000px){body.landfree-refined .process-steps{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){body.landfree-refined .heroui-accordion-list{grid-template-columns:1fr;}body.landfree-refined .lf-faq{grid-template-columns:1fr;}body.landfree-refined .process-steps{grid-template-columns:1fr;}body.landfree-refined .contact-layout{border-radius:22px;}body.landfree-refined .hero-work-link,body.landfree-refined .hero-contact-link{padding:10px 16px;}body.landfree-refined .heroui-row-header{min-height:76px;}body.landfree-refined .lf-faq-list summary{font-size:16px;}}
@media(prefers-reduced-motion:no-preference){body.landfree-refined .hero-work-link,body.landfree-refined .hero-contact-link{transition:background-color .18s,border-color .18s;}body.landfree-refined .hero-contact-link:hover{border-color:var(--lf-lime);background:rgba(213,248,103,.06);}}
body.landfree-refined .hero-work-link svg{color:currentColor;}
@media(max-width:1000px){body.landfree-refined .contact-layout{grid-template-columns:1fr;align-items:start;gap:28px;}}

body.landfree-refined .lf-faq-list .faq-text-link{display:inline-flex;align-items:center;gap:6px;vertical-align:baseline;white-space:nowrap;}body.landfree-refined .lf-faq-list .faq-link-icon{display:block;flex:0 0 16px;width:16px;height:16px;overflow:visible;}

/* The ecosystem directory is one list of 37 organisations shown two ways: a scrolling strip and
   a card grid, toggled by EcosystemDirectory.js. The strip is only legible while it moves, so a
   printed page keeps the grid. The grid is collapsed by click, which is exactly the case the
   layer contract covers: the override shares @layer base and out-specifies the base [hidden] rule. */
@media print{#brand-marquee{display:none!important}}
@layer base{
  @media print{#brand-ledger[hidden]{display:grid!important}}
}

/* Directory toggle stays hidden until EcosystemDirectory.js enables it (no-JS visitors get the open list). */
.toggle-directory-btn[hidden]{display:none!important;}

/* Tools & platforms: grouped by job (one row per group, compact chips). */
.tool-stack .tool-groups{max-width:none;display:grid;border-bottom:1px solid var(--portfolio-border);}
.tool-stack .tool-group{display:grid;grid-template-columns:minmax(0,14rem) minmax(0,1fr);gap:1rem 2rem;align-items:start;padding-block:1.5rem;border-top:1px solid var(--portfolio-border);}
.tool-stack .tool-group-title{margin:0;padding-top:.55rem;font:600 1rem/1.4 var(--font-body,inherit);letter-spacing:0;color:var(--portfolio-blue-text);}
.tool-stack .tool-group-items{display:flex;flex-wrap:wrap;gap:.625rem;min-width:0;}
.tool-stack .tool-group .brand-marquee-item{display:inline-flex;align-items:center;gap:.625rem;width:auto;min-width:0;padding:.375rem .875rem .375rem .375rem;border:1px solid var(--portfolio-border);border-radius:999px;background:var(--portfolio-surface);transition:border-color 160ms ease;}
.tool-stack .tool-group .brand-marquee-item:hover{border-color:var(--portfolio-blue-text);}
.tool-stack .tool-group .brand-logo-badge{width:2rem;height:2rem;flex:0 0 2rem;border-radius:999px;}
.tool-stack .tool-group .brand-marquee-logo{width:calc(var(--tool-logo-size,1.75rem) * .72);height:calc(var(--tool-logo-size,1.75rem) * .72);}
.tool-stack .tool-group .brand-marquee-name{font-size:.9rem;white-space:nowrap;color:var(--portfolio-ink);}
@media (max-width:760px){.tool-stack .tool-group{grid-template-columns:1fr;gap:.75rem;padding-block:1.25rem;}.tool-stack .tool-group-title{padding-top:0;}}
@media (prefers-reduced-motion:reduce){.tool-stack .tool-group .brand-marquee-item{transition:none;}}
