/* ---------------------------------------------------------------------------------------------
 * Page furniture: the header, the navigation, the hero and the individual front-page sections.
 * ------------------------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------------------------
 * Header and hero, built to the approved design.
 *
 * Sizes are taken from it directly: an 88px header bar, a 207x60 logo plaque, a 1300px container,
 * and an arched hero frame 470 wide by 597 tall at the design's 1530px width. They are expressed
 * in rem and clamps so they hold their proportions at other widths rather than only matching at
 * one.
 * ------------------------------------------------------------------------------------------- */

/* --- Header ---------------------------------------------------------------------------------- */

.chaukhat-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--chaukhat-cream);
	border-bottom: 1px solid rgba(188, 112, 83, .16);
	padding-top: env(safe-area-inset-top, 0px);
}

.chaukhat-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 88px;
}

/* The links group with the button on the right rather than sitting in the middle of the bar. */
.chaukhat-nav {
	margin-left: auto;
}

.chaukhat-header__identity {
	display: flex;
	align-items: center;
	min-width: 0;
}

/*
 * The wordmark's terracotta plaque, with the hairline inset frame the printed cards use. Fixed
 * height, flexible width, so a replacement logo of a different ratio still fits the bar.
 */
.chaukhat-wordmark--plaque {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	padding-inline: 1.35rem;
	background: var(--chaukhat-terracotta);
	border-radius: 4px;
	box-shadow: inset 0 0 0 1px rgba(253, 250, 244, .34);
	line-height: 0;
}

.chaukhat-header__identity .custom-logo,
.chaukhat-logo--full {
	max-height: 40px;
	width: auto;
}

.chaukhat-wordmark--fallback {
	font-family: var(--chaukhat-font-display);
	font-size: clamp(1.45rem, 3.5vw, 2rem);
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--chaukhat-terracotta);
	text-decoration: none;
	line-height: 1;
	margin-right: -.18em;
}

.chaukhat-header__actions {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-left: .9rem;
}

/* 150x49 in the design; the padding and radius reproduce that at this font size. */
.chaukhat-header__cta {
	padding: .85rem 1.35rem;
	font-size: .95rem;
}

/* --- Navigation ------------------------------------------------------------------------------ */

.chaukhat-nav__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 2.1vw, 2.15rem);
	margin: 0;
	padding: 0;
}

.chaukhat-nav__list a,
.chaukhat-nav .menu-item a {
	color: var(--chaukhat-brown);
	text-decoration: none;
	font-size: .95rem;
	font-weight: 400;
	white-space: nowrap;
}

.chaukhat-nav__list a:hover,
.chaukhat-nav__list a:focus-visible,
.chaukhat-nav .menu-item a:hover,
.chaukhat-nav .menu-item a:focus-visible {
	color: var(--chaukhat-terracotta-dark);
}

/* The button inside the nav panel is for phones only; the header carries its own above that. */
.chaukhat-nav__cta {
	display: none;
}

.chaukhat-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(184, 145, 79, .4);
	border-radius: var(--chaukhat-radius);
	background: transparent;
	cursor: pointer;
	place-items: center;
}

.chaukhat-nav-toggle__bars,
.chaukhat-nav-toggle__bars::before,
.chaukhat-nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--chaukhat-brown);
	transition: transform .2s ease, opacity .2s ease;
}

.chaukhat-nav-toggle__bars::before,
.chaukhat-nav-toggle__bars::after {
	content: "";
	position: relative;
}

.chaukhat-nav-toggle__bars::before { top: -6px; }
.chaukhat-nav-toggle__bars::after { top: 4.5px; }

@media (max-width: 1080px) {
	.chaukhat-nav-toggle {
		display: grid;
	}

	.chaukhat-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: var(--chaukhat-cream);
		border-top: 1px solid rgba(184, 145, 79, .3);
		border-bottom: 1px solid rgba(184, 145, 79, .3);
		padding: 1.25rem 1.5rem 1.5rem;
	}

	.chaukhat-nav-open .chaukhat-nav {
		display: block;
	}

	.chaukhat-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: .9rem;
	}

	.chaukhat-nav__cta {
		display: inline-flex;
		margin-top: 1.25rem;
	}

	.chaukhat-header__cta {
		display: none;
	}

	.chaukhat-nav-open .chaukhat-nav-toggle__bars {
		background: transparent;
	}

	.chaukhat-nav-open .chaukhat-nav-toggle__bars::before {
		transform: translateY(6px) rotate(45deg);
	}

	.chaukhat-nav-open .chaukhat-nav-toggle__bars::after {
		transform: translateY(-4.5px) rotate(-45deg);
	}
}

