:root {
	/* Color Palette */
	--bg-color: #F5F2EB;
	--text-color: #222222;
	--accent-sage: #8ba892;
	--accent-rust: #c07663;
	--accent-slate: #3B4B5B;
	--accent-william: #336666;
	--white: #FCFAF5;

	/* Typography */
	--font-title: 'Oregano', cursive;
	--font-header: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
	font-family: var(--font-body);
	color: var(--text-color);
	line-height: 1.6;

	background: radial-gradient(
		circle at 15% 15%, 
		#FFFFFF 0%, 
		#F5F2EB 40%, 
		#EAE6DF 100%
	);
	background-attachment: fixed;
	min-height: 100vh;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none; 

	background-image: url('/img/background-pattern.png');
	background-repeat: repeat;
	background-size: 150px;
	opacity: 0.4;

	-webkit-mask-image: linear-gradient(to right, 
	black 0%,
	rgba(0,0,0,0.3) 10%,
	rgba(0,0,0,0.2) 30%,
	rgba(0,0,0,0.2) 70%,
	rgba(0,0,0,0.3) 90%,
	black 100%);
    mask-image: linear-gradient(to right, 
	black 0%,
	rgba(0,0,0,0.3) 10%,
	rgba(0,0,0,0.2) 30%,
	rgba(0,0,0,0.2) 70%,
	rgba(0,0,0,0.3) 90%,
	black 100%);
}

main {
	flex: 1;
}

/* --- Shared Page Layout --- */
.page-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem 4rem;
}

.visualizer-container {
	padding-bottom: 0;
}

.page-header {
	text-align: center;
	margin: 3rem auto;
}

.page-title {
	font-family: var(--font-title);
	font-size: 4rem;
	color: var(--accent-slate);
	margin-bottom: 1rem;	
}

.section-title {
	font-family: var(--font-title);
	font-size: 3rem;
	color: var(--accent-slate);
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.page-description {
	color: var(--text-color);
	font-size: 1.1rem;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Header */
.header-container {
	background-color: var(--bg-color);
	border-bottom: 1px solid #E0DCD3;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1100px;
	margin: auto;
	padding: 0.5rem 1rem;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo {
	max-height: 60px;
	width: auto;
	object-fit: contain;
}

.site-title {
	font-family: var(--font-title);
	font-size: 2rem;
	font-weight: 700;
}

.header-nav {
	display: flex;
	gap: 2rem;
}

.header-nav a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 700;
}

.header-nav a.active {
	color: var(--accent-william);
	border-bottom: 3px solid var(--accent-william);
}

.header-right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.social-icons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.social-icons a {
	color: var(--text-color);
	display: flex;
	align-items: center;
	transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
	color: var(--accent-william);
	transform: translateY(-2px);
}

.header-right .btn {
	background-color: var(--accent-rust);
	color: var(--white);
	border: none;
	border-radius: 0.5rem;
	padding: 0.75rem 3rem;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-right .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(200, 106, 83, 0.3);
}

/* Typography */
h1, h2, h3 {
	font-family: var(--font-header);
}

/* --- Visualizer Specific Layout --- */
.visualizer-grid {
	display: grid;
	grid-template-columns: 2.5fr 1fr;
	max-width: 1100px;
	margin: 0 auto;
	gap: 1rem;

	background-color: var(--white);
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
	padding: 1rem;
	margin-bottom: 4rem;
}

.canvas-column {
	align-self: center;
}

.canvas-container {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 4;
	position: relative;
	overflow: hidden;
	background-color: var(--bg-color);
	background-image: url('/img/canvas-bg.jpg');
	background-size: contain;
	border-radius: 8px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
	border: 2px solid var(--accent-william);
}

/* --- Empty State CTA --- */
.empty-state-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(3px);
	z-index: 25;
	text-align: center;
	pointer-events: auto;
	cursor: pointer;
	transition: opacity 0.3s ease, background-color 0.2s ease;
}

.empty-state-overlay:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.empty-state-overlay:hover .upload-icon {
	transform: translateY(-5px);
	color: var(--accent-rust);
}

.empty-state-overlay .upload-icon {
	color: var(--accent-slate);
	margin-bottom: 0.5rem;
	transition: transform 0.2s ease, color 0.2s ease;
}

.empty-state-overlay h3 { 
	color: var(--accent-slate); 
	margin-bottom: 0.2rem; 
}

.empty-state-overlay p { 
	color: var(--text-color);
	font-size: 0.9rem; 
}

/* --- Active Drag State --- */
.canvas-container.drag-active {
	border-color: var(--accent-rust);
}

.canvas-container.drag-active .empty-state-overlay {
	background-color: rgba(255, 255, 255, 0.9);
}

.canvas-container.drag-active .upload-icon {
	transform: translateY(-5px);
	color: var(--accent-rust);
}

#fabricLayer {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 100%;
	height: auto;
	cursor: grab;
	display: none;
	z-index: 5;
}

