html {
	background-color: transparent;
	height: auto;
	min-height: auto;
	overflow-x: hidden;
}

body {
	height: auto;
	min-height: auto;
	overflow-x: hidden;
}

body, p, h2, .section-col2, .section-col1, header, section, .container {
	font-family: 'Inter', sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
    font-weight: 300;
	background: transparent;
	margin: 0;
	padding: 0;
}

body {
	overflow-x: hidden;
	height: auto;
	min-height: auto;
}

.bold {
    font-weight: 600;
}

.datadog {
    color: #632CA6;
}

.container {
	margin: 0 auto;
	box-sizing: border-box;
	height: auto;
	min-height: auto;
	overflow: hidden;
}

main {
	height: auto;
	min-height: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

header {
	align-items: flex-start;
	background-color: transparent;
	display: flex;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	height: min-content;
	justify-content: center;
	overflow: visible;
	padding: 0 100px 40px;
	position: relative;
}

h1 {
	font-family: 'EB Garamond', serif;
	font-size: 150px;
	line-height: 0.9em;
	text-align: left;
	font-weight: 400;
	margin: 0 0 24px 0;
	position: relative;
	z-index: 1;
}

/* Responsive h1 styles */
@media (max-width: 1200px) {
	h1 {
		font-size: 120px;
	}
	
	h2 {
		font-size: 40px !important;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 80px;
		line-height: 0.95em;
	}
	
	h2 {
		font-size: 36px !important;
		line-height: 1.25em !important;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 60px;
		line-height: 1em;
		margin: 0 0 16px 0;
	}
	
	h2 {
		font-size: 28px !important;
		line-height: 1.3em !important;
	}
}

/* Responsive header and section padding */
@media (max-width: 1200px) {
	header {
		padding: 0 60px 40px;
	}
	
	section {
		padding: 0 60px 40px;
	}
	
	.carousel-container {
		padding: 0 0 80px 60px !important;
	}
}

@media (max-width: 768px) {
	header {
		padding: 0 40px 32px;
	}
	
	section {
		padding: 0 40px 32px;
		gap: 40px;
	}
	
	.carousel-container {
		padding: 0 0 60px 40px !important;
	}
}

@media (max-width: 480px) {
	header {
		padding: 0 20px 24px;
	}
	
	section {
		padding: 0 20px 24px;
		gap: 24px;
	}
	
	.carousel-container {
		padding: 0 0 40px 20px !important;
	}
}

/* Responsive name-title */
@media (max-width: 1200px) {
	.name-title {
		padding: 40px 60px 0 !important;
	}
}

@media (max-width: 768px) {
	.name-title {
		padding: 32px 40px 0 !important;
	}
}

@media (max-width: 480px) {
	.name-title {
		padding: 24px 20px 0 !important;
	}
}

/* Responsive contact links */
@media (max-width: 768px) {
	.contact-links {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 20px;
		align-items: center;
		justify-content: flex-start;
	}
	
	.contact-link {
		font-size: 18px;
		flex-shrink: 0;
	}
	
	.contact-icon {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 480px) {
	.contact-links {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}
	
	.contact-link {
		font-size: 16px;
	}
	
	.contact-icon {
		width: 12px;
		height: 12px;
	}
}

p {
	font-size: 22px;
	line-height: 1.6em;
}

h2 {
	font-size: 48px;
	line-height: 1.2em;
    font-weight: 400;
}

section {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	background-color: transparent;
	gap: 80px;
	padding: 0 100px 40px;
	z-index: 1;
}

.bio-section {
	padding-bottom: 16px !important;
}

.bio-paragraph {
	padding-bottom: 24px !important;
}

.logo {
	height: 40px
}

.name-title {
	padding: 40px 100px 0;
}

.section-col1 {
	flex: 0 0 30%;
	min-width: 200px;
}

.section-col2 {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	justify-content: center;
}

.top {
	gap: 0;
	align-items: center;
}

@media (max-width: 900px) {
	section {
		flex-direction: column;
		gap: 40px;
		padding: 0 16px 40px;
	}
	.section-col1, .section-col2 {
		width: 100%;
		min-width: 0;
	}
}

.space-container {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.space {
	position: relative;
	width: 100%;
	height: 100%;
}

.particle,
.particle::after {
	position: absolute;
	width: 2px;
	height: 2px;
	background: transparent;
}

.particle::after {
	content: '';
	position: absolute;
	top: 2560px;
}

.particle:nth-child(1) {
	animation: particles 60s linear infinite;
}
.particle:nth-child(1), .particle:nth-child(1)::after {
	box-shadow: 0 0 #1A1A1A, 
		1342px 168px rgba(26, 26, 26, 0.4), 
		505px 293px rgba(26, 26, 26, 0.4), 
		873px 347px rgba(26, 26, 26, 0.4);
}
.particle:nth-child(2) {
	animation: particles 120s linear infinite;
}
.particle:nth-child(2), .particle:nth-child(2)::after {
	box-shadow: 0 0 #1A1A1A, 
		408px 312px rgba(26, 26, 26, 0.4), 
		297px 760px rgba(26, 26, 26, 0.4);
}
.particle:nth-child(3) {
	animation: particles 180s linear infinite;
}
.particle:nth-child(3), .particle:nth-child(3)::after {
	box-shadow: 0 0 #1A1A1A, 
		950px 915px rgba(26, 26, 26, 0.4), 
		695px 684px rgba(26, 26, 26, 0.4);
}
.particle:nth-child(4) {
	animation: particles 400s linear infinite;
}
.particle:nth-child(4), .particle:nth-child(4)::after {
	box-shadow: 0 0 #1A1A1A, 
		306px 814px rgba(26, 26, 26, 0.4), 
		198px 221px rgba(26, 26, 26, 0.4);
}

@keyframes particles {
	0% {
		transform: translateY(0px);
	}
	100% {
		transform: translateY(-2560px);
	}
}


.cursor-container {
	position: absolute;
	top: 20px;
	left: calc(100% - 170px);
	z-index: 99999;
	pointer-events: none;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px;
	transition: top 3s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cursor-container.animated {
	will-change: top, left;
}

.header-shape {
	position: absolute;
	top: 0;
	left: 0;
	transform: rotate(-45deg);
}

.cursor-label {
	background-color: #45A329;
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	white-space: nowrap;
	margin: 4px;
}

.inter-regular {
	font-family: 'Inter', sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}
.spotify {
    color: #1ED760;
}

.project44 {
    color: #0072E9;
}

.google {
    color: #4285F4;
}

.ubuntu {
    color: #dd4814;
}

.google-logo {
    font-size: 24px;
    font-weight: 400;
    color: #4285F4;
    font-family: 'Inter', sans-serif;
}

.pill-link {
    display: inline-block;
    background-color: #f8f8f8;
    color: #111;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(17, 17, 17, 0.1);
    width: fit-content;
}

.pill-link:hover {
    background-color: #f0f0f0;
    border-color: rgba(17, 17, 17, 0.2);
    transform: translateY(-1px);
}

.email-link {
    margin-right: 8px;
}

.cv-link {
    margin: 0 8px;
}

.reading-link {
    margin-left: 8px;
}

.case-study-link {
    margin-top: 16px;
    align-self: flex-start;
}

.pill-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
}

.reading-link .pill-icon {
    margin-right: 0;
    margin-left: 8px;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 0 0 80px 100px;
}

/* Remove flex and padding from carousel section */
section:has(.carousel-container) {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: visible;
}

/* Also target the experiments section specifically */
#experiments-content section {
    padding: 0 !important;
    margin: 0 !important;
}

section:has(.carousel-container) .section-col1,
section:has(.carousel-container) .section-col2 {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#experiments-content {
    margin: 0 !important;
    padding: 0 !important;
}

#case-studies-content {
    height: auto;
}

#case-studies-content.hidden {
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Allow carousel to extend beyond container */
.carousel-wrapper {
    overflow-x: visible;
    margin-left: -100px;
    padding-left: 100px;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 auto;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: clamp(500px, 60vw, 700px);
}

.carousel-image {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-screenshot {
    width: 100%;
    height: clamp(350px, 42vw, 470px);
    object-fit: contain;
}

.video-wrapper {
    position: relative;
    width: 100%;
}

.mute-toggle {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.mute-toggle:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-item .carousel-text {
    padding-top: 20px !important;
}

/* Content Toggle Styles */
.content-toggle {
    display: flex;
    background-color: #f8f8f8;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 25px;
    padding: 4px;
    width: fit-content;
    margin-bottom: 40px;
    align-self: flex-start;
}

.toggle-option {
    background: none;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.toggle-option.active {
    background-color: #111;
    color: #fff;
    font-weight: 500;
}

.toggle-option:hover:not(.active) {
    color: #111;
    background-color: rgba(17, 17, 17, 0.05);
}

/* Contact Links Styling */
.contact-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
}

.contact-link {
    color: #111;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.6em;
    font-weight: 300;
    font-family: 'EB Garamond', serif;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-link:hover {
    color: #666;
}

.contact-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Inline link styling for carousel */
.inline-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(17, 17, 17, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
    display: inline;
    align-items: center;
}

.inline-link:hover {
    text-decoration-color: rgba(17, 17, 17, 0.6);
}

.inline-link .arrow-icon {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    display: inline;
}

.carousel-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    font-family: 'Inter', sans-serif;
    text-align: left;
    vertical-align: top;
}


.carousel-content {
    padding: 0;
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel-item:not(.active) .carousel-content {
    color: #666;
}

.content-block {
    margin-bottom: 24px;
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #444;
}

.carousel-item:not(.active) .content-block {
    background-color: #e0e0e0;
    border: 1px solid #d0d0d0;
}

.content-block h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    font-family: 'Inter', sans-serif;
}

.carousel-item:not(.active) .content-block h3 {
    color: #333;
}

.content-block h4 {
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.carousel-item:not(.active) .content-block h4 {
    color: #666;
}

.code-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.method-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.method-tag.put {
    background-color: #9333ea;
    color: #ffffff;
}

.method-tag.post {
    background-color: #dc2626;
    color: #ffffff;
}

.method-tag.get {
    background-color: #059669;
    color: #ffffff;
}

.method-tag.patch {
    background-color: #f59e0b;
    color: #ffffff;
}

.param-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.param-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.param-name {
    color: #ffffff;
    font-weight: 500;
    min-width: 120px;
}

.param-type {
    color: #60a5fa;
    font-weight: 400;
}

.param-required {
    color: #f87171;
    font-size: 12px;
    background-color: #dc262620;
    padding: 2px 6px;
    border-radius: 4px;
}

.param-default {
    color: #9ca3af;
    font-size: 12px;
}

.curl-block, .json-block {
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 16px;
    font-family: 'Inter', monospace;
}

.curl-block code, .json-block code {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.5;
}

.status-codes {
    display: flex;
    gap: 8px;
}

.status-code {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.status-code.success {
    background-color: #059669;
    color: #ffffff;
}

.status-code.error {
    background-color: #dc2626;
    color: #ffffff;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.carousel-btn {
    background-color: #374151;
    border: 1px solid #4b5563;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background-color: #4b5563;
    border-color: #6b7280;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 54px;
    height: 4px;
    border-radius: 2px;
    background-color: #B8B8B8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background-color: #F06293;
}
