/* About Us (page-templates/outpost-about.php). Tokens from style.css :root. */

.outpost-about {
	--ab-gutter: clamp(16px, 4vw, 56px);
	--ab-max: 1200px;
	background: var(--op-tex-linen), var(--op-surface);
	color: var(--op-ink);
	font-size: 17px;
	line-height: 1.6;
}
.outpost-about:focus { outline: none; }
.outpost-about p, .outpost-about h1, .outpost-about h2, .outpost-about h3 { padding: 0; }
.outpost-about a { color: inherit; }
.outpost-about img { display: block; max-width: 100%; height: auto; }
.ab-wrap { max-width: var(--ab-max); margin: 0 auto; padding: 0 var(--ab-gutter); }
.outpost-about .ab-h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; color: var(--op-deep); margin: 0 0 clamp(24px, 3vw, 40px); text-wrap: balance; }

/* Opening: headline beside the award photo, so the whole photo sits in the first screen on a laptop. */
.ab-head {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); align-items: center;
	max-width: var(--ab-max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--ab-gutter) clamp(24px, 3vw, 40px);
}
.outpost-about .ab-title { font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -.01em; color: var(--op-deep); margin: 0 0 20px; text-wrap: balance; }
.ab-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--op-ink-soft); max-width: 44ch; margin: 0; text-wrap: pretty; }

/* The award photo */
.ab-photo { margin: 0; }
.ab-photo img { width: 100%; aspect-ratio: 1812 / 1155; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(28, 36, 64, .45); }
#page-container .ab-photo figcaption { font: italic 500 16px/1.4 'Alegreya', Georgia, serif !important; color: var(--op-ink-soft); margin-top: 10px; }

/* Awards */
.ab-awards { padding: clamp(64px, 8vw, 112px) 0 0; }
.ab-awards__list { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-award { padding: clamp(24px, 3vw, 36px) !important; background: #fff; border-radius: 0 0 6px 6px; border-top: 3px solid var(--op-trim); /* square top so the gold trim edge (DESIGN.md) runs straight */ box-shadow: 0 18px 40px -32px rgba(28, 36, 64, .4); }
.outpost-about .ab-award__name { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--op-deep); margin: 0 0 4px; }
#page-container .ab-award__what { font: italic 500 19px/1.35 'Alegreya', Georgia, serif !important; color: var(--op-ink); margin: 0 0 12px; }
.ab-award__note { color: var(--op-ink-soft); margin: 0; font-size: 16px; text-wrap: pretty; }

/* Facts */
.ab-facts { margin-top: clamp(64px, 8vw, 112px); background: var(--op-tex-grain-light), var(--op-deep); color: var(--op-on-deep); padding: clamp(48px, 6vw, 80px) 0; }
/* Each fact sits on the photo that shows it: the hall tall on the left, the bar and buffet beside it. */
.ab-facts__list { margin: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.ab-fact { position: relative; overflow: hidden; border-radius: 6px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; color: #fff; }
.ab-fact:first-child { grid-row: span 2; }
.ab-fact:last-child { grid-column: span 2; }
.outpost-about .ab-fact img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-fact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 24, 44, .92), rgba(18, 24, 44, .25) 60%, rgba(18, 24, 44, .05)); }
.ab-fact dt, .ab-fact dd { position: relative; z-index: 1; }
.ab-fact dt { font: 700 clamp(44px, 5.4vw, 76px)/.95 'Alegreya', Georgia, serif; letter-spacing: -.02em; color: #fff; }
.ab-fact:first-child dt { font-size: clamp(72px, 9vw, 132px); }
.ab-fact dd { margin: 8px 0 0; color: #e3e5ec; font-size: 16px; line-height: 1.45; max-width: 30ch; }

/* What we cater */
.ab-do { padding: clamp(64px, 8vw, 112px) 0; }
.ab-do__list { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.ab-do__list li { padding: 0 !important; }
.outpost-about .ab-do__item { display: block; text-decoration: none; }
.ab-do__media { display: block; overflow: hidden; border-radius: var(--op-radius); aspect-ratio: 4 / 5; background: var(--op-rule); }
.ab-do__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ab-do__item:hover img { transform: scale(1.04); }
.ab-do__name {
	display: inline-block; margin-top: 12px; font: 700 21px/1.2 'Alegreya', Georgia, serif; color: var(--op-deep);
	text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px;
	transition: text-decoration-color .2s ease-out;
}
.ab-do__item:hover .ab-do__name { text-decoration-color: var(--op-trim); }

@media (max-width: 980px) {
	.ab-head { grid-template-columns: 1fr; }
	.ab-awards__list { grid-template-columns: 1fr; }
	.ab-facts__list { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.ab-fact:first-child { grid-row: auto; grid-column: span 2; min-height: 300px; }
}
@media (max-width: 600px) {
	.outpost-about { font-size: 16px; }
	.ab-awards__list { grid-template-columns: 1fr; }
	.ab-facts__list { grid-template-columns: 1fr; }
	.ab-fact, .ab-fact:first-child, .ab-fact:last-child { grid-column: auto; min-height: 220px; }
	.ab-do__list { grid-template-columns: 1fr 1fr; }
	.ab-do__list li:last-child { grid-column: 1 / -1; } /* five items: the last one spans the row */
	.ab-do__list li:last-child .ab-do__media { aspect-ratio: 16 / 9; }
	.ab-head { padding-left: 0; padding-right: 0; }
	.ab-head__copy { padding: 0 16px; }
	.ab-photo img { border-radius: 0; }
	#page-container .ab-photo figcaption { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .outpost-about * { transition: none !important; } }
