/* ============================================================
   Angie Aguzar — Portfolio
   Sketchbook / hand-painted aesthetic
   ============================================================ */

/* ----- Theme tokens (default: ink-coral) ----- */
:root {
	--paper: #f3e8d2;
	--paper-2: #ecdfc2;
	--ink: #1a2a5c;
	--ink-soft: #2c3d70;
	--red: #d8332f;
	--yolk: #f3a712;

	--font-sans: "Bricolage Grotesque", system-ui, sans-serif;
	--font-script: "Caveat", cursive;
	--font-serif: "Instrument Serif", serif;
	--font-display: "Gloock", serif;

	--container: 1300px;
	--gutter: 56px;
	--radius: 14px;

	--shadow-card: 6px 6px 0 var(--ink);
	--shadow-button: 4px 4px 0 var(--ink);
}

/* ----- Color schemes ----- */
[data-scheme="ink-coral"] {
	--paper: #f3e8d2;
	--paper-2: #ecdfc2;
	--ink: #1a2a5c;
	--ink-soft: #2c3d70;
	--red: #d8332f;
	--yolk: #f3a712;
}
[data-scheme="forest-clay"] {
	--paper: #efe8d6;
	--paper-2: #e6dec5;
	--ink: #1f3a2a;
	--ink-soft: #3a5a45;
	--red: #c25a2c;
	--yolk: #d9a441;
}
[data-scheme="plum-mustard"] {
	--paper: #f1e4d4;
	--paper-2: #e7d8c0;
	--ink: #3a1f3a;
	--ink-soft: #5a3a5a;
	--red: #b8474a;
	--yolk: #d8a13a;
}
[data-scheme="charcoal-tomato"] {
	--paper: #ede5d3;
	--paper-2: #e2d8c0;
	--ink: #2a2622;
	--ink-soft: #4a4540;
	--red: #d2533a;
	--yolk: #e8a23a;
}
[data-scheme="ocean-peach"] {
	--paper: #f3ead6;
	--paper-2: #e8dcc0;
	--ink: #0f3a4a;
	--ink-soft: #2a5a6a;
	--red: #e8825a;
	--yolk: #f0c46a;
}
[data-scheme="rose-sage"] {
	--paper: #fbf4e8;
	--paper-2: #f4ead8;
	--ink: #5a2a2e;
	--ink-soft: #7a4548;
	--red: #c8525a;
	--yolk: #d99a4a;
}

/* ----- Reset ----- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
img,
svg {
	display: block;
	max-width: 100%;
}
button {
	font: inherit;
	cursor: pointer;
}
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
a {
	color: inherit;
}

/* ----- Body / paper background ----- */
body {
	font-family: var(--font-sans);
	color: var(--ink);
	background: radial-gradient(1100px 700px at 85% -5%, #fefaf0 0%, transparent 60%), radial-gradient(900px 700px at -5% 105%, #f3e9d4 0%, transparent 55%), var(--paper);
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.32 0 0 0 0 0.15 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
	mix-blend-mode: multiply;
	opacity: 0.22;
}
.bg-vignette {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background: radial-gradient(1200px 900px at 50% 40%, transparent 0%, rgba(120, 80, 30, 0.1) 100%);
}

/* ----- Skip link ----- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--paper);
	padding: 10px 16px;
	border-radius: 0 0 8px 0;
	z-index: 200;
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus {
	left: 0;
}

/* ----- Focus visibility ----- */
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
	position: relative;
	z-index: 5;
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px var(--gutter) 0;
}
.brand {
	display: flex;
	align-items: baseline;
	gap: 14px;
	text-decoration: none;
	color: inherit;
}
.brand .logo {
	font-family: var(--font-display);
	font-size: 32px;
	letter-spacing: 0.5px;
}
.brand .logo b {
	color: var(--red);
	font-weight: 400;
}
.brand .stamp {
	font-family: var(--font-script);
	font-weight: 600;
	font-size: 20px;
	color: var(--ink-soft);
	border: 1.5px dashed var(--ink-soft);
	padding: 1px 11px 3px;
	border-radius: 18px;
	transform: rotate(-4deg);
}
.nav-list {
	display: flex;
	gap: 28px;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.02em;
	text-transform: lowercase;
}
.nav-list a {
	text-decoration: none;
	position: relative;
	padding: 6px 8px;
}
.nav-list a::after {
	content: "";
	position: absolute;
	inset: auto -4px 0 -4px;
	height: 8px;
	background: var(--yolk);
	opacity: 0;
	border-radius: 8px 14px 6px 12px / 6px 9px 10px 7px;
	transform: rotate(-1deg) scaleX(0.5);
	transform-origin: left center;
	transition:
		opacity 0.2s,
		transform 0.35s ease;
	z-index: -1;
	mix-blend-mode: multiply;
}
.nav-list a:hover::after,
.nav-list .active a::after {
	opacity: 0.9;
	transform: rotate(-1deg) scaleX(1);
}
.nav-list .active a::after {
	background: var(--red);
	opacity: 0.5;
}
.nav-cta {
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--ink);
	color: var(--paper);
	padding: 11px 18px 12px;
	border-radius: 999px;
	text-decoration: none;
	transform: rotate(-2deg);
	box-shadow: 3px 3px 0 var(--red);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.nav-cta:hover {
	transform: rotate(-2deg) translate(-1px, -1px);
	box-shadow: 5px 5px 0 var(--red);
}

