/* ============================================================
   Sweebrew State Landing Pages
   Shared static-hero layout for state pages with gallery links
   ============================================================ */

.state-landing-page {
	background: #faf9f7;
}

.state-landing {
	--state-accent: #7a5a48;
	--state-accent-soft: #eadfd5;
	--state-ink: #34312e;
	--state-muted: #68625d;
	--state-border: #d9d1c9;
	width: min(94%, 1500px);
	margin: 0 auto;
	padding: 14px 0 32px;
}

.state-theme-arizona {
	--state-accent: #a55f43;
	--state-accent-soft: #efe0d5;
}

.state-theme-colorado {
	--state-accent: #496f64;
	--state-accent-soft: #dce7e2;
	--state-border: #cfd9d4;
}

.state-theme-colorado .state-hero > img {
	object-position: center 42%;
}

.state-theme-colorado .state-hero-copy .state-eyebrow {
	color: #d7e5df;
}

.state-theme-indiana {
	--state-accent: #526b78;
	--state-accent-soft: #dfe7eb;
	--state-border: #cfd8dc;
}

.state-theme-indiana .state-hero > img {
	object-position: center 50%;
}

.state-theme-indiana .state-hero-copy .state-eyebrow {
	color: #f0dcac;
}

.state-theme-pennsylvania {
	--state-accent: #536d66;
	--state-accent-soft: #dfe8e4;
	--state-border: #cfd9d5;
}

.state-theme-pennsylvania .state-hero > img {
	object-position: center 48%;
}

.state-theme-pennsylvania .state-hero-copy .state-eyebrow {
	color: #ead9b2;
}

.state-theme-texas {
	--state-accent: #4d6578;
	--state-accent-soft: #dfe7ec;
	--state-border: #cfd8df;
}

.state-theme-texas .state-hero > img {
	object-position: center 46%;
}

.state-theme-texas .state-hero-copy .state-eyebrow {
	color: #efcbb8;
}

.state-theme-nevada {
	--state-accent: #567086;
	--state-accent-soft: #e0e7ec;
	--state-border: #d1d9df;
}

.state-theme-nevada .state-hero > img {
	object-position: center 48%;
}

.state-theme-nevada .state-hero-shade {
	background:
		linear-gradient(270deg, rgba(20, 18, 16, 0.58) 0%, rgba(20, 18, 16, 0.18) 42%, rgba(20, 18, 16, 0) 68%),
		linear-gradient(0deg, rgba(20, 18, 16, 0.34) 0%, rgba(20, 18, 16, 0) 42%);
}

.state-theme-nevada .state-hero-copy {
	left: auto;
	right: clamp(24px, 4vw, 64px);
	text-align: right;
}

.state-theme-nevada .state-hero-copy .state-eyebrow {
	color: #efd0b4;
}

.state-theme-new-york {
	--state-accent: #5a687d;
	--state-accent-soft: #e2e6ec;
	--state-border: #d2d7df;
}

.state-theme-new-york .state-hero > img {
	object-position: center 52%;
}

.state-theme-new-york .state-hero-shade {
	background:
		linear-gradient(90deg, rgba(18, 17, 24, 0.68) 0%, rgba(18, 17, 24, 0.28) 43%, rgba(18, 17, 24, 0.04) 72%),
		linear-gradient(0deg, rgba(18, 17, 24, 0.48) 0%, rgba(18, 17, 24, 0) 50%);
}

.state-theme-new-york .state-hero-copy .state-eyebrow {
	color: #e6cfd9;
}

.state-theme-virginia {
	--state-accent: #6b5361;
	--state-accent-soft: #ebe2e7;
	--state-border: #d9d0d5;
}

.state-theme-virginia .state-hero > img {
	object-position: center 50%;
}

.state-theme-virginia .state-hero-copy .state-eyebrow {
	color: #e9d2bd;
}

/* ------------------------------------------------------------
   Panoramic state hero
   ------------------------------------------------------------ */
.state-hero {
	position: relative;
	width: 100%;
	height: clamp(380px, 46vw, 800px);
	overflow: hidden;
	background: #292622;
	border-radius: 16px;
	box-shadow: 0 9px 24px rgba(45, 36, 29, 0.20);
}

.state-hero > img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center 48%;
	transition: transform 0.7s ease;
}

.state-hero:hover > img {
	transform: scale(1.015);
}

.state-hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(20, 18, 16, 0.58) 0%, rgba(20, 18, 16, 0.18) 42%, rgba(20, 18, 16, 0) 68%),
		linear-gradient(0deg, rgba(20, 18, 16, 0.34) 0%, rgba(20, 18, 16, 0) 42%);
	pointer-events: none;
}

