:root {
    --background: #10231E;
    --primary-text: #F6FFFB;
    --secondary-text: #BDD9CE;
    --tertiary-text: #F5E6C8;
    --accent: #2F8F6B;
    --highlight: #D64550;
    --borders: #2E5147;
    --cta: #E0B84E;
}

* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
body { margin: 0; min-width: 280px; 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; }
.compact-landing { gap: 1rem; padding: 1rem 1.25rem 1.5rem; }
.compact-landing > section { padding: .75rem 0; }
.compact-landing .hero { margin-top: 0; padding: .5rem 0 1rem; }
.compact-landing .hero p { margin-top: .75rem; }
.compact-landing .services { gap: 1.25rem; }
.compact-landing .card { padding: 1.4rem; }
.compact-landing .content-panel { padding: 1.35rem; }
.compact-landing .stack { gap: .85rem; }
.compact-landing .actions { gap: .75rem; margin: .5rem 0; }
.compact-landing .brand-lockup { margin: .5rem auto; }
.compact-landing .badge { padding: .2rem .6rem; }
.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; }
.brand-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.theme-logo { display: block; overflow: visible; flex: 0 0 auto; }
.theme-logo__fill { fill: currentColor; }
.theme-logo__stroke { fill: none; stroke: currentColor; }
.theme-logo__round { stroke-linecap: round; stroke-linejoin: round; }
.theme-logo__background { color: var(--background); }
.theme-logo__primary { color: var(--primary-text); }
.theme-logo__secondary { color: var(--secondary-text); }
.theme-logo__tertiary { color: var(--tertiary-text); }
.theme-logo__accent { color: var(--accent); }
.theme-logo__highlight { color: var(--highlight); }
.theme-logo__border { color: var(--borders); }
.theme-logo__cta { color: var(--cta); }
.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); }
.icon-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 3rem; height: 3rem; padding: 0; background-color: var(--borders); color: var(--tertiary-text); border: 1px solid var(--accent); border-radius: 50%; line-height: 1; text-decoration: none; transition: background-color .3s, border-color .3s, color .3s, transform .2s; }
.icon-link:hover { background-color: var(--highlight); border-color: var(--highlight); color: var(--background); transform: translateY(-2px); }
.icon-link:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
.icon-link__icon { display: block; width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.icon-link--plain { background-color: transparent; border-color: transparent; }
.icon-link--plain:hover { background-color: transparent; border-color: transparent; color: var(--highlight); transform: none; }
.icon-link--plain .icon-link__icon { width: 2.5rem; height: 2.5rem; }
.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; }
