/* ============================================================
   CARRICK LANE — Refresh 2026
   Brand fonts:  Butler (serif display/headings)
                 Louis George Café (sans — body + UI)
   Palette: official brand book (Nov 2020)
   ============================================================ */

/* ---------- Butler (self-hosted) ---------- */
@font-face {
	font-family: "Butler";
	font-weight: 300;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/Butler_Light.otf") format("opentype");
}
@font-face {
	font-family: "Butler";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/Butler_Regular.otf") format("opentype");
}
@font-face {
	font-family: "Butler";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/Butler_Medium.otf") format("opentype");
}
@font-face {
	font-family: "Butler";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/Butler_Bold.otf") format("opentype");
}
@font-face {
	font-family: "Butler";
	font-weight: 900;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/Butler_Black.otf") format("opentype");
}

/* ---------- Louis George Café (self-hosted) ----------
   Drop these 6 files into assets/fonts/ (keep their original names):
     LouisGeorgeCafeLight.woff2 / .woff       → 300
     LouisGeorgeCafe.woff2 / .woff            → 400
     LouisGeorgeCafe-Bold.woff2 / .woff       → 700
   (italics optional — add the *-Italic pairs if you want them)        */
@font-face {
	font-family: "Louis George Cafe";
	font-weight: 300;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/LouisGeorgeCafeLight.woff2") format("woff2"),
		url("/assets/fonts/LouisGeorgeCafeLight.woff") format("woff");
}
@font-face {
	font-family: "Louis George Cafe";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/LouisGeorgeCafe.woff2") format("woff2"),
		url("/assets/fonts/LouisGeorgeCafe.woff") format("woff");
}
@font-face {
	font-family: "Louis George Cafe";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("/assets/fonts/LouisGeorgeCafe-Bold.woff2") format("woff2"),
		url("/assets/fonts/LouisGeorgeCafe-Bold.woff") format("woff");
}
@font-face {
	font-family: "Louis George Cafe";
	font-weight: 300;
	font-style: italic;
	font-display: swap;
	src: url("/assets/fonts/LouisGeorgeCafeLight-Italic.woff2") format("woff2"),
		url("/assets/fonts/LouisGeorgeCafeLight-Italic.woff") format("woff");
}
@font-face {
	font-family: "Louis George Cafe";
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	src: url("/assets/fonts/LouisGeorgeCafe-Italic.woff2") format("woff2"),
		url("/assets/fonts/LouisGeorgeCafe-Italic.woff") format("woff");
}
@font-face {
	font-family: "Louis George Cafe";
	font-weight: 700;
	font-style: italic;
	font-display: swap;
	src: url("/assets/fonts/LouisGeorgeCafe-BoldItalic.woff2") format("woff2"),
		url("/assets/fonts/LouisGeorgeCafe-BoldItalic.woff") format("woff");
}

