/*
Theme Name: Studio Nord
Description: Et portabelt, merkevarevennlig GetSimple-tema.
Version: 1.0.0
*/

:root {
	--ink: #15352c;
	--brand: #426b56;
	--accent: #d9a441;
	--canvas: #f4f0e8;
	--paper: #fffdf9;
	--text: #24312d;
	--muted: #66716d;
	--line: rgba(21, 53, 44, 0.16);
	--shadow: 0 24px 70px rgba(21, 53, 44, 0.14);
	--radius: 22px;
	--shell: 1220px;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
}

button,
input,
textarea,
select {
	font: inherit;
}

.shell {
	width: min(var(--shell), calc(100% - 48px));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 9999;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	transform: translateY(-150%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 253, 249, 0.91);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(16px);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
	border-color: var(--line);
	box-shadow: 0 8px 30px rgba(21, 53, 44, 0.07);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 32px;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	max-width: 255px;
	text-decoration: none;
}

.brand-logo {
	width: auto;
	max-width: 235px;
	max-height: 58px;
}

.brand-name {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.1;
}

.nav-panel {
	display: flex;
	align-items: center;
	gap: 26px;
}

.site-navigation ul {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation li {
	margin: 0;
	list-style: none;
}

.site-navigation a {
	position: relative;
	display: block;
	padding: 12px 10px;
	color: var(--ink);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
}

.site-navigation a::after {
	position: absolute;
	right: 10px;
	bottom: 5px;
	left: 10px;
	height: 2px;
	background: var(--accent);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after,
.site-navigation .current > a::after,
.site-navigation .active > a::after,
.site-navigation li.current a::after,
.site-navigation li.active a::after {
	transform: scaleX(1);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-weight: 700;
	cursor: pointer;
}

.menu-toggle-lines {
	display: grid;
	gap: 5px;
	width: 22px;
}

.menu-toggle-lines span {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
	transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
	transform: translateY(-3.5px) rotate(-45deg);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 54px;
	padding: 14px 24px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 0.93rem;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
	background: var(--brand);
	transform: translateY(-2px);
}

.button-small {
	min-height: 44px;
	padding: 12px 18px;
	font-size: 0.84rem;
}

.hero {
	position: relative;
	overflow: hidden;
	background: var(--canvas);
}

.hero::before {
	position: absolute;
	top: -220px;
	left: -180px;
	width: 520px;
	height: 520px;
	border: 90px solid rgba(255, 255, 255, 0.42);
	border-radius: 50%;
	content: "";
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	align-items: center;
	gap: clamp(48px, 8vw, 110px);
	min-height: 680px;
	padding-block: 76px 92px;
}

.hero-copy {
	position: relative;
	z-index: 2;
	max-width: 650px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 20px;
	color: var(--brand);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow span {
	display: block;
	width: 34px;
	height: 2px;
	background: var(--accent);
}

.hero h1,
.page-hero h1,
.contact-band h2 {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.hero h1 {
	max-width: 720px;
	font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.hero-intro {
	max-width: 590px;
	margin: 30px 0 0;
	color: #485852;
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 26px;
	margin-top: 38px;
}

.text-link {
	color: var(--ink);
	font-size: 0.94rem;
	font-weight: 750;
	text-decoration: none;
}

.text-link span {
	display: inline-block;
	margin-left: 8px;
	transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
	transform: translateX(4px);
}

.hero-media {
	position: relative;
	justify-self: stretch;
	min-height: 510px;
	margin-right: -8vw;
}

.hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 220px 0 0 220px;
	box-shadow: var(--shadow);
	object-fit: cover;
}

.acoustic-pattern {
	position: absolute;
	top: -42px;
	left: -42px;
	z-index: 2;
	width: 154px;
	height: 154px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle at center, var(--accent) 0 3px, transparent 4px 14px);
	opacity: 0.92;
}

.hero-note {
	position: absolute;
	right: clamp(20px, 5vw, 72px);
	bottom: 30px;
	z-index: 3;
	display: grid;
	gap: 4px;
	max-width: 265px;
	padding: 18px 22px;
	border-left: 4px solid var(--accent);
	background: rgba(255, 253, 249, 0.94);
	box-shadow: 0 14px 40px rgba(21, 53, 44, 0.16);
	backdrop-filter: blur(10px);
}

.hero-note strong {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.12rem;
	line-height: 1.2;
}

.hero-note span {
	color: var(--muted);
	font-size: 0.75rem;
	line-height: 1.4;
}

.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--canvas);
}

.page-hero::after {
	position: absolute;
	top: -150px;
	right: 6vw;
	width: 360px;
	height: 360px;
	border: 60px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	content: "";
}

.page-hero-inner {
	position: relative;
	z-index: 1;
	padding-block: 82px 92px;
}

.page-hero h1 {
	max-width: 920px;
	font-size: clamp(2.5rem, 5.5vw, 4.2rem);
}

.content-shell {
	display: grid;
	grid-template-columns: minmax(0, 880px);
	justify-content: center;
	padding-block: clamp(70px, 9vw, 124px);
}

.prose > :first-child {
	margin-top: 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.prose h1 {
	margin: 64px 0 22px;
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.prose h2 {
	margin: 64px 0 22px;
	font-size: clamp(2rem, 4vw, 3.15rem);
}

.prose h3 {
	margin: 48px 0 16px;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose table {
	margin: 0 0 1.5rem;
}

.prose p,
.prose li {
	font-size: 1.05rem;
}

.prose a {
	color: var(--brand);
	font-weight: 700;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.prose ul,
.prose ol {
	padding-left: 1.3rem;
}

.prose li {
	margin: 0.48rem 0;
	padding-left: 0.35rem;
}

.prose li::marker {
	color: var(--accent);
}

.prose img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 42px 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	object-fit: cover;
}

.prose blockquote {
	padding: 20px 24px;
	border-left: 4px solid var(--accent);
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.25rem;
}

.prose hr {
	margin: 56px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 13px 15px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	background: var(--canvas);
	color: var(--ink);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 42px 0 72px;
}

.feature-card {
	position: relative;
	min-height: 210px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.feature-card::before {
	display: block;
	width: 40px;
	height: 4px;
	margin-bottom: 26px;
	background: var(--accent);
	content: "";
}

.feature-card h3 {
	margin: 0 0 12px;
	font-size: 1.35rem;
}

.feature-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
}

.content-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(36px, 7vw, 76px);
	margin: 72px 0;
}

.content-split img {
	margin: 0;
}

.content-split h2 {
	margin-top: 0;
}

.contact-band {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.82);
}

.contact-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	padding-block: 72px;
}

.contact-band-inner > div {
	max-width: 760px;
}

.eyebrow-light {
	color: rgba(255, 255, 255, 0.68);
}

.contact-band h2 {
	color: #fff;
	font-size: clamp(2.3rem, 5vw, 4.25rem);
}

.contact-band p:not(.eyebrow) {
	margin: 20px 0 0;
	font-size: 1.05rem;
}

.button-light {
	flex: 0 0 auto;
	border-color: #fff;
	background: #fff;
	color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--ink);
}

