body.home .main-content { margin-top: 10px; padding-top: 20px; }
#home-main .home-hero { padding-top: clamp(14px, 2vw, 28px); }

#home-main .home-hero__layout { align-items: start; }

#home-main .home-hero__media-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 560px;
	min-width: 0;
	justify-self: end;
	align-self: stretch;
}

#home-main .home-hero__deck {
	width: 100%;
	max-width: none;
	height: 384px;
	flex: 0 0 384px;
}

#home-main .home-hero__deck .deck__wood {
	width: 26px;
	background:
		repeating-linear-gradient(90deg, transparent 0 7px, rgba(174, 126, 88, .045) 7px 8px),
		linear-gradient(90deg, #21160f 0%, #352319 48%, #261a12 100%);
	box-shadow: inset 1px 0 rgba(190, 145, 106, .12), inset -2px 0 rgba(9, 7, 6, .6);
}

#home-main .home-hero__deck .deck__face {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	grid-template-rows: minmax(140px, 1fr) 34px 72px 34px 28px;
	gap: 8px;
	padding: 16px 18px;
}

#home-main .home-hero__deck .deck__nameplate {
	display: grid;
	place-items: center;
	padding: 0 12px;
}

#home-main .deck__reels { --home-reel-diameter: 138px; position: relative; isolation: isolate; }

#home-main .deck__reel-window {
	position: relative;
	z-index: 2;
	width: var(--home-reel-diameter);
	height: var(--home-reel-diameter);
	padding: 3px;
	background: #07090b;
	border-width: 2px;
	box-shadow: inset 0 0 0 2px #1c2025, 0 1px 3px rgba(0, 0, 0, .6);
}

#home-main .deck__reel-window--right { grid-column: 3; }

#home-main .deck__reel-window .dsrt-reel--preview {
	width: 100%;
	height: 100%;
	animation: dsrt-reel-spin var(--reel-speed, 22s) linear infinite;
}

#home-main .deck__tape-path {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 0;
	right: 0;
	height: var(--home-reel-diameter);
	transform: translateY(-50%);
	background: transparent;
	border: 0;
	box-shadow: none;
	pointer-events: none;
}

#home-main .deck__tape-path svg { display: block; width: 100%; height: 100%; overflow: visible; }
#home-main .deck__tape-path .deck__tape-dashes { animation-duration: 3.4s; }

#home-main .reel-posters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: minmax(140px, 1fr);
	grid-auto-rows: minmax(140px, 1fr);
	flex: 1 1 auto;
	gap: 8px;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

#home-main .reel-poster {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #100b12;
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

#home-main .reel-poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 220ms ease;
}

#home-main .reel-poster:hover { transform: translateY(-2px); }
#home-main .reel-poster:hover img { transform: scale(1.04); }
#home-main .reel-poster:focus-visible { outline: 2px solid #e6b98f; outline-offset: 3px; }

#home-main .reel-poster__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(255, 244, 228, .78);
	border-radius: 50%;
	background: rgba(20, 11, 34, .76);
	color: #fff4e4;
	box-shadow: 0 2px 9px rgba(0, 0, 0, .42);
}

#home-main .reel-poster__play svg { width: 13px; height: 13px; margin-left: 1px; }

#home-main dialog.home-reel-dialog:not([open]) { display: none; }

#home-main dialog.home-reel-dialog {
	position: fixed;
	top: 12px;
	left: 12px;
	box-sizing: border-box;
	display: block;
	width: min(326px, calc(100vw - 24px));
	max-width: none;
	max-height: var(--home-reel-max-height, calc(100vh - 24px));
	max-height: var(--home-reel-max-height, calc(100dvh - 24px));
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #17120f;
	overflow: hidden;
	transform-origin: top left;
}

