Initial commit: hardened DeerFlow factory

Vendored deer-flow upstream (bytedance/deer-flow) plus prompt-injection
hardening:

- New deerflow.security package: content_delimiter, html_cleaner,
  sanitizer (8 layers — invisible chars, control chars, symbols, NFC,
  PUA, tag chars, horizontal whitespace collapse with newline/tab
  preservation, length cap)
- New deerflow.community.searx package: web_search, web_fetch,
  image_search backed by a private SearX instance, every external
  string sanitized and wrapped in <<<EXTERNAL_UNTRUSTED_CONTENT>>>
  delimiters
- All native community web providers (ddg_search, tavily, exa,
  firecrawl, jina_ai, infoquest, image_search) replaced with hard-fail
  stubs that raise NativeWebToolDisabledError at import time, so a
  misconfigured tool.use path fails loud rather than silently falling
  back to unsanitized output
- Native client back-doors (jina_client.py, infoquest_client.py)
  stubbed too
- Native-tool tests quarantined under tests/_disabled_native/
  (collect_ignore_glob via local conftest.py)
- Sanitizer Layer 7 fix: only collapse horizontal whitespace, preserve
  newlines and tabs so list/table structure survives
- Hardened runtime config.yaml references only the searx-backed tools
- Factory overlay (backend/) kept in sync with deer-flow tree as a
  reference / source