/* ============================================================
   Buttons (shared)
   ============================================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: var(--red);
	color: var(--paper);
	padding: 16px 26px;
	border-radius: 14px 24px 12px 22px / 18px 14px 22px 12px;
	text-decoration: none;
	box-shadow: var(--shadow-button);
	transform: rotate(-1.5deg);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.btn-primary:hover {
	transform: rotate(-1.5deg) translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--ink);
}
.btn-primary-big {
	font-size: 22px;
	padding: 22px 40px;
}
.btn-ghost {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	border-bottom: 2px solid var(--ink);
	padding-bottom: 2px;
}
.btn-ghost::before {
	content: "→ ";
	color: var(--red);
	font-weight: 800;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
	position: relative;
	z-index: 4;
	padding: 30px var(--gutter) 80px;
}
.hero-grid {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	column-gap: 40px;
	align-items: center;
	min-height: 760px;
}
.hero-copy {
	position: relative;
	z-index: 3;
	max-width: 680px;
}
.hero-art {
	position: relative;
	min-height: 760px;
	align-self: center;
}

.eyebrow {
	display: inline-block;
	position: relative;
	font-family: var(--font-script);
	font-weight: 600;
	font-size: 34px;
	color: var(--red);
	margin: 0 0 8px;
	transform: rotate(-3deg);
}
.eyebrow-small {
	font-size: 26px;
	color: var(--ink-soft);
}
.eyebrow-underline {
	display: block;
	height: 7px;
	width: 78%;
	background: var(--yolk);
	margin: -10px 0 0 10px;
	border-radius: 4px 9px 3px 8px / 4px 6px 5px 7px;
	transform: rotate(-1deg);
}

.headline {
	font-weight: 900;
	font-size: clamp(56px, 7.4vw, 118px);
	line-height: 0.92;
	letter-spacing: -0.035em;
	margin: 6px 0 0;
	text-transform: uppercase;
	text-wrap: balance;
}
.headline-row {
	display: flex;
  gap: 16px;
}
.headline-ph {
	color: var(--red);
	position: relative;
}
.headline-ph::after {
	content: "";
	position: absolute;
	inset: auto -6px 0.06em -6px;
	height: 18px;
	background: var(--yolk);
	opacity: 0.4;
	border-radius: 8px 14px 6px 12px / 6px 9px 10px 7px;
	transform: rotate(-1deg);
	z-index: -1;
	mix-blend-mode: multiply;
}
.headline-outline {
	color: transparent;
	-webkit-text-stroke: 2.2px var(--ink);
	position: relative;
	z-index: 2;
}
.headline-swash {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--red);
	-webkit-text-stroke: 0;
	text-transform: none;
	letter-spacing: -0.02em;
	padding-right: 8px;
	display: inline-block;
	transform: translateY(-0.05em) rotate(-3deg);
}

.hero-sub {
	font-weight: 500;
	font-size: 21px;
	line-height: 1.45;
	color: var(--ink-soft);
	max-width: 520px;
	margin: 28px 0 0;
}
.hero-sub b {
	color: var(--red);
	font-weight: 700;
}

.hero-cta-row {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-top: 28px;
	flex-wrap: wrap;
	position: relative;
	z-index: 5;
}

/* ----- Hero floating objects ----- */
.obj {
	position: absolute;
	display: block;
	pointer-events: none;
	opacity: 0;
	transform-origin: center;
	filter: drop-shadow(6px 12px 0 rgba(26, 42, 92, 0.08)) drop-shadow(2px 5px 10px rgba(60, 40, 20, 0.18));
	animation:
		obj-drop 1s cubic-bezier(0.2, 0.8, 0.2, 1.05) var(--obj-delay, 0s) forwards,
		obj-bob var(--bob-dur, 6s) ease-in-out calc(var(--obj-delay, 0s) + 1.2s) infinite;
}
.obj img {
	width: 100%;
	height: auto;
	-webkit-user-drag: none;
}