.hoop-assembly {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 10;
}

.hoop-texture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	pointer-events: none;
}

.hoop-mask {
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: var(--accent-william);

	-webkit-mask-size: contain;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	mask-position: center;
	mask-repeat: no-repeat;
	mix-blend-mode: multiply;

	pointer-events: none;
}

#trueScaleGuide {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 2px dashed var(--accent-rust);
	background-color: rgba(200, 106, 83, 0.1);
	display: none; 
	z-index: 20;
	pointer-events: none;
	transition: width 0.2s ease, height 0.2s ease;
}

.zoom-controls {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--white);
	backdrop-filter: blur(4px);
	border: 1px solid #E0DCD3;
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 1rem;
	z-index: 30;
	width: 60%;
}

.zoom-icon {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--accent-slate);
	cursor: pointer;
	user-select: none;
	transition: color 0.2s;
	width: 20px;
	text-align: center;
}

.zoom-icon:hover {
	color: var(--accent-william);
}

.custom-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	background: #E0DCD3;
}

.custom-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent-slate);
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
	background: var(--accent-william);
	transform: scale(1.1);
}

.custom-slider::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent-slate);
	cursor: pointer;
	border: none;
}

.custom-slider::-moz-range-thumb:hover {
	background: var(--accent-william);
	transform: scale(1.1);
}

/* Right Column: Controls */
.controls-column {
	display: flex;
	justify-content: space-around;
	flex-direction: column;
	gap: 0.5rem;
}

.control-group h3 {
	font-size: 1rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent-slate);
}

/* Buttons & Inputs */
.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	font-family: var(--font-header);
	font-size: 0.9rem;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s;
}

.btn-primary { background-color: var(--accent-slate); color: var(--white); }
.btn-secondary { background-color: transparent; border: 2px solid var(--accent-slate); color: var(--accent-slate); }
.btn-outline { background-color: transparent; border: 2px solid var(--text-color); color: var(--text-color); }
.btn-accent { background-color: var(--accent-rust); color: var(--white); }
.btn-sage { background-color: var(--accent-william); color: var(--white); }
.btn-sage:hover { background-color: #2E5356; }

.btn-large {
	display: block;
	width: 100%;
	padding: 15px;
	font-size: 1.1rem;
}

.btn-small {
	padding: 8px 16px;
	font-size: 0.85rem;
	display: inline-block;
	width: auto;
}

.upload-btn {
	display: inline-block;
}

.full-width {
	width: 100%;
	display: block;
	box-sizing: border-box;
}

.input-white {
	background-color: #FFFFFF;
	border: 1px solid #CCC;
	border-radius: 4px;
	padding: 10px;
	font-family: var(--font-body);
	color: var(--text-color);
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/* --- Pattern Dimensions Layout --- */
.dimension-inputs {
	display: flex;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.dim-group {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.2rem;
}

.dim-group input {
	width: 100%;
}

.dim-label {
	font-size: 0.75rem;
	color: var(--accent-slate);
	letter-spacing: 0.5px;
	margin: auto;
}

.aida-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.scale-btn {
	margin-top: 5px;
}

/* --- PNG Shape Selectors Grid --- */
.shape-selectors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
	gap: 1rem;
	max-height: 220px; 
	overflow-y: auto; 
	padding-right: 0.5rem;
}

.shape-selectors::-webkit-scrollbar { width: 6px; }
.shape-selectors::-webkit-scrollbar-track { background: var(--white); border-radius: 4px; }
.shape-selectors::-webkit-scrollbar-thumb { background: var(--white); border-radius: 4px; }
.shape-selectors::-webkit-scrollbar-thumb:hover { background: var(--accent-slate); }

.btn-shape {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	background-color: var(--white);
	border: 2px solid #E0DCD3;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	color: var(--accent-slate);
}

.shape-icon {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain; 
	margin-bottom: 0.25rem;
	transition: transform 0.2s ease, filter 0.2s ease;
	pointer-events: none; 
}

.shape-label {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	pointer-events: none; 
}

.btn-shape:hover {
	border-color: var(--accent-william);
	background-color: rgba(51, 102, 102, 0.05); 
}

.btn-shape:hover .shape-icon {
	transform: scale(1.15); 
}

.btn-shape.active {
	background-color: var(--accent-william);
	color: var(--white);
	border-color: var(--accent-william);
}

.btn-shape.active .shape-icon {
	filter: brightness(0) invert(1); 
}

/* --- Color Swatches --- */
.color-swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
	gap: 1rem;
	max-height: 220px; 
	overflow-y: auto; 
	padding-right: 0.5rem;
}

.swatch {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	border: 2px solid transparent;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.swatch:hover, .swatch.active {
	border-color: var(--text-color);
}

.divider {
	border: 0;
	height: 2px;
	background-color: #E0DCD3;
}

/* --- Gallery Header --- */
.masonry-grid {
	column-count: 3;
	column-gap: 1.5rem;
}

.gallery-item {
	position: relative;
	margin: 0 0 1.5rem;
	break-inside: avoid;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
	background-color: var(--white);
}

.gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.gallery-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(59, 75, 91, 0.95) 0%, rgba(59, 75, 91, 0.4) 60%, transparent 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.overlay-content {
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
	transform: translateY(0);
}

.overlay-title {
	font-family: var(--font-title);
	color: var(--white);
	font-size: 1.8rem;
	margin-bottom: 0.25rem;
}

.overlay-caption {
	color: #EAE6DF;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	line-height: 1.4;
}

/* --- Collaborations Header --- */
.collab-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2.5rem;
}

.collab-card {
	background-color: var(--white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.collab-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.collab-image-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--bg-color);
}

.collab-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.collab-card:hover .collab-image {
	transform: scale(1.03);
}

.collab-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background-color: var(--accent-rust);
	color: var(--white);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 20px;
	letter-spacing: 0.5px;
}