See HARDENING.md for the full audit trail and verification steps.
This commit is contained in:
2026-04-12 14:23:57 +02:00
commit 6de0bf9f5b
889 changed files with 173052 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,354 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pride and Prejudice | Jane Austen</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<!-- Navigation -->
<nav class="nav">
<div class="nav-brand">P&P</div>
<ul class="nav-links">
<li><a href="#about">About</a></li>
<li><a href="#characters">Characters</a></li>
<li><a href="#themes">Themes</a></li>
<li><a href="#quotes">Quotes</a></li>
</ul>
</nav>
<!-- Hero Section -->
<section class="hero">
<div class="hero-bg">
<div class="hero-pattern"></div>
</div>
<div class="hero-content">
<p class="hero-subtitle">A Novel by</p>
<h1 class="hero-title">
<span class="title-line">Pride</span>
<span class="title-ampersand">&</span>
<span class="title-line">Prejudice</span>
</h1>
<p class="hero-author">Jane Austen</p>
<p class="hero-year">1813</p>
<div class="hero-divider">
<span class="divider-line"></span>
<span class="divider-ornament"></span>
<span class="divider-line"></span>
</div>
<p class="hero-tagline">"It is a truth universally acknowledged..."</p>
<a href="#about" class="hero-cta">
<span>Discover the Story</span>
<svg
class="cta-arrow"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.5"
>
<path d="M12 5v14M5 12l7 7 7-7" />
</svg>
</a>
</div>
<div class="hero-scroll-indicator">
<div class="scroll-line"></div>
</div>
</section>
<!-- About Section -->
<section id="about" class="about">
<div class="container">
<div class="section-header">
<span class="section-number">01</span>
<h2 class="section-title">The Novel</h2>
</div>
<div class="about-content">
<div class="about-text">
<p class="about-lead">
Set in rural England in the early 19th century,
<em>Pride and Prejudice</em> tells the story of the Bennet family
and their five unmarried daughters.
</p>
<p>
When the wealthy and eligible Mr. Bingley rents a nearby estate,
Mrs. Bennet sees an opportunity to marry off her eldest daughter,
Jane. At a ball, Jane forms an attachment to Mr. Bingley, while
her sister Elizabeth meets his friend, the proud Mr. Darcy.
</p>
<p>
What follows is a masterful exploration of manners, morality,
education, and marriage in the society of the landed gentry of
early 19th-century England.
</p>
</div>
<div class="about-stats">
<div class="stat-item">
<span class="stat-number">61</span>
<span class="stat-label">Chapters</span>
</div>
<div class="stat-item">
<span class="stat-number">122K</span>
<span class="stat-label">Words</span>
</div>
<div class="stat-item">
<span class="stat-number">20M+</span>
<span class="stat-label">Copies Sold</span>
</div>
</div>
</div>
</div>
</section>
<!-- Characters Section -->
<section id="characters" class="characters">
<div class="container">
<div class="section-header">
<span class="section-number">02</span>
<h2 class="section-title">The Characters</h2>
</div>
<div class="characters-grid">
<div class="character-card featured">
<div class="character-portrait elizabeth"></div>
<div class="character-info">
<h3>Elizabeth Bennet</h3>
<p class="character-role">The Protagonist</p>
<p class="character-desc">
Intelligent, witty, and independent, Elizabeth navigates
society's expectations while staying true to her principles.
</p>
</div>
</div>
<div class="character-card featured">
<div class="character-portrait darcy"></div>
<div class="character-info">
<h3>Fitzwilliam Darcy</h3>
<p class="character-role">The Romantic Lead</p>
<p class="character-desc">
Wealthy, reserved, and initially perceived as arrogant, Darcy's
true character is revealed through his actions.
</p>
</div>
</div>
<div class="character-card">
<div class="character-portrait jane"></div>
<div class="character-info">
<h3>Jane Bennet</h3>
<p class="character-role">The Eldest Sister</p>
<p class="character-desc">
Beautiful, gentle, and always sees the best in people.
</p>
</div>
</div>
<div class="character-card">
<div class="character-portrait bingley"></div>
<div class="character-info">
<h3>Charles Bingley</h3>
<p class="character-role">The Amiable Gentleman</p>
<p class="character-desc">
Wealthy, good-natured, and easily influenced by his friends.
</p>
</div>
</div>
<div class="character-card">
<div class="character-portrait lydia"></div>
<div class="character-info">
<h3>Lydia Bennet</h3>
<p class="character-role">The Youngest Sister</p>
<p class="character-desc">
Frivolous, flirtatious, and impulsive, causing family scandal.
</p>
</div>
</div>
<div class="character-card">
<div class="character-portrait wickham"></div>
<div class="character-info">
<h3>George Wickham</h3>
<p class="character-role">The Antagonist</p>
<p class="character-desc">
Charming on the surface but deceitful and manipulative.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- Themes Section -->
<section id="themes" class="themes">
<div class="container">
<div class="section-header">
<span class="section-number">03</span>
<h2 class="section-title">Themes</h2>
</div>
<div class="themes-content">
<div class="theme-item">
<div class="theme-icon">
<svg
viewBox="0 0 48 48"
fill="none"
stroke="currentColor"
stroke-width="1.5"
>
<path
d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z"
/>
<path d="M24 12v20M16 24h16" />
</svg>
</div>
<h3>Pride</h3>
<p>
Darcy's pride in his social position initially prevents him from
acknowledging his feelings for Elizabeth, while Elizabeth's pride
in her discernment blinds her to Darcy's true character.
</p>
</div>
<div class="theme-item">
<div class="theme-icon">
<svg
viewBox="0 0 48 48"
fill="none"
stroke="currentColor"
stroke-width="1.5"
>
<path d="M24 4l6 12 13 2-9 9 2 13-12-6-12 6 2-13-9-9 13-2z" />
</svg>
</div>
<h3>Prejudice</h3>
<p>
Elizabeth's prejudice against Darcy, formed from their first
meeting and Wickham's lies, nearly costs her happiness. The novel
shows how first impressions can be misleading.
</p>
</div>
<div class="theme-item">
<div class="theme-icon">
<svg
viewBox="0 0 48 48"
fill="none"
stroke="currentColor"
stroke-width="1.5"
>
<path
d="M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20z"
/>
<path
d="M14 24c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10"
/>
</svg>
</div>
<h3>Marriage</h3>
<p>
The novel examines marriage from multiple perspectives: for love,
for security, for social advancement, and the rare ideal of
marrying for both love and compatibility.
</p>
</div>
<div class="theme-item">
<div class="theme-icon">
<svg
viewBox="0 0 48 48"
fill="none"
stroke="currentColor"
stroke-width="1.5"
>
<path d="M12 12h24v24H12z" />
<path d="M12 12l24 24M36 12L12 36" />
</svg>
</div>
<h3>Class</h3>
<p>
The rigid class structure of Regency England shapes every
interaction, from who may marry whom to how characters are judged
by their connections and fortune.
</p>
</div>
</div>
</div>
</section>
<!-- Famous Quotes Section -->
<section id="quotes" class="quotes">
<div class="container">
<div class="section-header">
<span class="section-number">04</span>
<h2 class="section-title">Memorable Quotes</h2>
</div>
<div class="quotes-slider">
<div class="quote-card active">
<span class="quote-mark">"</span>
<blockquote>
It is a truth universally acknowledged, that a single man in
possession of a good fortune, must be in want of a wife.
</blockquote>
<cite>— Opening Line</cite>
</div>
<div class="quote-card">
<span class="quote-mark">"</span>
<blockquote>
I could easily forgive his pride, if he had not mortified mine.
</blockquote>
<cite>— Elizabeth Bennet</cite>
</div>
<div class="quote-card">
<span class="quote-mark">"</span>
<blockquote>
You have bewitched me, body and soul, and I love, I love, I love
you.
</blockquote>
<cite>— Mr. Darcy</cite>
</div>
<div class="quote-card">
<span class="quote-mark">"</span>
<blockquote>Till this moment I never knew myself.</blockquote>
<cite>— Elizabeth Bennet</cite>
</div>
<div class="quote-card">
<span class="quote-mark">"</span>
<blockquote>My good opinion once lost, is lost forever.</blockquote>
<cite>— Mr. Darcy</cite>
</div>
</div>
<div class="quotes-nav">
<button class="quote-dot active" data-index="0"></button>
<button class="quote-dot" data-index="1"></button>
<button class="quote-dot" data-index="2"></button>
<button class="quote-dot" data-index="3"></button>
<button class="quote-dot" data-index="4"></button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-brand">
<span class="footer-logo">P&P</span>
<p>A timeless masterpiece of English literature</p>
</div>
<div class="footer-divider">
<span class="divider-ornament"></span>
</div>
<p class="footer-credit">Based on the 1813 novel by Jane Austen</p>
</div>
</div>
<a
href="https://deerflow.tech"
target="_blank"
class="deerflow-signature"
>
<span class="signature-text">Created By Deerflow</span>
<span class="signature-icon"></span>
</a>
</footer>
<script src="script.js"></script>
</body>
</html>

