/* ----- About page ----- */

.argyll-about-template .wp-site-blocks {
	background: var(--wp--preset--color--base);
}

.argyll-about-main {
	margin-block-start: 0;
	overflow: clip;
}

/* Hero */

.argyll-about-hero .wp-block-cover__background {
	background-image: linear-gradient(180deg, rgba(65, 72, 96, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
	opacity: 1;
}

.argyll-about-hero.wp-block-cover {
	align-items: flex-end;
	justify-content: flex-end;
}

.argyll-about-hero .wp-block-cover__inner-container {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin: 0 auto;
	max-width: 1760px;
	padding:
		0
		var(--wp--custom--spacing--page-gutter)
		250px;
	width: 100%;
}

.argyll-about-hero__title {
	color: var(--wp--preset--color--base);
	line-height: 1.1;
	margin: 0;
	max-width: 800px;
	text-align: right;
	text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	text-wrap: balance;
}

/* Promise — breadcrumb + eyebrow + lede */

.argyll-about-promise {
	background: var(--wp--preset--color--base);
	margin-block-start: var(--wp--custom--spacing--section-inset-v-large);
	padding:
		var(--wp--custom--spacing--content-gap)
		var(--wp--custom--spacing--page-gutter)
		var(--wp--custom--spacing--section-inset-v);
}

.argyll-about-breadcrumbs {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1;
	margin: 0 0 80px;
	width: 100%;
}

.argyll-about-breadcrumbs a,
.argyll-about-breadcrumbs__sep {
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 50%, transparent);
	text-decoration: none;
}

.argyll-about-breadcrumbs span:not(.argyll-about-breadcrumbs__sep) {
	color: var(--wp--preset--color--contrast);
}

.argyll-about-promise__eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--body-semibold);
	line-height: 1;
	margin: 0 0 16px;
}

.argyll-about-promise__lede {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--section-title);
	font-weight: var(--wp--custom--font-weight--display-medium);
	line-height: 1.15;
	margin: 0;
	text-wrap: pretty;
}

/* Gallery (re-used existing carousel pattern) */

.argyll-about-gallery {
	background: var(--wp--preset--color--base);
	margin-block-start: 0;
	padding-bottom: 0;
}

.argyll-about-gallery__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
}

.argyll-about-gallery__viewport {
	overflow: hidden;
	position: relative;
}

.argyll-about-gallery__rail {
	display: flex;
	gap: var(--wp--custom--spacing--component-gap);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding-inline: max(var(--wp--custom--spacing--page-gutter), calc(50vw - 280px));
	scroll-padding-inline: max(var(--wp--custom--spacing--page-gutter), calc(50vw - 280px));
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.argyll-about-gallery__rail::-webkit-scrollbar {
	display: none;
}

.argyll-about-gallery__image {
	aspect-ratio: 560 / 348;
	border-radius: var(--wp--custom--radius--image);
	cursor: zoom-in;
	display: block;
	flex: 0 0 560px;
	margin: 0;
	max-width: calc(100vw - 64px);
	overflow: clip;
	position: relative;
	scroll-snap-align: center;
	text-decoration: none;
	transition: box-shadow 250ms ease;
}

.argyll-about-gallery__image:focus-visible {
	outline: 3px solid var(--wp--preset--color--secondary);
	outline-offset: 4px;
}

.argyll-about-gallery__image:hover,
.argyll-about-gallery__image:focus-visible {
	box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.45);
}

.argyll-about-gallery.is-gsap-loop .argyll-about-gallery__rail {
	overflow: visible;
	overscroll-behavior-inline: auto;
	scroll-snap-type: none;
	touch-action: pan-y;
}

.argyll-about-gallery.is-gsap-loop .argyll-about-gallery__image {
	scroll-snap-align: none;
	will-change: transform;
}

.argyll-about-gallery__image img,
.argyll-about-gallery__img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.argyll-about-gallery__dots {
	align-items: center;
	display: none;
	gap: 6px;
	justify-content: center;
}

.argyll-about-gallery__dot {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 30%, transparent);
	border-radius: var(--wp--custom--radius--pill);
	display: block;
	height: 6px;
	transition: width 200ms ease, background 200ms ease;
	width: 8px;
}

.argyll-about-gallery__dot--active {
	background: var(--wp--preset--color--contrast);
	width: 24px;
}

.argyll-about-gallery__button {
	align-items: center;
	appearance: none;
	background: var(--wp--preset--color--base);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--secondary);
	cursor: pointer;
	display: inline-flex;
	height: 56px;
	justify-content: center;
	margin: 0;
	padding: 0;
	pointer-events: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	z-index: 2;
}

.argyll-about-gallery__button--prev {
	left: var(--wp--custom--spacing--page-gutter);
}

.argyll-about-gallery__button--next {
	right: var(--wp--custom--spacing--page-gutter);
}

.argyll-about-gallery__button::before {
	background: currentcolor;
	content: "";
	display: block;
	height: 25px;
	mask: center / contain no-repeat url(../icon-arrow.svg);
	-webkit-mask: center / contain no-repeat url(../icon-arrow.svg);
	width: 30px;
}

