:root {
    --background: #06170F;
    --primary-text: #F2FFF4;
    --secondary-text: #B8D4BD;
    --tertiary-text: #D9E7B4;
    --accent: #2E8B57;
    --highlight: #D1B24C;
    --borders: #183F29;
    --cta: #85C96A;
}

* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
body { background-color: var(--background); color: var(--primary-text); font-family: Arial, sans-serif; line-height: 1.6; }
.bg-dynamic { background-color: var(--background); }
.text-dynamic { color: var(--primary-text); }
.text-secondary { color: var(--secondary-text); }
.button, .button-portfolio { display: inline-flex; align-items: center; justify-content: center; background-color: transparent; color: var(--tertiary-text); font-size: 1.5rem; font-weight: 300; line-height: 1.2; text-decoration: none; padding: 10px; border: 2px solid transparent; border-radius: 5px; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .2s; }
.button { margin-top: 2px; }
.button:hover, .button-portfolio:hover { background-color: transparent; color: var(--highlight); border-color: var(--highlight); transform: translateY(-1px); }
.button-dynamic { display: inline-flex; align-items: center; justify-content: center; background-color: var(--highlight); color: var(--background); font-weight: 700; line-height: 1.2; text-decoration: none; border: 2px solid var(--borders); padding: 10px; border-radius: 5px; cursor: pointer; transition: background-color .3s, color .3s, transform .2s; }
.button-dynamic:hover { background-color: var(--accent); color: var(--background); transform: translateY(-1px); }
.cta-button { display: inline-flex; align-items: center; justify-content: center; background-color: var(--cta); color: var(--background); font-weight: bold; line-height: 1.2; text-decoration: none; padding: 12px; border-radius: 8px; border: 1px solid var(--cta); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .2s ease-in-out; }
.cta-button:hover { background-color: var(--highlight); border-color: var(--highlight); color: var(--background); transform: translateY(-1px); }
.border-dynamic { border: 1px solid var(--accent); padding: 1.35rem; border-radius: 5px; transition: background-color .3s, border-color .3s, transform .2s; }
.border-dynamic:hover { background-color: rgba(255, 255, 255, .03); border-color: var(--highlight); transform: translateY(-2px); }
.toggle-content { margin-top: 10px; padding: 1.35rem; background-color: var(--primary-text); border-radius: 5px; color: var(--background); }
.header { color: var(--primary-text); font-weight: bold; font-size: 2.5rem; text-align: center; }
.header:hover { color: var(--highlight); }
.container { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem; max-width: 1200px; margin: auto; }
.container > section { padding: 2rem 0; }
.landing { max-width: 960px; gap: 1.35rem; }
.landing > section { padding: 1rem 0; }
.landing .hero { margin-top: 3rem; }
.logo { font-size: 1.8rem; font-weight: bold; color: var(--accent); position: fixed; bottom: 1rem; right: 1rem; }
.nav { position: fixed; top: 1rem; left: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.nav a { color: var(--secondary-text); text-decoration: none; font-size: 1rem; transition: color .3s ease; }
.nav a:hover { color: var(--cta); }
.hero { text-align: center; margin-top: 5rem; }
.hero h1 { font-size: 3rem; color: var(--highlight); }
.hero p { font-size: 1.2rem; margin-top: 1rem; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.card { background-color: var(--borders); padding: 1.75rem; border: 1px solid var(--borders); border-top: 3px solid var(--accent); border-radius: 8px; transition: border-color .3s, box-shadow .3s, transform .3s ease; }
.card:hover { border-color: var(--highlight); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); transform: translateY(-3px); }
.footer { text-align: center; padding: 2rem; font-size: .9rem; color: var(--secondary-text); border-top: 1px solid var(--borders); margin-top: 3rem; }
.logo-carousel { width: 100%; overflow: hidden; padding: 1rem 0; position: relative; }
.logo-track { display: flex; width: max-content; animation: scroll-logos 15s linear infinite; gap: 3rem; align-items: center; }
.logo-carousel img { height: 40px; width: auto; object-fit: contain; }
.hidden { display: none; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.lead { color: var(--tertiary-text); font-size: 1.2rem; margin: 1rem 0; }
.actions, .cluster { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin: 1rem 0; }
.brand-lockup { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; text-align: left; margin: 1rem auto; }
.brand-mark { flex: 0 0 auto; width: 112px; max-width: 32vw; border-radius: 12px; }
.brand-copy { display: grid; gap: .35rem; min-width: min(100%, 260px); }
.brand-copy h1, .brand-copy .lead { margin: 0; }
.stack { display: grid; gap: 1rem; }
.stack > * { margin-block: 0; }
.media { display: block; max-width: 100%; height: auto; border: 1px solid var(--borders); border-radius: 8px; object-fit: cover; }
.content-panel, #content { background-color: var(--primary-text); color: var(--background); border: 1px solid var(--borders); border-left: 4px solid var(--accent); border-radius: 8px; padding: 1.5rem; transition: border-color .3s, box-shadow .3s; }
.content-panel:hover, #content:hover { border-color: var(--highlight); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.card > :first-child, .content-panel > :first-child, #content > :first-child, .border-dynamic > :first-child, .toggle-content > :first-child { margin-top: 0; }
.card > :last-child, .content-panel > :last-child, #content > :last-child, .border-dynamic > :last-child, .toggle-content > :last-child { margin-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: .35rem; width: fit-content; background-color: var(--tertiary-text); color: var(--background); border: 1px solid var(--accent); border-radius: 999px; padding: .25rem .7rem; font-size: .85rem; font-weight: 700; }
.nav-button, .tab-button { display: inline-flex; align-items: center; justify-content: center; background-color: var(--borders); color: var(--tertiary-text); border: 1px solid var(--accent); border-radius: 8px; cursor: pointer; font-weight: 700; line-height: 1.2; text-decoration: none; padding: 10px 12px; transition: background-color .3s, border-color .3s, color .3s, transform .2s; }
.nav-button:hover, .tab-button:hover, .nav-button.is-active, .tab-button.is-active, .nav a[aria-current="page"] { background-color: var(--highlight); border-color: var(--highlight); color: var(--background); transform: translateY(-1px); }
.button.is-active, .button[aria-selected="true"], .button[aria-current="page"] { background-color: transparent; border-color: var(--highlight); color: var(--highlight); }
.button:focus-visible, .button-portfolio:focus-visible, .button-dynamic:focus-visible, .cta-button:focus-visible, .nav-button:focus-visible, .tab-button:focus-visible, a:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
button:disabled, .button:disabled, .button-dynamic:disabled, .cta-button:disabled, .nav-button:disabled, .tab-button:disabled, [aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-flex; }
.htmx-request { cursor: progress; }
.htmx-swapping, .htmx-settling { opacity: .75; transition: opacity .2s ease; }
