/* styles.css — the "menu" site: ink BLUE on cool paper, a tall serif, hairline rules and a
   priced list with dotted leaders. The one template whose home is a LIST rather than three
   cards, for the business whose offer is a carte: a restaurant, a bar, a salon, an academy.
   The palette is the catalogue's only cool one on purpose — the warm-cream-and-serif corner
   is studio's, and two templates that read alike in the chooser are one template. Fulfils the
   site contract (docs/WEBSITE.md): the four tokens below are what every module's pages read;
   the primitives come from /base.css, linked before this file. */

:root {
	--bg: #F6F7F7;
	--text: #171A1C;
	--accent: #1E4471;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--surface: #FFFFFF;
	--line: #DADEDF;
	--muted: #5F6669;
	--accent-text: #1B3D66;
	--font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--radius: 3px;
	--radius-sm: 3px;
	--wrap: 66rem;
	--shadow: 0 1px 2px rgba(23, 26, 28, 0.05);

	--tint: #E9EDEE;
}

body { font-size: 1.05rem; line-height: 1.65; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.25rem; }

.eyebrow { color: var(--accent-text); letter-spacing: 0.2em; font-size: 0.72rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36rem; }

.button { font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Header: the name over its own rule, the ways in underneath -------------- */

.topbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	padding-block: 1.7rem 0;
}
.brand {
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3.4vw, 2.1rem);
	letter-spacing: 0.02em;
	text-decoration: none;
	text-align: center;
}
.nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.8rem clamp(1.1rem, 3vw, 2.2rem);
	width: 100%;
	padding-block: 0.85rem;
	border-top: 1px solid var(--line);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--accent-text); }
/* Restated because .nav a is more specific than .button: without it the ink-blue button would
   take the nav's muted grey and read as grey text on blue. */
.nav a.button { padding: 0.5rem 1.1rem; font-size: 0.72rem; color: var(--accent-contrast); }
.nav a.button:hover { color: var(--accent-contrast); }
.nav .account-link { letter-spacing: 0.14em; }

/* Hero: the words alone, inside a ruled frame ---------------------------- */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-inner {
	max-width: 46rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
	border-block: 1px solid var(--line);
	text-align: center;
}
.hero-inner .lead { margin-inline: auto; }
.hero .actions { justify-content: center; margin-top: 2rem; }

/* The ornament: a hairline out to each side of the eyebrow. */
.hero-inner .eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1.2rem;
}
.hero-inner .eyebrow::before,
.hero-inner .eyebrow::after {
	content: "";
	width: clamp(1.5rem, 6vw, 3.5rem);
	height: 1px;
	background: var(--accent);
	opacity: 0.5;
}

/* Bands ----------------------------------------------------------------- */

.band { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
.band--tint { background: var(--tint); }
.band-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.band-head p { color: var(--muted); }
.band-head--center { text-align: center; margin-inline: auto; }
.band-head--center p { margin-inline: auto; max-width: 34rem; }

/* The list: two carte columns, a price after the leaders ----------------- */

.lists { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr 1fr; }
.list-title {
	margin: 0 0 1.4rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--line);
	font-size: 0.8rem;
	font-family: var(--font);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-text);
}
.item { margin-bottom: 1.5rem; }
.item:last-child { margin-bottom: 0; }
.item-head {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 0.15rem;
}
.item-name { font-family: var(--font-display); font-size: 1.22rem; }
.item-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-0.3rem); }
.item-price {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-variant-numeric: tabular-nums;
	color: var(--accent-text);
}
.item-text { margin: 0; max-width: 26rem; font-size: 0.95rem; color: var(--muted); }

.lists-foot { margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: center; font-size: 0.9rem; color: var(--muted); }

/* The pictures: a strip of three, no crop games --------------------------- */

.mosaic { display: grid; gap: 0.9rem; grid-template-columns: repeat(3, 1fr); }
.mosaic img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mosaic img:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }

/* About: a column of prose with a dropped initial ------------------------- */

.about { max-width: 44rem; margin-inline: auto; }
.about .lead { max-width: none; color: var(--text); }
.about .lead::first-letter {
	float: left;
	margin: 0.35rem 0.55rem 0 0;
	font-family: var(--font-display);
	font-size: 3.6rem;
	line-height: 0.78;
	color: var(--accent-text);
}
.about p:last-of-type { color: var(--muted); }

/* Visit: two ruled columns, no boxes -------------------------------------- */

.visit { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr 1fr; }
.visit-col { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.visit-col h3 {
	margin: 0 0 0.9rem;
	font-family: var(--font);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-text);
}
.visit-line { margin: 0 0 0.45rem; }
.visit-line a { color: inherit; text-decoration: none; }
.visit-line a:hover { color: var(--accent-text); }

/* The closing band -------------------------------------------------------- */

.band--accent { background: var(--accent); color: var(--surface); }
.cta { text-align: center; max-width: 38rem; margin-inline: auto; }
.cta p { color: rgba(255, 255, 255, 0.84); }
.cta .actions { justify-content: center; }
.cta .button {
	background: var(--surface);
	border-color: var(--surface);
	color: var(--accent-text);
}
.cta .button:hover { box-shadow: none; }

/* Contact page ----------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.contact-aside { display: grid; gap: 1.2rem; align-content: start; }
.contact-grid .card h3 { font-family: var(--font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }

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

.foot { border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.foot-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 2rem;
	padding-block: 1.7rem;
}
.foot-contact, .foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent-text); }

@media (max-width: 56rem) {
	.lists, .visit, .contact-grid { grid-template-columns: 1fr; }
	.mosaic img:nth-child(2) { margin-top: 0; }
	.nav a:not(.button) { display: none; }
}
