/* ================================================================
   BNI Tech Summit — Home Landing Page
   Mobile-first. All rules scoped to .tsh-page.
   ================================================================ */

/* ---- Tokens ---- */
.tsh-page {
	--tsh-red: #CF2030;
	--tsh-black: #000000;
	--tsh-grey: #64666A;
	--tsh-card-border: #F2F2F2;
	--tsh-white: #FFFFFF;
	--tsh-shadow: 0 20px 60px rgba(0, 0, 0, .15);
	--tsh-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tsh-gutter: 24px;
}

@media (min-width: 1200px) {
	.tsh-page {
		--tsh-gutter: 110px;
	}

}

.tsh-page *,
.tsh-page *::before,
.tsh-page *::after {
	box-sizing: border-box;
}

.tsh-page {
	font-family: var(--tsh-font);
	background: var(--tsh-white);
	color: var(--tsh-black);
}

.tsh-page img {
	max-width: 100%;
	display: block;
}

/* ================================================================
   HERO
   ================================================================ */

.tsh-hero {
	position: relative;
}

/* Red background on ::before so clip-path never clips content/stats */
.tsh-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--tsh-red);
	z-index: 0;
}

@media (min-width: 992px) {
	.tsh-hero {
		min-height: 50vw;
	}

	.tsh-hero::before {
		clip-path: polygon(0 0, 100% 0, 80vw 0%, 40vw 100%, 0 100%);
	}
}

/* Inner layout */
.tsh-hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding: 50px 0;
}

.stat-plus {
	display: inline-block;
	margin: 0 0 0 5px;
	font-size: 80%;
}

@media (min-width: 992px) {
	.tsh-hero-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 80px 0 100px;
		gap: 48px;
	}
}

/* ---- Hero Left ---- */
.tsh-hero-left {
	flex: 1;
	min-width: 0;
}

@media (min-width: 992px) {
	.tsh-hero-left {
		max-width: 640px;
	}
}

/* Badge */
a.tsh-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--tsh-black);
	color: var(--tsh-card-border);
	font-family: var(--tsh-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 8px 16px;
	margin-bottom: 24px;
	text-decoration: none;
	cursor: pointer;
}

a.tsh-badge:hover {
	color: var(--tsh-card-border);
	text-decoration: none;
	opacity: .85;
}

a.tsh-badge::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tsh-red);
	flex-shrink: 0;
}

/* H1 */
.tsh-h1 {
	font-size: 97px;
	font-weight: 700;
	line-height: 1.0;
	color: var(--tsh-white);
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.tsh-h1 {
		line-height: 0.94;
	}
}

.tsh-h1-accent {
	display: block;
	color: var(--tsh-black);
}

/* Intro paragraph */
.tsh-intro {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--tsh-white);
	margin-bottom: 40px;
	max-width: 520px;
	padding-left: 80px;
	position: relative;
}

.tsh-intro::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 60px;
	height: 3px;
	background: rgba(255, 255, 255, 0.6);
}

/* CTA ghost button — scoped to beat common.css link color */
.tsh-page .tsh-cta,
.tsh-page .tsh-cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 238px;
	height: 66px;
	border: 2px solid #ffffff;
	color: #ffffff;
	background: transparent;
	font-family: var(--tsh-font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	margin-bottom: 48px;
	transition: background 0.2s ease, color 0.2s ease;
}

.tsh-page .tsh-cta:hover {
	background: #ffffff;
	color: var(--tsh-red);
	text-decoration: none;
}

.tsh-page .tsh-cta:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.tsh-cta {
		transition: none;
	}
}

/* Meta row (DATE | LOCATION) */
.tsh-meta-row {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.tsh-meta-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tsh-meta-divider {
	width: 1px;
	height: 40px;
	background: rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.tsh-meta-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--tsh-white);
}

.tsh-meta-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--tsh-white);
}

/* ================================================================
   STATS CLUSTER
   ================================================================ */

.tsh-stats {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	position: relative;
}