.state-hero-copy {
	position: absolute;
	left: clamp(24px, 4vw, 64px);
	bottom: clamp(28px, 5vw, 68px);
	max-width: 580px;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.62);
}

.state-hero-copy .state-eyebrow {
	margin: 0 0 8px;
	font-family: 'Lato', Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 2.4px;
	line-height: 1.2;
	text-transform: uppercase;
	color: #f2d4c1;
}

.state-hero-copy h1 {
	margin: 0 0 10px;
	font-family: Garamond, Georgia, serif;
	font-size: clamp(46px, 6vw, 82px);
	font-weight: 400;
	letter-spacing: 6px;
	line-height: 0.95;
	color: #fff;
}

.state-hero-copy > p:last-child {
	margin: 0;
	font-family: 'Lato', Arial, sans-serif;
	font-size: clamp(16px, 1.7vw, 22px);
	font-weight: 300;
	letter-spacing: 0.4px;
	line-height: 1.4;
	color: #fff;
}

/* ------------------------------------------------------------
   Destination cards
   ------------------------------------------------------------ */
.state-destination-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.state-destination-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.state-destination-grid-three .state-destination-card {
	grid-template-columns: 1fr;
	grid-template-rows: 230px auto;
}

.state-destination-grid-three .state-destination-image img {
	min-height: 230px;
}

.state-destination-card {
	display: grid;
	grid-template-columns: minmax(180px, 38%) 1fr;
	min-height: 138px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--state-border);
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(45, 36, 29, 0.10);
	color: var(--state-ink);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.state-destination-card:hover,
.state-destination-card:focus {
	transform: translateY(-2px);
	border-color: var(--state-accent);
	box-shadow: 0 7px 18px rgba(45, 36, 29, 0.17);
	color: var(--state-ink);
	text-decoration: none;
}

.state-destination-card:focus-visible {
	outline: 3px solid var(--state-accent-soft);
	outline-offset: 3px;
}

.state-destination-card[aria-disabled="true"] {
	cursor: default;
	pointer-events: none;
}

.state-destination-card[aria-disabled="true"] .state-destination-copy > span {
	color: var(--state-muted);
}

.state-destination-image {
	display: block;
	min-width: 0;
	overflow: hidden;
	background: #ded8d2;
}

.state-destination-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 138px;
	margin: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.state-destination-card:hover .state-destination-image img,
.state-destination-card:focus .state-destination-image img {
	transform: scale(1.035);
}

.state-destination-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px 24px;
	background: #fff;
}

.state-destination-copy strong {
	font-family: Garamond, Georgia, serif;
	font-size: clamp(23px, 2.2vw, 31px);
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.1;
	color: var(--state-ink);
}

.state-destination-copy > span {
	margin-top: 8px;
	font-family: 'Lato', Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.8px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--state-accent);
}

/* ------------------------------------------------------------
   Responsive layout
   ------------------------------------------------------------ */
@media screen and (max-width: 900px) {
	.state-landing {
		width: calc(100% - 28px);
	}

	.state-hero {
		height: clamp(390px, 64vw, 540px);
	}

	.state-destination-card {
		grid-template-columns: minmax(150px, 40%) 1fr;
	}

	.state-destination-grid-three .state-destination-card {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 700px) {
	.state-landing {
		width: 100%;
		padding: 10px 10px 24px;
	}

	.state-hero {
		height: min(62vh, 500px);
		min-height: 360px;
		border-radius: 10px;
	}

	.state-hero > img {
		object-position: 57% center;
	}

	.state-hero-shade {
		background:
			linear-gradient(90deg, rgba(20, 18, 16, 0.50) 0%, rgba(20, 18, 16, 0.08) 78%),
			linear-gradient(0deg, rgba(20, 18, 16, 0.52) 0%, rgba(20, 18, 16, 0) 58%);
	}

	.state-hero-copy h1 {
		font-size: clamp(42px, 14vw, 62px);
		letter-spacing: 4px;
	}

	.state-destination-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 12px;
	}
}

@media screen and (max-width: 430px) {
	.state-destination-card {
		grid-template-columns: 132px 1fr;
		min-height: 118px;
	}

	.state-destination-image img {
		min-height: 118px;
	}

	.state-destination-copy {
		padding: 16px;
	}

	.state-destination-copy strong {
		font-size: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.state-hero > img,
	.state-destination-card,
	.state-destination-image img {
		transition: none;
	}

	.state-hero:hover > img,
	.state-destination-card:hover,
	.state-destination-card:focus,
	.state-destination-card:hover .state-destination-image img,
	.state-destination-card:focus .state-destination-image img {
		transform: none;
	}
}