.obj-tube {
	top: 20%;
	right: 55%;
	width: 340px;
	--rot: -26deg;
	--bob-dur: 6s;
	--obj-delay: 0.3s;
}
.obj-egg {
	top: -30px;
	right: 15%;
	width: 400px;
	--rot: 8deg;
	--bob-dur: 7s;
	--obj-delay: 0.15s;
}
.obj-hotdog {
	top: 25%;
	right: -12%;
	width: 500px;
	--rot: 14deg;
	--bob-dur: 7.5s;
	--obj-delay: 0.55s;
}
.obj-donut {
	top: 54%;
	left: -4%;
	width: 400px;
	--rot: -10deg;
	--bob-dur: 6.5s;
	--obj-delay: 0.4s;
}

@keyframes obj-drop {
	0% {
		opacity: 0;
		transform: translateY(-40px) rotate(var(--rot, 0deg)) scale(0.85);
	}
	60% {
		opacity: 1;
	}
	100% {
		opacity: 1;
		transform: translateY(0) rotate(var(--rot, 0deg)) scale(1);
	}
}
@keyframes obj-bob {
	0%,
	100% {
		transform: translateY(0) rotate(var(--rot, 0deg));
	}
	50% {
		transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 1.5deg));
	}
}

/* ----- Hero doodles, stars, stain ----- */
.doodle {
	position: absolute;
	pointer-events: none;
	opacity: 0;
	animation: fade-in 0.6s ease var(--in-delay, 0s) forwards;
}
.arrow-a {
	top: 6%;
	left: 6%;
	width: 110px;
	color: var(--ink);
	transform: rotate(-12deg);
	--in-delay: 0.95s;
}
.arrow-b {
	bottom: 14%;
	right: 18%;
	width: 100px;
	color: var(--red);
	transform: rotate(160deg);
	--in-delay: 1.1s;
}

.star {
	position: absolute;
	pointer-events: none;
	opacity: 0;
	animation: fade-in 0.5s ease var(--in-delay, 0s) forwards;
}
.star-red {
	top: 4%;
	left: 46%;
	width: 24px;
	color: var(--red);
	--in-delay: 0.95s;
}
.star-ink {
	bottom: 36%;
	left: 42%;
	width: 20px;
	color: var(--ink);
	--in-delay: 1s;
}
.star-yolk {
	top: 42%;
	right: 42%;
	width: 24px;
	color: var(--yolk);
	--in-delay: 1.1s;
}

.stain {
	position: absolute;
	bottom: 0;
	right: 14%;
	width: 240px;

	pointer-events: none;
	opacity: 0;
	color: #8a5a2a;
	mix-blend-mode: multiply;
	animation: fade-in 1s ease 1.2s forwards;
}

@keyframes fade-in {
	to {
		opacity: 1;
	}
}

