html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote::before,blockquote::after,q::before,q::after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none}mark{background-color:transparent;color:inherit}input::-moz-focus-inner{border:0;padding:0}input[type="text"],input[type="email"],select,textarea{-moz-appearance:none;-webkit-appearance:none;-ms-appearance:none;appearance:none}

*, *::before, *::after {
	box-sizing: border-box;
}

@keyframes loading-spinner {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Scroll prompt: in-flow after bottom-most revealed content, body text style, "CONTINUE SCROLLING [ ]" with blinking cursor (CTA gradient) */
.scroll-prompt {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0.25rem;
	margin-top: 0.5rem;
	width: 100%;
	clear: both;
	flex-basis: 100%;
	font-family: var(--font-primary);
	font-size: 0.85em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-secondary);
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.scroll-prompt.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.scroll-prompt__cursor {
	display: inline-block;
	width: 0.6em;
	height: 1.1em;
	vertical-align: text-bottom;
	background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
	animation: scroll-prompt-blink 1s step-end infinite;
}

@keyframes scroll-prompt-blink {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}

.deferred::before {
	content: '';
	display: block;
	width: 4rem;
	height: 4rem;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -2rem 0 0 -2rem;
	animation: loading-spinner 1s infinite linear;
	transition: opacity 0.25s ease;
	transition-delay: 0.5s;
	opacity: 0;
	z-index: -1;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iOTZweCIgaGVpZ2h0PSI5NnB4IiB2aWV3Qm94PSIwIDAgOTYgOTYiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5jaXJjbGUge2ZpbGw6IHRyYW5zcGFyZW50OyBzdHJva2U6ICNmZmY7IHN0cm9rZS13aWR0aDogMS41cHg7IH08L3N0eWxlPjxkZWZzPjxjbGlwUGF0aCBpZD0iY29ybmVyIj48cG9seWdvbiBwb2ludHM9IjAsMCA0OCwwIDQ4LDQ4IDk2LDQ4IDk2LDk2IDAsOTYiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2Nvcm5lcikiPjxjaXJjbGUgY3g9IjQ4IiBjeT0iNDgiIHI9IjMyIi8+PC9nPjwvc3ZnPg==');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 3rem;
}

.deferred.loading::before {
	opacity: 0.35;
	z-index: 0;
}


/* GoetiaAI dark theme (no background image) */
.goetia-dark {
	--bg-primary: #0f0f0f;
	--card-bg: rgba(30, 30, 30, 0.95);
	--card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	--text-primary: #ffffff;
	--text-secondary: #b4b4b4;
	--text-muted: #808080;
	--purple-primary: #8B5CF6;
	--purple-hover: #7C3AED;
	--pink-accent: #EC4899;
	--border-radius: 16px;
	--border-radius-sm: 8px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--font-primary: 'Noto Sans', sans-serif;
}

body {
	line-height: 1.0;
	min-height: var(--viewport-height);
	min-width: 320px;
	overflow-x: hidden;
	word-wrap: break-word;
	background-color: #1F1E1E;
}

body.goetia-dark {
	background-color: var(--bg-primary);
	color: var(--text-primary);
	font-family: var(--font-primary);
}

:root {
	--background-height: 100vh;
	--site-language-alignment: left;
	--site-language-direction: ltr;
	--site-language-flex-alignment: flex-start;
	--site-language-indent-left: 1;
	--site-language-indent-right: 0;
	--site-language-margin-left: 0;
	--site-language-margin-right: auto;
	--viewport-height: 100vh;
}

html {
	font-size: 17pt;
}

u {
	text-decoration: underline;
}

strong {
	color: inherit;
	font-weight: bolder;
}

em {
	font-style: italic;
}

code {
	background-color: rgba(144,144,144,0.25);
	border-radius: 0.25em;
	font-family: 'Lucida Console', 'Courier New', monospace;
	font-size: 0.9em;
	font-weight: normal;
	letter-spacing: 0;
	margin: 0 0.25em;
	padding: 0.25em 0.5em;
	text-indent: 0;
}

mark {
	background-color: rgba(144,144,144,0.25);
}

spoiler-text {
	-webkit-text-stroke: 0;
	background-color: rgba(32,32,32,0.75);
	text-shadow: none;
	text-stroke: 0;
	color: transparent;
	cursor: pointer;
	transition: color 0.1s ease-in-out;
}

spoiler-text.active {
	color: #FFFFFF;
	cursor: text;
}

s {
	text-decoration: line-through;
}

sub {
	font-size: smaller;
	vertical-align: sub;
}

sup {
	font-size: smaller;
	vertical-align: super;
}

a {
	color: inherit;
	text-decoration: underline;
	transition: color 0.25s ease;
}

.goetia-dark a {
	color: var(--pink-accent);
	transition: var(--transition);
}

.goetia-dark a:hover,
.goetia-dark a:focus {
	color: var(--purple-hover);
}

.goetia-dark code {
	background-color: rgba(139, 92, 246, 0.2);
	border: 1px solid rgba(139, 92, 246, 0.35);
}

a[onclick]:not([href]) {
	cursor: pointer;
}

unloaded-script {
	display: none;
}

.site-wrapper {
	-webkit-overflow-scrolling: touch;
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: var(--viewport-height);
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.goetia-dark .site-wrapper::before {
	content: '';
	position: fixed;
	inset: 0;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(236, 72, 153, 0.06) 100%);
	pointer-events: none;
	z-index: 0;
}

.goetia-dark .site-wrapper > .site-main {
	position: relative;
	z-index: 1;
}

.site-main {
	--alignment: center;
	--flex-alignment: center;
	--indent-left: 1;
	--indent-right: 1;
	--margin-left: auto;
	--margin-right: auto;
	--border-radius-tl: 0;
	--border-radius-tr: 0;
	--border-radius-br: 0;
	--border-radius-bl: 0;
	align-items: center;
	display: flex;
	flex-grow: 0;
	flex-shrink: 0;
	justify-content: center;
	max-width: 100%;
	position: relative;
	text-align: var(--alignment);
	z-index: 1;
	transition: opacity 1s ease-in-out 0s;
}

.site-main > .inner {
	--padding-horizontal: 1rem;
	--padding-vertical: 1.5rem;
	--spacing: 0.25rem;
	--width: 61rem;
	border-radius: var(--border-radius-tl) var(--border-radius-tr) var(--border-radius-br) var(--border-radius-bl);
	max-width: 100%;
	position: relative;
	width: var(--width);
	z-index: 1;
	padding: var(--padding-vertical) var(--padding-horizontal);
}

.site-main > .inner > header {
	margin-bottom: var(--spacing);
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.site-main > .inner > footer {
	margin-top: var(--spacing);
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.site-main > .inner > * > * {
	margin-top: var(--spacing);
	margin-bottom: var(--spacing);
}

.site-main > .inner > * > :first-child {
	margin-top: 0 !important;
}

.site-main > .inner > * > :last-child {
	margin-bottom: 0 !important;
}

.site-main > .inner > .full {
	margin-left: calc(var(--padding-horizontal) * -1);
	max-width: calc(100% + calc(var(--padding-horizontal) * 2) + 0.4725px);
	width: calc(100% + calc(var(--padding-horizontal) * 2) + 0.4725px);
}

.site-main > .inner > .full:first-child {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
	margin-top: calc(var(--padding-vertical) * -1) !important;
}

.site-main > .inner > .full:last-child {
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
	margin-bottom: calc(var(--padding-vertical) * -1) !important;
}

.site-main > .inner > .full.screen {
	border-radius: 0 !important;
	max-width: 100vw;
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	right: auto;
}

.site-main > .inner > * > .full {
	margin-left: calc(-1rem);
	max-width: calc(100% + 2rem + 0.4725px);
	width: calc(100% + 2rem + 0.4725px);
}

.site-main > .inner > * > .full.screen {
	border-radius: 0 !important;
	max-width: 100vw;
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	right: auto;
}

.site-main > .inner > header > .full:first-child {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
	margin-top: -1.5rem !important;
}

.site-main > .inner > footer > .full:last-child {
	margin-bottom: -1.5rem !important;
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

body.is-loading .site-main {
	opacity: 0;
}

.site-main > .inner > header, .site-main > .inner > footer {
	transition: opacity 0.25s ease-in-out 0.375s,visibility 0.25s linear 0.375s;
}

.site-main > .inner > header.hidden, .site-main > .inner > footer.hidden {
	transition: opacity 0.25s ease-in-out, visibility 0.25s;
	opacity: 0;
	visibility: hidden;
}

.site-main > .inner > section {
	transition: opacity 0.5s ease-in-out 0.25s,min-height 0.25s ease-in-out, max-height 0.25s ease-in-out;
}

.site-main > .inner > section.inactive {
	opacity: 0;
	transition: opacity 0.25s ease-in-out;
}

body.is-instant .site-main, body.is-instant .site-main > .inner > *,body.is-instant .site-main > .inner > section > *  {
	transition: none !important;
}

body.is-instant::after {
	display: none !important;
	transition: none !important;
}

.buttons-component {
	cursor: default;
	display: flex;
	justify-content: var(--flex-alignment);
	letter-spacing: 0;
	padding: 0;
}

.buttons-component > li {
	max-width: 100%;
	text-align: var(--alignment);
}

.buttons-component > li > a {
	align-items: center;
	justify-content: center;
	max-width: 100%;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;
}

.buttons-component.instance-1 {
	--flex-alignment: center;
	--alignment: center;
	gap: 1.5rem;
	flex-direction: row;
	flex-wrap: wrap;
}

.buttons-component.instance-1:not(:first-child) {
	margin-top: 0.75rem !important;
}

.buttons-component.instance-1:not(:last-child) {
	margin-bottom: 0.75rem !important;
}

.buttons-component.instance-1 > li > a {
	display: inline-block;
	width: 7.75rem;
	height: 2.25rem;
	line-height: calc(2.25rem - 2px);
	padding: 0 0.5rem;
	vertical-align: middle;
	text-transform: uppercase;
	font-family: 'Asap', sans-serif;
	letter-spacing: 0.225rem;
	padding-left: calc(0.225rem + 0.5rem);
	font-size: 0.875em;
	font-weight: 700;
	border-radius: 0.75rem;
	direction: var(--site-language-direction);
	overflow: hidden;
	text-overflow: ellipsis;
	color: #FFFFFF;
	border: solid 1px #383838;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.buttons-component.instance-1 > li > a:hover {
	border-color: #B069D1 !important;
	color: #B069D1 !important;
}

.goetia-dark .buttons-component.instance-1 > li > a {
	font-family: var(--font-primary);
	color: var(--text-primary);
	border: 1px solid rgba(139, 92, 246, 0.4);
	background: rgba(139, 92, 246, 0.08);
	border-radius: var(--border-radius-sm);
	transition: var(--transition);
}

.goetia-dark .buttons-component.instance-1 > li > a:hover {
	border-color: var(--purple-primary) !important;
	color: var(--pink-accent) !important;
	background: rgba(139, 92, 246, 0.15);
}

.divider-component {
	align-items: center;
	border: 0;
	display: flex;
	justify-content: var(--flex-alignment);
	min-height: 1rem;
	padding: 0;
	position: relative;
	width: 100%;
}

.divider-component::before {
	content: '';
}

.divider-component.instance-1:not(:first-child) {
	margin-top: 0.875rem !important;
}

.divider-component.instance-1:not(:last-child) {
	margin-bottom: 0.875rem !important;
}

.divider-component.instance-1::before {
	width: 100%;
	background-color: #FFFFFF;
	height: 1px;
	border-radius: 0px;
}

.goetia-dark .divider-component.instance-1::before,
.goetia-dark .divider-component.instance-3::before {
	background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), transparent);
	height: 1px;
}

.divider-component.instance-2:not(:first-child) {
	margin-top: 1.25rem !important;
}

.divider-component.instance-2:not(:last-child) {
	margin-bottom: 1.25rem !important;
}

.divider-component.instance-2::before {
	width: 2rem;
	border-bottom: solid 1px #CCCCCC;
	border-top: solid 1px #CCCCCC;
	height: 3px;
}

.goetia-dark .divider-component.instance-2::before {
	border-color: var(--purple-primary);
	background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent));
	border: none;
	height: 4px;
	border-radius: 2px;
}