.site-footer {
	padding-block: 58px;
	background: #0d241e;
	color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}

.site-footer strong {
	display: block;
	color: #fff;
	font-family: var(--serif);
	font-size: 1.45rem;
	line-height: 1.2;
}

.site-footer p {
	margin: 7px 0 0;
}

.site-footer a,
.site-footer span {
	display: block;
	margin: 5px 0;
	font-size: 0.9rem;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #fff;
}

.footer-label {
	margin: 0 0 12px !important;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-meta {
	justify-self: end;
	text-align: right;
}

@media (max-width: 1080px) {
	.header-cta {
		display: none;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
		gap: 48px;
	}

	.hero-media {
		margin-right: -80px;
	}
}

@media (max-width: 920px) {
	.header-inner {
		min-height: 74px;
	}

	.brand-logo {
		max-width: 190px;
		max-height: 48px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.nav-panel {
		position: fixed;
		top: 74px;
		right: 0;
		left: 0;
		display: block;
		max-height: calc(100vh - 74px);
		overflow-y: auto;
		padding: 20px 24px 32px;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 50px rgba(21, 53, 44, 0.13);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-12px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.nav-panel.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.site-navigation ul {
		display: block;
	}

	.site-navigation a {
		padding: 14px 4px;
		border-bottom: 1px solid var(--line);
		font-size: 1rem;
	}

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

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 60px;
		padding-block: 70px;
	}

	.hero-media {
		min-height: 460px;
		margin-right: -24px;
		margin-left: 11vw;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}

	.feature-card {
		min-height: 0;
	}

	.content-split {
		grid-template-columns: 1fr;
	}

	.content-split img {
		order: -1;
	}

	.contact-band-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 34px;
	}
}

@media (max-width: 680px) {
	body {
		font-size: 16px;
	}

	.shell {
		width: min(100% - 32px, var(--shell));
	}

	.brand-logo {
		max-width: 164px;
	}

	.hero-grid {
		padding-block: 54px 64px;
	}

	.hero h1 {
		font-size: clamp(2.55rem, 11vw, 3.3rem);
	}

	.hero-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 20px;
	}

	.hero-media {
		min-height: 360px;
		margin-right: -16px;
		margin-left: 24px;
	}

	.hero-media img {
		border-radius: 150px 0 0 150px;
	}

	.acoustic-pattern {
		top: -30px;
		left: -30px;
		width: 110px;
		height: 110px;
	}

	.hero-note {
		right: 14px;
		bottom: 18px;
		max-width: 220px;
		padding: 14px 16px;
	}

	.page-hero-inner {
		padding-block: 58px 66px;
	}

	.page-hero h1 {
		font-size: clamp(2.3rem, 10vw, 3rem);
	}

	.content-shell {
		padding-block: 64px;
	}

	.prose h2 {
		margin-top: 52px;
	}

	.prose img {
		margin: 32px 0;
		border-radius: 15px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-meta {
		justify-self: start;
		text-align: left;
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
