/* PROJECT BtDB — Public Site Stylesheet */
/* (C) 2022–2026 T. Magnus Nilsson — Ordo Terminalis */

/* ═══════════════════════════════════════════════════════════
DESIGN TOKENS
═══════════════════════════════════════════════════════════ */

:root {


--bg-dark: #04080f;
--bg-blue: #0e1d53;

--text: #c8d4e8;
--text-light: #fdeeff;
--text-muted: #aa8989;

--gold: #a07840;
--blue: #123466;
--blue-accent: #454587;

--border: #343434;
--border-light: #435456;

--mono: 'Courier New', monospace;
--serif: Georgia, serif;
--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;


}

/* ═══════════════════════════════════════════════════════════
RESET
═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {

   box-sizing: border-box;
   margin: 0;
   padding: 0;

}

html {

scroll-behavior: smooth;
}

body {

   min-height: 100vh;
   padding: 3px;
   color: var(--text);
   font-family: var(--serif);
   font-size: 1rem;
   line-height: 1.6;
   background:
    linear-gradient(
        90deg,
        var(--bg-dark) 0%,
        var(--bg-blue) 100%
    );
}

/* ═══════════════════════════════════════════════════════════
TYPOGRAPHY
═══════════════════════════════════════════════════════════ */

h1,
h2,
h3,
h4 {
   max-width: 100%;
   margin: 0.5em 0;
   text-align: center;
   overflow-wrap: break-word;
}

h1 {
   font-size: 1.8rem;
}

h2 {
   padding: 0 1rem;
   font-size: 1.4rem;
}

h3 {
   padding: 0 1rem;
   font-size: 1.2rem;
}

h4 {
   padding: 0 1rem;
   font-size: 1.1rem;
}

p {
   max-width: 900px;
   margin: 0.5em auto;
   padding: 0 2rem;
   font-size: 0.95rem;
   overflow-wrap: break-word;
}

/* ═══════════════════════════════════════════════════════════
LINKS
═══════════════════════════════════════════════════════════ */

a {
   color: var(--gold);
   text-decoration: none;
   overflow-wrap: anywhere;
}

