/* Newark Tech Week homepage. Dark, editorial, thin lines like the NTW mark. */

.ntw-home {
	--ink: #f4f1ec;
	--dim: #9b978f;
	--line: rgba(244, 241, 236, 0.14);
	--bg: #070707;
	--bg-2: #0e0e0e;
	--pink: #f2295b;
	--amber: #ffaa12;
	--mono: var(--wp--preset--font-family--fira-code, ui-monospace, monospace);
	--gut: clamp(1.25rem, 4vw, 3.5rem);
	background: var(--bg);
	color: var(--ink);
	font-size: 1.0625rem;
}

.ntw-home > * {
	margin-block: 0 !important;
}

.ntw-home a {
	color: inherit;
}

.ntw-mono {
	font-family: var(--mono);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

/* ---------- nav */

.ntw-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0.85rem var(--gut);
	background: rgba(7, 7, 7, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.ntw-nav > * { margin: 0 !important; }

.ntw-nav-logo img {
	display: block;
	width: 74px;
	height: auto;
	filter: invert(1);
}

.ntw-nav-links {
	display: flex;
	gap: 1.75rem;
	margin-left: auto !important;
	font-family: var(--mono);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ntw-nav-links a {
	text-decoration: none;
	color: var(--dim);
	transition: color 0.2s;
}

.ntw-nav-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
	.ntw-nav-links { display: none; }
	.ntw-nav-cta { margin-left: auto !important; }
}

/* ---------- buttons */

.ntw-home .ntw-btn .wp-block-button__link {
	position: relative;
	overflow: hidden;
	padding: 0.95em 1.6em;
	border: 1px solid var(--pink);
	border-radius: 0;
	background: var(--pink);
	color: #fff;
	font-family: var(--mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.ntw-home .ntw-btn .wp-block-button__link::after {
	content: "\2192";
	display: inline-block;
	margin-left: 0.6em;
	transition: transform 0.25s;
}

.ntw-home .ntw-btn .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: #070707;
}

.ntw-home .ntw-btn .wp-block-button__link:hover::after { transform: translateX(4px); }

.ntw-home .ntw-btn-ghost .wp-block-button__link {
	background: transparent;
	border-color: var(--line);
	color: var(--ink);
}

.ntw-home .ntw-btn-ghost .wp-block-button__link:hover {
	background: var(--pink);
	border-color: var(--pink);
	color: #fff;
}

.ntw-home .ntw-btn-sm .wp-block-button__link {
	padding: 0.6em 1em;
	font-size: 0.75rem;
}

/* ---------- hero */

.ntw-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100svh - 64px);
	padding: 6rem var(--gut) 3rem;
	overflow: hidden;
}

.ntw-hero {
	padding-inline: max(var(--gut), calc((100% - 1180px) / 2));
}

.ntw-hero > *:not(.ntw-lines) {
	position: relative;
	z-index: 2;
}

.ntw-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.ntw-lines path {
	fill: none;
	stroke: rgba(244, 241, 236, 0.16);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 1400;
	stroke-dashoffset: 1400;
	animation: ntw-draw 2.4s cubic-bezier(0.6, 0, 0.2, 1) forwards;
}

.ntw-lines path:nth-child(2) { animation-delay: 0.25s; stroke: rgba(242, 41, 91, 0.55); }
.ntw-lines path:nth-child(3) { animation-delay: 0.5s; }
.ntw-lines path:nth-child(4) { animation-delay: 0.7s; stroke: rgba(255, 170, 18, 0.35); }

@keyframes ntw-draw { to { stroke-dashoffset: 0; } }

.ntw-kicker {
	color: var(--pink);
	font-family: var(--mono);
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ntw-hero-title {
	margin: 1.5rem 0 0;
	line-height: 0;
}

.ntw-hero-title img {
	width: min(440px, 100%);
	height: auto;
	filter: invert(1);
}

.ntw-hero-lede {
	max-width: 34em;
	margin-top: 2rem !important;
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	font-weight: 300;
	line-height: 1.45;
}

.ntw-hero-lede a {
	text-decoration-color: var(--pink);
	text-underline-offset: 0.2em;
}

.ntw-actions {
	margin-top: 2rem !important;
	gap: 0.75rem;
}

.ntw-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 4.5rem !important;
	border-top: 1px solid var(--line);
}

.ntw-stat {
	margin: 0 !important;
	padding: 1.1rem 0 0;
	color: var(--dim);
	font-family: var(--mono);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ntw-stat strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--ink);
	font-family: var(--wp--preset--font-family--manrope, inherit);
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
}