/* ----- Decorative tape ----- */
.tape {
	position: absolute;
	display: block;
	pointer-events: none;
	opacity: 0;
	border-radius: 6px;
	mix-blend-mode: multiply;
	filter: blur(0.3px);
	background-image: linear-gradient(45deg, rgba(58, 166, 185, 0.5) 25%, transparent 25%, transparent 75%, rgba(58, 166, 185, 0.5) 75%), linear-gradient(45deg, rgba(58, 166, 185, 0.5) 25%, transparent 25%, transparent 75%, rgba(58, 166, 185, 0.5) 75%);
	background-size: 18px 18px;
	background-position:
		0 0,
		9px 9px;
	z-index: 0;
	animation: fade-in 0.6s ease 0.1s forwards;
}
.tape-1 {
	top: -2%;
	right: 2%;
	width: 240px;
	height: 240px;
	transform: rotate(-4deg);
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
	position: relative;
	z-index: 4;
	overflow: hidden;
	background: var(--paper-2);
	border-top: 2px dashed rgba(26, 42, 92, 0.3);
	border-bottom: 2px dashed rgba(26, 42, 92, 0.3);
	padding: 18px 0;
}
.marquee-track {
	display: flex;
	width: max-content;
	gap: 48px;
	white-space: nowrap;
	font-weight: 900;
	font-size: 36px;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--ink);
	animation: marquee-scroll 38s linear infinite;
}
.marquee-group {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding-right: 24px;
}
.marquee-dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--red);
}
.marquee-group em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--red);
	text-transform: none;
}
@keyframes marquee-scroll {
	to {
		transform: translateX(-33.333%);
	}
}

/* ============================================================
   Section title (shared)
   ============================================================ */
.section-title {
	font-weight: 900;
	font-size: clamp(56px, 8vw, 120px);
	line-height: 0.88;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0;
	text-transform: uppercase;
}
.section-it {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--red);
	text-transform: none;
	letter-spacing: -0.02em;
}
.section-amp {
	color: var(--red);
}

/* ============================================================
   About
   ============================================================ */
.about {
	position: relative;
	z-index: 4;
	padding: 120px var(--gutter) 80px;
}
.about-grid {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 80px;
	align-items: start;
}
.about-arrow {
	display: block;
	width: 200px;
	height: 80px;
	margin-top: 30px;
	color: var(--red);
	opacity: 0.6;
	transform: rotate(2deg);
}
.about-lede {
	font-weight: 500;
	font-size: 22px;
	line-height: 1.45;
	color: var(--ink);
	max-width: 600px;
	margin: 0 0 22px;
}
.about-lede b {
	color: var(--red);
	font-weight: 700;
	background: linear-gradient(transparent 60%, rgba(243, 167, 18, 0.45) 60%);
}
.about-script {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 560px;
	margin: 0 0 28px;
}
.facts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 24px;
}
.facts li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 500;
	font-size: 16px;
	color: var(--ink);
}
.kbd {
	display: inline-block;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.05em;
	background: var(--ink);
	color: var(--paper);
	padding: 6px 10px;
	border-radius: 6px;
	transform: rotate(-2deg);
}

/* ============================================================
   Work
   ============================================================ */
.work {
	position: relative;
	z-index: 4;
	padding: 80px var(--gutter) 100px;
}
.work-head {
	max-width: var(--container);
	margin: 0 auto 60px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	flex-wrap: wrap;
}
.work-script {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: var(--ink-soft);
	max-width: 340px;
	margin: 0;
}
.work-grid {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 80px 50px;
}

/* ----- Card ----- */
.card {
	display: block;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: transform 0.25s;
}
.card:hover {
	transform: translateY(-6px) rotate(-0.5deg);
}