:root {
	/* official brand palette (Carrick Lane Brand Guidelines, Nov 2020) */
	--ink: #191817; /* Slate Black */
	--ink-soft: #5b554b; /* Slate Brown — secondary text */
	--taupe: #5b554b; /* Slate Brown — logo wordmark */
	--camel: #c09a72; /* Beige */
	--camel-dk: #a87c50; /* darkened beige for small accents on light */
	--green: #394c3a; /* Deep Green */
	--maroon: #4e1626; /* Burgundy */
	--paper: #f5f2ea; /* primary background */
	--paper-2: #efe9dc; /* alt section */
	--paper-3: #e7e0d1; /* deeper alt */
	--card: #fbf9f4;
	--line: rgba(25, 24, 23, 0.13);
	--line-soft: rgba(25, 24, 23, 0.07);
	--cream: #efe9dc;
	--accent: #a87c50; /* tweakable accent (darkened beige default) */

	--shadow-sm: 0 1px 2px rgba(52, 48, 42, 0.05), 0 2px 8px rgba(52, 48, 42, 0.04);
	--shadow-md: 0 4px 14px rgba(52, 48, 42, 0.07), 0 14px 40px rgba(52, 48, 42, 0.07);
	--shadow-lg: 0 10px 30px rgba(52, 48, 42, 0.1), 0 30px 70px rgba(52, 48, 42, 0.1);

	--maxw: 1240px;
	--gut: clamp(20px, 5vw, 64px);

	--serif-display: "Butler", "Bodoni 72", Georgia, "Times New Roman", serif;
	--serif-text: "Butler", "Bodoni 72", Georgia, "Times New Roman", serif;
	--sans: "Louis George Cafe", "Avenir Next", "Avenir", "Segoe UI", Arial, sans-serif;
	/* role tokens */
	--body-font: var(--sans);
	--ui-font: var(--sans);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Small UI labels always stay in the crisp sans — serif only gets muddy
   at tiny sizes and in uppercase/letter-spaced labels. */
.navlink,
.l-role,
.b-role,
.l-link,
.txtlink,
.ngo,
.bio-back,
.nread,
.ar,
.nself,
.ndate,
.ntag,
.adt,
.nmeta,
.tag,
.chip,
.field label,
.form-note,
.stat-line .l,
.proof .l,
.cdetail .l,
.pnote,
.qby,
.mm-foot,
.foot-bottom,
.cdetail .l,
.sub {
	font-family: var(--ui-font);
}

/* Tweak: optionally set reading paragraphs in Butler serif (fancier).
   Brand default is Louis George Café for body copy. */
body.read-serif {
	--body-font: var(--serif-text);
}
body.read-serif p:not(.lead):not(.sub):not(.form-note):not(.nself) {
	font-size: 1.05rem;
	line-height: 1.66;
}

* {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body-font);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
::selection {
	background: var(--camel);
	color: #fff;
}

/* ---------- layout ---------- */
.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding-inline: var(--gut);
}
.wrap-narrow {
	max-width: 880px;
	margin: 0 auto;
	padding-inline: var(--gut);
}
section {
	position: relative;
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
	font-family: var(--serif-display);
	font-weight: 500;
	color: var(--ink);
	margin: 0;
	line-height: 1.04;
	letter-spacing: -0.01em;
}
.display {
	font-size: clamp(2.9rem, 7.2vw, 6.1rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.018em;
	text-wrap: balance;
}
.h-xl {
	font-size: clamp(2.2rem, 4.6vw, 3.7rem);
	line-height: 1.02;
	text-wrap: balance;
}
.h-lg {
	font-size: clamp(1.8rem, 3.4vw, 2.7rem);
	text-wrap: balance;
}
.h-md {
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}
p {
	margin: 0 0 1.05em;
}
.lead {
	font-family: var(--serif-text);
	font-size: clamp(1.24rem, 1.8vw, 1.5rem);
	line-height: 1.5;
	color: var(--ink-soft);
}
.muted {
	color: var(--ink-soft);
}

.eyebrow {
	font-family: var(--ui-font);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--camel-dk);
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
}
.eyebrow {
	color: var(--accent);
}
.eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--accent);
	display: inline-block;
}
.eyebrow.center::after {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--accent);
	display: inline-block;
}
.eyebrow.center {
	justify-content: center;
}
.eyebrow.plain::before {
	display: none;
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	white-space: nowrap;
	font-family: var(--ui-font);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.95em 1.7em;
	border: 1px solid var(--ink);
	color: var(--ink);
	background: transparent;
	cursor: pointer;
	transition: all 0.4s var(--ease);
	border-radius: 1px;
}
.btn:hover {
	background: var(--ink);
	color: var(--paper);
}
.btn-fill {
	background: var(--green);
	border-color: var(--green);
	color: var(--cream);
}
.btn-fill:hover {
	background: #26402c;
	border-color: #26402c;
	color: #fff;
}
.btn .arr {
	transition: transform 0.4s var(--ease);
}
.btn:hover .arr {
	transform: translateX(4px);
}
.btn-ghost {
	border-color: var(--line);
	color: var(--ink);
}
.btn-ghost:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.txtlink {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ink);
	padding-bottom: 3px;
	border-bottom: 1px solid var(--accent);
	transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.txtlink:hover {
	gap: 0.9em;
	color: var(--maroon);
}

