/*
 * anzi Asian Bistro — minimal reveal.js theme
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap");

:root {
	--ink: #152714;
	--green: #214c1c;
	--green-dark: #173711;
	--green-button: #214919;
	--muted-green: #536f45;
	--accent-green: #527044;
	--paper: #f4eddd;
	--paper-soft: #f8f4eb;
	--sand: #e3dccd;
	--edge: #bfb49d;
	--cream-line: #e9dfcc;
}

* {
	box-sizing: border-box;
}

.reveal-viewport {
	background: var(--sand);
}

.reveal {
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 34px;
}

.reveal .slides {
	text-align: left;
}

.reveal .slides section {
	height: 720px;
	overflow: hidden;
	padding: 56px 64px;
	width: 1280px;
}

.reveal h1,
.reveal h2,
.reveal h3 {
	color: var(--green);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0;
	text-transform: none;
}

.reveal h1 {
	font-size: 2.35em;
	max-width: 8em;
}

.reveal h2 {
	font-size: 1.75em;
	max-width: 10em;
}

.reveal h3 {
	font-size: 0.9em;
}

.reveal p {
	line-height: 1.42;
	margin: 0;
}

.reveal ul {
	margin: 0;
	padding: 0;
}

.reveal li {
	list-style: none;
}

.reveal strong {
	color: var(--green);
	font-weight: 900;
}

.reveal img {
	display: block;
	margin: 0;
	max-width: none;
}

.reveal .kicker {
	color: var(--accent-green);
	font-size: 0.42em;
	font-weight: 900;
	letter-spacing: 0.2em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.reveal .lead {
	color: var(--ink);
	font-size: 0.72em;
	line-height: 1.45;
	max-width: 23em;
}

.reveal .quiet {
	color: var(--muted-green);
	font-size: 0.58em;
	line-height: 1.45;
	max-width: 34em;
}

.reveal .compact-info h2 {
	font-size: 1.46em;
	max-width: 12.5em;
}

.reveal .compact-info .kicker {
	margin-bottom: 14px;
}

.reveal .compact-info .quiet {
	font-size: 0.5em;
	line-height: 1.35;
	max-width: 42em;
}

.with-visual {
	display: grid !important;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.with-visual > :not(.side-visual) {
	grid-column: 1;
}

.side-visual {
	align-self: stretch;
	border: 1px solid var(--edge);
	border-radius: 8px;
	grid-column: 2;
	grid-row: 1 / span 20;
	height: calc(720px - 112px);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.side-visual img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.with-visual .fact-strip p {
	grid-template-columns: 178px 1fr;
}

.with-visual .formula {
	grid-template-columns: repeat(2, 1fr);
}

.with-visual .formula .plus {
	display: none;
}

.with-visual .choice-grid {
	grid-template-columns: repeat(2, 1fr);
}

.reveal .rule {
	background: var(--green);
	border: 0;
	height: 2px;
	margin: 34px 0 22px;
	width: 148px;
}

.reveal .controls,
.reveal .progress {
	color: var(--green-button);
}

.reveal .progress {
	height: 5px;
}

.reveal .slide-number {
	background: var(--green-button);
	border-radius: 6px;
	color: var(--paper-soft);
	font-size: 13px;
	padding: 5px 8px;
}

.brand-lockup {
	align-items: center;
	display: flex;
	gap: 20px;
}

.brand-lockup img {
	height: 102px;
	object-fit: contain;
	width: 260px;
}

.brand-lockup .subtitle {
	color: var(--green);
	font-size: 0.44em;
	font-weight: 900;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	white-space: nowrap;
}

.cover {
	display: grid !important;
	grid-template-rows: auto 1fr;
	gap: 86px;
}

.cover-copy {
	align-self: end;
	display: grid;
	gap: 22px;
}

.statement {
	display: grid !important;
	grid-template-rows: auto auto auto auto 1fr;
}

.statement .lead {
	font-size: 0.82em;
	margin-top: 28px;
	max-width: 30em;
}

.taste-cards {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, 1fr);
	margin-top: 44px;
	width: 100%;
}

.taste-cards div {
	background: var(--paper-soft);
	border: 1px solid var(--edge);
	border-radius: 8px;
	display: grid;
	gap: 18px;
	grid-template-rows: auto 1fr;
	min-height: 260px;
	padding: 24px 20px;
}

.taste-cards strong {
	font-size: 0.68em;
	line-height: 1.1;
}

.taste-cards span {
	color: var(--muted-green);
	font-size: 0.48em;
	line-height: 1.4;
}

.photo-cards {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
	margin: 42px 0 30px;
}

.photo-cards figure {
	background: var(--paper-soft);
	border: 1px solid var(--edge);
	border-radius: 8px;
	height: 300px;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.photo-cards img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.photo-cards figcaption {
	align-items: center;
	background: var(--paper-soft);
	bottom: 0;
	color: var(--green);
	display: flex;
	font-size: 0.46em;
	font-weight: 900;
	height: 56px;
	left: 0;
	padding: 0 16px;
	position: absolute;
	right: 0;
}

.region-list {
	border-bottom: 1px solid var(--edge);
	margin-top: 52px;
}

.region-list p {
	align-items: baseline;
	border-top: 1px solid var(--edge);
	display: grid;
	gap: 34px;
	grid-template-columns: 220px 1fr;
	min-height: 104px;
	padding: 20px 0;
}

.region-list strong {
	color: var(--green);
	font-size: 0.78em;
	font-weight: 900;
}

.region-list span {
	color: var(--muted-green);
	font-size: 0.64em;
	line-height: 1.35;
}

.formula {
	align-items: stretch;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	margin: 46px 0 28px;
}

.compact-info .formula {
	margin: 28px 0 20px;
}

.formula div,
.fact-box,
.choice-grid button {
	background: var(--paper-soft);
	border: 1px solid var(--edge);
	border-radius: 8px;
}

.formula div {
	display: grid;
	gap: 16px;
	min-height: 210px;
	padding: 22px 18px;
}

.compact-info .formula div {
	min-height: 166px;
	padding: 18px 16px;
}

.formula strong,
.fact-box strong {
	font-size: 0.72em;
	line-height: 1.05;
}

.compact-info .formula strong {
	font-size: 0.58em;
}

.formula span:not(.plus),
.fact-box span {
	color: var(--muted-green);
	font-size: 0.48em;
	line-height: 1.35;
}

.compact-info .formula span:not(.plus) {
	font-size: 0.4em;
}

.formula .plus {
	align-self: center;
	color: var(--green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2em;
	font-weight: 700;
}

.bullet-list {
	border-bottom: 1px solid var(--edge);
	margin-top: 44px;
	max-width: 940px;
}

.bullet-list li {
	border-top: 1px solid var(--edge);
	color: var(--ink);
	font-size: 0.68em;
	line-height: 1.35;
	padding: 18px 0;
}

.mini-scale {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: auto repeat(5, 1fr) auto;
	margin-top: 36px;
	max-width: 720px;
}

.mini-scale span {
	color: var(--muted-green);
	font-size: 0.46em;
	font-weight: 800;
	text-transform: uppercase;
}

.mini-scale i {
	background: var(--green);
	border-radius: 7px;
	display: block;
	height: 12px;
}

.table-map {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	margin: 20px 0 16px;
	max-width: 1000px;
}

.table-map__center {
	align-content: center;
	background: var(--green);
	border-radius: 8px;
	color: var(--paper-soft);
	display: grid;
	gap: 10px;
	grid-column: 1 / -1;
	min-height: 112px;
	padding: 18px;
	text-align: center;
}

.table-map__center strong {
	font-size: 0.58em;
}

.table-map__center span {
	color: var(--paper-soft);
	font-size: 0.4em;
	font-weight: 700;
	line-height: 1.35;
}

.table-map p,
.step-row p,
.fact-strip p,
.coffee-flow p,
.banh-mi div {
	background: var(--paper-soft);
	border: 1px solid var(--edge);
	border-radius: 8px;
	margin: 0;
}

.table-map p {
	align-content: center;
	color: var(--muted-green);
	font-size: 0.4em;
	font-weight: 900;
	line-height: 1.25;
	min-height: 72px;
	padding: 14px;
	text-align: center;
}

.step-row {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 54px;
	max-width: 1040px;
}

.step-row p {
	display: grid;
	gap: 28px;
	min-height: 250px;
	padding: 28px;
}

.step-row strong {
	align-items: center;
	background: var(--green-button);
	border-radius: 999px;
	color: var(--paper-soft);
	display: inline-grid;
	font-size: 0.66em;
	height: 62px;
	justify-content: center;
	width: 62px;
}

.step-row span {
	color: var(--muted-green);
	font-size: 0.56em;
	font-weight: 850;
	line-height: 1.3;
}

.callout-list {
	display: grid;
	gap: 16px;
	margin-top: 46px;
	max-width: 980px;
}

.callout-list p {
	align-items: baseline;
	background: var(--paper-soft);
	border: 1px solid var(--edge);
	border-radius: 8px;
	display: grid;
	gap: 28px;
	grid-template-columns: 180px 1fr;
	min-height: 104px;
	padding: 22px 24px;
}

.callout-list strong {
	font-size: 0.72em;
}

.callout-list span {
	color: var(--muted-green);
	font-size: 0.56em;
	line-height: 1.35;
}

.split-note {
	display: grid;
	gap: 56px;
	grid-template-columns: 1.15fr 0.85fr;
	margin-top: 42px;
}

.compact-list {
	border-top: 1px solid var(--edge);
	margin-top: 32px;
	max-width: 560px;
}

.compact-list li {
	border-bottom: 1px solid var(--edge);
	color: var(--muted-green);
	font-size: 0.56em;
	font-weight: 800;
	padding: 14px 0;
}

.fact-box {
	align-self: start;
	display: grid;
	gap: 22px;
	min-height: 230px;
	padding: 28px;
}

.fact-strip {
	display: grid;
	gap: 16px;
	margin-top: 46px;
	max-width: 1060px;
}

.compact-info .fact-strip {
	gap: 12px;
	margin-top: 28px;
}

.fact-strip p {
	align-items: center;
	display: grid;
	gap: 30px;
	grid-template-columns: 260px 1fr;
	min-height: 112px;
	padding: 24px 28px;
}

.compact-info .fact-strip p {
	gap: 22px;
	grid-template-columns: 238px 1fr;
	min-height: 86px;
	padding: 18px 22px;
}

.fact-strip strong {
	font-size: 0.58em;
}

.compact-info .fact-strip strong {
	font-size: 0.5em;
}

.fact-strip span {
	color: var(--muted-green);
	font-size: 0.52em;
	font-weight: 750;
	line-height: 1.35;
}

.compact-info .fact-strip span {
	font-size: 0.43em;
	line-height: 1.3;
}

.coffee-flow {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, 1fr);
	margin: 28px 0 20px;
	max-width: 1080px;
}

.coffee-flow p {
	align-content: start;
	display: grid;
	gap: 16px;
	min-height: 176px;
	padding: 18px;
}

.coffee-flow strong {
	align-items: center;
	background: var(--green);
	border-radius: 999px;
	color: var(--paper-soft);
	display: inline-grid;
	font-size: 0.5em;
	height: 46px;
	justify-content: center;
	width: 46px;
}

.coffee-flow span {
	color: var(--muted-green);
	font-size: 0.41em;
	font-weight: 850;
	line-height: 1.3;
}

.banh-mi {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
	margin: 28px 0 20px;
	max-width: 1080px;
}

.banh-mi div {
	display: grid;
	gap: 18px;
	min-height: 190px;
	padding: 22px;
}

.banh-mi strong {
	font-size: 0.52em;
	line-height: 1.15;
}

.banh-mi span {
	color: var(--muted-green);
	font-size: 0.42em;
	font-weight: 780;
	line-height: 1.35;
}

.choice-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
	margin: 50px 0 32px;
}

.compact-info .choice-grid {
	gap: 12px;
	margin: 32px 0 22px;
}

.choice-grid button {
	appearance: none;
	color: var(--green);
	cursor: default;
	font: inherit;
	font-size: 0.56em;
	font-weight: 900;
	min-height: 150px;
	padding: 20px;
	text-align: left;
}

.compact-info .choice-grid button {
	font-size: 0.46em;
	min-height: 118px;
	padding: 16px;
}

.quiz {
	display: grid;
	gap: 16px;
	margin-top: 46px;
	max-width: 980px;
}

.quiz p {
	align-items: center;
	border-bottom: 1px solid var(--edge);
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 180px;
	min-height: 96px;
}

.quiz strong {
	font-size: 0.62em;
}

.quiz span {
	background: var(--green-button);
	border-radius: 7px;
	color: var(--paper-soft);
	font-size: 0.5em;
	font-weight: 900;
	padding: 12px 16px;
	text-align: center;
}

.photo-page {
	display: grid !important;
	grid-template-columns: 0.82fr 1.18fr;
	gap: 46px;
	grid-template-rows: 1fr;
}

.photo-page.reverse {
	grid-template-columns: 1.18fr 0.82fr;
}

.photo-page.reverse div {
	grid-column: 2;
	grid-row: 1;
}

.photo-page.reverse figure {
	grid-column: 1;
	grid-row: 1;
}

.photo-page div {
	align-self: center;
	display: grid;
	gap: 24px;
}

.photo-page figure {
	align-self: stretch;
	border: 1px solid var(--edge);
	border-radius: 8px;
	height: calc(720px - 112px);
	margin: 0;
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.photo-page img {
	height: 100%;
	inset: 0;
	max-height: none !important;
	max-width: none !important;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.closing {
	align-content: center;
	display: grid !important;
	gap: 36px;
	justify-items: center;
	text-align: center;
}

.closing .brand-lockup {
	flex-direction: column;
	gap: 8px;
}

.closing .brand-lockup img {
	height: 128px;
	width: 330px;
}

.closing h2 {
	max-width: none;
}

.closing .quiet {
	max-width: 30em;
}

@media (max-width: 900px) {
	.reveal .slides section {
		padding: 44px;
	}

	.region-list p {
		grid-template-columns: 190px 1fr;
	}

	.formula,
	.choice-grid,
	.step-row,
	.coffee-flow,
	.banh-mi {
		grid-template-columns: repeat(2, 1fr);
	}

	.table-map,
	.fact-strip p {
		grid-template-columns: 1fr;
	}

	.formula .plus {
		display: none;
	}
}