.card-frame {
	position: relative;
	display: block;
	background: var(--paper-2);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transform: rotate(var(--card-rot, -1deg));
}
.work-grid li:nth-child(2n) .card-frame {
	--card-rot: 1.2deg;
}
.card-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.4), transparent 50%);
	z-index: 1;
	pointer-events: none;
}
.card-num {
	position: absolute;
	top: 14px;
	left: 18px;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--ink);
	z-index: 2;
}
.card-tag {
	position: absolute;
	top: 18px;
	right: 18px;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--ink);
	color: var(--paper);
	padding: 6px 10px;
	border-radius: 999px;
	z-index: 2;
}
.card-art {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.card-art img {
	max-width: 80%;
	max-height: 80%;
	object-fit: contain;
	filter: drop-shadow(4px 6px 8px rgba(0, 0, 0, 0.2));
}
.bg-black {
	background: linear-gradient(135deg, #000000 0%, #000000 100%);
}
.bg-white {
	background: linear-gradient(135deg, #ffffff 0%, #F5F5F5 100%);
}
.bg-coral {
	background: linear-gradient(135deg, #f4b3a0 0%, #e87a64 100%);
}
.bg-cream {
	background: linear-gradient(135deg, #fbecd2 0%, #e8d5a8 100%);
}
.bg-mint {
	background: linear-gradient(135deg, #bce0c4 0%, #7eb497 100%);
}
.bg-sky {
	background: linear-gradient(135deg, #bfd9e8 0%, #7aa5c4 100%);
}

.card-foot {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-top: 18px;
}
.card-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.card-title {
	margin: 0;
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.card-meta {
	margin: 0;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.card-cta {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--red);
	white-space: nowrap;
	align-self: flex-end;
}
.card-cta::after {
	content: " →";
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
	position: relative;
	z-index: 4;
	padding: 120px var(--gutter) 60px;
}
.contact-inner {
	max-width: var(--container);
	margin: 0 auto;
	text-align: center;
}
.contact-title {
	font-size: clamp(72px, 12vw, 180px);
}
.contact-script {
	font-weight: 400;
	font-size: 20px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 560px;
	margin: 24px auto 40px;
}
.socials {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 36px;
	margin-top: 60px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.socials a {
	text-decoration: none;
	color: var(--ink);
	border-bottom: 2px solid var(--ink);
	padding-bottom: 2px;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.socials a:hover {
	color: var(--red);
	border-bottom-color: var(--red);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
	position: relative;
	z-index: 4;
	max-width: 1400px;
	margin: 40px auto 0;
	padding: 30px var(--gutter) 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-soft);
	border-top: 2px dashed rgba(26, 42, 92, 0.3);
}
.site-footer .heart {
	color: var(--red);
}

/* ============================================================
   Case Study page
   Paste this block between the Footer and Palette switcher
   sections in styles.css
   ============================================================ */
.case-study {
	--cs-prose: 720px;
	--cs-wide: 1100px;
}

.cs-intro {
	max-width: var(--cs-wide);
	margin: 0 auto;
	padding: 40px var(--gutter) 60px;
}
.cs-back {
	display: inline-block;
	margin-bottom: 36px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 2px;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.cs-back:hover {
	color: var(--red);
	border-bottom-color: var(--red);
}
.cs-stove {
	display: inline-block;
	margin-bottom: 20px;
	padding: 6px 12px;
	background: var(--ink);
	color: var(--paper);
	border-radius: 999px;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.cs-title {
	margin: 0 0 16px;
	font-weight: 900;
	font-size: clamp(56px, 9vw, 128px);
	line-height: 0.9;
	letter-spacing: -0.035em;
	color: var(--ink);
	text-transform: uppercase;
	text-wrap: balance;
}
.cs-tagline {
	margin: 0 0 40px;
	max-width: 760px;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.3;
	color: var(--red);
}

/* ----- Project meta dl ----- */
.cs-meta {
	margin: 0;
	padding-top: 28px;
	border-top: 2px dashed rgba(26, 42, 92, 0.25);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 24px 32px;
}
.cs-meta-item {
	margin: 0;
}
.cs-meta-item dt {
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 6px;
}
.cs-meta-item dd {
	margin: 0;
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
}
.cs-meta-item dd a {
	color: var(--red);
	text-decoration: none;
	border-bottom: 1.5px solid var(--red);
}

/* ----- Hero & gallery images ----- */
.cs-hero {
	max-width: var(--cs-wide);
	margin: 0 auto 80px;
	padding: 0 var(--gutter);
}
.cs-hero figcaption,
.cs-gallery figcaption {
	margin-top: 14px;
	font-family: var(--font-script);
	font-size: 20px;
	color: var(--ink-soft);
	text-align: center;
}
.cs-image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
/* .cs-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
	pointer-events: none;
} */
.cs-hero-tall .cs-image {
	aspect-ratio: 16 / 9;
}

/* ----- Placeholder treatment ----- */
.cs-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}
.cs-image-placeholder span {
	position: relative;
	z-index: 1;
	padding: 10px 18px;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
}

/* ----- Body sections ----- */
.cs-section {
	max-width: var(--cs-prose);
	margin: 0 auto 80px;
	padding: 0 var(--gutter);
}
.cs-section-head {
	margin-bottom: 28px;
}
.cs-section-head .section-title {
	font-size: clamp(40px, 6vw, 80px);
	margin-top: 4px;
}
.cs-body p {
	margin: 0 0 18px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink);
}
.cs-body p:last-child {
	margin-bottom: 0;
}
.cs-body .cs-lede {
	font-weight: 500;
	font-size: 22px;
	line-height: 1.5;
}

/* ----- Steps list ----- */
.cs-steps {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 36px 0 0;
	padding: 0;
	counter-reset: step;
}
.cs-steps li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: start;
	padding: 22px;
	background: var(--paper-2);
	border: 1.5px dashed rgba(26, 42, 92, 0.35);
	border-radius: var(--radius);
}
.cs-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--ink);
	color: var(--paper);
	border-radius: 50%;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.04em;
	transform: rotate(-3deg);
}
.cs-steps h3 {
	margin: 4px 0 6px;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink);
}
.cs-steps p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-soft);
}

/* ----- Gallery ----- */
.cs-gallery {
	max-width: var(--cs-wide);
	margin: 0 auto 80px;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.cs-gallery figure {
	margin: 0;
}

/* ----- Pull quote ----- */
.cs-quote {
	max-width: 880px;
	margin: 0 auto 80px;
	padding: 60px var(--gutter);
	text-align: center;
}
.cs-quote p {
	margin: 0 0 20px;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.25;
	color: var(--ink);
	text-wrap: balance;
}
.cs-quote cite {
	font-style: normal;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
}

/* ----- Stats grid ----- */
.cs-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	margin: 36px 0 0;
}
.cs-stats li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px 24px;
	background: var(--paper-2);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	transform: rotate(var(--stat-rot, -0.6deg));
}
.cs-stats li:nth-child(2n) {
	--stat-rot: 0.8deg;
}
.cs-stats li:nth-child(3n) {
	--stat-rot: -0.4deg;
}
.cs-stat-num {
	font-weight: 900;
	font-size: clamp(44px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--red);
}
.cs-stat-label {
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

/* ----- Tools list ----- */
.cs-section-tools .cs-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
}
.cs-tools li {
	padding: 10px 18px;
	background: var(--paper-2);
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--ink);
}

/* ----- Next project ----- */
.cs-next {
	max-width: var(--cs-wide);
	margin: 40px auto 80px;
	padding: 0 var(--gutter);
}
.cs-next-link {
	display: block;
	padding: 60px 48px;
	background: var(--paper-2);
	border: 2px dashed var(--ink);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	transition:
		transform 0.25s,
		box-shadow 0.25s;
}
.cs-next-link:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card);
}
.cs-next-title {
	margin: 8px 0 18px;
	font-weight: 900;
	font-size: clamp(40px, 6vw, 72px);
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--ink);
}
.cs-next-cta {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
}