/* ---------- header / nav ---------- */
.site-head {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-head .bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 96px;
	transition: height 0.45s var(--ease);
}
.site-head.shrunk {
	background: rgba(245, 242, 234, 0.9);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom-color: var(--line);
}
.site-head.shrunk .bar {
	height: 68px;
}
.site-head.solid {
	background: var(--paper);
	border-bottom-color: var(--line);
}

.brand {
	display: flex;
	align-items: center;
}
.brand img {
	height: 34px;
	width: auto;
	transition: height 0.45s var(--ease);
	display: block;
}
.brand .logo-light {
	display: none;
}
.site-head.shrunk .brand img {
	height: 28px;
}

/* inverted header over a dark hero (top of page, before scroll) */
.site-head.over-hero:not(.shrunk) .brand .logo-dark {
	display: none;
}
.site-head.over-hero:not(.shrunk) .brand .logo-light {
	display: block;
}
.site-head.over-hero:not(.shrunk) .navlink {
	color: rgba(239, 233, 220, 0.82);
}
.site-head.over-hero:not(.shrunk) .navlink:hover,
.site-head.over-hero:not(.shrunk) .navlink.active {
	color: #fff;
}
.site-head.over-hero:not(.shrunk) .navlink::after {
	background: var(--camel);
}
.site-head.over-hero:not(.shrunk) .nav-cta {
	border-color: rgba(239, 233, 220, 0.55);
	color: var(--cream);
}
.site-head.over-hero:not(.shrunk) .nav-cta:hover {
	background: var(--cream);
	border-color: var(--cream);
	color: var(--ink);
}
.site-head.over-hero:not(.shrunk) .burger span {
	background: var(--cream);
}

.nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}
.nav a.navlink {
	position: relative;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--ink-soft);
	transition: color 0.3s var(--ease);
}
.nav a.navlink::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -7px;
	height: 1px;
	background: var(--camel);
	transition: right 0.35s var(--ease);
}
.nav a.navlink:hover {
	color: var(--ink);
}
.nav a.navlink:hover::after,
.nav a.navlink.active::after {
	right: 0;
}
.nav a.navlink.active {
	color: var(--ink);
}

.nav-cta {
	font-family: var(--ui-font);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.74rem;
	font-weight: 600;
	padding: 0.7em 1.25em;
	border: 1px solid var(--ink);
	color: var(--ink);
	transition: all 0.35s var(--ease);
	border-radius: 1px;
}
.nav-cta:hover {
	background: var(--ink);
	color: var(--paper);
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.burger span {
	width: 24px;
	height: 1.5px;
	background: var(--ink);
	transition: 0.35s var(--ease);
}
.burger.open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.burger.open span:nth-child(2) {
	opacity: 0;
}
.burger.open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* top row: logo + close, aligned to the header height */
.mm-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 96px; /* matches .site-head bar height */
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: var(--gut);
}
.mm-top .brand img {
	height: 28px;
	width: auto;
}
.mm-close {
	position: static; /* now lives in the flex row, not absolute */
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--ink);
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 65;
	background: var(--paper);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(80px, 14vh, 120px) var(--gut) var(--gut); /* top / sides / bottom — sides restored */
	transform: translateY(-100%);
	transition: transform 0.5s var(--ease);
	visibility: hidden;
}
.mm-close {
	position: absolute;
	top: 28px;
	right: var(--gut);
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--ink);
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
}