@media (min-width: 992px) {
	.tsh-stats::before {
		content: '';
		background: rgb(100 102 106 / 15%);
		width: 95%;
		height: 95%;
		display: block;
		position: absolute;
		z-index: -1;
		rotate: -59deg;
		max-width: 100%;
		max-height: 100%;
		right: 45px;
	}

	.tsh-stats {
		width: 417px;
		flex-shrink: 0;
	}
}

/* --- White card (Row 1: Attendees) --- */
.tsh-stat-white {
	background: var(--tsh-white);
	padding: 40px;
	box-shadow: var(--tsh-shadow);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tsh-stat-white .tsh-stat-figure {
	font-size: 72px;
	font-weight: 700;
	letter-spacing: -2px;
	color: var(--tsh-red);
	line-height: 1;
}

.tsh-stat-white .tsh-stat-label {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--tsh-grey);
}

/* --- Row 2: black + grey side by side --- */
.tsh-stat-row {
	display: flex;
	gap: 24px;
}

.tsh-stat-row .tsh-stat-card {
	flex: 1;
	min-width: 0;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 120px;
	justify-content: center;
}

.tsh-stat-black {
	background: var(--tsh-black);
}

.tsh-stat-grey {
	background: var(--tsh-grey);
}

.tsh-stat-row .tsh-stat-figure {
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -1px;
	color: var(--tsh-white);
	line-height: 1;
}

.tsh-stat-row .tsh-stat-label {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.4;
}

/* --- Red split card (Row 3: Days | Activities) --- */
/* Slightly darker than hero (#CF2030) so the card is visible */
.tsh-stat-red {
	background: var(--tsh-white);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1200px) {
	.tsh-stat-red {
		background: var(--tsh-red);
	}
}

.tsh-stat-split {
	display: flex;
	align-items: center;
	padding: 32px 40px;
	position: relative;
}

@media (min-width: 992px) {
	.tsh-stat-split::after {
		content: '';
		background: #000000;
		display: block;
		position: absolute;
		width: 200px;
		height: 200px;
		opacity: 10%;
		border-radius: 100%;
		right: -30px;
		bottom: -75px;
		z-index: -1;
	}
}

.tsh-stat-split-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tsh-stat-split-item:first-child {
	padding-right: 28px;
}

.tsh-stat-split-item:last-child {
	padding-left: 28px;
}

.tsh-stat-divider-v {
	width: 1px;
	height: 56px;
	background: rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

@media (min-width: 1200px) {
	.tsh-stat-divider-v {
		background: rgba(255, 255, 255, 0.35);
	}
}

.tsh-stat-red .tsh-stat-figure {
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -1px;
	color: var(--tsh-red);
	line-height: 1;
}

.tsh-stat-red .tsh-stat-label {
	font-size: 15px;
	font-weight: 400;
	color: var(--tsh-grey);
}

@media (min-width: 1200px) {
	.tsh-stat-red .tsh-stat-figure {
		color: var(--tsh-white);
	}

	.tsh-stat-red .tsh-stat-label {
		color: rgba(255, 255, 255, 0.85);
	}
}

/* ================================================================
   PAST EDITIONS
   ================================================================ */

.tsh-editions {
	background: var(--tsh-white);
	padding: 50px 0;
}

.tsh-editions-heading {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 60px;
	line-height: 1.52;
	letter-spacing: -3px;
	color: var(--tsh-grey);
	text-align: center;
	margin-bottom: 64px;
}

@media (min-width: 992px) {
	.tsh-editions {
		padding-top: 100px;
		padding-bottom: 100px;
	}
}

/* 1-col on mobile → 2-col from 768px */
.tsh-editions-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 33px;
}