/* --- Hero ------------------------------------------------------------------------------------ */

/*
 * Asymmetric padding, from the design: roughly 90px of air above the eyebrow, and almost none
 * below, so the dark band butts straight up against the proof line. Symmetrical padding put an
 * extra 80px under the hero and pushed the band off the first screen.
 */
.chaukhat-hero {
	position: relative;
	background: var(--chaukhat-cream);
	padding-top: clamp(2.5rem, 5.75vw, 5.6rem);
	padding-bottom: .5rem;
	overflow: hidden;
}

.chaukhat-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
	gap: clamp(2rem, 14vw, 215px);
	align-items: center;
}

.chaukhat-hero__eyebrow {
	margin: 0 0 1.5rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .19em;
	text-transform: uppercase;
	color: var(--chaukhat-terracotta);
}

.chaukhat-hero__apna {
	margin: 0 0 .1rem;
	font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	font-style: italic;
}

/*
 * The headline is the loudest thing on the site: ~78px at the design width, set tight and allowed
 * to break where the design breaks it. No text-wrap:balance — the line breaks are deliberate.
 */
.chaukhat-hero__title {
	margin: 0 0 1.6rem;
	font-size: clamp(2.6rem, 5.1vw, 4.85rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.015em;
	max-width: 39rem;
	text-wrap: initial;
}

.chaukhat-hero__lede {
	margin: 0;
	max-width: 36rem;
	font-size: clamp(1rem, 1.2vw, 1.06rem);
	line-height: 1.75;
	color: var(--chaukhat-text-soft);
}

.chaukhat-hero__actions {
	margin-top: 2.1rem;
	gap: .9rem;
}

.chaukhat-hero__actions .chaukhat-button {
	padding: .95rem 1.7rem;
	font-size: .98rem;
}

/* --- The proof line -------------------------------------------------------------------------- */

.chaukhat-hero__proof {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-top: 2.6rem;
}

.chaukhat-proof__lead {
	margin: 0;
	font-family: var(--chaukhat-font-display);
	font-size: 1.32rem;
	font-weight: 600;
	color: var(--chaukhat-brown);
	line-height: 1.2;
}

.chaukhat-proof__note {
	margin: 0;
	font-size: .84rem;
	line-height: 1.5;
	color: var(--chaukhat-text-soft);
	max-width: 32ch;
}

/*
 * Two lines, as drawn. 13ch made it three, which grew the text column by 18px and pushed the
 * centred photograph down with it — the whole right-hand side sat low because of this one value.
 */
.chaukhat-proof--quiet .chaukhat-proof__note {
	max-width: 20ch;
}

/* The hairline between the two halves of the proof line. */
.chaukhat-proof--quiet {
	padding-left: 1.5rem;
	border-left: 1px solid rgba(184, 145, 79, .45);
}

/* --- The arched photograph -------------------------------------------------------------------- */

/*
 * Sized to the frame, not to the column, so everything absolutely positioned inside it is placed
 * against the photograph's edges rather than against whatever width the grid happens to give.
 */
.chaukhat-hero__media {
	position: relative;
	width: 100%;
	max-width: 470px;
	margin-left: auto;
	/* The design sits the arch a little above the row's centre line rather than dead centre. */
	margin-top: -.75rem;
}

/*
 * The arch: top corners rounded by half the frame's width, so the curve is a true semicircle
 * whatever the frame measures, and the foot left square. This is the doorway, at its largest.
 */
.chaukhat-hero__frame {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 470px;
	aspect-ratio: 470 / 597;
	border-radius: 50vw 50vw 8px 8px;
	overflow: hidden;
	background: var(--chaukhat-terracotta-wash);
	box-shadow: 0 30px 60px -40px rgba(59, 42, 33, .55);
}

.chaukhat-hero__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The placeholder. Deliberately plain and labelled, so it is never mistaken for the real thing. */
.chaukhat-hero__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .3rem;
	width: 100%;
	height: 100%;
	padding: 2rem 1.5rem 5rem;
	text-align: center;
	background:
		repeating-linear-gradient(
			45deg,
			transparent 0 14px,
			rgba(188, 112, 83, .06) 14px 28px
		),
		var(--chaukhat-terracotta-wash);
	box-shadow: inset 0 0 0 2px rgba(188, 112, 83, .35);
}

