/* ==========================================================================
   Bolt Studio — design system
   Tokens → base → layout → components → sections → motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Palette — swap these for your brand and everything follows */
	--ink:            #101014;
	--ink-soft:       #55555f;
	--paper:          #ffffff;
	--paper-warm:     #f4f2ee;
	--line:           rgba(16, 16, 20, 0.12);
	--accent:         #2f4bff;
	--accent-ink:     #ffffff;

	/* Section-level roles — overridden per theme below */
	--bg:             var(--paper);
	--fg:             var(--ink);
	--fg-muted:       var(--ink-soft);
	--rule:           var(--line);

	/* Fluid type scale */
	--fs-display: clamp(2.75rem, 1.2rem + 6.4vw, 7.5rem);
	--fs-section: clamp(1.9rem, 1.1rem + 2.9vw, 3.75rem);
	--fs-lead:    clamp(1.05rem, 0.95rem + 0.6vw, 1.5rem);
	--fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--fs-small:   0.8125rem;

	/* Rhythm */
	--space-tight:  clamp(3rem, 5vw, 5rem);
	--space-normal: clamp(4.5rem, 9vw, 9rem);
	--space-loose:  clamp(7rem, 14vw, 14rem);
	--gutter:       clamp(1.25rem, 4vw, 4rem);
	--shell:        88rem;

	--radius: 4px;
	--ease:   cubic-bezier(0.22, 1, 0.36, 1);

	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: var(--font-sans);
}

/* Section colour themes */
.section--light  { --bg: var(--paper);      --fg: var(--ink);   --fg-muted: var(--ink-soft);           --rule: var(--line); }
.section--dark   { --bg: var(--ink);        --fg: var(--paper); --fg-muted: rgba(255,255,255,.62);     --rule: rgba(255,255,255,.16); }
.section--accent { --bg: var(--accent);     --fg: var(--accent-ink); --fg-muted: rgba(255,255,255,.75); --rule: rgba(255,255,255,.28); }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute; top: -100px; left: 1rem; z-index: 999;
	padding: .75rem 1.25rem; background: var(--ink); color: #fff;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.shell {
	width: 100%;
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.shell--narrow { max-width: 60rem; }

.center { text-align: center; }

.section {
	position: relative;
	background: var(--bg);
	color: var(--fg);
	padding-block: var(--space-normal);
}

