.ayer-page {
	--ayer-ink: #15120f;
	--ayer-soft-ink: #4d4238;
	--ayer-cream: #fff7ea;
	--ayer-paper: #f8efe2;
	--ayer-sand: #e7d4b9;
	--ayer-terracotta: #b85d3f;
	--ayer-clay: #7b3f2f;
	--ayer-river: #126873;
	--ayer-olive: #59683d;
	--ayer-line: rgba(21, 18, 15, 0.12);
	--ayer-shadow: 0 28px 80px rgba(42, 31, 23, 0.18);
	background: var(--ayer-paper);
	color: var(--ayer-ink);
}

.ayer-page .container {
	max-width: 1188px;
}

.ayer-page h1,
.ayer-page h2,
.ayer-page h3 {
	hyphens: manual;
	letter-spacing: 0;
	overflow-wrap: normal;
	text-wrap: balance;
	word-break: normal;
}

.ayer-page .ec-section-head h2,
.ayer-story h2,
.ayer-contribute h2,
.ayer-qr h2 {
	font-size: clamp(32px, 4.6vw, 58px);
	line-height: 1.04;
	max-width: 860px;
}

.ayer-page a,
.ayer-page button {
	text-decoration: none;
}

.ayer-hero,
.ayer-detail-hero {
	background: #18120e;
	color: #fff;
	isolation: isolate;
	min-height: 760px;
	overflow: hidden;
	padding: 190px 0 96px;
	position: relative;
}

.ayer-detail-hero {
	min-height: 620px;
	padding-bottom: 82px;
}

.ayer-hero__media,
.ayer-detail-hero__media {
	inset: 0;
	position: absolute;
	z-index: -3;
}