.collab-content {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.designer-name {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent-william);
	margin-bottom: 0.5rem;
}

.collab-title {
	font-size: 1.5rem;
	color: var(--accent-slate);
	margin-bottom: 1rem;
	line-height: 1.3;
}

.collab-excerpt {
	font-size: 0.95rem;
	color: var(--text-color);
	margin-bottom: 2rem;
	line-height: 1.6;
	flex: 1;
}

/* --- Collaboration Buttons --- */
.collab-ctas {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.collab-ctas .btn {
	margin: 0;
	padding: 12px;
}

/* --- About Page--- */
.about-page-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-top: 2rem;
}

.about-image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.about-content p {
	margin-bottom: 1.2rem;
	font-size: 1.05rem;
	color: var(--text-color);
}

/* --- Hoop Anatomy Z-Pattern Layout --- */
.anatomy-zigzag-section {
	margin-top: 2rem;
	border-top: 1px solid #E0DCD3;
}

.anatomy-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-bottom: 5rem;
}

.anatomy-row:nth-child(even) .anatomy-visual {
	order: 2;
}
.anatomy-row:nth-child(even) .anatomy-text {
	order: 1;
}

.anatomy-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
	display: block;
}

.anatomy-heading {
	font-size: 2rem;
	font-family: var(--font-title);
	color: var(--accent-slate);
	margin-bottom: 1rem;
}

.anatomy-text p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--text-color);
}