View File

@@ -0,0 +1,180 @@
// Pride and Prejudice - Interactive Features
document.addEventListener("DOMContentLoaded", () => {
// Navigation scroll effect
initNavigation();
// Quotes slider
initQuotesSlider();
// Scroll reveal animations
initScrollReveal();
// Smooth scroll for anchor links
initSmoothScroll();
});
// ============================================
// NAVIGATION SCROLL EFFECT
// ============================================
function initNavigation() {
const nav = document.querySelector(".nav");
let lastScroll = 0;
window.addEventListener("scroll", () => {
const currentScroll = window.pageYOffset;
// Add/remove scrolled class
if (currentScroll > 100) {
nav.classList.add("scrolled");
} else {
nav.classList.remove("scrolled");
}
lastScroll = currentScroll;
});
}
// ============================================
// QUOTES SLIDER
// ============================================
function initQuotesSlider() {
const quotes = document.querySelectorAll(".quote-card");
const dots = document.querySelectorAll(".quote-dot");
let currentIndex = 0;
let autoSlideInterval;
function showQuote(index) {
// Remove active class from all quotes and dots
quotes.forEach((quote) => quote.classList.remove("active"));
dots.forEach((dot) => dot.classList.remove("active"));
// Add active class to current quote and dot
quotes[index].classList.add("active");
dots[index].classList.add("active");
currentIndex = index;
}
function nextQuote() {
const nextIndex = (currentIndex + 1) % quotes.length;
showQuote(nextIndex);
}
// Dot click handlers
dots.forEach((dot, index) => {
dot.addEventListener("click", () => {
showQuote(index);
resetAutoSlide();
});
});
// Auto-slide functionality
function startAutoSlide() {
autoSlideInterval = setInterval(nextQuote, 6000);
}
function resetAutoSlide() {
clearInterval(autoSlideInterval);
startAutoSlide();
}
// Start auto-slide
startAutoSlide();
// Pause on hover
const slider = document.querySelector(".quotes-slider");
slider.addEventListener("mouseenter", () => clearInterval(autoSlideInterval));
slider.addEventListener("mouseleave", startAutoSlide);
}
// ============================================
// SCROLL REVEAL ANIMATIONS
// ============================================
function initScrollReveal() {
const revealElements = document.querySelectorAll(
".about-content, .character-card, .theme-item, .section-header",
);
const revealOptions = {
threshold: 0.15,
rootMargin: "0px 0px -50px 0px",
};
const revealObserver = new IntersectionObserver((entries) => {
entries.forEach((entry, index) => {
if (entry.isIntersecting) {
// Add staggered delay for grid items
const delay =
entry.target.classList.contains("character-card") ||
entry.target.classList.contains("theme-item")
? index * 100
: 0;
setTimeout(() => {
entry.target.classList.add("reveal");
entry.target.style.opacity = "1";
entry.target.style.transform = "translateY(0)";
}, delay);
revealObserver.unobserve(entry.target);
}
});
}, revealOptions);
revealElements.forEach((el) => {
el.style.opacity = "0";
el.style.transform = "translateY(30px)";
el.style.transition =
"opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1)";
revealObserver.observe(el);
});
}
// ============================================
// SMOOTH SCROLL FOR ANCHOR LINKS
// ============================================
function initSmoothScroll() {
document.querySelectorAll('a[href^="#"]').forEach((anchor) => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute("href"));
if (target) {
const navHeight = document.querySelector(".nav").offsetHeight;
const targetPosition =
target.getBoundingClientRect().top + window.pageYOffset - navHeight;
window.scrollTo({
top: targetPosition,
behavior: "smooth",
});
}
});
});
}
// ============================================
// PARALLAX EFFECT FOR HERO
// ============================================
window.addEventListener("scroll", () => {
const scrolled = window.pageYOffset;
const heroPattern = document.querySelector(".hero-pattern");
if (heroPattern && scrolled < window.innerHeight) {
heroPattern.style.transform = `translateY(${scrolled * 0.3}px) rotate(${scrolled * 0.02}deg)`;
}
});
// ============================================
// CHARACTER CARD HOVER EFFECT
// ============================================
document.querySelectorAll(".character-card").forEach((card) => {
card.addEventListener("mouseenter", function () {
this.style.zIndex = "10";
});
card.addEventListener("mouseleave", function () {
this.style.zIndex = "1";
});
});

