/* ===== VICTORIAN NOIR · SHERLOCK HOLMES ===== */
/* Color palette: deep charcoal, aged brass, parchment, oxblood accent */
:root {
    --bg-deep: #12100e;
    --card-bg: #1e1b16;
    --brass: #b89b7b;
    --brass-light: #d4b594;
    --parchment: #e8dcca;
    --ink: #2c2824;
    --oxblood: #6b2e2e;
    --smoke: rgba(200, 180, 150, 0.08);
    --border-thin: 1px solid rgba(184, 155, 123, 0.25);
    --shadow-brut: 6px 6px 0 rgba(0,0,0,0.5);
    --font-serif: 'Crimson Text', 'Times New Roman', serif;
    --font-display: 'Playfair Display', serif;
    --font-gothic: 'UnifrakturMaguntia', cursive;
    --font-mono: 'Special Elite', monospace;
}{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: var(--bg-deep);
color: var(--parchment);
font-family: var(--font-serif);
font-weight: 400;
line-height: 1.5;
min-height: 100vh;
position: relative;
font-size: 1.1rem;
letter-spacing: 0.01em;
}
/* ----- TEXTURE & ATMOSPHERE ----- */
.noise {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
pointer-events: none;
z-index: 2;
background: repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,0) 0%, rgba(20,15,10,0.2) 80%);
mix-blend-mode: overlay;
}
.noise::after {
content: "";
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="2"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.05"/%3E%3C/svg%3E');
opacity: 0.4;
mix-blend-mode: multiply;
}
/* Smoke animation (floating pipes) */
.smoke-container {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
pointer-events: none;
z-index: 1;
overflow: hidden;
}
.smoke {
position: absolute;
bottom: -50px;
left: 20%;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(200,180,150,0.12) 0%, rgba(120,90,70,0) 70%);
border-radius: 50%;
filter: blur(40px);
animation: floatSmoke 18s infinite ease-in-out;
}
.smoke-delay {
left: 60%;
width: 400px;
height: 400px;
animation-duration: 24s;
animation-delay: -5s;
opacity: 0.5;
}
.smoke-slow {
left: 80%;
width: 250px;
height: 250px;
animation-duration: 30s;
animation-delay: -12s;
}
@keyframes floatSmoke {
0% { transform: translateY(0) scale(1); opacity: 0.2; }
50% { transform: translateY(-180px) scale(1.3); opacity: 0.05; }
100% { transform: translateY(-400px) scale(1.6); opacity: 0; }
}
.site-wrapper {
max-width: 1300px;
margin: 0 auto;
padding: 1.5rem 2rem 2rem;
position: relative;
z-index: 10;
}
/* ----- HEADER / HERO ----- */
.hero {
display: flex;
align-items: flex-end;
justify-content: space-between;
border-bottom: 2px solid var(--brass);
padding-bottom: 1.5rem;
margin-bottom: 2.5rem;
flex-wrap: wrap;
gap: 1rem;
}
.hero-lamp {
font-size: 2.4rem;
color: var(--brass);
opacity: 0.7;
transform: rotate(-15deg);
}
.magnify-icon {
filter: drop-shadow(0 0 4px rgba(184,155,123,0.3));
}
.title-group {
flex: 1;
}
.hero-title {
font-family: var(--font-display);
font-size: clamp(3.2rem, 12vw, 5.5rem);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 0.9;
color: var(--parchment);
text-shadow: 4px 4px 0 #00000040;
}
.holmes-break {
display: inline-block;
margin-left: 0.1em;
font-style: italic;
font-weight: 500;
}
.brass-plate {
font-family: var(--font-mono);
font-size: 1.3rem;
letter-spacing: 6px;
color: var(--brass);
border: 1px solid var(--brass);
padding: 0.25rem 1rem;
display: inline-block;
margin-top: 0.3rem;
background: #1a1512;
box-shadow: inset 0 0 4px #000;
}
.motto {
display: block;
margin-top: 0.8rem;
font-style: italic;
font-size: 1.2rem;
color: #bc9b7a;
max-width: 600px;
}
.header-ornament {
display: flex;
gap: 1.5rem;
font-size: 1.8rem;
color: var(--brass);
opacity: 0.7;
}
/* ----- CARDS (V-CARD style: brutalist edge) ----- */
.v-card {
background: var(--card-bg);
border: 1px solid var(--brass);
box-shadow: 8px 8px 0 #00000080;
padding: 1.8rem 2rem;
margin-bottom: 2rem;
transition: box-shadow 0.2s, transform 0.2s;
backdrop-filter: blur(2px);
}
.v-card:hover {
box-shadow: 6px 6px 0 #000000b3;
}
.card-header {
display: flex;
align-items: center;
gap: 12px;
border-bottom: 2px dotted var(--brass);
padding-bottom: 0.8rem;
margin-bottom: 1.5rem;
}
.card-header i {
font-size: 2rem;
color: var(--brass);
}
.card-header h2 {
font-family: var(--font-display);
font-size: 2rem;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--parchment);
}
/* Main grid layout */
.main-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
/* Full width items */
.profile-card { grid-column: span 2; }
.methods-card { grid-column: 1; }
.cases-card { grid-column: 2; }
.quiz-card { grid-column: span 2; }
/* Profile */
.silhouette {
float: right;
margin: 0 0 1rem 1.5rem;
background: #2a241e;
padding: 1.2rem 1.5rem;
border: 1px solid var(--brass);
border-radius: 50% 20% 50% 20%;
color: var(--brass);
}
.profile-content .lead {
font-size: 1.3rem;
margin-bottom: 1.2rem;
}
.fact-list {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
gap: 0.8rem;
}
.fact-list li {
display: flex;
align-items: center;
gap: 10px;
border-left: 3px solid var(--oxblood);
padding-left: 12px;
}
.fact-list i { color: var(--brass); width: 1.4rem; }
/* Methods accordion */
.method-item {
border-bottom: 1px dashed #4a3e34;
margin-bottom: 0.5rem;
}
.method-title {
display: flex;
align-items: center;
gap: 12px;
padding: 0.9rem 0.2rem;
font-family: var(--font-display);
font-size: 1.4rem;
font-weight: 600;
cursor: pointer;
user-select: none;
transition: color 0.15s;
}
.method-title i:first-child { color: var(--brass); width: 1.6rem; }
.method-title i:last-child { margin-left: auto; font-size: 1rem; transition: transform 0.3s; }
.method-title.active i:last-child { transform: rotate(180deg); }
.method-detail {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease-out;
background: #181410;
margin: 0 0 0.5rem 2rem;
border-left: 2px solid var(--brass);
padding: 0 1rem;
color: #ddcfc0;
}
.method-detail.show {
max-height: 180px;
padding: 0.8rem 1rem;
}
/* Cases grid flip */
.cases-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
.case {
background: #16120e;
border: 1px solid #5e4e3e;
min-height: 140px;
position: relative;
perspective: 1200px;
cursor: pointer;
}
.case-front, .case-back {
padding: 1.2rem;
backface-visibility: hidden;
transition: transform 0.5s;
min-height: 140px;
display: flex;
flex-direction: column;
}
.case-front {
background: #1f1a15;
border-bottom: 3px solid var(--brass);
}
.case-back {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: #2a1f18;
transform: rotateY(180deg);
border: 1px solid var(--brass);
color: #f0e6d9;
overflow-y: auto;
}
.case:hover .case-front { transform: rotateY(-180deg); }
.case:hover .case-back { transform: rotateY(0); }
.case h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 4px; }
.case-year { font-family: var(--font-mono); color: var(--brass); margin-top: auto; }
/* Quiz section */
.quiz-badge {
margin-left: auto;
font-family: var(--font-gothic);
color: var(--oxblood);
font-size: 1.4rem;
letter-spacing: 2px;
}
.quiz-container { padding: 0.5rem 0; }
.scenario {
font-size: 1.4rem;
background: #0e0c0a;
padding: 1.5rem;
border-left: 8px solid var(--brass);
margin-bottom: 1.8rem;
}
.options {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 1.5rem 0;
}
.quiz-option {
background: transparent;
border: 1.5px solid var(--brass);
color: var(--parchment);
font-family: var(--font-serif);
font-size: 1.2rem;
padding: 0.7rem 1.8rem;
cursor: pointer;
transition: all 0.15s;
box-shadow: 3px 3px 0 #000;
font-weight: bold;
}
.quiz-option:hover { background: var(--brass); color: #12100e; }
.quiz-feedback { min-height: 2.5rem; font-style: italic; color: #d4b594; }
.quiz-explanation { background: #1f1a14; padding: 1.3rem; border: 1px solid var(--brass); margin-top: 1.5rem; }
.reset-quiz { margin-top: 1rem; background: none; border: 1px solid var(--oxblood); color: #e0cfc0; padding: 0.4rem 1.2rem; cursor: pointer; }
.hidden { display: none; }
.quiz-success { color: var(--brass); font-size: 1.3rem; margin: 1rem 0; }
/* Footer */
.footer {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid var(--brass);
display: flex;
justify-content: space-between;
flex-wrap: wrap;
font-family: var(--font-mono);
color: #ab9480;
}
.footer-quote { max-width: 60%; font-style: italic; }
/* Stagger animation */
@keyframes fadeRise {
0% { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0); }
}
.stagger-1 { animation: fadeRise 0.6s 0.1s both; }
.stagger-2 { animation: fadeRise 0.6s 0.25s both; }
.stagger-3 { animation: fadeRise 0.6s 0.4s both; }
.stagger-4 { animation: fadeRise 0.6s 0.55s both; }
/* Responsive */
@media (max-width: 800px) {
.main-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.profile-card, .methods-card, .cases-card, .quiz-card { grid-column: span 1; }
.hero { flex-direction: column; align-items: flex-start; }
.footer { flex-direction: column; gap: 1rem; }
.silhouette { float: none; display: block; margin: 1rem auto; text-align: center; }
.options { flex-direction: column; }
}