/* --- Editorial Blog Feed --- */
.blog-feed {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.blog-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background-color: var(--white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: scale(1.02);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.blog-card-image-wrapper {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
}

.blog-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-card-content {
	padding: 3rem 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.blog-card-title {
	font-size: 1.8rem;
	line-height: 1.3;
	margin-bottom: 1rem;
}

.blog-card-title a {
	color: var(--accent-slate);
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card-title a:hover {
	color: var(--accent-william);
}

.blog-card-excerpt {
	font-size: 1.05rem;
	color: var(--text-color);
	margin-bottom: 2rem;
	line-height: 1.6;
}

.blog-card-ctas {
	margin-top: auto;
	align-self: flex-start;
}

/* --- Single Blog Article Layout --- */
.blog-article {
	max-width: 1100px;
	margin: 0 auto;
}

.blog-hero-image img {
	width: 100%;
	max-height: 512px;
	object-fit: cover;
	border-radius: 1rem;
	margin-bottom: 3rem;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* Styling the raw Markdown output */
.markdown-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-color);
}

.markdown-content h2 {
	font-size: 1.8rem;
	color: var(--accent-slate);
	margin: 2.5rem 0 1rem;
	line-height: 1.3;
}

.markdown-content h3 {
	font-size: 1.4rem;
	color: var(--accent-william);
	margin: 2rem 0 1rem;
}

.markdown-content ul, .markdown-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
}

.markdown-content strong {
	color: var(--accent-slate);
}

.markdown-content a {
	color: var(--accent-rust);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.markdown-content a:hover {
	color: var(--accent-william);
}

.markdown-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 2rem auto;
	display: block;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
.footer-container {
	background-color: var(--bg-color);
	border-top: 1px solid #E0DCD3;
	padding: 0.5rem 1rem;
	margin: 0;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: 1100px;
	margin: auto;
	padding-bottom: 0.5rem;
}

.footer-left {
	justify-self: start;
	margin: 0;
}

.footer-left h3 {
	color: var(--text-color);
	margin: 0;
}

.footer-center {
	justify-self: center;
}

.footer-center p {
	color: var(--accent-william);
	margin: 0;
}

.footer-links {
	justify-self: end;
	display: flex;
	gap: 30px;
}

.footer-links a {
	color: var(--text-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--accent-william);
}

.footer-bottom {
	text-align: center;
	color: #999999;
	font-size: 0.9rem;
	padding: 0.5rem;
	border-top: 1px solid #EEEEEE;
	max-width: 1100px;
	margin: auto;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
	/* Header overrides */
	.header-banner {
		flex-direction: row; 
		flex-wrap: wrap; 
		justify-content: space-between;
		padding: 0.5rem 1rem;
		gap: 0.5rem;
	}

	.logo { max-height: 40px; }
	.site-title { font-size: 1.6rem; }

	.header-nav {
		order: 3; 
		width: 100%;
		justify-content: space-around;
		font-size: 0.9rem;
		gap: 10px;
		padding-top: 0.5rem;
		border-top: 1px solid #E0DCD3;
	}

	.header-right {
		width: auto; 
		flex-direction: row;
	}

	.header-right .btn {
		display: none;
	}

	/* Shared Layout overrides */
	.page-header {
		margin: 2rem auto;
	}

	.page-title {
		font-size: 3rem;
	}

	.section-title {
		font-size: 2.5rem;
	}

	.visualizer-grid {
		display: block;
		padding: 0 0.5rem 0.5rem 0.5rem;
	}

	.canvas-column {
		position: sticky;
		top: 100px;
		z-index: 50;
		background-color: rgba(255, 255, 255, 0.98); 
		padding-bottom: 0.5rem;
		border-bottom: 1px solid #E0DCD3;
		padding-top: 0.5rem;
	}

	.canvas-container {
		max-width: 320px; 
		margin: 0 auto;
	}

	.zoom-controls {
		width: 90%;
		bottom: 0.5rem;
	}

	/* Collaborations overrides */
	.collab-content {
		padding: 1.5rem;
	}

	/* About section overrides */
	.about-page-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	/* About Hoop Anatomy section overrides */
	.anatomy-row {
		grid-template-columns: 1fr;
		gap: 2rem;
		margin-bottom: 4rem;
	}

	.anatomy-row:nth-child(even) .anatomy-visual {
		order: 1;
	}
	.anatomy-row:nth-child(even) .anatomy-text {
		order: 2;
	}

	/* Blog Feed Mobile Overrides */
	.blog-card {
		grid-template-columns: 1fr;
	}

	.blog-card-image-wrapper {
		min-height: 250px;
	}

	.blog-card-content {
		padding: 2rem 1.5rem;
	}

	.blog-card-title {
		font-size: 1.5rem;
	}

	/* Sticky bottom CTA */
	.cta-container {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		background-color: var(--bg-color);
		padding: 1rem;
		box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
		z-index: 1000;
		border-top: 1px solid #E0DCD3;
	}

	.cta-container .btn {
		margin: 0;
		box-shadow: none;
	}

	/* Footer overrides */
	.footer-content {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		text-align: center;
		padding-bottom: 0.5rem;
	}

	.visualizer-container ~ .footer-container .footer-content {
		padding-bottom: 80px;
	}

	.footer-links {
		justify-content: center;
		width: 100%;
		flex-wrap: wrap;
	}
}

@media (max-width: 900px) {
	.masonry-grid {
		column-count: 2;
	}
}

@media (max-width: 600px) {
	.masonry-grid {
		column-count: 1;
	}

	.gallery-overlay {
		opacity: 0; 
		background: linear-gradient(to top, rgba(59, 75, 91, 0.95) 0%, rgba(59, 75, 91, 0.4) 60%, transparent 100%);
	}

	.overlay-content {
		transform: translateY(20px);
	}

	.gallery-item.is-active .gallery-overlay {
		opacity: 1;
	}

	.gallery-item.is-active .overlay-content {
		transform: translateY(0);
	}

	.gallery-item::after {
		content: "•••";
		position: absolute;
		bottom: 10px;
		right: 15px;
		color: rgba(255, 255, 255, 0.7);
		font-size: 1rem;
		letter-spacing: 2px;
		text-shadow: 0 2px 4px rgba(0,0,0,0.5);
		opacity: 1;
		transition: opacity 0.3s ease;
		pointer-events: none;
	}

	.gallery-item.is-active::after {
		opacity: 0;
	}
}