/* Home section: tighter spacing around spacer, thinner line, more space after titles */
#home-section .divider-component.instance-2:not(:first-child) {
	margin-top: 0.5rem !important;
}
#home-section .divider-component.instance-2:not(:last-child) {
	margin-bottom: 0.5rem !important;
}
#home-section .divider-component.instance-2::before {
	height: 1px;
	border-radius: 1px;
}
#home-section .text-component.instance-4 {
	margin-bottom: 0;
}
#home-section .featured-work {
	margin-top: 1.875rem;
}

/* About section: segmented expertise (Stéphanie Walter–style) */
.about-intro {
	margin-bottom: 1.5rem;
}

/* About: expertise cards — one card per skill + toolbox */
.about-expertise-cards {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 2rem;
}

.about-expertise {
	margin-top: 2rem;
	text-align: left;
}

.about-expertise__title {
	font-family: var(--font-primary);
	font-size: 1.25em;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 1.25rem 0;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
}

.about-expertise__block {
	margin-bottom: 0;
	text-align: left;
}

.about-expertise-cards .about-expertise__block:last-child {
	margin-bottom: 0;
}

.about-expertise__block-inner {
	display: flex;
	align-items: flex-start;
	gap: 1rem 1.25rem;
}

.about-expertise__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: var(--border-radius-sm);
	background: rgba(139, 92, 246, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pink-accent);
}

.about-expertise__icon img,
.about-expertise__icon svg {
	width: 26px;
	height: 26px;
	display: block;
}

.about-expertise__icon svg {
	fill: currentColor;
}

.about-expertise__header-text {
	flex: 1;
	min-width: 0;
}

.about-expertise__heading {
	font-family: var(--font-primary);
	font-size: 1.5em;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0 0 0.35rem 0;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
}

.about-expertise__scope {
	font-size: 0.95em;
	font-weight: 600;
	color: var(--text-secondary);
	margin: 0 0 0.85rem 0;
	line-height: 1.4;
	text-align: left;
}

.about-expertise__block .text-component.style-1 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	text-align: left;
}

.about-expertise__block .text-component.style-1:last-child {
	margin-bottom: 0;
}

/* About: Toolbox (tool icons) */
.about-toolbox .about-toolbox__icons {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-top: 1rem;
	align-items: center;
}

.about-toolbox__icon {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	color: var(--text-secondary);
	transition: color 0.2s ease;
}

.about-toolbox__icon:hover {
	color: var(--text-primary);
}

.about-toolbox__icon svg,
.about-toolbox__img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.about-toolbox__label {
	font-family: var(--font-primary);
	font-size: 0.75em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* About: selected work — uses project-block / project-card from Projects section */
#about-section .about-work {
	margin-top: 2rem;
}

#about-section .about-work.projects-page {
	max-width: 52rem;
	padding-left: 0;
	padding-right: 0;
}

#about-section .about-work .project-block {
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

/* About: Experience heading — same spacing above as Selected work (image 2) */
#about-section .about-work + .projects-page {
	margin-top: 2rem;
}
#about-section .about-work .project-block:last-child .project-card {
	margin-bottom: 0;
}

