/* ============================================================================
   THEME — "Paper, Ink & Lime"
   Ported from the reference design (index__1_.html).

   This file loads LAST (after styles.css and custom.css). It does two things:
     1) remaps the site's colour / font / radius variables to the new palette,
        so every existing component picks the theme up automatically
     2) restyles specific components (header, hero, cards, footer...) and adds
        the new social-links UI

   To roll the old look back, delete the <link> to css/theme.css in index.html.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------------- */
:root {
	/* reference palette */
	--paper:      #e7ecef;
	--paper-2:    #dbe2e6;
	--ink:        #10232d;
	--muted:      #60727c;
	--line:       rgba(16, 35, 45, .18);
	--lime:       #b8d43a;
	--lime-dark:  #91aa1f;
	--lime-text:  #5a6b0f;   /* lime dark enough to read as small text on paper */
	--white:      #f7f9fa;

	/* fonts */
	--font-1:    "Inter", Arial, sans-serif;
	--font-2:    "Inter", Arial, sans-serif;
	--font-mono: "DM Mono", ui-monospace, Consolas, monospace;

	/* remap the Monica theme variables the whole site is built on */
	--color-1:          #b8d43a;
	--color-1-lightest: #f1f6d6;
	--color-1-lighter:  #d6e783;
	--color-1-light:    #c8de57;
	--color-1-dark:     #91aa1f;
	--color-1-darker:   #5a6b0f;
	--color-1-darkest:  #1f2608;

	--color-2:          #10232d;
	--color-2-lightest: #8fa3ad;
	--color-2-lighter:  #4c626c;
	--color-2-light:    #2a4150;
	--color-2-dark:     #10232d;
	--color-2-darker:   #0a1920;

	--color-3:          #e7ecef;
	--color-3-light:    #f7f9fa;
	--color-3-dark:     #dbe2e6;
	--color-3-darker:   #c9d3d8;

	--color-text:        #10232d;
	--color-text-dark:   #10232d;
	--color-text-light:  #60727c;
	--color-placeholder: #8a9aa2;

	--color-link:        #5a6b0f;
	--color-link-hover:  #10232d;
	--color-link-active: #10232d;

	--color-btn:                    #dbe2e6;
	--color-btn-text:               #10232d;
	--color-btn-hover:              #cfd8dd;
	--color-btn-hover-text:         #10232d;
	--color-btn-primary:            #b8d43a;
	--color-btn-primary-text:       #10232d;
	--color-btn-primary-hover:      #91aa1f;
	--color-btn-primary-hover-text: #10232d;
	--color-btn-stroke:             #10232d;
	--color-btn-stroke-text:        #10232d;
	--color-btn-stroke-hover:       #10232d;
	--color-btn-stroke-hover-text:  #e7ecef;

	--color-preloader-bg: #10232d;
	--color-loader:       #b8d43a;
	--color-loader-light: #2a4150;

	--color-body:   #e7ecef;
	--color-border: rgba(16, 35, 45, .18);
	--border-radius: 2px;
}

/* ---------------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------------- */
html { scroll-padding-top: 72px; }

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-1);
}

::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-1);
	font-weight: 800;
	letter-spacing: -.045em;
	color: var(--ink);
}

/* subtle film-grain overlay from the reference */
.noise {
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: .025;
	z-index: 9000;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* mono, uppercase micro-labels */
.text-pretitle,
.stat-item__label,
.flip-card__tag,
.flip-card__hint,
.timeline__date,
.skill-bars li strong,
.process-step h4,
.social-card__platform,
.eco-card__tag,
.article-card__date,
.s-intro__scroll-down span,
.kbd, kbd {
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: .1em;
}

/* section titles */
.text-display-title {
	font-size: clamp(3.4rem, 4.6vw, 6.6rem);
	line-height: 1;
	letter-spacing: -.055em;
	font-weight: 800;
	color: var(--ink);
}

.text-pretitle {
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--muted);
	transform: none;
}

/* auto-numbered kickers: 01, 02, 03 ... above each section label */
.target-section { counter-increment: sec; }
body { counter-reset: sec; }

.section-header .text-pretitle::before {
	content: counter(sec, decimal-leading-zero);
	display: block;
	color: var(--lime-dark);
	font-weight: 800;
	margin-bottom: .8rem;
}