View File

@@ -0,0 +1,966 @@
/* ============================================
PRIDE AND PREJUDICE - Regency Era Aesthetic
============================================ */
/* CSS Variables */
:root {
/* Colors - Regency Era Palette */
--color-cream: #faf7f2;
--color-ivory: #f5f0e8;
--color-parchment: #ede6d6;
--color-gold: #c9a962;
--color-gold-light: #d4bc7e;
--color-burgundy: #722f37;
--color-burgundy-dark: #5a252c;
--color-charcoal: #2c2c2c;
--color-charcoal-light: #4a4a4a;
--color-sage: #7d8471;
--color-rose: #c4a4a4;
/* Typography */
--font-display: "Playfair Display", Georgia, serif;
--font-body: "Cormorant Garamond", Georgia, serif;
/* Spacing */
--section-padding: 8rem;
--container-max: 1200px;
/* Transitions */
--transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
--transition-quick: all 0.3s ease;
}
/* Reset & Base */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: var(--font-body);
font-size: 1.125rem;
line-height: 1.7;
color: var(--color-charcoal);
background-color: var(--color-cream);
overflow-x: hidden;
}
.container {
max-width: var(--container-max);
margin: 0 auto;
padding: 0 2rem;
}
/* ============================================
NAVIGATION
============================================ */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 3rem;
background: linear-gradient(
to bottom,
rgba(250, 247, 242, 0.95),
transparent
);
transition: var(--transition-quick);
}
.nav.scrolled {
background: rgba(250, 247, 242, 0.98);
backdrop-filter: blur(10px);
box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}
.nav-brand {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 600;
color: var(--color-burgundy);
letter-spacing: 0.1em;
}
.nav-links {
display: flex;
list-style: none;
gap: 2.5rem;
}
.nav-links a {
font-family: var(--font-body);
font-size: 0.95rem;
font-weight: 500;
color: var(--color-charcoal);
text-decoration: none;
letter-spacing: 0.05em;
position: relative;
padding-bottom: 0.25rem;
transition: var(--transition-quick);
}
.nav-links a::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
background: var(--color-gold);
transition: var(--transition-quick);
}
.nav-links a:hover {
color: var(--color-burgundy);
}
.nav-links a:hover::after {
width: 100%;
}
/* ============================================
HERO SECTION
============================================ */
.hero {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
background: linear-gradient(
135deg,
var(--color-cream) 0%,
var(--color-ivory) 50%,
var(--color-parchment) 100%
);
}
.hero-bg {
position: absolute;
inset: 0;
overflow: hidden;
}
.hero-pattern {
position: absolute;
inset: -50%;
background-image:
radial-gradient(
circle at 20% 30%,
rgba(201, 169, 98, 0.08) 0%,
transparent 50%
),
radial-gradient(
circle at 80% 70%,
rgba(114, 47, 55, 0.05) 0%,
transparent 50%
),
radial-gradient(
circle at 50% 50%,
rgba(125, 132, 113, 0.03) 0%,
transparent 60%
);
animation: patternFloat 20s ease-in-out infinite;
}
@keyframes patternFloat {
0%,
100% {
transform: translate(0, 0) rotate(0deg);
}
50% {
transform: translate(2%, 2%) rotate(2deg);
}
}
.hero-content {
text-align: center;
z-index: 1;
padding: 2rem;
max-width: 900px;
}
.hero-subtitle {
font-family: var(--font-body);
font-size: 1rem;
font-weight: 400;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--color-sage);
margin-bottom: 1.5rem;
opacity: 0;
animation: fadeInUp 1s ease forwards 0.3s;
}
.hero-title {
margin-bottom: 1rem;
}
.title-line {
display: block;
font-family: var(--font-display);
font-size: clamp(3rem, 10vw, 7rem);
font-weight: 400;
line-height: 1;
color: var(--color-charcoal);
opacity: 0;
animation: fadeInUp 1s ease forwards 0.5s;
}
.title-line:first-child {
font-style: italic;
color: var(--color-burgundy);
}
.title-ampersand {
display: block;
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 300;
font-style: italic;
color: var(--color-gold);
margin: 0.5rem 0;
opacity: 0;
animation: fadeInScale 1s ease forwards 0.7s;
}
@keyframes fadeInScale {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}
.hero-author {
font-family: var(--font-display);
font-size: clamp(1.25rem, 3vw, 1.75rem);
font-weight: 400;
color: var(--color-charcoal-light);
letter-spacing: 0.15em;
margin-bottom: 0.5rem;
opacity: 0;
animation: fadeInUp 1s ease forwards 0.9s;
}
.hero-year {
font-family: var(--font-body);
font-size: 1rem;
font-weight: 300;
color: var(--color-sage);
letter-spacing: 0.2em;
margin-bottom: 2rem;
opacity: 0;
animation: fadeInUp 1s ease forwards 1s;
}
.hero-divider {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 2rem;
opacity: 0;
animation: fadeInUp 1s ease forwards 1.1s;
}
.divider-line {
width: 60px;
height: 1px;
background: linear-gradient(
90deg,
transparent,
var(--color-gold),
transparent
);
}
.divider-ornament {
color: var(--color-gold);
font-size: 1.25rem;
}
.hero-tagline {
font-family: var(--font-body);
font-size: 1.25rem;
font-style: italic;
color: var(--color-charcoal-light);
margin-bottom: 3rem;
opacity: 0;
animation: fadeInUp 1s ease forwards 1.2s;
}
.hero-cta {
display: inline-flex;
align-items: center;
gap: 0.75rem;
font-family: var(--font-body);
font-size: 1rem;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--color-burgundy);
text-decoration: none;
padding: 1rem 2rem;
border: 1px solid var(--color-burgundy);
transition: var(--transition-smooth);
opacity: 0;
animation: fadeInUp 1s ease forwards 1.3s;
}
.hero-cta:hover {
background: var(--color-burgundy);
color: var(--color-cream);
}
.hero-cta:hover .cta-arrow {
transform: translateY(4px);
}
.cta-arrow {
width: 20px;
height: 20px;
transition: var(--transition-quick);
}
.hero-scroll-indicator {
position: absolute;
bottom: 3rem;
left: 50%;
transform: translateX(-50%);
opacity: 0;
animation: fadeIn 1s ease forwards 1.5s;
}
.scroll-line {
width: 1px;
height: 60px;
background: linear-gradient(to bottom, var(--color-gold), transparent);
animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
0%,
100% {
opacity: 0.3;
transform: scaleY(0.8);
}
50% {
opacity: 1;
transform: scaleY(1);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* ============================================
SECTION HEADERS
============================================ */
.section-header {
display: flex;
align-items: baseline;
gap: 1.5rem;
margin-bottom: 4rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid rgba(201, 169, 98, 0.3);
}
.section-number {
font-family: var(--font-display);
font-size: 0.875rem;
font-weight: 400;
color: var(--color-gold);
letter-spacing: 0.1em;
}
.section-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 400;
color: var(--color-charcoal);
font-style: italic;
}
/* ============================================
ABOUT SECTION
============================================ */
.about {
padding: var(--section-padding) 0;
background: var(--color-cream);
}
.about-content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 4rem;
align-items: start;
}
.about-text {
max-width: 600px;
}
.about-lead {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 400;
line-height: 1.5;
color: var(--color-burgundy);
margin-bottom: 1.5rem;
}
.about-text p {
margin-bottom: 1.25rem;
color: var(--color-charcoal-light);
}
.about-text em {
font-style: italic;
color: var(--color-charcoal);
}
.about-stats {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 2rem;
background: var(--color-ivory);
border-left: 3px solid var(--color-gold);
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-family: var(--font-display);
font-size: 2.5rem;
font-weight: 600;
color: var(--color-burgundy);
line-height: 1;
}
.stat-label {
font-family: var(--font-body);
font-size: 0.875rem;
color: var(--color-sage);
letter-spacing: 0.1em;
text-transform: uppercase;
}
/* ============================================
CHARACTERS SECTION
============================================ */
.characters {
padding: var(--section-padding) 0;
background: linear-gradient(
to bottom,
var(--color-ivory),
var(--color-cream)
);
}
.characters-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.character-card {
background: var(--color-cream);
border: 1px solid rgba(201, 169, 98, 0.2);
overflow: hidden;
transition: var(--transition-smooth);
}
.character-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
border-color: var(--color-gold);
}
.character-card.featured {
grid-column: span 1;
}
.character-portrait {
height: 200px;
background: linear-gradient(
135deg,
var(--color-parchment) 0%,
var(--color-ivory) 100%
);
position: relative;
overflow: hidden;
}
.character-portrait::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(
circle at 30% 30%,
rgba(201, 169, 98, 0.15) 0%,
transparent 60%
);
}
.character-portrait.elizabeth::after {
content: "👒";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 4rem;
opacity: 0.6;
}
.character-portrait.darcy::after {
content: "🎩";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 4rem;
opacity: 0.6;
}
.character-portrait.jane::after {
content: "🌸";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
opacity: 0.5;
}
.character-portrait.bingley::after {
content: "🎭";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
opacity: 0.5;
}
.character-portrait.lydia::after {
content: "💃";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
opacity: 0.5;
}
.character-portrait.wickham::after {
content: "🎪";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
opacity: 0.5;
}
.character-info {
padding: 1.5rem;
}
.character-info h3 {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 500;
color: var(--color-charcoal);
margin-bottom: 0.25rem;
}
.character-role {
font-family: var(--font-body);
font-size: 0.8rem;
font-weight: 500;
color: var(--color-gold);
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 0.75rem;
}
.character-desc {
font-size: 0.95rem;
color: var(--color-charcoal-light);
line-height: 1.6;
}
/* ============================================
THEMES SECTION
============================================ */
.themes {
padding: var(--section-padding) 0;
background: var(--color-charcoal);
color: var(--color-cream);
}
.themes .section-title {
color: var(--color-cream);
}
.themes .section-header {
border-bottom-color: rgba(201, 169, 98, 0.2);
}
.themes-content {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 3rem;
}
.theme-item {
padding: 2.5rem;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(201, 169, 98, 0.15);
transition: var(--transition-smooth);
}
.theme-item:hover {
background: rgba(255, 255, 255, 0.06);
border-color: var(--color-gold);
transform: translateY(-4px);
}
.theme-icon {
width: 48px;
height: 48px;
margin-bottom: 1.5rem;
color: var(--color-gold);
}
.theme-icon svg {
width: 100%;
height: 100%;
}
.theme-item h3 {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 400;
color: var(--color-cream);
margin-bottom: 1rem;
}
.theme-item p {
font-size: 1rem;
color: rgba(250, 247, 242, 0.7);
line-height: 1.7;
}
/* ============================================
QUOTES SECTION
============================================ */
.quotes {
padding: var(--section-padding) 0;
background: linear-gradient(
135deg,
var(--color-parchment) 0%,
var(--color-ivory) 100%
);
position: relative;
overflow: hidden;
}
.quotes::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a962' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
pointer-events: none;
}
.quotes-slider {
position: relative;
min-height: 300px;
}
.quote-card {
position: absolute;
top: 0;
left: 0;
right: 0;
text-align: center;
padding: 2rem;
opacity: 0;
transform: translateX(50px);
transition: var(--transition-smooth);
pointer-events: none;
}
.quote-card.active {
opacity: 1;
transform: translateX(0);
pointer-events: auto;
}
.quote-mark {
font-family: var(--font-display);
font-size: 6rem;
color: var(--color-gold);
opacity: 0.3;
line-height: 1;
display: block;
margin-bottom: -2rem;
}
.quote-card blockquote {
font-family: var(--font-display);
font-size: clamp(1.5rem, 4vw, 2.25rem);
font-weight: 400;
font-style: italic;
color: var(--color-charcoal);
line-height: 1.5;
max-width: 800px;
margin: 0 auto 1.5rem;
}
.quote-card cite {
font-family: var(--font-body);
font-size: 1rem;
font-style: normal;
color: var(--color-sage);
letter-spacing: 0.1em;
}
.quotes-nav {
display: flex;
justify-content: center;
gap: 0.75rem;
margin-top: 3rem;
}
.quote-dot {
width: 10px;
height: 10px;
border-radius: 50%;
border: 1px solid var(--color-gold);
background: transparent;
cursor: pointer;
transition: var(--transition-quick);
}
.quote-dot.active {
background: var(--color-gold);
transform: scale(1.2);
}
.quote-dot:hover {
background: var(--color-gold-light);
}
/* ============================================
FOOTER
============================================ */
.footer {
padding: 4rem 0;
background: var(--color-charcoal);
color: var(--color-cream);
position: relative;
}
.footer-content {
text-align: center;
}
.footer-logo {
font-family: var(--font-display);
font-size: 2rem;
font-weight: 600;
color: var(--color-gold);
letter-spacing: 0.15em;
display: block;
margin-bottom: 0.5rem;
}
.footer-brand p {
font-size: 1rem;
color: rgba(250, 247, 242, 0.6);
margin-bottom: 1.5rem;
}
.footer-divider {
margin: 1.5rem 0;
}
.footer-divider .divider-ornament {
color: var(--color-gold);
font-size: 1.5rem;
}
.footer-credit {
font-size: 0.875rem;
color: rgba(250, 247, 242, 0.5);
font-style: italic;
}
/* Deerflow Signature */
.deerflow-signature {
position: fixed;
bottom: 1.5rem;
right: 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-body);
font-size: 0.75rem;
color: var(--color-sage);
text-decoration: none;
padding: 0.5rem 1rem;
background: rgba(250, 247, 242, 0.9);
border: 1px solid rgba(201, 169, 98, 0.3);
border-radius: 20px;
backdrop-filter: blur(10px);
transition: var(--transition-quick);
z-index: 999;
}
.deerflow-signature:hover {
color: var(--color-burgundy);
border-color: var(--color-gold);
box-shadow: 0 4px 15px rgba(201, 169, 98, 0.2);
}
.signature-icon {
color: var(--color-gold);
font-size: 0.875rem;
}
/* ============================================
RESPONSIVE DESIGN
============================================ */
@media (max-width: 1024px) {
.characters-grid {
grid-template-columns: repeat(2, 1fr);
}
.about-content {
grid-template-columns: 1fr;
gap: 3rem;
}
.about-stats {
flex-direction: row;
justify-content: space-around;
border-left: none;
border-top: 3px solid var(--color-gold);
}
}
@media (max-width: 768px) {
:root {
--section-padding: 5rem;
}
.nav {
padding: 1rem 1.5rem;
}
.nav-links {
gap: 1.25rem;
}
.nav-links a {
font-size: 0.85rem;
}
.characters-grid {
grid-template-columns: 1fr;
}
.themes-content {
grid-template-columns: 1fr;
}
.section-header {
flex-direction: column;
gap: 0.5rem;
align-items: flex-start;
}
.deerflow-signature {
bottom: 1rem;
right: 1rem;
padding: 0.4rem 0.75rem;
}
}
@media (max-width: 480px) {
.container {
padding: 0 1.25rem;
}
.hero-content {
padding: 1rem;
}
.about-stats {
flex-direction: column;
gap: 1.5rem;
}
.theme-item {
padding: 1.5rem;
}
}
/* ============================================
SCROLL REVEAL ANIMATIONS
============================================ */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: var(--transition-smooth);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}