/* About: Experience — one card per role */
.experience-cards {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.experience-item {
	margin-bottom: 0;
	padding: 0;
	border-bottom: 0;
}
.experience-cards .experience-item:last-child {
	margin-bottom: 0;
}
.experience-item__header {
	display: flex;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-bottom: 1rem;
}
.experience-item__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: var(--border-radius-sm);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.experience-item__icon img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}
.experience-item__icon--twitch svg {
	display: block;
	width: 56px;
	height: 56px;
}
.experience-item__header-text {
	flex: 1 1 16rem;
	min-width: 0;
}
.experience-item__company {
	font-family: var(--font-primary);
	font-size: 1em;
	font-weight: 600;
	color: var(--text-primary);
	letter-spacing: 0.03em;
	margin: 0 0 0.25rem 0;
}
.experience-item__company a {
	color: var(--text-primary);
	text-decoration: none;
}
.experience-item__company a:hover {
	color: var(--pink-accent);
	text-decoration: underline;
}
.experience-item__title {
	font-family: var(--font-primary);
	font-size: 1.35em;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.2;
	margin: 0 0 0.15rem 0;
	text-align: left;
}
.experience-item__meta {
	font-family: var(--font-primary);
	font-size: 0.9em;
	color: var(--text-secondary);
	line-height: 1.4;
	margin: 0;
	text-align: left;
}
.experience-item__key-work-section {
	margin-top: 2rem;
}
.experience-key-work__label {
	display: block;
	font-family: var(--font-primary);
	font-size: 0.7em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-secondary);
	margin: 0 0 1rem 0;
	text-align: left;
}
.experience-key-work {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 0.6rem 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: var(--font-primary);
	font-size: 0.95em;
	color: var(--text-secondary);
	line-height: 1.6;
}
.experience-key-work li {
	position: relative;
	padding-left: 1.25rem;
	margin: 0;
}
.experience-key-work li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 50%;
	background: var(--pink-accent);
	opacity: 0.85;
}
.experience-key-work a {
	color: var(--pink-accent);
	text-decoration: underline;
}
.experience-key-work a:hover {
	color: var(--purple-hover);
}

.about-work-heading {
	font-family: var(--font-primary);
	font-size: 1.25em;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 1.5rem 0;
	text-transform: none;
	letter-spacing: 0;
}

.project-title a {
	color: inherit;
	text-decoration: none;
}

.project-title a:hover {
	color: var(--pink-accent);
}

.divider-component.instance-3:not(:first-child) {
	margin-top: 0.875rem !important;
}

.divider-component.instance-3:not(:last-child) {
	margin-bottom: 0.875rem !important;
}

.divider-component.instance-3::before {
	width: 100%;
	background-color: #FFFFFF;
	height: 1px;
	border-radius: 0px;
}

#header {
	margin-bottom: 2rem !important;
}

#footer {
	margin-top: 2rem !important;
}

/* ==================== FEATURED WORK (HOME) ==================== */
.featured-work {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	max-width: 56rem;
	margin: 2.5rem auto 0;
	text-align: left;
}

.featured-card {
	display: block;
	padding: 1.5rem 1.75rem;
	border-radius: var(--border-radius);
	border: 1px solid rgba(139, 92, 246, 0.2);
	background: var(--card-bg);
	box-shadow: var(--card-shadow);
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

.goetia-dark .featured-card {
	background: var(--card-bg);
	border-color: rgba(139, 92, 246, 0.25);
}

.featured-card:hover {
	border-color: rgba(139, 92, 246, 0.5);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.goetia-dark .featured-card:hover {
	border-color: var(--purple-primary);
}

.featured-type {
	display: block;
	font-family: var(--font-primary);
	font-size: 0.7em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pink-accent);
	margin-bottom: 0.5rem;
}

.featured-title {
	display: block;
	font-family: var(--font-primary);
	font-size: 1.15em;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.35;
	margin-bottom: 0.5rem;
}

.featured-desc {
	display: block;
	font-family: var(--font-primary);
	font-size: 0.9em;
	color: var(--text-secondary);
	line-height: 1.5;
}

/* ==================== EXPERIMENTS PAGE ==================== */
.projects-page {
	max-width: 52rem;
	margin: 0 auto;
	padding: 0 1rem;
	text-align: left;
}

.projects-heading {
	font-family: var(--font-primary);
	font-size: 1.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.35rem;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
}

.goetia-dark .projects-heading {
	color: var(--text-primary);
}

.projects-intro {
	font-family: var(--font-primary);
	font-size: 1em;
	color: var(--text-secondary);
	line-height: 1.65;
	margin-bottom: 2.5rem;
}

.project-block {
	margin-bottom: 2.5rem;
}

.project-block:last-child {
	margin-bottom: 0;
}

.project-card {
	background: var(--card-bg);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: var(--border-radius);
	box-shadow: var(--card-shadow);
	padding: 1.75rem 2rem;
	transition: var(--transition);
}

.goetia-dark .project-card {
	background: var(--card-bg);
	border-color: rgba(139, 92, 246, 0.25);
}

.project-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	width: 100%;
}

.project-card-header__left {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.project-card-header__ctas {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	flex-wrap: wrap;
}

.project-card-header .project-cta {
	flex-shrink: 0;
}

.project-screenshot {
	margin-bottom: 1.25rem;
	border-radius: var(--border-radius);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: stretch;
}

.project-screenshot:not(.project-screenshot--pair) {
	display: block;
	height: auto;
}

.project-screenshot:not(.project-screenshot--pair) img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.project-screenshot--natural img {
	width: auto;
	height: auto;
	max-width: none;
}

.project-screenshot--pair {
	gap: 0.5rem;
	height: 360px;
}

.project-screenshot--pair img {
	flex: 1;
	width: 0;
	min-width: 0;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.project-video {
	margin-bottom: 1.25rem;
	border-radius: var(--border-radius);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.3);
}

.project-video__player {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.project-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--border-radius-sm);
	object-fit: contain;
	flex-shrink: 0;
}

/* Twitch icon (inline SVG) — same size as other project icons, Twitch purple */
.project-icon--twitch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

.project-icon--twitch svg {
	display: block;
	width: 56px;
	height: 56px;
}

/* Twitch Design System dedicated page (#twitch-ds-section) */
#twitch-ds-section {
	padding: 2rem 0 4rem;
}
#twitch-ds-section .twitch-ds-page {
	max-width: 52rem;
	margin: 0 auto;
	padding: 0 1rem;
	text-align: left;
}
#twitch-ds-section .twitch-ds-back {
	margin: 0 0 1.5rem 0;
	font-size: 0.95em;
}
#twitch-ds-section .twitch-ds-back a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}
#twitch-ds-section .twitch-ds-back a:hover {
	color: var(--pink-accent);
}
#twitch-ds-section .project-block {
	max-width: 40rem;
	margin-left: 0;
	margin-right: 0;
}
#twitch-ds-section .twitch-ds-links {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(139, 92, 246, 0.15);
}
#twitch-ds-section .twitch-ds-links__heading {
	font-family: var(--font-primary);
	font-size: 1.25em;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0 0 0.35rem 0;
}
#twitch-ds-section .twitch-ds-links__intro {
	font-size: 0.95em;
	color: var(--text-secondary);
	margin: 0 0 1.5rem 0;
	line-height: 1.5;
}
#twitch-ds-section .twitch-ds-group {
	margin-bottom: 2rem;
}
#twitch-ds-section .twitch-ds-group:last-child {
	margin-bottom: 0;
}
#twitch-ds-section .twitch-ds-group__title {
	font-family: var(--font-primary);
	font-size: 1.05em;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0 0 0.25rem 0;
}
#twitch-ds-section .twitch-ds-group__desc {
	font-size: 0.9em;
	color: var(--text-secondary);
	margin: 0 0 0.6rem 0;
	line-height: 1.5;
}
#twitch-ds-section .twitch-ds-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
#twitch-ds-section .twitch-ds-links-list li {
	margin-bottom: 0.5rem;
	padding-left: 0;
}
#twitch-ds-section .twitch-ds-links-list li:last-child {
	margin-bottom: 0;
}
#twitch-ds-section .twitch-ds-links-list a {
	color: var(--text-primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}