.lead, .attention-getter { color: #425760; }

/* hairline dividers between sections */
.s-about, .s-expertise { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------------------
   3. HEADER — fixed, frosted paper bar with the DC brand mark
   --------------------------------------------------------------------------- */
.s-header {
	--header-height: 72px;
	position: fixed;
	top: 0;
	background: rgba(231, 236, 239, .94);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.s-header__logo { transform: none; }

.brand {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-1);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: .12em;
	color: var(--ink);
}
.brand span {
	display: inline-block;
	width: 42px;
	height: 4px;
	background: var(--lime);
	margin-left: 14px;
}
.brand:hover { color: var(--ink); }

.s-header__menu-links { margin-right: 2rem; }

.s-header__menu-links a {
	font-family: var(--font-mono);
	font-size: 1.15rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink);
	opacity: .65;
	padding: 0 .9rem;
	transition: opacity .2s, color .2s;
}
.s-header__menu-links a:focus,
.s-header__menu-links a:hover { color: var(--lime-text); opacity: 1; }
.s-header__menu-links .current a { color: var(--ink); opacity: 1; }

.s-header__contact { display: flex; align-items: center; gap: 1.2rem; }
.s-header__contact-btn { --btn-height: 4.4rem; padding: 0 2rem; margin: 0; }

.command-hint {
	font-family: var(--font-mono);
	font-size: 1.05rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	border-radius: 2px;
	margin: 0;
	height: auto;
	line-height: 1.6;
	padding: 4px 8px;
	background: transparent;
	border: 1px solid var(--line);
}
.command-hint:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.command-hint span { font-size: inherit; }

/* mobile header + dropdown */
.s-header__menu-toggle span { background-color: var(--ink); }
.s-header__menu-toggle.is-clicked span { background-color: transparent; }
.s-header__menu-toggle.is-clicked span::before,
.s-header__menu-toggle.is-clicked span::after { background-color: var(--paper); }

@media screen and (max-width: 900px) {
	.s-header { top: 0; }
	.s-header__block { border-bottom: 0; box-shadow: none; }
	.s-header__logo { left: calc(var(--gutter) * 2 + 1.5%); }

	.menu-is-open .s-header { background: var(--ink); }
	.menu-is-open .brand { color: var(--paper); }

	.s-header__nav {
		background-color: var(--ink);
		border-bottom: 1px solid rgba(255, 255, 255, .08);
		top: 0;
	}
	.s-header__nav a:not(.btn) { color: var(--paper); opacity: .85; }
	.s-header__menu-links a { font-size: 1.5rem; padding: var(--vspace-0_5) 0; }
	.s-header__menu-links a:hover { color: var(--lime); opacity: 1; }
	.command-hint { display: none; }
}

/* ---------------------------------------------------------------------------
   4. HERO — paper on the left, dark "architecture" panel on the right
   --------------------------------------------------------------------------- */
.s-intro {
	background: var(--paper);
	color: var(--ink);
}

.s-intro__content { color: var(--ink); }

.s-intro__content-pretitle {
	color: var(--muted);
	font-size: 1.2rem;
}
.s-intro__content-pretitle::before { height: 3px; background: var(--lime); }

.s-intro__content-title {
	color: var(--ink);
	font-weight: 800;
	letter-spacing: -.07em;
	line-height: .96;
	/* sized so the longest rotating role ("Finance Professional") stays on the paper side */
	font-size: clamp(4.2rem, 5.2vw, 8.4rem);
}

/* the rotating role gets its own line; min-height stops layout jumping while it retypes */
.role-rotator {
	display: block;
	width: max-content;
	max-width: 100%;
	min-height: 1em;
	color: var(--lime-dark);
	border-right: 3px solid var(--lime-dark);
}
.s-intro__content-title br:last-child { display: none; }

.s-intro .lead { color: #425760; }

/* soften the original blurred blobs so the hero stays crisp and architectural */
.hero-bg span { opacity: .14; }

/* the dark panel + shapes from the reference */
.hero-art {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 36%;
	background: var(--ink);
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}
.hero-art::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, transparent 0 43%, rgba(255, 255, 255, .08) 43.1% 43.4%, transparent 43.5%),
		linear-gradient(90deg, transparent 0 53%, rgba(255, 255, 255, .09) 53.1% 53.3%, transparent 53.4%);
}
.hero-art .architecture {
	position: absolute;
	right: -8%;
	bottom: -5%;
	width: 100%;
	height: 62%;
	background:
		linear-gradient(90deg, transparent 0 37%, rgba(255, 255, 255, .1) 37.2% 37.6%, transparent 37.8%),
		linear-gradient(135deg, #293941 0 44%, #829098 44.1% 58%, #394a52 58.1%);
	clip-path: polygon(22% 0, 73% 0, 100% 23%, 100% 100%, 0 100%, 0 48%);
	opacity: .92;
}
.hero-art .stair {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 72%;
	height: 36%;
	background: repeating-linear-gradient(to bottom, #65757d 0 12px, #26373f 12px 18px);
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
	opacity: .8;
}
.hero-art .lime-wall {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 19%;
	height: 52%;
	background: var(--lime);
	clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%, 0 31%);
}
.hero-side {
	position: absolute;
	top: 11.5rem;
	right: 4rem;
	width: 220px;
	color: #dce5e8;
	font-family: var(--font-mono);
	text-transform: uppercase;
}
.hero-side h3 {
	margin: 0 0 18px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .22em;
	color: #dce5e8;
}
.hero-side p {
	margin: 0;
	font-size: 10.5px;
	line-height: 2.2;
	letter-spacing: .18em;
	border-left: 2px solid var(--lime);
	padding-left: 18px;
}
.hero-side .tagline {
	margin-top: 24px;
	color: #fff;
	font-size: 9.5px;
}

@media (max-height: 940px), (max-width: 1100px) { .hero-side { display: none; } }

/* the terminal sits on the dark panel */
.terminal {
	border-radius: 2px;
	background: #0a1920;
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.terminal__bar { background: #06121a; }
.terminal__body { color: #dbe5e8; }
.terminal__dot { border-radius: 1px; }

.s-intro__scroll-down svg { stroke: var(--lime-dark); }
.s-intro__scroll-down span { color: var(--ink); font-size: 1.1rem; }

/* hero social row */
.hero-socials {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	margin-top: var(--vspace-0_5);
}
.hero-socials__label {
	font-family: var(--font-mono);
	font-size: 1.1rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 1.2rem;
}
.hero-socials__label::after {
	content: "";
	display: inline-block;
	width: 48px;
	height: 1px;
	background: var(--ink);
}

/* tablet / mobile: the dark panel becomes a band behind the terminal */
@media screen and (max-width: 1000px) {
	.hero-art { display: none; }
	.terminal { margin-right: auto; }
}

/* ---------------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------------- */
.btn,
button.btn {
	font-family: var(--font-mono);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: .09em;
	text-transform: uppercase;
	border-radius: 2px;
	padding: 0 2.6rem;
	--btn-height: 5.2rem;
	border-width: 1px;
}
.btn--stroke { border-width: 1px; }
.btn:hover, .btn:focus { box-shadow: none; }

/* stroke buttons that inline-style themselves for the dark contact section */
.btn.btn--stroke:hover { background: var(--ink) !important; color: var(--paper) !important; }
#contact .btn.btn--stroke:hover { background: var(--lime) !important; color: var(--ink) !important; border-color: var(--lime) !important; }

/* ---------------------------------------------------------------------------
   6. SECTIONS & CARDS
   --------------------------------------------------------------------------- */

/* stats → connected hairline grid (like the reference's capability grid) */
.stat-grid {
	gap: 0;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.stat-item {
	text-align: left;
	border: 0;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	padding: 3.2rem;
	min-height: 190px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: rgba(255, 255, 255, .06);
	transition: background .25s ease;
}
.stat-item:hover { transform: none; box-shadow: none; background: rgba(184, 212, 58, .14); }
.stat-item__num {
	font-family: var(--font-1);
	font-weight: 800;
	letter-spacing: -.06em;
	font-size: clamp(4rem, 4.4vw, 6rem);
	color: var(--ink);
}
.stat-item__label { font-size: 1.1rem; color: var(--muted); margin-top: 2.4rem; display: block; }

/* venture flip cards */
.flip-card__face { border-radius: 2px; }
.flip-card__face--front { background: var(--ink); color: var(--paper); }
.flip-card__face--back { background: var(--lime); color: var(--ink); }
.flip-card__face--front:not([style])::after {
	content: "↗";
	position: absolute;
	right: 2.2rem;
	top: 1.8rem;
	color: var(--lime);
	font-size: 2rem;
}
.flip-card__mark {
	border-radius: 2px;
	font-family: var(--font-1);
	font-weight: 800;
	background: var(--lime);
	color: var(--ink);
}
.flip-card__title { font-family: var(--font-1); font-weight: 800; letter-spacing: -.04em; }
.flip-card__stack span { border-radius: 2px; background: rgba(16, 35, 45, .12); font-family: var(--font-mono); font-weight: 500; }
.flip-card__link { color: var(--ink); }

/* ecosystem / articles / social-post cards */
.eco-card,
.article-card,
.social-card {
	border-color: var(--line);
	border-radius: 2px;
	background: var(--white);
}
.eco-card { border-top: 3px solid var(--lime); }
.eco-card:hover,
.article-card:hover,
.social-card:hover { box-shadow: none; border-color: var(--ink); }
.eco-card__mark,
.social-card__icon { border-radius: 2px; background: var(--ink); color: var(--lime); font-weight: 800; }
.eco-card__tag,
.article-card__date,
.social-card__platform { color: var(--lime-text); }
.eco-card__desc,
.article-card__summary { color: var(--muted); }
.eco-card__link { color: var(--ink); border-bottom-color: var(--lime-dark); }
.eco-card__link:hover { color: var(--lime-text); }
.eco-card--primary { background: var(--ink); color: var(--paper); }
.eco-card--primary .eco-card__name { color: var(--paper); }
.eco-card--primary .eco-card__desc { color: #aebdc2; }
.eco-card--primary .eco-card__link { color: var(--paper); border-bottom-color: var(--lime); }
.eco-card--primary .eco-card__tag { color: var(--lime); }
.eco-card--primary .eco-card__mark { background: var(--lime); color: var(--ink); }
.social-card__title { color: var(--ink); }
.content-empty-state { border-color: var(--line); color: var(--muted); border-radius: 2px; }
.content-empty-state strong { color: var(--ink); }

/* process steps */
.process-step { border-radius: 0; background: rgba(255, 255, 255, .18); transition: background .25s; }
.process-step:hover { background: rgba(184, 212, 58, .16); }
.process-step::before { font-family: var(--font-mono); font-weight: 500; color: var(--lime-dark); font-size: 1.2rem; letter-spacing: .1em; }
.process-step h4 { font-size: 1.3rem; }

/* skills */
.skill-bars li { background: rgba(16, 35, 45, .12); height: 5px; }
.skill-bars li .progress { background: var(--ink); }
.skill-bars li .progress span { background: var(--ink); border-radius: 2px; font-family: var(--font-mono); letter-spacing: .06em; color: var(--paper); }
.skill-bars li .progress span::after { border-top-color: var(--ink); }
.skill-bars li strong { color: var(--ink); letter-spacing: .14em; }

/* chips */
.chip {
	border-radius: 0;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .22);
	font-size: 1.35rem;
	padding: 8px 14px;
}
.chip:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: none; }

/* timeline */
.timeline { border-left: 1px solid var(--line); }
.timeline__item::before { border-radius: 0; border: 2px solid var(--lime-dark); background: var(--paper); left: -37px; width: 12px; height: 12px; }
.timeline__item.is-open::before { background: var(--lime); border-color: var(--lime-dark); }
.timeline__role { font-weight: 700; letter-spacing: -.02em; }
.timeline__org { color: var(--lime-text); }
.edu-credential { border-left-color: var(--lime); }

/* about (dark section) */
.s-about { background: var(--ink); color: var(--paper); border-top: 0; }
.s-about .text-display-title { color: var(--paper); }
.s-about .text-pretitle { color: #8fa3ad; }
.s-about .attention-getter { color: #c4d1d5; }
.s-about__content-imgbg { display: none; }
.s-about .stat-grid { border-color: rgba(255, 255, 255, .14); }
.s-about .stat-item { border-color: rgba(255, 255, 255, .14); background: transparent; }
.s-about .stat-item:hover { background: rgba(184, 212, 58, .1); }
.s-about .stat-item__num { color: var(--paper); }
.s-about .stat-item__label { color: #8fa3ad; }

/* contact (dark section; background is set inline in the HTML) */
#contact .text-display-title { color: var(--paper); }

/* ---------------------------------------------------------------------------
   7. SOCIAL LINKS (new)
   --------------------------------------------------------------------------- */

/* round icon buttons → square, theme-matched */
.social-list { gap: 0; }
.social-list li { margin-right: 1rem; }
.social-list a {
	width: 4.4rem;
	height: 4.4rem;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 2px;
	transition: background .25s, border-color .25s, transform .25s;
}
.social-list svg { width: 2.2rem; height: 2.2rem; }
.social-list a:hover,
.social-list a:focus { border-color: var(--lime); background: rgba(184, 212, 58, .12); transform: translateY(-2px); }
.social-list svg path { transition: fill .25s; }
.social-list a:hover svg path,
.social-list a:focus svg path { fill: var(--lime); }
.s-about__social svg path { fill: var(--paper); }
.s-footer__social svg path { fill: rgba(255, 255, 255, .6); }

/* light-background variant (used in the hero) */
.social-list--ink a { border-color: var(--line); }
.social-list--ink svg path { fill: var(--ink); }
.social-list--ink a:hover,
.social-list--ink a:focus { background: var(--ink); border-color: var(--ink); }
.social-list--ink a:hover svg path,
.social-list--ink a:focus svg path { fill: var(--lime); }
.social-list--ink li:last-child { margin-right: 0; }

/* "Find me online" rail in the contact section */
.social-rail-title {
	font-family: var(--font-mono);
	font-size: 1.15rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lime);
	margin: var(--vspace-1_25) 0 var(--vspace-0_5);
}
.social-rail {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, .15);
	border-left: 1px solid rgba(255, 255, 255, .15);
}
.social-rail a {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	padding: 2.2rem 2.4rem;
	border-right: 1px solid rgba(255, 255, 255, .15);
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	color: var(--paper);
	text-decoration: none;
	position: relative;
	transition: background .25s, color .25s;
}
.social-rail a:hover,
.social-rail a:focus { background: var(--lime); color: var(--ink); }
.social-rail svg { width: 2.4rem; height: 2.4rem; flex: none; fill: currentColor; }
.social-rail__name { display: block; font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.2; }
.social-rail__handle {
	display: block;
	font-family: var(--font-mono);
	font-size: 1.15rem;
	letter-spacing: .06em;
	opacity: .7;
	margin-top: .3rem;
}
.social-rail a::after {
	content: "↗";
	position: absolute;
	right: 2rem;
	top: 1.8rem;
	font-size: 1.8rem;
	color: var(--lime);
	transition: color .25s;
}
.social-rail a:hover::after,
.social-rail a:focus::after { color: var(--ink); }

@media screen and (max-width: 640px) {
	.social-rail { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   8. FOOTER, GO-TOP, COMMAND PALETTE, DEV MODE
   --------------------------------------------------------------------------- */
.s-footer { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .06); }
.s-footer h3 { font-family: var(--font-mono); font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--paper); }
.s-footer a { color: var(--lime); }
.s-footer a:hover, .s-footer a:focus { color: var(--paper); }
.s-footer .link-list a { color: rgba(255, 255, 255, .6); }
.s-footer .link-list a:hover, .s-footer .link-list a:focus { color: var(--lime); }
.s-footer__social { margin-bottom: var(--vspace-0_5); }
.ss-copyright { font-family: var(--font-mono); font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; }

.ss-go-top a { border-radius: 2px; border-color: rgba(255, 255, 255, .3); }
.ss-go-top a:hover, .ss-go-top a:focus { border-color: var(--lime); background: var(--lime); }
.ss-go-top a:hover svg, .ss-go-top a:focus svg { stroke: var(--ink); }

.command-palette { background: rgba(16, 35, 45, .72); }
.command-palette__box { background: var(--paper); border-radius: 2px; border: 1px solid var(--line); }
.command-palette__input { background: transparent; color: var(--ink); font-family: var(--font-1); border-bottom-color: var(--line); }
.command-palette__list a { border-radius: 0; color: var(--ink); font-family: var(--font-mono); font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.command-palette__list a:hover,
.command-palette__list a:focus { background: var(--lime); color: var(--ink); }
kbd { background: var(--paper-2); border-radius: 2px; color: var(--ink); }

.devmode-toggle { border-radius: 2px; background: var(--ink); color: var(--paper); font-family: var(--font-mono); letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .12); }
.devmode-toggle.is-active { background: var(--lime); color: var(--ink); }
.devmode-panel { border-radius: 2px; background: var(--ink); color: #c4d1d5; border: 1px solid rgba(255, 255, 255, .1); }

.copy-btn__tip { border-radius: 2px; background: var(--lime); color: var(--ink); }

/* ---------------------------------------------------------------------------
   9. RESPONSIVE TWEAKS
   --------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
	.stat-item { padding: 2.4rem; min-height: 150px; }
	.hero-socials { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	.social-list a, .social-rail a, .stat-item, .process-step { transition: none; }
}

/* ---------------------------------------------------------------------------
   10. LAYOUT FIXES (found while reviewing the rendered theme)
   --------------------------------------------------------------------------- */

/* mono labels inherit a tall body line-height; tighten it so they never clip */
.text-pretitle,
.stat-item__label,
.flip-card__tag,
.flip-card__hint,
.timeline__date,
.process-step h4,
.social-card__platform,
.eco-card__tag,
.article-card__date { line-height: 1.7; }

/* let section titles wrap naturally instead of on the hard <br>s in the HTML */
.text-display-title br { display: none; }
.text-display-title { font-size: clamp(3.2rem, 4vw, 5.8rem); }

/* venture flip cards: slightly taller + smaller mono labels so nothing clips */
.flip-card { height: 285px; }
.flip-card__tag,
.flip-card__hint { font-size: 1.05rem; letter-spacing: .08em; }
.flip-card__tag { margin-top: .2rem; }
.flip-card__stack span { font-size: 1rem; padding: 3px 8px; }
.flip-card__back-title { font-size: 1.35rem; line-height: 1.4; }
.flip-card__desc { font-size: 1.4rem; line-height: 1.5; }

/* the right-hand column is narrow on desktop: use 2 columns for process steps
   and a single column for ecosystem cards so text has room to breathe */
.process-rail { grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 170px; }
@media screen and (max-width: 500px) { .process-rail { grid-template-columns: 1fr; } }

.ecosystem-grid { grid-template-columns: 1fr; gap: 1.6rem; }
.eco-card { padding: 2.4rem; }
.eco-card__tag { font-size: 1.05rem; }
.eco-card__link { font-size: 1.25rem; }

/* ---------------------------------------------------------------------------
   11. MOBILE / TABLET HERO
   --------------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
	/* headline sized so "Finance Professional" never overflows */
	.s-intro__content-title { font-size: clamp(3.4rem, 8.4vw, 8rem); }

	/* terminal goes full-width under the copy instead of squeezing into a few grid columns */
	.s-intro__content-media { grid-column: 1 / -1; justify-self: stretch; margin-top: var(--vspace-0_5); }
	.terminal { max-width: 100%; margin: 0; }
}

@media screen and (max-width: 1000px) {
	.s-intro__scroll-down { display: none; }
}

/* ventures: 2 columns in the narrow right-hand column so the back face has room for
   description + stack chips + link (3 columns was too tight for the added mono labels) */
.ventures-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.flip-card { height: 310px; }
.flip-card__desc { font-size: 1.3rem; line-height: 1.45; margin-bottom: .6rem; }
.flip-card__stack { margin-bottom: .8rem; }
@media screen and (max-width: 640px) { .ventures-grid { grid-template-columns: 1fr; } .flip-card { height: 290px; } }

/* ---------------------------------------------------------------------------
   12. ANSWERS / FAQ (AEO block)
   --------------------------------------------------------------------------- */
.answer-summary {
	font-size: 2.1rem;
	line-height: 1.55;
	color: var(--ink);
	border-left: 3px solid var(--lime);
	padding-left: 2rem;
	margin: 0;
}

.facts { margin: 0; border-top: 1px solid var(--line); }
.facts__row {
	display: grid;
	grid-template-columns: minmax(12rem, 28%) 1fr;
	gap: 2rem;
	padding: 1.3rem 0;
	border-bottom: 1px solid var(--line);
}
.facts dt {
	font-family: var(--font-mono);
	font-size: 1.1rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.8;
}
.facts dd { margin: 0; font-size: 1.7rem; line-height: 1.5; color: var(--ink); }
@media screen and (max-width: 600px) { .facts__row { grid-template-columns: 1fr; gap: .2rem; } }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	padding: 2rem 0;
	font-weight: 700;
	font-size: 1.9rem;
	letter-spacing: -.02em;
	color: var(--ink);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
	content: "+";
	flex: none;
	width: 3.2rem;
	height: 3.2rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	font-family: var(--font-mono);
	font-weight: 400;
	transition: background .2s, transform .2s;
}
.faq-item[open] .faq-item__q::after { content: "–"; background: var(--lime); border-color: var(--lime); }
.faq-item__q:hover { color: var(--lime-text); }
.faq-item__a { padding: 0 5rem 2.2rem 0; color: #425760; }
.faq-item__a p { margin: 0; font-size: 1.7rem; line-height: 1.65; }