#home-main dialog.home-reel-dialog::backdrop { background: transparent; }
#home-main .home-reel-dialog__stage { box-sizing: border-box; width: 100%; padding: 0; overflow: hidden; }
#home-main .home-reel-dialog__toolbar { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 8px; padding: 0 8px 0 12px; box-sizing: border-box; border-radius: 12px; background: rgba(255, 255, 255, .92); }
#home-main .home-reel-dialog__open { color: #4c2c1d; font: 600 .875rem/1.4 Manrope, sans-serif; text-decoration: underline; text-underline-offset: 4px; }
#home-main .home-reel-dialog__open:focus-visible,
#home-main .home-reel-dialog__close:focus-visible { outline: 2px solid #7a4c32; outline-offset: 3px; }
#home-main .home-reel-dialog__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(67, 44, 30, .3); border-radius: 8px; background: rgba(255, 255, 255, .92); color: #21160f; cursor: pointer; }
#home-main .home-reel-dialog__close svg { width: 17px; height: 17px; }
#home-main .home-reel-dialog__content { min-width: 0; width: 100%; height: 613px; max-height: calc(var(--home-reel-max-height, calc(100vh - 24px)) - 52px); max-height: calc(var(--home-reel-max-height, calc(100dvh - 24px)) - 52px); overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8e8178 #eeeae6; }
#home-main .home-reel-dialog__content blockquote.instagram-media { box-sizing: border-box; width: 326px !important; max-width: 100% !important; min-width: min(326px, 100%) !important; min-height: 613px; margin: 0 !important; }
#home-main .home-reel-dialog__content iframe.instagram-media { display: block; max-width: 100%; margin: 0 !important; }
#home-main .home-reel-dialog__rail,
#home-main .home-reel-dialog__counter,
#home-main .home-reel-dialog__rail h2 { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
#home-main .home-reel-dialog__fallback { display: none; }

@media (max-width: 350px) {
	#home-main dialog.home-reel-dialog { width: calc(100vw - 24px); }
}

@media (max-width: 900px) {
	#home-main .home-hero__media-stack { max-width: 560px; justify-self: center; align-self: start; }
	#home-main .reel-poster { aspect-ratio: 3 / 4; }
}

@media (max-width: 600px) {
	#home-main .deck__reels { --home-reel-diameter: 90px; }
	#home-main .home-hero__deck { height: 340px; flex-basis: 340px; }
	#home-main .home-hero__deck .deck__wood { width: 18px; }
	#home-main .home-hero__deck .deck__face {
		grid-template-rows: minmax(104px, 1fr) 30px 88px 32px 27px;
		gap: 6px;
		padding: 12px;
	}
	#home-main .deck__reel-window {
		width: var(--home-reel-diameter);
		height: var(--home-reel-diameter);
		padding: 2px;
	}
	#home-main .reel-posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 901px) {
	#home-main .reel-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}

@media (prefers-reduced-motion: reduce) {
	#home-main .reel-poster,
	#home-main .reel-poster img { transition: none; }
	#home-main .deck__reel-window .dsrt-reel--preview,
	#home-main .deck__tape-path .deck__tape-dashes { animation: none; }
}

/* ---- Wide hero, "Window" (owner pick 2026-11-09, mock: .impeccable/mocks/home-hero/ option B) ----
   With the tape deck hidden the hero is one short lacquer plate: name block on the left,
   the pinned reels in a recessed display window on the right, so New Release shows on landing.
   `body` prefix outranks the hardware-variant rules in home-hardware-preview.css. */