#twitch-ds-section .twitch-ds-links-list a:hover {
	color: var(--pink-accent);
	border-bottom-color: var(--pink-accent);
}
#twitch-ds-section .twitch-ds-meta {
	display: inline;
	font-size: 0.88em;
	color: var(--text-secondary);
}

.project-title {
	font-family: var(--font-primary);
	font-size: 1.35em;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 0.2rem 0;
}

.project-tagline {
	font-family: var(--font-primary);
	font-size: 0.9em;
	color: var(--text-secondary);
	margin: 0;
}

.project-desc {
	font-family: var(--font-primary);
	font-size: 1em;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0 0 1rem 0;
}

.project-details {
	font-family: var(--font-primary);
	font-size: 0.9em;
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0 0 1.25rem 0;
	padding-left: 1.25rem;
}

.project-details li {
	margin-bottom: 0.25rem;
}

.project-points {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
	font-family: var(--font-primary);
	font-size: 0.95em;
	color: var(--text-secondary);
	line-height: 1.65;
}

.project-points li {
	margin-bottom: 0.6rem;
	padding-left: 0;
}

.project-points li strong {
	color: var(--text-primary);
	font-weight: 600;
}

.project-cta,
.goetia-dark .project-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 22px !important;
	line-height: 1.25;
	font-family: 'Zain', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #fff !important;
	background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
	border: none;
	border-radius: 8px;
	text-decoration: none !important;
	transition: var(--transition);
	cursor: pointer;
	box-sizing: border-box;
}

