:root {
	--njut-ink: #18231f;
	--njut-forest: #183a32;
	--njut-forest-soft: #285047;
	--njut-lake: #244753;
	--njut-plum: #4a2f3d;
	--njut-terracotta: #b66f51;
	--njut-honey: #d6ad62;
	--njut-cream: #f4efe6;
	--njut-paper: #fbf8f2;
	--njut-mist: #dce5df;
	--njut-rose: #dfc9c2;
	--njut-muted: #5e6a64;
	--njut-line: rgba(24, 58, 50, .16);
	--njut-shadow: 0 28px 70px rgba(12, 31, 26, .14);
	--njut-shadow-soft: 0 15px 40px rgba(12, 31, 26, .09);
	--njut-radius: 30px;
	--njut-radius-small: 18px;
	--njut-shell: min(1180px, calc(100% - 40px));
	--njut-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--njut-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--njut-paper);
	color: var(--njut-ink);
	font-family: var(--njut-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { display: block; height: auto; max-width: 100%; }
a { color: var(--njut-forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--njut-terracotta); }
h1, h2, h3, h4 {
	font-family: var(--njut-serif);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -.035em;
	margin: 0 0 .65em;
	text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.15rem, 5vw, 4.35rem); }
h3 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; }
.site-shell { margin-inline: auto; width: var(--njut-shell); }
.screen-reader-text { border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; white-space: nowrap; width: 1px; }
.screen-reader-text:focus, .skip-link:focus { background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.18); clip: auto !important; color: #000; height: auto; left: 12px; padding: 12px 18px; top: 12px; width: auto; z-index: 99999; }

