html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-wrap: break-word; }
.englund-page a { color: inherit; }

/* Toppen: lodret menu og billeder */
.englund-top {
	display: flex;
	gap: clamp(6px, 1vw, 16px);
	padding: clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px) 0;
}
.englund-rail {
	position: relative;
	flex: 0 0 clamp(40px, 4.4vw, 64px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
}
.englund-nav {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: clamp(12px, 1.6vw, 24px);
	font-size: clamp(13px, 1.1vw, 15px);
}
.englund-nav a {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	min-width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.englund-nav a:hover, .englund-page a:hover { opacity: .65; }
.englund-page .englund-wordmark {
	margin: 0;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	white-space: nowrap;
	font-size: clamp(24px, 3vw, 42px);
	line-height: 1;
	font-weight: 700;
	letter-spacing: .06em;
}

/* Galleriet */
.englund-top .englund-galleri.wp-block-gallery.has-nested-images {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
	grid-auto-rows: clamp(190px, 43vw, 620px);
	gap: clamp(6px, 1vw, 14px);
}
.englund-top .englund-galleri.wp-block-gallery.has-nested-images figure.wp-block-image {
	position: relative;
	width: auto !important;
	height: 100%;
	margin: 0 !important;
	overflow: hidden;
	background: #e9e9e6;
	display: block !important;
}
.englund-top .englund-galleri.wp-block-gallery.has-nested-images figure.wp-block-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	display: block;
	object-fit: cover;
	object-position: 50% 40%;
	opacity: 1;
	transition: opacity 2.4s ease-in-out;
}
.englund-top .englund-galleri.wp-block-gallery.has-nested-images figure.wp-block-image img.is-hidden { opacity: 0; }

/* Tekstafsnit */
.englund-section { padding: 0 clamp(16px, 4.4vw, 64px) clamp(64px, 9vw, 128px); }
.englund-intro { padding-top: clamp(64px, 9vw, 128px); }
.englund-page .englund-lead {
	margin: 0 0 24px;
	max-width: 980px;
	font-size: clamp(36px, 5.4vw, 78px);
	line-height: 1.04;
	font-weight: 300;
	letter-spacing: -.02em;
}
.englund-intro p:not(.englund-lead) { margin: 0 0 20px; max-width: 560px; }
.englund-page .englund-cta { margin: 0; }
.englund-cta a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.englund-page .englund-label { margin: 0 0 24px; font-size: 15px; font-weight: 400; line-height: 1.5; }

/* Ydelser */
.englund-service {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 32px;
	padding: 24px 0;
	border-top: 1px solid #141414;
}
.englund-service:last-child { border-bottom: 1px solid #141414; }
.englund-page .englund-service h3 {
	margin: 0;
	flex: 1 1 240px;
	font-size: clamp(26px, 2.6vw, 36px);
	line-height: 1.15;
	font-weight: 300;
}
.englund-service__text { flex: 3 1 340px; min-width: 0; max-width: 680px; }
.englund-service__text p { margin: 0; }
.englund-page .englund-service__text .englund-service__hook { margin: 0 0 4px; font-weight: 500; }
.englund-page .englund-service__price { margin: 0; flex: 0 0 100px; }

/* Sådan foregår det */
.englund-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 32px 24px;
}
.englund-page .englund-steps h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; font-weight: 400; }
.englund-steps p { margin: 0; }
.englund-quote { margin: clamp(48px, 6vw, 88px) 0 0; max-width: 860px; }
.englund-page .englund-quote__text { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; font-weight: 300; }
.englund-page .englund-quote__by { margin: 12px 0 0; font-size: 15px; }

/* Om */
.englund-about {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 32px clamp(32px, 6vw, 88px);
}
.englund-page .englund-about__photo { flex: 1 1 320px; min-width: 0; max-width: 560px; margin: 0; }
.englund-about__photo img { width: 100%; height: auto; display: block; }
.englund-about__text { flex: 1 1 340px; min-width: 0; max-width: 560px; }
.englund-about__text p { margin: 0 0 12px; }
.englund-about__text p:last-child { margin-bottom: 0; }
.englund-page .englund-title { margin: 0 0 16px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; font-weight: 300; }

/* Kontakt */
.englund-contact { padding-bottom: 32px; }
.englund-contact__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px clamp(32px, 7vw, 100px);
	border-top: 1px solid #141414;
	padding-top: clamp(40px, 5vw, 72px);
}
.englund-contact__text { flex: 1 1 340px; min-width: 0; }
.englund-contact__text > p { margin: 0 0 20px; max-width: 460px; }
.englund-page .englund-contact__links { margin: 0; line-height: 44px; }
.englund-contact__form { flex: 1 1 420px; min-width: 0; max-width: 620px; }

.englund-form { display: flex; flex-direction: column; gap: 16px; }
.englund-form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.englund-form label { font-size: 14px; }
.englund-form input, .englund-form select, .englund-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0 12px;
	background: #ffffff;
	border: 1px solid #141414;
	border-radius: 0;
	color: inherit;
	font: inherit;
}
.englund-form input, .englund-form select { height: 44px; }
.englund-form textarea { padding: 12px; resize: vertical; }
.englund-form input:focus, .englund-form select:focus, .englund-form textarea:focus { outline: 2px solid #141414; outline-offset: 2px; }
.englund-form button {
	align-self: flex-start;
	height: 48px;
	padding: 0 28px;
	background: #141414;
	color: #ffffff;
	border: 0;
	font: inherit;
	cursor: pointer;
}
.englund-form button:hover { opacity: .8; }
.englund-form button:focus { outline: 2px solid #141414; outline-offset: 2px; }
.englund-form__note { font-size: 14px; display: block !important; }
.englund-form__error { display: block !important; font-weight: 500; }
.englund-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sidefod og almindelige sider */
.englund-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	padding: 32px clamp(16px, 4.4vw, 64px);
	font-size: 14px;
}
.englund-footer p { margin: 0; }
.englund-header { padding: 24px clamp(16px, 4.4vw, 64px); }
.englund-header .wp-block-site-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.englund-header .wp-block-site-title a { text-decoration: none; }
.englund-content { padding: clamp(40px, 7vw, 96px) clamp(16px, 4.4vw, 64px); max-width: 720px; }
.englund-content .wp-block-post-title { margin: 0 0 24px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; font-weight: 300; }