.project-cta:hover,
.project-cta:focus,
.goetia-dark .project-cta:hover,
.goetia-dark .project-cta:focus {
	color: #fff !important;
	text-decoration: none !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

.project-cta:visited,
.goetia-dark .project-cta:visited {
	color: #fff !important;
	text-decoration: none !important;
}

.project-cta:visited:hover,
.project-cta:visited:focus,
.goetia-dark .project-cta:visited:hover,
.goetia-dark .project-cta:visited:focus {
	color: #fff !important;
	text-decoration: none !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

.project-cta:active {
	transform: translateY(0);
}

/* Secondary CTA: outline style, sits next to primary */
.project-cta--secondary,
.goetia-dark .project-cta--secondary {
	color: var(--purple-primary) !important;
	background: transparent !important;
	border: 2px solid var(--purple-primary);
	box-shadow: none;
}

.project-cta--secondary:hover,
.project-cta--secondary:focus,
.goetia-dark .project-cta--secondary:hover,
.goetia-dark .project-cta--secondary:focus {
	color: #fff !important;
	background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%) !important;
	border-color: transparent;
	box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

.project-cta--secondary:visited,
.goetia-dark .project-cta--secondary:visited {
	color: var(--purple-primary) !important;
	background: transparent !important;
}

.project-cta--secondary:visited:hover,
.project-cta--secondary:visited:focus,
.goetia-dark .project-cta--secondary:visited:hover,
.goetia-dark .project-cta--secondary:visited:focus {
	color: #fff !important;
	background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%) !important;
	border-color: transparent;
}

.project-thumbnails {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.project-thumbnails__label {
	display: block;
	font-family: var(--font-primary);
	font-size: 0.9em;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
}

.project-thumbnails__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.project-thumbnail {
	display: block;
	flex: 0 0 auto;
	width: 120px;
	height: 68px;
	border-radius: var(--border-radius-sm);
	overflow: hidden;
	border: 1px solid rgba(139, 92, 246, 0.25);
	transition: var(--transition);
}

.project-thumbnail:hover {
	border-color: var(--pink-accent);
	box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
}

.project-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.image-component {
	display: block;
	line-height: 0;
	max-width: 100%;
	position: relative;
}

.image-component > .frame {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	vertical-align: top;
	width: 100%;
}

.image-component > .frame > img {
	border-radius: 0 !important;
	max-width: 100%;
	vertical-align: top;
	width: inherit;
}

.image-component.full > .frame {
	display: block;
}

.image-component.full:first-child > .frame {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.image-component.full:last-child > .frame {
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.image-component.instance-1:not(:first-child) {
	margin-top: 1.875rem !important;
}

.image-component.instance-1:not(:last-child) {
	margin-bottom: 1.875rem !important;
}

.image-component.instance-1 > .frame {
	width: 40.25rem;
	border-radius: 1rem;
	transition: none;
}

.goetia-dark .image-component.instance-1 > .frame {
	border-radius: var(--border-radius);
	border: 1px solid rgba(139, 92, 246, 0.2);
	box-shadow: var(--card-shadow);
}

.image-component.instance-1 > .frame > img {
	transition: none;
}

.text-component {
	direction: var(--site-language-direction);
	position: relative;
}

.text-component span.p {
	display: block;
	position: relative;
}

.text-component span[style], .text-component strong, .text-component a, .text-component code, .text-component mark, .text-component spoiler-text {
	-webkit-text-fill-color: currentcolor;
}

.text-component.style-3 {
	color: #FFFFFF;
	font-family: 'Beth Ellen', cursive;
	letter-spacing: 0.4rem;
	width: calc(100% + 0.4rem);
	font-size: 1.75em;
	line-height: 1.25;
	font-weight: 400;
}

.goetia-dark .text-component.style-3 {
	color: var(--text-primary);
}

/* GoetiaAI-style name (home section): first part + second part with outline styling */
#home-section .goetia-style-name {
	font-family: 'Aclonica', sans-serif !important;
	font-weight: 400 !important;
	font-size: 3.5em !important;
	letter-spacing: 0.05em;
}
#home-section .goetia-style-name .name-goetia {
	color: #FFFFFF !important;
	text-shadow: 2px 0 0 #000,
	             -2px 0 0 #000,
	             0 2px 0 #000,
	             0 -2px 0 #000,
	             1.4px 1.4px 0 #000,
	             -1.4px -1.4px 0 #000,
	             1.4px -1.4px 0 #000,
	             -1.4px 1.4px 0 #000;
}
#home-section .goetia-style-name .name-ai {
	color: #F4D3EE !important;
	text-shadow: -2px -2px 0 #4C1D95,
	             2px -2px 0 #4C1D95,
	             -2px 2px 0 #4C1D95,
	             2px 2px 0 #4C1D95,
	             0 4px 20px rgba(139, 92, 246, 0.4);
}

.text-component.style-3 a {
	text-decoration: underline;
}

.text-component.style-3 a:hover {
	text-decoration: none;
}

.text-component.style-3 span.p:nth-child(n + 2) {
	margin-top: 1rem;
}

.text-component.instance-4 {
	text-transform: uppercase;
	color: #FFFFFF;
	font-family: 'Asap', sans-serif;
	letter-spacing: 0.225rem;
	width: calc(100% + 0.225rem);
	font-size: 0.75em;
	line-height: 1.5;
	font-weight: 400;
}

.goetia-dark .text-component.instance-4 {
	color: var(--text-secondary);
	font-family: var(--font-primary);
}

.text-component.instance-4 a {
	text-decoration: underline;
}

.text-component.instance-4 a:hover {
	text-decoration: none;
}

.text-component.instance-4 span.p:nth-child(n + 2) {
	margin-top: 1rem;
}

.text-component.style-4 {
	text-transform: uppercase;
	color: #FFFFFF;
	font-family: 'Asap', sans-serif;
	letter-spacing: 0.45rem;
	width: calc(100% + 0.45rem);
	font-size: 1.375em;
	line-height: 1.5;
	font-weight: 400;
}

.goetia-dark .text-component.style-4 {
	color: var(--text-primary);
	font-family: var(--font-primary);
	font-weight: 700;
}

.text-component.style-4 a {
	text-decoration: underline;
}

.text-component.style-4 a:hover {
	text-decoration: none;
}

.text-component.style-4 span.p:nth-child(n + 2) {
	margin-top: 1rem;
}

.text-component.style-1 {
	text-align: left;
	color: #ABABAB;
	font-family: 'Tahoma', sans-serif;
	letter-spacing: 0.025rem;
	width: calc(100% + 0.025rem);
	font-size: 1em;
	line-height: 1.75;
	font-weight: 400;
}

.text-component.style-1 a {
	color: #FFFFFF;
	text-decoration: underline;
}

.text-component.style-1 a:hover {
	color: #B069D1;
}

.goetia-dark .text-component.style-1 {
	color: var(--text-secondary);
	font-family: var(--font-primary);
}

.goetia-dark .text-component.style-1 a {
	color: var(--pink-accent);
}

.goetia-dark .text-component.style-1 a:hover {
	color: var(--purple-hover);
}

.text-component.style-1 span.p:nth-child(n + 2) {
	margin-top: 1rem;
}

.text-component.instance-2 {
	color: #FFFFFF;
	font-family: 'Asap', sans-serif;
	letter-spacing: 0.025rem;
	width: calc(100% + 0.025rem);
	font-size: 1em;
	line-height: 1.875;
	font-weight: 400;
}

.text-component.instance-2 a:hover {
	color: #B069D1;
}

.text-component.instance-2 a {
	text-decoration: underline;
}

.goetia-dark .text-component.instance-2 {
	color: var(--text-primary);
	font-family: var(--font-primary);
}

.goetia-dark .text-component.instance-2 a:hover {
	color: var(--purple-hover);
}

.text-component.instance-2 span.p:nth-child(n + 2) {
	margin-top: 1rem;
}

.container-component {
	position: relative;
}

.container-component > .wrapper {
	vertical-align: top;
	position: relative;
	max-width: 100%;
	border-radius: inherit;
}

.container-component > .wrapper > .inner {
	vertical-align: top;
	position: relative;
	max-width: 100%;
	border-radius: inherit;
	text-align: var(--alignment);
}

.container-component.full:first-child > .wrapper {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.container-component.full:last-child > .wrapper {
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.container-component.full:first-child > .wrapper > .inner {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.container-component.full:last-child > .wrapper > .inner {
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.container-component.style-2 > .wrapper {
	display: inline-block;
	width: 40rem;
	background-color: transparent;
}

.goetia-dark .container-component.style-2 > .wrapper,
.goetia-dark .container-component.style-1 > .wrapper {
	background: var(--card-bg);
	border-radius: var(--border-radius);
	box-shadow: var(--card-shadow);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(139, 92, 246, 0.15);
}

.container-component.style-2 > .wrapper > .inner {
	--gutters: calc(var(--padding-horizontal) * 2);
	--padding-vertical: 1.75rem;
	--spacing: 1rem;
	padding: var(--padding-vertical) var(--padding-horizontal);
}

.container-component.style-2.default > .wrapper > .inner > * {
	margin-bottom: var(--spacing);
	margin-top: var(--spacing);
}

.container-component.style-2.default > .wrapper > .inner > *:first-child {
	margin-top: 0 !important;
}

.container-component.style-2.default > .wrapper > .inner > *:last-child {
	margin-bottom: 0 !important;
}

.container-component.style-2.columns > .wrapper > .inner {
	flex-wrap: wrap;
	display: flex;
	align-items: flex-start;
}

.container-component.style-2.columns > .wrapper > .inner > * {
	flex-grow: 0;
	flex-shrink: 0;
	max-width: 100%;
	text-align: var(--alignment);
	padding: 0 0 0 var(--gutters);
}

.container-component.style-2.columns > .wrapper > .inner > * > * {
	margin-bottom: var(--spacing);
	margin-top: var(--spacing);
}

.container-component.style-2.columns > .wrapper > .inner > * > *:first-child {
	margin-top: 0 !important;
}

.container-component.style-2.columns > .wrapper > .inner > * > *:last-child {
	margin-bottom: 0 !important;
}

.container-component.style-2.columns > .wrapper > .inner > *:first-child {
	margin-left: calc(var(--gutters) * -1);
}

.container-component.style-2.default > .wrapper > .inner > .full {
	margin-left: calc(var(--padding-horizontal) * -1);
	max-width: none !important;
	width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
}

.container-component.style-2.default > .wrapper > .inner > .full:first-child {
	margin-top: calc(var(--padding-vertical) * -1) !important;
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.container-component.style-2.default > .wrapper > .inner > .full:last-child {
	margin-bottom: calc(var(--padding-vertical) * -1) !important;
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.container-component.style-2.columns > .wrapper > .inner > div > .full {
	margin-left: calc(var(--gutters) * -0.5);
	max-width: none !important;
	width: calc(100% + var(--gutters) + 0.4725px);
}

.container-component.style-2.columns > .wrapper > .inner > div:first-child > .full {
	margin-left: calc(var(--padding-horizontal) * -1);
	width: calc(100% + var(--padding-horizontal) + calc(var(--gutters) * 0.5) + 0.4725px);
}

.container-component.style-2.columns > .wrapper > .inner > div:last-child > .full {
	width: calc(100% + var(--padding-horizontal) + calc(var(--gutters) * 0.5) + 0.4725px);
}

.container-component.style-2.columns > .wrapper > .inner > div > .full:first-child {
	margin-top: calc(var(--padding-vertical) * -1) !important;
}

.container-component.style-2.columns > .wrapper > .inner > div > .full:last-child {
	margin-bottom: calc(var(--padding-vertical) * -1) !important;
}

.container-component.style-2.columns > .wrapper > .inner > div:first-child, .container-component.style-2.columns > .wrapper > .inner > div:first-child > .full:first-child {
	border-top-left-radius: inherit;
}

.container-component.style-2.columns > .wrapper > .inner > div:last-child, .container-component.style-2.columns > .wrapper > .inner > div:last-child > .full:first-child {
	border-top-right-radius: inherit;
}

.container-component.style-2.columns > .wrapper > .inner > .full {
	align-self: stretch;
}

.container-component.style-2.columns > .wrapper > .inner > .full:first-child {
	border-bottom-left-radius: inherit;
	border-top-left-radius: inherit;
}

.container-component.style-2.columns > .wrapper > .inner > .full:last-child {
	border-bottom-right-radius: inherit;
	border-top-right-radius: inherit;
}

.container-component.style-2.columns > .wrapper > .inner > .full > .full:first-child:last-child {
	border-radius: inherit;
	height: calc(100% + (var(--padding-vertical) * 2));
}

.container-component.style-2.columns > .wrapper > .inner > .full > .full:first-child:last-child > * {
	border-radius: inherit;
	height: 100%;
	position: absolute;
	width: 100%;
}

.container-component.style-1 > .wrapper {
	display: inline-block;
	width: 59rem;
	background-color: transparent;
}

.container-component.style-1 > .wrapper > .inner {
	--gutters: calc(var(--padding-horizontal) * 2);
	--padding-vertical: 1.75rem;
	--spacing: 1rem;
	padding: var(--padding-vertical) var(--padding-horizontal);
}

.container-component.style-1.default > .wrapper > .inner > * {
	margin-bottom: var(--spacing);
	margin-top: var(--spacing);
}

.container-component.style-1.default > .wrapper > .inner > *:first-child {
	margin-top: 0 !important;
}

.container-component.style-1.default > .wrapper > .inner > *:last-child {
	margin-bottom: 0 !important;
}

.container-component.style-1.columns > .wrapper > .inner {
	flex-wrap: wrap;
	display: flex;
	align-items: flex-start;
}

.container-component.style-1.columns > .wrapper > .inner > * {
	flex-grow: 0;
	flex-shrink: 0;
	max-width: 100%;
	text-align: var(--alignment);
	padding: 0 0 0 var(--gutters);
}

.container-component.style-1.columns > .wrapper > .inner > * > * {
	margin-bottom: var(--spacing);
	margin-top: var(--spacing);
}

.container-component.style-1.columns > .wrapper > .inner > * > *:first-child {
	margin-top: 0 !important;
}

.container-component.style-1.columns > .wrapper > .inner > * > *:last-child {
	margin-bottom: 0 !important;
}

.container-component.style-1.columns > .wrapper > .inner > *:first-child {
	margin-left: calc(var(--gutters) * -1);
}

.container-component.style-1.default > .wrapper > .inner > .full {
	margin-left: calc(var(--padding-horizontal) * -1);
	max-width: none !important;
	width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
}

.container-component.style-1.default > .wrapper > .inner > .full:first-child {
	margin-top: calc(var(--padding-vertical) * -1) !important;
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.container-component.style-1.default > .wrapper > .inner > .full:last-child {
	margin-bottom: calc(var(--padding-vertical) * -1) !important;
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.container-component.style-1.columns > .wrapper > .inner > div > .full {
	margin-left: calc(var(--gutters) * -0.5);
	max-width: none !important;
	width: calc(100% + var(--gutters) + 0.4725px);
}

.container-component.style-1.columns > .wrapper > .inner > div:first-child > .full {
	margin-left: calc(var(--padding-horizontal) * -1);
	width: calc(100% + var(--padding-horizontal) + calc(var(--gutters) * 0.5) + 0.4725px);
}

.container-component.style-1.columns > .wrapper > .inner > div:last-child > .full {
	width: calc(100% + var(--padding-horizontal) + calc(var(--gutters) * 0.5) + 0.4725px);
}

.container-component.style-1.columns > .wrapper > .inner > div > .full:first-child {
	margin-top: calc(var(--padding-vertical) * -1) !important;
}

.container-component.style-1.columns > .wrapper > .inner > div > .full:last-child {
	margin-bottom: calc(var(--padding-vertical) * -1) !important;
}

.container-component.style-1.columns > .wrapper > .inner > div:first-child, .container-component.style-1.columns > .wrapper > .inner > div:first-child > .full:first-child {
	border-top-left-radius: inherit;
}

.container-component.style-1.columns > .wrapper > .inner > div:last-child, .container-component.style-1.columns > .wrapper > .inner > div:last-child > .full:first-child {
	border-top-right-radius: inherit;
}

.container-component.style-1.columns > .wrapper > .inner > .full {
	align-self: stretch;
}

.container-component.style-1.columns > .wrapper > .inner > .full:first-child {
	border-bottom-left-radius: inherit;
	border-top-left-radius: inherit;
}

.container-component.style-1.columns > .wrapper > .inner > .full:last-child {
	border-bottom-right-radius: inherit;
	border-top-right-radius: inherit;
}

.container-component.style-1.columns > .wrapper > .inner > .full > .full:first-child:last-child {
	border-radius: inherit;
	height: calc(100% + (var(--padding-vertical) * 2));
}

.container-component.style-1.columns > .wrapper > .inner > .full > .full:first-child:last-child > * {
	border-radius: inherit;
	height: 100%;
	position: absolute;
	width: 100%;
}

.container-component.instance-1 > .wrapper > .inner > :nth-child(1) {
	width: calc(50% + (var(--gutters) / 2));
}

.container-component.instance-1 > .wrapper > .inner > :nth-child(2) {
	width: calc(50% + (var(--gutters) / 2));
}

.icons-component {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--flex-alignment);
	letter-spacing: 0;
	padding: 0;
}

.icons-component > li {
	position: relative;
	z-index: 1;
}

.icons-component > li > a {
	align-items: center;
	display: flex;
	justify-content: center;
}

.icons-component > li > a > svg {
	display: block;
	pointer-events: none;
	position: relative;
}

.icons-component > li > a + svg {
	display: block;
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}

.icons-component > li > a > .label {
	display: none;
}

.icons-component.instance-1 {
	font-size: 1.25em;
	gap: 0.75rem;
}

.icons-component.instance-1:not(:first-child) {
	margin-top: 1.5rem !important;
}

.icons-component.instance-1:not(:last-child) {
	margin-bottom: 1.5rem !important;
}

.icons-component.instance-1 > li > a {
	border-radius: 100%;
	height: 2em;
	width: 2em;
	border: solid 1px #CCCCCC;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.icons-component.instance-1 > li > a > svg,
.icons-component.instance-1 > li > a > img {
	height: 60%;
	width: 60%;
	object-fit: contain;
	transition: fill 0.25s ease, filter 0.25s ease;
}

.icons-component.instance-1 > li > a > svg {
	fill: #CCCCCC;
}

.icons-component.instance-1 > li > a:hover {
	border-color: #B069D1 !important;
}

.icons-component.instance-1 > li > a:hover > svg {
	fill: #B069D1 !important;
}

.goetia-dark .icons-component.instance-1 > li > a {
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.4);
	transition: var(--transition);
}

.goetia-dark .icons-component.instance-1 > li > a > svg {
	fill: var(--text-secondary);
}

.goetia-dark .icons-component.instance-1 > li > a > img {
	filter: brightness(0) saturate(100%) invert(78%) sepia(6%) saturate(1200%) hue-rotate(180deg) brightness(92%) contrast(88%);
}

/* Hover and focus: same pink for icons so :visited doesn’t leave them grey/different */
/* Hover/focus via .icon-hover class (set by JS) so visited links get same pink; no :visited in selector */
.goetia-dark .icons-component.instance-1 > li > a.icon-hover {
	border-color: var(--purple-primary) !important;
	background: rgba(139, 92, 246, 0.3);
}

.goetia-dark .icons-component.instance-1 > li > a.icon-hover > svg {
	fill: var(--pink-accent) !important;
}

.goetia-dark .icons-component.instance-1 > li > a.icon-hover > img {
	filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(330deg) brightness(98%) contrast(92%) !important;
}

.icons-component.instance-1 > li > a + svg {
	transition: fill 0.25s ease, stroke 0.25s ease;
}

@media (max-width: 1920px) {
	
}

@media (max-width: 1680px) {
	html {
		font-size: 12pt;
	}
}

@media (max-width: 1280px) {
	html {
		font-size: 12pt;
	}
}

@media (max-width: 1024px) {
	
}

@media (max-width: 980px) {
	html {
		font-size: 11pt;
	}
}

@media (max-width: 736px) {
	html {
		font-size: 10pt;
	}
	
	.featured-work {
		grid-template-columns: 1fr;
		margin-top: 1.75rem;
	}
	
	.project-card {
		padding: 1.25rem 1.5rem;
	}
	
	.site-main > .inner {
		--padding-horizontal: 1rem;
		--padding-vertical: 1.5rem;
		--spacing: 0.25rem;
	}
	
	.site-main > .inner > * > .full {
		margin-left: calc(-1rem);
		max-width: calc(100% + 2rem + 0.4725px);
		width: calc(100% + 2rem + 0.4725px);
	}
	
	.site-main > .inner > * > .full.screen {
		margin-left: -50vw;
	}
	
	.site-main > .inner > header > .full:first-child {
		margin-top: -1.5rem !important;
	}
	
	.site-main > .inner > footer > .full:last-child {
		margin-bottom: -1.5rem !important;
	}
	
	.buttons-component.instance-1 {
		gap: 1.5rem;
	}
	
	.buttons-component.instance-1:not(:first-child) {
		margin-top: 0.5625rem !important;
	}
	
	.buttons-component.instance-1:not(:last-child) {
		margin-bottom: 0.5625rem !important;
	}
	
	.buttons-component.instance-1 > li > a {
		letter-spacing: 0.225rem;
		padding-left: calc(0.225rem + 0.5rem);
		font-size: 0.875em;
	}
	
	.divider-component.instance-1:not(:first-child) {
		margin-top: 0.875rem !important;
	}
	
	.divider-component.instance-1:not(:last-child) {
		margin-bottom: 0.875rem !important;
	}
	
	.divider-component.instance-1::before {
		width: 100rem;
	}
	
	.divider-component.instance-2:not(:first-child) {
		margin-top: 1.25rem !important;
	}
	
	.divider-component.instance-2:not(:last-child) {
		margin-bottom: 1.25rem !important;
	}
	
	.divider-component.instance-2::before {
		width: 2rem;
	}
	
	.divider-component.instance-3:not(:first-child) {
		margin-top: 0.875rem !important;
	}
	
	.divider-component.instance-3:not(:last-child) {
		margin-bottom: 0.875rem !important;
	}
	
	.divider-component.instance-3::before {
		width: 100rem;
	}
	
	#header {
		margin-bottom: 1.5rem !important;
	}
	
	#footer {
		margin-top: 1.5rem !important;
	}
	
	.image-component.instance-1:not(:first-child) {
		margin-top: 1.40625rem !important;
	}
	
	.image-component.instance-1:not(:last-child) {
		margin-bottom: 1.40625rem !important;
	}
	
	.image-component.instance-1 > .frame {
		width: 40.25rem;
	}
	
	.text-component.style-3 {
		letter-spacing: 0.35rem;
		width: calc(100% + 0.35rem);
		font-size: 1.75em;
		line-height: 1.25;
	}
	
	.text-component.instance-4 {
		letter-spacing: 0.196875rem;
		width: calc(100% + 0.196875rem);
		font-size: 0.75em;
		line-height: 1.5;
	}
	
	.text-component.style-4 {
		letter-spacing: 0.39375rem;
		width: calc(100% + 0.39375rem);
		font-size: 1.375em;
		line-height: 1.5;
	}
	
	.text-component.style-1 {
		letter-spacing: 0.021875rem;
		width: calc(100% + 0.021875rem);
		font-size: 1em;
		line-height: 1.75;
	}
	
	.text-component.instance-2 {
		letter-spacing: 0.021875rem;
		width: calc(100% + 0.021875rem);
		font-size: 1em;
		line-height: 1.875;
	}
	
	
	
	.container-component.style-2 > .wrapper > .inner {
		--gutters: calc(var(--padding-vertical) * 2);
		--padding-vertical: 1.75rem;
		--spacing: 1rem;
	}
	
	.container-component.style-2.columns > .wrapper > .inner {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > span {
		height: 0;
		margin-top: calc(var(--gutters) * -1);
		pointer-events: none;
		visibility: hidden;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > *:first-child {
		margin-left: 0 !important;
		padding-top: 0 !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > * {
		padding: calc(var(--gutters) * 0.5) 0 !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > *:last-child {
		padding-bottom: 0 !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div > .full {
		margin-left: calc(var(--padding-horizontal) * -1);
		width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:first-of-type > .full {
		margin-left: calc(var(--padding-horizontal) * -1);
		width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:last-of-type > .full {
		margin-left: calc(var(--padding-horizontal) * -1);
		width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div > .full:first-child {
		margin-top: calc(var(--gutters) * -0.5) !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div > .full:last-child {
		margin-bottom: calc(var(--gutters) * -0.5) !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:first-of-type > .full:first-child {
		margin-top: calc(var(--padding-vertical) * -1) !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:last-of-type > .full:last-child {
		margin-bottom: calc(var(--padding-vertical) * -1) !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:first-of-type, .container-component.style-2.columns > .wrapper > .inner > div:first-of-type > .full:first-child {
		border-top-left-radius: inherit;
		border-top-right-radius: inherit;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:last-of-type, .container-component.style-2.columns > .wrapper > .inner > div:last-of-type > .full:last-child {
		border-bottom-left-radius: inherit;
		border-bottom-right-radius: inherit;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:first-of-type, .container-component.style-2.columns > .wrapper > .inner > div:first-of-type > .full:last-child {
		border-bottom-left-radius: 0 !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > div:last-of-type, .container-component.style-2.columns > .wrapper > .inner > div:last-of-type > .full:first-child {
		border-top-right-radius: 0 !important;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > .full > .full:first-child:last-child {
		height: auto;
	}
	
	.container-component.style-2.columns > .wrapper > .inner > .full > .full:first-child:last-child > * {
		height: auto;
		position: relative;
		width: auto;
	}
	
	
	
	.container-component.style-1 > .wrapper > .inner {
		--gutters: calc(var(--padding-vertical) * 2);
		--padding-vertical: 1.75rem;
		--spacing: 1rem;
	}
	
	.container-component.style-1.columns > .wrapper > .inner {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > span {
		height: 0;
		margin-top: calc(var(--gutters) * -1);
		pointer-events: none;
		visibility: hidden;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > *:first-child {
		margin-left: 0 !important;
		padding-top: 0 !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > * {
		padding: calc(var(--gutters) * 0.5) 0 !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > *:last-child {
		padding-bottom: 0 !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div > .full {
		margin-left: calc(var(--padding-horizontal) * -1);
		width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:first-of-type > .full {
		margin-left: calc(var(--padding-horizontal) * -1);
		width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:last-of-type > .full {
		margin-left: calc(var(--padding-horizontal) * -1);
		width: calc(100% + (var(--padding-horizontal) * 2) + 0.4725px);
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div > .full:first-child {
		margin-top: calc(var(--gutters) * -0.5) !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div > .full:last-child {
		margin-bottom: calc(var(--gutters) * -0.5) !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:first-of-type > .full:first-child {
		margin-top: calc(var(--padding-vertical) * -1) !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:last-of-type > .full:last-child {
		margin-bottom: calc(var(--padding-vertical) * -1) !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:first-of-type, .container-component.style-1.columns > .wrapper > .inner > div:first-of-type > .full:first-child {
		border-top-left-radius: inherit;
		border-top-right-radius: inherit;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:last-of-type, .container-component.style-1.columns > .wrapper > .inner > div:last-of-type > .full:last-child {
		border-bottom-left-radius: inherit;
		border-bottom-right-radius: inherit;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:first-of-type, .container-component.style-1.columns > .wrapper > .inner > div:first-of-type > .full:last-child {
		border-bottom-left-radius: 0 !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > div:last-of-type, .container-component.style-1.columns > .wrapper > .inner > div:last-of-type > .full:first-child {
		border-top-right-radius: 0 !important;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > .full > .full:first-child:last-child {
		height: auto;
	}
	
	.container-component.style-1.columns > .wrapper > .inner > .full > .full:first-child:last-child > * {
		height: auto;
		position: relative;
		width: auto;
	}
	
	.container-component.instance-1 > .wrapper > .inner > :nth-child(1) {
		min-height: 100% !important;
		width: 100% !important;
	}
	
	.container-component.instance-1 > .wrapper > .inner > :nth-child(2) {
		min-height: 100% !important;
		width: 100% !important;
	}
	
	.icons-component.instance-1 {
		font-size: 1.25em;
		gap: 0.75rem;
	}
	
	.icons-component.instance-1:not(:first-child) {
		margin-top: 1.125rem !important;
	}
	
	.icons-component.instance-1:not(:last-child) {
		margin-bottom: 1.125rem !important;
	}
}

@media (max-width: 480px) {
	.site-main > .inner {
		--spacing: 0.21875rem;
	}
	
	.buttons-component.instance-1 > li > a {
		width: 7.75rem;
	}
	
	.container-component.style-2 > .wrapper > .inner {
		--spacing: 0.875rem;
	}
	
	.container-component.style-1 > .wrapper > .inner {
		--spacing: 0.875rem;
	}
}

@media (max-width: 360px) {
	.site-main > .inner {
		--padding-horizontal: 0.75rem;
		--padding-vertical: 1.125rem;
		--spacing: 0.1875rem;
	}
	
	.site-main > .inner > * > .full {
		margin-left: calc(-0.75rem);
		max-width: calc(100% + 1.5rem + 0.4725px);
		width: calc(100% + 1.5rem + 0.4725px);
	}
	
	.site-main > .inner > * > .full.screen {
		margin-left: -50vw;
	}
	
	.site-main > .inner > header > .full:first-child {
		margin-top: -1.125rem !important;
	}
	
	.site-main > .inner > footer > .full:last-child {
		margin-bottom: -1.125rem !important;
	}
	
	.buttons-component.instance-1 {
		gap: 1.125rem;
	}
	
	.text-component.style-3 {
		font-size: 1.5em;
	}
	
	.text-component.instance-4 {
		font-size: 0.75em;
	}
	
	.text-component.style-4 {
		font-size: 1.375em;
	}
	
	.text-component.style-1 {
		font-size: 1em;
	}
	
	.text-component.instance-2 {
		font-size: 1em;
	}
	
	.container-component.style-2 > .wrapper > .inner {
		--gutters: calc(var(--padding-vertical) * 2);
		--padding-vertical: 1.3125rem;
		--spacing: 0.75rem;
	}
	
	.container-component.style-1 > .wrapper > .inner {
		--gutters: calc(var(--padding-vertical) * 2);
		--padding-vertical: 1.3125rem;
		--spacing: 0.75rem;
	}
	
	.icons-component.instance-1 {
		gap: 0.5625rem;
	}
}

/* Contact card: background image + two columns (text left, avatar right) */
#contact-section .contact-card {
	position: relative;
	overflow: hidden;
}

#contact-section .contact-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('images/4.png');
	background-size: cover;
	background-position: center;
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
	border-radius: inherit;
}

#contact-section .contact-card .contact-card__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2rem;
	position: relative;
	z-index: 1;
}

#contact-section .contact-card .contact-card__text {
	flex: 1;
	min-width: 0;
}

#contact-section .contact-card .contact-card__text > * {
	margin-top: var(--spacing);
	margin-bottom: var(--spacing);
}

#contact-section .contact-card .contact-card__text > *:first-child {
	margin-top: 0 !important;
}

#contact-section .contact-card .contact-card__text > *:last-child {
	margin-bottom: 0 !important;
}

/* Contact card: name in Home page style (Aclonica, goetia/ai colors) */
#contact-section .contact-card .contact-card__name.goetia-style-name {
	font-family: 'Aclonica', sans-serif !important;
	font-weight: 400 !important;
	font-size: 2.25em !important;
	letter-spacing: 0.05em;
	line-height: 1.2;
	margin-bottom: 0.25rem;
}
#contact-section .contact-card .contact-card__name .name-goetia {
	color: #FFFFFF !important;
	text-shadow: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000,
	             1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
#contact-section .contact-card .contact-card__name .name-ai {
	color: #F4D3EE !important;
	text-shadow: -1.5px -1.5px 0 #4C1D95, 1.5px -1.5px 0 #4C1D95,
	             -1.5px 1.5px 0 #4C1D95, 1.5px 1.5px 0 #4C1D95,
	             0 3px 14px rgba(139, 92, 246, 0.4);
}

#contact-section .contact-card .contact-card__title {
	font-size: 0.7em;
	margin-bottom: 1rem;
}

#contact-section .contact-card .contact-card__detail {
	font-size: 0.95em;
	color: var(--text-secondary);
	margin-bottom: 0.75rem;
}

#contact-section .contact-card .contact-card__links {
	font-size: 0.95em;
}

#contact-section .contact-card .contact-card__links a {
	color: var(--pink-accent);
	text-decoration: none;
}

#contact-section .contact-card .contact-card__links a:hover {
	text-decoration: underline;
}

#contact-section .contact-card .contact-card__sep {
	color: var(--text-muted);
	margin: 0 0.35rem;
	user-select: none;
}

#contact-section .contact-card .contact-card__avatar {
	flex-shrink: 0;
}

#contact-section .contact-card .contact-card__avatar img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
	border-radius: var(--border-radius-sm);
}

@media screen and (max-width: 768px) {
	#contact-section .contact-card .contact-card__inner {
		flex-direction: column;
	}
	#contact-section .contact-card .contact-card__avatar img {
		max-width: 160px;
	}
}

/* ========== BitBuff Case Study Page ========== */
.case-study {
	max-width: 52rem;
	margin: 0 auto;
	padding: 0 1rem 4rem;
	text-align: left;
}

.case-study-back {
	margin: 0 0 4.5rem 0;
	font-size: 0.95em;
}

.case-study-back a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}

.case-study-back a:hover {
	color: var(--pink-accent);
}

.case-study-hero {
	margin-bottom: 1.5rem;
}

/* Ensure visible spacing between the back link and BitBuff heading */
.case-study-back + .case-study-hero {
	padding-top: 1.5rem;
}

.case-study-hero__title {
	font-family: var(--font-primary);
	font-size: 2.25em;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 0.35rem 0;
}

.case-study-hero__subtitle {
	font-family: var(--font-primary);
	font-size: 1.2em;
	color: var(--text-secondary);
	margin: 0;
	line-height: 1.4;
}

/* Match spacing between subtitle and first body paragraph to the back-link/heading gap */
.case-study-hero + .case-study-lead {
	margin-top: 1.5rem;
}

.case-study-lead {
	font-family: var(--font-primary);
	font-size: 1em;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0 0 1rem 0;
}

.case-study-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
	font-family: var(--font-primary);
	font-size: 1em;
	color: var(--text-secondary);
	line-height: 1.65;
}

.case-study-list li {
	margin-bottom: 0.4rem;
	padding-left: 1.25rem;
	position: relative;
}

.case-study-list li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: var(--purple-primary);
}

.case-study-list--ordered {
	list-style: decimal;
}

.case-study-list--ordered li {
	padding-left: 0.5rem;
}

.case-study-list--ordered li::before {
	content: none;
}

.case-study-list--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.case-study-list--inline li {
	padding-left: 0;
	margin-bottom: 0;
}

.case-study-list--inline li::before {
	content: none;
}

.case-study-section {
	margin: 2.5rem 0 0;
}

/* Extra space after an image so the next section is clearly separated (avoids margin collapse) */
/* Ample space between image and next section (matches "My Role" spacing) */
/* Extra space between image and following section heading so they don’t feel tight */
.case-study-image + .case-study-section {
	margin-top: 3.5rem;
}
.case-study-placeholder + .case-study-section {
	margin-top: 3.5rem;
}

.case-study-section__title {
	font-family: var(--font-primary);
	font-size: 1.5em;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 1rem 0;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.case-study-section h3 {
	font-family: var(--font-primary);
	font-size: 1.1em;
	font-weight: 600;
	color: var(--text-primary);
	margin: 1.25rem 0 0.5rem 0;
}

.case-study-section p {
	font-family: var(--font-primary);
	font-size: 1em;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0 0 0.75rem 0;
}

.case-study-section ul {
	margin-bottom: 1rem;
}

.case-study-image {
	margin: 4.5rem 0; /* balanced spacing above and below */
	padding: 0;
	border-radius: var(--border-radius);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.2);
}

.case-study-image__link {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.case-study-image__link:hover {
	opacity: 0.95;
}

.case-study-image__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Natural size: image displays at intrinsic dimensions; wrapper fits image height, spacing via margin */
.case-study-image--natural {
	margin: 4.5rem auto; /* balanced spacing above and below */
	padding: 0;
	display: table; /* wrap to image height so container fits actual image */
}
.case-study-image--natural .case-study-image__img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	vertical-align: top;
}

.case-study-placeholder {
	margin: 2rem 0;
}

.case-study-placeholder__box {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 420px;
	background: rgba(139, 92, 246, 0.08);
	border: 2px dashed rgba(139, 92, 246, 0.35);
	border-radius: var(--border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
}

.case-study-placeholder__box::after {
	content: 'Placeholder';
	font-family: var(--font-primary);
	font-size: 0.9em;
	font-weight: 600;
	color: var(--text-muted);
	letter-spacing: 0.05em;
}

.case-study-placeholder__note {
	font-family: var(--font-primary);
	font-size: 0.9em;
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0.75rem 0 0 0;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.2);
	border-radius: var(--border-radius-sm);
	border-left: 3px solid var(--purple-primary);
}

.case-study-footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(139, 92, 246, 0.15);
	text-align: center;
}

.case-study-footer .project-cta {
	margin-bottom: 1.5rem;
}

.case-study-footer .case-study-back {
	margin-bottom: 0;
}