.site-header {
	background: rgba(251, 248, 242, .86);
	border-bottom: 1px solid transparent;
	left: 0;
	position: sticky;
	right: 0;
	top: 0;
	transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
	z-index: 100;
}
@supports (backdrop-filter: blur(18px)) { .site-header { backdrop-filter: blur(18px); } }
.site-header.is-scrolled { background: rgba(251, 248, 242, .96); border-color: var(--njut-line); box-shadow: 0 8px 30px rgba(18,35,31,.06); }
.header-inner { align-items: center; display: flex; gap: 32px; justify-content: space-between; min-height: 88px; }
.brand-wrap { align-items: center; display: flex; gap: 20px; }
.wordmark { align-items: center; color: var(--njut-ink); display: inline-flex; font-family: var(--njut-serif); font-size: 2.2rem; font-weight: 600; letter-spacing: -.07em; line-height: 1; text-decoration: none; }
.wordmark:hover { color: var(--njut-ink); }
.wordmark-name > span { color: var(--njut-terracotta); font-family: var(--njut-sans); font-size: .42em; font-weight: 700; letter-spacing: .01em; margin-left: .08em; }
.wordmark-mark { align-items: flex-end; display: inline-flex; gap: 3px; height: 36px; justify-content: center; margin-right: 9px; position: relative; width: 33px; }
.wordmark-mark:before { border: 1px solid var(--njut-honey); border-radius: 50% 50% 46% 54%; content: ""; inset: 0; position: absolute; transform: rotate(-12deg); }
.wordmark-mark span { background: var(--njut-forest); border-radius: 99px; display: block; height: 44%; transform-origin: bottom; width: 3px; }
.wordmark-mark span:nth-child(1) { height: 34%; transform: rotate(-15deg); }
.wordmark-mark span:nth-child(2) { height: 58%; }
.wordmark-mark span:nth-child(3) { height: 42%; transform: rotate(14deg); }
.brand-promise { border-left: 1px solid var(--njut-line); color: var(--njut-muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; padding-left: 20px; text-transform: uppercase; }
.menu, .footer-menu { align-items: center; display: flex; gap: clamp(14px, 2.1vw, 28px); list-style: none; margin: 0; padding: 0; }
.menu a, .footer-menu a { color: var(--njut-ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.menu a { position: relative; }
.menu a:after { background: var(--njut-terracotta); bottom: -.5em; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 100%; }
.menu a:hover:after, .menu .current-menu-item > a:after { transform: scaleX(1); }
.menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; padding: 10px; }
.menu-toggle > span:not(.screen-reader-text) { background: var(--njut-ink); display: block; height: 2px; margin: 5px; transition: transform .2s ease; width: 25px; }

.eyebrow, .card-kicker, .footer-kicker {
	color: var(--njut-terracotta);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .17em;
	margin-bottom: 18px;
	text-transform: uppercase;
}
.njut-button, .wp-block-button__link, .njut-tool button {
	align-items: center;
	background: var(--njut-forest);
	border: 2px solid var(--njut-forest);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: .94rem;
	font-weight: 750;
	justify-content: center;
	min-height: 54px;
	padding: 12px 24px;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.njut-button:hover, .wp-block-button__link:hover, .njut-tool button:hover { background: var(--njut-plum); border-color: var(--njut-plum); box-shadow: 0 10px 26px rgba(74,47,61,.18); color: #fff; transform: translateY(-2px); }
.njut-button.is-light, .is-style-outline .wp-block-button__link { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.75); color: #fff; }
.njut-button.is-light:hover, .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--njut-forest); }
.text-link { color: var(--njut-forest); font-weight: 750; text-decoration: none; }

.njut-image-hero { background-image: url('../images/njut-hero.webp'); }
.njut-image-somn { background-image: url('../images/njut-somn.webp'); }
.njut-image-vila { background-image: url('../images/njut-vila.webp'); }
.njut-image-upplevelse { background-image: url('../images/njut-upplevelse.webp'); }
.njut-slug-somnkomfort .page-hero { background-image: url('../images/njut-somn.webp'); }
.njut-slug-upplevelser .page-hero { background-image: url('../images/njut-upplevelse.webp'); }
.njut-slug-spa-bastu .page-hero { background-image: url('../images/njut-hero.webp'); }
.njut-slug-massage-vila .page-hero { background-image: url('../images/njut-vila.webp'); }

.page-hero, .guide-hero, .archive-hero, .error-section { background-color: var(--njut-forest); background-position: center; background-size: cover; color: #fff; isolation: isolate; min-height: min(68vh, 720px); position: relative; }
.page-hero-shade, .guide-hero-shade { background: linear-gradient(90deg, rgba(8,24,20,.88) 0%, rgba(8,24,20,.54) 54%, rgba(8,24,20,.18) 100%); inset: 0; position: absolute; z-index: -1; }
.page-hero:after, .guide-hero:after, .archive-hero:after { background: linear-gradient(180deg, transparent, rgba(8,24,20,.32)); content: ""; inset: 55% 0 0; pointer-events: none; position: absolute; z-index: -1; }
.page-hero-inner, .guide-hero-inner, .archive-hero-inner { align-items: flex-start; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(68vh, 720px); padding-bottom: clamp(52px, 8vw, 100px); padding-top: 120px; }
.page-hero h1, .guide-hero h1, .archive-hero h1 { max-width: 900px; text-shadow: 0 3px 30px rgba(0,0,0,.25); }
.guide-lead, .archive-hero p:last-child { color: rgba(255,255,255,.9); font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 760px; }

.content-shell { max-width: 900px; padding-bottom: 120px; padding-top: clamp(58px, 8vw, 100px); }
.guide-shell { max-width: 980px; }
.entry-card { background: var(--njut-paper); }
.entry-content { font-size: 1.06rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > p:first-child { color: #3f4b45; font-family: var(--njut-serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.5; }
.entry-content h2 { margin-top: 1.7em; }
.entry-content h3 { margin-top: 1.55em; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin-bottom: .7em; }
.entry-content blockquote { border-left: 3px solid var(--njut-terracotta); color: var(--njut-plum); font-family: var(--njut-serif); font-size: 1.4rem; margin: 42px 0; padding: 8px 0 8px 28px; }
.entry-content hr { border: 0; border-top: 1px solid var(--njut-line); margin: 55px 0; }
.entry-content .wp-block-group { border-radius: var(--njut-radius-small); margin: 36px 0; padding: clamp(24px, 4vw, 38px); }
.guide-entry { margin-inline: auto; max-width: 780px; }
.njut-breadcrumbs { font-size: .83rem; margin-bottom: 35px; }
.njut-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.njut-breadcrumbs li:not(:last-child):after { color: rgba(255,255,255,.55); content: "/"; margin-left: 8px; }
.njut-breadcrumbs a { color: #fff; }
.guide-meta { align-items: center; color: rgba(255,255,255,.76); display: flex; flex-wrap: wrap; font-size: .86rem; gap: 10px 22px; margin-top: 18px; }
.guide-meta span { align-items: center; display: inline-flex; gap: 7px; }
.guide-meta span:before { background: var(--njut-honey); border-radius: 50%; content: ""; height: 6px; width: 6px; }

.guide-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-card { background: #fff; border: 1px solid var(--njut-line); border-radius: var(--njut-radius); box-shadow: var(--njut-shadow-soft); display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.guide-card:hover { box-shadow: var(--njut-shadow); transform: translateY(-5px); }
.guide-card-image { background-position: center; background-size: cover; display: block; min-height: 230px; overflow: hidden; position: relative; }
.guide-card-image:after { background: linear-gradient(180deg, transparent 55%, rgba(12,31,26,.32)); content: ""; inset: 0; position: absolute; }
.guide-card-copy { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.guide-card-copy h2, .guide-card-copy h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.guide-card-copy h2 a, .guide-card-copy h3 a { color: var(--njut-ink); text-decoration: none; }
.guide-card-copy .text-link { margin-top: auto; padding-top: 10px; }
.archive-shell { padding-bottom: 120px; padding-top: 80px; }
.archive-paths { align-items: end; background: linear-gradient(135deg, rgba(223,205,170,.24), rgba(255,255,255,.92)); border: 1px solid var(--njut-line); border-radius: var(--njut-radius); display: grid; gap: 34px; grid-template-columns: minmax(230px,.8fr) minmax(360px,1.5fr); margin-bottom: 48px; padding: clamp(28px,5vw,54px); }
.archive-paths h2 { font-size: clamp(2rem,4vw,3.25rem); margin-bottom: 8px; }
.archive-paths-copy > p:last-child { color: var(--njut-muted); margin-bottom: 0; }
.archive-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.archive-filter a { background: rgba(255,255,255,.76); border: 1px solid var(--njut-line); border-radius: 999px; color: var(--njut-ink); font-weight: 700; padding: 10px 16px; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.archive-filter a:hover { border-color: var(--njut-honey); transform: translateY(-2px); }
.archive-filter a[aria-current="page"] { background: var(--njut-forest); border-color: var(--njut-forest); color: #fff; }
.archive-next-step { background: var(--njut-forest); border-radius: var(--njut-radius); color: #fff; margin-top: clamp(60px,8vw,100px); overflow: hidden; padding: clamp(34px,6vw,72px); position: relative; }
.archive-next-step:after { background: radial-gradient(circle, rgba(223,205,170,.3), transparent 67%); content: ""; height: 380px; pointer-events: none; position: absolute; right: -90px; top: -180px; width: 380px; }
.archive-next-step h2 { color: #fff; max-width: 760px; }
.archive-next-step > p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 720px; }
.archive-next-step .njut-button { background: var(--njut-cream); color: var(--njut-forest); margin-top: 12px; position: relative; z-index: 1; }
.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { background: #fff; border-radius: 10px; padding: 8px 14px; text-decoration: none; }
.page-numbers.current { background: var(--njut-forest); color: #fff; }

.njut-commercial-note, .njut-editorial-note { border: 1px solid var(--njut-line); border-radius: var(--njut-radius-small); font-size: .93rem; margin: 46px 0 0; padding: 22px 26px; }
.njut-commercial-note { background: var(--njut-cream); }
.njut-editorial-note { background: var(--njut-mist); }
.njut-related { border-top: 1px solid var(--njut-line); margin-top: 80px; padding-top: 70px; }
.njut-related > p { color: var(--njut-muted); margin-bottom: 32px; }

.njut-tool { background: #fff; border: 1px solid var(--njut-line); border-radius: var(--njut-radius); box-shadow: var(--njut-shadow-soft); margin: 34px 0; overflow: hidden; }
.njut-tool-header { background: linear-gradient(140deg, var(--njut-forest), var(--njut-lake)); color: #fff; padding: clamp(28px, 5vw, 48px); }
.njut-tool-header h2, .njut-tool-header h3 { margin-bottom: .35em; }
.njut-tool-header p { color: rgba(255,255,255,.82); margin-bottom: 0; max-width: 680px; }
.njut-tool-form { padding: clamp(24px, 5vw, 46px); }
.njut-tool fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.njut-tool legend { font-family: var(--njut-serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }
.njut-options { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.njut-option { cursor: pointer; position: relative; }
.njut-option input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.njut-option span { align-items: center; background: var(--njut-paper); border: 1px solid var(--njut-line); border-radius: 14px; display: flex; font-size: .92rem; font-weight: 650; justify-content: center; min-height: 58px; padding: 10px 14px; text-align: center; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.njut-option input:checked + span { background: var(--njut-forest); border-color: var(--njut-forest); color: #fff; }
.njut-option input:focus-visible + span { outline: 3px solid var(--njut-honey); outline-offset: 2px; }
.njut-tool-result { background: var(--njut-cream); border-left: 4px solid var(--njut-terracotta); border-radius: 0 14px 14px 0; margin-top: 28px; padding: 24px; }
.njut-tool-result[hidden] { display: none; }
.njut-tool-result h3 { font-size: 1.7rem; margin-bottom: .35em; }
.njut-tool-result p:last-child { margin-bottom: 0; }

.site-footer { background: #10241e; color: #dfe8e2; padding: 90px 0 24px; position: relative; }
.site-footer:before { background: radial-gradient(circle, rgba(214,173,98,.15), transparent 65%); content: ""; height: 420px; pointer-events: none; position: absolute; right: 0; top: -160px; width: 420px; }
.footer-story { border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 56px; padding-bottom: 56px; }
.footer-kicker { color: var(--njut-honey); }
.footer-quote { font-family: var(--njut-serif); font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1.2; margin: 0; max-width: 960px; }
.footer-grid { display: grid; gap: 55px; grid-template-columns: 1.2fr .9fr 1fr; }
.wordmark-footer { color: #fff; margin-bottom: 22px; }
.wordmark-footer .wordmark-mark span { background: #fff; }
.footer-menu { align-items: flex-start; display: grid; gap: 9px; }
.footer-menu a { color: #fff; }
.footer-principle { border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
.footer-principle strong { color: var(--njut-honey); font-family: var(--njut-serif); font-size: 1.5rem; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.56); display: flex; font-size: .78rem; gap: 20px; justify-content: space-between; margin-top: 56px; padding-top: 20px; }
.error-section { align-items: center; display: flex; min-height: 76vh; }
.error-card { max-width: 850px; padding-block: 100px; position: relative; z-index: 1; }
.error-card p:not(.eyebrow) { font-size: 1.2rem; max-width: 650px; }

.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.will-reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--njut-honey); outline-offset: 3px; }

@media (max-width: 980px) {
	.brand-promise { display: none; }
	.menu-toggle { display: block; }
	.primary-nav { background: rgba(251,248,242,.98); border: 1px solid var(--njut-line); border-radius: 18px; box-shadow: var(--njut-shadow); display: none; left: 20px; padding: 18px; position: absolute; right: 20px; top: 76px; }
	.primary-nav.is-open { display: block; }
	.menu { align-items: stretch; flex-direction: column; gap: 2px; }
	.menu a { display: block; padding: 9px 10px; }
	.menu a:after { display: none; }
	.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.archive-paths { align-items: start; grid-template-columns: 1fr; }
	.archive-filter { justify-content: flex-start; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-principle { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); grid-column: 1 / -1; padding-left: 0; padding-top: 28px; }
}

@media (max-width: 680px) {
	:root { --njut-shell: min(100% - 30px, 1180px); }
	body { font-size: 16px; }
	.header-inner { min-height: 76px; }
	.wordmark { font-size: 1.95rem; }
	.wordmark-mark { height: 32px; width: 29px; }
	h1 { font-size: clamp(2.8rem, 16vw, 4.55rem); }
	h2 { font-size: clamp(2rem, 11vw, 3rem); }
	.page-hero, .guide-hero, .archive-hero { min-height: 620px; }
	.page-hero-inner, .guide-hero-inner, .archive-hero-inner { min-height: 620px; padding-bottom: 50px; }
	.page-hero-shade, .guide-hero-shade { background: linear-gradient(180deg, rgba(8,24,20,.28), rgba(8,24,20,.84) 70%, rgba(8,24,20,.92)); }
	.guide-grid { grid-template-columns: 1fr; }
	.guide-card-image { min-height: 210px; }
	.archive-paths { padding: 26px 20px; }
	.archive-filter a { padding: 9px 13px; }
	.njut-options { grid-template-columns: 1fr; }
	.njut-option span { justify-content: flex-start; min-height: 54px; text-align: left; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-principle { grid-column: auto; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
	.will-reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .njut-related, .njut-tool button { display: none !important; }
	body { background: #fff; color: #000; }
	.page-hero, .guide-hero { background: none !important; color: #000; min-height: 0; }
	.page-hero-shade, .guide-hero-shade { display: none; }
	.page-hero-inner, .guide-hero-inner { min-height: 0; padding: 30px 0; }
	.content-shell { padding: 20px 0; }
}