.section--space-tight { padding-block: var(--space-tight); }
.section--space-loose { padding-block: var(--space-loose); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.section__head--split {
	display: grid;
	gap: 1.5rem clamp(2rem, 6vw, 6rem);
}

@media (min-width: 60rem) {
	.section__head--split { grid-template-columns: 1fr 1fr; align-items: end; }
}

.section__foot { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

.h-display {
	font-family: var(--font-display);
	font-size: var(--fs-display);
	line-height: 0.95;
	letter-spacing: -0.035em;
	font-weight: 600;
	text-wrap: balance;
}

.h-section {
	font-size: var(--fs-section);
	line-height: 1.05;
	letter-spacing: -0.025em;
	font-weight: 600;
	text-wrap: balance;
}

.h-small {
	font-size: var(--fs-body);
	font-weight: 500;
	color: var(--fg-muted);
}

.lead {
	font-size: var(--fs-lead);
	line-height: 1.45;
	color: var(--fg-muted);
	max-width: 46ch;
}

.label {
	display: inline-block;
	font-size: var(--fs-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fg-muted);
	font-weight: 500;
}

.prose { max-width: 62ch; }
.prose > * + * { margin-top: 1.25em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { font-size: var(--fs-section); letter-spacing: -0.02em; line-height: 1.1; }
.prose h3 { font-size: 1.35rem; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose img { margin-block: 2rem; border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: 1rem 1.9rem;
	border-radius: 100px;
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	overflow: hidden;
	transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}

.btn span { position: relative; z-index: 1; }

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: translateY(101%);
	transition: transform .5s var(--ease);
}

.btn:hover::before { transform: translateY(0); }

.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { color: #fff; }

.btn--ghost { border: 1px solid var(--rule); color: var(--fg); }
.btn--ghost:hover { color: #fff; border-color: var(--accent); }

.btn--text {
	padding: 0;
	border-radius: 0;
	border-bottom: 1px solid var(--rule);
	padding-bottom: .35rem;
}
.btn--text::before { display: none; }
.btn--text:hover { border-color: var(--fg); }

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	padding-block: 1.25rem;
	mix-blend-mode: difference;
	transition: transform .5s var(--ease);
}

.site-header.is-hidden { transform: translateY(-110%); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	color: #fff;
}

.brand-text {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.custom-logo-link img { max-height: 34px; width: auto; }

.site-nav__list { display: none; gap: 2.25rem; }

@media (min-width: 56rem) {
	.site-nav__list { display: flex; }
	.nav-toggle { display: none; }
}

.site-nav__list a {
	position: relative;
	font-size: .95rem;
	padding-bottom: 2px;
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s var(--ease);
}

.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { padding: .5rem; }
.nav-toggle__bars { display: block; width: 26px; }
.nav-toggle__bars i {
	display: block; height: 1.5px; background: currentColor;
	transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle__bars i + i { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: var(--ink);
	color: #fff;
	display: flex;
	align-items: center;
	padding: var(--gutter);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav__list { display: grid; gap: 1rem; }
.mobile-nav__list a { font-size: clamp(2rem, 9vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	padding-top: clamp(8rem, 18vh, 12rem);
	padding-bottom: clamp(4rem, 10vh, 8rem);
	overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }

.hero.has-media-image::after,
.hero.has-media-video::after {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}

.hero__inner { position: relative; z-index: 2; }
.hero.has-media-image .hero__inner,
.hero.has-media-video .hero__inner { color: #fff; --fg: #fff; --fg-muted: rgba(255,255,255,.75); }

.hero__eyebrow { margin-bottom: 1.75rem; }
.hero__heading { max-width: 16ch; }
.hero__text { margin-top: 2rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.75rem; }

.hero__scroll {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(2rem, 6vh, 4rem);
	z-index: 2;
	display: none;
}

@media (min-width: 56rem) { .hero__scroll { display: block; } }

.hero__scroll i {
	display: block;
	width: 1px; height: 64px;
	background: currentColor;
	opacity: .3;
	transform-origin: top;
	animation: scrollCue 2.4s var(--ease) infinite;
}

@keyframes scrollCue {
	0%   { transform: scaleY(0); transform-origin: top; }
	45%  { transform: scaleY(1); transform-origin: top; }
	55%  { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   8. Statement
   -------------------------------------------------------------------------- */

.statement__inner { display: grid; gap: 2rem clamp(2rem, 8vw, 8rem); }

@media (min-width: 60rem) {
	.statement__inner { grid-template-columns: 12rem 1fr; }
}

.statement__lead {
	font-size: clamp(1.6rem, 1rem + 2.4vw, 3.1rem);
	line-height: 1.15;
	letter-spacing: -0.025em;
	font-weight: 500;
	text-wrap: balance;
}

.statement__body { margin-top: 2.5rem; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   9. Work
   -------------------------------------------------------------------------- */

.work__list { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }

@media (min-width: 48rem) {
	.work--grid .work__list { grid-template-columns: repeat(2, 1fr); }
	.work--grid .work-card:nth-child(odd) { margin-top: 0; }
	.work--grid .work-card:nth-child(even) { margin-top: clamp(2rem, 8vw, 6rem); }
}

@media (min-width: 60rem) {
	.work--alternating .work-card__link {
		display: grid;
		grid-template-columns: 1.35fr 1fr;
		align-items: center;
		gap: clamp(2rem, 5vw, 4.5rem);
	}
	.work--alternating .work-card:nth-child(even) .work-card__media { order: 2; }
}

.work-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-warm);
	aspect-ratio: 4 / 3;
}

.work-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.1s var(--ease), filter .6s var(--ease);
}

.work-card__link:hover .work-card__media img { transform: scale(1.045); }

.work-card__body { padding-top: 1.5rem; }

.work-card__title {
	font-size: clamp(1.4rem, 1rem + 1.4vw, 2.25rem);
	letter-spacing: -0.025em;
	line-height: 1.1;
	font-weight: 600;
}

.work-card__tagline { margin-top: .6rem; color: var(--fg-muted); max-width: 44ch; }

.tag-list {
	display: flex; flex-wrap: wrap; gap: .5rem;
	margin-top: 1.1rem;
}

.tag-list li {
	font-size: var(--fs-small);
	letter-spacing: .04em;
	padding: .35rem .8rem;
	border: 1px solid var(--rule);
	border-radius: 100px;
	color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   10. Services
   -------------------------------------------------------------------------- */

.services__list { border-top: 1px solid var(--rule); }

.service {
	display: grid;
	gap: .5rem 2rem;
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
	border-bottom: 1px solid var(--rule);
}

@media (min-width: 60rem) {
	.service { grid-template-columns: 4rem 1fr 1.25fr; align-items: start; }
}

.service__num { font-size: var(--fs-small); color: var(--fg-muted); padding-top: .5rem; }

.service__title {
	font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
	letter-spacing: -0.02em;
	font-weight: 600;
	line-height: 1.15;
}

.service__detail { color: var(--fg-muted); max-width: 52ch; }

/* --------------------------------------------------------------------------
   10b. Team
   -------------------------------------------------------------------------- */

.team__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 48rem) {
	.team--cols-3 .team__grid { grid-template-columns: repeat(3, 1fr); }
	.team--cols-4 .team__grid { grid-template-columns: repeat(4, 1fr); }
}

.member__photo {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-warm);
	aspect-ratio: 4 / 5;
}

.member__photo img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1);
	transition: filter .6s var(--ease), transform 1.1s var(--ease);
}

.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }

.member__body { padding-top: 1.1rem; }

.member__name { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }

.member__role {
	margin-top: .2rem;
	font-size: var(--fs-small);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fg-muted);
}

.member__bio { margin-top: .75rem; color: var(--fg-muted); font-size: .95rem; }

.member__link {
	display: inline-block;
	margin-top: .85rem;
	font-size: var(--fs-small);
	border-bottom: 1px solid var(--rule);
	padding-bottom: 2px;
}
.member__link:hover { border-color: var(--fg); }

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */

.stats__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 60rem) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat { border-top: 1px solid var(--rule); padding-top: 1.25rem; }

.stat__value {
	display: block;
	font-size: clamp(2.5rem, 1.5rem + 3.6vw, 5rem);
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 600;
}

.stat__value em { font-style: normal; }

.stat__label {
	display: block;
	margin-top: .75rem;
	font-size: var(--fs-small);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   12. Logos
   -------------------------------------------------------------------------- */

.logo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}

@media (min-width: 40rem) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }

.logo-grid li {
	display: grid;
	place-items: center;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--bg);
	min-height: 7rem;
}

.logo-grid img,
.marquee img {
	max-height: 34px;
	width: auto;
	opacity: .55;
	filter: grayscale(1);
	transition: opacity .4s, filter .4s;
}

.logo-grid li:hover img { opacity: 1; filter: grayscale(0); }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__set { display: flex; align-items: center; gap: clamp(3rem, 7vw, 6rem); padding-right: clamp(3rem, 7vw, 6rem); }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   13. Testimonial
   -------------------------------------------------------------------------- */

.testimonial__quote {
	font-size: clamp(1.5rem, 1rem + 2.2vw, 2.9rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-weight: 500;
	text-wrap: balance;
}

.testimonial__quote::before { content: "\201C"; }
.testimonial__quote::after  { content: "\201D"; }

.testimonial__cite {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
	font-size: var(--fs-small);
}

.testimonial__cite strong { display: block; font-weight: 600; }
.testimonial__cite em { font-style: normal; color: var(--fg-muted); }

.testimonial__photo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* --------------------------------------------------------------------------
   14. CTA band + cards + footer
   -------------------------------------------------------------------------- */

.cta-band .lead { margin-inline: auto; margin-top: 1.5rem; }
.cta-band .btn { margin-top: 2.5rem; }

.card-grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.card__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding-top: 1.25rem; }
.card__title { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 600; margin-top: .5rem; }
.card__excerpt { margin-top: .6rem; color: var(--fg-muted); }

.meta-row { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; }
.meta-row dt { font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.meta-row dd { margin-top: .35rem; font-weight: 500; }

.single__hero { padding-block: 0 clamp(2rem, 5vw, 4rem); }
.single__hero img { width: 100%; border-radius: var(--radius); }

.pagination { margin-top: 3rem; }
.pagination .page-numbers { padding: .5rem .85rem; border: 1px solid var(--rule); border-radius: 100px; margin-right: .35rem; display: inline-block; }
.pagination .current { background: var(--ink); color: #fff; }

.site-footer {
	background: var(--ink);
	color: var(--paper);
	padding-block: clamp(4rem, 9vw, 8rem) 2.5rem;
	--fg: var(--paper);
	--fg-muted: rgba(255,255,255,.6);
	--rule: rgba(255,255,255,.16);
}

.site-footer__cta {
	padding-bottom: clamp(3rem, 7vw, 6rem);
	margin-bottom: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--rule);
}
.site-footer__cta .btn { margin-top: 2.5rem; }

.site-footer__grid {
	display: grid;
	gap: 2.5rem clamp(2rem, 5vw, 4rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.site-footer__col { display: grid; gap: .6rem; align-content: start; color: var(--fg-muted); }
.site-footer__col .label { margin-bottom: .5rem; }
.site-footer__col a:hover { color: var(--paper); }

.site-footer__big { font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); color: var(--paper); letter-spacing: -0.02em; }

.site-footer__social,
.site-footer__menu { display: grid; gap: .5rem; }

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(3rem, 7vw, 6rem);
	padding-top: 1.75rem;
	border-top: 1px solid var(--rule);
	font-size: var(--fs-small);
	color: var(--fg-muted);
}

.to-top:hover { color: var(--paper); }

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
	transition-delay: calc(var(--i, 0) * 90ms);
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal-words] .word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}