a:hover {
   text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
BUTTONS
═══════════════════════════════════════════════════════════ */

button,
.btn {

   padding: 0.5em 1em;
   font: inherit;
   cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
GLOBAL MEDIA
═══════════════════════════════════════════════════════════ */

img,
iframe,
video {
   max-width: 100%;
   height: auto;
}

/* ═══════════════════════════════════════════════════════════
HEADER
═══════════════════════════════════════════════════════════ */

header {
   display: flex;  
   flex-direction: column;
   align-items: center;
   justify-content: center;
   min-height: 70vh;
   padding: 2rem;
   text-align: center;
}

.header {
   width: 100%;
}

.sigil-wrapper {

   width: 100%;
   max-width: 180px;
   margin: 0 auto 1rem;
}

.sigil-svg {
   display: block;
   width: 100%;
   height: auto;
}

/* ═══════════════════════════════════════════════════════════
NAVIGATION
═══════════════════════════════════════════════════════════ */

nav {
   width: 100%;
}

.share-row {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 1.5rem;
   padding: 2rem 0;
   font-family: var(--sans);
}

.share-row a,
.share-row button {
   color: var(--text-muted);
   font-size: 0.85rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   background: none;
   border: none;
   transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.share-row a:hover,
.share-row button:hover {

   color: var(--text-light);
   text-decoration: none;
   transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
MAIN CONTENT
═══════════════════════════════════════════════════════════ */

main {
   width: 100%;
}

main > section {
   width: 100%;
   max-width: 1100px;
   margin: 0 auto;
   padding: 2rem 1rem;
}

/* ==========================================================================
ACCORDION SECTIONS
========================================================================== */

.accordion-container { 
    display: block; 
    width: 100%; 
    max-width: 800px; 
    margin: 0 auto 1rem; 
    font-family: var(--sans); 
}
.accordion-container details {
    display: block !important;  
    float: none;               
    clear: both;                
    width: 100%;
    overflow: hidden;
    margin-bottom: 12px;
    background: linear-gradient(
        90deg,
        var(--bg-blue) 0%,
        var(--bg-dark) 100%
    );
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.accordion-container summary {
    display: block !important;  
    width: 100%;               
    list-style: none;
    cursor: pointer;
    background: var(--bg-blue);
    transition: background 0.2s ease;
}


.accordion-container summary .summary-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-container summary:hover {
    background: #323289;
}


.accordion-container summary::-webkit-details-marker {
    display: none;
}


.accordion-container summary .summary-content::after {
    content: "+";
    font-size: 1.5rem;
    line-height: 1;
}

.accordion-container details[open] summary .summary-content::after {
    content: "−";
}

.accordion-container details[open] > *:not(summary) {
    animation: fadeIn 0.3s ease;
}


@keyframes fadeIn {


from {
   opacity: 0;
   transform: translateY(-10px);
}

to {

   opacity: 1;
   transform: translateY(0);

}

}

/* ═══════════════════════════════════════════════════════════
IMAGES AND FIGURES
═══════════════════════════════════════════════════════════ */

.image-container {

   margin: 1.5rem auto 2rem;
   text-align: center;
}

.image-container img {
   display: block;
   max-width: 88%;
   margin: 0 auto;
   border-top: 2px solid var(--blue);
   border-right: 3px solid var(--blue);
   border-bottom: 3px solid var(--blue);
   border-left: 2px solid var(--blue);
   box-shadow:
    0 0 10px rgba(0, 0, 0, 0.5);
}

figure {
   margin: 1.5rem auto;
}

figcaption {
   margin-top: 0.75rem;
   text-align: center;
}

/* ═══════════════════════════════════════════════════════════
EQUATION
═══════════════════════════════════════════════════════════ */

.equation-block {
   width: 92%;
   max-width: 600px;
   margin: 4rem auto;
   padding: 1.5rem 1rem;
   color: #d8dde6;
   font-family: var(--mono);
   font-size: clamp(1.2rem, 1.4vw, 1.8rem);
   line-height: 1.8;
   letter-spacing: 0.04em;
   text-align: center;
   background: #0b0f14;
   border: 1px solid #2a3442;
   border-left: 4px solid #4c78ff;
   border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════
MANIFESTO CALL TO ACTION
═══════════════════════════════════════════════════════════ */

.cta-row {
   padding-left: 2rem;
}

.cta-btn {
   display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
POSTERS
═══════════════════════════════════════════════════════════ */

.poster-grid {
   display: grid;
   grid-template-columns:
    repeat(
        auto-fit,
        minmax(220px, 250px)
    );

   justify-content: center;
   gap: 2rem;
   padding: 2rem;
}

.poster-grid figure {
   margin: 0;
}

.poster-grid img {
   display: block;
   width: 100%;
   transition:
    transform 0.3s ease;
}

.poster-grid img:hover {
   transform: translateY(-5px);
}

.poster-caption {
   color: var(--text-muted);
   font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
COOKIE NOTICE
═══════════════════════════════════════════════════════════ */

#cookie-banner {
   position: fixed;
   right: 20px;
   bottom: 20px;
   z-index: 1000;
   display: none;
   max-width: 300px;
   padding: 15px;
   color: #fff;
   font-size: 0.9em;
   background: rgba(0, 0, 0, 0.85);
   border: 1px solid #444;
   border-radius: 4px;
}

#cookie-banner button {
   margin-top: 10px;
   padding: 4px 10px;
   color: #fff;
   cursor: pointer;
   background: transparent;
   border: 1px solid #fff;
   transition:
     background 0.3s ease,
     color 0.3s ease;
}

#cookie-banner button:hover {
   color: #000;
   background: #fff;
}

/* ═══════════════════════════════════════════════════════════
DIVIDERS
═══════════════════════════════════════════════════════════ */

hr {
   width: 88%;
   height: 1px;
   margin: 20px auto;
   background-color: var(--blue-accent);
   border: none;
}

/* ═══════════════════════════════════════════════════════════
FOOTER
═══════════════════════════════════════════════════════════ */

footer {
   padding: 2rem 1rem;
   text-align: center;
}

footer p {
   padding: 0;

}

/* ═══════════════════════════════════════════════════════════
RESPONSIVE DESIGN
═══════════════════════════════════════════════════════════ */

@media only screen and (max-width: 1024px) {


 h1 {
   font-size: 2rem;
 }

 h2 {
   font-size: 1.6rem;
 }

 h3 {
   font-size: 1.3rem;
 }

}

@media only screen and (max-width: 768px) {


 header {
   min-height: 60vh;
   padding: 1rem;
 }


 h1 {
   font-size: 1.6rem;
 }

 h2 {
   font-size: 1.3rem;
 }

 h3 {
   font-size: 1.1rem;
 }

 p {
   font-size: 0.95rem;
   padding-right: 1.25rem;
   padding-left: 1.25rem;
 }


 main > section {
   padding-right: 0.5rem;
   padding-left: 0.5rem;
 }


}

@media only screen and (max-width: 480px) {


 h1 {

   font-size: 1.4rem;
 }

 h2 {

    font-size: 1.2rem;

 }

 h3 {
    font-size: 1rem;
 }

 p {

    font-size: 0.9rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
 }

 .share-row {

    gap: 1rem;

 }


 .share-row a,
 .share-row button {
    font-size: 0.75rem;

 }


 .poster-grid {
    padding: 1rem;
 }


 #cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;

 }


}

#cookie-banner {
  display: none;
}


/* ═══════════════════════════════════════════════════════════
PROJECT NOTICE
═══════════════════════════════════════════════════════════ */

/*
(C) Magnus Nilsson
Project BtDB
Ordo Terminalis
ALL RIGHTS RESERVED

No opt:20260729 kl 1603
84CC1DC88DC3B9846D314A2FA1E62874424E43D66900E4EB01FEB86C91DC8FF0
*/