@media (max-width: 900px) {
	.cs-intro {
		padding-top: 24px;
		padding-bottom: 40px;
	}
	.cs-hero,
	.cs-section,
	.cs-gallery,
	.cs-next {
		margin-bottom: 60px;
	}
	.cs-meta {
		gap: 18px 24px;
	}
	.cs-gallery {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.cs-quote {
		padding: 40px var(--gutter);
	}
	.cs-next-link {
		padding: 36px 28px;
	}
	.cs-stats li {
		transform: none;
	}
}

/* ============================================================
   Palette switcher
   ============================================================ */
.palette-toggle {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99;
	background: var(--ink);
	color: var(--paper);
	border: none;
	padding: 12px 16px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 var(--red);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.palette-toggle:hover {
	transform: translate(-1px, -1px);
	box-shadow: 5px 5px 0 var(--red);
}
.palette-toggle[aria-expanded="true"] {
	display: none;
}

.palette {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 100;
	max-width: 280px;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	padding: 18px 20px 20px;
	box-shadow: var(--shadow-card);
}
.palette[hidden] {
	display: none;
}

.palette-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}
.palette-title {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}
.palette-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: var(--ink);
	padding: 0;
}

.palette-swatches {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}
.swatch {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px;
	border: 1.5px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	text-align: left;
	transition:
		transform 0.15s,
		border-color 0.15s;
}
.swatch:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 0, 0, 0.4);
}
.swatch[aria-pressed="true"] {
	border-width: 2.5px;
	border-color: var(--ink);
}
.swatch-dots {
	display: flex;
	gap: 3px;
}
.swatch-dots i {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}
.swatch-name {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #1a1a1a;
}