[data-reveal-words] .word > span {
	display: inline-block;
	transform: translateY(105%);
	transition: transform .95s var(--ease);
	transition-delay: calc(var(--i) * 55ms);
}

[data-reveal-words].is-in .word > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal],
	[data-reveal-words] .word > span {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ==========================================================================
   16. Floating capsule header + footer polish
   ========================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	padding: clamp(.75rem, 2vw, 1.25rem) var(--gutter);
	mix-blend-mode: normal;
	transition: transform .55s var(--ease);
}

.site-header.is-hidden { transform: translateY(-160%); }

.site-header__bar {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	padding: 7px 7px 7px 22px;
	border-radius: 999px;
	color: #fff;
	background: rgba(14, 14, 18, .62);
	border: 1px solid rgba(255, 255, 255, .13);
	backdrop-filter: blur(18px) saturate(1.6);
	-webkit-backdrop-filter: blur(18px) saturate(1.6);
	box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .55);
	transition: background-color .5s var(--ease), border-color .5s var(--ease);
}

.site-header.is-stuck .site-header__bar {
	background: rgba(14, 14, 18, .88);
	border-color: rgba(255, 255, 255, .18);
}

.site-header__brand { display: flex; align-items: center; }
.site-header__brand .brand-text { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.site-header__brand .custom-logo-link img { max-height: 26px; width: auto; }

.site-nav__list {
	display: none;
	align-items: center;
	gap: 2px;
}

@media (min-width: 60rem) {
	.site-nav__list { display: flex; }
	.nav-toggle { display: none; }
}

.site-nav__list a {
	position: relative;
	display: block;
	padding: .62rem 1.15rem;
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 450;
	letter-spacing: -.01em;
	color: rgba(255, 255, 255, .72);
	isolation: isolate;
	transition: color .45s var(--ease);
}

.site-nav__list a::after { display: none; }

.site-nav__list a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 999px;
	background: var(--accent);
	transform: scale(.55);
	opacity: 0;
	transition: transform .55s var(--ease), opacity .4s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a { color: #fff; }

.site-nav__list a:hover::before,
.site-nav__list .current-menu-item > a::before { transform: scale(1); opacity: 1; }

.site-header__actions { display: flex; align-items: center; gap: .5rem; }

.header-cta {
	position: relative;
	display: none;
	padding: .68rem 1.35rem;
	border-radius: 999px;
	background: #fff;
	color: #0e0e12;
	font-size: .9rem;
	font-weight: 550;
	letter-spacing: -.01em;
	overflow: hidden;
	isolation: isolate;
	transition: color .45s var(--ease);
}

@media (min-width: 60rem) { .header-cta { display: block; } }

.header-cta span { position: relative; z-index: 1; }

.header-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--accent);
	transform: translateY(102%);
	transition: transform .55s var(--ease);
}