.argyll-about-gallery__button--prev::before {
	transform: rotate(180deg);
}

.argyll-about-gallery__button:hover,
.argyll-about-gallery__button:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--base) 88%, var(--wp--preset--color--secondary));
}

/* Why people stay with us */

.argyll-about-why {
	background: var(--wp--preset--color--base);
	margin-block-start: 0;
	padding:
		var(--wp--custom--spacing--section-inset-v-large)
		var(--wp--custom--spacing--page-gutter);
}

.argyll-about-why__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--section-title);
	font-weight: var(--wp--custom--font-weight--display-medium);
	line-height: 1;
	margin: 0 0 48px;
	text-align: center;
	text-wrap: balance;
}

.argyll-about-why__columns {
	display: grid;
	gap: 78px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.argyll-about-why__col {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.argyll-about-why__subtitle {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	font-weight: var(--wp--custom--font-weight--display-regular);
	line-height: 1.1;
	margin: 16px 0 0;
}

.argyll-about-why__col > .argyll-about-why__subtitle:first-child {
	margin-top: 0;
}

.argyll-about-why__body {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.45;
	margin: 0;
	text-wrap: pretty;
}

/* Where we are — orange band */

.argyll-about-where {
	margin-block-start: 0;
	padding:
		var(--wp--custom--spacing--section-inset-v-large)
		var(--wp--custom--spacing--page-gutter);
	text-align: center;
}

.argyll-about-where__eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--body-semibold);
	line-height: 1;
	margin: 0 0 24px;
}

.argyll-about-where__body {
	color: inherit;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--section-title);
	font-weight: var(--wp--custom--font-weight--display-medium);
	line-height: 1.2;
	margin: 0 0 32px;
	text-wrap: pretty;
}

.argyll-about-where__tag {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--font-weight--display-medium);
	line-height: 1.2;
	margin: 0;
}

.argyll-about-where {
	padding-bottom: 0;
}

.argyll-about-where .park-map {
	background: transparent;
	padding-top: 24px;
	padding-bottom: var(--wp--custom--spacing--section-inset-v-large);
}

@media (max-width: 900px) {
  .argyll-about-where .park-map {
    padding-bottom: 0;
  }
}

.argyll-about-where .park-map__header {
	display: none;
}

.argyll-about-where .park-map__canvas {
	margin-inline: auto;
	max-width: 1100px;
}

/* Whatever the weather */

.argyll-about-weather {
	background: var(--wp--preset--color--base);
	margin-block-start: 0;
	padding:
		var(--wp--custom--spacing--section-inset-v-large)
		var(--wp--custom--spacing--page-gutter);
}

.argyll-about-weather__eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--body-semibold);
	line-height: 1;
	margin: 0 0 16px;
}

.argyll-about-weather__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--custom--typography--section-title);
	font-weight: var(--wp--custom--font-weight--display-medium);
	line-height: 1.15;
	margin: 0 0 56px;
	text-align: center;
	text-wrap: balance;
}

.argyll-about-weather__columns {
	display: grid;
	gap: 80px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.argyll-about-weather__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.argyll-about-weather__subtitle {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	font-weight: var(--wp--custom--font-weight--display-regular);
	line-height: 1.1;
	margin: 0;
}

.argyll-about-weather__list {
	color: var(--wp--preset--color--contrast);
	display: flex;
	flex-direction: column;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--nav);
	gap: 12px;
	line-height: 1.35;
	list-style: disc outside;
	margin: 0;
	padding-left: 1.4em;
}

.argyll-about-weather__list li {
	padding-left: 4px;
}

/* Mobile */

