/*
 Theme Name:   THE STANDARD SYNTAX COMPANY
 Description:  Digital Sovereignty Infrastructure. Proprietary Child Theme.
 Author:       The Standard Syntax Company
 Version:      13.1.0 (Latitude Body)
 Template:     generatepress 
*/

/* =========================================
   0. THE ANGE DEGHEEST ARCHIVE (BULLETPROOF)
   ========================================= */
@font-face { font-family: 'Degheest Latitude'; src: url('fonts/Latitude-Regular.woff2') format('woff2'), url('fonts/Latitude-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Equateur'; src: url('fonts/Equateur-Regular.woff2') format('woff2'), url('fonts/Equateur-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Equateur'; src: url('fonts/Equateur-Bold.woff2') format('woff2'), url('fonts/Equateur-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Director'; src: url('fonts/Director-Regular.woff2') format('woff2'), url('fonts/Director-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Director'; src: url('fonts/Director-Bold.woff2') format('woff2'), url('fonts/Director-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest FT88'; src: url('fonts/FT88-Regular.woff2') format('woff2'), url('fonts/FT88-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest FT88'; src: url('fonts/FT88-Bold.woff2') format('woff2'), url('fonts/FT88-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest FT88 Goth'; src: url('fonts/FT88-Gothique.woff2') format('woff2'), url('fonts/FT88-Gothique.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Abordage'; src: url('fonts/Abordage-Regular.woff2') format('woff2'), url('fonts/Abordage-Regular.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Basalte'; src: url('fonts/Basalte-Fond.woff2') format('woff2'), url('fonts/Basalte-Fond.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Degheest Louise'; src: url('fonts/Louise-Regular.woff2') format('woff2'), url('fonts/Louise-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }

/* =========================================
   1. GLOBAL FOUNDATIONS
   ========================================= */
:root {
    --ss-ethics: #fff96c; --ss-money: #000000; --ss-life: #7edcb5;
    --ss-time: #ef8f53; --ss-world: #8abef5; --ss-experience: #df65ff; --ss-pale: #f4f4f4; 
}

/* UPGRADE: Body Font switched to Latitude (The Sovereign) */
body { 
    background: #ffffff; 
    color: #111111; /* Dark Black for High Contrast */
    font-family: 'Degheest Latitude', sans-serif; /* The New Standard */
    font-size: 1.15rem; 
    line-height: 1.6; 
}

h1, h2, h3, h4, h5, h6 { color: #000; text-transform: uppercase; margin-bottom: 1.5rem; line-height: 1.1; }
.site-branding, .site-logo, .home .entry-title { display: none !important; }

/* =========================================
   2. THE MASTHEAD
   ========================================= */
.site-header .inside-header { display: flex; flex-direction: column !important; align-items: center; justify-content: center; }
.sovereign-header-container { display: flex; justify-content: center; align-items: center; padding: 30px 40px; background: #fff; width: 100%; border-bottom: 1px solid #e0e0e0; }
.sovereign-header-link { display: flex; align-items: center; gap: 20px; text-decoration: none; color: inherit; }
.sovereign-header-icon { width: 55px; height: auto; }
.sovereign-header-title { font-family: 'Degheest Latitude', serif; font-size: 2.2rem; text-transform: uppercase; letter-spacing: -1px; white-space: nowrap; }

/* =========================================
   3. THE 1X6 MENU DECK
   ========================================= */
.main-navigation { width: 100% !important; margin-top: 0 !important; background: #fff; }
.main-navigation .main-nav > ul { display: flex; justify-content: center; flex-wrap: nowrap; gap: 0; }
.main-navigation .main-nav ul li a { font-family: 'Degheest Director', sans-serif; font-weight: 700; font-size: 1rem; padding: 20px 25px; transition: all 0.2s ease; border-top: 4px solid transparent; white-space: nowrap; }
.main-navigation .main-nav ul li:nth-child(1) a:hover { border-top-color: var(--ss-ethics); background: #fffdf0; }
.main-navigation .main-nav ul li:nth-child(2) a:hover { border-top-color: var(--ss-money); color: #fff; background: #333; }
.main-navigation .main-nav ul li:nth-child(3) a:hover { border-top-color: var(--ss-life); background: #f0fbf7; }
.main-navigation .main-nav ul li:nth-child(4) a:hover { border-top-color: var(--ss-time); background: #fef4ee; }
.main-navigation .main-nav ul li:nth-child(5) a:hover { border-top-color: var(--ss-world); background: #f3f8fe; }
.main-navigation .main-nav ul li:nth-child(6) a:hover { border-top-color: var(--ss-experience); background: #fcf0ff; }
@media (max-width: 1100px) { .sovereign-header-container { flex-direction: column; text-align: center; } .main-navigation .main-nav > ul { flex-wrap: wrap; justify-content: center; } .sovereign-header-title { font-size: 1.8rem; white-space: normal; } }

/* =========================================
   4. THE H2 MANIFESTO
   ========================================= */
h2, h2.wp-block-heading, .is-style-ss-manifesto { font-family: 'Degheest Director', sans-serif !important; font-weight: 400 !important; font-size: 1.8rem !important; line-height: 1.4 !important; color: #1a1a1a; text-transform: none; max-width: 900px; margin: 60px 0; border-left: 4px solid #1a1a1a; padding-left: 30px; }
h2 strong, .is-style-ss-manifesto strong { font-weight: 700 !important; text-decoration: none !important; color: #000; font-family: 'Degheest Equateur', sans-serif; }

/* =========================================
   5. ARSENAL: UTILITIES
   ========================================= */
.is-style-ss-latitude { font-family: 'Degheest Latitude', serif !important; letter-spacing: -1px; }
.is-style-ss-equateur { font-family: 'Degheest Equateur', sans-serif !important; font-weight: 400; }
.is-style-ss-director { font-family: 'Degheest Director', sans-serif !important; font-weight: 400; }
.is-style-ss-ft88 { font-family: 'Degheest FT88', monospace !important; font-weight: 400; text-transform: uppercase; }
.is-style-ss-goth { font-family: 'Degheest FT88 Goth', monospace !important; font-size: 2.5rem; }
.is-style-ss-abordage { font-family: 'Degheest Abordage', serif !important; text-transform: uppercase; }
.is-style-ss-basalte { font-family: 'Degheest Basalte', serif !important; }
.is-style-ss-louise { font-family: 'Degheest Louise', serif !important; font-size: 1.5em; }

/* Colors */
.is-style-ss-ink-yellow { color: var(--ss-ethics) !important; background: #1a1a1a; padding: 2px 5px; }
.is-style-ss-box-pale { background-color: var(--ss-pale) !important; color: #1a1a1a !important; border: 1px solid #ddd; }
[class*="is-style-ss-box"] { padding: 30px; border: 2px solid #1a1a1a; }

/* Kinetics (Short-Code & Button Support) */
.slide-l, .is-style-ss-kinetic-left  { transform: translateX(-50px); }
.slide-r, .is-style-ss-kinetic-right { transform: translateX(50px); }
.rise,    .is-style-ss-kinetic-up    { transform: translateY(50px); }
.drop,    .is-style-ss-kinetic-down  { transform: translateY(-50px); }
.zoom,    .is-style-ss-kinetic-zoom  { transform: scale(0.9); }
.etch,    .is-style-ss-kinetic-etch  { transform: scale(1.05); filter: blur(10px); }
.spin,    .is-style-ss-kinetic-spin  { transform: rotate(-5deg) scale(0.9); }

.slide-l, .slide-r, .rise, .drop, .zoom, .etch, .spin,
[class*="is-style-ss-kinetic"] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity, filter;
}
.is-visible { opacity: 1 !important; transform: none !important; filter: none !important; }

/* Frames & Shadows */
.is-style-ss-frame { position: relative; padding: 60px 40px; border: 1px solid rgba(0,0,0,0.05); background-image: url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Top_Left_fleuron_frame.png'), url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Top_Right_fleuron_frame.png'), url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Bottom_Right_fleuron-frame.png'), url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Bottom_Left_fleuron_frame.png'); background-position: top left, top right, bottom right, bottom left; background-repeat: no-repeat; background-size: 80px; }
.is-style-ss-shadow-yellow { box-shadow: 10px 10px 0px var(--ss-ethics) !important; border: 2px solid #1a1a1a; }
.is-style-ss-shadow-black  { box-shadow: 10px 10px 0px var(--ss-money) !important; border: 2px solid #1a1a1a; }
.is-style-ss-corner-tl { position: relative; padding: 20px; background-image: url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Top_Left_fleuron_frame.png'); background-position: top left; background-repeat: no-repeat; background-size: 60px; }
.is-style-ss-corner-br { position: relative; padding: 20px; background-image: url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Bottom_Right_fleuron-frame.png'); background-position: bottom right; background-repeat: no-repeat; background-size: 60px; }

/* The Pale Panel */
.is-style-ss-pale-panel { background-color: var(--ss-pale); border: 2px solid #1a1a1a; padding: 40px; box-shadow: 10px 10px 0px rgba(0,0,0,0.05); }

/* Fleuron Break */
hr.is-style-ss-break { display: block; width: 100%; height: 60px; margin: 60px 0; background-image: url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Horizontal_Break_fleuron.png'); background-position: center; background-repeat: no-repeat; background-size: contain; border: none !important; background-color: transparent !important; }

/* =========================================
   6. THE CONSTITUTION (LEDGER) RE-ENGINEERED
   ========================================= */
.tenet-numeral-col { display: flex; justify-content: center; align-items: flex-start; padding-right: 20px; border-right: 2px solid #1a1a1a; }
h2.tenet-numeral { font-family: 'Degheest FT88 Goth', monospace !important; font-size: 4rem !important; line-height: 1 !important; color: #d1d1d1; margin: 0 !important; border: none !important; padding: 0 !important; text-transform: none !important; transition: color 0.3s ease; } .wp-block-columns:hover h2.tenet-numeral { color: #1a1a1a; }
.tenet-content-col { padding-left: 30px; padding-bottom: 40px; }
h3.tenet-title { font-family: 'Degheest Abordage', serif; text-transform: uppercase; font-size: 2rem; margin-bottom: 20px; letter-spacing: -0.5px; }
.tenet-body { font-family: 'Degheest Latitude', sans-serif; font-size: 1.1rem; } /* Updated to Latitude for consistency */
.tenet-label { font-family: 'Degheest FT88', monospace; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; margin-right: 10px; }
@media (max-width: 768px) { .tenet-numeral-col { border-right: none; border-bottom: 2px solid #1a1a1a; justify-content: flex-start; padding-bottom: 10px; margin-bottom: 20px !important; } .tenet-content-col { padding-left: 0; } }

/* =========================================
   7. FOOTER & BUREAU LEGACY
   ========================================= */
.sovereign-footer { position: relative; padding: 80px 100px; text-align: center; margin-top: 100px; background: #fff; border-top: 1px solid #eee; }
.footer-corner-bl, .footer-corner-br { position: absolute; bottom: 0; width: 120px; height: 120px; background-size: contain; background-repeat: no-repeat; z-index: 10; }
.footer-corner-bl { left: 0; background-image: url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Bottom_Left_fleuron_frame.png'); background-position: bottom left; }
.footer-corner-br { right: 0; background-image: url('https://standardsyntax.com/wp-content/themes/standard_syntax_theme/assets/ui/standard_syntax_Bottom_Right_fleuron-frame.png'); background-position: bottom right; }
.footer-links-container a { font-family: 'Degheest FT88', monospace; font-size: 0.9rem; color: #666; text-transform: uppercase; text-decoration: none; margin: 0 15px; } .footer-links-container a:hover { color: #000; text-decoration: underline; }
.custom-copyright { font-family: 'Degheest FT88', monospace; font-size: 0.75rem; color: #999; text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 20; }
.site-info { display: none; }

.bureau-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-bottom: 80px; }
.bureau-header { padding: 25px 20px; border-bottom: 2px solid #1a1a1a; text-align: center; min-height: 110px; display: flex; align-items: center; justify-content: center; } .bureau-header h3 { margin: 0; font-size: 2.2rem; line-height: 1; width: 100%; }
.bureau-ethics h3 { font-family: 'Degheest Latitude', serif; } .bureau-money h3 { font-family: 'Degheest FT88', monospace; letter-spacing: -1px; } .bureau-life h3 { font-family: 'Degheest Director', sans-serif; font-weight: 700; } .bureau-time h3 { font-family: 'Degheest Basalte', serif; } .bureau-world h3 { font-family: 'Degheest Abordage', serif; } .bureau-experience h3 { font-family: 'Degheest Louise', serif; text-transform: none !important; font-size: 3.2rem !important; line-height: 0.9 !important; }
.bureau-ethics { border-top: 10px solid var(--ss-ethics); } .bureau-money { border-top: 10px solid var(--ss-money); } .bureau-life { border-top: 10px solid var(--ss-life); } .bureau-time { border-top: 10px solid var(--ss-time); } .bureau-world { border-top: 10px solid var(--ss-world); } .bureau-experience { border-top: 10px solid var(--ss-experience); }
.bureau-body { padding: 30px; flex-grow: 1; } .bureau-list { list-style: none; margin: 0; padding: 0; font-family: 'Degheest FT88', monospace; font-size: 0.8rem; color: #666; } .bureau-list li { margin-bottom: 5px; text-transform: uppercase; } .the-prefix { font-family: 'Degheest Latitude', serif; font-style: italic; font-size: 0.4em; display: block; line-height: 1; letter-spacing: 1px; margin-bottom: 5px; text-transform: uppercase; }