:root {
	color-scheme: light dark;
	--nav-h: 78px;
	--bg: #ccffee;
	--ink: hsl(160,50%,12%);
	--muted: hsl(160,20%,30%);
	--accent: hsl(160,60%,24%);
	--accent-em: hsl(160,50%,30%);
	--lime: hsl(160,70%,68%);
	--card: hsl(160,60%,96%);
	--card-border: hsl(160,40%,75%);
	--band: hsl(160,100%,85%);
	--project-card: hsl(160,100%,98%);
	--outline: hsl(160,30%,60%);
	--icon-bg: hsl(160,70%,80%);
	--icon-ink: hsl(160,50%,25%);
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #123330;
		--ink: hsl(174,30%,92%);
		--muted: hsl(174,15%,72%);
		--accent: hsl(174,60%,75%);
		--accent-em: hsl(174,55%,72%);
		--card: hsl(174,36%,14%);
		--card-border: hsl(174,30%,22%);
		--band: hsl(174,50%,10%);
		--project-card: hsl(174,36%,17%);
		--outline: hsl(174,22%,32%);
		--icon-bg: hsl(174,40%,22%);
		--icon-ink: hsl(174,60%,75%);
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #e8a95a; outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: absolute; z-index: 20; top: -60px; left: 16px; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }

.header-inner { display: flow-root; }
.site-header .ss-logo-stage { z-index: 101; }
.site-header nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--nav-h); padding: 0 32px; background: var(--bg); }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 36px; }
.site-header nav a { text-decoration: none; font-size: 13px; font-weight: 700; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .nav-contact { border: 1px solid var(--outline); border-radius: 100px; padding: 14px 19px; }
.nav-contact span { margin-left: 12px; }

.hero-copy { padding: calc(var(--nav-h) + 48px) 32px 24px; max-width: 760px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 400; }
h1 { margin-bottom: 22px; font-size: clamp(40px, 5vw, 68px); line-height: 1.05; }
h1 em, h2 em { color: var(--accent-em); font-weight: 400; }
.hero-intro { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 17px 22px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--lime); color: #173a37; }
.button-primary:hover { background: hsl(160,70%,76%); }
.text-link { font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.text-link span { margin-left: 8px; }

.section { padding: 64px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.section-heading h2, .contact-inner h2 { margin: 0; font-size: clamp(42px, 4.5vw, 60px); line-height: 1.1; }
.section-heading > p { max-width: 350px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: grid; grid-template-columns: 48px 1fr; align-content: start; align-items: center; gap: 0 16px; padding: 29px; border: 1px solid var(--card-border); background: var(--card); }
.project-category { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.service-icon { display: grid; width: 48px; height: 48px; margin: 0; place-items: center; border-radius: 50%; background: var(--icon-bg); color: var(--icon-ink); font-size: 19px; }
.service-card h3, .project-info h3 { margin-bottom: 10px; font-size: 19px; }
.service-card h3 { margin-bottom: 0; }
.service-card p { grid-column: 1 / -1; margin-top: 18px; }
.service-card p, .project-info > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.work { background: var(--band); }
.project-card { min-width: 0; background: var(--project-card); }
.project-image { position: relative; display: grid; min-height: 230px; place-items: center; overflow: hidden; }
.project-image img { width: 114px; height: 114px; border-radius: 23px; object-fit: cover; box-shadow: 0 15px 30px #253c3029; transition: transform .2s ease; }
.project-image:hover img { transform: translateY(-5px); }
.project-image { background: var(--icon-bg); }
.project-arrow { position: absolute; top: 18px; right: 18px; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--outline); border-radius: 50%; font-size: 16px; }
.project-info { padding: 25px 26px 30px; }
.project-category { margin-bottom: 15px; }
.project-info h3 a { text-decoration: none; }
.project-info h3 a:hover { text-decoration: underline; }

.contact-section { padding: 56px 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.contact-inner > div > p:last-child { margin: 19px 0 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 800px) {
	.site-header nav { gap: 20px; }
	.service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
	.section-heading { align-items: start; flex-direction: column; gap: 20px; }
}
@media (max-width: 540px) {
	.container { width: calc(100% - 40px); }
	body { display: flex; flex-direction: column; }
	.site-header, .header-inner { display: contents; }
	.site-header nav { order: -1; position: sticky; top: 0; left: auto; right: auto; height: auto; padding: 24px 20px 18px; background: var(--bg); justify-content: space-between; gap: 10px; }
	.site-header .ss-logo-stage { order: 2; margin-top: 24px; overflow: clip; }
	.site-header nav a { font-size: 12px; }
	.site-header .nav-contact { padding: 10px 12px; }
	.nav-contact span { margin-left: 4px; }
	.hero-copy { padding: 36px 20px 24px; }
	:root { --nav-h: 72px; }
	.hero-intro { font-size: 16px; }
	.section { padding: 48px 0; }
	.service-grid, .project-grid { grid-template-columns: 1fr; }
	.service-card { min-height: 0; }
	.contact-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.project-image img { transition: none; }
}

.client-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.client-list a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--card-border); background: var(--project-card); text-decoration: none; font-size: 15px; font-weight: 700; }
.client-list a:hover { text-decoration: underline; }