.mobile-menu.open {
	transform: translateY(0);
	visibility: visible;
}
.mobile-menu a {
	font-family: var(--ui-font);
	font-size: clamp(1.4rem, 5vw, 1.9rem); /* slightly smaller reads better uppercase */
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 600;
	color: var(--ink);
	padding: 0.55em 0;
	border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-of-type {
	border-bottom: 0;
}
.mobile-menu .mm-foot {
	margin-top: 2.5rem;
	font-size: 0.95rem; /* was likely smaller/inherited unevenly */
	color: var(--ink-soft);
	font-family: var(--ui-font);
}
.mobile-menu .mm-foot a {
	font-size: inherit; /* key fix — stops tel: link inheriting big menu-link size */
	font-family: inherit;
	color: inherit;
}
/* ---------- footer ---------- */
.site-foot {
	background: var(--green);
	color: var(--cream);
	padding: clamp(56px, 8vw, 104px) 0 36px;
}
.site-foot a {
	color: var(--cream);
}
.foot-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}
.site-foot .flogo {
	height: 30px;
	width: auto;
	margin-bottom: 1.3rem;
	opacity: 0.96;
}
.foot-col h5 {
	font-family: var(--ui-font);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.72rem;
	font-weight: 600;
	color: rgba(239, 233, 220, 0.6);
	margin: 0 0 1.1rem;
}
.foot-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.foot-col li {
	margin-bottom: 0.6rem;
}
.foot-col a {
	color: rgba(239, 233, 220, 0.85);
	transition: color 0.3s;
	font-size: 1rem;
}
.foot-col a:hover {
	color: #fff;
}
.foot-bottom {
	margin-top: clamp(40px, 6vw, 72px);
	padding-top: 26px;
	border-top: 1px solid rgba(239, 233, 220, 0.16);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 0.84rem;
	color: rgba(239, 233, 220, 0.6);
}
.foot-bottom a {
	color: rgba(239, 233, 220, 0.7);
}
.foot-bottom a:hover {
	color: #fff;
}

/* ---------- reveal animation ---------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in {
	opacity: 1;
	transform: none;
}
[data-reveal-d="1"] {
	transition-delay: 0.08s;
}
[data-reveal-d="2"] {
	transition-delay: 0.16s;
}
[data-reveal-d="3"] {
	transition-delay: 0.24s;
}
[data-reveal-d="4"] {
	transition-delay: 0.32s;
}
[data-reveal-d="5"] {
	transition-delay: 0.4s;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ---------- generic section rhythm ---------- */
.sec {
	padding: clamp(72px, 11vw, 150px) 0;
}
.sec-tight {
	padding: clamp(54px, 8vw, 100px) 0;
}
.alt {
	background: var(--paper-2);
}
.deep {
	background: var(--paper-3);
}
.hairline {
	height: 1px;
	background: var(--line);
	border: 0;
	margin: 0;
}

/* ---------- pill / tag ---------- */
.tag {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.45em 0.85em;
	border: 1px solid var(--line);
	color: var(--ink-soft);
	border-radius: 1px;
}

/* ---------- utility ---------- */
.center {
	text-align: center;
}
.stack-sm > * + * {
	margin-top: 0.8rem;
}
.mt-1 {
	margin-top: 1rem;
}
.mt-2 {
	margin-top: 2rem;
}
.mt-3 {
	margin-top: 3rem;
}
.flex {
	display: flex;
}
.gap-1 {
	gap: 1rem;
}
.gap-2 {
	gap: 1.6rem;
}
.wrapf {
	flex-wrap: wrap;
}
.ac {
	align-items: center;
}

.foot-note {
	color: rgba(239, 233, 220, 0.9);
	font-size: 0.7rem;
	line-height: 1.5;
	max-width: 42ch; /* was 70ch — match the logo column description */
	margin-bottom: 1.75rem;
}
.aum-ast {
	color: var(--accent);
	text-decoration: none;
	font-size: 1em;
	vertical-align: super;
}

@media (max-width: 980px) {
	.nav,
	.nav-cta {
		display: none;
	}
	.burger {
		display: flex;
	}
}
@media (max-width: 860px) {
	body {
		font-size: 17px;
	}
	.foot-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}