@media (max-width: 900px) {

	.argyll-about-hero .wp-block-cover__inner-container {
		align-items: flex-end;
		padding: 0 20px 48px;
	}

	.argyll-about-hero__title {
		font-size: var(--wp--custom--typography--hero-title);
		max-width: 100%;
		text-align: right;
	}

	.argyll-about-promise {
		margin-block-start: 0;
		padding: 64px 20px;
	}

	.argyll-about-breadcrumbs {
		font-size: 16px;
		margin-bottom: 48px;
	}

	.argyll-about-promise__eyebrow {
		font-size: 16px;
		margin-bottom: 12px;
	}

	.argyll-about-promise__lede {
		font-size: 28px;
		line-height: 1.2;
	}

	.argyll-about-gallery {
		padding-bottom: 0;
	}

	.argyll-about-gallery__inner {
		gap: 24px;
	}

	.argyll-about-gallery__rail {
		display: flex;
		gap: 24px;
		margin: 0;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		padding: 0 20px;
		scroll-padding-inline: 20px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.argyll-about-gallery__rail::-webkit-scrollbar {
		display: none;
	}

	.argyll-about-gallery__image {
		flex: 0 0 362px;
		max-width: calc(100vw - 64px);
		scroll-snap-align: center;
	}

	.argyll-about-gallery__dots {
		gap: 4px;
		padding: 0 20px;
	}

	.argyll-about-gallery__button {
		background: transparent;
		border: 1px solid var(--wp--preset--color--contrast);
		color: var(--wp--preset--color--contrast);
		height: 45px;
		width: 45px;
	}

	.argyll-about-gallery__button::before {
		height: 20px;
		width: 24px;
	}

	.argyll-about-gallery__button--prev {
		left: 20px;
	}

	.argyll-about-gallery__button--next {
		right: 20px;
	}

	.argyll-about-why,
	.argyll-about-where,
	.argyll-about-weather {
		padding-right: 20px;
		padding-left: 20px;
	}

	.argyll-about-why {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.argyll-about-why__title,
	.argyll-about-weather__title,
	.argyll-about-where__body {
		font-size: 28px;
		line-height: 1.2;
	}

	.argyll-about-why__title {
		margin-bottom: 32px;
	}

	.argyll-about-why__columns,
	.argyll-about-weather__columns {
		gap: 32px;
		grid-template-columns: minmax(0, 1fr);
	}

	.argyll-about-why__subtitle,
	.argyll-about-weather__subtitle {
		font-size: 24px;
	}

	.argyll-about-why__body {
		font-size: 18px;
	}

	.argyll-about-where {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.argyll-about-where__eyebrow,
	.argyll-about-weather__eyebrow {
		font-size: 16px;
	}

	.argyll-about-where__tag {
		font-size: 22px;
	}

	.argyll-about-weather {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.argyll-about-weather__title {
		margin-bottom: 40px;
	}

	.argyll-about-weather__list {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.argyll-about-gallery__rail {
		scroll-behavior: auto;
	}
}

/* ---------- Lightbox ---------- */

body.argyll-lightbox-open {
	overflow: hidden;
}

.argyll-lightbox {
	bottom: 0;
	display: flex;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 9999;
}

.argyll-lightbox[hidden] {
	display: none;
}

.argyll-lightbox__backdrop {
	background: rgba(9, 16, 29, 0.86);
	inset: 0;
	position: absolute;
}

.argyll-lightbox__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	inset: 0;
	justify-content: center;
	padding: 32px clamp(16px, 5vw, 72px);
	position: absolute;
}

.argyll-lightbox__figure {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	max-height: 100%;
	max-width: 1600px;
	min-width: 0;
	width: 100%;
}

.argyll-lightbox__img {
	background: rgba(255, 253, 245, 0.04);
	border-radius: var(--wp--custom--radius--image);
	display: block;
	margin-inline: auto;
	max-height: calc(100vh - 120px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.argyll-lightbox__caption {
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	max-width: 60ch;
	opacity: 0.8;
	text-align: center;
}

.argyll-lightbox__caption:empty {
	display: none;
}

.argyll-lightbox__close,
.argyll-lightbox__nav {
	align-items: center;
	appearance: none;
	background: rgba(255, 253, 245, 0.12);
	border: 1px solid rgba(255, 253, 245, 0.25);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--base);
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	height: 48px;
	justify-content: center;
	padding: 0;
	transition: background 200ms ease, transform 200ms ease;
	width: 48px;
}

.argyll-lightbox__close {
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	position: absolute;
	right: 24px;
	top: 24px;
}

.argyll-lightbox__close:hover,
.argyll-lightbox__close:focus-visible,
.argyll-lightbox__nav:hover,
.argyll-lightbox__nav:focus-visible {
	background: rgba(255, 253, 245, 0.22);
}

.argyll-lightbox__close:focus-visible,
.argyll-lightbox__nav:focus-visible {
	outline: 3px solid var(--wp--preset--color--secondary);
	outline-offset: 3px;
}

.argyll-lightbox__nav {
	height: 56px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
	z-index: 1;
}

.argyll-lightbox__nav--prev {
	left: clamp(8px, 2vw, 28px);
}

.argyll-lightbox__nav--next {
	right: clamp(8px, 2vw, 28px);
}

.argyll-lightbox__nav::before {
	background: currentcolor;
	content: "";
	display: block;
	height: 22px;
	mask: center / contain no-repeat url(../icon-arrow.svg);
	-webkit-mask: center / contain no-repeat url(../icon-arrow.svg);
	width: 28px;
}

.argyll-lightbox__nav--prev::before {
	transform: rotate(180deg);
}

@media (max-width: 700px) {

	.argyll-lightbox__inner {
		gap: 12px;
		padding: 12px;
	}

	.argyll-lightbox__nav {
		height: 44px;
		width: 44px;
	}

	.argyll-lightbox__nav::before {
		height: 18px;
		width: 22px;
	}

	.argyll-lightbox__close {
		right: 12px;
		top: 12px;
	}

	.argyll-lightbox__img {
		max-height: calc(100vh - 96px);
	}
}

/* On phones the gallery runs as a native fluid-swipe carousel (the GSAP loop is
   disabled in about.js at <=781px), so its prev/next arrows and dots are
   redundant. Kept above 781px where the loop + arrows still drive it. */
@media (max-width: 781px) {
	.argyll-about-gallery__button,
	.argyll-about-gallery__dots {
		display: none;
	}
}
