/* =========================================================================
   Case — The Best Handy Guys In The Biz (Juan)
   Warm yellow + cream. Friendly, hand-drawn, polaroid + tape vibe.
   Type: Plus Jakarta Sans (body) · Caveat (handwritten) · Archivo Black (display)
   ========================================================================= */

.case--handyguys {
	background: #FFF4D6;
	color: #1B1108;
	font-family: 'Plus Jakarta Sans', sans-serif;
}
.case--handyguys a { color: #1B1108; }

.hg-eyebrow {
	font-family: 'Caveat', cursive;
	font-size: 1.25rem; letter-spacing: .02em;
	color: #B07A00; margin: 0 0 .6em;
	display: inline-block;
	transform: rotate(-1deg);
}
.hg-eyebrow--yellow { color: #F5B400; }

.hg-h2 {
	font-family: 'Archivo Black', sans-serif;
	font-weight: 400;
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	line-height: 1.05;
	letter-spacing: -.02em;
	margin: 0 0 .6em;
	color: #1B1108;
}
.hg-h2--light { color: #FFF4D6; }

.hg-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px;
	font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
	border-radius: 999px; text-decoration: none;
	font-size: .98rem;
	transition: transform .25s var(--ac-ease-out), box-shadow .25s, background .25s;
}
.hg-btn--pri {
	background: #1B1108; color: #FFF4D6;
	box-shadow: 0 8px 24px -8px rgba(0,0,0,.4);
}
.hg-btn--pri:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.hg-btn--ghost { background: transparent; color: #1B1108; border: 2px solid #1B1108; }
.hg-btn--ghost:hover { background: #1B1108; color: #FFF4D6; transform: translateY(-2px); }
.hg-btn--phone {
	background: #1B1108; color: #F5B400;
	font-size: 1.3rem; padding: 18px 32px;
	font-family: 'Archivo Black', sans-serif;
}
.hg-btn--phone:hover { transform: translateY(-2px) rotate(1deg); }

/* ---------- HERO ---------- */
.hg-hero {
	position: relative;
	padding: clamp(70px, 11vw, 150px) 0 clamp(40px, 6vw, 70px);
	overflow: hidden;
	background:
		radial-gradient(50% 60% at 20% 0%, rgba(245,180,0,.18), transparent 60%),
		#FFF4D6;
}
.hg-hero__corkboard {
	position: absolute; inset: 0;
	background-image: radial-gradient(circle at 25% 25%, rgba(139,90,43,.04) 1px, transparent 1px);
	background-size: 8px 8px;
	pointer-events: none;
}
.hg-hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 980px) { .hg-hero__inner { grid-template-columns: 1fr; } }

.hg-title { margin: 0 0 24px; line-height: 1; }
.hg-title__greet {
	display: block;
	font-family: 'Caveat', cursive;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	color: #E5392B; margin-bottom: 14px;
	transform: rotate(-2deg);
}
.hg-title__main {
	display: block;
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(3rem, 9vw, 6rem);
	letter-spacing: -.03em;
	color: #1B1108;
	margin-bottom: 10px;
}
.hg-title__sub {
	display: block;
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.6rem, 3.6vw, 2.6rem);
	letter-spacing: -.01em;
	color: #1B1108;
	line-height: 1.1;
}
.hg-title__sub em {
	font-style: normal;
	color: #F5B400;
	position: relative;
	display: inline-block;
}
.hg-title__sub em::after {
	content: ''; position: absolute; left: -2%; right: -2%; bottom: -2px;
	height: 8px;
	background: #F5B400;
	z-index: -1;
	border-radius: 4px;
	transform: rotate(-1deg) scaleX(0);
	transform-origin: 0 50%;
	animation: hg-underline 1s .8s cubic-bezier(.7,0,.2,1) forwards;
}
@keyframes hg-underline { to { transform: rotate(-1deg) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hg-title__sub em::after { transform: rotate(-1deg) scaleX(1); animation: none; } }

.hg-tagline {
	max-width: 56ch;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	color: #4A3A28;
	line-height: 1.55;
	margin: 0 0 32px;
}
.hg-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- HARD HAT ---------- */
.hg-hat {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	min-height: 360px;
}
.hg-hat__aura {
	position: absolute; inset: 0;
	background: radial-gradient(circle, rgba(245,180,0,.5) 0%, transparent 60%);
	border-radius: 50%;
	filter: blur(20px);
	animation: hg-aura 3s ease-in-out infinite;
}
@keyframes hg-aura { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hg-hat__aura { animation: none; } }

.hg-hat__shadow {
	position: absolute; bottom: 25%; left: 50%; transform: translateX(-50%);
	width: 60%; height: 16px;
	background: radial-gradient(ellipse, rgba(0,0,0,.3) 0%, transparent 70%);
	filter: blur(8px);
	animation: hg-shadow 2.6s ease-in-out infinite;
}
@keyframes hg-shadow { 0%,100% { transform: translateX(-50%) scaleX(1); } 50% { transform: translateX(-50%) scaleX(.85); } }
@media (prefers-reduced-motion: reduce) { .hg-hat__shadow { animation: none; } }

.hg-hat__shell {
	position: relative;
	width: 220px; height: 200px;
	animation: hg-float 2.6s ease-in-out infinite;
	cursor: pointer;
	transition: transform .6s var(--ac-ease-out);
}
.hg-hat__shell:hover { transform: rotate(360deg); }
@keyframes hg-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hg-hat__shell { animation: none; } }

.hg-hat__top {
	position: absolute; top: 0; left: 20%; right: 20%; height: 70%;
	background: radial-gradient(ellipse at 30% 20%, #FFE066 0%, #F5B400 50%, #C98A00 100%);
	border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
	box-shadow:
		inset -10px -20px 30px rgba(0,0,0,.15),
		inset 10px 10px 20px rgba(255,255,255,.4);
}
.hg-hat__brim {
	position: absolute; bottom: 18%; left: 0; right: 0; height: 24px;
	background: linear-gradient(180deg, #F5B400 0%, #B07A00 100%);
	border-radius: 50%;
	box-shadow: 0 4px 8px rgba(0,0,0,.15);
}
.hg-hat__emblem {
	position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
	font-family: 'Archivo Black', sans-serif;
	font-size: .8rem; letter-spacing: .12em;
	color: #1B1108;
}

.hg-hat__sparkle {
	position: absolute;
	font-size: 1.6rem;
	color: #FFE066;
	animation: hg-sparkle 1.8s ease-in-out infinite;
	text-shadow: 0 0 12px rgba(255,224,102,.8);
}
.hg-hat__sparkle--1 { top: 10%; right: 25%; animation-delay: 0s; }
.hg-hat__sparkle--2 { top: 30%; left: 20%; animation-delay: .6s; }
.hg-hat__sparkle--3 { bottom: 35%; right: 18%; animation-delay: 1.2s; }
@keyframes hg-sparkle { 0%,100% { opacity: 0; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .hg-hat__sparkle { animation: none; opacity: 1; } }

/* ---------- POLAROID STRIP ---------- */
.hg-polaroids {
	background: #1B1108;
	padding: 60px 0;
	overflow: hidden;
}
.hg-polaroids__row {
	display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}
.hg-polaroid {
	width: 180px;
	background: #FFFEFA;
	padding: 12px 12px 40px;
	margin: 0;
	box-shadow: 0 10px 24px -6px rgba(0,0,0,.4);
	transform: rotate(var(--rot, 0deg));
	position: relative;
	transition: transform .4s var(--ac-ease-out);
}
.hg-polaroid:hover { transform: rotate(0deg) scale(1.06); z-index: 5; }
.hg-polaroid__photo {
	width: 100%; aspect-ratio: 1;
	background: var(--bg, #F5B400);
	background-image:
		radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent),
		radial-gradient(circle at 70% 70%, rgba(0,0,0,.2), transparent);
}
.hg-polaroid figcaption {
	font-family: 'Caveat', cursive;
	font-size: 1.3rem;
	color: #1B1108;
	text-align: center;
	margin-top: 12px;
}
.hg-tape {
	position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(2deg);
	width: 60px; height: 18px;
	background: rgba(245,180,0,.5);
	border-left: 1px dashed rgba(0,0,0,.1);
	border-right: 1px dashed rgba(0,0,0,.1);
}

/* ---------- SECTIONS ---------- */
.hg-section { padding: clamp(70px, 10vw, 120px) 0; }
.hg-section--cream { background: #FAEFCB; }
.hg-section--navy { background: #14253E; color: #FFF4D6; }

.hg-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
@media (max-width: 880px) { .hg-split { grid-template-columns: 1fr; gap: 20px; } }
.hg-split p { color: #4A3A28; margin: 0 0 1em; line-height: 1.6; max-width: 60ch; }
.hg-split p:last-child { margin-bottom: 0; }
.hg-section--cream .hg-split p { color: #4A3A28; }

/* ---------- SERVICES ---------- */
.hg-services {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
	margin-top: 40px;
}
@media (max-width: 760px) { .hg-services { grid-template-columns: 1fr; } }
.hg-svc {
	background: #FFFEFA;
	border: 2px solid #1B1108;
	border-radius: 16px;
	padding: 28px;
	text-decoration: none; color: #1B1108;
	transition: transform .3s var(--ac-ease-out), background .3s, box-shadow .3s;
	display: block;
}
.hg-svc:hover {
	transform: translate(-2px, -4px);
	background: #F5B400;
	box-shadow: 6px 6px 0 #1B1108;
}
.hg-svc__icon {
	width: 56px; height: 56px;
	background: #F5B400;
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.8rem;
	margin-bottom: 16px;
	transition: background .3s, transform .3s;
}
.hg-svc:hover .hg-svc__icon { background: #E5392B; transform: rotate(-8deg); }
.hg-svc__name {
	font-family: 'Archivo Black', sans-serif;
	font-size: 1.2rem; letter-spacing: -.005em;
	margin-bottom: 4px;
}
.hg-svc__desc {
	color: #4A3A28; font-size: .94rem; line-height: 1.45;
}
.hg-svc:hover .hg-svc__desc { color: #1B1108; }

/* ---------- BLUEPRINT ---------- */
.hg-section--navy {
	background-image:
		linear-gradient(rgba(255,244,214,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,244,214,.04) 1px, transparent 1px);
	background-size: 32px 32px;
}
.hg-blueprint {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	margin-top: 40px; position: relative;
}
@media (max-width: 880px) { .hg-blueprint { grid-template-columns: 1fr; } }
.hg-blueprint::before {
	content: ''; position: absolute;
	top: 30px; left: 50px; right: 50px; height: 2px;
	background-image: linear-gradient(90deg, #F5B400 50%, transparent 50%);
	background-size: 14px 2px;
	z-index: 0;
}
@media (max-width: 880px) { .hg-blueprint::before { display: none; } }

.hg-bp {
	background: rgba(255,244,214,.04);
	border: 1px solid rgba(245,180,0,.3);
	border-radius: 12px;
	padding: 32px 24px;
	position: relative;
	z-index: 1;
}
.hg-bp__num {
	font-family: 'Archivo Black', sans-serif;
	font-size: 1.4rem;
	color: #F5B400; margin-bottom: 12px;
	display: inline-block;
	background: #14253E;
	padding: 2px 12px;
}
.hg-bp__ring {
	position: absolute; top: -8px; right: -8px;
	width: 24px; height: 24px;
	border: 2px solid #F5B400;
	border-radius: 50%;
	animation: hg-ring 2s ease-in-out infinite;
}
@keyframes hg-ring { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hg-bp__ring { animation: none; } }
.hg-bp h3 {
	font-family: 'Archivo Black', sans-serif;
	font-size: 1.15rem; letter-spacing: -.005em;
	margin: 0 0 8px; color: #FFF4D6;
}
.hg-bp p { font-size: .94rem; color: #C8B999; line-height: 1.5; margin: 0; }

/* ---------- REVIEWS ---------- */
.hg-reviews {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
	margin-top: 50px;
}
@media (max-width: 880px) { .hg-reviews { grid-template-columns: 1fr; } }
.hg-review {
	background: #FFFEFA;
	padding: 28px;
	margin: 0;
	transform: rotate(var(--rot, 0deg));
	box-shadow: 0 10px 30px -8px rgba(0,0,0,.15);
	position: relative;
	transition: transform .4s var(--ac-ease-out);
}
.hg-review:hover { transform: rotate(0deg) translateY(-4px); z-index: 5; }
.hg-review__stars {
	color: #F5B400; font-size: 1.3rem; letter-spacing: .15em;
	margin-bottom: 12px;
}
.hg-review blockquote {
	margin: 0;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 1rem; line-height: 1.55;
	color: #1B1108;
}
.hg-review hr {
	border: 0; height: 1px; background: rgba(0,0,0,.1);
	margin: 18px 0;
}
.hg-review figcaption {
	display: flex; align-items: center; gap: 12px;
}
.hg-review__avatar {
	width: 36px; height: 36px;
	background: #F5B400;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: 'Archivo Black', sans-serif;
	color: #1B1108;
}
.hg-review figcaption strong {
	display: block;
	font-family: 'Archivo Black', sans-serif;
	font-size: .96rem; color: #1B1108;
}
.hg-review figcaption span {
	font-size: .82rem; color: #6A5A48;
}

/* ---------- BANNER ---------- */
.hg-banner {
	background: #E5392B;
	color: #FFF4D6;
	padding: clamp(50px, 7vw, 90px) 0;
}
.hg-banner__inner {
	display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center;
}
@media (max-width: 760px) { .hg-banner__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.hg-banner h2 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	margin: 0 0 8px; letter-spacing: -.01em;
}
.hg-banner p {
	margin: 0;
	font-family: 'Caveat', cursive;
	font-size: 1.4rem; color: #FFD9A6;
}

/* ---------- LOCKDOWN ---------- */
.hg-lockdown-grid {
	display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
	margin-top: 50px;
}
@media (max-width: 880px) { .hg-lockdown-grid { grid-template-columns: 1fr; } }
.hg-lockdown-copy p { font-size: 1rem; color: #C8B999; line-height: 1.6; margin: 0 0 1em; max-width: 50ch; }
.hg-lockdown-copy p:last-child { margin-bottom: 0; }

.hg-lockdown {
	background: linear-gradient(140deg, #F5B400 0%, #D49600 50%, #B07A00 100%);
	border-radius: 16px;
	padding: 32px 28px;
	color: #1B1108;
	aspect-ratio: 1.586/1;
	max-width: 380px;
	box-shadow:
		0 30px 60px -20px rgba(0,0,0,.5),
		inset 0 1px 0 rgba(255,255,255,.4);
	display: flex; flex-direction: column;
	position: relative;
	transition: transform .5s var(--ac-ease-out);
	transform: rotate(-2deg);
}
.hg-lockdown:hover { transform: rotate(0deg) scale(1.04); }

.hg-lockdown__chip {
	width: 44px; height: 32px;
	background: linear-gradient(135deg, #FFE066, #B07A00);
	border-radius: 6px;
	margin-bottom: 24px;
	box-shadow: inset 0 0 8px rgba(0,0,0,.3);
}
.hg-lockdown__num {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 1.4rem; letter-spacing: .12em;
	margin-bottom: 20px;
}
.hg-lockdown__row {
	display: flex; justify-content: space-between;
	margin-top: auto;
}
.hg-lockdown__row small {
	display: block;
	font-family: 'IBM Plex Mono', monospace;
	font-size: .62rem; letter-spacing: .12em;
	color: #4A3A28; margin-bottom: 4px;
}
.hg-lockdown__row strong {
	font-family: 'Archivo Black', sans-serif;
	font-size: .9rem; letter-spacing: .04em;
}
.hg-lockdown__brand {
	position: absolute; bottom: 22px; right: 28px;
	font-family: 'Archivo Black', sans-serif;
	font-size: .7rem; letter-spacing: .15em;
	color: #1B1108; opacity: .7;
}

/* ---------- STACK ---------- */
.hg-stack {
	display: grid; grid-template-columns: max-content 1fr;
	gap: 14px 28px; margin: 0;
	background: #FFFEFA;
	border: 2px solid #1B1108;
	border-radius: 14px;
	padding: 30px;
}
@media (max-width: 600px) { .hg-stack { grid-template-columns: 1fr; gap: 4px 0; } }
.hg-stack dt {
	font-family: 'Archivo Black', sans-serif;
	font-size: .78rem; letter-spacing: .1em;
	text-transform: uppercase; color: #B07A00;
	padding-top: 4px;
}
.hg-stack dd {
	margin: 0;
	color: #1B1108; font-size: .98rem; line-height: 1.5;
}
@media (max-width: 600px) {
	.hg-stack dd { padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,.1); margin-bottom: 8px; }
}