.ayer-hero__media img,
.ayer-detail-hero__media img {
	filter: saturate(0.9) contrast(1.02);
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ayer-hero__shade {
	background:
		linear-gradient(90deg, rgba(17, 11, 7, 0.88), rgba(70, 38, 27, 0.58) 48%, rgba(18, 104, 115, 0.24)),
		linear-gradient(180deg, rgba(17, 11, 7, 0.28), rgba(17, 11, 7, 0.84));
	inset: 0;
	position: absolute;
	z-index: -2;
}

.ayer-hero .container,
.ayer-detail-hero .container {
	align-items: end;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 360px;
	min-height: 470px;
}

.ayer-detail-hero .container {
	grid-template-columns: minmax(0, 1fr);
}

.ayer-hero__content,
.ayer-detail-hero__content {
	max-width: 770px;
}

.ayer-hero h1,
.ayer-detail-hero h1 {
	color: #fff;
	font-size: clamp(52px, 8vw, 112px);
	letter-spacing: 0;
	line-height: 0.94;
	margin: 0 0 24px;
	max-width: 940px;
	text-wrap: balance;
}

.ayer-detail-hero h1 {
	font-size: clamp(44px, 6.4vw, 88px);
	line-height: 0.98;
	max-width: 980px;
}

.ayer-hero p:not(.ec-eyebrow),
.ayer-detail-hero p:not(.ec-eyebrow) {
	color: rgba(255, 247, 234, 0.88);
	font-size: clamp(18px, 2.2vw, 26px);
	line-height: 1.35;
	margin: 0;
	max-width: 690px;
}

.ayer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.ayer-btn {
	align-items: center;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 950;
	gap: 10px;
	justify-content: center;
	min-height: 54px;
	padding: 0 22px;
	transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
	white-space: nowrap;
}

.ayer-btn:hover {
	transform: translateY(-2px);
}

.ayer-btn--primary {
	background: #fff7ea;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
	color: var(--ayer-ink) !important;
}

.ayer-btn--ghost {
	background: rgba(255, 247, 234, 0.12);
	border: 1px solid rgba(255, 247, 234, 0.34);
	color: #fff7ea !important;
}

.ayer-btn--dark {
	background: var(--ayer-ink);
	box-shadow: 0 18px 46px rgba(21, 18, 15, 0.18);
	color: #fff7ea !important;
}

.ayer-hero__panel {
	backdrop-filter: blur(22px) saturate(1.05);
	background: rgba(255, 247, 234, 0.12);
	border: 1px solid rgba(255, 247, 234, 0.22);
	border-radius: 28px;
	box-shadow: var(--ayer-shadow);
	padding: 26px;
}

.ayer-hero__panel span {
	color: rgba(255, 247, 234, 0.72);
	display: block;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.ayer-hero__panel strong {
	color: #fff;
	display: block;
	font-size: 28px;
	line-height: 1.1;
}

.ayer-hero__panel small {
	color: rgba(255, 247, 234, 0.76);
	display: block;
	font-weight: 800;
	margin-top: 14px;
}

.ayer-progress {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	height: 10px;
	margin-top: 18px;
	overflow: hidden;
}

.ayer-progress span {
	background: linear-gradient(90deg, var(--ayer-terracotta), #d8a356, var(--ayer-river));
	border-radius: inherit;
	display: block;
	height: 100%;
}

.ayer-intro,
.ayer-points,
.ayer-qr,
.ayer-contribute,
.ayer-story,
.ayer-compare-section,
.ayer-timeline-section,
.ayer-gallery,
.ayer-related {
	padding: 92px 0;
}

.ayer-intro .container {
	align-items: center;
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
}

.ayer-intro__text h2,
.ayer-qr h2,
.ayer-contribute h2,
.ayer-story h2 {
	color: var(--ayer-ink);
	font-size: clamp(34px, 5vw, 64px);
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	text-wrap: balance;
}

.ayer-intro__cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayer-intro__cards article {
	background: rgba(255, 247, 234, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: 24px;
	box-shadow: 0 18px 48px rgba(42, 31, 23, 0.1);
	min-height: 190px;
	padding: 24px;
	transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ayer-intro__cards article:hover,
.ayer-point-card:hover {
	box-shadow: 0 24px 62px rgba(42, 31, 23, 0.17);
	transform: translateY(-5px);
}

.ayer-intro__cards i {
	align-items: center;
	background: var(--ayer-ink);
	border-radius: 18px;
	color: #fff7ea;
	display: flex;
	font-size: 22px;
	height: 52px;
	justify-content: center;
	margin-bottom: 20px;
	width: 52px;
}

.ayer-intro__cards strong,
.ayer-intro__cards span {
	display: block;
}

.ayer-intro__cards strong {
	color: var(--ayer-ink);
	font-size: 20px;
	line-height: 1.1;
	margin-bottom: 8px;
}

.ayer-intro__cards span,
.ayer-points .ec-section-head p,
.ayer-timeline-section .ec-section-head p,
.ayer-compare-section .ec-section-head p {
	color: var(--ayer-soft-ink);
	font-size: 16px;
	line-height: 1.55;
}

.ayer-points {
	background: #fffaf2;
}

.ayer-point-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayer-point-grid--small {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayer-point-card {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 28px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.1);
	color: var(--ayer-ink);
	overflow: hidden;
	transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ayer-point-card__media {
	aspect-ratio: 1.28 / 1;
	background: var(--ayer-sand);
	overflow: hidden;
	position: relative;
}

.ayer-point-card__media img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
	width: 100%;
}

.ayer-point-card:hover img {
	transform: scale(1.055);
}

.ayer-point-card__media::after {
	background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.34));
	content: "";
	inset: 0;
	position: absolute;
}

.ayer-point-card__media span {
	background: rgba(255, 247, 234, 0.9);
	border-radius: 999px;
	color: var(--ayer-ink);
	font-size: 12px;
	font-weight: 950;
	left: 18px;
	padding: 8px 12px;
	position: absolute;
	top: 18px;
	z-index: 1;
}

.ayer-point-card__body {
	padding: 24px;
}

.ayer-point-card__body small {
	color: var(--ayer-terracotta);
	display: block;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.ayer-point-card__body h3 {
	color: var(--ayer-ink);
	font-size: clamp(22px, 2vw, 27px);
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 12px;
	text-wrap: balance;
}

.ayer-point-card__body p {
	color: var(--ayer-soft-ink);
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 20px;
}

.ayer-point-card__body strong {
	align-items: center;
	color: var(--ayer-ink);
	display: inline-flex;
	font-size: 14px;
	font-weight: 950;
	gap: 8px;
}

.ayer-point-card--rio .ayer-point-card__body small { color: var(--ayer-river); }
.ayer-point-card--grafito .ayer-point-card__body small { color: #2d2a26; }
.ayer-point-card--terracota .ayer-point-card__body small { color: var(--ayer-clay); }

.ayer-qr {
	background: var(--ayer-paper);
}

.ayer-qr .container {
	align-items: center;
	display: grid;
	gap: 42px;
	grid-template-columns: 260px minmax(0, 1fr);
}

.ayer-qr__visual {
	background: #fffaf2;
	border: 14px solid #fff;
	border-radius: 34px;
	box-shadow: var(--ayer-shadow);
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
	height: 220px;
	padding: 26px;
	width: 220px;
}

.ayer-qr__visual span {
	background:
		linear-gradient(90deg, var(--ayer-ink) 28%, transparent 28% 44%, var(--ayer-river) 44% 70%, transparent 70%),
		linear-gradient(0deg, transparent 18%, var(--ayer-terracotta) 18% 36%, transparent 36% 58%, var(--ayer-ink) 58%);
	border-radius: 10px;
}

.ayer-qr p,
.ayer-contribute p,
.ayer-story__copy p {
	color: var(--ayer-soft-ink);
	font-size: 19px;
	line-height: 1.6;
	margin: 18px 0 0;
	max-width: 720px;
}

.ayer-contribute__inner {
	align-items: center;
	background: #fffaf2;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 34px;
	box-shadow: var(--ayer-shadow);
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 42px;
}

.ayer-contribute__place {
	background: rgba(248, 239, 226, 0.72);
	border: 1px solid rgba(21, 18, 15, 0.08);
	border-radius: 24px;
	display: grid;
	gap: 12px;
	min-width: min(100%, 360px);
	padding: 18px;
}

.ayer-contribute__place label {
	color: var(--ayer-ink);
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-transform: uppercase;
}

.ayer-contribute__place input {
	background: #fffaf2;
	border: 1px solid rgba(21, 18, 15, 0.12);
	border-radius: 16px;
	color: var(--ayer-ink);
	font: inherit;
	min-height: 50px;
	padding: 12px 14px;
	width: 100%;
}

.ayer-back {
	align-items: center;
	color: rgba(255, 247, 234, 0.82) !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 950;
	gap: 10px;
	margin-bottom: 26px;
}

.ayer-story .container {
	align-items: start;
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
}

.ayer-story__copy span {
	align-items: center;
	color: var(--ayer-river);
	display: flex;
	font-weight: 950;
	gap: 9px;
	margin-top: 22px;
}

.ayer-photo-pair {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ayer-photo-pair figure,
.ayer-gallery figure {
	background: #fffaf2;
	border-radius: 26px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.1);
	margin: 0;
	overflow: hidden;
}

.ayer-photo-pair img,
.ayer-gallery img {
	aspect-ratio: 0.85 / 1;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ayer-photo-pair figcaption,
.ayer-gallery figcaption {
	color: var(--ayer-soft-ink);
	font-size: 13px;
	font-weight: 900;
	padding: 14px 16px;
}

.ayer-placeholder-photo {
	align-items: stretch;
	display: flex;
	flex-direction: column;
}

.ayer-placeholder-photo > div {
	align-items: center;
	aspect-ratio: 0.85 / 1;
	background:
		linear-gradient(135deg, rgba(184, 93, 63, 0.18), rgba(18, 104, 115, 0.14)),
		repeating-linear-gradient(45deg, rgba(21, 18, 15, 0.08) 0 1px, transparent 1px 12px);
	color: var(--ayer-ink);
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	padding: 28px;
	text-align: center;
}

.ayer-placeholder-photo i,
.ayer-gallery__placeholder i {
	font-size: 34px;
	margin-bottom: 14px;
}

.ayer-placeholder-photo strong,
.ayer-placeholder-photo span {
	display: block;
}

.ayer-placeholder-photo strong {
	font-size: 22px;
	line-height: 1.1;
	margin-bottom: 8px;
}

.ayer-placeholder-photo span {
	color: var(--ayer-soft-ink);
	font-size: 14px;
	line-height: 1.4;
}

.ayer-compare-section {
	background: #fffaf2;
}

.ayer-compare-section--lead {
	background:
		linear-gradient(180deg, #fffaf2, var(--ayer-paper));
	padding-top: 86px;
}

.ayer-compare {
	--position: 50%;
	aspect-ratio: 16 / 10;
	background: var(--ayer-ink);
	border-radius: 34px;
	box-shadow: var(--ayer-shadow);
	margin: 0 auto;
	max-width: 1040px;
	overflow: hidden;
	position: relative;
	touch-action: pan-y;
}

.ayer-before-today,
.ayer-curiosities {
	padding: 92px 0;
}

.ayer-before-today {
	background: var(--ayer-paper);
}

.ayer-before-today__grid,
.ayer-curiosities__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ayer-before-today__grid article,
.ayer-curiosities__grid article {
	background: #fffaf2;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 26px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.1);
	padding: 28px;
}

.ayer-before-today__grid span {
	color: var(--ayer-terracotta);
	display: block;
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0.08em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.ayer-before-today__grid ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ayer-before-today__grid li {
	color: var(--ayer-soft-ink);
	font-size: 16px;
	line-height: 1.55;
	padding-left: 22px;
	position: relative;
}

.ayer-before-today__grid li::before {
	background: var(--ayer-river);
	border-radius: 999px;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 9px;
	width: 7px;
}

.ayer-curiosities {
	background: #fffaf2;
}

.ayer-curiosities__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayer-curiosities__grid article {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-columns: 42px minmax(0, 1fr);
}

.ayer-curiosities__grid i {
	align-items: center;
	background: rgba(184, 93, 63, 0.12);
	border-radius: 999px;
	color: var(--ayer-terracotta);
	display: flex;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.ayer-curiosities__grid p {
	color: var(--ayer-soft-ink);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
}

.ayer-compare__image {
	inset: 0;
	position: absolute;
}

.ayer-compare__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ayer-compare__image span {
	background: rgba(255, 247, 234, 0.92);
	border-radius: 999px;
	color: var(--ayer-ink);
	font-size: 12px;
	font-weight: 950;
	padding: 9px 13px;
	position: absolute;
	top: 18px;
	z-index: 3;
}

.ayer-compare__after span {
	right: 18px;
}

.ayer-compare__before {
	clip-path: inset(0 50% 0 0);
	z-index: 2;
}

.ayer-compare__before span {
	left: 18px;
}

.ayer-archive-placeholder {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(21, 18, 15, 0.86), rgba(123, 63, 47, 0.82)),
		repeating-linear-gradient(45deg, rgba(255, 247, 234, 0.12) 0 2px, transparent 2px 16px);
	color: #fff7ea;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding: 28px;
	text-align: center;
	width: 100%;
}

.ayer-archive-placeholder i {
	font-size: 50px;
	margin-bottom: 18px;
}

.ayer-archive-placeholder strong {
	font-size: clamp(42px, 8vw, 82px);
	line-height: 0.92;
}

.ayer-archive-placeholder small {
	font-size: 15px;
	font-weight: 900;
	margin-top: 10px;
}

.ayer-compare__handle {
	align-items: center;
	background: #fff7ea;
	border-radius: 999px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
	color: var(--ayer-ink);
	display: flex;
	height: 52px;
	justify-content: center;
	left: var(--position);
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	z-index: 4;
}

.ayer-compare__handle::before {
	background: #fff7ea;
	content: "";
	height: 999px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 3px;
	z-index: -1;
}

.ayer-compare input[type="range"] {
	appearance: none;
	background: transparent;
	cursor: ew-resize;
	height: 100%;
	inset: 0;
	opacity: 0;
	position: absolute;
	width: 100%;
	z-index: 5;
}

.ayer-timeline {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ayer-timeline article {
	background: #fffaf2;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 26px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.1);
	padding: 26px;
}

.ayer-timeline span {
	color: var(--ayer-terracotta);
	display: block;
	font-size: 28px;
	font-weight: 950;
	line-height: 1;
	margin-bottom: 16px;
}

.ayer-timeline p {
	color: var(--ayer-soft-ink);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
}

.ayer-gallery {
	background: #fffaf2;
}

.ayer-gallery__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.ayer-gallery figure:first-child img {
	aspect-ratio: 1.3 / 1;
	height: 100%;
}

.ayer-gallery__placeholder {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(184, 93, 63, 0.12), rgba(18, 104, 115, 0.14)),
		#fff7ea;
	color: var(--ayer-ink);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 260px;
	padding: 24px;
	text-align: center;
}

.ayer-gallery__placeholder span {
	font-size: 18px;
	font-weight: 950;
}

.ayer-related {
	background: var(--ayer-paper);
}

.ayer-hero--experience .container {
	align-items: center;
	grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
}

.ayer-hero__quote {
	border-left: 3px solid #d8a356;
	color: #fff7ea;
	display: block;
	font-size: clamp(20px, 2.5vw, 34px);
	font-weight: 800;
	line-height: 1.2;
	margin-top: 28px;
	max-width: 620px;
	padding-left: 18px;
}

.ayer-hero-memory {
	background: rgba(255, 247, 234, 0.12);
	backdrop-filter: blur(22px) saturate(1.06);
	border: 1px solid rgba(255, 247, 234, 0.22);
	border-radius: 34px;
	box-shadow: var(--ayer-shadow);
	padding: 22px;
}

.ayer-hero-memory__years {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 34px 1fr;
	margin-bottom: 16px;
}

.ayer-hero-memory__years span {
	color: #fff7ea;
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 800;
	line-height: 0.95;
	text-align: center;
}

.ayer-hero-memory__years i {
	background: rgba(255, 247, 234, 0.32);
	height: 2px;
	position: relative;
}

.ayer-hero-memory__years i::before {
	background: #d8a356;
	border-radius: 999px;
	content: "";
	height: 34px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 2px;
}

.ayer-mini-compare {
	aspect-ratio: 1.12 / 1;
	background: #15120f;
	border-radius: 26px;
	overflow: hidden;
	position: relative;
}

.ayer-mini-compare__now,
.ayer-mini-compare__old {
	background-image: url("/images/encarnacion/playas-costanera/playa-san-jose.jpg");
	background-position: center;
	background-size: cover;
	inset: 0;
	position: absolute;
}

.ayer-mini-compare__old {
	background:
		linear-gradient(135deg, rgba(21, 18, 15, 0.78), rgba(123, 63, 47, 0.74)),
		repeating-linear-gradient(45deg, rgba(255, 247, 234, 0.12) 0 2px, transparent 2px 15px);
	clip-path: inset(0 48% 0 0);
}

.ayer-mini-compare b {
	background: #fff7ea;
	height: 100%;
	left: 52%;
	position: absolute;
	top: 0;
	width: 3px;
}

.ayer-mini-compare small {
	background: rgba(255, 247, 234, 0.92);
	border-radius: 999px;
	bottom: 16px;
	color: var(--ayer-ink);
	font-size: 12px;
	font-weight: 950;
	left: 16px;
	padding: 8px 12px;
	position: absolute;
}

.ayer-hero-plaque {
	align-items: center;
	background: rgba(21, 18, 15, 0.54);
	border: 1px solid rgba(255, 247, 234, 0.14);
	border-radius: 22px;
	display: grid;
	gap: 14px;
	grid-template-columns: 74px 1fr;
	margin-top: 14px;
	padding: 14px;
}

.ayer-hero-plaque p {
	color: rgba(255, 247, 234, 0.82);
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
}

.ayer-qr-dots {
	background: #fff7ea;
	border-radius: 16px;
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(2, 1fr);
	height: 74px;
	padding: 10px;
	width: 74px;
}

.ayer-qr-dots span {
	background: var(--ayer-ink);
	border-radius: 5px;
}

.ayer-point-card {
	background:
		linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(247, 234, 216, 0.92)),
		#fff;
	position: relative;
}

.ayer-point-card::before {
	border: 1px solid rgba(21, 18, 15, 0.08);
	border-radius: 22px;
	content: "";
	inset: 12px;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.ayer-point-card__body em {
	color: rgba(21, 18, 15, 0.14);
	display: block;
	font-size: clamp(52px, 7vw, 88px);
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.82;
	margin: 0 0 12px;
}

.ayer-point-card__body small {
	background: rgba(184, 93, 63, 0.1);
	border-radius: 999px;
	display: inline-flex;
	margin-bottom: 16px;
	padding: 8px 11px;
}

.ayer-map-route,
.ayer-lost-city,
.ayer-city-timeline {
	padding: 92px 0;
}

.ayer-map-route,
.ayer-city-timeline {
	background: var(--ayer-paper);
}

.ayer-map-card {
	background:
		linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(231, 212, 185, 0.76)),
		#fff7ea;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 34px;
	box-shadow: var(--ayer-shadow);
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) 340px;
	padding: 30px;
}

.ayer-map-card__canvas {
	background:
		radial-gradient(circle at 20% 25%, rgba(18, 104, 115, 0.16), transparent 25%),
		radial-gradient(circle at 78% 72%, rgba(184, 93, 63, 0.16), transparent 24%),
		linear-gradient(135deg, rgba(21, 18, 15, 0.08), transparent 42%),
		repeating-linear-gradient(22deg, rgba(21, 18, 15, 0.06) 0 1px, transparent 1px 18px);
	border-radius: 28px;
	min-height: 500px;
	position: relative;
}

.ayer-map-card__canvas::before {
	background: rgba(18, 104, 115, 0.28);
	border-radius: 999px;
	content: "";
	height: 62%;
	left: 18%;
	position: absolute;
	top: 16%;
	transform: rotate(-28deg);
	width: 18px;
}

.ayer-map-card__canvas::after {
	border: 3px dashed rgba(184, 93, 63, 0.48);
	border-left: 0;
	border-radius: 45% 55% 48% 45%;
	content: "";
	inset: 16% 14% 12% 24%;
	position: absolute;
	transform: rotate(-6deg);
}

.ayer-map-dot {
	align-items: center;
	background: #15120f;
	border: 4px solid #fff7ea;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(42, 31, 23, 0.24);
	color: #fff7ea;
	display: flex;
	font-size: 14px;
	font-weight: 950;
	height: 42px;
	justify-content: center;
	position: absolute;
	width: 42px;
	z-index: 2;
}

.ayer-map-dot--1 { left: 20%; top: 18%; }
.ayer-map-dot--2 { left: 38%; top: 26%; }
.ayer-map-dot--3 { left: 56%; top: 20%; }
.ayer-map-dot--4 { left: 70%; top: 34%; }
.ayer-map-dot--5 { left: 58%; top: 48%; }
.ayer-map-dot--6 { left: 42%; top: 58%; }
.ayer-map-dot--7 { left: 76%; top: 64%; }
.ayer-map-dot--8 { left: 61%; top: 76%; }
.ayer-map-dot--9 { left: 31%; top: 74%; }
.ayer-map-dot--10 { left: 18%; top: 54%; }

.ayer-map-list {
	counter-reset: map;
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ayer-map-list li {
	align-items: center;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(21, 18, 15, 0.08);
	border-radius: 18px;
	color: var(--ayer-ink);
	display: flex;
	font-size: 15px;
	font-weight: 850;
	gap: 10px;
	padding: 12px 14px;
}

.ayer-map-list li::before {
	align-items: center;
	background: var(--ayer-terracotta);
	border-radius: 999px;
	color: #fff7ea;
	content: counter(map);
	counter-increment: map;
	display: flex;
	flex: 0 0 28px;
	font-size: 12px;
	font-weight: 950;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.ayer-lost-city {
	background: #fffaf2;
}

.ayer-editorial-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ayer-editorial-grid article {
	background: transparent;
	border-bottom: 1px solid rgba(21, 18, 15, 0.18);
	border-top: 1px solid rgba(21, 18, 15, 0.18);
	min-height: 300px;
	padding: 24px 0;
}

.ayer-editorial-grid span {
	color: var(--ayer-terracotta);
	display: block;
	font-size: 13px;
	font-weight: 950;
	margin-bottom: 34px;
}

.ayer-editorial-grid h3 {
	color: var(--ayer-ink);
	font-size: 27px;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 18px;
}

.ayer-editorial-grid p {
	color: var(--ayer-soft-ink);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.ayer-city-timeline__rail {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding: 4px 2px 18px;
	scroll-snap-type: x mandatory;
}

.ayer-city-timeline__rail article {
	background: #fffaf2;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 26px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.1);
	flex: 0 0 270px;
	min-height: 210px;
	padding: 26px;
	scroll-snap-align: start;
}

.ayer-city-timeline__rail span {
	color: var(--ayer-river);
	display: block;
	font-size: 44px;
	font-weight: 800;
	line-height: 0.9;
	margin-bottom: 22px;
}

.ayer-city-timeline__rail p {
	color: var(--ayer-soft-ink);
	font-size: 17px;
	line-height: 1.5;
	margin: 0;
}

.ayer-physical-plaque {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(231, 212, 185, 0.82)),
		#f4eadb;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 34px;
	box-shadow: 0 28px 80px rgba(42, 31, 23, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
	display: grid;
	gap: 22px;
	justify-items: center;
	max-width: 300px;
	padding: 28px;
	text-align: center;
}

.ayer-physical-plaque > div:first-child strong {
	color: var(--ayer-ink);
	display: block;
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 12px;
}

.ayer-physical-plaque > div:first-child p {
	color: var(--ayer-soft-ink);
	font-size: 14px;
	line-height: 1.4;
	margin: 0;
}

.ayer-physical-plaque .ayer-qr__visual {
	border-width: 10px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.14);
	height: 190px;
	width: 190px;
}

.ayer-location-card {
	background: #fffaf2;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 24px;
	box-shadow: 0 18px 46px rgba(42, 31, 23, 0.1);
	margin-top: 24px;
	padding: 18px;
}

.ayer-location-card--wide {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 0 24px;
	padding: 22px;
}

.ayer-location-card strong {
	color: var(--ayer-ink);
	display: block;
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.ayer-location-card span,
.ayer-location-card a {
	align-items: center;
	display: flex;
	font-weight: 900;
	gap: 9px;
}

.ayer-location-card span {
	color: var(--ayer-river);
	margin: 0 0 12px;
}

.ayer-location-card p {
	color: var(--ayer-soft-ink);
	font-size: 15px;
	line-height: 1.45;
	margin: 10px 0 0;
}

.ayer-location-card a {
	background: rgba(21, 18, 15, 0.08);
	border-radius: 999px;
	color: var(--ayer-ink) !important;
	justify-content: center;
	min-height: 48px;
	padding: 0 16px;
	white-space: nowrap;
}

.ayer-btn--checkin {
	background: linear-gradient(135deg, #fff7ea, #d8a356);
	box-shadow: 0 22px 58px rgba(216, 163, 86, 0.32);
	font-size: 15px;
	min-height: 62px;
	padding: 0 26px;
}

.ayer-detail-page .ayer-compare-section {
	padding-top: 104px;
}

.ayer-detail-page .ayer-compare {
	aspect-ratio: 16 / 8.4;
	border-radius: 38px;
	max-width: 1188px;
}

.ayer-detail-page .ayer-compare__handle {
	height: 64px;
	width: 64px;
}

.ayer-source-note {
	color: var(--ayer-soft-ink);
	font-size: 14px;
	line-height: 1.45;
	margin: 18px 0 0;
}

.ayer-source-note a {
	color: var(--ayer-river) !important;
	font-weight: 900;
}

.ayer-photo-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity 0.22s ease;
	z-index: 100000;
}

.ayer-photo-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ayer-photo-modal__backdrop {
	background: rgba(21, 18, 15, 0.68);
	inset: 0;
	position: absolute;
}

.ayer-photo-modal__dialog {
	background: var(--ayer-cream);
	border-radius: 30px;
	box-shadow: 0 34px 120px rgba(21, 18, 15, 0.34);
	max-height: min(90vh, 860px);
	max-width: 860px;
	overflow: auto;
	padding: 30px;
	position: relative;
	width: calc(100% - 28px);
}

.ayer-photo-modal__close {
	align-items: center;
	background: var(--ayer-ink);
	border: 0;
	border-radius: 999px;
	color: #fff7ea;
	display: flex;
	height: 44px;
	justify-content: center;
	position: absolute;
	right: 18px;
	top: 18px;
	width: 44px;
}

.ayer-photo-modal__head {
	padding-right: 48px;
}

.ayer-photo-modal__head h2 {
	color: var(--ayer-ink);
	font-size: clamp(34px, 5vw, 58px);
	letter-spacing: 0;
	line-height: 0.96;
	margin: 0 0 14px;
}

.ayer-photo-modal__head p:not(.ec-eyebrow) {
	color: var(--ayer-soft-ink);
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 24px;
	max-width: 640px;
}

.ayer-photo-form {
	display: grid;
	gap: 16px;
}

.ayer-dropzone {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(184, 93, 63, 0.1), rgba(18, 104, 115, 0.1)),
		#fffaf2;
	border: 2px dashed rgba(21, 18, 15, 0.22);
	border-radius: 24px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 220px;
	padding: 24px;
	text-align: center;
	transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.ayer-dropzone.is-dragging {
	background: #fff2dc;
	border-color: var(--ayer-terracotta);
	transform: scale(0.99);
}

.ayer-dropzone input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.ayer-dropzone i {
	color: var(--ayer-terracotta);
	font-size: 38px;
	margin-bottom: 14px;
}

.ayer-dropzone strong,
.ayer-dropzone span,
.ayer-dropzone small {
	display: block;
}

.ayer-dropzone strong {
	color: var(--ayer-ink);
	font-size: 22px;
	line-height: 1.1;
}

.ayer-dropzone span,
.ayer-dropzone small {
	color: var(--ayer-soft-ink);
	margin-top: 6px;
}

.ayer-upload-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ayer-upload-list li {
	align-items: center;
	background: #fffaf2;
	border: 1px solid rgba(21, 18, 15, 0.08);
	border-radius: 14px;
	color: var(--ayer-ink);
	display: grid;
	gap: 10px;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	padding: 10px 12px;
}

.ayer-upload-list span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ayer-upload-list small {
	color: var(--ayer-soft-ink);
}

.ayer-form-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ayer-photo-form label span,
.ayer-rights-box strong {
	color: var(--ayer-ink);
	display: block;
	font-size: 13px;
	font-weight: 950;
	margin-bottom: 8px;
}

.ayer-photo-form input[type="text"],
.ayer-photo-form textarea {
	background: #fffaf2;
	border: 1px solid rgba(21, 18, 15, 0.12);
	border-radius: 16px;
	color: var(--ayer-ink);
	font: inherit;
	min-height: 50px;
	padding: 12px 14px;
	width: 100%;
}

.ayer-photo-form textarea {
	resize: vertical;
}

.ayer-rights-box {
	background: rgba(255, 250, 242, 0.72);
	border: 1px solid rgba(21, 18, 15, 0.08);
	border-radius: 20px;
	display: grid;
	gap: 10px;
	padding: 16px;
}

.ayer-rights-box label {
	align-items: flex-start;
	color: var(--ayer-soft-ink);
	display: flex;
	font-size: 14px;
	gap: 10px;
	line-height: 1.4;
}

.ayer-rights-box input {
	margin-top: 3px;
}

.ayer-photo-form__note,
.ayer-photo-form__success {
	color: var(--ayer-soft-ink);
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

.ayer-photo-form__success {
	background: rgba(18, 104, 115, 0.1);
	border: 1px solid rgba(18, 104, 115, 0.18);
	border-radius: 16px;
	color: var(--ayer-river);
	display: none;
	font-weight: 900;
	padding: 12px 14px;
}

.ayer-photo-form__success.is-visible {
	display: block;
}

.ayer-photo-form__success.is-error {
	background: rgba(184, 93, 63, 0.1);
	border-color: rgba(184, 93, 63, 0.22);
	color: var(--ayer-terracotta);
}

.ayer-photo-form button[disabled] {
	cursor: wait;
	opacity: 0.72;
}

body.ayer-photo-modal-open {
	overflow: hidden;
}

@media (max-width: 1100px) {
	.ayer-hero .container,
	.ayer-detail-hero .container,
	.ayer-hero--experience .container,
	.ayer-intro .container,
	.ayer-story .container,
	.ayer-map-card {
		grid-template-columns: 1fr;
	}

	.ayer-hero__panel,
	.ayer-hero-memory {
		max-width: 460px;
	}

	.ayer-point-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ayer-editorial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ayer-hero,
	.ayer-detail-hero {
		min-height: auto;
		padding: 142px 0 68px;
	}

	.ayer-hero .container,
	.ayer-detail-hero .container {
		min-height: 0;
	}

	.ayer-hero h1,
	.ayer-detail-hero h1 {
		font-size: clamp(38px, 12vw, 58px);
		line-height: 1;
		max-width: 100%;
	}

	.ayer-detail-hero h1 {
		font-size: clamp(36px, 11vw, 52px);
	}

	.ayer-page .ec-section-head h2,
	.ayer-story h2,
	.ayer-contribute h2,
	.ayer-qr h2 {
		font-size: clamp(28px, 9vw, 40px);
		line-height: 1.08;
	}

	.ayer-actions,
	.ayer-btn,
	.ayer-contribute__inner {
		width: 100%;
	}

	.ayer-btn {
		white-space: normal;
	}

	.ayer-intro,
	.ayer-points,
	.ayer-qr,
	.ayer-contribute,
	.ayer-story,
	.ayer-compare-section,
	.ayer-before-today,
	.ayer-curiosities,
	.ayer-timeline-section,
	.ayer-gallery,
	.ayer-related,
	.ayer-map-route,
	.ayer-lost-city,
	.ayer-city-timeline {
		padding: 64px 0;
	}

	.ayer-intro__cards,
	.ayer-point-grid,
	.ayer-point-grid--small,
	.ayer-photo-pair,
	.ayer-timeline,
	.ayer-gallery__grid,
	.ayer-before-today__grid,
	.ayer-curiosities__grid,
	.ayer-editorial-grid,
	.ayer-form-grid,
	.ayer-contribute__inner,
	.ayer-location-card--wide,
	.ayer-qr .container {
		grid-template-columns: 1fr;
	}

	.ayer-hero-memory {
		border-radius: 26px;
		padding: 16px;
	}

	.ayer-hero__quote {
		font-size: 21px;
	}

	.ayer-hero-plaque {
		grid-template-columns: 62px 1fr;
	}

	.ayer-qr-dots {
		height: 62px;
		width: 62px;
	}

	.ayer-point-card__body em {
		font-size: 64px;
	}

	.ayer-map-card {
		border-radius: 26px;
		padding: 16px;
	}

	.ayer-map-card__canvas {
		min-height: 420px;
	}

	.ayer-map-dot {
		height: 36px;
		width: 36px;
	}

	.ayer-editorial-grid article {
		min-height: 0;
		padding: 22px 0;
	}

	.ayer-editorial-grid span {
		margin-bottom: 18px;
	}

	.ayer-intro__cards article {
		min-height: 0;
	}

	.ayer-qr__visual {
		height: 190px;
		width: 190px;
	}

	.ayer-contribute__inner {
		border-radius: 26px;
		padding: 28px;
	}

	.ayer-contribute__place {
		min-width: 0;
		width: 100%;
	}

	.ayer-compare {
		aspect-ratio: 4 / 5;
		border-radius: 26px;
	}

	.ayer-location-card a {
		white-space: normal;
		width: 100%;
	}

	.ayer-before-today__grid article,
	.ayer-curiosities__grid article {
		border-radius: 22px;
		padding: 22px;
	}

	.ayer-detail-page .ayer-compare {
		aspect-ratio: 4 / 5.2;
		border-radius: 28px;
	}

	.ayer-detail-page .ayer-compare__handle {
		height: 58px;
		width: 58px;
	}

	.ayer-physical-plaque {
		max-width: none;
		width: 100%;
	}

	.ayer-photo-modal {
		align-items: stretch;
	}

	.ayer-photo-modal__dialog {
		border-radius: 0;
		max-height: none;
		padding: 22px;
		width: 100%;
	}

	.ayer-photo-modal__head {
		padding-right: 54px;
	}

	.ayer-point-card,
	.ayer-photo-pair figure,
	.ayer-gallery figure {
		border-radius: 24px;
	}
}