/* ----- Per-scheme swatch colors (preview backgrounds + dots) ----- */
.swatch[data-scheme="ink-coral"] {
	background: #f3e8d2;
}
.swatch[data-scheme="forest-clay"] {
	background: #efe8d6;
}
.swatch[data-scheme="plum-mustard"] {
	background: #f1e4d4;
}
.swatch[data-scheme="charcoal-tomato"] {
	background: #ede5d3;
}
.swatch[data-scheme="ocean-peach"] {
	background: #f3ead6;
}
.swatch[data-scheme="rose-sage"] {
	background: #f3ead6;
}

.swatch[data-scheme="ink-coral"] .swatch-dots i:nth-child(1) {
	background: #1a2a5c;
}
.swatch[data-scheme="ink-coral"] .swatch-dots i:nth-child(2) {
	background: #d8332f;
}
.swatch[data-scheme="ink-coral"] .swatch-dots i:nth-child(3) {
	background: #f3a712;
}
.swatch[data-scheme="forest-clay"] .swatch-dots i:nth-child(1) {
	background: #1f3a2a;
}
.swatch[data-scheme="forest-clay"] .swatch-dots i:nth-child(2) {
	background: #c25a2c;
}
.swatch[data-scheme="forest-clay"] .swatch-dots i:nth-child(3) {
	background: #d9a441;
}
.swatch[data-scheme="plum-mustard"] .swatch-dots i:nth-child(1) {
	background: #3a1f3a;
}
.swatch[data-scheme="plum-mustard"] .swatch-dots i:nth-child(2) {
	background: #b8474a;
}
.swatch[data-scheme="plum-mustard"] .swatch-dots i:nth-child(3) {
	background: #d8a13a;
}
.swatch[data-scheme="charcoal-tomato"] .swatch-dots i:nth-child(1) {
	background: #2a2622;
}
.swatch[data-scheme="charcoal-tomato"] .swatch-dots i:nth-child(2) {
	background: #d2533a;
}
.swatch[data-scheme="charcoal-tomato"] .swatch-dots i:nth-child(3) {
	background: #e8a23a;
}
.swatch[data-scheme="ocean-peach"] .swatch-dots i:nth-child(1) {
	background: #0f3a4a;
}
.swatch[data-scheme="ocean-peach"] .swatch-dots i:nth-child(2) {
	background: #e8825a;
}
.swatch[data-scheme="ocean-peach"] .swatch-dots i:nth-child(3) {
	background: #f0c46a;
}
.swatch[data-scheme="rose-sage"] .swatch-dots i:nth-child(1) {
	background: #5a2a2e;
}
.swatch[data-scheme="rose-sage"] .swatch-dots i:nth-child(2) {
	background: #c8525a;
}
.swatch[data-scheme="rose-sage"] .swatch-dots i:nth-child(3) {
	background: #d99a4a;
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.obj,
	.doodle,
	.star,
	.stain,
	.tape {
		opacity: 1;
	}
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
	:root {
		--gutter: 32px;
	}
	.about-grid {
		gap: 48px;
	}
	.work-grid {
		gap: 60px 32px;
	}
}

@media (max-width: 900px) {
	:root {
		--gutter: 22px;
	}
	.nav {
		padding-top: 18px;
		flex-wrap: wrap;
		gap: 14px;
	}
	.nav-list {
		gap: 18px;
	}

	.hero {
		padding-bottom: 60px;
	}
	.hero-grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.hero-art {
		min-height: 380px;
	}

	.obj-egg {
		top: 0;
		right: 30%;
		width: 140px;
	}
	.obj-donut {
		top: 55%;
		left: 0;
		width: 160px;
	}
	.obj-hotdog {
		top: 30%;
		right: -30px;
		width: 200px;
	}
	.obj-tube {
		top: 15%;
		right: 5%;
		width: 120px;
	}

	.about,
	.work,
	.contact {
		padding-top: 80px;
		padding-bottom: 60px;
	}
	.about-grid,
	.work-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.work-grid {
		gap: 50px 24px;
	}

	.marquee-track {
		font-size: 26px;
	}
}

@media (max-width: 560px) {
	.nav-cta {
		display: none;
	}
	.palette {
		left: 16px;
		right: 16px;
		max-width: none;
	}
	.palette-toggle {
		left: auto;
		right: 16px;
	}
	.site-footer {
		flex-direction: column;
		align-items: flex-start;
	}
}
