/* ═══════════════════════════════════════════════════════════════
THE PROMPT POWERHOUSE — First-Layer Page
css/main.css — Final Visual System (all fixes applied)
═══════════════════════════════════════════════════════════════ */
:root {
--color-bg-deep:        #0e0e10;
--color-bg-primary:     #131316;
--color-bg-raised:      #1a1a1f;
--color-bg-surface:     #212127;
--color-bg-panel:       #1e1e24;
--color-bg-warm:        #16150f;
--color-text-primary:   #e4e0da;
--color-text-secondary: #9b968e;
--color-text-tertiary:  #6b675f;
--color-text-inverse:   #0e0e10;
--color-accent:         #b89260;
--color-accent-muted:   #9a7a50;
--color-accent-soft:    rgba(184, 146, 96, 0.12);
--color-accent-glow:    rgba(184, 146, 96, 0.06);
--color-archive:        #8a8a99;
--color-archive-muted:  #6e6e7a;
--color-border:         rgba(228, 224, 218, 0.08);
--color-border-strong:  rgba(228, 224, 218, 0.13);
--color-border-accent:  rgba(184, 146, 96, 0.20);
--font-display:         'Cormorant Garamond', Georgia, 'Times New Roman', serif;
--font-body:            'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
--fs-hero:              clamp(2rem, 4.8vw, 3.8rem);
--fs-h2:                clamp(1.5rem, 3.5vw, 2.75rem);
--fs-h3:                clamp(1.05rem, 2vw, 1.5rem);
--fs-body:              clamp(0.938rem, 1.1vw, 1.1rem);
--fs-body-lg:           clamp(1rem, 1.25vw, 1.2rem);
--fs-small:             clamp(0.8rem, 0.95vw, 0.925rem);
--fs-eyebrow:           clamp(0.68rem, 0.85vw, 0.8rem);
--fs-meta:              0.75rem;
--lh-tight:             1.15;
--lh-heading:           1.25;
--lh-body:              1.72;
--space-xs:             0.5rem;
--space-sm:             1rem;
--space-md:             1.5rem;
--space-lg:             2.5rem;
--space-xl:             4rem;
--space-2xl:            6rem;
--space-3xl:            8rem;
--section-py:           clamp(3rem, 7vw, 6rem);
--section-py-compact:   clamp(1.5rem, 3.5vw, 3rem);
--section-py-spacious:  clamp(4rem, 10vw, 9rem);
--max-width:            1200px;
--max-width-reading:    680px;
--gutter:               clamp(1rem, 4vw, 2.5rem);
--radius-sm:            4px;
--radius-md:            6px;
--shadow-card:          0 1px 3px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.15);
--shadow-glow:          0 0 40px rgba(184, 146, 96, 0.04);
--ease-smooth:          cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast:        180ms;
--duration-base:        300ms;
--duration-slow:        500ms;
--logo-filter:          none;
--logo-opacity:         1;
}
/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
body {
font-family: var(--font-body); font-size: var(--fs-body);
font-weight: 400; line-height: var(--lh-body);
color: var(--color-text-primary); background: var(--color-bg-deep);
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--color-accent-muted); color: var(--color-bg-deep); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
/* ─── LAYOUT ─────────────────────────────────────────────────── */
.section { position: relative; width: 100%; }
.section-inner {
width: 100%; max-width: var(--max-width);
margin: 0 auto; padding: var(--section-py) var(--gutter);
}
.section-inner--centered { max-width: 760px; text-align: center; }
.eyebrow {
font-family: var(--font-body); font-size: var(--fs-eyebrow);
font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
color: var(--color-accent); margin-bottom: var(--space-md);
}
.section-heading {
font-family: var(--font-display); font-size: var(--fs-h2);
font-weight: 500; line-height: var(--lh-heading);
color: var(--color-text-primary); margin-bottom: var(--space-lg);
max-width: 800px;
}
/* ─── PROGRESSIVE ENHANCEMENT ────────────────────────────────── */
.reveal-item { /* visible by default */ }
html.js-ready .reveal-item {
opacity: 0; transform: translateY(12px);
transition: opacity var(--duration-slow) var(--ease-smooth),
transform var(--duration-slow) var(--ease-smooth);
}
html.js-ready .reveal-item.is-visible { opacity: 1; transform: translateY(0); }
/* ═══════════════════════════════════════════════════════════════
HEADER
FIX 1+2: Mobile shows ONLY .header-mobile-actions.
Desktop shows ONLY .primary-nav.
Neither leaks into the other breakpoint.
═══════════════════════════════════════════════════════════════ */
.site-header {
position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
background: rgba(14, 14, 16, 0.88);
backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--color-border);
}
.header-inner {
display: flex; align-items: center; justify-content: space-between;
max-width: var(--max-width); margin: 0 auto;
padding: 0 var(--gutter); height: 56px;
}
.header-logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 24px; width: auto; }
/* Mobile actions — ONLY visible below 768px */
.header-mobile-actions {
display: flex; align-items: center; gap: var(--space-sm);
}
.header-mobile-link {
font-size: var(--fs-small); font-weight: 400;
color: var(--color-text-tertiary); letter-spacing: 0.03em;
padding: 0.4em 0;
transition: color var(--duration-fast) var(--ease-smooth);
}
.header-mobile-link:hover { color: var(--color-text-secondary); }
.header-mobile-cta {
font-size: var(--fs-meta); font-weight: 500;
color: var(--color-text-inverse);
background: var(--color-accent);
padding: 0.5em 1.1em; border-radius: var(--radius-sm);
letter-spacing: 0.02em;
transition: background var(--duration-fast) var(--ease-smooth);
}
.header-mobile-cta:hover { background: var(--color-accent-muted); }
/* Desktop nav — FORCE hidden below 768px */
.primary-nav { display: none !important; }
@media (min-width: 768px) {
.header-inner { height: 72px; }
.logo-img { height: 32px; }
/* FORCE: hide mobile actions on desktop */
.header-mobile-actions { display: none !important; }
/* FORCE: show desktop nav */
.primary-nav { display: block !important; }
.nav-list { display: flex; align-items: center; gap: var(--space-lg); list-style: none; }
.nav-link {
font-size: var(--fs-small); font-weight: 400;
color: var(--color-text-secondary); padding: 0;
transition: color var(--duration-fast) var(--ease-smooth);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--color-text-primary); }
.nav-cta {
display: inline-block; padding: 0.55em 1.4em;
background: var(--color-accent); color: var(--color-text-inverse);
font-weight: 500; font-size: var(--fs-small); letter-spacing: 0.03em;
border-radius: var(--radius-sm);
transition: background var(--duration-fast) var(--ease-smooth);
}
.nav-cta:hover { background: var(--color-accent-muted); color: var(--color-text-inverse); }
}
/* ═══════════════════════════════════════════════════════════════
1. HERO — left-anchored, compact mobile, two-column desktop
FIX 3: tighter gap. FIX 4: left-anchored enforced.
FIX (book container): smaller mobile iframe.
hero-bridge removed entirely.
═══════════════════════════════════════════════════════════════ */
.section-hero {
display: flex; align-items: flex-start;
background: var(--color-bg-deep); overflow: hidden;
padding-top: 56px;
}
.hero-inner {
position: relative; z-index: 2;
display: flex; flex-direction: column; gap: clamp(1.25rem, 3vw, 2rem);
padding-top: var(--space-sm);
padding-bottom: var(--space-lg);
}
.hero-text { text-align: left; max-width: 720px; }
.hero-eyebrow { color: var(--color-accent); margin-bottom: var(--space-lg); }
.hero-heading {
font-family: var(--font-display); font-size: var(--fs-hero);
font-weight: 600; line-height: var(--lh-tight);
color: var(--color-text-primary); margin-bottom: var(--space-md);
}
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: 0.08em; }
.hero-body {
max-width: 600px; color: var(--color-text-secondary);
font-size: var(--fs-body-lg); line-height: var(--lh-body);
margin-bottom: var(--space-sm);
}
.hero-scroll-cta {
display: inline-flex; align-items: center; gap: 0.4em;
font-size: var(--fs-small); font-weight: 400;
color: var(--color-text-tertiary); letter-spacing: 0.04em;
transition: color var(--duration-fast) var(--ease-smooth);
}
.hero-scroll-cta:hover { color: var(--color-text-secondary); }
.scroll-arrow { font-size: 1.1em; transition: transform var(--duration-base) var(--ease-smooth); }
.hero-scroll-cta:hover .scroll-arrow { transform: translateY(3px); }
/* Book module — mobile uses a curated window, desktop widens and aligns high */
.hero-module {
width: 100%;
max-width: min(100%, 34rem);
position: relative;
isolation: isolate;
align-self: flex-start;
}
.hero-module::before {
content: '';
position: absolute;
inset: -1px;
border-radius: 22px;
background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
opacity: 0.9;
pointer-events: none;
}
.hero-module::after {
content: '';
position: absolute;
inset: 0;
border-radius: 22px;
box-shadow: 0 24px 60px rgba(0,0,0,0.34), 0 0 40px rgba(184,146,96,0.08);
pointer-events: none;
}
.hero-book-iframe {
display: block;
position: relative;
z-index: 1;
width: 100%;
height: clamp(21rem, 52vw, 24rem);
border: none;
border-radius: 22px;
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.hero-grid-overlay {
position: absolute; inset: 0; z-index: 1;
pointer-events: none; opacity: 0.025;
background-image:
linear-gradient(rgba(228, 224, 218, 0.3) 1px, transparent 1px),
linear-gradient(90deg, rgba(228, 224, 218, 0.3) 1px, transparent 1px);
background-size: 60px 60px;
mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, black, transparent);
-webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, black, transparent);
}
/* Desktop hero: two-column, book module RIGHT of text */
@media (min-width: 960px) {
.section-hero { min-height: 100dvh; align-items: center; padding-top: 0; }
.hero-inner {
flex-direction: row;
align-items: flex-start;
gap: clamp(2rem, 4vw, 4rem);
padding-top: calc(72px + var(--space-xl));
padding-bottom: var(--space-xl);
}
.hero-text { flex: 1 1 0%; }
.hero-module {
flex: 0 0 clamp(29rem, 35vw, 34rem);
max-width: clamp(29rem, 35vw, 34rem);
margin-top: 0.15rem;
}
.hero-book-iframe { height: 600px; }
}
@media (max-width: 767px) {
.hero-inner { gap: 1.25rem; }
.hero-body { margin-bottom: 0.75rem; }
.hero-scroll-cta { margin-bottom: 0.35rem; }
.hero-module {
max-width: none;
margin-top: 0.4rem;
}
.hero-book-iframe { height: min(25rem, calc(100vw * 0.78)); }
}
/* ═══════════════════════════════════════════════════════════════
2. PLATFORM SHOWCASE — single row mobile, rotator desktop
═══════════════════════════════════════════════════════════════ */
.platforms-showcase {
width: 100%; background: var(--color-bg-primary);
border-top: 1px solid var(--color-border-strong);
border-bottom: 1px solid var(--color-border-strong);
overflow: hidden;
}
.platforms-showcase-inner {
max-width: var(--max-width); margin: 0 auto;
padding: var(--space-sm) var(--gutter);
}
.platforms-heading {
font-size: var(--fs-meta); font-weight: 400;
color: var(--color-text-tertiary); letter-spacing: 0.03em;
margin-bottom: var(--space-sm); line-height: 1.5;
}
.platforms-grid-variant {
display: grid; grid-template-columns: repeat(3, 1fr);
gap: 10px; align-items: center; justify-items: center;
}
.platform-slot {
width: 100%; height: 48px;
display: flex; align-items: center; justify-content: center;
}
.platform-slot-img {
max-width: 96px; max-height: 40px; width: auto; height: auto;
object-fit: contain; filter: var(--logo-filter); opacity: var(--logo-opacity);
transition: opacity 800ms var(--ease-smooth); user-select: none;
}
.platform-slot-img.fade-out { opacity: 0; }
.platform-slot-img.fade-in { opacity: var(--logo-opacity); }
@media (min-width: 480px) {
.platforms-showcase-inner { padding: var(--space-sm) var(--gutter); }
.platform-slot { height: 56px; }
.platform-slot-img { max-width: 130px; max-height: 52px; }
}
@media (min-width: 992px) {
.platforms-heading { text-align: center; }
.platforms-showcase-inner { padding: var(--space-sm) var(--gutter); }
.platforms-grid-variant { display: none; }
.platforms-rotator-variant { display: block; }
.platform-slot-img { max-width: 90px; max-height: 34px; }
}
@media (max-width: 991px) { .platforms-rotator-variant { display: none; } }
.pp-logos-row { display: flex; flex-wrap: wrap; justify-content: center; user-select: none; }
.pp-logo-col {
flex: 0 0 50%; max-width: 50%; height: 90px;
overflow: hidden; filter: none; opacity: 1;
}
.pp-logo-inner {
animation: ppLogoVertical var(--logos-rotation-animation-duration) linear var(--logos-rotation-animation-delay) infinite;
}
.pp-logo-col:hover .pp-logo-inner { animation-play-state: paused; }
.pp-logo-cell { overflow: hidden; display: flex; justify-content: center; align-items: center; height: 90px; }
.pp-logo-img { width: auto; height: auto; max-height: 64px; max-width: 130px; min-height: 40px; }
@keyframes ppLogoVertical {
0% { transform: translateY(0); }
3%, 20% { opacity: 1; transform: translateY(-90px); }
23%, 40% { opacity: 1; transform: translateY(-180px); }
43%, 60% { opacity: 1; transform: translateY(-270px); }
63%, 80% { opacity: 1; transform: translateY(-360px); }
83%, 99.98% { opacity: 1; transform: translateY(-360px); }
99.99% { opacity: 0; transform: translateY(0); }
100% { opacity: 1; transform: translateY(0); }
}
.pp-logo-col--extended .pp-logo-inner { animation-name: ppLogoVerticalExtended; }
@keyframes ppLogoVerticalExtended {
0% { transform: translateY(0); }
2.5%, 16% { opacity: 1; transform: translateY(-90px); }
18.5%, 32% { opacity: 1; transform: translateY(-180px); }
34.5%, 48% { opacity: 1; transform: translateY(-270px); }
50.5%, 64% { opacity: 1; transform: translateY(-360px); }
66.5%, 80% { opacity: 1; transform: translateY(-450px); }
83%, 99.98% { opacity: 1; transform: translateY(-450px); }
99.99% { opacity: 0; transform: translateY(0); }
100% { opacity: 1; transform: translateY(0); }
}
.pp-logo-col--desktop { display: none; }
@media (min-width: 992px) {
.pp-logo-col { flex: 0 0 16.666%; max-width: 16.666%; }
.pp-logo-col--desktop { display: block; }
}
/* ═══════════════════════════════════════════════════════════════
3. INSTITUTIONAL DEFINITION — untouched
═══════════════════════════════════════════════════════════════ */
.section-definition { background: var(--color-bg-deep); border-top: 1px solid var(--color-border); }
.definition-prose { max-width: var(--max-width-reading); color: var(--color-text-secondary); }
.definition-prose p + p { margin-top: var(--space-md); }
/* ═══════════════════════════════════════════════════════════════
4. PROBLEM RECOGNITION
FIX 4: Mobile expand/collapse. JS adds state classes.
Default (no JS): all visible. With JS: .is-collapsed shows 2,
.is-partial shows 5, no class shows all 10.
═══════════════════════════════════════════════════════════════ */
.section-problems { background: var(--color-bg-primary); border-top: 1px solid var(--color-border-strong); }
.section-problems .section-inner { padding-bottom: var(--section-py-compact); }
.problems-prose { max-width: var(--max-width-reading); color: var(--color-text-secondary); margin-bottom: var(--space-lg); }
.problems-prose p + p { margin-top: var(--space-sm); }
.problems-grid {
display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
background: var(--color-border-strong);
border: 1px solid var(--color-border-strong);
border-radius: var(--radius-md); overflow: hidden;
}
.problem-card {
display: flex; flex-direction: column; justify-content: space-between;
gap: var(--space-xs); padding: var(--space-sm);
background: var(--color-bg-raised);
transition: background var(--duration-fast) var(--ease-smooth);
}
.problem-card:hover { background: var(--color-bg-surface); }
.problem-text {
font-family: var(--font-display); font-size: clamp(0.85rem, 1.8vw, 1.5rem);
font-weight: 500; line-height: var(--lh-heading); color: var(--color-text-primary);
}
.problem-platforms { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.platform-icon { width: 16px; height: 16px; filter: var(--logo-filter); opacity: var(--logo-opacity); flex-shrink: 0; }
.platform-label { font-size: var(--fs-meta); font-weight: 400; color: var(--color-text-tertiary); letter-spacing: 0.04em; }
/* Mobile expand/collapse states — JS controlled */
@media (max-width: 599px) {
.problems-grid.is-collapsed .problem-card:nth-child(n+3) { display: none; }
.problems-grid.is-partial .problem-card:nth-child(n+6) { display: none; }
}
/* "See more / See less" toggle */
.problems-toggle {
display: none; /* hidden by default — JS shows it on mobile */
font-size: var(--fs-small); color: var(--color-accent);
cursor: pointer; margin-top: var(--space-sm);
letter-spacing: 0.02em; font-weight: 500;
transition: color var(--duration-fast) var(--ease-smooth);
}
.problems-toggle:hover { color: var(--color-text-primary); }
@media (min-width: 600px) {
.problem-card { padding: var(--space-md); gap: var(--space-sm); }
.problem-text { font-size: var(--fs-h3); }
.platform-icon { width: 20px; height: 20px; }
.problems-toggle { display: none !important; } /* never on tablet+ */
}
@media (min-width: 960px) {
.problems-grid { grid-template-columns: repeat(3, 1fr); }
.problem-card { padding: var(--space-lg) var(--space-md); }
}
/* ═══════════════════════════════════════════════════════════════
5. A CLOSER LOOK — Books Grid
FIX 7: overflow:hidden removed from .book-card so
descriptions are never clipped. Border-radius on cover directly.
Mobile: 2-col, 6 visible. Desktop: 4-col, all 8.
═══════════════════════════════════════════════════════════════ */
.section-proof { background: var(--color-bg-primary); border-top: 1px solid var(--color-border); }
.section-proof .section-inner { padding-top: var(--section-py-compact); padding-bottom: var(--section-py); }
.proof-intro { color: var(--color-text-secondary); max-width: var(--max-width-reading); margin-bottom: var(--space-lg); }
.books-grid {
display: grid; grid-template-columns: repeat(2, 1fr);
gap: var(--space-sm); margin-bottom: var(--space-md);
}
/* Hide 7th and 8th on mobile */
.book-card:nth-child(n+7) { display: none; }
/* FIX 7: NO overflow:hidden on card — descriptions will never clip */
.book-card {
background: var(--color-bg-raised); border: 1px solid var(--color-border);
border-radius: var(--radius-md); cursor: pointer;
transition: border-color var(--duration-fast) var(--ease-smooth),
box-shadow var(--duration-base) var(--ease-smooth);
}
.book-card:hover { border-color: var(--color-border-accent); box-shadow: var(--shadow-glow); }
.book-card-cover {
width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
background: var(--color-bg-surface);
border-radius: var(--radius-md) var(--radius-md) 0 0; /* top corners only */
}
.book-card-info { padding: var(--space-xs) var(--space-sm) var(--space-sm); }
.book-card-title {
font-family: var(--font-display); font-size: clamp(0.75rem, 1.5vw, 0.925rem);
font-weight: 600; line-height: var(--lh-heading);
color: var(--color-text-primary); margin-bottom: 2px;
}
/* FIX 7: NO line-clamp — full descriptions visible */
.book-card-desc {
font-size: var(--fs-meta); color: var(--color-text-tertiary); line-height: 1.5;
}
.books-fallback, .testimonials-fallback {
color: var(--color-text-tertiary); font-size: var(--fs-small);
font-style: italic; padding: var(--space-lg) 0;
}
.proof-caption { font-size: var(--fs-small); color: var(--color-text-tertiary); font-style: italic; }
/* FIX 8: "View more" is now an accent-colored link */
.books-more-wrap { text-align: center; margin-bottom: var(--space-md); }
.books-view-more-link {
display: inline-block; padding: 0.6em 1.6em;
color: var(--color-accent); font-size: var(--fs-small);
font-weight: 500; letter-spacing: 0.03em;
border: 1px solid var(--color-border-accent); border-radius: var(--radius-sm);
transition: background var(--duration-fast) var(--ease-smooth),
color var(--duration-fast) var(--ease-smooth);
}
.books-view-more-link:hover {
background: var(--color-accent-soft); color: var(--color-text-primary);
}
@media (min-width: 600px) {
.books-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.book-card:nth-child(n+7) { display: block; }
}
@media (min-width: 960px) {
.books-grid { grid-template-columns: repeat(4, 1fr); }
}
/* ═══════════════════════════════════════════════════════════════
6. INSIDE THE SYSTEM (Anatomy) — UNTOUCHED
═══════════════════════════════════════════════════════════════ */
.section-preview { background: var(--color-bg-deep); border-top: 1px solid var(--color-border); }
.section-preview .section-inner { padding-bottom: var(--section-py-compact); }
.preview-intro { max-width: var(--max-width-reading); color: var(--color-text-secondary); }
.preview-intro + .preview-intro { margin-top: var(--space-xs); margin-bottom: var(--space-xl); }
.book-anatomy { display: flex; flex-direction: column; gap: var(--space-xl); max-width: 900px; }
.anatomy-layer { position: relative; }
.anatomy-label-group { display: flex; align-items: baseline; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.anatomy-marker { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-accent-muted); line-height: 1; flex-shrink: 0; opacity: 0.5; }
.anatomy-title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--color-text-primary); }
.anatomy-desc { color: var(--color-text-secondary); font-size: var(--fs-small); margin-bottom: var(--space-md); max-width: 600px; }
.anatomy-specimen {
background: var(--color-bg-raised); border: 1px solid var(--color-border-strong);
border-left: 3px solid var(--color-accent-muted);
border-radius: var(--radius-md); padding: var(--space-md);
}
.specimen-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.specimen-tag {
font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
color: var(--color-accent); padding: 0.25em 0.7em;
background: var(--color-accent-soft); border-radius: var(--radius-sm);
}
.specimen-tag-secondary { font-size: var(--fs-meta); color: var(--color-text-tertiary); letter-spacing: 0.04em; }
.specimen-text { font-family: var(--font-display); font-size: var(--fs-body-lg); font-style: italic; line-height: var(--lh-body); color: var(--color-text-secondary); }
.specimen-category-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.specimen-cat {
font-size: var(--fs-meta); font-weight: 400; color: var(--color-text-secondary);
padding: 0.35em 0.8em; border: 1px solid var(--color-border);
border-radius: var(--radius-sm); background: var(--color-bg-panel); letter-spacing: 0.02em;
}
.workflow-steps { display: flex; flex-direction: column; }
.workflow-step { display: flex; align-items: baseline; gap: var(--space-sm); padding: var(--space-sm) 0; }
.workflow-step-num { font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-muted); flex-shrink: 0; min-width: 48px; }
.workflow-step-text { font-size: var(--fs-small); color: var(--color-text-secondary); }
.workflow-connector { width: 1px; height: 16px; background: var(--color-border); margin-left: 23px; }
.specimen-platform-row { display: flex; flex-wrap: wrap; gap: 10px; }
.specimen-platform-tag {
display: inline-flex; align-items: center; gap: 8px;
padding: 0.4em 0.9em; border: 1px solid var(--color-border);
border-radius: var(--radius-sm); background: var(--color-bg-panel);
font-size: var(--fs-meta); color: var(--color-text-secondary);
}
.specimen-platform-icon { width: 16px; height: 16px; filter: var(--logo-filter); opacity: 0.7; }
.specimen-prompt-example {
background: var(--color-bg-panel); border: 1px solid var(--color-border);
border-radius: var(--radius-sm); padding: var(--space-md); margin-bottom: var(--space-sm);
}
.specimen-prompt-line { font-family: var(--font-body); font-size: var(--fs-small); line-height: 1.8; color: var(--color-text-secondary); }
.specimen-var { color: var(--color-accent); font-weight: 500; background: var(--color-accent-soft); padding: 0.1em 0.35em; border-radius: 2px; }
.specimen-deploy-note { font-size: var(--fs-meta); color: var(--color-text-tertiary); font-style: italic; }
/* ═══════════════════════════════════════════════════════════════
7. LIBRARY VALUE + ECOSYSTEM — UNTOUCHED (with pricing)
═══════════════════════════════════════════════════════════════ */
.section-library { background: var(--color-bg-warm); border-top: 1px solid var(--color-border); position: relative; }
.section-library::before {
content: ''; position: absolute; top: 0; left: 0;
width: 40%; height: 1px;
background: linear-gradient(90deg, var(--color-accent-muted), transparent);
opacity: 0.4; margin-left: var(--gutter);
}
.section-library .section-inner { padding-top: var(--section-py-spacious); padding-bottom: var(--section-py-spacious); }
.library-prose { max-width: var(--max-width-reading); color: var(--color-text-secondary); margin-bottom: var(--space-xl); }
.library-prose p + p { margin-top: var(--space-md); }
.layers-diagram { display: flex; flex-direction: column; gap: 0; margin-bottom: var(--space-lg); max-width: var(--max-width-reading); }
.layer-panel {
position: relative; padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 3px);
border: 1px solid var(--color-border); border-bottom: none;
}
.layer-panel:last-child { border-bottom: 1px solid var(--color-border); }
.layer-depth-line { position: absolute; top: 0; left: 0; bottom: 0; width: 3px; }
.layer-panel--2 { background: var(--color-bg-surface); }
.layer-panel--2 .layer-depth-line { background: var(--color-accent); }
.layer-panel--3 { background: var(--color-bg-panel); }
.layer-panel--3 .layer-depth-line { background: var(--color-archive); }
.layer-label {
display: block; font-size: var(--fs-eyebrow); font-weight: 500;
letter-spacing: 0.12em; text-transform: uppercase;
color: var(--color-text-tertiary); margin-bottom: var(--space-xs);
}
.layer-panel--2 .layer-label { color: var(--color-accent); }
.layer-panel--3 .layer-label { color: var(--color-archive); }
.layer-desc { font-size: var(--fs-small); line-height: var(--lh-body); color: var(--color-text-secondary); max-width: 580px; }
.ecosystem-bridge { font-size: var(--fs-small); color: var(--color-text-tertiary); font-style: italic; margin-bottom: var(--space-xl); }
.library-values { max-width: var(--max-width-reading); margin-bottom: var(--space-lg); display: flex; flex-direction: column; }
.library-value { padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-body); color: var(--color-text-primary); }
.library-value:first-child { border-top: 1px solid var(--color-border); }
.library-pricing { margin-bottom: var(--space-lg); }
.library-pricing-line { font-size: var(--fs-body-lg); color: var(--color-text-secondary); font-weight: 400; }
.pricing-accent { color: var(--color-accent); font-weight: 500; }
.library-cta-block { padding-top: var(--space-sm); }
@media (min-width: 768px) {
.library-cta-block { text-align: center; }
.layers-diagram { flex-direction: row; max-width: none; }
.layer-panel { flex: 1; border: 1px solid var(--color-border); border-right: none; padding-left: var(--space-md); }
.layer-panel:last-child { border-right: 1px solid var(--color-border); }
.layer-depth-line { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 3px; }
}
/* ─── CTA SYSTEM ─────────────────────────────────────────────── */
.cta-primary {
display: inline-block; padding: 0.85em 2.4em; background: var(--color-accent);
color: var(--color-text-inverse); font-family: var(--font-body);
font-size: var(--fs-body); font-weight: 500; letter-spacing: 0.03em;
border-radius: var(--radius-sm);
transition: background var(--duration-fast) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
box-shadow: var(--shadow-glow);
}
.cta-primary:hover { background: var(--color-accent-muted); box-shadow: 0 0 48px rgba(184, 146, 96, 0.1); }
.cta-primary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.cta-reassurance { font-size: var(--fs-meta); color: var(--color-text-tertiary); margin-top: var(--space-sm); letter-spacing: 0.02em; }
.cta-secondary {
display: inline-block; padding: 0.65em 1.8em;
border: 1px solid var(--color-archive-muted); color: var(--color-archive);
font-size: var(--fs-small); font-weight: 400; letter-spacing: 0.03em;
border-radius: var(--radius-sm);
transition: border-color var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth);
}
.cta-secondary:hover { border-color: var(--color-text-secondary); color: var(--color-text-secondary); }
/* ═══════════════════════════════════════════════════════════════
8. TESTIMONIALS
FIX 9: Mobile 3 visible, compact. Desktop 6, 3-col.
═══════════════════════════════════════════════════════════════ */
.section-testimonials { background: var(--color-bg-deep); border-top: 1px solid var(--color-border); }
.testimonials-intro { color: var(--color-text-secondary); max-width: var(--max-width-reading); margin-bottom: var(--space-lg); }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); margin-bottom: var(--space-md); }
.testimonial-card {
background: var(--color-bg-raised); border: 1px solid var(--color-border);
border-radius: var(--radius-md); padding: var(--space-md);
}
.testimonial-card:nth-child(n+4) { display: none; }
.testimonial-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.testimonial-avatar {
width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
background: var(--color-bg-surface); border: 1px solid var(--color-border);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-avatar-initials {
width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
background: var(--color-bg-surface); border: 1px solid var(--color-border);
display: flex; align-items: center; justify-content: center;
font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
color: var(--color-accent-muted); letter-spacing: 0.02em;
}
.testimonial-meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name { font-size: var(--fs-small); font-weight: 500; color: var(--color-text-primary); }
.testimonial-title { font-size: var(--fs-meta); color: var(--color-text-tertiary); }
.testimonial-body {
font-size: var(--fs-small); line-height: var(--lh-body);
color: var(--color-text-secondary);
display: -webkit-box; -webkit-line-clamp: 4;
-webkit-box-orient: vertical; overflow: hidden;
}
.testimonial-date { font-size: var(--fs-meta); color: var(--color-text-tertiary); margin-top: var(--space-sm); }
.testimonials-more-signal { font-size: var(--fs-meta); color: var(--color-text-tertiary); font-style: italic; letter-spacing: 0.02em; }
@media (min-width: 768px) {
.testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.testimonial-card:nth-child(n+4) { display: block; }
.testimonial-card { padding: var(--space-lg); }
.testimonial-avatar, .testimonial-avatar-initials { width: 40px; height: 40px; }
.testimonial-avatar-initials { font-size: 0.95rem; }
.testimonial-header { margin-bottom: var(--space-md); }
.testimonial-body {
font-size: var(--fs-body); -webkit-line-clamp: unset;
display: block; overflow: visible;
}
.testimonial-date { margin-top: var(--space-md); }
}
@media (min-width: 1060px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
/* ═══════════════════════════════════════════════════════════════
9. ARCHIVE — untouched
═══════════════════════════════════════════════════════════════ */
.section-archive { background: var(--color-bg-primary); border-top: 1px solid var(--color-border); }
.section-archive .eyebrow { color: var(--color-archive); }
.archive-prose { max-width: var(--max-width-reading); color: var(--color-text-secondary); margin-bottom: var(--space-lg); }
.archive-prose p + p { margin-top: var(--space-md); }
.archive-bridge { color: var(--color-text-tertiary); font-size: var(--fs-small); margin-bottom: var(--space-lg); }
/* ═══════════════════════════════════════════════════════════════
10. FINAL CTA — untouched
═══════════════════════════════════════════════════════════════ */
.section-final-cta { background: var(--color-bg-warm); border-top: 1px solid var(--color-border); position: relative; }
.section-final-cta::before {
content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
width: 50%; height: 1px;
background: linear-gradient(90deg, transparent, var(--color-accent-muted), transparent); opacity: 0.35;
}
.section-final-cta .section-inner { padding-top: var(--section-py-spacious); padding-bottom: var(--section-py-spacious); }
.final-cta-body { max-width: var(--max-width-reading); margin: 0 auto var(--space-xl); color: var(--color-text-secondary); }
.final-cta-block { display: flex; flex-direction: column; align-items: center; }
.final-cta-block .cta-primary { font-size: var(--fs-body-lg); padding: 0.9em 2.8em; }
/* ═══════════════════════════════════════════════════════════════
11. FAQ — COMPLETE OVERHAUL
FIX 10: Chevron arrow right, no left marker, breathing gaps,
question in display font + accent on open, answer in body font,
gap between question and answer.
═══════════════════════════════════════════════════════════════ */
.section-faq { background: var(--color-bg-deep); border-top: 1px solid var(--color-border); }
.faq-list { max-width: 800px; }
.faq-item {
border-bottom: 1px solid var(--color-border);
margin-bottom: var(--space-sm); /* breathing gap between items */
}
.faq-item:last-child { margin-bottom: 0; }
.faq-question {
display: flex; align-items: center; justify-content: space-between;
padding: var(--space-md) 0 var(--space-sm) 0;
font-family: var(--font-display); font-size: var(--fs-h3);
font-weight: 600; color: var(--color-text-primary);
cursor: pointer; list-style: none;
transition: color var(--duration-fast) var(--ease-smooth);
gap: var(--space-sm);
}
/* Remove default marker */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }
/* Right-side down chevron arrow */
.faq-question::after {
content: '▾'; flex-shrink: 0;
font-family: var(--font-body); font-size: 1.1em; font-weight: 300;
color: var(--color-text-tertiary);
transition: transform var(--duration-base) var(--ease-smooth),
color var(--duration-base) var(--ease-smooth);
}
/* Rotate chevron when open */
.faq-item[open] .faq-question::after {
transform: rotate(180deg); color: var(--color-accent);
}
/* Question text turns accent when open */
.faq-item[open] .faq-question { color: var(--color-accent); }
/* Hover: subtle accent hint */
.faq-question:hover { color: var(--color-accent-muted); }
/* Answer: body font, secondary color, gap from question */
.faq-answer {
padding: var(--space-sm) 0 var(--space-md) 0; /* gap above = space-sm */
color: var(--color-text-secondary);
font-family: var(--font-body); font-size: var(--fs-body);
line-height: var(--lh-body); max-width: var(--max-width-reading);
}
.faq-answer p + p { margin-top: var(--space-sm); }
/* ═══════════════════════════════════════════════════════════════
BOOK ACCESS MODAL — untouched
═══════════════════════════════════════════════════════════════ */
.book-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.book-modal[hidden] { display: none; }
.book-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.book-modal-panel {
position: relative; z-index: 1;
background: var(--color-bg-raised); border: 1px solid var(--color-border-strong);
border-radius: var(--radius-md); padding: var(--space-xl) var(--space-lg);
max-width: 480px; width: 100%; text-align: center;
}
.book-modal-close {
position: absolute; top: var(--space-sm); right: var(--space-sm);
font-size: 1.5rem; color: var(--color-text-tertiary);
width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
transition: color var(--duration-fast) var(--ease-smooth);
}
.book-modal-close:hover { color: var(--color-text-primary); }
.book-modal-title {
font-family: var(--font-display); font-size: var(--fs-h3);
font-weight: 600; color: var(--color-text-primary); margin-bottom: var(--space-md);
}
.book-modal-body {
font-size: var(--fs-body); line-height: var(--lh-body);
color: var(--color-text-secondary); margin-bottom: var(--space-md);
}
.book-modal-highlight {
font-size: var(--fs-body-lg); font-weight: 500;
color: var(--color-accent); margin-bottom: var(--space-lg);
}
.book-modal-cta { margin: 0 auto; }
/* ═══════════════════════════════════════════════════════════════
FOOTER
FIX 11: 2 rows × 4 columns of group names on ALL devices.
ALL collapsed by default. Click to expand (JS toggles .is-expanded).
"Head Office" renamed to "Location" in HTML.
═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--color-bg-deep); border-top: 1px solid var(--color-border-strong); }
.footer-inner {
max-width: var(--max-width); margin: 0 auto;
padding: var(--space-xl) var(--gutter) var(--space-lg);
}
.footer-top { margin-bottom: var(--space-lg); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-logo { height: 24px; width: auto; opacity: 0.7; }
.footer-identity { font-size: var(--fs-meta); color: var(--color-text-tertiary); letter-spacing: 0.03em; }
/* Grid: 2 cols mobile, 4 cols 480px+ */
.footer-groups {
display: grid; grid-template-columns: repeat(2, 1fr);
gap: var(--space-xs);
padding-bottom: var(--space-lg); margin-bottom: var(--space-md);
border-bottom: 1px solid var(--color-border);
}
@media (min-width: 480px) {
.footer-groups { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
}
.footer-group {
border-bottom: none;
}
/* Group title: always visible, clickable */
.footer-group-title {
font-family: var(--font-display); font-size: var(--fs-small);
font-weight: 600; color: var(--color-text-primary);
letter-spacing: 0.03em;
padding: var(--space-xs) 0;
cursor: pointer;
display: flex; align-items: center; justify-content: space-between;
transition: color var(--duration-fast) var(--ease-smooth);
}
.footer-group-title:hover { color: var(--color-accent); }
/* Expand indicator */
.footer-group-title::after {
content: '+'; font-family: var(--font-body); font-size: 0.9em;
font-weight: 300; color: var(--color-text-tertiary);
}
.footer-group.is-expanded .footer-group-title::after { content: '\2212'; }
/* Group content: HIDDEN by default on ALL devices */
.footer-group-list {
display: none; flex-direction: column; gap: 6px;
padding: var(--space-xs) 0 var(--space-sm);
}
/* Only show when expanded */
.footer-group.is-expanded .footer-group-list { display: flex; }
.footer-link {
font-size: var(--fs-small); color: var(--color-text-tertiary);
transition: color var(--duration-fast) var(--ease-smooth);
}
.footer-link:hover { color: var(--color-text-secondary); }
.footer-group-text { font-size: var(--fs-small); color: var(--color-text-secondary); margin-bottom: var(--space-xs); }
.footer-address {
font-style: normal; font-size: var(--fs-small);
color: var(--color-text-tertiary); line-height: 1.7;
}
.footer-bottom { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-contact-line { font-size: var(--fs-meta); color: var(--color-text-tertiary); }
.footer-expanding { font-size: var(--fs-meta); color: var(--color-text-tertiary); font-style: italic; }
.footer-copyright { font-size: var(--fs-meta); color: var(--color-text-tertiary); opacity: 0.6; }
@media (min-width: 1200px) { :root { --gutter: 3rem; } }