:root {
  --ink: #13201c;
  --ink-soft: #41514b;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --forest: #0a6b50;
  --forest-dark: #07513d;
  --lime: #d6c36a;
  --line: #d8ded8;
  --warm: #ece7db;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 54px rgba(19, 32, 28, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: .7rem 1rem; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 .9rem; color: var(--forest); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 4.3vw, 4.1rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
p { margin: 0 0 1rem; }
.lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.04rem, 1.4vw, 1.18rem); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(216, 222, 216, .85); background: rgba(247, 245, 239, .92); backdrop-filter: blur(18px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; }
.logo-mark { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-plane { transition: transform .22s ease; transform-box: fill-box; }
.logo-plane-primary { fill: var(--ink); transform-origin: right center; }
.logo-plane-accent { fill: var(--lime); transform-origin: left center; }
.brand:hover .logo-plane-primary { transform: translateX(-1px); }
.brand:hover .logo-plane-accent { transform: translateX(1px); }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 1rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }
.brand-text span { color: var(--ink-soft); font-size: .75rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { position: relative; font-size: .92rem; font-weight: 650; text-decoration: none; }
.nav-links > a:not(.button):after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--forest); transition: right .2s ease; }
.nav-links > a:hover:after, .nav-links > a[aria-current="page"]:after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: transparent; font: inherit; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: .72rem 1.1rem; border: 1px solid var(--forest); border-radius: 13px; background: var(--forest); color: white; font-size: .92rem; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-dark); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button.secondary:hover { background: white; }
.button.light { border-color: white; background: white; color: var(--ink); }

.hero { padding: 56px 0 36px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 570px; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { padding: 34px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { max-width: 720px; }
.hero-copy .lead { margin: 1.6rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { min-height: 570px; position: relative; overflow: hidden; border-radius: 28px; background: #d5d8d1 url("https://images.squarespace-cdn.com/content/v1/68ed2d1959608c243b7b22d6/5627cff6-45e1-4f49-a597-e717426385f0/Oslo_hospital_Damehjemmet-EDIT%7E2.jpg?format=2500w") center/cover no-repeat; box-shadow: var(--shadow); }
.hero-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(4, 30, 22, .6)); }
.image-caption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; color: white; font-size: .86rem; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.trust-item { padding: 20px 24px; background: var(--paper); }
.trust-item strong { display: block; font-size: .93rem; }
.trust-item span { color: var(--ink-soft); font-size: .84rem; }

.section { padding: clamp(76px, 10vw, 132px) 0; }
.section.compact { padding: 58px 0; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-bottom: 46px; align-items: end; }
.section-head .lead { justify-self: end; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 310px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card-number { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 46px; border-radius: 50%; background: var(--warm); color: var(--forest); font-weight: 800; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-soft); }
.card a { color: var(--forest); font-weight: 750; text-underline-offset: 4px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step:before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 28px; color: var(--forest); font-weight: 800; }
.step p { color: var(--ink-soft); }
.dark { background: var(--ink); color: white; }
.dark .eyebrow { color: var(--lime); }
.dark .lead, .dark p { color: #bdc9c4; }
.quote-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.quote-card { padding: 34px; border: 1px solid #40514a; border-radius: var(--radius); }
.quote-card strong { display: block; margin-bottom: 8px; color: var(--lime); }

.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; flex: 0 0 auto; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary:after { content: "−"; }
.faq details > div { max-width: 720px; padding: 0 0 24px; color: var(--ink-soft); }

.page-hero { padding: clamp(74px, 11vw, 138px) 0 64px; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: 1.6rem; }
.prose-layout { display: grid; grid-template-columns: 280px minmax(0, 740px); gap: clamp(44px, 9vw, 120px); align-items: start; }
.side-note { position: sticky; top: 116px; padding: 24px; border-radius: 18px; background: var(--warm); font-size: .9rem; }
.profile-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.profile-aside .side-note { position: static; }
.portrait { width: 164px; aspect-ratio: 1; justify-self: center; margin: 0; overflow: hidden; border: 5px solid var(--surface); border-radius: 50%; background: var(--warm); box-shadow: 0 10px 30px rgba(19, 32, 28, .14); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.34); }
.prose h2 { margin: 3.4rem 0 1.1rem; font-size: clamp(1.85rem, 3vw, 2.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .8rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 34px 0; }
.info-box { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.info-box h3 { margin-bottom: 10px; }
.notice { padding: 24px; border-left: 4px solid var(--forest); background: #e8f2ed; border-radius: 0 16px 16px 0; }
.urgent { border-left-color: #c33b2f; background: #f8e9e6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); background: white; border: 1px solid var(--line); }
.contact-card.accent { background: var(--forest); color: white; border-color: var(--forest); }
.contact-card.accent p { color: #d6e7e0; }
.contact-card h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.contact-card a:not(.button) { color: var(--forest); font-weight: 750; }

.cta { padding: 80px 0; background: var(--lime); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta h2 { max-width: 760px; }
.cta-actions, .digital-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-actions { justify-content: flex-end; }
.store-button { border-color: var(--ink); background: transparent; color: var(--ink); }
.store-button:hover { background: var(--ink); color: white; }
.supporting-text { margin-top: 12px; font-size: .88rem; }
.site-footer { padding: 64px 0 26px; background: #0b1713; color: white; }
.site-footer .logo-plane-primary { fill: var(--paper); }
.site-footer .logo-plane-accent { fill: var(--lime); }
.site-footer .brand-text span { color: #afbeb8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3 { margin-bottom: 14px; font-family: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: #afbeb8; font-size: .9rem; }
.footer-grid a { text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #2a3933; color: #8fa098; font-size: .78rem; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: 82px; left: 0; right: 0; display: none; padding: 22px 20px 28px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 8px 0; }
  .hero-grid, .section-head, .quote-grid, .prose-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 18px; }
  .hero-image { order: -1; min-height: 360px; }
  .section-head { gap: 20px; }
  .section-head .lead { justify-self: start; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-number { margin-bottom: 30px; }
  .side-note { position: static; }
  .profile-aside { position: static; grid-template-columns: minmax(180px, 280px) 1fr; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-text span { display: none; }
  .hero { padding-top: 20px; }
  .hero-copy { padding: 24px 0 30px; }
  .hero-image { min-height: 280px; }
  .trust-row, .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .profile-aside { grid-template-columns: 1fr; }
  .trust-item { padding: 16px 20px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