.chaukhat-hero__placeholder-mark {
	width: 74px;
	margin-bottom: .75rem;
	opacity: .5;
}

.chaukhat-hero__placeholder-label {
	margin: 0;
	font-family: var(--chaukhat-font-display);
	font-size: 1.05rem;
	color: var(--chaukhat-terracotta-dark);
}

.chaukhat-hero__placeholder-path {
	margin: 0;
}

.chaukhat-hero__placeholder-path code {
	font-size: .8rem;
	color: var(--chaukhat-brown-soft);
	background: rgba(253, 250, 244, .75);
	padding: .15rem .45rem;
	border-radius: 4px;
}

.chaukhat-hero__placeholder-hint {
	margin: .35rem 0 0;
	font-size: .78rem;
	color: var(--chaukhat-brown-muted);
	max-width: 22ch;
}

/* The caption sits on the photograph, over a scrim so it stays readable on any image. */
.chaukhat-hero__caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	padding: 3.5rem 1.75rem 1.5rem;
	color: var(--chaukhat-off-white);
	background: linear-gradient(to top, rgba(43, 28, 21, .78), rgba(43, 28, 21, 0));
	text-align: center;
}

.chaukhat-hero__caption-title {
	margin: 0 0 .3rem;
	font-family: var(--chaukhat-font-display);
	font-size: 1.4rem;
	font-weight: 500;
}

.chaukhat-hero__caption-note {
	margin: 0;
	font-size: .72rem;
	letter-spacing: .17em;
	text-transform: uppercase;
	opacity: .88;
}

/* The floating card, overlapping the frame's lower-left corner. */
.chaukhat-hero__card {
	position: absolute;
	z-index: 3;
	left: -14.5%;
	bottom: 13.4%;
	width: 12.2rem;
	max-width: 76%;
	padding: 1.15rem 1.25rem;
	background: var(--chaukhat-off-white);
	border-radius: 12px;
	box-shadow: 0 18px 40px -22px rgba(59, 42, 33, .45);
}

.chaukhat-hero__card-title {
	margin: 0 0 .5rem;
	font-family: var(--chaukhat-font-display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--chaukhat-brown);
}

.chaukhat-hero__card-note {
	margin: 0;
	font-size: .78rem;
	line-height: 1.5;
	color: var(--chaukhat-text-soft);
}

/* --- Hero decoration --------------------------------------------------------------------------
 * The pale arch behind and to the right of the photograph, running off the edge of the section.
 */

.chaukhat-hero__decor {
	position: absolute;
	z-index: 0;
	top: -13%;
	right: -34%;
	width: 88%;
	aspect-ratio: 3 / 4;
	pointer-events: none;
}

.chaukhat-hero__decor-arch {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(188, 112, 83, .3);
	border-bottom: 0;
	border-radius: 50vw 50vw 0 0;
	background: linear-gradient(to bottom, rgba(242, 221, 211, .5), rgba(242, 221, 211, 0) 70%);
}

.chaukhat-hero__sprig {
	position: absolute;
	z-index: 0;
	top: 7%;
	right: -3%;
	width: 46px;
	color: var(--chaukhat-green);
	opacity: .55;
	pointer-events: none;
}

@media (max-width: 960px) {
	.chaukhat-hero {
		padding-bottom: 3rem;
	}

	.chaukhat-hero__inner {
		grid-template-columns: 1fr;
	}

	/* Stacked, the arch centres under the text instead of hugging the right edge. */
	.chaukhat-hero__media {
		margin-top: 0;
		margin-inline: auto;
	}

	.chaukhat-hero__title {
		max-width: 16ch;
	}

	.chaukhat-hero__decor,
	.chaukhat-hero__sprig {
		display: none;
	}
}