@media (max-width: 700px) {
	.ntw-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
}

/* Hero: copy on the left, photo collage on the right, stats across the bottom. */
.ntw-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-rows: 1fr auto;
	column-gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.ntw-hero > .ntw-stats { grid-column: 1 / -1; }
.ntw-hero-copy > * { margin-block: 0 !important; }
.ntw-hero-copy .ntw-hero-lede { margin-top: 1.75rem !important; }
.ntw-hero-copy .ntw-actions { margin-top: 2rem !important; }

.ntw-collage {
	position: relative;
	height: min(560px, 62vh);
	margin: 0 !important;
}

.ntw-collage > .ntw-tile {
	position: absolute;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #111;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), z-index 0s;
}

.ntw-collage .ntw-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.25) contrast(1.05);
	transition: filter 0.4s;
}

.ntw-collage .ntw-tile:hover { transform: scale(1.04); z-index: 9; }
.ntw-collage .ntw-tile:hover img { filter: none; }

.ntw-collage .ntw-tile figcaption {
	position: absolute;
	left: 0.6rem;
	bottom: 0.5rem;
	margin: 0;
	padding: 0.2rem 0.45rem;
	background: rgba(7, 7, 7, 0.75);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ntw-collage .ntw-tile:nth-child(1) { left: 0; top: 4%; width: 58%; height: 46%; z-index: 2; }
.ntw-collage .ntw-tile:nth-child(2) { right: 0; top: 0; width: 36%; height: 58%; z-index: 3; }
.ntw-collage .ntw-tile:nth-child(3) { left: 8%; top: 54%; width: 44%; height: 40%; z-index: 4; }
.ntw-collage .ntw-tile:nth-child(4) { right: 4%; top: 62%; width: 42%; height: 36%; z-index: 2; }
.ntw-collage .ntw-tile:nth-child(5) { left: 38%; top: 36%; width: 25%; height: 28%; z-index: 5; border-color: var(--pink); }

@media (max-width: 960px) {
	.ntw-hero { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 4rem; }
	.ntw-collage { height: 420px; margin-top: 3rem !important; }
}

@media (max-width: 560px) {
	.ntw-collage { height: 330px; }
	.ntw-collage .ntw-tile figcaption { font-size: 0.625rem; }
}

/* ---------- venue ticker */

.ntw-ticker {
	overflow: hidden;
	border-block: 1px solid var(--line);
	background: var(--pink);
	color: #0a0a0a;
}

.ntw-ticker-track {
	display: flex;
	width: max-content;
	animation: ntw-scroll 60s linear infinite;
}

.ntw-ticker span {
	padding: 0.8rem 1.6rem;
	font-family: var(--mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ntw-ticker span::before {
	content: "/";
	margin-right: 1.6rem;
	opacity: 0.45;
}

@keyframes ntw-scroll { to { transform: translateX(-50%); } }

/* ---------- sections */

.ntw-section {
	padding: clamp(4.5rem, 10vw, 8rem) max(var(--gut), calc((100% - 1180px) / 2));
	border-bottom: 1px solid var(--line);
}

/* Grids and rows handle their own spacing; cancel WordPress flow-layout gaps. */
.ntw-home .ntw-people-grid > *,
.ntw-home .ntw-photos > *,
.ntw-home .ntw-day-events > *,
.ntw-home .ntw-stats > *,
.ntw-home .ntw-summit > *,
.ntw-home .ntw-day > * {
	margin-block-start: 0 !important;
}

.ntw-section-head {
	margin-bottom: 3.5rem !important;
}

.ntw-section-head > * { margin-block: 0 !important; }

.ntw-eyebrow {
	color: var(--pink);
	font-family: var(--mono);
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ntw-eyebrow::before {
	content: "";
	display: inline-block;
	width: 2.25rem;
	height: 1px;
	margin-right: 0.75rem;
	vertical-align: middle;
	background: currentColor;
}

.ntw-home .ntw-h2 {
	margin-top: 1rem !important;
	font-size: clamp(2.4rem, 6vw, 4.75rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.035em;
	color: var(--ink);
}

.ntw-home .ntw-h3 {
	margin: 3.5rem 0 1.5rem !important;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--line);
	color: var(--dim);
	font-size: 0.8125rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.ntw-body {
	max-width: 36em;
	margin-top: 1.25rem !important;
	color: var(--dim);
	line-height: 1.55;
}

/* ---------- summit */

.ntw-summit {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.ntw-summit > * { margin: 0 !important; }

.ntw-summit-media {
	position: sticky;
	top: 90px;
}

.ntw-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.35) contrast(1.05);
	transition: filter 0.5s;
}

.ntw-photo:hover img { filter: none; }

.ntw-summit-media .ntw-photo {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.ntw-summit-body > * { margin-block: 0; }

.ntw-agenda {
	margin: 2.25rem 0 !important;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.ntw-agenda li {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line);
	line-height: 1.4;
	transition: padding 0.25s, color 0.25s;
}

.ntw-agenda li:hover {
	padding-left: 0.5rem;
	color: #fff;
}

.ntw-agenda .ntw-mono { color: var(--pink); padding-top: 0.15em; }

.ntw-meta {
	margin-bottom: 1.75rem !important;
	color: var(--dim);
}

@media (max-width: 900px) {
	.ntw-summit { grid-template-columns: 1fr; }
	.ntw-summit-media { position: static; }
	.ntw-summit-media .ntw-photo { aspect-ratio: 16 / 10; }
}

/* ---------- schedule */

.ntw-day {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 2rem;
	padding: 2.5rem 0;
	border-top: 1px solid var(--line);
}

.ntw-day > * { margin: 0 !important; }

.ntw-day-head {
	position: sticky;
	top: 90px;
	align-self: start;
}

.ntw-day-head > * { margin: 0 !important; }

.ntw-day-dow { color: var(--pink); }

.ntw-home .ntw-day-date {
	margin-top: 0.25rem !important;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--ink);
}

.ntw-day-count {
	margin-top: 0.6rem !important;
	color: var(--dim);
}

.ntw-event {
	position: relative;
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr) 96px auto;
	gap: 1.5rem;
	align-items: center;
	padding: 1.25rem 1rem 1.25rem 0;
	border-bottom: 1px solid var(--line);
	transition: background 0.25s, padding 0.25s;
}

.ntw-event:first-child { padding-top: 0; }

.ntw-event > * { margin: 0 !important; }

.ntw-event::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 1.25rem;
	bottom: 1.25rem;
	width: 2px;
	background: var(--pink);
	transform: scaleY(0);
	transition: transform 0.3s;
}

.ntw-event:hover {
	background: linear-gradient(90deg, rgba(242, 41, 91, 0.07), transparent 70%);
	padding-left: 1rem;
}

.ntw-event:hover::before { transform: scaleY(1); }

.ntw-event-time {
	align-self: start;
	padding-top: 0.3rem;
	color: var(--dim);
}

.ntw-event-body > * { margin: 0 !important; }

.ntw-home .ntw-event-title {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.ntw-event-title a { text-decoration: none; }
.ntw-event-title a:hover { color: var(--pink); }

.ntw-event-venue {
	margin-top: 0.35rem !important;
	color: var(--ink);
	font-size: 0.9375rem;
	opacity: 0.8;
}

.ntw-event-hosts {
	margin-top: 0.2rem !important;
	color: var(--dim);
	font-size: 0.875rem;
}

.ntw-event-cover {
	width: 96px;
	aspect-ratio: 1;
	overflow: hidden;
}

.ntw-event-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.ntw-event:hover .ntw-event-cover img { transform: scale(1.08); }

@media (max-width: 900px) {
	.ntw-day { grid-template-columns: 1fr; gap: 1rem; }
	.ntw-day-head { position: static; display: flex; align-items: baseline; gap: 0.75rem; }
	.ntw-day-count { margin: 0 0 0 auto !important; }
	.ntw-event { grid-template-columns: 72px minmax(0, 1fr); gap: 0.4rem 1rem; padding: 1.25rem 0; }
	.ntw-event:hover { padding-left: 0; }
	.ntw-event-cover { grid-row: 1 / span 2; grid-column: 1; width: 72px; }
	.ntw-event-time { grid-column: 2; padding: 0; }
	.ntw-event-body { grid-column: 2; }
	.ntw-event-cta { grid-column: 2; }
}

.ntw-event-note {
	display: block;
	margin-top: 0.2rem;
	color: var(--amber);
	font-family: var(--mono);
	font-size: 0.75rem;
}

/* ---------- RSVP embed */

.ntw-embed {
	border: 1px solid var(--line);
	background: #fff;
}

.ntw-embed iframe {
	display: block;
	width: 100%;
	height: 720px;
	border: 0;
}

/* ---------- people */

.ntw-people-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
	gap: 2.5rem 1.5rem;
}

.ntw-people-grid-sm { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }

@media (max-width: 600px) {
	.ntw-people-grid,
	.ntw-people-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
	.ntw-person-event { font-size: 0.6875rem; }
}

.ntw-person > * { margin: 0 !important; }

.ntw-person-photo,
.ntw-person-mono {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 1rem !important;
}

.ntw-person-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	filter: grayscale(1) contrast(1.05);
	transition: filter 0.45s, transform 0.45s;
}

.ntw-person:hover .ntw-person-photo img {
	filter: none;
	transform: scale(1.07);
}

.ntw-person-mono {
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	background:
		linear-gradient(135deg, transparent 49.6%, var(--line) 49.8%, var(--line) 50.2%, transparent 50.4%);
	color: var(--ink);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 200;
	letter-spacing: 0.04em;
	transition: border-color 0.3s, color 0.3s;
}

.ntw-person:hover .ntw-person-mono {
	border-color: var(--pink);
	color: var(--pink);
}

.ntw-home .ntw-person-name {
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.25;
}

.ntw-person-role {
	margin-top: 0.3rem !important;
	color: var(--dim);
	font-size: 0.875rem;
	line-height: 1.4;
}

.ntw-person-event {
	margin-top: 0.5rem !important;
	font-size: 0.75rem;
}

.ntw-person-event a {
	color: var(--pink);
	text-decoration: none;
}

.ntw-person-event a:hover { text-decoration: underline; }

.ntw-partners {
	margin-top: 4rem !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.ntw-also {
	margin-top: 2.5rem !important;
	color: var(--dim);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.ntw-also strong { color: var(--ink); font-weight: 500; }
.ntw-also a { color: var(--pink); text-decoration: none; }
.ntw-also a:hover { text-decoration: underline; }

/* ---------- sponsors */

.ntw-sponsor-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.ntw-home .ntw-sponsor-grid > * { margin-block-start: 0 !important; }

.ntw-sponsor {
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transition: background 0.3s;
}

.ntw-sponsor:hover { background: rgba(242, 41, 91, 0.05); }
.ntw-sponsor > * { margin: 0 !important; }

.ntw-sponsor-logo {
	display: grid;
	place-items: center;
	height: 150px;
	margin-bottom: 1.5rem !important;
	background: var(--ink);
	overflow: hidden;
}

.ntw-sponsor-logo img {
	width: 72% !important;
	height: 96px !important;
	object-fit: contain;
	transition: transform 0.4s;
}

.ntw-sponsor:hover .ntw-sponsor-logo img { transform: scale(1.06); }

.ntw-home .ntw-sponsor-name { font-size: 1.125rem; font-weight: 500; }

.ntw-sponsor-blurb {
	margin-top: 0.6rem !important;
	color: var(--dim);
	font-size: 0.9rem;
	line-height: 1.55;
	flex: 1;
}

.ntw-sponsor-link { margin-top: 1.1rem !important; }
.ntw-sponsor-link a { color: var(--pink); text-decoration: none; }
.ntw-sponsor-link a:hover { text-decoration: underline; }

@media (max-width: 900px) { .ntw-sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ntw-sponsor-grid { grid-template-columns: 1fr; } }

/* ---------- powered by EqualSpace */

.ntw-powered {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	background:
		linear-gradient(115deg, transparent 49.9%, var(--line) 50%, transparent 50.1%),
		var(--bg-2);
}

.ntw-home .ntw-powered > * { margin: 0 !important; }
.ntw-powered-head > *, .ntw-powered-body > * { margin-block: 0 !important; }

.ntw-home .ntw-powered-logo {
	margin-top: 1.5rem !important;
	max-width: 420px;
}

.ntw-powered-logo img { width: 100%; height: auto; }

.ntw-powered-blurb {
	color: var(--ink);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	font-weight: 300;
	line-height: 1.6;
}

.ntw-powered-body .ntw-actions { margin-top: 2rem !important; }

@media (max-width: 800px) {
	.ntw-powered { grid-template-columns: 1fr; }
}

/* ---------- venues */

.ntw-venue-list {
	margin: 0 !important;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 3rem;
}

.ntw-venue-list li {
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	padding: 1rem 0;
	border-top: 1px solid var(--line);
	break-inside: avoid;
}

.ntw-venue-list .ntw-mono { grid-row: span 2; color: var(--pink); padding-top: 0.2em; }
.ntw-venue-list strong { font-weight: 500; }

.ntw-venue-list a {
	color: var(--dim);
	font-size: 0.875rem;
	text-decoration: none;
}

.ntw-venue-list a:hover { color: var(--pink); }

@media (max-width: 700px) {
	.ntw-venue-list { columns: 1; }
}

/* ---------- past years */

.ntw-photos {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 15rem));
	gap: 0.75rem;
}

.ntw-photos > * { margin: 0 !important; overflow: hidden; }
.ntw-photos > :first-child { grid-row: span 2; }
.ntw-photos > :nth-child(2) { grid-column: span 2; }

@media (max-width: 700px) {
	.ntw-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 14rem 10rem 10rem; }
	.ntw-photos > :first-child { grid-row: auto; grid-column: span 2; }
	.ntw-photos > :nth-child(2) { grid-column: auto; }
}