.header-cta:hover { color: #fff; }
.header-cta:hover::before { transform: translateY(0); }

.nav-toggle {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	transition: background-color .4s var(--ease);
}

.nav-toggle:hover { background: var(--accent); }
.nav-toggle__bars { width: 17px; }
.nav-toggle__bars i { height: 1.5px; background: #fff; }
.nav-toggle__bars i + i { margin-top: 5px; }

.hero { padding-top: clamp(9rem, 20vh, 13rem); }

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

.site-footer {
	border-radius: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0 0;
	margin-top: -1px;
}

.site-footer__cta .h-display { max-width: 18ch; }

.site-footer__social a,
.site-footer__menu a {
	position: relative;
	display: inline-block;
	padding: .38rem .9rem;
	margin-left: -.9rem;
	border-radius: 999px;
	isolation: isolate;
	transition: color .4s var(--ease);
}

.site-footer__social a::before,
.site-footer__menu a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 999px;
	background: var(--accent);
	transform: scale(.6);
	opacity: 0;
	transition: transform .5s var(--ease), opacity .38s var(--ease);
}

.site-footer__social a:hover,
.site-footer__menu a:hover { color: #fff; }

.site-footer__social a:hover::before,
.site-footer__menu a:hover::before { transform: scale(1); opacity: 1; }

.site-footer__big {
	position: relative;
	display: inline-block;
	padding-bottom: 3px;
	background-image: linear-gradient(var(--accent), var(--accent));
	background-size: 0% 1px;
	background-position: left bottom;
	background-repeat: no-repeat;
	transition: background-size .55s var(--ease), color .4s var(--ease);
}

.site-footer__big:hover { background-size: 100% 1px; color: var(--accent); }

.to-top {
	padding: .55rem 1.15rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}

.to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