body #home-main .home-hero { padding-top: clamp(20px, 2.4vw, 32px); }
body #home-main .home-hero .home-hero__layout {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"mark  reels"
		"since reels"
		"tag   reels"
		"copy  reels"
		"cta   reels";
	align-items: center;
	align-content: center;
	column-gap: clamp(28px, 3vw, 48px);
	row-gap: 12px;
	overflow: hidden;
	padding: clamp(24px, 2.6vw, 36px) clamp(24px, 3vw, 44px);
	background: linear-gradient(180deg, var(--hs-lacquer-top) 0%, var(--hs-lacquer-base) 62%);
	border-radius: var(--hs-r-plate);
	box-shadow: inset 0 1px 0 var(--hs-edge), var(--hs-shadow);
}
/* The copy column's children join the plate grid directly. */
body #home-main .home-hero .home-hero__copy-col { display: contents; }
body #home-main .home-hero h1.home-hero__wordmark {
	grid-area: mark;
	margin: 0;
	font-size: clamp(2.75rem, 1.6rem + 2.6vw, 4.2rem);
	white-space: nowrap;
}
body #home-main .home-hero .home-hero__wordmark-line { display: inline; }
body #home-main .home-hero .home-hero__wordmark-line + .home-hero__wordmark-line { color: #e6b98f; }
/* Serial-plate line under the name (owner, 2026-11-10). */
body #home-main .home-hero .home-hero__since { grid-area: since; margin: -6px 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hs-ink-3); }
body #home-main .home-hero .home-hero__tagline { grid-area: tag; margin: 0; }
body #home-main .home-hero .home-hero__copy { grid-area: copy; margin: 0; max-width: 44ch; }
body #home-main .home-hero .home-hero__copy-lead { margin-bottom: 10px; font-weight: 700; letter-spacing: .03em; line-height: 1.18; }
/* Each line under the headline sits on its own line at the same size (owner, 2026-11-09). */
body #home-main .home-hero .home-hero__copy-support { margin-bottom: 0; }
body #home-main .home-hero .home-hero__copy-line { display: block; font-size: .92em; color: var(--hs-ink-2); }
/* Brick-red play-arrow bullets on those lines (owner pick 2026-11-10); padding gives wrapped lines a hanging indent. */
body #home-main .home-hero .home-hero__copy-support,
body #home-main .home-hero .home-hero__copy-line { position: relative; padding-left: 1.4em; }
body #home-main .home-hero .home-hero__copy-support::before,
body #home-main .home-hero .home-hero__copy-line::before { content: ""; position: absolute; left: .2em; top: .75em; width: 7px; height: 8px; background: #c0564a; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%); }
body #home-main .home-hero .home-hero__cta-row { grid-area: cta; margin: 8px 0 0; }

/* Reel window: a dark recessed well; the strip scrolls sideways, one card per snap, the next one peeks. */
body #home-main .home-hero .home-hero__media-stack {
	grid-area: reels;
	display: block;
	width: 100%;
	max-width: none;
	min-width: 0;
	height: auto;
	align-self: stretch;
	justify-self: stretch;
	container-type: normal;
	padding: 7px;
	border-radius: var(--hs-r-tile);
	background: linear-gradient(180deg, rgba(10, 4, 14, .62), rgba(10, 4, 14, .48));
	box-shadow: inset 0 2px 10px rgba(0, 0, 0, .55), inset 0 -1px 0 var(--hs-edge);
}
body #home-main .home-hero .home-hero__media-stack .reel-posters {
	display: flex;
	box-sizing: border-box;
	gap: 10px;
	height: 100%;
	min-height: 0;
	/* 5px of room so the reels' keyboard focus outline is not clipped by the scroll box. */
	padding: 5px;
	scroll-padding: 5px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
body #home-main .home-hero .home-hero__media-stack .reel-posters::-webkit-scrollbar { display: none; }
body #home-main .home-hero .home-hero__media-stack .reel-poster {
	flex: 0 0 auto;
	width: auto;
	height: 100%;
	aspect-ratio: 9 / 16;
	scroll-snap-align: start;
	border-radius: var(--hs-r-media);
}
body #home-main .home-hero .home-hero__media-stack .reel-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
	body #home-main .home-hero .home-hero__layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "mark" "since" "tag" "copy" "cta" "reels";
		padding: 24px 20px;
	}
	body #home-main .home-hero h1.home-hero__wordmark { font-size: clamp(2.6rem, 11vw, 3.4rem); white-space: normal; }
	body #home-main .home-hero .home-hero__since { font-size: min(.8rem, 2.9vw); letter-spacing: .06em; }
	body #home-main .home-hero .home-hero__since .dsrt-fader { display: block; width: fit-content; margin-bottom: 2px; }
	body #home-main .home-hero .home-hero__media-stack { height: 176px; margin-top: 8px; padding: 0; background: none; box-shadow: none; }
	body #home-main .home-hero .home-hero__media-stack .reel-posters { gap: 8px; }
	body #home-main .home-hero .home-hero__media-stack .reel-poster { border-radius: var(--hs-r-media); }
}