@media (max-width: 560px) {
	.chaukhat-hero__proof {
		flex-wrap: wrap;
		gap: 1rem;
	}

	.chaukhat-hero__actions .chaukhat-button {
		flex: 1 1 auto;
		justify-content: center;
	}

	/* The card would cover the photograph at this width; it sits under the frame instead. */
	.chaukhat-hero__card {
		position: static;
		width: 100%;
		margin-top: 1rem;
	}

	.chaukhat-hero__media {
		flex-direction: column;
	}
}

/* --- Experiences: "Made for gatherings." ------------------------------------------------------- */

.chaukhat-experiences {
	background: var(--chaukhat-brown);
	color: var(--chaukhat-parchment);
}

.chaukhat-experiences__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
	align-items: start;
}

.chaukhat-experiences__intro,
.chaukhat-experience {
	padding: clamp(2.25rem, 3.4vw, 3rem) clamp(1.25rem, 2vw, 2rem);
}

.chaukhat-experiences__intro {
	padding-left: 0;
}

/* Hairlines between the columns, as the design has them — not a border on every card. */
.chaukhat-experience {
	border-left: 1px solid rgba(217, 189, 133, .22);
}

.chaukhat-experiences__title {
	margin: 0;
	font-size: clamp(1.5rem, 2.3vw, 2.05rem);
	font-weight: 500;
	color: var(--chaukhat-off-white);
}

.chaukhat-experience__number {
	margin: 0 0 1.1rem;
	font-size: .72rem;
	letter-spacing: .16em;
	color: var(--chaukhat-brown-muted);
}

.chaukhat-experience__title {
	margin: 0 0 .55rem;
	font-size: clamp(1.1rem, 1.5vw, 1.32rem);
	font-weight: 500;
	color: var(--chaukhat-off-white);
}

.chaukhat-experience__note {
	margin: 0;
	font-size: .84rem;
	line-height: 1.6;
	color: var(--chaukhat-parchment);
	opacity: .78;
}

@media (max-width: 960px) {
	.chaukhat-experiences__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.chaukhat-experiences__intro {
		grid-column: 1 / -1;
	}

	.chaukhat-experience:nth-child(2) {
		border-left: 0;
	}
}

@media (max-width: 560px) {
	.chaukhat-experiences__inner {
		grid-template-columns: 1fr;
	}

	.chaukhat-experience {
		border-left: 0;
		border-top: 1px solid rgba(217, 189, 133, .22);
		padding-inline: 0;
	}
}

/* --- Story ----------------------------------------------------------------------------------- */

.chaukhat-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .28fr);
	gap: clamp(1.5rem, 5vw, 4rem);
	align-items: start;
}

.chaukhat-story__text {
	max-width: var(--chaukhat-measure);
}

.chaukhat-story__text p {
	color: var(--chaukhat-text-soft);
}

.chaukhat-story__signoff {
	margin-top: 1.5rem;
	font-size: 1.6rem;
}

.chaukhat-story__aside {
	display: grid;
	place-items: start center;
}

.chaukhat-ornament--story {
	max-width: 110px;
}

@media (max-width: 860px) {
	.chaukhat-story {
		grid-template-columns: 1fr;
	}

	.chaukhat-story__aside {
		display: none;
	}
}

/* --- Menu ------------------------------------------------------------------------------------ */

.chaukhat-menu-group + .chaukhat-menu-group {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.chaukhat-menu-group__label {
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
	letter-spacing: .04em;
	text-align: center;
	color: var(--chaukhat-terracotta-dark);
	margin: 0 0 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* A gold hairline running out from the heading on both sides, as on the printed cards. */
.chaukhat-menu-group__label::before,
.chaukhat-menu-group__label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--chaukhat-rule);
}

/* The small line under a chapter heading, e.g. "Where we started." */
.chaukhat-menu-group__note {
	margin: -.9rem 0 1.5rem;
	text-align: center;
	color: var(--chaukhat-brown-muted);
	font-family: var(--chaukhat-font-hand);
	font-size: 1.15rem;
}