@media (min-width: 768px) {
	.tsh-editions-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---- Edition card ---- */
.tsh-edition-card {
	display: flex;
	border: 1px solid var(--tsh-card-border);
	overflow: hidden;
	text-decoration: none;
	color: var(--tsh-black);
	box-shadow: var(--tsh-shadow);
	transition: box-shadow 0.2s ease;
	border-radius: 14px;
	overflow: hidden;
}

.tsh-edition-card:hover {
	box-shadow: 0 28px 72px rgba(0, 0, 0, 0.2);
}

.tsh-edition-card:focus-visible {
	outline: 3px solid var(--tsh-red);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.tsh-edition-card {
		transition: none;
	}
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
	.tsh-edition-card {
		min-height: 338px;
	}
}

/* Red left panel */
.tsh-edition-left {
	background: var(--tsh-red);
	max-width: 35%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 20px 10px;
	position: relative;
}

/* Ticket notch */
.tsh-edition-left::after {
	content: '';
	position: absolute;
	right: -13px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	background: #ffffff;
	border-radius: 50%;
	z-index: 2;
}

/* Year + pill grouped at bottom */
.tsh-edition-bottom {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

/* Circular city photo */
.tsh-edition-photo {
	/* width: 72px; */
	/* height: 72px; */
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	align-self: center;
}

@media (min-width: 992px) {
}

.tsh-edition-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Placeholder when no photo */
.tsh-photo-placeholder {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	align-self: center;
}

@media (min-width: 992px) {
	.tsh-photo-placeholder {
		width: 100px;
		height: 100px;
	}
}

/* Year */
.tsh-edition-year {
	font-size: 60px;
	font-weight: 700;
	color: var(--tsh-white);
	line-height: 1;
	display: block;
}

/* "Tech Summit" pill */
.tsh-edition-pill {
	display: inline-block;
	background: rgb(255 255 255 / 20%);
	color: var(--tsh-white);
	font-family: var(--tsh-font);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 100px;
	white-space: nowrap;
	width: fit-content;
}

/* White right content */
.tsh-edition-right {
	flex: 1;
	min-width: 0;
	padding: 20px 16px 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

@media (min-width: 992px) {
	.tsh-edition-right {
		padding: 28px 16px 28px 32px;
	}
}

.tsh-edition-city {
	font-size: 36px;
	font-weight: 700;
	color: var(--tsh-black);
	line-height: 1.1;
	margin-bottom: 6px;
}

.tsh-edition-tagline {
	font-size: 16px;
	font-weight: 700;
	color: var(--tsh-grey);
	margin-bottom: 16px;
}

@media (min-width: 992px) {
	.tsh-edition-tagline {
		font-size: 18px;
		margin-bottom: 0;
	}
}

/* 3-col meta row */
.tsh-edition-meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

@media (min-width: 992px) {
	.tsh-edition-meta {
		gap: 20px;
	}
}

.tsh-edition-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tsh-meta-key {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--tsh-grey);
}

@media (min-width: 992px) {
	.tsh-meta-key {
		font-size: 14px;
	}
}

.tsh-edition-date-val {
	font-size: 16px;
	font-weight: 700;
	color: var(--tsh-black);
	max-width: 115px;
	text-transform: capitalize;
}

.tsh-date-month,
.tsh-date-range {
	display: block;
}

.tsh-edition-figure {
	font-size: 16px;
	font-weight: 700;
	color: var(--tsh-red);
}



/* Arrow */
.tsh-edition-arrow {
	position: absolute;
	bottom: 16px;
	right: 16px;
	font-size: 20px;
	color: var(--tsh-red);
	font-weight: 700;
	line-height: 1;
}

@media (min-width: 992px) {
	.tsh-edition-figure {
		font-size: 18px;
	}

	.tsh-edition-arrow {
		bottom: 24px;
		right: 28px;
		font-size: 30px;
	}
}

/* ================================================================
   RESPONSIVE — max 767px  (Mobile)
   ================================================================ */

@media (max-width: 767px) {

	/* ---- Hero ---- */
	.tsh-hero-inner {
		padding: 32px 0;
		gap: 20px;
	}

	a.tsh-badge {
		font-size: 11px;
		margin-bottom: 16px;
	}

	.tsh-h1 {
		font-size: 48px;
		margin: 5px 0 15px;
	}

	.tsh-intro {
		padding-left: 0;
		font-size: 16px;
		margin: 0 0 25px;
	}

	.tsh-intro::before {
		display: none;
	}

	.tsh-page .tsh-cta,
	.tsh-page .tsh-cta:visited {
		width: 100%;
		max-width: 275px;
		height: 50px;
		font-size: 13px;
		margin: 0 0 30px;
	}

	.tsh-meta-row {
		gap: 14px;
	}

	.tsh-meta-label {
		font-size: 10px;
	}

	.tsh-meta-value {
		font-size: 14px;
	}

	.tsh-meta-divider {
		height: 32px;
	}

	/* ---- Stats ---- */
	.tsh-stats {
		gap: 16px;
	}

	.tsh-stat-white {
		padding: 20px 24px;
	}

	.tsh-stat-white .tsh-stat-figure {
		font-size: 48px;
	}

	.tsh-stat-white .tsh-stat-label {
		font-size: 12px;
	}

	.tsh-stat-row {
		gap: 16px;
	}

	.tsh-stat-row .tsh-stat-card {
		padding: 16px;
		min-height: 90px;
	}

	.tsh-stat-row .tsh-stat-figure {
		font-size: 32px;
	}

	.tsh-stat-row .tsh-stat-label {
		font-size: 10px;
	}

	.tsh-stat-red .tsh-stat-figure {
		font-size: 32px;
	}

	.tsh-stat-red .tsh-stat-label {
		font-size: 13px;
	}

	.tsh-stat-split {
		padding: 18px 20px;
	}

	.tsh-stat-split-item:first-child {
		padding-right: 12px;
	}

	.tsh-stat-split-item:last-child {
		padding-left: 12px;
	}

	.tsh-stat-divider-v {
		height: 44px;
	}

	/* ---- Past Editions ---- */
	.tsh-editions {
		padding: 40px 0;
	}

	.tsh-editions-heading {
		font-size: 24px;
		letter-spacing: -0.5px;
		line-height: 1.3;
		margin-bottom: 24px;
	}

	.tsh-editions-grid {
		gap: 20px;
	}

	.tsh-edition-left {
		padding: 16px 8px;
	}

	.tsh-edition-year {
		font-size: 32px;
	}

	.tsh-edition-pill {
		font-size: 8px;
		padding: 4px 8px;
	}

	.tsh-edition-right {
		padding: 14px 10px;
	}

	.tsh-edition-city {
		font-size: 18px;
		margin-bottom: 4px;
	}

	.tsh-edition-tagline {
		font-size: 12px;
		margin-bottom: 10px;
	}

	.tsh-edition-meta {
		gap: 8px;
	}

	.tsh-meta-key {
		font-size: 10px;
	}

	.tsh-edition-date-val,
	.tsh-edition-figure {
		font-size: 13px;
	}

	.tsh-edition-arrow {
		font-size: 14px;
		bottom: 10px;
		right: 10px;
	}
}

/* ================================================================
   RESPONSIVE — 768px – 991px  (iPad portrait)
   ================================================================ */

@media (min-width: 768px) and (max-width: 991px) {

	/* ---- Hero ---- */
	.tsh-hero-inner {
		padding: 48px 0;
		gap: 36px;
	}

	.tsh-h1 {
		font-size: 64px;
	}

	.tsh-intro {
		padding-left: 60px;
		font-size: 17px;
	}

	.tsh-intro::before {
		width: 44px;
	}

	.tsh-page .tsh-cta,
	.tsh-page .tsh-cta:visited {
		width: 220px;
		height: 58px;
	}

	/* ---- Stats ---- */
	.tsh-stats {
		gap: 20px;
	}

	.tsh-stat-white {
		padding: 28px 32px;
	}

	.tsh-stat-white .tsh-stat-figure {
		font-size: 56px;
	}

	.tsh-stat-row .tsh-stat-figure {
		font-size: 40px;
	}

	.tsh-stat-red .tsh-stat-figure {
		font-size: 40px;
	}

	.tsh-stat-split {
		padding: 24px 32px;
	}

	/* ---- Past Editions ---- */
	.tsh-editions {
		padding: 60px 0;
	}

	.tsh-editions-heading {
		font-size: 36px;
		letter-spacing: -1.5px;
		margin-bottom: 40px;
	}

	.tsh-editions-grid {
		gap: 16px;
	}

	.tsh-edition-left {
		padding: 18px 10px;
	}

	.tsh-edition-year {
		font-size: 32px;
	}

	.tsh-edition-pill {
		font-size: 8px;
		padding: 4px 9px;
	}

	.tsh-edition-right {
		padding: 12px;
	}

	.tsh-edition-city {
		font-size: 21px;
		margin-bottom: 4px;
	}

	.tsh-edition-tagline {
		font-size: 13px;
		margin-bottom: 0;
	}

	.tsh-edition-meta {
		gap: 10px;
	}

	.tsh-meta-key {
		font-size: 10px;
	}

	.tsh-edition-date-val {
		font-size: 12px;
	}

	.tsh-edition-figure {
		font-size: 14px;
	}
}

/* ================================================================
   RESPONSIVE — 992px – 1199px  (iPad Pro / small desktop)
   Layout: full desktop design. Font sizes & spacing scaled down.
   ================================================================ */

@media (min-width: 992px) and (max-width: 1199px) {

	/* ---- Hero ---- */
	.tsh-hero-inner {
		padding: 60px 0 80px;
		gap: 32px;
	}

	.tsh-h1 {
		font-size: 72px;
	}

	.tsh-intro {
		font-size: 16px;
		padding-left: 70px;
		margin-bottom: 32px;
	}

	.tsh-page .tsh-cta,
	.tsh-page .tsh-cta:visited {
		width: 210px;
		height: 58px;
		font-size: 13px;
		margin-bottom: 36px;
	}

	/* ---- Stats ---- */
	.tsh-stats {
		width: 380px;
		gap: 20px;
	}

	.tsh-stats::before {
		max-width: 310px;
		max-height: 310px;
		right: 25px;
	}

	.tsh-stat-split::after {
		width: 160px;
		height: 160px;
		right: -20px;
		bottom: -60px;
	}

	.tsh-stat-white {
		padding: 28px 32px;
	}

	.tsh-stat-white .tsh-stat-figure {
		font-size: 58px;
	}

	.tsh-stat-row .tsh-stat-card {
		padding: 20px;
	}

	.tsh-stat-row .tsh-stat-figure {
		font-size: 38px;
	}

	.tsh-stat-split {
		padding: 24px 28px;
	}

	.tsh-stat-red .tsh-stat-figure {
		font-size: 38px;
	}

	.tsh-stat-red .tsh-stat-label {
		font-size: 13px;
	}

	/* ---- Past Editions ---- */
	.tsh-editions {
		padding: 80px 0;
	}

	.tsh-editions-heading {
		font-size: 48px;
		letter-spacing: -2.5px;
		margin-bottom: 56px;
	}

	.tsh-edition-card {
		min-height: 280px;
	}

	.tsh-edition-left {
		padding: 20px 12px;
	}

	.tsh-photo-placeholder {
		width: 80px;
		height: 80px;
	}

	.tsh-edition-year {
		font-size: 50px;
	}

	.tsh-edition-right {
		padding: 20px 16px 20px 24px;
	}

	.tsh-hero-left {
		max-width: 520px;
	}

	.tsh-edition-city {
		font-size: 26px;
	}

	.tsh-edition-tagline {
		font-size: 15px;
		margin-bottom: 0;
	}

	.tsh-edition-meta {
		gap: 16px;
	}

	.tsh-meta-key {
		font-size: 12px;
	}

	.tsh-edition-figure {
		font-size: 16px;
	}

	.tsh-edition-arrow {
		font-size: 22px;
		bottom: 20px;
		right: 20px;
	}
}