/* Past speakers: cutouts on a dark disc that turns pink on hover. */
.ntw-person-cutout {
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 1rem !important;
	border-radius: 50%;
	overflow: hidden;
	background: radial-gradient(circle at 50% 60%, #242424, #121212 70%);
	transition: background 0.4s;
}

.ntw-person-cutout img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	filter: grayscale(1);
	transition: filter 0.4s, transform 0.4s;
}

.ntw-person:hover .ntw-person-cutout { background: radial-gradient(circle at 50% 60%, #f2295b, #7a0f2c 75%); }
.ntw-person:hover .ntw-person-cutout img { filter: none; transform: scale(1.04); }

/* Photo albums */
.ntw-album {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: 11rem;
	gap: 0.6rem;
}

.ntw-home .ntw-album > * { margin: 0 !important; overflow: hidden; }
.ntw-album > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
.ntw-album > :nth-child(2) { grid-column: span 3; grid-row: span 2; }
.ntw-album > :nth-child(n+3) { grid-column: span 2; grid-row: span 1; }
.ntw-album-3 > * { grid-column: span 2 !important; grid-row: span 2 !important; }

@media (max-width: 700px) {
	.ntw-album { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9rem; }
	.ntw-album > * { grid-column: span 1 !important; grid-row: span 1 !important; }
	.ntw-album > :first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
}

.ntw-flyers {
	margin: 3rem calc(max(var(--gut), (100vw - 1180px) / 2) * -1) 0 !important;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ntw-flyers-track {
	display: flex;
	gap: 0.75rem;
	width: max-content;
	animation: ntw-scroll 140s linear infinite;
}

.ntw-flyers:hover .ntw-flyers-track { animation-play-state: paused; }

.ntw-flyers img {
	width: 180px;
	height: 180px;
	object-fit: cover;
	opacity: 0.75;
	transition: opacity 0.3s, transform 0.3s;
}

.ntw-flyers img:hover {
	opacity: 1;
	transform: translateY(-6px);
}

/* ---------- footer */

.ntw-footer {
	position: relative;
	padding: clamp(5rem, 12vw, 9rem) var(--gut) 2.5rem;
	text-align: center;
	overflow: hidden;
}

.ntw-footer > * {
	position: relative;
	z-index: 2;
	margin-inline: auto !important;
}

.ntw-home .ntw-footer-title {
	font-size: clamp(3rem, 10vw, 8rem);
}

.ntw-footer .ntw-actions { justify-content: center; }

.ntw-footer-host {
	margin-top: 5rem !important;
}

.ntw-footer-host > * { margin-block: 0 !important; }
.ntw-footer-label { color: var(--dim); }

.ntw-es-logo {
	display: inline-block;
	padding: 1rem 0 0.9rem;
	opacity: 0.9;
	transition: opacity 0.2s;
}

.ntw-es-logo:hover { opacity: 1; }
.ntw-es-logo img { display: block; width: 240px; height: auto; }

.ntw-footer-note { color: var(--dim); font-size: 0.9375rem; }

.ntw-social {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 3.5rem !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ntw-social a { text-decoration: none; color: var(--dim); }
.ntw-social a:hover { color: var(--pink); }

.ntw-copy {
	margin-top: 1.25rem !important;
	color: #55524d;
}

/* ---------- scroll reveal (JS adds .ntw-in) */

.ntw-js .ntw-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--d, 0s);
}

.ntw-js .ntw-reveal.ntw-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.ntw-lines path { animation: none; stroke-dashoffset: 0; }
	.ntw-ticker-track, .ntw-flyers-track { animation: none; }
	.ntw-js .ntw-reveal { opacity: 1; transform: none; transition: none; }
}