.chaukhat-menu-close {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

/*
 * "More chapters are being written." Set in the display serif and given the gold rules, so it
 * reads as part of the menu — a chapter still to come — rather than as a footnote about it.
 */
.chaukhat-menu-next {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 0 .75rem;
	font-family: var(--chaukhat-font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	color: var(--chaukhat-terracotta-dark);
}

.chaukhat-menu-next::before,
.chaukhat-menu-next::after {
	content: "";
	flex: 1;
	max-width: 6rem;
	height: 1px;
	background: var(--chaukhat-rule);
}

.chaukhat-menu-note {
	margin: 0;
	text-align: center;
	color: var(--chaukhat-text-soft);
	font-size: .95rem;
	max-width: 62ch;
	margin-inline: auto;
}

/* --- Services -------------------------------------------------------------------------------- */

.chaukhat-services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.chaukhat-service {
	background: rgba(253, 250, 244, .1);
	border: 1px solid rgba(253, 250, 244, .3);
	border-radius: var(--chaukhat-radius-lg);
	padding: 1.5rem;
}

.chaukhat-service__title {
	font-size: 1.2rem;
	margin: 0 0 .5rem;
}

.chaukhat-service__note {
	color: var(--chaukhat-off-white);
	font-size: .92rem;
	margin: 0;
}

/* --- Delivery -------------------------------------------------------------------------------- */

.chaukhat-delivery {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .25fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.chaukhat-delivery__title {
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	margin: 0 0 .75rem;
	max-width: 22ch;
}

.chaukhat-delivery__offer {
	font-family: var(--chaukhat-font-display);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--chaukhat-off-white);
	margin: 0 0 .75rem;
}

/*
 * The operational note. Deliberately the same size as the rest: delivery timing depends on the
 * rush at the stall, and burying that in small print is how a customer ends up disappointed.
 */
.chaukhat-delivery__note {
	color: var(--chaukhat-off-white);
	font-size: .92rem;
	max-width: 56ch;
	margin: 0;
}

.chaukhat-delivery__ornament {
	display: grid;
	place-items: center;
}

.chaukhat-ornament--kulhad {
	max-width: 130px;
	color: var(--chaukhat-off-white);
	opacity: .55;
}

@media (max-width: 782px) {
	.chaukhat-delivery {
		grid-template-columns: 1fr;
	}

	.chaukhat-delivery__ornament {
		display: none;
	}
}

/* --- Booking --------------------------------------------------------------------------------- */

.chaukhat-booking {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 5vw, 4rem);
	align-items: start;
}

.chaukhat-booking__direct {
	margin-top: 2rem;
}

.chaukhat-booking__form {
	background: var(--chaukhat-surface);
	border: 1px solid rgba(184, 145, 79, .25);
	border-radius: var(--chaukhat-radius-lg);
	padding: clamp(1.25rem, 3.5vw, 2rem);
	box-shadow: var(--chaukhat-shadow);
}

@media (max-width: 860px) {
	.chaukhat-booking {
		grid-template-columns: 1fr;
	}
}

/* --- Footer ---------------------------------------------------------------------------------- */

.chaukhat-footer {
	background: var(--chaukhat-brown);
	color: var(--chaukhat-parchment);
	padding-block: clamp(2.5rem, 6vw, 4rem);
	padding-bottom: calc(clamp(2.5rem, 6vw, 4rem) + env(safe-area-inset-bottom, 0px));
	margin-top: auto;
}

.chaukhat-footer__top {
	text-align: center;
	margin-bottom: 2.5rem;
}

.chaukhat-footer__line {
	font-family: var(--chaukhat-font-display);
	font-size: clamp(1.2rem, 3vw, 1.7rem);
	color: var(--chaukhat-parchment);
	margin: 0;
}

.chaukhat-divider--footer {
	color: var(--chaukhat-gold);
	opacity: .6;
	margin-bottom: 0;
}

.chaukhat-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2rem;
}

.chaukhat-footer .chaukhat-eyebrow {
	color: var(--chaukhat-gold-light);
}

.chaukhat-footer a {
	color: var(--chaukhat-parchment);
	text-decoration: none;
}

.chaukhat-footer a:hover,
.chaukhat-footer a:focus-visible {
	color: var(--chaukhat-terracotta-light);
	text-decoration: underline;
}

.chaukhat-colophon {
	margin: 2.5rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(217, 189, 133, .22);
	font-size: .82rem;
	color: var(--chaukhat-brown-muted);
	text-align: center;
}

/* Keeps the footer at the bottom on a short page. */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.chaukhat-main {
	flex: 1;
}
